diff --git a/src/App.vue b/src/App.vue index 4c1245f..bb40d0a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -25,10 +25,15 @@ if (util.local.get(Setting.storeKey) ) { this.$store.replaceState(Object.assign({}, this.$store.state,util.local.get(Setting.storeKey))) this.$store.system.replaceState(Object.assign({}, sessionStorage.getItem('systemData'))) + } //在页面刷新时将vuex里的信息保存到localStorage里 - window.addEventListener("beforeunload",()=>{ + window.addEventListener("beforeunload",()=>{ + if(this.$route.fullPath.includes('/counter/list/manage')) { + sessionStorage.setItem('computerPath', this.$route.fullPath) + } + util.local.get(Setting.tokenKey) && util.local.set(Setting.storeKey,this.$store.state) sessionStorage.setItem('systemData', this.$store.system.state) }) diff --git a/src/assets/css/tablebg.scss b/src/assets/css/tablebg.scss index 213ee9d..c2d9513 100644 --- a/src/assets/css/tablebg.scss +++ b/src/assets/css/tablebg.scss @@ -17,17 +17,20 @@ $inputHeight: 38px; line-height: $mfFontSize; padding: 0; display: flex; - justify-content: center; + justify-content: space-around; align-items: center; align-content: center; margin: 0 auto; .el-input { + margin: 0 5px; max-height: $mfFontSize!important; line-height: $mfFontSize; - max-width: $mfFontSize+20px; + // max-width: $mfFontSize+20px; + flex-grow: 1; input { max-height: $inputHeight; - max-width: $inputHeight+40px; + width: 100%; + // max-width: $inputHeight+40px; } } span { diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 26b2e82..cfc8584 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -132,7 +132,18 @@
- + +

请选择你将进行的操作

+ + 再试一次 + 其他业务 + +
+ @@ -168,6 +179,8 @@ export default { }, data() { return { + closePaneJudge: false, + lockIt: false, intervalJudge: {}, systemId: Setting.systemId, workbench: [], @@ -341,6 +354,10 @@ export default { ...mapMutations({ initState: 'system/initState' }), + closePane(){ + this.closePaneJudge = false + this.reload() + }, getQueryVariable(name) { var reg = new RegExp('(^|&)'+name+'=([^&]*)(&|$)') if(window.location.href.split('?')[1]){ @@ -529,6 +546,7 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { + this.sureSubmit(true) }).catch(() => { this.$message({ @@ -537,7 +555,7 @@ export default { }); }); }, - sureSubmit(judge){ + sureSubmit(judge){ // 初始化vuex中的state // this.initState(); this.actEndTime = new Date().getTime(); @@ -585,6 +603,7 @@ export default { sessionStorage.setItem('cid', cid) sessionStorage.setItem('systemId', systemId) sessionStorage.setItem('projectId', projectId) + this.lockIt = true if(firstLoad) { sessionStorage.setItem('firstLoad', firstLoad) } @@ -642,13 +661,13 @@ export default { } }, //倒计时 - countDown(timestamp){ - this.timestamp = timestamp - this.sss = 1; - this.globalTimer = null; - clearInterval(this.globalTimer); - this.startCountFn() - }, + countDown(timestamp){ + this.timestamp = timestamp + this.sss = 1; + this.globalTimer = null; + clearInterval(this.globalTimer); + this.startCountFn() + }, counterFn(counterTime) { if (this.timestamp){ let countDown = (new Date(counterTime).getTime() - new Date().getTime()) / 1000 @@ -721,6 +740,8 @@ export default { sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) sessionStorage.setItem('accountVoucher', JSON.stringify(formList)) sessionStorage.setItem('accountPasswordAll', '') + // 初始化vuex中的state + this.initState(); let params = { "projectId":projectId, } @@ -802,7 +823,12 @@ export default { return param < 10 ? "0" + param : param; }, toggleCase() { - this.$emit('update:showIt', !this.showIt) + if(!this.lockIt) { + this.$emit('update:showIt', !this.showIt) + }else { + this.closePaneJudge = true + } + // this.caseVisible = !this.caseVisible }, collapse(){ diff --git a/src/components/dialog/index.vue b/src/components/dialog/index.vue index d796bea..623efdc 100644 --- a/src/components/dialog/index.vue +++ b/src/components/dialog/index.vue @@ -17,7 +17,7 @@
提示
提交
-
提交成功
+
{{ successName }}

本业务需要授权

@@ -26,7 +26,7 @@

提交后将不可更改,您确定要提交吗?

- + @@ -37,7 +37,7 @@
- +
{{ val }}
@@ -65,14 +65,6 @@ - - - - - - - - @@ -10,8 +10,8 @@ -
- +
+
@@ -20,56 +20,56 @@
- +
- +
- +
- +
- +
- +
- +
- +
@@ -83,21 +83,21 @@
- +

资料

- +
- +
@@ -105,7 +105,7 @@
-
+
- + @@ -144,7 +144,7 @@ --> - + @@ -158,9 +158,9 @@

{{item.name}}

-
+
-
+
- +
@@ -298,7 +298,7 @@
-
+
@@ -308,10 +308,10 @@ @@ -357,12 +357,26 @@ :visible.sync="peopleJudge" custom-class="2xl:w-7/12 xl:w-9/12 lg:w-full h-auto rounded-2xl border-2 border-gray-600" center> -

客户: 你好!我现在该做什么呢?

+

请选择客户签字或返还资料

- 找他签字 - 返还资料 + 客户签字 + 返还资料
+ + +

请问需要取出几张银行卡

+ + 取出一张 + 取出两张 + +
+ +
@@ -409,6 +423,10 @@ export default { } }; return { + voucherCardGet: false, + voucherCardNumber: 0, + + // 方便操作的数据:调整弹出框高度 fit: 'scale-down', controlGoodsDblClickFn: null, // cultureIn: [], // 传票栏 @@ -433,7 +451,7 @@ export default { dateBirthYear:'1994', dateBirthMonth:'4', dateBirthDay:'1', - address:'奥斯卡巅峰计划拉水电费啥地方', + address:'在山的那边海的那边', idCardNo:'465852346854168479'}, {name:'开户申请书', src:require('@/assets/img/goods/khsqs.png'), id:14}, {name:'现金', src:require('@/assets/img/goods/cash-sm.png'), id:15}, @@ -1208,6 +1226,7 @@ export default { // console.log(this.getSelectList.accountQualitySelectList) }, mounted(){ + let that = this // 拖拽-物品栏 new Sortable(this.$refs.goods, { @@ -1262,8 +1281,10 @@ export default { // 印章的拖拽 else if(that.$refs.popUpSeal) { - that.outThingsGoods([that.goodsShelfTotalData[evt.oldIndex].id]) - that.pushThings({ idArr: [ that.goodsShelfTotalData[evt.oldIndex].id ], name: that.myMap}) + + const id = that.goodsShelfTotalData[evt.oldIndex].id + that.outThingsGoods([ id ]) + that.pushThings({ idArr: [ id ], name: that.myMap}) } @@ -1340,6 +1361,12 @@ export default { outThingsGoods: 'system/outThingsGoods', setTipsOperate: 'system/setTipsOperate' }), + voucherCardGetIt(number) { + if(number === 2) { + + } + this.voucherCardGet = false + }, changePeopleJudge() { this.peopleJudge = true; }, @@ -1569,15 +1596,15 @@ export default { }else if(this.popText.includes('密码器')) { // if(this.systemId == '62,1' || this.systemId == '62,2' || this.systemId == '62,3') { // if(this.passwordForm.password2 !== this.passwordForm.passwordAgain) { - // this.setTipsOperate('您输入的密码和确认密码不一致!') + // this.setTipsOperate('两次输入密码不一致') // return // } // } if(this.passwordForm.passwordAgain.length !== 6) { this.setTipsOperate('您输入的密码不足6位!') return - }else if(this.passwordForm.password2 !== this.passwordForm.passwordAgain) { - this.setTipsOperate('您输入的密码和确认密码不一致!') + }else if((this.id == '62,1' || this.id == '62,2' || this.id == '62,3') && this.passwordForm.password2 !== this.passwordForm.passwordAgain) { + this.setTipsOperate('两次输入密码不一致') return } }else if(this.popText.includes('身份证扫描')) { @@ -2026,7 +2053,7 @@ export default { // that.outThingsGoods([that.goodsShelfTotalData[evt.oldIndex].id]) }else if (this.nbm == 7){ //打印机 if(this.goodState.length === 0) { - this.setTipsOperate('请放入证件!') + this.setTipsOperate('请放入打印资料') return } let projectId = sessionStorage.getItem('projectId') @@ -2057,7 +2084,7 @@ export default { } } }else{ - this.setTipsOperate('您输入的密码和确认密码不一致!') + this.setTipsOperate('两次输入密码不一致!') } }else if (this.nbm == 9){//资料 if(this.goodState.length === 0) { @@ -2137,12 +2164,34 @@ export default { const targetDom = this.$refs.goods.getBoundingClientRect() return evt.originalEvent.pageXtargetDom.left && evt.originalEvent.pageYtargetDom.top }, - + // inputListenCard(val, prop) { + // const tmpCheck = val.substr(val.length-1, 1); + // if(tmpCheck === ' ') { + // return; + // } + // if(val === '') { + // this[prop] = val; + // return; + // } + // const tmpGet = Number(val.replace(/\D+/, '')) + // if(tmpGet <= 2 && tmpGet>0) { + // this[prop] = tmpGet + // }else { + // this.setTipsOperate('最多只能取出两张') + // this[prop] = 2 + // } + + // } } }; \ No newline at end of file diff --git a/src/pages/manage/index/index.vue b/src/pages/manage/index/index.vue index 29055f5..c96edd7 100644 --- a/src/pages/manage/index/index.vue +++ b/src/pages/manage/index/index.vue @@ -191,6 +191,7 @@ export default { &:focus { border-color: skyblue; } + } // 校验错误变红 @@ -198,6 +199,15 @@ export default { border-color: #f40!important;; } + /deep/.el-input { + // width: 15vw!important; + width: 100%; + input { + font-size: $font_size_All!important; + } + + } + /deep/ .text-xl p { font-size: $font_size_All!important; } @@ -234,10 +244,16 @@ export default { // } @media screen and (min-width: 1200px) and (max-width: 1700px) { /deep/.el-input { - width: 15vw!important; + // width: 15vw!important; + width: 100%; + input { + font-size: $font_size_All!important; + } + } /deep/ .idCard { - width: 15vw; + // width: 15vw; + width: 100%; } } @media screen and (min-width: 1200px) and (max-width: 1900px) { diff --git a/src/pages/manage/list/ImportantCash/controlCash/cashOut.vue b/src/pages/manage/list/ImportantCash/controlCash/cashOut.vue index 161c116..15703eb 100644 --- a/src/pages/manage/list/ImportantCash/controlCash/cashOut.vue +++ b/src/pages/manage/list/ImportantCash/controlCash/cashOut.vue @@ -32,18 +32,20 @@ prop="moneyType" label="券别" align="center" + width="90" >