银保代理人电子化合同签署关于证件号码以及姓名存储在vuex中

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-08-09 10:50:50 +08:00
parent dfa1afefd1
commit f96cc01b74
3 changed files with 7 additions and 24 deletions

View File

@@ -30,9 +30,6 @@ export default new Vuex.Store({
answerType: false,//风险测评tab是否显示
YBidNo: '', //银保代理人电子化合同签署证件号码
YBname: '', //银保代理人电子化合同签署姓名
YBuuid: '', //银保代理人电子化合同签署代理人uuid
uploadImgType: '',
uploadImgOrderNo: '',
},
mutations: {
setOrderDetail (state, data) {
@@ -80,11 +77,8 @@ export default new Vuex.Store({
state.pcList = val
},
//更新 风险测评是否显示状态
updateUploadImgType (state, val) {
state.uploadImgType = val
},
updateUploadImgOrderNo (state, val) {
state.uploadImgOrderNo = val
updateAnswerType (state, val) {
state.answerType = val
},
//更新 银保代理人电子化合同签署证件号码
updateYBidNo (state, val) {
@@ -94,10 +88,6 @@ export default new Vuex.Store({
updateYBname (state, val) {
state.YBname = val
},
//更新 银保代理人电子化合同签署代理人uuid
updateYBuuid (state, val) {
state.YBuuid = val
},
},
getters: {
getPageFlag (state) {
@@ -124,21 +114,12 @@ export default new Vuex.Store({
getAnswerType (state) {
return state.answerType
},
getUploadImgType (state) {
return state.uploadImgType
},
getUploadImgOrderNo (state) {
return state.uploadImgOrderNo
},
getYBidNo (state) {
return state.YBidNo
},
getYBname (state) {
return state.YBname
},
getYBuuid (state) {
return state.YBuuid
},
}
})

View File

@@ -137,6 +137,8 @@ export default {
if (res.result === '0') {
this.code = ''
this.isCaptchaModalShow = false
this.$store.commit('updateYBidNo', this.idNo)
this.$store.commit('updateYBname', this.name)
this.$router.push({ path: '/YB_agentSign/step2',query:{uuid:this.uuid} })
} else {
this.$toast(res.resultMessage)

View File

@@ -98,9 +98,9 @@
'signInfo',
JSON.stringify({
originStatus: originStatus,
idNo: this.saleInsuredInfo.idNo,
name: this.saleInsuredInfo.name,
type: this.saleInsuredInfo.idType,
idNo: this.$store.getters.getYBidNo,
name: this.$store.getters.getYBname,
type: '1',
keyword: keyword,
status: status,
offset: offset,