实验班级

UI_2022-02-10
yujialong 4 years ago
parent 5a26c162f1
commit 453f955379
  1. 6
      src/components/common/Studentcommon/TeachingList.vue
  2. 7
      src/components/page/ShowExperiment.vue
  3. 1
      src/utils/api.js

@ -11,7 +11,11 @@
<el-table-column prop="experimentalClassName" 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="timeSum" label="耗时" align="center"></el-table-column>
<el-table-column prop="timeSum" label="耗时" align="center">
<template slot-scope="scope">
{{scope.row.timeSum}}
</template>
</el-table-column>
<el-table-column prop="startTime" label="起始时间" align="center"></el-table-column>
<el-table-column prop="endTime" label="结束时间" align="center"></el-table-column>
<el-table-column label="操作" align="center">

@ -31,7 +31,11 @@
</el-table-column>
<el-table-column prop="workNumber" label="学生学号" align="center">
</el-table-column>
<el-table-column v-if="!type" prop="experimentalClassName" label="学生班级" align="center">
<el-table-column prop="experimentalClassName" label="学生班级" align="center">
<template v-if="editing">
<el-input v-model="form.experimentalClassName"></el-input>
</template>
<template v-else>{{form.experimentalClassName}}</template>
</el-table-column>
<el-table-column prop="instructor" label="指导老师" align="center">
<template slot-scope="scope">
@ -335,6 +339,7 @@
summarize: this.form.summarize,
instructor: this.form.instructor,
reportId: Number(this.reportId),
experimentalClassName: this.form.experimentalClassName
}
this.$post(`${this.api.modifyReport}`,data)
.then(res => {

@ -19,6 +19,7 @@ export default {
loginSchool: `${loginhost}/userInfo/loginSchoolClient`, //登陆查询学校
loginRole: `${loginhost}/userInfo/loginRole`, //登陆查询角色
save: `${host}/tms/userInfo/add`, //注册
queryToken: `${loginhost}/userInfo/queryToken`,
queryWorkNumberIsExist:`${loginhost}/userInfo/queryWorkNumberIsExist`,//查询学号、工号是否存在
queryAccountIsExist:`${loginhost}/userInfo/queryAccountIsExist`,//查询员工,学生账号是否存在接口

Loading…
Cancel
Save