From 490e4f034461ae5617e8707d766760189573b844 Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Thu, 28 Oct 2021 10:13:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=8E=E8=81=8C=E7=AB=99=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=88=B0=E9=93=B6=E8=A1=8C=E9=A1=B9=E7=9B=AE=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=20=E5=AD=98=E6=AC=BE/=E5=8F=96=E6=AC=BE/=E8=BD=AC=E8=B4=A6/?= =?UTF-8?q?=E7=BB=93=E6=B8=85/=E9=94=80=E6=88=B7=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/api.js | 3 +- src/components/case/index.vue | 5 +- src/pages/counter/list/index.vue | 66 ++++++++++++++----- .../manage/list/client/consumerClient.vue | 4 +- .../currentAccount/accountCancellation.vue | 22 ++++++- .../list/personal/currentAccount/deposit.vue | 31 ++++++++- .../personal/currentAccount/openAccount.vue | 28 ++++---- .../list/personal/currentAccount/settle.vue | 25 ++++++- .../currentAccount/transferAccounts.vue | 32 ++++++++- .../personal/currentAccount/withdrawal.vue | 32 ++++++++- 10 files changed, 205 insertions(+), 43 deletions(-) diff --git a/src/api/api.js b/src/api/api.js index 769cc47..57f4194 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -28,7 +28,8 @@ service.interceptors.response.use( return Promise.reject(error.response) } ) -let token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyIiwiaWF0IjoxNjM1MzE1Nzc2LCJleHAiOjE2MzUzNTg5NzYsImFjY291bnRJZCI6IjEifQ.8K5ySMaieffu79LZjJPfA7u_OfMRo6JfiarCJGdoCiE' +let token = sessionStorage.getItem('token') +// let token = sessionStorage.getItem('token') export function get(url, params = {}) { // params.t = new Date().getTime(); //get方法加一个时间参数,解决ie下可能缓存问题. return service({ diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 1288a59..0c7aaf1 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -297,17 +297,20 @@ export default { for (var i=0;i{ diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index 45a9f51..c359b74 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -334,6 +334,7 @@ export default { } }, mounted(){ + this.getQueryVariable() // Promise.resolve(2).then(value => { //     console.log(111, value) //     return value @@ -420,9 +421,23 @@ export default { }); }, methods: { + getQueryVariable(variable) { + var query = window.location.href; + var vars = query.split("?"); + for (var i=1;i{ - this.$store.commit('system/changePop',{show:false,text:''}) - },800) - this.receptionList = []; + if(this.popText == '密码器'){ + if(this.passwordForm.password && this.passwordForm.passwordAgain){ + if(this.passwordForm.password.length >=6 && this.passwordForm.passwordAgain.length >=6){ + if(this.passwordForm.password == this.passwordForm.passwordAgain) { + this.$store.commit('system/changePop', {show: false, text: ''}) + this.$message.success(`${this.popText}操作成功!`) + } + } + }else{ + this.$message.error('请输入密码和确认密码'); + } + }else{ + if (this.receptionList.length >0){ + this.$message.success(`${this.popText}操作成功!`) + // setTimeout(()=>{ + // + // },800) + this.$store.commit('system/changePop',{show:false,text:''}) + this.receptionList = []; + }else{ + this.$message.error('请从物品栏中拖拽所需资料'); + } + } + } } }; diff --git a/src/pages/manage/list/client/consumerClient.vue b/src/pages/manage/list/client/consumerClient.vue index 47e83c5..035e586 100644 --- a/src/pages/manage/list/client/consumerClient.vue +++ b/src/pages/manage/list/client/consumerClient.vue @@ -143,8 +143,8 @@ export default { }, //提交个人用户信息 submitForm(){ - let consumerClientDrag = sessionStorage.getItem('consumerClientDrag') - let consumerClientDragList = JSON.parse(consumerClientDrag); + let formExternalData = sessionStorage.getItem('formExternalData') + let consumerClientDragList = JSON.parse(formExternalData); console.log(consumerClientDragList) if(this.form.idNumber && this.form.idNumber.userName && this.form.idNumber.sex && this.form.idNumber.birthday && this.form.idNumber.phone) { this.visible = true; diff --git a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue index 126dc09..2e27de2 100644 --- a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue +++ b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue @@ -32,7 +32,7 @@ - 提交 + 提交 diff --git a/src/pages/manage/list/personal/currentAccount/deposit.vue b/src/pages/manage/list/personal/currentAccount/deposit.vue index bf9c967..3e9490b 100644 --- a/src/pages/manage/list/personal/currentAccount/deposit.vue +++ b/src/pages/manage/list/personal/currentAccount/deposit.vue @@ -38,7 +38,7 @@ - 提交 + 提交