diff --git a/note.txt b/note.txt deleted file mode 100644 index e69de29..0000000 diff --git a/src/assets/img/loading.gif b/src/assets/img/loading.gif deleted file mode 100644 index c3e4521..0000000 Binary files a/src/assets/img/loading.gif and /dev/null differ diff --git a/src/assets/img/loading2.gif b/src/assets/img/loading2.gif deleted file mode 100644 index c69e937..0000000 Binary files a/src/assets/img/loading2.gif and /dev/null differ diff --git a/src/assets/img/loading2.webp b/src/assets/img/loading2.webp new file mode 100644 index 0000000..b368a13 Binary files /dev/null and b/src/assets/img/loading2.webp differ diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 9cceedb..9b58856 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -99,7 +99,8 @@
diff --git a/src/main.js b/src/main.js index 06a4039..0ccbf22 100644 --- a/src/main.js +++ b/src/main.js @@ -46,7 +46,7 @@ Vue.use(plugins); Vue.use(VueLazyload, { preLoad: 1.3, - loading: require('@/assets/img/loading.gif'), + // loading: require('@/assets/img/loading4.gif'), attempt: 2 }) diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index af871b0..cc9bd8b 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -71,7 +71,14 @@ - + +
+
展示业务列表
+
+ +
+ +
@@ -96,7 +103,8 @@
-
+ +

{{item.name}}

@@ -111,7 +119,7 @@
{{ popText }}
-
ko +

- 请从以下物品中选取所需材料 -

- 请从物品栏选中或拖拽所需材料 -

@@ -186,6 +194,31 @@ + + +
+
什么
+
+
+

- 请单击选中复印材料、双击可放大预览 -

+
    +
  • + +

    身份证

    +
  • + +
  • + +

    开户申请书

    +
  • +
+ +
@@ -228,6 +261,7 @@ export default { } }; return { + showBusiness: false, manageVisible: false, // 显示系统录入 checkList: [],// 物品栏选中 elseBoxCheck:[],/* 所有其他可从物品栏拖拽物品进入的弹框 */ @@ -743,7 +777,10 @@ export default { }, showGoods:function() { return this.$store.state.system.showGoods - } + }, + goodsOpen:function () {/* 物品栏的物品 */ + return this.$store.state.system.goodsOpen + }, }, watch: { '$route.path': function (val) { @@ -762,39 +799,40 @@ export default { }, showPop(newVal) { if(newVal) { - this.$nextTick(() => { - const importanceArrClassArr = document.getElementsByClassName('importanceArrClass') - for(let i=0;i { // 结束拖拽 - if(this.judgePosition(evt)){ - const getIt = evt.target.textContent - for(var i=0;i { + const importanceArrClassArr = document.getElementsByClassName('importanceArrClass') + for(let i=0;i { // 结束拖拽 + if(this.judgePosition(evt)){ + const getIt = evt.target.textContent + for(var i=0;i0){ - sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) - } - } - if (this.$store.state.system.id == '34'){ - this.nbm = 34 - this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) - } - } - if (this.$store.state.system.id == '63'){ - this.nbm = 63 - this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) - } - } - if (this.$store.state.system.id == '64'){ - this.nbm = 64 - this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) - } - if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) - } - }else if (this.$store.state.system.id == '65'){ - this.nbm = 65 - this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) - } - if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem('nomCurrentTransferPassword', accountPassword) - } - }else if (this.$store.state.system.id == '66'){ - this.nbm = 66 - this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) - } - if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) - } - }else if (this.$store.state.system.id == '67,1'){ - this.nbm = 67 - this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) - } - }else if (this.$store.state.system.id == '67,2'){ - this.nbm = 67 - this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) - } - - }else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] - - const { nbm, name, isPassword } = myConfig[this.$store.state.system.id] - this.nbm = nbm - if(!isPassword) { - this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem(name, JSON.stringify(this.receptionList)) - } - }else { - if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem(name, accountPassword) - } - } - - - }else if (this.$store.state.system.id == '67,3'){ - this.nbm = 67 - if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) - } - }else if (this.$store.state.system.id == '62,1'){ - this.nbm = 62 - this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) - } - if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem('accountPassword', accountPassword) - } - }else if (this.$store.state.system.id == '62,2'){ - this.nbm = 62 - this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) - } - if (this.passwordForm.passwordAgain){ - let accountPasswordTwo = '' - accountPasswordTwo = this.passwordForm.passwordAgain - sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) - } - }else if (this.$store.state.system.id == '62,3'){ - this.nbm = 62 - this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) - } - if (this.passwordForm.passwordAgain){ - let accountPasswordThree = '' - accountPasswordThree = this.passwordForm.passwordAgain - sessionStorage.setItem('accountPasswordThree', accountPasswordThree) - } - } - } - // this.toggleGoods() - // 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{ - if(this.popText == '密码器'){ + }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;i0){ - 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;i0){ + let formList = [] + this.toggleGoods() + this.$message.success(`${this.popText}操作成功!`) + this.$store.commit('system/changePop',{show:false,text:''}) // 关闭弹窗 + console.log('---关闭弹窗') + 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.goodsShelfTotalData = this.auditGoodsShelf + if (this.$store.state.system.id == '33'){ + this.nbm = 33 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) + } + } + if (this.$store.state.system.id == '34'){ + this.nbm = 34 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) + } + } + if (this.$store.state.system.id == '63'){ + this.nbm = 63 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) + } + } + if (this.$store.state.system.id == '64'){ + this.nbm = 64 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) + } + if (this.passwordForm.passwordAgain){ + let accountPassword = ''; + accountPassword = this.passwordForm.passwordAgain + sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) + } + }else if (this.$store.state.system.id == '65'){ + this.nbm = 65 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) + } + if (this.passwordForm.passwordAgain){ + let accountPassword = ''; + accountPassword = this.passwordForm.passwordAgain + sessionStorage.setItem('nomCurrentTransferPassword', accountPassword) + } + }else if (this.$store.state.system.id == '66'){ + this.nbm = 66 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) + } + if (this.passwordForm.passwordAgain){ + let accountPassword = ''; + accountPassword = this.passwordForm.passwordAgain + sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) + } + }else if (this.$store.state.system.id == '67,1'){ + this.nbm = 67 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) + } + }else if (this.$store.state.system.id == '67,2'){ + this.nbm = 67 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) + } + + }else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] + + const { nbm, name, isPassword } = myConfig[this.$store.state.system.id] + this.nbm = nbm + if(!isPassword) { + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem(name, JSON.stringify(this.receptionList)) + } + }else { + if (this.passwordForm.passwordAgain){ + let accountPassword = ''; + accountPassword = this.passwordForm.passwordAgain + sessionStorage.setItem(name, accountPassword) + } + } + + + }else if (this.$store.state.system.id == '67,3'){ + this.nbm = 67 + if (this.passwordForm.passwordAgain){ + let accountPassword = ''; + accountPassword = this.passwordForm.passwordAgain + sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) + } + }else if (this.$store.state.system.id == '62,1'){ + this.nbm = 62 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) + } + if (this.passwordForm.passwordAgain){ + let accountPassword = ''; + accountPassword = this.passwordForm.passwordAgain + sessionStorage.setItem('accountPassword', accountPassword) + } + }else if (this.$store.state.system.id == '62,2'){ + this.nbm = 62 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) + } + if (this.passwordForm.passwordAgain){ + let accountPasswordTwo = '' + accountPasswordTwo = this.passwordForm.passwordAgain + sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) + } + }else if (this.$store.state.system.id == '62,3'){ + this.nbm = 62 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) + } + if (this.passwordForm.passwordAgain){ + let accountPasswordThree = '' + accountPasswordThree = this.passwordForm.passwordAgain + sessionStorage.setItem('accountPasswordThree', accountPasswordThree) + } } - addOperation(params).then((data)=>{ - 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.toggleGoods() + + }, toPart(){ this.$router.push('/index') @@ -1617,12 +1458,22 @@ export default { judgePosition(evt) { const targetDom = this.$refs.goods.getBoundingClientRect() return evt.originalEvent.pageXtargetDom.left && evt.originalEvent.pageYtargetDom.top - } + }, + } };