|
|
|
@ -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 = { |
|
|
|
|