[FIX]【自助入司优化】支持重新签名,调试

This commit is contained in:
yuweiqi
2020-06-19 15:40:15 +08:00
parent 6839ad6841
commit 1080ecfb38
2 changed files with 26 additions and 9 deletions

View File

@@ -216,7 +216,8 @@ export default {
watch: { watch: {
listenChange(val) { listenChange(val) {
let that = this let that = this
if (val.isOver == true && val.radio != '' && val.appntSign.signState !== '1') { // if (val.isOver == true && val.radio != '' && val.appntSign.signState !== '1') {
if (val.isOver == true && val.radio != '') {
that.isDisable = false that.isDisable = false
} else { } else {
that.isDisable = true that.isDisable = true
@@ -227,9 +228,9 @@ export default {
that.isDisabledComplite = true that.isDisabledComplite = true
} }
if (val.appntSign.signState == '1') { // if (val.appntSign.signState == '1') {
that.isDisable = true // that.isDisable = true
} // }
} }
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {

View File

@@ -14,8 +14,13 @@
需签署 需签署
<ul> <ul>
<li class="flex" v-for="(sign, index) in agentSignList" :key="index"> <li class="flex" v-for="(sign, index) in agentSignList" :key="index">
<div class="w260 blue">{{ sign.name }}</div> <div class="w250 blue">{{ sign.name }}</div>
<van-icon v-if="sign.signState === '1'" color="green" name="checked" /> <div class="pt5 pb5">
<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
>
</div>
</li> </li>
</ul> </ul>
点击开始按钮进行相关操作<br /><span class="red">温馨提示请尽量使用正楷文字进行签名</span> 点击开始按钮进行相关操作<br /><span class="red">温馨提示请尽量使用正楷文字进行签名</span>
@@ -199,7 +204,20 @@ export default {
} }
}) })
}, },
//修改签名
changeSign(v, code) {
localStorage.idNo = this.agentInfo.idNo
localStorage.idName = this.agentInfo.name
this.$jump({
flag: 'h5',
extra: {
url: `${location.origin}/#/agentEenter/${v.path}?code=${code}`
},
routerInfo: {
path: `/agentEenter/${v.path}?code=${code}`
}
})
},
//判断微信分享链接是否失效 //判断微信分享链接是否失效
async checkSignInvalid(signInvalid) { async checkSignInvalid(signInvalid) {
let that = this let that = this
@@ -272,11 +290,9 @@ export default {
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {
// url: location.origin + `/#/agentEenter/` + path
url: `${location.origin}/#/agentEenter/${path}?code=${code}` url: `${location.origin}/#/agentEenter/${path}?code=${code}`
}, },
routerInfo: { routerInfo: {
// path: `/agentEenter/` + path
path: `/agentEenter/${path}?code=${code}` path: `/agentEenter/${path}?code=${code}`
} }
}) })