UI_2022-02-10
e 3 years ago
parent 1a146dea24
commit e9a1a3c0b0
  1. 9
      src/pages/ass/list/index.vue
  2. 6
      src/pages/record/details/index.vue
  3. 2
      src/pages/record/list/ass.vue
  4. 4
      src/setting.js

@ -198,6 +198,8 @@ export default {
url:'', url:'',
cid:null, cid:null,
systemId:null, systemId:null,
assessmentId:'',
classId:'',
}; };
}, },
computed: { computed: {
@ -339,6 +341,8 @@ export default {
}, },
entry(row) { // entry(row) { //
this.item = row this.item = row
this.assessmentId =this.item.assessmentId
this.classId = this.item.classId
if (row.status == 0) { if (row.status == 0) {
return util.warningMsg("该实验尚未开始"); return util.warningMsg("该实验尚未开始");
} else if (row.status == 2) { } else if (row.status == 2) {
@ -394,8 +398,9 @@ export default {
let curriculumId = this.curRow.curriculumId; let curriculumId = this.curRow.curriculumId;
let token = util.local.get(Setting.tokenKey); let token = util.local.get(Setting.tokenKey);
let href = ""; let href = "";
href = `${host}${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}`; let aaa = ''
console.log(href) 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}`;
// switch (curriculumId) { // switch (curriculumId) {
// // case 1: // // case 1:
// href = `${host}${this.url}/#/?projectId=${this.projectId}`; // href = `${host}${this.url}/#/?projectId=${this.projectId}`;

@ -27,7 +27,11 @@
<el-table-column prop="id" label="次序" width="120" align="center" type="index"></el-table-column> <el-table-column prop="id" label="次序" width="120" align="center" type="index"></el-table-column>
<el-table-column prop="projectName" label="实验项目名称" align="center"></el-table-column> <el-table-column prop="projectName" label="实验项目名称" align="center"></el-table-column>
<el-table-column prop="score" label="得分" align="center"></el-table-column> <el-table-column prop="score" label="得分" align="center"></el-table-column>
<el-table-column prop="timeSum" label="耗时" align="center"></el-table-column> <el-table-column prop="timeSum" label="耗时" align="center">
<template slot-scope="scope">
{{ scope.row.timeSum }}min
</template>
</el-table-column>
<el-table-column prop="startTime" label="起始时间" align="center"></el-table-column> <el-table-column prop="startTime" label="起始时间" align="center"></el-table-column>
<el-table-column prop="submitTime" label="结束时间" align="center"></el-table-column> <el-table-column prop="submitTime" label="结束时间" align="center"></el-table-column>
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center">

@ -16,7 +16,7 @@
<el-table-column prop="className" label="实验班级" align="center"></el-table-column> <el-table-column prop="className" label="实验班级" align="center"></el-table-column>
<el-table-column prop="timeSum" label="耗时" align="center"> <el-table-column prop="timeSum" label="耗时" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.timeSum }} {{ scope.row.timeSum }}min
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="startTime" label="起始时间" align="center"></el-table-column> <el-table-column prop="startTime" label="起始时间" align="center"></el-table-column>

@ -42,9 +42,9 @@ if (isHh) {
title = "职站"; title = "职站";
} else if (isDev) { } else if (isDev) {
// 本地 // 本地
// host = "http://39.108.250.202:9000/"; // 中台测试服 host = "http://39.108.250.202:9000/"; // 中台测试服
// host = "http://192.168.31.137:9000/"; // 赓 // host = "http://192.168.31.137:9000/"; // 赓
host = "http://192.168.31.151:9000/"; // 榕 // host = "http://192.168.31.151:9000/"; // 榕
// host = "http://192.168.31.125:9000/"; // 坤 // host = "http://192.168.31.125:9000/"; // 坤
systemPath = "http://192.168.31.154/"; systemPath = "http://192.168.31.154/";
defaultSubSystem = "http://39.108.250.202/pyTrials/#/"; defaultSubSystem = "http://39.108.250.202/pyTrials/#/";

Loading…
Cancel
Save