From 14d9c72301a3d03a47bebd6dc7d160a2e4e12d72 Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Wed, 1 Dec 2021 18:43:24 +0800 Subject: [PATCH] bug --- src/api/api.js | 4 +- src/components/case/index.vue | 78 ++++++++++++++------------- src/pages/lobbyManager/list/index.vue | 16 +++--- src/styles/common.scss | 4 +- 4 files changed, 53 insertions(+), 49 deletions(-) diff --git a/src/api/api.js b/src/api/api.js index 11f6b4a..4a7c785 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -2,8 +2,8 @@ import axios from 'axios'; import router from '../router'; // 创建axios实例 const service = axios.create({ - // baseURL: "http://39.108.250.202:9000/", // 中台测试服 - baseURL: "http://192.168.31.137:9000/", // 赓 + baseURL: "http://39.108.250.202:9000/", // 中台测试服 + // baseURL: "http://192.168.31.137:9000/", // 赓 // baseURL: "http://192.168.31.151:9000/", // 榕 // baseURL: "http://192.168.31.125:9000/", // 坤 // baseURL: 'http://39.108.250.202:9000', diff --git a/src/components/case/index.vue b/src/components/case/index.vue index ce9fbea..9417cbf 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -435,8 +435,8 @@ export default { this.projectName = data.data.projectManage.projectName; this.projectManage = data.data.projectManage; this.requires = data.data.projectJudgmentVos; - // location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId - location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId + location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + // location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId } }).catch((error)=>{ }) @@ -459,15 +459,24 @@ export default { type: "warning", center: true }).then(() => { + this.sureSubmit() + }).catch(() => { + this.$message({ + type: "info", + message: "已取消提交" + }); + }); + }, + sureSubmit(){ this.actEndTime = new Date().getTime(); let ruleReqs = sessionStorage.getItem('ruleReqs') let startTime = sessionStorage.getItem('startTime') let ruleReqsList = JSON.parse(ruleReqs); let lcld = [] for (var i=0;i{ - if(data.status == 200){ - let datas= data.data.retMap.scoreInfo; - let formList = [] - sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) - sessionStorage.setItem('accountVoucher', JSON.stringify(formList)) - sessionStorage.setItem('accountPasswordAll', '') - let list = this.requires - this.grade = data.data.retMap.totalScore - for (var j=0;j{ this.loading = false }) - }).catch(() => { - this.$message({ - type: "info", - message: "已取消提交" - }); - }); }, - //开始计时 startCountFn() { if (!this.isStart) { @@ -542,7 +544,6 @@ export default { //倒计时 countDown(timestamp){ this.timestamp = timestamp - console.log(this.timestamp) this.sss = 1; this.globalTimer = null; clearInterval(this.globalTimer); @@ -567,7 +568,8 @@ export default { } }); - this.Submit() + this.sss = 0 + this.sureSubmit() this.day = '00'; this.hour = '00'; this.minutes = '00'; @@ -620,8 +622,8 @@ export default { this.minutes = "00"; this.hour = "00"; this.grade = '00' - // location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId - location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId + location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + // location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId }, checkVer() { let data = { diff --git a/src/pages/lobbyManager/list/index.vue b/src/pages/lobbyManager/list/index.vue index 6521c90..e0f05b0 100644 --- a/src/pages/lobbyManager/list/index.vue +++ b/src/pages/lobbyManager/list/index.vue @@ -12,7 +12,7 @@
  • 取回
  • - +
    取号机
    @@ -55,7 +55,7 @@
    - +
    银行单据
    @@ -112,7 +112,7 @@
    - +
    复印
    @@ -269,6 +269,7 @@ export default { } } /deep/.data-dia{ + width:80%;min-width:960px;margin: auto; .take-list{ width: 810px; margin: 0 auto; @@ -278,8 +279,8 @@ export default { li{ display: inline-flex; align-items: center; - width: 380px; - height: 180px; + width: 45%; + height: 150px; border: 4px solid #DBDBDB; border-radius: 20px; cursor: pointer; @@ -291,13 +292,14 @@ export default { margin-left: 50px; } img{ - width: 100%; - height: 154px; + width: 40%; + //height: 154px; //margin: 0 45px; } p{ font-size: 22px; color: #000; + text-align: center; font-weight: bold; } &.checked{ diff --git a/src/styles/common.scss b/src/styles/common.scss index 597293d..474feb2 100644 --- a/src/styles/common.scss +++ b/src/styles/common.scss @@ -228,7 +228,7 @@ } } .tips{ - margin: 20px 0 100px; + margin: 20px 0 50px; text-align: center; font-size: 20px; color: #000; @@ -269,7 +269,7 @@ } } .dia-footer{ - margin-top: 140px; + margin-top: 50px; text-align: center; button{ width: 300px;