From c7a7383be56cd2c5425817331ec1791340b1a028 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Thu, 30 Dec 2021 16:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=96=E6=8B=BD=E5=92=8C=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/myTitle/index.vue | 27 + src/main.js | 1 + src/pages/counter/list/index.vue | 531 +++++++++--------- src/pages/manage/index/index.vue | 40 +- .../manage/list/acceptanceDraft/invoice.vue | 33 +- src/pages/manage/list/business/deposit.vue | 116 +--- .../manage/list/business/openAccount.vue | 125 +---- src/pages/manage/list/business/transfer.vue | 102 +--- src/pages/manage/list/business/withdrawal.vue | 126 +---- src/pages/manage/list/cityWide/cityWideIn.vue | 101 +--- .../manage/list/cityWide/cityWideOut.vue | 101 +--- .../manage/list/client/consumerClient.vue | 73 +-- .../manage/list/client/corporateClient.vue | 160 +++--- .../personal/callDeposits/accountClosed.vue | 36 +- .../personal/callDeposits/callDeposits.vue | 75 +-- .../personal/callDeposits/openAccount.vue | 26 - .../list/personal/currentAccount/deposit.vue | 79 +-- .../list/personal/currentAccount/index.vue | 16 +- .../personal/currentAccount/openAccount.vue | 51 +- .../list/personal/currentAccount/settle.vue | 50 +- .../currentAccount/transferAccounts.vue | 50 +- .../personal/currentAccount/withdrawal.vue | 1 + .../list/personal/timeDeposit/deposit.vue | 52 +- .../list/personal/timeDeposit/openAccount.vue | 52 +- .../list/personal/timeDeposit/timeDeposit.vue | 9 +- .../list/personal/timeDeposit/withdrawal.vue | 52 +- .../personal/usefulPhrases/accountClosed.vue | 52 +- .../usefulPhrases/continueDeposit.vue | 26 - .../personal/usefulPhrases/openAccount.vue | 26 - .../personal/usefulPhrases/usefulPhrases.vue | 9 +- .../list/servicesAccount/passwordChange.vue | 94 ++-- .../list/servicesAccount/passwordLost.vue | 53 +- .../list/servicesAccount/relieveLost.vue | 46 +- src/styles/system.scss | 34 +- test.txt | 0 35 files changed, 841 insertions(+), 1584 deletions(-) create mode 100644 src/components/myTitle/index.vue delete mode 100644 test.txt diff --git a/src/components/myTitle/index.vue b/src/components/myTitle/index.vue new file mode 100644 index 0000000..0bd0aed --- /dev/null +++ b/src/components/myTitle/index.vue @@ -0,0 +1,27 @@ + + + + + \ No newline at end of file diff --git a/src/main.js b/src/main.js index 584953f..06a4039 100644 --- a/src/main.js +++ b/src/main.js @@ -18,6 +18,7 @@ import VueLazyload from 'vue-lazyload'; import plugins from '@/plugins'; import filters from '@/plugins/filters' import axios from 'axios' + Vue.prototype.$axios = axios Vue.directive('focus', {/* 聚焦事件 */ diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index a239f8b..e457885 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -96,7 +96,7 @@
-
+

{{item.name}}

@@ -141,7 +141,7 @@
-
+
@@ -764,23 +764,6 @@ export default { if(newVal) { this.$nextTick(() => { const importanceArrClassArr = document.getElementsByClassName('importanceArrClass') - new Sortable(this.$refs.popUpImportanceArr, { - animation: 150, - group: { - name:'shared', - pull:'clone',// 是否可以被移出或克隆 - put:true - }, - sort: false,// 禁止排序 - // 结束拖拽 - onAdd: evt => { - if(!importanceArrClassArr.length) return that.$message.warning('非可拖拽的交互!') - console.log('what the fuck') - console.log(this.goodsShelfTotalData) - }, - }); - - // popUpImportanceArr for(let i=0;i { // 结束拖拽 - console.log('???') - // 判断拖拽的地址 - if(!this.$refs.popUpImportanceArr) return this.$message.warning('非可拖拽的交互!') - let targetDom = this.$refs.popUpImportanceArr.getBoundingClientRect() - if(evt.originalEvent.pageXtargetDom.left){ - if(evt.originalEvent.pageYtargetDom.top){ - /* oldindex识别是拖拽了哪个文件 */ - console.log(this.goodsShelfTotalData[evt.oldIndex].name,'执行拖拽2'); - this.checkList.push(this.goodsShelfTotalData[evt.oldIndex].name) - let ifElse = 0; - for(var i=0;i 0){ - - }else{ - this.receptionList.push(this.popArr[i]) - } - }else{ - this.receptionList.push(this.popArr[i]) - } - } + if(this.judgePosition(evt)){ + console.log(evt) + const getIt = evt.target.textContent + for(var i=0;itargetDom.left){ if(evt.originalEvent.pageYtargetDom.top){ /* oldindex识别是拖拽了哪个文件 */ - console.log(that.goodsShelfTotalData[evt.oldIndex].name,'执行拖拽2'); + // console.log(that.goodsShelfTotalData[evt.oldIndex].name,'执行拖拽2'); that.checkList.push(that.goodsShelfTotalData[evt.oldIndex].name) - let ifElse = 0; for(var i=0;i 0){ - - }else{ - that.receptionList.push(that.popArr[i]) - } + that.receptionList.push(that.popArr[i]) }else{ that.receptionList.push(that.popArr[i]) } @@ -904,19 +867,17 @@ export default { if(evt.originalEvent.pageXtargetDom.left){ if(evt.originalEvent.pageYtargetDom.top){ /* oldindex识别是拖拽了哪个文件 */ + console.log(evt) + console.log(that.importanceArr) + console.log(that.goodsShelfTotalData) console.log(that.importanceArr[evt.oldIndex].name,'执行拖拽2'); that.checkList.push(that.importanceArr[evt.oldIndex].name) - let ifElse = 0; if(that.goodsShelfTotalData.length > 0){ for(var i=0;i{ clickList.map(el=>{ + console.log(el) if(el===e.id){ arr.push(e) } }) }) this.$store.commit('system/changeGoods',{push:arr}) - clickList.length = 0 + clickList = [] }else{ if (this.$store.state.system.id == '33'){ this.nbm = 33 this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - console.log(this.receptionList) sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) } } @@ -1238,220 +1199,224 @@ export default { } } // this.toggleGoods() - if(this.popText == '密码器'){ - if (this.nbm == 8){ - let formList = [] - let ruleReqs = sessionStorage.getItem('ruleReqs') - if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} - for (var i=0;i=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){ - let formList = [] - this.toggleGoods() - this.$message.success(`${this.popText}操作成功!`) - if (this.nbm == 0){ //用户 - }else if (this.nbm == 1){ //传票箱 - let projectId = sessionStorage.getItem('projectId') - let startTime = sessionStorage.getItem('startTime') - for (var i=0;i{ - this.$message({ - message: '提交成功', - type: 'success' - }); - }).catch((error)=>{ - }) - }else if (this.nbm == 2){ //普通凭证箱 - let projectId = sessionStorage.getItem('projectId') - let startTime = sessionStorage.getItem('startTime') - for (var i=0;i{ - this.$message({ - message: '提交成功', - type: 'success' - }); - }).catch((error)=>{ - }) - }else if (this.nbm == 3){ //重要空白凭证箱 - let projectId = sessionStorage.getItem('projectId') - let startTime = sessionStorage.getItem('startTime') - for (var i=0;i{ - this.$message({ - message: '提交成功', - type: 'success' - }); - }).catch((error)=>{ - }) - }else if (this.nbm == 4){ //钱箱 - let projectId = sessionStorage.getItem('projectId') - let startTime = sessionStorage.getItem('startTime') - let formList = []; - for (var i=0;i{ - this.$message({ - message: '提交成功', - type: 'success' - }); - }).catch((error)=>{ - }) - }else if (this.nbm == 5){ //印章盒 - let projectId = sessionStorage.getItem('projectId') - let startTime = sessionStorage.getItem('startTime') - for (var i=0;i{ - this.$message({ - message: '提交成功', - type: 'success' - }); - }).catch((error)=>{ - }) - }else if (this.nbm == 6){ //验钞机 - let projectId = sessionStorage.getItem('projectId') - let startTime = sessionStorage.getItem('startTime') - for (var i=0;i{ - this.$message({ - message: '提交成功', - type: 'success' - }); - }).catch((error)=>{ - }) - }else if (this.nbm == 7){ //打印机 - let projectId = sessionStorage.getItem('projectId') - let startTime = sessionStorage.getItem('startTime') - for (var i=0;i{ - this.$message({ - message: '提交成功', - type: 'success' - }); - }).catch((error)=>{ - }) - }else if (this.nbm == 9){//资料 - let projectId = sessionStorage.getItem('projectId') - let startTime = sessionStorage.getItem('startTime') - for (var i=0;i{ - this.$message({ - message: '提交成功', - type: 'success' - }); - }).catch((error)=>{ - }) - }else if (this.nbm == 10){ //刷卡器 - let projectId = sessionStorage.getItem('projectId') - let startTime = sessionStorage.getItem('startTime') - for (var i=0;i{ - this.$message({ - message: '提交成功', - type: 'success' - }); - }).catch((error)=>{ - }) - }else if (this.nbm == 11){ //身份证扫描仪 - let projectId = sessionStorage.getItem('projectId') - let startTime = sessionStorage.getItem('startTime') - for (var i=0;i{ - this.$message({ - message: '提交成功', - type: 'success' - }); - }).catch((error)=>{ - }) - }else{ + // else if(this.popText == '密码器'){ + // if (this.nbm == 8){ + // let formList = [] + // let ruleReqs = sessionStorage.getItem('ruleReqs') + // if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} + // for (var i=0;i=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){ + // let formList = [] + // this.toggleGoods() + // this.$message.success(`${this.popText}操作成功!`) + // if (this.nbm == 0){ //用户 + // }else if (this.nbm == 1){ //传票箱 + // let projectId = sessionStorage.getItem('projectId') + // let startTime = sessionStorage.getItem('startTime') + // for (var i=0;i{ + // this.$message({ + // message: '提交成功', + // type: 'success' + // }); + // }).catch((error)=>{ + // }) + // }else if (this.nbm == 2){ //普通凭证箱 + // let projectId = sessionStorage.getItem('projectId') + // let startTime = sessionStorage.getItem('startTime') + // for (var i=0;i{ + // this.$message({ + // message: '提交成功', + // type: 'success' + // }); + // }).catch((error)=>{ + // }) + // }else if (this.nbm == 3){ //重要空白凭证箱 + // let projectId = sessionStorage.getItem('projectId') + // let startTime = sessionStorage.getItem('startTime') + // for (var i=0;i{ + // this.$message({ + // message: '提交成功', + // type: 'success' + // }); + // }).catch((error)=>{ + // }) + // }else if (this.nbm == 4){ //钱箱 + // let projectId = sessionStorage.getItem('projectId') + // let startTime = sessionStorage.getItem('startTime') + // let formList = []; + // for (var i=0;i{ + // this.$message({ + // message: '提交成功', + // type: 'success' + // }); + // }).catch((error)=>{ + // }) + // }else if (this.nbm == 5){ //印章盒 + // let projectId = sessionStorage.getItem('projectId') + // let startTime = sessionStorage.getItem('startTime') + // for (var i=0;i{ + // this.$message({ + // message: '提交成功', + // type: 'success' + // }); + // }).catch((error)=>{ + // }) + // }else if (this.nbm == 6){ //验钞机 + // let projectId = sessionStorage.getItem('projectId') + // let startTime = sessionStorage.getItem('startTime') + // for (var i=0;i{ + // this.$message({ + // message: '提交成功', + // type: 'success' + // }); + // }).catch((error)=>{ + // }) + // }else if (this.nbm == 7){ //打印机 + // let projectId = sessionStorage.getItem('projectId') + // let startTime = sessionStorage.getItem('startTime') + // for (var i=0;i{ + // this.$message({ + // message: '提交成功', + // type: 'success' + // }); + // }).catch((error)=>{ + // }) + // }else if (this.nbm == 9){//资料 + // let projectId = sessionStorage.getItem('projectId') + // let startTime = sessionStorage.getItem('startTime') + // for (var i=0;i{ + // this.$message({ + // message: '提交成功', + // type: 'success' + // }); + // }).catch((error)=>{ + // }) + // }else if (this.nbm == 10){ //刷卡器 + // let projectId = sessionStorage.getItem('projectId') + // let startTime = sessionStorage.getItem('startTime') + // for (var i=0;i{ + // this.$message({ + // message: '提交成功', + // type: 'success' + // }); + // }).catch((error)=>{ + // }) + // }else if (this.nbm == 11){ //身份证扫描仪 + // let projectId = sessionStorage.getItem('projectId') + // let startTime = sessionStorage.getItem('startTime') + // for (var i=0;i{ + // this.$message({ + // message: '提交成功', + // type: 'success' + // }); + // }).catch((error)=>{ + // }) + // }else{ - } - this.$store.commit('system/changePop',{show:false,text:''}) - this.receptionList = []; - }else{ - this.$message.error('请从物品栏中拖拽所需资料'); - } - } + // } + // this.$store.commit('system/changePop',{show:false,text:''}) + // this.receptionList = []; + // }else{ + // this.$message.error('请从物品栏中拖拽所需资料'); + // } + // } }, toPart(){ this.$router.push('/index') }, + judgePosition(evt) { + const targetDom = this.$refs.goods.getBoundingClientRect() + return evt.originalEvent.pageXtargetDom.left && evt.originalEvent.pageYtargetDom.top + } } }; @@ -2418,7 +2383,11 @@ export default { width: 95%; max-height: 105px; margin: auto; - margin-top: 40px; + position: absolute; + top: .5vh; + left: 50%; + transform: translateX(-50%); + // margin-top: 40px; } p { position: absolute; @@ -2451,16 +2420,16 @@ export default { // 兼容小屏幕的goods-dia @media screen and (min-width: 1200px) and (max-width: 1919px) { .goods-dia { - //height: 15vh; + height: 15vh; width: 100%; .justify-center { - //max-height: 13vh; + max-height: 13vh; } .file { top: 0; - //max-height: 13vh; + max-height: 13vh; img { - //max-height: 8vh; + max-height: 8vh; margin: auto; margin-top: 1vh; } diff --git a/src/pages/manage/index/index.vue b/src/pages/manage/index/index.vue index 692246f..817cb93 100644 --- a/src/pages/manage/index/index.vue +++ b/src/pages/manage/index/index.vue @@ -39,7 +39,7 @@ export default { } }, components: { - navbar, + navbar }, computed:{ full:function(){ @@ -69,31 +69,35 @@ export default { $font_size_All: 16px; // 字体大小 $submenu_padding_left: 25px; // 相应的padding-left大小 - @media screen and (min-width: 1920px) { - /deep/.el-form { - // height: 42vh; - min-height: 45vh; - // overflow: auto; - } - /deep/.submitBtn{ - max-width: 10vw!important; - + /deep/.body { + min-height: 50vh; } } @media screen and (min-width: 1200px) and (max-width: 1700px) { - /deep/.el-form { - min-height: 40vh; - } - /deep/.submitBtn{ - max-width: 12vw!important; - + /deep/.body { + min-height: 30vh; } } - - + // .wrap2{ + // width: 100%; + // display: flex; + // flex-direction: column; + // overflow: hidden; + // .title{ + // height: 60px; + // display: flex; + // align-items: center; + // font-size: 20px; + // padding-left: 50px; + // } + // .body{ + // margin-top: 50px; + // } + // } + .box{ display: flex; min-width: 1300px; diff --git a/src/pages/manage/list/acceptanceDraft/invoice.vue b/src/pages/manage/list/acceptanceDraft/invoice.vue index f856f6d..b7624b5 100644 --- a/src/pages/manage/list/acceptanceDraft/invoice.vue +++ b/src/pages/manage/list/acceptanceDraft/invoice.vue @@ -1,11 +1,7 @@ // 个人客户