|
|
@ -316,6 +316,7 @@ export default { |
|
|
|
sessionStorage.setItem('cid', cid) |
|
|
|
sessionStorage.setItem('cid', cid) |
|
|
|
sessionStorage.setItem('systemId', systemId) |
|
|
|
sessionStorage.setItem('systemId', systemId) |
|
|
|
sessionStorage.setItem('timestamp', timestamp) |
|
|
|
sessionStorage.setItem('timestamp', timestamp) |
|
|
|
|
|
|
|
console.log("🚀 ~ mounted ~ projectId:", token, projectId) |
|
|
|
sessionStorage.setItem('projectId', projectId) |
|
|
|
sessionStorage.setItem('projectId', projectId) |
|
|
|
sessionStorage.setItem('assessmentId', assessmentId) |
|
|
|
sessionStorage.setItem('assessmentId', assessmentId) |
|
|
|
sessionStorage.setItem('competitionId', competitionId) |
|
|
|
sessionStorage.setItem('competitionId', competitionId) |
|
|
@ -527,7 +528,6 @@ export default { |
|
|
|
this.selectProjects(params) |
|
|
|
this.selectProjects(params) |
|
|
|
}, |
|
|
|
}, |
|
|
|
selectProjects (params) { |
|
|
|
selectProjects (params) { |
|
|
|
console.log("🚀 ~ selectProjects ~ params:", params) |
|
|
|
|
|
|
|
getProjectDetail(params).then((data) => { |
|
|
|
getProjectDetail(params).then((data) => { |
|
|
|
if (data.status == 200) { |
|
|
|
if (data.status == 200) { |
|
|
|
this.globalTimer = ""; |
|
|
|
this.globalTimer = ""; |
|
|
@ -580,7 +580,6 @@ export default { |
|
|
|
sessionStorage.removeItem('submited', 0) |
|
|
|
sessionStorage.removeItem('submited', 0) |
|
|
|
sessionStorage.removeItem('firstLoad2') |
|
|
|
sessionStorage.removeItem('firstLoad2') |
|
|
|
this.setBusinessKey('') |
|
|
|
this.setBusinessKey('') |
|
|
|
console.log("🚀 ~ getProjectDetail ~ params:", params) |
|
|
|
|
|
|
|
getProjectDetail(params).then((data) => { |
|
|
|
getProjectDetail(params).then((data) => { |
|
|
|
if (data.status == 200) { |
|
|
|
if (data.status == 200) { |
|
|
|
const { systemId, projectId } = data.data.projectManage |
|
|
|
const { systemId, projectId } = data.data.projectManage |
|
|
@ -653,7 +652,6 @@ export default { |
|
|
|
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') || this.entryTime |
|
|
|
let startTime = sessionStorage.getItem('startTime') || this.entryTime |
|
|
|
console.log("🚀 ~ sureSubmit ~ this.entryTime:", this.entryTime) |
|
|
|
|
|
|
|
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++) { |
|
|
|