From 43d080331f6b5d50b53e914930992e4d8cea8802 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Mon, 17 Jan 2022 18:16:57 +0800 Subject: [PATCH] update --- src/components/dialog/index.vue | 16 +- src/components/needBefore/index.vue | 3 +- .../manage/list/client/consumerClient.vue | 112 +++++------- .../currentAccount/accountCancellation.vue | 166 ++++++++++++++---- .../list/personal/currentAccount/deposit.vue | 22 ++- .../personal/currentAccount/openAccount.vue | 58 ++++-- .../list/personal/currentAccount/settle.vue | 79 ++++++--- .../currentAccount/transferAccounts.vue | 67 ++++--- .../personal/currentAccount/withdrawal.vue | 30 ++-- .../list/personal/timeDeposit/deposit.vue | 11 +- .../list/personal/timeDeposit/openAccount.vue | 10 +- .../list/personal/timeDeposit/withdrawal.vue | 2 +- .../personal/usefulPhrases/accountClosed.vue | 13 +- .../usefulPhrases/continueDeposit.vue | 32 ++-- .../personal/usefulPhrases/openAccount.vue | 2 +- src/store/modules/system.js | 26 ++- 16 files changed, 424 insertions(+), 225 deletions(-) diff --git a/src/components/dialog/index.vue b/src/components/dialog/index.vue index 6c28bc8..c709290 100644 --- a/src/components/dialog/index.vue +++ b/src/components/dialog/index.vue @@ -3,7 +3,7 @@ style="margin-top:10vh" :visible="visible" :modal="false" - width="50%" + width="55%" :close-on-click-modal="false" :show-close="false" custom-class="data-dia"> @@ -82,7 +82,16 @@ export default { this.leftObj['流水号'] = '2333333333333' this.leftObj['经办机构'] = '国税支行营业部' this.rightObj['经办柜员'] = '002110' - this.rightObj['会计时间'] = new Date() + const tmpFunc = () => { + const date = new Date() + var y = date.getFullYear(); + var m = date.getMonth() + 1; + m = m < 10 ? '0' + m : m; + var d = date.getDate(); + d = d < 10 ? ('0' + d) : d; + return y + '-' + m + '-' + d; + } + this.rightObj['会计时间'] = tmpFunc() // 流水号(研发自定义号码生成规则)、经办柜员(002110)、经办机构:国税支行营业部、会计时间:展示操作当日日期 }, data() { @@ -131,4 +140,7 @@ export default { /deep/ .el-row { width: 100%; } + /deep/.popbody { + width: 100vw!important; + } \ No newline at end of file diff --git a/src/components/needBefore/index.vue b/src/components/needBefore/index.vue index 25bb3b8..24ad80b 100644 --- a/src/components/needBefore/index.vue +++ b/src/components/needBefore/index.vue @@ -16,7 +16,8 @@ const obj = { 'currentAccount/deposit': '活期业务 -> 存款', 'currentAccount/withdrawal': '活期业务 -> 取款', 'currentAccount/transferAccounts': '活期业务 -> 转账', - 'currentAccount/settle': '活期业务 -> 销户', + 'currentAccount/settle': '活期业务 -> 结清', + 'currentAccount/Cancell': '活期业务 -> 销户', 'timeDeposit/openAccount': '整存整取 -> 开户', 'timeDeposit/deposit': '整存整取 -> 存款', 'timeDeposit/withdrawal': '整存整取 -> 取款', diff --git a/src/pages/manage/list/client/consumerClient.vue b/src/pages/manage/list/client/consumerClient.vue index 2d5c10e..4a39688 100644 --- a/src/pages/manage/list/client/consumerClient.vue +++ b/src/pages/manage/list/client/consumerClient.vue @@ -7,13 +7,19 @@ - + + + + @@ -33,9 +39,12 @@ -
-

请刷身份证

-
+
+

请刷身份证

+
+
+ +
@@ -69,38 +78,6 @@ - @@ -112,17 +89,17 @@ import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/veri import { phoneListen, mailBoxListen, checkRequired, myValidate, checkName } from '@/utils/utilFunction.js' import MyTitle from '@/components/myTitle' import MyDialog from '@/components/dialog' -// goodState: 'system/goodState', const moduleName = 'consumerClient' export default { - name: 'index', + name: 'consumerClient', data() { return { - dataFlowId2: 0, // 用来监听 + idNumberJudge: false, + visible:false,// 表单 form:{ - idType:1,//证件类型 - // idNumber:'',//证件号码 + idType:'身份证',//证件类型 + idNumber:'',//证件号码 userName:'',//用户名字 sex:'',//性别 birthday:'',//出生日期 @@ -162,8 +139,7 @@ export default { ], }, - disForm:{name:'002009' ,pass:'123456'}, - visible:false,// 表单 + authorization:false,// 切授权 success:false,// 切成功 papers:[ @@ -241,8 +217,6 @@ export default { }, created() { console.log(moduleName) - - this.dataFlowId2 = this.dataFlowId }, mounted() { this.getFormData() @@ -262,19 +236,26 @@ export default { getOperation(param).then((data)=>{ if(data.status == 200) { var list = data.data.judgmentRuleReqs + console.log(list) for (var i = 0; i < list.length; i++) { - if (list[i].answerId == '40') {this.form.idType = +list[i].emptyTwo} - if (list[i].answerId == '41') {sessionStorage.setItem('nomClientIdentity', list[i].emptyTwo)} + if (list[i].answerId == '40') {this.form.idType = list[i].emptyTwo} + // if (list[i].answerId == '41') {sessionStorage.setItem('nomClientIdentity', list[i].emptyTwo)} + if (list[i].answerId == '41') { + this.form.idNumber = list[i].emptyTwo + this.idNumberJudge = true + } if (list[i].answerId == '42') {this.form.userName = list[i].emptyTwo} - if (list[i].answerId == '43') {this.form.sex = +list[i].emptyTwo} + if (list[i].answerId == '43') {this.form.sex = list[i].emptyTwo} if (list[i].answerId == '44') {this.form.birthday = list[i].emptyTwo} - if (list[i].answerId == '45') {this.form.nationality = +list[i].emptyTwo} + if (list[i].answerId == '45') {this.form.nationality = list[i].emptyTwo} if (list[i].answerId == '46') {this.form.mailbox = list[i].emptyTwo} if (list[i].answerId == '47') {this.form.phone = list[i].emptyTwo} } } }).catch((error)=>{ }) + console.log(this.form.idNumber) + }, ...mapMutations({ changeShowGoods: 'system/changeShowGoods', @@ -291,11 +272,12 @@ export default { let consumerClientDragList = JSON.parse(nomClientIdentity); let nomClientIdentitys = JSON.parse(nomClientIdentity); this.$refs.form.validate(myValidate(() => { - if (nomClientIdentitys && nomClientIdentitys.length > 0){ - this.visible = true; - }else{ - this.$message.error('请刷身份证'); - } + this.visible = true; + // if (nomClientIdentitys && nomClientIdentitys.length > 0){ + // this.visible = true; + // }else{ + // this.$message.error('请刷身份证'); + // } } , this.$refs)); }, @@ -308,7 +290,7 @@ export default { let formList = []; - formList.push({"answerId":'41',"emptyOne": "", "emptyTwo": nomClientIdentity, "operationIds": "285,287,5,25,33,41","type": ""}) + formList.push({"answerId":'41',"emptyOne": "", "emptyTwo": this.form.idNumber, "operationIds": "285,287,5,25,33,41","type": ""}) if(this.form.sex){ formList.push({ "answerId":'43', @@ -390,16 +372,16 @@ export default { watch: { dataFlowId(newVal) { - console.log('---newVal') - console.log(newVal) - if(this.dataFlowId2 !== newVal) { - this.dataFlowId2 = newVal - for(let key in this.form) { - if(this.dataFlow[key]) { - this.form[key] = this.dataFlow[key] - } - } - } + this.idNumberJudge = true + const { idType, userName, sex, birthday, nationality, mailbox, phone, idNumber } = this.dataFlow + this.form.idNumber = idNumber + this.form.idType = idType + this.form.userName = userName + this.form.sex = sex + this.form.birthday = birthday + this.form.nationality = nationality + this.form.mailbox = mailbox + this.form.phone = phone } } }; diff --git a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue index e1d70bb..1bff2da 100644 --- a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue +++ b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue @@ -1,13 +1,11 @@ /* 个人业务>活期业务>销户 */