From 73aedb6f84fdaa075afa772ea9a329e486b656cd Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Tue, 28 Dec 2021 18:31:50 +0800 Subject: [PATCH 1/5] update --- .../manage/list/acceptanceDraft/invoice.vue | 32 ++++++------ src/pages/manage/list/business/transfer.vue | 3 +- src/pages/manage/list/cityWide/cityWideIn.vue | 28 +++++----- .../manage/list/cityWide/cityWideOut.vue | 24 ++++----- .../personal/callDeposits/accountClosed.vue | 39 ++++++++++---- .../personal/callDeposits/openAccount.vue | 4 +- .../currentAccount/accountCancellation.vue | 3 +- .../personal/currentAccount/openAccount.vue | 52 +++++++++---------- .../list/personal/currentAccount/settle.vue | 7 +-- .../currentAccount/transferAccounts.vue | 18 +++++-- .../personal/currentAccount/withdrawal.vue | 24 ++++----- .../list/personal/timeDeposit/deposit.vue | 4 +- .../list/personal/timeDeposit/openAccount.vue | 8 +-- .../list/personal/timeDeposit/withdrawal.vue | 4 +- .../personal/usefulPhrases/accountClosed.vue | 7 +-- .../usefulPhrases/continueDeposit.vue | 4 +- .../personal/usefulPhrases/openAccount.vue | 4 +- .../list/servicesAccount/passwordChange.vue | 10 ++-- .../list/servicesAccount/passwordLost.vue | 6 +-- .../list/servicesAccount/relieveLost.vue | 9 ++-- 20 files changed, 158 insertions(+), 132 deletions(-) diff --git a/src/pages/manage/list/acceptanceDraft/invoice.vue b/src/pages/manage/list/acceptanceDraft/invoice.vue index 1686978..f2d541d 100644 --- a/src/pages/manage/list/acceptanceDraft/invoice.vue +++ b/src/pages/manage/list/acceptanceDraft/invoice.vue @@ -198,57 +198,57 @@ export default { 376: { prop: 'accountTradeName', // 1 type: '3', - "subjectId": '', + "subjectId": '68', }, 377: { prop: 'accountName', // 1 type: '3', - "subjectId": '', + "subjectId": '69', }, 378: { prop: 'tradeAddress', // 1 type: '3', - "subjectId": '', + "subjectId": '70', }, 380: { prop: 'collectionTradeName', // 3 type: '3', - "subjectId": '', + "subjectId": '72', }, 381: { prop: 'collectionName', // 3 type: '3', - "subjectId": '', + "subjectId": '73', }, 382: { prop: 'billType', // 3 type: '1', - "subjectId": '', + "subjectId": '57', }, 383: { prop: 'currencyType', // 3 type: '3', - "subjectId": '', + "subjectId": '8', }, 386: { prop: 'drawBillDate', // 3 type: '1', - "subjectId": '', + "subjectId": '60', }, 388: { prop: 'isTransfer', // 3 type: '1', - "subjectId": '', + "subjectId": '76', }, 389: { prop: 'moneyOrderMoney', // 3 type: '3', - "subjectId": '', + "subjectId": '77', }, 390: { prop: 'serviceCharge', // 3 type: '3', - "subjectId": '', + "subjectId": '78', }, }, myTable: { @@ -262,27 +262,27 @@ export default { 375: { prop: 'accountNumber', // 3 type: '3', - "subjectId": '', + "subjectId": '67', }, 379: { prop: 'collectionNumber', // 3 type: '3', - "subjectId": '', + "subjectId": '71', }, 384: { prop: 'money', // 1 type: '3', - "subjectId": '', + "subjectId": '14', }, 385: { prop: 'moneyOrderNumber', // 3 type: '3', - "subjectId": '', + "subjectId": '74', }, 387: { prop: 'expireDate', // 3 type: '1', - "subjectId": '', + "subjectId": '75', }, 372: { prop: 'accountUsername', // 3 diff --git a/src/pages/manage/list/business/transfer.vue b/src/pages/manage/list/business/transfer.vue index 7760c14..a35c955 100644 --- a/src/pages/manage/list/business/transfer.vue +++ b/src/pages/manage/list/business/transfer.vue @@ -202,7 +202,8 @@ export default { }, 261: { prop: 'signDate', - type: '1' + type: '1', + "subjectId": 47, }, 262: { prop: 'currencyType', // 1 diff --git a/src/pages/manage/list/cityWide/cityWideIn.vue b/src/pages/manage/list/cityWide/cityWideIn.vue index 504a588..fdd8077 100644 --- a/src/pages/manage/list/cityWide/cityWideIn.vue +++ b/src/pages/manage/list/cityWide/cityWideIn.vue @@ -178,42 +178,42 @@ export default { 361: { prop: 'currency', // 1 type: '3', - "subjectId": '', + "subjectId": '8', }, 363: { prop: 'proposeTime', // 1 type: '3', - "subjectId": '', + "subjectId": '55', }, 364: { prop: 'insertDate', // 1 type: '1', - "subjectId": '', + "subjectId": '62', }, 366: { prop: 'otherAccountUsername', // 3 type: '3', - "subjectId": '', + "subjectId": '58', }, 368: { prop: 'exchangeNumber', // 3 type: '3', - "subjectId": '', + "subjectId": '63', }, 370: { prop: 'customsNumber', // 3 type: '3', - "subjectId": '', + "subjectId": '64', }, 371: { prop: 'exchangeName', // 3 type: '3', - "subjectId": '', + "subjectId": '65', }, 373: { prop: 'abstract', // 3 type: '3', - "subjectId": '', + "subjectId": '16', }, }, myTable: { @@ -228,32 +228,32 @@ export default { 360: { prop: 'shroffAccountNumber', // 3 type: '3', - "subjectId": '', + "subjectId": '54', }, 362: { prop: 'money', // 3 type: '3', - "subjectId": '', + "subjectId": '14', }, 365: { prop: 'billType', // 1 type: '1', - "subjectId": '', + "subjectId": '57', }, 367: { prop: 'otherAccountNumber', // 3 type: '3', - "subjectId": '', + "subjectId": '59', }, 369: { prop: 'voucherNumber', // 3 type: '3', - "subjectId": '', + "subjectId": '44', }, 372: { prop: 'accountUsername', // 3 type: '3', - "subjectId": '', + "subjectId": '66', } }, } diff --git a/src/pages/manage/list/cityWide/cityWideOut.vue b/src/pages/manage/list/cityWide/cityWideOut.vue index df5973c..395cffe 100644 --- a/src/pages/manage/list/cityWide/cityWideOut.vue +++ b/src/pages/manage/list/cityWide/cityWideOut.vue @@ -172,32 +172,32 @@ export default { 348: { prop: 'currency', // 1 type: '3', - "subjectId": '', + "subjectId": '8', }, 350: { prop: 'proposeTime', // 1 type: '3', - "subjectId": '', + "subjectId": '55', }, 351: { prop: 'proposeDate', // 1 type: '1', - "subjectId": '', + "subjectId": '56', }, 353: { prop: 'otherAccountUsername', // 3 type: '3', - "subjectId": '', + "subjectId": '58', }, 355: { prop: 'drawBillDate', // 3 type: '1', - "subjectId": '', + "subjectId": '60', }, 358: { prop: 'abstract', // 3 type: '3', - "subjectId": '', + "subjectId": '16', }, }, myTable: { @@ -211,32 +211,32 @@ export default { 347: { prop: 'shroffAccountNumber', // 3 type: '3', - "subjectId": '', + "subjectId": '54', }, 349: { prop: 'money', // 3 type: '3', - "subjectId": '', + "subjectId": '14', }, 352: { prop: 'billType', // 1 type: '1', - "subjectId": '', + "subjectId": '57', }, 354: { prop: 'otherAccountNumber', // 3 type: '3', - "subjectId": '', + "subjectId": '59', }, 356: { prop: 'voucherNumber', // 3 type: '3', - "subjectId": '', + "subjectId": '44', }, 357: { prop: 'shroffAccountUsername', // 3 type: '3', - "subjectId": '', + "subjectId": '61', }, }, visible:false diff --git a/src/pages/manage/list/personal/callDeposits/accountClosed.vue b/src/pages/manage/list/personal/callDeposits/accountClosed.vue index 12359c2..4995094 100644 --- a/src/pages/manage/list/personal/callDeposits/accountClosed.vue +++ b/src/pages/manage/list/personal/callDeposits/accountClosed.vue @@ -123,9 +123,10 @@ export default{ return{ form:{ // 必填项 - voucherNumber: '', // 凭证号码 - currency: 'CYN人民币', // 币种 + payMoney: '', // 支取金额(未对标) // 非必填项 + // voucherNumber: '', // 凭证号码 + currency: 'CYN人民币', // 币种 clientName: '', // 客户姓名 currencyMark: '钞户', // 钞汇标识 depositNumber: '', // 定存编号 @@ -139,19 +140,21 @@ export default{ customerNumber: '', // 客户号(未对标) noticeType: '', // 通知类型(未对标) payType: '', // 支取类别(未对标) - payMoney: '', // 支取金额(未对标) + voucherType: '', // 凭证类型(未对标) + + }, rules: { clientName: { pattern: /(^[A-Z][a-z]*(\s[A-Z][a-z]*)*$)|(^[\u4e00-\u9fa5]{2,4}$)/, message: '该名字格式有误' }, - voucherNumber: { - required: true, - message: '请填写凭证号码', - trigger: 'blur' - }, + // voucherNumber: { + // required: true, + // message: '请填写凭证号码', + // trigger: 'blur' + // }, payMoney: { required: true, message: '请填写支取金额', @@ -175,7 +178,21 @@ export default{ // totalMoney: '', // 总金额 // certificateType: '', //证件类型 // breathDate: '', // 起息日期 - + 292: { + prop: 'customerNumber', + type: '3', + "subjectId": 6, + }, + 296: { + prop: 'voucherType', + type: '1', + "subjectId": 11, + }, + 298: { + prop: 'noticeType', + type: '1', + "subjectId": 48, + }, 302: { prop: 'certificateType', type: '1', @@ -246,7 +263,7 @@ export default{ }, mounted() { this.$refs.clientName.focus() - const parentId = '0,5,26,38,289' + const parentId = '287,5,26,38,289' const cards = { 303: 'nomCallDepositCard', 304: 'nomCallDepositCard2', @@ -268,7 +285,7 @@ export default{ this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; - const parentId = '0,5,26,38,289' + const parentId = '287,5,26,38,289' const nomCallDepositCard = sessionStorage.getItem('nomCallDepositCard') const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2') const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword') diff --git a/src/pages/manage/list/personal/callDeposits/openAccount.vue b/src/pages/manage/list/personal/callDeposits/openAccount.vue index 5f1634e..1267781 100644 --- a/src/pages/manage/list/personal/callDeposits/openAccount.vue +++ b/src/pages/manage/list/personal/callDeposits/openAccount.vue @@ -213,7 +213,7 @@ export default{ }, methods: { getFormData(){ - const parentId = '0,5,26,38,288' + const parentId = '287,5,26,38,288' const cards = { 291: 'nomCallDepositOpen2', 297: 'nomCallDepositOpen3', @@ -234,7 +234,7 @@ export default{ this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; - const parentId = '0,5,26,38,288' + const parentId = '287,5,26,38,288' const nomCallDepositOpen2 = sessionStorage.getItem('nomCallDepositOpen2') const nomCallDepositOpen3 = sessionStorage.getItem('nomCallDepositOpen3') const nomCallDepositOpenPassword = sessionStorage.getItem('nomCallDepositOpenPassword') diff --git a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue index ecb84a1..39f62c1 100644 --- a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue +++ b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue @@ -53,7 +53,8 @@ export default{ myTable2: { 115: { prop: 'idType', - type: '1' + type: '1', + "subjectId": 19, } }, myTable: { diff --git a/src/pages/manage/list/personal/currentAccount/openAccount.vue b/src/pages/manage/list/personal/currentAccount/openAccount.vue index a744a9b..29c3a5b 100644 --- a/src/pages/manage/list/personal/currentAccount/openAccount.vue +++ b/src/pages/manage/list/personal/currentAccount/openAccount.vue @@ -268,7 +268,7 @@ export default { }, getOperationData(){ let param= { - parentId: '0,5,26,57,62' + parentId: '287,5,26,57,62' } getOperation(param).then((data)=>{ if(data.status == 200) { @@ -300,7 +300,7 @@ export default { }, getOperationWindowsData(){ let param= { - parentId: '0,5,26,57,62,75' + parentId: '287,5,26,57,62,75' } let dataList = []; getOperation(param).then((data)=>{ @@ -417,10 +417,10 @@ export default { if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType && voucherNumber.length && paymentCode){ for (var i=0;i{ }) formList.push( - {"answerId":'77',"emptyOne": "17", "emptyTwo": paymentCode, "operationIds": "0,5,26,57,62,77", "type": "3"},//支取密码 + {"answerId":'77',"emptyOne": "17", "emptyTwo": paymentCode, "operationIds": "287,5,26,57,62,77", "type": "3"},//支取密码 ) if(this.formTwo == true && (this.form.accountTypesTwo && this.form.drawWaysTwo && this.form.voucherTypesTwo)){ - if (this.form.accountTypesTwo){formList.push({"answerId":'272',"emptyOne": "12", "emptyTwo": this.form.accountTypesTwo,"operationIds": "0,5,26,57,62,272","type": "1"})}//账户类型2 - if (this.form.drawWaysTwo){formList.push({"answerId":'274',"emptyOne": "13", "emptyTwo": this.form.drawWaysTwo,"operationIds": "0,5,26,57,62,274","type": "1"})} //支取方式2 - if (this.form.voucherTypesTwo){formList.push({"answerId":'271',"emptyOne": "11", "emptyTwo": this.form.voucherTypesTwo,"operationIds": "0,5,26,57,62,271","type": "1"})} //凭证类型2 + if (this.form.accountTypesTwo){formList.push({"answerId":'272',"emptyOne": "12", "emptyTwo": this.form.accountTypesTwo,"operationIds": "287,5,26,57,62,272","type": "1"})}//账户类型2 + if (this.form.drawWaysTwo){formList.push({"answerId":'274',"emptyOne": "13", "emptyTwo": this.form.drawWaysTwo,"operationIds": "287,5,26,57,62,274","type": "1"})} //支取方式2 + if (this.form.voucherTypesTwo){formList.push({"answerId":'271',"emptyOne": "11", "emptyTwo": this.form.voucherTypesTwo,"operationIds": "287,5,26,57,62,271","type": "1"})} //凭证类型2 formList.push( - {"answerId":'275',"emptyOne": "17", "emptyTwo": paymentCodeTwo, "operationIds": "0,5,26,57,62,275", "type": "3"},//支取密码 + {"answerId":'275',"emptyOne": "17", "emptyTwo": paymentCodeTwo, "operationIds": "287,5,26,57,62,275", "type": "3"},//支取密码 ) for (var i=0;i{ if(data.status == 200) { @@ -140,20 +140,20 @@ export default{ let formList = []; // 验证通过逻辑写在这 if (nomCurrentWithdrawalCards && nomCurrentWithdrawalCards.length > 0 && nomCurrentWithdrawalPasswords){ - formList.push({"answerId":85,"emptyOne": "", "emptyTwo": nomCurrentWithdrawalCards, "operationIds": "0,5,26,57,64,85","type": ""})// 卡号 - formList.push({"answerId":91,"emptyOne": "", "emptyTwo": nomCurrentWithdrawalPassword, "operationIds": "0,5,26,57,64,91","type": ""}) - if (this.form.currency){formList.push({"answerId":'87', "emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "0,5,26,57,64,87","type": "1"})}//币种 - if (this.form.money){formList.push({"answerId":'89', "emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "0,5,26,57,64,89", "type": "3"})}//金额 - if (this.form.remark){formList.push({"answerId":'93', "emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "0,5,26,57,64,93", "type": "3"})}//摘要 + formList.push({"answerId":85,"emptyOne": "", "emptyTwo": nomCurrentWithdrawalCards, "operationIds": "287,5,26,57,64,85","type": ""})// 卡号 + formList.push({"answerId":91,"emptyOne": "", "emptyTwo": nomCurrentWithdrawalPassword, "operationIds": "287,5,26,57,64,91","type": ""}) + if (this.form.currency){formList.push({"answerId":'87', "emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "287,5,26,57,64,87","type": "1"})}//币种 + if (this.form.money){formList.push({"answerId":'89', "emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "287,5,26,57,64,89", "type": "3"})}//金额 + if (this.form.remark){formList.push({"answerId":'93', "emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "287,5,26,57,64,93", "type": "3"})}//摘要 formList.push( - {"answerId":'86', "emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,26,57,64,86", "type": "3"},//客户姓名 - {"answerId":'88', "emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "0,5,26,57,64,88", "type": "1"},//钞汇标识 - {"answerId":'90', "emptyOne": "15", "emptyTwo": this.form.chargeWay, "operationIds": "0,5,26,57,64,90", "type": "1"},//支取方式 - {"answerId":'92', "emptyOne": "15", "emptyTwo": this.form.serviceCharge, "operationIds": "0,5,26,57,64,92", "type": "3"},//手续费 - // {"answerId":91,"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,26,57,64,91","type": ""}// 密码框 + {"answerId":'86', "emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "287,5,26,57,64,86", "type": "3"},//客户姓名 + {"answerId":'88', "emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "287,5,26,57,64,88", "type": "1"},//钞汇标识 + {"answerId":'90', "emptyOne": "15", "emptyTwo": this.form.chargeWay, "operationIds": "287,5,26,57,64,90", "type": "1"},//支取方式 + {"answerId":'92', "emptyOne": "15", "emptyTwo": this.form.serviceCharge, "operationIds": "287,5,26,57,64,92", "type": "3"},//手续费 + // {"answerId":91,"emptyOne": "", "emptyTwo": "", "operationIds": "287,5,26,57,64,91","type": ""}// 密码框 ) let params= { - parentId:'0,5,26,57,64', + parentId:'287,5,26,57,64', lcJudgmentRuleReq:formList, projectId:+projectId, startTime:startTime, diff --git a/src/pages/manage/list/personal/timeDeposit/deposit.vue b/src/pages/manage/list/personal/timeDeposit/deposit.vue index d06c0a7..7c8e67f 100644 --- a/src/pages/manage/list/personal/timeDeposit/deposit.vue +++ b/src/pages/manage/list/personal/timeDeposit/deposit.vue @@ -219,7 +219,7 @@ export default{ }, methods: { getFormData(){ - const parentId = '0,5,26,58,119' + const parentId = '287,5,26,58,119' const cards = { 131: 'nomtimeDeposit1', 140: 'nomtimeDepositlPassword' @@ -238,7 +238,7 @@ export default{ this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; - const parentId = '0,5,26,58,119' + const parentId = '287,5,26,58,119' const cards = [ { 131: nomtimeDeposit1 diff --git a/src/pages/manage/list/personal/timeDeposit/openAccount.vue b/src/pages/manage/list/personal/timeDeposit/openAccount.vue index 76adf3d..58b77ae 100644 --- a/src/pages/manage/list/personal/timeDeposit/openAccount.vue +++ b/src/pages/manage/list/personal/timeDeposit/openAccount.vue @@ -151,10 +151,6 @@ export default{ }, 127: { prop: 'voucherType',//凭证类型 - type: '1' - }, - 129: { - prop: 'withdrawingWay',//支取方式 type: '1', "subjectId": 11, }, @@ -167,7 +163,7 @@ export default{ }, methods: { getFormData(){ - const parentId = '0,5,26,58,118' + const parentId = '287,5,26,58,118' const cards = { 13: 'nomtimeOpenAccount1', 128: 'nomtimeOpenAccount2', @@ -206,7 +202,7 @@ export default{ "subjectId": 17, } ] - const parentId = '0,5,26,58,118' + const parentId = '287,5,26,58,118' autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) }, this.$refs)); }, diff --git a/src/pages/manage/list/personal/timeDeposit/withdrawal.vue b/src/pages/manage/list/personal/timeDeposit/withdrawal.vue index c4571c5..36ccab3 100644 --- a/src/pages/manage/list/personal/timeDeposit/withdrawal.vue +++ b/src/pages/manage/list/personal/timeDeposit/withdrawal.vue @@ -151,7 +151,7 @@ export default{ }, methods: { getFormData(){ - const parentId = '0,5,26,58,120' + const parentId = '287,5,26,58,120' const cards = { 144: 'nomtimeDepositWithdrawal1', 154: 'nomtimeDepositWithdrawalPassword' @@ -170,7 +170,7 @@ export default{ this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; - const parentId = '0,5,26,58,120' + const parentId = '287,5,26,58,120' const cards = [ { 144: nomtimeDepositWithdrawal1 diff --git a/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue b/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue index 93792e8..f9f7fee 100644 --- a/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue +++ b/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue @@ -170,7 +170,8 @@ export default{ }, 190: { prop: 'totalMoney',//总金额 - type: '3' + type: '3', + "subjectId": 45, }, 191: { prop: 'signDate',//起息日期 @@ -198,7 +199,7 @@ export default{ }, methods: { getFormData(){ - const parentId = '0,5,26,59,157' + const parentId = '287,5,26,59,157' const cards = { 181: 'nomUsefulPhrasesClosed2', 192: 'nomUsefulPhrasesClosedPassword' @@ -215,7 +216,7 @@ export default{ this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; - const parentId = '0,5,26,59,157' + const parentId = '287,5,26,59,157' const nomUsefulPhrasesClosed2 = sessionStorage.getItem('nomUsefulPhrasesClosed2') const nomUsefulPhrasesClosedPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword') const cards = [ diff --git a/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue b/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue index a8ab557..7bb3f97 100644 --- a/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue +++ b/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue @@ -126,7 +126,7 @@ export default{ }, methods: { getFormData(){ - const parentId = '0,5,26,59,156' + const parentId = '287,5,26,59,156' const cards = { 171: 'nomUsefulPhrasesContinueCard', 178: 'nomUsefulPhrasesContinuePassword' @@ -145,7 +145,7 @@ export default{ let nomUsefulPhrasesContinueCard = sessionStorage.getItem('nomUsefulPhrasesContinueCard') let nomUsefulPhrasesContinuePassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword') this.visible = true; - const parentId = '0,5,26,59,156' + const parentId = '287,5,26,59,156' const cards = [ { 171: nomUsefulPhrasesContinueCard, diff --git a/src/pages/manage/list/personal/usefulPhrases/openAccount.vue b/src/pages/manage/list/personal/usefulPhrases/openAccount.vue index f2b540b..f35715e 100644 --- a/src/pages/manage/list/personal/usefulPhrases/openAccount.vue +++ b/src/pages/manage/list/personal/usefulPhrases/openAccount.vue @@ -206,7 +206,7 @@ export default{ this.$store.commit('system/changePop',{show:true,text, id: 167}) }, getFormData(){ - const parentId = '0,5,26,59,155' + const parentId = '287,5,26,59,155' const cards = { 166: 'nomUsefulPhrasesOpenCard', 167: 'nomUsefulPhrasesOpenPassword' @@ -220,7 +220,7 @@ export default{ this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; - const parentId = '0,5,26,59,155' + const parentId = '287,5,26,59,155' const cards = [ { 166: nomUsefulPhrasesOpenCard diff --git a/src/pages/manage/list/servicesAccount/passwordChange.vue b/src/pages/manage/list/servicesAccount/passwordChange.vue index d231472..d263a1b 100644 --- a/src/pages/manage/list/servicesAccount/passwordChange.vue +++ b/src/pages/manage/list/servicesAccount/passwordChange.vue @@ -101,29 +101,29 @@ export default{ 326: { prop: 'newPayPassword', // 3 type: '3', - "subjectId": '', + "subjectId": '52', }, 327: { prop: 'maillingAddress', // 3 type: '3', - "subjectId": '', + "subjectId": '4', }, 317: { prop: 'certificateType', // type: '1', - "subjectId": '', + "subjectId": 19, } }, myTable: { 322: { prop: 'customerName', // 客户姓名 type: '3', - "subjectId": '', + "subjectId": 7, }, 325: { prop: 'payPassword', // 原支付密码 type: '3', - "subjectId": '', + "subjectId": '51', } }, visible: false diff --git a/src/pages/manage/list/servicesAccount/passwordLost.vue b/src/pages/manage/list/servicesAccount/passwordLost.vue index a880e3c..f222634 100644 --- a/src/pages/manage/list/servicesAccount/passwordLost.vue +++ b/src/pages/manage/list/servicesAccount/passwordLost.vue @@ -85,19 +85,19 @@ export default{ 332: { prop: 'certificateType', // 1 type: '1', - "subjectId": '', + "subjectId": '19', }, 335: { prop: 'remark', // 3 type: '3', - "subjectId": '', + "subjectId": '53', } }, myTable: { 331: { prop: 'customerName', // 客户姓名 type: '3', - "subjectId": '', + "subjectId": '7', } }, visible: false diff --git a/src/pages/manage/list/servicesAccount/relieveLost.vue b/src/pages/manage/list/servicesAccount/relieveLost.vue index c4ac11d..06db96a 100644 --- a/src/pages/manage/list/servicesAccount/relieveLost.vue +++ b/src/pages/manage/list/servicesAccount/relieveLost.vue @@ -87,19 +87,19 @@ export default{ 340: { prop: 'certificateType', // 1 type: '1', - "subjectId": '', + "subjectId": '19', }, 344: { prop: 'remark', // 3 type: '3', - "subjectId": '', + "subjectId": '53', } }, myTable: { 339: { prop: 'customerName', // 客户姓名 type: '3', - "subjectId": '', + "subjectId": '7', } }, visible: false @@ -133,7 +133,8 @@ export default{ 337: servicesPasswordRelieveLost2 }, { - 343: servicesPasswordRelievePassword + 343: servicesPasswordRelievePassword, + subjectId: '17' } ] autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) From d3e83c93bb2667afc3aa2f3e16a30fa1096fe199 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Wed, 29 Dec 2021 09:52:18 +0800 Subject: [PATCH 2/5] 0->287 --- .../manage/list/acceptanceDraft/invoice.vue | 4 ++-- src/pages/manage/list/business/deposit.vue | 4 ++-- .../manage/list/business/openAccount.vue | 4 ++-- src/pages/manage/list/business/transfer.vue | 4 ++-- src/pages/manage/list/business/withdrawal.vue | 4 ++-- src/pages/manage/list/cityWide/cityWideIn.vue | 4 ++-- .../manage/list/cityWide/cityWideOut.vue | 4 ++-- .../manage/list/client/consumerClient.vue | 20 ++++++++--------- .../manage/list/client/corporateClient.vue | 22 +++++++++---------- src/pages/manage/list/client/test.vue | 0 .../currentAccount/accountCancellation.vue | 4 ++-- .../list/personal/currentAccount/deposit.vue | 18 +++++++-------- .../list/servicesAccount/passwordChange.vue | 4 ++-- .../list/servicesAccount/passwordLost.vue | 4 ++-- .../list/servicesAccount/relieveLost.vue | 4 ++-- test.txt | 14 ++++++++++++ 16 files changed, 66 insertions(+), 52 deletions(-) delete mode 100644 src/pages/manage/list/client/test.vue create mode 100644 test.txt diff --git a/src/pages/manage/list/acceptanceDraft/invoice.vue b/src/pages/manage/list/acceptanceDraft/invoice.vue index f2d541d..9c869c7 100644 --- a/src/pages/manage/list/acceptanceDraft/invoice.vue +++ b/src/pages/manage/list/acceptanceDraft/invoice.vue @@ -293,7 +293,7 @@ export default { } }, mounted() { - const parentId = '0,5,30,374' + const parentId = '287,5,30,374' autoPlay2(parentId, this.form, this.myTable2, this.myTable) this.$refs.accountNumber.focus() }, @@ -302,7 +302,7 @@ export default { submitForm(){ this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 - const parentId = '0,5,30,374' + const parentId = '287,5,30,374' autoPlay(parentId, this.form, this.myTable2, this.myTable) }, this.$refs)); }, diff --git a/src/pages/manage/list/business/deposit.vue b/src/pages/manage/list/business/deposit.vue index 3163e23..600ca89 100644 --- a/src/pages/manage/list/business/deposit.vue +++ b/src/pages/manage/list/business/deposit.vue @@ -180,7 +180,7 @@ export default { }, methods: { getFormData(){ - const parentId = '0,5,27,225' + const parentId = '287,5,27,225' autoPlay2(parentId, this.form, this.myTable2, this.myTable) }, submitForm() { @@ -190,7 +190,7 @@ export default { // 验证通过逻辑写在这 this.visible = true; let formList = []; - const parentId = '0,5,27,225' + const parentId = '287,5,27,225' autoPlay(parentId, this.form, this.myTable2, this.myTable) }, this.$refs)); }, diff --git a/src/pages/manage/list/business/openAccount.vue b/src/pages/manage/list/business/openAccount.vue index b149b38..2670e95 100644 --- a/src/pages/manage/list/business/openAccount.vue +++ b/src/pages/manage/list/business/openAccount.vue @@ -297,7 +297,7 @@ export default { }, methods: { getFormData(){ - const parentId = '0,5,27,224' + const parentId = '287,5,27,224' autoPlay2(parentId, this.form, this.myTable2, this.myTable) }, submitForm(){ @@ -306,7 +306,7 @@ export default { this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; - const parentId = '0,5,27,224' + const parentId = '287,5,27,224' autoPlay(parentId, this.form, this.myTable2, this.myTable) }, this.$refs)); }, diff --git a/src/pages/manage/list/business/transfer.vue b/src/pages/manage/list/business/transfer.vue index a35c955..9efc54d 100644 --- a/src/pages/manage/list/business/transfer.vue +++ b/src/pages/manage/list/business/transfer.vue @@ -232,7 +232,7 @@ export default { }, methods: { getFormData(){ - const parentId = '0,5,27,227' + const parentId = '287,5,27,227' autoPlay2(parentId, this.form, this.myTable2, this.myTable) }, submitForm() { @@ -241,7 +241,7 @@ export default { this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; - const parentId = '0,5,27,227' + const parentId = '287,5,27,227' autoPlay(parentId, this.form, this.myTable2, this.myTable) }, this.$refs)); }, diff --git a/src/pages/manage/list/business/withdrawal.vue b/src/pages/manage/list/business/withdrawal.vue index 00c91bf..a20b126 100644 --- a/src/pages/manage/list/business/withdrawal.vue +++ b/src/pages/manage/list/business/withdrawal.vue @@ -206,14 +206,14 @@ export default { }, methods: { getFormData(){ - const parentId = '0,5,27,226' + const parentId = '287,5,27,226' autoPlay2(parentId, this.form, this.myTable2, this.myTable) }, submitForm() { this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; - const parentId = '0,5,27,226' + const parentId = '287,5,27,226' autoPlay(parentId, this.form, this.myTable2, this.myTable) // let tmpIndex = 100; // for(const key in this.myTable2) { diff --git a/src/pages/manage/list/cityWide/cityWideIn.vue b/src/pages/manage/list/cityWide/cityWideIn.vue index fdd8077..2906a5a 100644 --- a/src/pages/manage/list/cityWide/cityWideIn.vue +++ b/src/pages/manage/list/cityWide/cityWideIn.vue @@ -262,7 +262,7 @@ export default { }, mounted() { - const parentId = '0,5,29,345,359' + const parentId = '287,5,29,345,359' autoPlay2(parentId, this.form, this.myTable2, this.myTable) this.$refs.shroffAccountNumber.focus() }, @@ -270,7 +270,7 @@ export default { submitForm() { this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 - const parentId = '0,5,29,345,359' + const parentId = '287,5,29,345,359' autoPlay(parentId, this.form, this.myTable2, this.myTable) }, this.$refs)); }, diff --git a/src/pages/manage/list/cityWide/cityWideOut.vue b/src/pages/manage/list/cityWide/cityWideOut.vue index 395cffe..2982ed1 100644 --- a/src/pages/manage/list/cityWide/cityWideOut.vue +++ b/src/pages/manage/list/cityWide/cityWideOut.vue @@ -246,7 +246,7 @@ export default { }, mounted() { - const parentId = '0,5,29,345,346' + const parentId = '287,5,29,345,346' autoPlay2(parentId, this.form, this.myTable2, this.myTable) this.$refs.shroffAccountNumber.focus() }, @@ -254,7 +254,7 @@ export default { submitForm() { this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 - const parentId = '0,5,29,345,346' + const parentId = '287,5,29,345,346' autoPlay(parentId, this.form, this.myTable2, this.myTable) }, this.$refs)); }, diff --git a/src/pages/manage/list/client/consumerClient.vue b/src/pages/manage/list/client/consumerClient.vue index 445a86d..d870ae0 100644 --- a/src/pages/manage/list/client/consumerClient.vue +++ b/src/pages/manage/list/client/consumerClient.vue @@ -229,7 +229,7 @@ export default { methods: { getFormData(){ let param= { - parentId: '0,5,25,33' + parentId: '287,5,25,33' } getOperation(param).then((data)=>{ console.log(data) @@ -268,13 +268,13 @@ export default { let nomClientIdentity = sessionStorage.getItem('nomClientIdentity') let nomClientIdentitys = JSON.parse(nomClientIdentity); if (nomClientIdentitys && nomClientIdentitys.length > 0){ - formList.push({"answerId":'41',"emptyOne": "", "emptyTwo": nomClientIdentity, "operationIds": "0,5,25,33,41","type": ""}) + formList.push({"answerId":'41',"emptyOne": "", "emptyTwo": nomClientIdentity, "operationIds": "287,5,25,33,41","type": ""}) if(this.form.sex){ formList.push({ "answerId":'43', "emptyOne": "1", "emptyTwo": this.form.sex, - "operationIds": "0,5,25,33,43",//性别 + "operationIds": "287,5,25,33,43",//性别 "type": "1" }) } @@ -283,7 +283,7 @@ export default { "answerId":'45', "emptyOne": "3", "emptyTwo": this.form.nationality, - "operationIds": "0,5,25,33,45",//民族 + "operationIds": "287,5,25,33,45",//民族 "type": "1" }) } @@ -292,18 +292,18 @@ export default { "answerId":'46', "emptyOne": "4", "emptyTwo": this.form.mailbox, - "operationIds": "0,5,25,33,46",//通讯地址 + "operationIds": "287,5,25,33,46",//通讯地址 "type": "3" }) } formList.push( - {"answerId":'40',"emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "0,5,25,33,40", "type": "1"},//证件类型 - {"answerId":'42',"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,25,33,42", "type": "3"},//客户姓名 - {"answerId":'44',"emptyOne": "2", "emptyTwo": this.form.birthday, "operationIds": "0,5,25,33,44", "type": "3"},//出生日期 - {"answerId":'47',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "0,5,25,33,47", "type": "3"}//联系电话 + {"answerId":'40',"emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "287,5,25,33,40", "type": "1"},//证件类型 + {"answerId":'42',"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "287,5,25,33,42", "type": "3"},//客户姓名 + {"answerId":'44',"emptyOne": "2", "emptyTwo": this.form.birthday, "operationIds": "287,5,25,33,44", "type": "3"},//出生日期 + {"answerId":'47',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "287,5,25,33,47", "type": "3"}//联系电话 ); let params= { - parentId:'0,5,25,33', + parentId:'287,5,25,33', lcJudgmentRuleReq:formList, projectId:+projectId, startTime:startTime, diff --git a/src/pages/manage/list/client/corporateClient.vue b/src/pages/manage/list/client/corporateClient.vue index cd84dc1..1300fc5 100644 --- a/src/pages/manage/list/client/corporateClient.vue +++ b/src/pages/manage/list/client/corporateClient.vue @@ -152,7 +152,7 @@ export default { methods: { getFormData(){ let param= { - parentId: '0,5,25,34' + parentId: '287,5,25,34' } getOperation(param).then((data)=>{ console.log(data) @@ -193,30 +193,30 @@ export default { let firmClientIdentitys = JSON.parse(firmClientIdentity); if (firmClientIdentitys && firmClientIdentitys.length > 0){ for (var i=0;i{ console.log(data) @@ -122,23 +122,23 @@ export default{ let nomBusinessDepositCard = sessionStorage.getItem('nomBusinessDepositCard') let nomBusinessDepositCards = nomBusinessDepositCard // JSON.parse(nomBusinessDepositCard); if (nomBusinessDepositCards && nomBusinessDepositCards.length > 0){ - formList.push({"answerId":78,"emptyOne": "", "emptyTwo": nomBusinessDepositCards, "operationIds": "0,5,26,57,63,78","type": ""})// 卡号 + formList.push({"answerId":78,"emptyOne": "", "emptyTwo": nomBusinessDepositCards, "operationIds": "287,5,26,57,63,78","type": ""})// 卡号 if(this.form.currency){ - formList.push({ "answerId":'80', "emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "0,5,26,57,63,80", "type": "1" })//币种 + formList.push({ "answerId":'80', "emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "287,5,26,57,63,80", "type": "1" })//币种 } if(this.form.money){ - formList.push({ "answerId":'82', "emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "0,5,26,57,63,82", "type": "3" })//金额 + formList.push({ "answerId":'82', "emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "287,5,26,57,63,82", "type": "3" })//金额 } if(this.form.remark){ - formList.push( {"answerId":'84',"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "0,5,26,57,63,84", "type": "3"})//摘要 + formList.push( {"answerId":'84',"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "287,5,26,57,63,84", "type": "3"})//摘要 } formList.push( - { "answerId":'79', "emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,26,57,63,79", "type": "3" },//客户姓名 - { "answerId":'81', "emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "0,5,26,57,63,81", "type": "1" },//钞汇标识 - {"answerId":'83',"emptyOne": "15", "emptyTwo": this.form.annualInterest, "operationIds": "0,5,26,57,63,83", "type": "3"},//年利率 + { "answerId":'79', "emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "287,5,26,57,63,79", "type": "3" },//客户姓名 + { "answerId":'81', "emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "287,5,26,57,63,81", "type": "1" },//钞汇标识 + {"answerId":'83',"emptyOne": "15", "emptyTwo": this.form.annualInterest, "operationIds": "287,5,26,57,63,83", "type": "3"},//年利率 ); let params= { - parentId:'0,5,26,57,63', + parentId:'287,5,26,57,63', lcJudgmentRuleReq:formList, projectId:+projectId, startTime:startTime, diff --git a/src/pages/manage/list/servicesAccount/passwordChange.vue b/src/pages/manage/list/servicesAccount/passwordChange.vue index d263a1b..9b8d069 100644 --- a/src/pages/manage/list/servicesAccount/passwordChange.vue +++ b/src/pages/manage/list/servicesAccount/passwordChange.vue @@ -130,7 +130,7 @@ export default{ } }, mounted() { - const parentId = '0,5,28,316' + const parentId = '287,5,28,316' const cards = { 320: 'servicesPasswordChange', 323: 'servicesPasswordChange2' @@ -152,7 +152,7 @@ export default{ this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; - const parentId = '0,5,28,316' + const parentId = '287,5,28,316' const cards = [ { // // 证件号码 320: servicesPasswordChange diff --git a/src/pages/manage/list/servicesAccount/passwordLost.vue b/src/pages/manage/list/servicesAccount/passwordLost.vue index f222634..2a289b8 100644 --- a/src/pages/manage/list/servicesAccount/passwordLost.vue +++ b/src/pages/manage/list/servicesAccount/passwordLost.vue @@ -104,7 +104,7 @@ export default{ } }, mounted() { - const parentId = '0,5,28,328' + const parentId = '287,5,28,328' const cards = { 329: 'servicesPasswordLost', 333: 'servicesPasswordLost2' @@ -126,7 +126,7 @@ export default{ let servicesPasswordLost2 = sessionStorage.getItem('servicesPasswordLost2') this.visible = true; - const parentId = '0,5,28,328' + const parentId = '287,5,28,328' const cards = [ { // // 证件号码 329: servicesPasswordLost diff --git a/src/pages/manage/list/servicesAccount/relieveLost.vue b/src/pages/manage/list/servicesAccount/relieveLost.vue index 06db96a..6af3b80 100644 --- a/src/pages/manage/list/servicesAccount/relieveLost.vue +++ b/src/pages/manage/list/servicesAccount/relieveLost.vue @@ -124,7 +124,7 @@ export default{ let servicesPasswordRelievePassword = sessionStorage.getItem('servicesPasswordRelievePassword') this.visible = true; - const parentId = '0,5,28,336' + const parentId = '287,5,28,336' const cards = [ { // // 身份证 341: servicesPasswordRelieveLost @@ -144,7 +144,7 @@ export default{ checkName: checkName }, mounted() { - const parentId = '0,5,28,336' + const parentId = '287,5,28,336' const cards = { 341: 'servicesPasswordRelieveLost', 337: 'servicesPasswordRelieveLost2', diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..e3fe3bc --- /dev/null +++ b/test.txt @@ -0,0 +1,14 @@ +作用域链是从当前作用域逐层查找的,一直查找到window,那么这样一个查找是要花费时间的,如果我们让他马上查到这个变量。 +我们是不是就节省了这个时间。所以我们可以把我们要使用的变量,作为参数传入方法,或者再方法里进行缓存,来提升速度。 +晚上我们会具体的和大家讲到这个点 + +Vue3的架构方案是函数式编程,这种编程方式再早期的时候,就是lodash和underscore这样工具的方案,而vue2的方案是一种建造者模式。 +好处在于 +1, 更有利于tree-shaking。这也是vue3为什么要改成函数式编程的最大原因。 +2, 函数式编程可扩张性更好。 + +设计模式分为 +1, 创建型设计模式,用来指导对象的创建,用在我们设计需求的架构时。 +2, 结构型,用来指导功能模块的结构,就像我们设计公司的组织结构一样。 +3, 行为型设计模式,用来解决模块间行为的问题,设计模块间如何沟通 +4, 技巧型设计模式,一些优化代码的技巧 \ No newline at end of file From 1f2660c786665829e3ebdd4aaf37214cdc4ce857 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Wed, 29 Dec 2021 09:56:41 +0800 Subject: [PATCH 3/5] 0->287 --- src/pages/counter/list/index.vue | 18 ++++---- src/pages/counter/list/myConfig.js | 66 +++++++++++++++--------------- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index f324817..4d886ad 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -380,7 +380,7 @@ export default { if (this.$store.state.system.id == '62,1'){ this.nbm = 62 let param= { - parentId: '0,5,26,57,62,75' + parentId: '287,5,26,57,62,75' } getOperation(param).then((data)=> { if (data.data.status == 200) { @@ -404,7 +404,7 @@ export default { }else if (this.$store.state.system.id == '63'){ this.nbm = 63 let param= { - parentId: '0,5,26,57,63,78' + parentId: '287,5,26,57,63,78' } getOperation(param).then((data)=> { if (data.data.status == 200) { @@ -428,7 +428,7 @@ export default { }else if (this.$store.state.system.id == '64'){ this.nbm = 64 let param= { - parentId: '0,5,26,57,64,85' + parentId: '287,5,26,57,64,85' } getOperation(param).then((data)=> { if (data.data.status == 200) { @@ -452,7 +452,7 @@ export default { }else if (this.$store.state.system.id == '65'){ this.nbm = 65 let param= { - parentId: '0,5,26,57,65,94' + parentId: '287,5,26,57,65,94' } getOperation(param).then((data)=> { if (data.data.status == 200) { @@ -476,7 +476,7 @@ export default { }else if (this.$store.state.system.id == '66'){ this.nbm = 66 let param= { - parentId: '0,5,26,57,66,103' + parentId: '287,5,26,57,66,103' } getOperation(param).then((data)=> { if (data.data.status == 200) { @@ -500,7 +500,7 @@ export default { }else if (this.$store.state.system.id == '67,1'){ this.nbm = 67 let param= { - parentId: '0,5,26,57,67,113' + parentId: '287,5,26,57,67,113' } getOperation(param).then((data)=> { if (data.data.status == 200) { @@ -606,7 +606,7 @@ export default { if (this.$store.state.system.id == '33'){ this.nbm = 33 let param= { - parentId: '0,5,25,33,41' + parentId: '287,5,25,33,41' } getOperation(param).then((data)=> { if (data.data.status == 200) { @@ -630,7 +630,7 @@ export default { }else if (this.$store.state.system.id == '34'){ this.nbm = 34 let param= { - parentId: '0,5,25,34,54' + parentId: '287,5,25,34,54' } getOperation(param).then((data)=> { if (data.data.status == 200) { @@ -654,7 +654,7 @@ export default { }else if (this.$store.state.system.id == '67,2'){ this.nbm = 67 let param= { - parentId: '0,5,26,57,67,116' + parentId: '287,5,26,57,67,116' } getOperation(param).then((data)=> { if (data.data.status == 200) { diff --git a/src/pages/counter/list/myConfig.js b/src/pages/counter/list/myConfig.js index a5f7cd8..e0a6d7f 100644 --- a/src/pages/counter/list/myConfig.js +++ b/src/pages/counter/list/myConfig.js @@ -2,199 +2,199 @@ const myConfig = { '99': { nbm: 118, name: 'nomCurrentTransferPassword', - parentId: '0,5,26,57,65', + parentId: '287,5,26,57,65', isPassword: true }, '117': { nbm: 118, name: 'nomCurrentCancellPassword', - parentId: '0,5,26,57,67', + parentId: '287,5,26,57,67', isPassword: true }, '118,1': { nbm: 118, name: 'nomtimeOpenAccount1', - parentId: '0,5,26,58,118', + parentId: '287,5,26,58,118', isPassword: false }, '118,2': { nbm: 118, name: 'nomtimeOpenAccount2', - parentId: '0,5,26,58,118', + parentId: '287,5,26,58,118', isPassword: false }, '129': { nbm: 129, name: 'nomtimeOpenAccountPassword', - parentId: '0,5,26,58,118', + parentId: '287,5,26,58,118', isPassword: true }, '131': { nbm: 131, name: 'nomtimeDeposit1', - parentId: '0,5,26,58,119', + parentId: '287,5,26,58,119', isPassword: false }, '140': { nbm: 140, name: 'nomtimeDepositlPassword', - parentId: '0,5,26,58,119', + parentId: '287,5,26,58,119', isPassword: true }, '154': { nbm: 154, name: 'nomtimeDepositWithdrawalPassword', - parentId: '0,5,26,58,120', + parentId: '287,5,26,58,120', isPassword: true }, '144,1': { nbm: 144, name: 'nomtimeDepositWithdrawal1', - parentId: '0,5,26,58,120', + parentId: '287,5,26,58,120', isPassword: false }, '156': { nbm: 156, name: 'nomtimeDepositContinue', - parentId: '0,5,26,59,156', + parentId: '287,5,26,59,156', isPassword: false }, '157,2': { nbm: 157, name: 'nomtimeDepositContinue2', - parentId: '0,5,26,59,157', + parentId: '287,5,26,59,157', isPassword: false }, '166': { nbm: 166, name: 'nomUsefulPhrasesOpenCard', - parentId: '0,5,26,59,155', + parentId: '287,5,26,59,155', isPassword: false }, '167': { nbm: 167, name: 'nomUsefulPhrasesOpenPassword', - parentId: '0,5,26,59,155', + parentId: '287,5,26,59,155', isPassword: true }, '171': { nbm: 171, name: 'nomUsefulPhrasesContinueCard', - parentId: '0,5,26,59,156', + parentId: '287,5,26,59,156', isPassword: false }, '178': { nbm: 178, name: 'nomUsefulPhrasesContinueCard', - parentId: '0,5,26,59,156', + parentId: '287,5,26,59,156', isPassword: true }, '181': { nbm: 181, name: 'nomUsefulPhrasesClosed2', - parentId: '0,5,26,59,157', + parentId: '287,5,26,59,157', isPassword: false }, '192': { nbm: 192, name: 'nomUsefulPhrasesClosedPassword', - parentId: '0,5,26,59,157', + parentId: '287,5,26,59,157', isPassword: true }, '193,1': { nbm: 193, name: 'nomCallDepositOpen2', - parentId: '0,5,26,60,193', + parentId: '287,5,26,60,193', isPassword: false }, '203': { nbm: 203, name: 'nomCallDepositOpenPassword', - parentId: '0,5,26,60,193', + parentId: '287,5,26,60,193', isPassword: true }, '220': { nbm: 220, name: 'nomCallDepositClosedPassword', - parentId: '0,5,26,60,194', + parentId: '287,5,26,60,194', isPassword: true }, '320': { nbm: 320, name: 'servicesPasswordChange', - parentId: '0,5,28,316', + parentId: '287,5,28,316', isPassword: false }, '323': { nbm: 323, name: 'servicesPasswordChange2', - parentId: '0,5,28,316', + parentId: '287,5,28,316', isPassword: false }, '329': { nbm: 329, name: 'servicesPasswordLost', - parentId: '0,5,28,328', + parentId: '287,5,28,328', isPassword: false }, '333': { nbm: 333, name: 'servicesPasswordLost2', - parentId: '0,5,28,328', + parentId: '287,5,28,328', isPassword: false }, '341': { nbm: 341, name: 'servicesPasswordRelieveLost', - parentId: '0,5,28,336', + parentId: '287,5,28,336', isPassword: false }, '337': { nbm: 337, name: 'servicesPasswordRelieveLost2', - parentId: '0,5,28,336', + parentId: '287,5,28,336', isPassword: false }, '343': { nbm: 343, name: 'servicesPasswordRelievePassword', - parentId: '0,5,28,336', + parentId: '287,5,28,336', isPassword: true }, '291': { nbm: 291, name: 'nomCallDepositOpen2', - parentId: '0,5,26,38,288', + parentId: '287,5,26,38,288', isPassword: false }, '297': { nbm: 297, name: 'servicesPasswordRelievePassword', - parentId: '0,5,26,38,288', + parentId: '287,5,26,38,288', isPassword: false }, '301': { nbm: 301, name: 'nomCallDepositOpenPassword', - parentId: '0,5,26,38,288', + parentId: '287,5,26,38,288', isPassword: true }, '303': { nbm: 303, name: 'nomCallDepositCard', - parentId: '0,5,26,38,289', + parentId: '287,5,26,38,289', isPassword: false }, '304': { nbm: 304, name: 'nomCallDepositCard2', - parentId: '0,5,26,38,289', + parentId: '287,5,26,38,289', isPassword: false }, '315': { nbm: 303, name: 'nomCallDepositClosedPassword', - parentId: '0,5,26,38,289', + parentId: '287,5,26,38,289', isPassword: true } } From d131d6dc6249dc561d931e79cda266a607fb527a Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Wed, 29 Dec 2021 12:00:23 +0800 Subject: [PATCH 4/5] =?UTF-8?q?subjectId=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/counter/list/myConfig.js | 12 +++ src/pages/manage/list/business/deposit.vue | 6 +- .../manage/list/business/openAccount.vue | 2 +- src/pages/manage/list/business/transfer.vue | 12 ++- src/pages/manage/list/business/withdrawal.vue | 9 +- .../personal/callDeposits/accountClosed.vue | 92 +++++++++---------- .../list/personal/timeDeposit/deposit.vue | 10 +- .../personal/usefulPhrases/accountClosed.vue | 10 +- .../personal/usefulPhrases/openAccount.vue | 8 +- src/utils/utilFunction.js | 6 +- 10 files changed, 99 insertions(+), 68 deletions(-) diff --git a/src/pages/counter/list/myConfig.js b/src/pages/counter/list/myConfig.js index e0a6d7f..a9c8512 100644 --- a/src/pages/counter/list/myConfig.js +++ b/src/pages/counter/list/myConfig.js @@ -196,6 +196,18 @@ const myConfig = { name: 'nomCallDepositClosedPassword', parentId: '287,5,26,38,289', isPassword: true + }, + '1399': { + nbm: 1399, + name: 'nomUsefulPhrasesOpenCard2', + parentId: '287,5,26,59,155', + isPassword: false + }, + '180': { + nbm: 180, + name: 'nomUsefulPhrasesClosed', + parentId: '287,5,26,59,157', + isPassword: false } } diff --git a/src/pages/manage/list/business/deposit.vue b/src/pages/manage/list/business/deposit.vue index 600ca89..29d2542 100644 --- a/src/pages/manage/list/business/deposit.vue +++ b/src/pages/manage/list/business/deposit.vue @@ -162,11 +162,13 @@ export default { }, 240: { prop: 'username', // 3 - type: '3' + type: '3', + "subjectId": 84, }, 244: { prop: 'depositNum', // 3 - type: '3' + type: '3', + "subjectId": 83, } } } diff --git a/src/pages/manage/list/business/openAccount.vue b/src/pages/manage/list/business/openAccount.vue index 2670e95..2c7fb70 100644 --- a/src/pages/manage/list/business/openAccount.vue +++ b/src/pages/manage/list/business/openAccount.vue @@ -236,7 +236,7 @@ export default { 318: { prop: 'foreignCurrencyCertificate', type: '3', - "subjectId": '', + "subjectId": 50, } }, myTable: { diff --git a/src/pages/manage/list/business/transfer.vue b/src/pages/manage/list/business/transfer.vue index 9efc54d..86ba9d4 100644 --- a/src/pages/manage/list/business/transfer.vue +++ b/src/pages/manage/list/business/transfer.vue @@ -164,7 +164,8 @@ export default { myTable: { 257: { prop: 'transoutNum', - type: '3' + type: '3', + "subjectId": 85, }, 258: { prop: 'customerName', @@ -173,15 +174,18 @@ export default { }, 259: { prop: 'certificateNum', - type: '3' + type: '3', + "subjectId": 44, }, 265: { prop: 'transinNum', - type: '3' + type: '3', + "subjectId": 86, }, 266: { prop: 'transinName', - type: '3' + type: '3', + "subjectId": 87, }, 267: { prop: 'money', diff --git a/src/pages/manage/list/business/withdrawal.vue b/src/pages/manage/list/business/withdrawal.vue index a20b126..10bcf0a 100644 --- a/src/pages/manage/list/business/withdrawal.vue +++ b/src/pages/manage/list/business/withdrawal.vue @@ -146,7 +146,8 @@ export default { myTable: { 247: { prop: 'username', - type: '3' + type: '3', + "subjectId": 84, }, 248: { prop: 'customerName', @@ -155,7 +156,8 @@ export default { }, 249: { prop: 'voucherNum', - type: '3' + type: '3', + "subjectId": 44, }, 254: { prop: 'money', @@ -166,7 +168,8 @@ export default { myTable2: { 250: { prop: 'issueDate', - type: '3' + type: '3', + "subjectId": 47, }, 251: { prop: 'currency', // 1 diff --git a/src/pages/manage/list/personal/callDeposits/accountClosed.vue b/src/pages/manage/list/personal/callDeposits/accountClosed.vue index 4995094..c34e1f3 100644 --- a/src/pages/manage/list/personal/callDeposits/accountClosed.vue +++ b/src/pages/manage/list/personal/callDeposits/accountClosed.vue @@ -178,55 +178,52 @@ export default{ // totalMoney: '', // 总金额 // certificateType: '', //证件类型 // breathDate: '', // 起息日期 - 292: { - prop: 'customerNumber', - type: '3', - "subjectId": 6, - }, - 296: { + 303: { prop: 'voucherType', type: '1', "subjectId": 11, + }, - 298: { - prop: 'noticeType', - type: '1', - "subjectId": 48, - }, - 302: { - prop: 'certificateType', - type: '1', - "subjectId": 19, + 304: { + prop: 'customerNumber', + type: '3', + "subjectId": 6, + }, 305: { prop: 'clientName', type: '3', "subjectId": 7, }, + 306: { + prop: 'currency',//币种 + type: '1', + "subjectId": 8, + }, 307: { prop: 'currencyMark',//钞汇标识 type: '1', "subjectId": 9, }, 308: { - prop: 'depositNumber',//定存编号 - type: '3', - "subjectId": 33, + prop: 'noticeType',// + type: '1', + "subjectId": 48, }, 309: { - prop: 'capital',//本金 + prop: 'depositNumber',// type: '3', - "subjectId": 34, + "subjectId": 33, }, 310: { - prop: 'interestRate',//利率 + prop: 'breathDate',// type: '3', - "subjectId": 29, + "subjectId": 79, }, 311: { - prop: 'depositDate',//存期 - type: '1', - "subjectId": 27, + prop: 'capital',//存期 + type: '3', + "subjectId": 34, }, 312: { prop: 'interest',//利息 @@ -239,24 +236,21 @@ export default{ "subjectId": 45, }, 314: { - prop: 'breathDate',//起息日期 - type: '3', - "subjectId": 32, + prop: 'payType',// + type: '1', + "subjectId": 82, + }, + 391: { + prop: 'certificateType',// + type: '1', + "subjectId": 19, } }, myTable2: { - // voucherNumber: '', // 凭证号码 - // currency: 'CYN人民币', // 币种 - - // 304: { - // prop: 'voucherNumber', - // type: '3', - // "subjectId": 44, - // }, - 306: { - prop: 'currency',//币种 - type: '1', - "subjectId": 8, + 315: { + prop: 'payMoney',//起息日期 + type: '3', + "subjectId": 35, } }, } @@ -265,21 +259,21 @@ export default{ this.$refs.clientName.focus() const parentId = '287,5,26,38,289' const cards = { - 303: 'nomCallDepositCard', - 304: 'nomCallDepositCard2', - 315: 'nomCallDepositClosedPassword' + 302: 'nomCallDepositCard', + 392: 'nomCallDepositCard2', + 394: 'nomCallDepositClosedPassword' } autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) }, methods: { popUp(text) { - this.$store.commit('system/changePop',{show:true,text, id: '303'}) + this.$store.commit('system/changePop',{show:true,text, id: '302'}) }, popUp2(text) { - this.$store.commit('system/changePop',{show:true,text, id: '304'}) + this.$store.commit('system/changePop',{show:true,text, id: '392'}) }, popUp3(text) { - this.$store.commit('system/changePop',{show:true,text, id: '315'}) + this.$store.commit('system/changePop',{show:true,text, id: '394'}) }, submitForm() { this.$refs.form.validate(myValidate(() => { @@ -291,13 +285,13 @@ export default{ const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword') const cards = [ { - 303: nomCallDepositCard + 302: nomCallDepositCard }, { - 304: nomCallDepositCard2 + 392: nomCallDepositCard2 }, { - 315: nomCallDepositClosedPassword, + 394: nomCallDepositClosedPassword, "subjectId": 17, } ] diff --git a/src/pages/manage/list/personal/timeDeposit/deposit.vue b/src/pages/manage/list/personal/timeDeposit/deposit.vue index 7c8e67f..c282cb5 100644 --- a/src/pages/manage/list/personal/timeDeposit/deposit.vue +++ b/src/pages/manage/list/personal/timeDeposit/deposit.vue @@ -10,7 +10,7 @@ - + @@ -21,12 +21,12 @@ - + - + @@ -36,12 +36,12 @@ - + - + diff --git a/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue b/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue index f9f7fee..500906f 100644 --- a/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue +++ b/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue @@ -40,7 +40,7 @@ -
+

请刷身份证

@@ -201,6 +201,7 @@ export default{ getFormData(){ const parentId = '287,5,26,59,157' const cards = { + 180: 'nomUsefulPhrasesClosed', 181: 'nomUsefulPhrasesClosed2', 192: 'nomUsefulPhrasesClosedPassword' } @@ -212,14 +213,21 @@ export default{ popUp2(text) { this.$store.commit('system/changePop',{show:true,text, id: '192'}) }, + popUp3(text) { + this.$store.commit('system/changePop',{show:true,text, id: '180'}) + }, submitForm() { this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; const parentId = '287,5,26,59,157' + const nomUsefulPhrasesClosed = sessionStorage.getItem('nomUsefulPhrasesClosed') const nomUsefulPhrasesClosed2 = sessionStorage.getItem('nomUsefulPhrasesClosed2') const nomUsefulPhrasesClosedPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword') const cards = [ + { + 180: nomUsefulPhrasesClosed + }, { 181: nomUsefulPhrasesClosed2, diff --git a/src/pages/manage/list/personal/usefulPhrases/openAccount.vue b/src/pages/manage/list/personal/usefulPhrases/openAccount.vue index f35715e..dcebdff 100644 --- a/src/pages/manage/list/personal/usefulPhrases/openAccount.vue +++ b/src/pages/manage/list/personal/usefulPhrases/openAccount.vue @@ -197,7 +197,7 @@ export default{ }, methods: { popUp1(text) { - this.$store.commit('system/changePop',{show:true,text}) + this.$store.commit('system/changePop',{show:true,text, id: 1399}) }, popUp2(text) { this.$store.commit('system/changePop',{show:true,text, id: 166}) @@ -208,6 +208,7 @@ export default{ getFormData(){ const parentId = '287,5,26,59,155' const cards = { + 1399: 'nomUsefulPhrasesOpenCard2', 166: 'nomUsefulPhrasesOpenCard', 167: 'nomUsefulPhrasesOpenPassword' } @@ -215,13 +216,16 @@ export default{ }, submitForm() { let nomUsefulPhrasesOpenCard = sessionStorage.getItem('nomUsefulPhrasesOpenCard') - // let nomUsefulPhrasesOpenCard2 = sessionStorage.getItem('nomUsefulPhrasesOpenCard2') + let nomUsefulPhrasesOpenCard2 = sessionStorage.getItem('nomUsefulPhrasesOpenCard2') let nomUsefulPhrasesOpenPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword') this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; const parentId = '287,5,26,59,155' const cards = [ + { + 1399: nomUsefulPhrasesOpenCard2 + }, { 166: nomUsefulPhrasesOpenCard }, diff --git a/src/utils/utilFunction.js b/src/utils/utilFunction.js index 96a6995..3ea5207 100644 --- a/src/utils/utilFunction.js +++ b/src/utils/utilFunction.js @@ -103,7 +103,11 @@ const myValidate = (callback, refs) => { break; } const { message, field } = tmpObj - refs[field].focus(); + try { + refs[field].focus(); + } catch (error) { + + } Message.info({ center: true, message From 64c0736f6885ea7a687515cbe3ba9b84b35f88c5 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Wed, 29 Dec 2021 14:15:17 +0800 Subject: [PATCH 5/5] complete1 --- src/pages/manage/list/client/consumerClient.vue | 15 +++++++-------- src/pages/manage/list/client/corporateClient.vue | 2 +- .../list/personal/usefulPhrases/accountClosed.vue | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/pages/manage/list/client/consumerClient.vue b/src/pages/manage/list/client/consumerClient.vue index d870ae0..59b7a56 100644 --- a/src/pages/manage/list/client/consumerClient.vue +++ b/src/pages/manage/list/client/consumerClient.vue @@ -86,7 +86,7 @@

本业务需要授权

- + @@ -262,12 +262,14 @@ export default { let startTime = sessionStorage.getItem('startTime') let nomClientIdentity = sessionStorage.getItem('nomClientIdentity') let consumerClientDragList = JSON.parse(nomClientIdentity); + console.log(this.$refs) this.$refs.form.validate(myValidate(() => { - this.visible = true; - let formList = []; let nomClientIdentity = sessionStorage.getItem('nomClientIdentity') - let nomClientIdentitys = JSON.parse(nomClientIdentity); + let nomClientIdentitys = JSON.parse(nomClientIdentity); if (nomClientIdentitys && nomClientIdentitys.length > 0){ + this.visible = true; + let formList = []; + formList.push({"answerId":'41',"emptyOne": "", "emptyTwo": nomClientIdentity, "operationIds": "287,5,25,33,41","type": ""}) if(this.form.sex){ formList.push({ @@ -315,11 +317,8 @@ export default { }); }).catch((error)=>{ }) - - - }else{ - this.$message.error('有必填项未填哦~'); + this.$message.error('请刷身份证'); } } , this.$refs)); }, diff --git a/src/pages/manage/list/client/corporateClient.vue b/src/pages/manage/list/client/corporateClient.vue index 1300fc5..43e8d6f 100644 --- a/src/pages/manage/list/client/corporateClient.vue +++ b/src/pages/manage/list/client/corporateClient.vue @@ -65,7 +65,7 @@

本业务需要授权

- + diff --git a/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue b/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue index 500906f..125c39a 100644 --- a/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue +++ b/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue @@ -10,7 +10,7 @@ -
+

请刷银行卡