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