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';
// 创建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',

@ -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<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 params = {
"assessmentId":this.assessmentId,
@ -485,43 +494,36 @@ export default {
}
this.loading = true;
submit(params).then((data)=>{
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<list.length;j++){
for (var i=0;i<datas.length;i++){
if (datas[i].lcId== list[j].judgmentId){
list[j].flag = datas[i].flag
list[j].score = datas[i].judgmentScore
list[j].right = datas[i].calculate
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<list.length;j++){
for (var i=0;i<datas.length;i++){
if (datas[i].lcId== list[j].judgmentId){
list[j].flag = datas[i].flag
list[j].score = datas[i].judgmentScore
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
}).catch((error)=>{
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 = {

@ -12,7 +12,7 @@
<li>取回</li>
</ul>
</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 class="data-title">取号机</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="closeTakeDia">
@ -55,7 +55,7 @@
</div>
</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 class="data-title">银行单据</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="closeDataDia">
@ -112,7 +112,7 @@
</div>
</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 class="data-title">复印</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="closeCopyDia">
@ -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{

@ -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;

Loading…
Cancel
Save