给考核跳转银行加上结束时间

UI_2022-02-10
e 3 years ago
parent 67756e57ac
commit a7be2f73b8
  1. 7
      src/pages/ass/list/index.vue
  2. 1
      src/pages/station/preview/index.vue

@ -200,6 +200,7 @@ export default {
systemId:null, systemId:null,
assessmentId:'', assessmentId:'',
classId:'', classId:'',
stopTime:'',
}; };
}, },
computed: { computed: {
@ -356,6 +357,10 @@ export default {
this.url = res.url this.url = res.url
this.cid = res.info.cid this.cid = res.info.cid
this.systemId = res.info.systemId this.systemId = res.info.systemId
var date = res.assessmentInfo.stopTime;
date = date.substring(0,19);
date = date.replace(/-/g,'/');
this.stopTime = new Date(date).getTime();
this.goSubSystem(); this.goSubSystem();
}).catch(res => { }).catch(res => {
}); });
@ -400,7 +405,7 @@ export default {
let href = ""; let href = "";
let aaa = '' let aaa = ''
aaa = host.slice(0,host.length-6) aaa = host.slice(0,host.length-6)
href = `${aaa}/${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}`; href = `${aaa}/${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}&stopTime=${this.stopTime}`;
// switch (curriculumId) { // switch (curriculumId) {
// // case 1: // // case 1:
// href = `${host}${this.url}/#/?projectId=${this.projectId}`; // href = `${host}${this.url}/#/?projectId=${this.projectId}`;

@ -310,6 +310,7 @@ export default {
} else if (id == 10) { } else if (id == 10) {
href = `${host}pyAcquisition/#/`; href = `${host}pyAcquisition/#/`;
} else if (id == 11) { } else if (id == 11) {
console.log(host)
// href = `${host}bank/#/`; // href = `${host}bank/#/`;
let token = util.local.get(Setting.tokenKey); let token = util.local.get(Setting.tokenKey);
href = "http://39.108.250.202/banksystem/#/index/list?"+'token='+token+'&cid='+this.courseId+'&systemId='+this.assessmentList[0].systemId; href = "http://39.108.250.202/banksystem/#/index/list?"+'token='+token+'&cid='+this.courseId+'&systemId='+this.assessmentList[0].systemId;

Loading…
Cancel
Save