This commit is contained in:
邓晓坤
2019-09-26 11:33:17 +08:00
parent 957b96b0ae
commit 69f34a2512
2 changed files with 6 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
<div id="pdf"></div> <div id="pdf"></div>
<div @click="click">111</div> <div @click="click">111</div>
<div @click="next">xiayibu</div> <div @click="next">xiayibu</div>
<div @click="token">tokentoken</div> <div @click="tokens">tokentoken</div>
<div @click="reload">强刷</div> <div @click="reload">强刷</div>
</div> </div>
@@ -25,8 +25,9 @@ export default {
this.$router.back(-1) this.$router.back(-1)
}, 200); }, 200);
}, },
token(){ tokens(){
localStorage.setItem('token',this.$$router.query.token) window.localStorage.setItem('token',this.$route.query.token)
// localStorage.setItem('token',this.$router.query.token)
this.$router.back(-1) this.$router.back(-1)
}, },
click() { click() {

View File

@@ -108,10 +108,10 @@ export default {
}, },
methods: { methods: {
// 获取保单列表 // 获取保单列表
getPolicyList() { getpolicyListAgent() {
let that = this let that = this
let data = {} let data = {}
getPolicyList(data).then(res => { getpolicyListAgent(data).then(res => {
// console.log(res) // console.log(res)
if (res.result == '0') { if (res.result == '0') {
res.policyListDTOList.map(item => { res.policyListDTOList.map(item => {