From f96cc01b744beab0ca0afa783cd0b0c9c53b1efd Mon Sep 17 00:00:00 2001 From: "liu.xiaofeng@ebiz-digits.com" Date: Wed, 9 Aug 2023 10:50:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E4=BF=9D=E4=BB=A3=E7=90=86=E4=BA=BA?= =?UTF-8?q?=E7=94=B5=E5=AD=90=E5=8C=96=E5=90=88=E5=90=8C=E7=AD=BE=E7=BD=B2?= =?UTF-8?q?=E5=85=B3=E4=BA=8E=E8=AF=81=E4=BB=B6=E5=8F=B7=E7=A0=81=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E5=A7=93=E5=90=8D=E5=AD=98=E5=82=A8=E5=9C=A8vuex?= =?UTF-8?q?=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/index.js | 23 ++--------------------- src/views/ebiz/YB_agentSign/step1.vue | 2 ++ src/views/ebiz/YB_agentSign/step2.vue | 6 +++--- 3 files changed, 7 insertions(+), 24 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index a4d1fc7d4..89a9f9b39 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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 - }, } }) diff --git a/src/views/ebiz/YB_agentSign/step1.vue b/src/views/ebiz/YB_agentSign/step1.vue index bbcc5dc74..5cae81f72 100644 --- a/src/views/ebiz/YB_agentSign/step1.vue +++ b/src/views/ebiz/YB_agentSign/step1.vue @@ -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) diff --git a/src/views/ebiz/YB_agentSign/step2.vue b/src/views/ebiz/YB_agentSign/step2.vue index 00315ef09..96cda5096 100644 --- a/src/views/ebiz/YB_agentSign/step2.vue +++ b/src/views/ebiz/YB_agentSign/step2.vue @@ -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,