20240205
e 3 years ago
parent 7c3902ece2
commit 14d9c72301
  1. 4
      src/api/api.js
  2. 78
      src/components/case/index.vue
  3. 16
      src/pages/lobbyManager/list/index.vue
  4. 4
      src/styles/common.scss

@ -2,8 +2,8 @@ import axios from 'axios';
import router from '../router'; import router from '../router';
// 创建axios实例 // 创建axios实例
const service = axios.create({ const service = axios.create({
// baseURL: "http://39.108.250.202:9000/", // 中台测试服 baseURL: "http://39.108.250.202:9000/", // 中台测试服
baseURL: "http://192.168.31.137:9000/", // 赓 // baseURL: "http://192.168.31.137:9000/", // 赓
// baseURL: "http://192.168.31.151:9000/", // 榕 // baseURL: "http://192.168.31.151:9000/", // 榕
// baseURL: "http://192.168.31.125:9000/", // 坤 // baseURL: "http://192.168.31.125:9000/", // 坤
// baseURL: 'http://39.108.250.202:9000', // baseURL: 'http://39.108.250.202:9000',

@ -435,8 +435,8 @@ export default {
this.projectName = data.data.projectManage.projectName; this.projectName = data.data.projectManage.projectName;
this.projectManage = data.data.projectManage; this.projectManage = data.data.projectManage;
this.requires = data.data.projectJudgmentVos; this.requires = data.data.projectJudgmentVos;
// location.href = 'http://39.108.250.202/banksystem/#/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.155:8093/#/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)=>{ }).catch((error)=>{
}) })
@ -459,15 +459,24 @@ export default {
type: "warning", type: "warning",
center: true center: true
}).then(() => { }).then(() => {
this.sureSubmit()
}).catch(() => {
this.$message({
type: "info",
message: "已取消提交"
});
});
},
sureSubmit(){
this.actEndTime = new Date().getTime(); this.actEndTime = new Date().getTime();
let ruleReqs = sessionStorage.getItem('ruleReqs') let ruleReqs = sessionStorage.getItem('ruleReqs')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
let ruleReqsList = JSON.parse(ruleReqs); let ruleReqsList = JSON.parse(ruleReqs);
let lcld = [] let lcld = []
for (var i=0;i<this.requires.length;i++){ for (var i=0;i<this.requires.length;i++){
lcld.push(this.requires[i].judgmentId) lcld.push(this.requires[i].judgmentId)
} }
let systemId = sessionStorage.getItem('systemId') let systemId = sessionStorage.getItem('systemId')
let cid = sessionStorage.getItem('cid') let cid = sessionStorage.getItem('cid')
let params = { let params = {
"assessmentId":this.assessmentId, "assessmentId":this.assessmentId,
@ -485,43 +494,36 @@ export default {
} }
this.loading = true; this.loading = true;
submit(params).then((data)=>{ submit(params).then((data)=>{
if(data.status == 200){ if(data.status == 200){
let datas= data.data.retMap.scoreInfo; let datas= data.data.retMap.scoreInfo;
let formList = [] let formList = []
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
sessionStorage.setItem('accountVoucher', JSON.stringify(formList)) sessionStorage.setItem('accountVoucher', JSON.stringify(formList))
sessionStorage.setItem('accountPasswordAll', '') sessionStorage.setItem('accountPasswordAll', '')
let list = this.requires let list = this.requires
this.grade = data.data.retMap.totalScore this.grade = data.data.retMap.totalScore
for (var j=0;j<list.length;j++){ for (var j=0;j<list.length;j++){
for (var i=0;i<datas.length;i++){ for (var i=0;i<datas.length;i++){
if (datas[i].lcId== list[j].judgmentId){ if (datas[i].lcId== list[j].judgmentId){
list[j].flag = datas[i].flag list[j].flag = datas[i].flag
list[j].score = datas[i].judgmentScore list[j].score = datas[i].judgmentScore
list[j].right = datas[i].calculate list[j].right = datas[i].calculate
}
}
} }
} this.sss = 0;
this.popContainer = true;
this.$message({
type: 'success',
message: '提交成功'
});
this.requires = list
} }
this.sss = 0;
this.popContainer = true;
this.$message({
type: 'success',
message: '提交成功'
});
this.requires = list
}
this.loading = false this.loading = false
}).catch((error)=>{ }).catch((error)=>{
this.loading = false this.loading = false
}) })
}).catch(() => {
this.$message({
type: "info",
message: "已取消提交"
});
});
}, },
// //
startCountFn() { startCountFn() {
if (!this.isStart) { if (!this.isStart) {
@ -542,7 +544,6 @@ export default {
// //
countDown(timestamp){ countDown(timestamp){
this.timestamp = timestamp this.timestamp = timestamp
console.log(this.timestamp)
this.sss = 1; this.sss = 1;
this.globalTimer = null; this.globalTimer = null;
clearInterval(this.globalTimer); clearInterval(this.globalTimer);
@ -567,7 +568,8 @@ export default {
} }
}); });
this.Submit() this.sss = 0
this.sureSubmit()
this.day = '00'; this.day = '00';
this.hour = '00'; this.hour = '00';
this.minutes = '00'; this.minutes = '00';
@ -620,8 +622,8 @@ export default {
this.minutes = "00"; this.minutes = "00";
this.hour = "00"; this.hour = "00";
this.grade = '00' this.grade = '00'
// location.href = 'http://39.108.250.202/banksystem/#/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.155:8093/#/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() { checkVer() {
let data = { let data = {

@ -12,7 +12,7 @@
<li>取回</li> <li>取回</li>
</ul> </ul>
</div> </div>
<el-dialog :visible.sync="takeVisible" width="1280px" @close="closeTake" :close-on-click-modal="false" :show-close="false" custom-class="data-dia"> <el-dialog :visible.sync="takeVisible" style="width: 100%" @close="closeTake" :close-on-click-modal="false" :show-close="false" custom-class="data-dia">
<div slot="title" class="dia-header"> <div slot="title" class="dia-header">
<div class="data-title">取号机</div> <div class="data-title">取号机</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="closeTakeDia"> <img class="close" src="@/assets/svg/close.svg" alt="" @click="closeTakeDia">
@ -55,7 +55,7 @@
</div> </div>
</el-dialog> </el-dialog>
<el-dialog :visible.sync="dataVisible" width="1280px" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia"> <el-dialog :visible.sync="dataVisible" style="width: 100%" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia">
<div slot="title" class="dia-header"> <div slot="title" class="dia-header">
<div class="data-title">银行单据</div> <div class="data-title">银行单据</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="closeDataDia"> <img class="close" src="@/assets/svg/close.svg" alt="" @click="closeDataDia">
@ -112,7 +112,7 @@
</div> </div>
</el-dialog> </el-dialog>
<el-dialog :visible.sync="copyVisible" width="1280px" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia"> <el-dialog :visible.sync="copyVisible" style="width: 100%" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia">
<div slot="title" class="dia-header"> <div slot="title" class="dia-header">
<div class="data-title">复印</div> <div class="data-title">复印</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="closeCopyDia"> <img class="close" src="@/assets/svg/close.svg" alt="" @click="closeCopyDia">
@ -269,6 +269,7 @@ export default {
} }
} }
/deep/.data-dia{ /deep/.data-dia{
width:80%;min-width:960px;margin: auto;
.take-list{ .take-list{
width: 810px; width: 810px;
margin: 0 auto; margin: 0 auto;
@ -278,8 +279,8 @@ export default {
li{ li{
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
width: 380px; width: 45%;
height: 180px; height: 150px;
border: 4px solid #DBDBDB; border: 4px solid #DBDBDB;
border-radius: 20px; border-radius: 20px;
cursor: pointer; cursor: pointer;
@ -291,13 +292,14 @@ export default {
margin-left: 50px; margin-left: 50px;
} }
img{ img{
width: 100%; width: 40%;
height: 154px; //height: 154px;
//margin: 0 45px; //margin: 0 45px;
} }
p{ p{
font-size: 22px; font-size: 22px;
color: #000; color: #000;
text-align: center;
font-weight: bold; font-weight: bold;
} }
&.checked{ &.checked{

@ -228,7 +228,7 @@
} }
} }
.tips{ .tips{
margin: 20px 0 100px; margin: 20px 0 50px;
text-align: center; text-align: center;
font-size: 20px; font-size: 20px;
color: #000; color: #000;
@ -269,7 +269,7 @@
} }
} }
.dia-footer{ .dia-footer{
margin-top: 140px; margin-top: 50px;
text-align: center; text-align: center;
button{ button{
width: 300px; width: 300px;

Loading…
Cancel
Save