[FIX]【自助入司优化】页面跳转调试

This commit is contained in:
yuweiqi
2020-06-19 19:06:39 +08:00
parent fb1e1f8328
commit a6fb96e125
3 changed files with 44 additions and 36 deletions

View File

@@ -43,7 +43,7 @@ export default [
component: signContract,
meta: {
title: '入司签署信息',
index: 10
index: 1
}
},
{
@@ -52,7 +52,7 @@ export default [
component: healthNotice,
meta: {
title: '保险代理申请人健康声明',
index: 11
index: 1
}
},
{
@@ -61,7 +61,7 @@ export default [
component: letterOfCommitment,
meta: {
title: '承诺书',
index: 11
index: 1
}
},
{
@@ -70,7 +70,7 @@ export default [
component: messageLetterOfCommitment,
meta: {
title: '广西保险销售从业人员信息公开承诺书',
index: 11
index: 1
}
},
{
@@ -79,7 +79,7 @@ export default [
component: illegalLetterOfCommitment,
meta: {
title: '销售从业人员拒绝非法集资、非法放贷、金融诈骗承诺书',
index: 11
index: 1
}
},
{
@@ -88,7 +88,7 @@ export default [
component: guarantee,
meta: {
title: '担保书',
index: 11
index: 1
}
},
{
@@ -97,7 +97,7 @@ export default [
component: letterOfKnow,
meta: {
title: '代理人基本福利保障知晓函',
index: 11
index: 1
}
},
// {
@@ -115,7 +115,7 @@ export default [
component: paction,
meta: {
title: '个险销售人员代理合同',
index: 11
index: 1
}
},
{

View File

@@ -169,20 +169,9 @@ export default {
})
},
goNext() {
if (this.appntSign.signState == '1' && !this.base64) {
if (this.$route.query.isChange && !this.base64) {
console.log(1111111) //TEST
this.$jump({
flag: 'goback',
extra: {
refresh: '1',
index: '-1'
},
routerInfo: {
type: '2',
index: -1,
path: `/agentEenter/signContract`
}
})
this.goBack()
} else {
console.log(222222222) //TEST
let data = {
@@ -203,6 +192,9 @@ export default {
console.log(res)
if (res.result == '0') {
this.$toast.clear()
if (this.$route.query.isChange) {
this.goBack()
} else {
this.$jump({
flag: 'h5',
extra: {
@@ -215,11 +207,27 @@ export default {
path: `/agentEenter/${this.nextPagePath}?code=${this.code}`
}
})
}
} else {
this.$toast(res.resultMessage)
}
})
}
},
goBack() {
this.$jump({
flag: 'goBack',
extra: {
refresh: '1',
index: '-1',
forbidSwipeBack: '1'
},
routerInfo: {
type: 2,
index: -1,
path: `/agentEenter/signContract`
}
})
}
},
computed: {

View File

@@ -40,7 +40,7 @@
<li class="flex" v-for="(sign, index) in guaranteeSignList" :key="index">
<div class="w240 blue">{{ sign.name }}</div>
<van-icon v-if="sign.signState === '1'" color="green" name="checked" />
<van-button v-if="sign.signState === '1'" @click="changeSign(sign, '0')" v-no-more-click="1000" plain type="danger" round size="small" class="ml5"
<van-button v-if="sign.signState === '1'" @click="changeSign(sign, '1')" v-no-more-click="1000" plain type="danger" round size="small" class="ml5"
>重新签名</van-button
>
</li>
@@ -215,10 +215,10 @@ export default {
this.$jump({
flag: 'h5',
extra: {
url: `${location.origin}/#/agentEenter/${v.path}?code=${code}`
url: `${location.origin}/#/agentEenter/${v.path}?code=${code}&isChange=0`
},
routerInfo: {
path: `/agentEenter/${v.path}?code=${code}`
path: `/agentEenter/${v.path}?code=${code}&isChange=0`
}
})
},