实验班级

UI_2022-02-10
yujialong 4 years ago
parent 453f955379
commit c6e5621318
  1. 11
      src/components/page/ShowExperiment.vue

@ -32,10 +32,12 @@
<el-table-column prop="workNumber" label="学生学号" align="center">
</el-table-column>
<el-table-column prop="experimentalClassName" label="学生班级" align="center">
<template v-if="editing">
<el-input v-model="form.experimentalClassName"></el-input>
<template slot-scope="scope">
<template v-if="editing">
<el-input v-model="form.experimentalClassName"></el-input>
</template>
<template v-else>{{form.experimentalClassName}}</template>
</template>
<template v-else>{{form.experimentalClassName}}</template>
</el-table-column>
<el-table-column prop="instructor" label="指导老师" align="center">
<template slot-scope="scope">
@ -189,7 +191,7 @@
})
form.score = score
}
console.log(22,this.form)
this.expData = expData
this.infoData.push({
workNumber: form.workNumber,
@ -345,6 +347,7 @@
.then(res => {
this.editing = false
this.$message.success('修改成功')
console.log(11,this.form)
}).catch(err => {})
}else{
this.editing = true

Loading…
Cancel
Save