成绩管理

dev_2022-05-11
yujialong 4 years ago
parent 59e92693fd
commit 583341ba30
  1. 4
      src/components/page/Staff.vue
  2. 8
      src/components/page/achievement.vue

@ -601,11 +601,11 @@ export default {
let res = await this.$get(this.api.queryWorkNumberIsExist, data);
if(JSON.stringify(res.message) != '{}'){
this.$message.warning(msg);
type == 2 ? (this.managerNumberNoAdd = false) : (this.teacherNumberNoAdd = false)
type == 13 ? (this.managerNumberNoAdd = false) : (this.teacherNumberNoAdd = false)
}else{
let timestamp = Date.parse(new Date());
this.teacherForm.uniqueIdentificationAccount = `${this.schoolId}${this.teacherForm.uniqueIdentificationAccount}${timestamp}`
type == 2 ? (this.managerNumberNoAdd = true) : (this.teacherNumberNoAdd = true)
type == 13 ? (this.managerNumberNoAdd = true) : (this.teacherNumberNoAdd = true)
}
},
async saveSure(teacherForm){

@ -80,11 +80,7 @@
{{scope.row.projectPermissions == 2 ? '竞赛' : projectType.find(n => n.id === scope.row.projectPermissions).name}}
</template>
</el-table-column>
<el-table-column prop="number" label="成绩报告数量" align="center">
<!-- <template slot-scope="scope">
{{scope.row.number}}<span style="opacity: 0">,{{numArr[scope.$index]}}</span>
</template> -->
</el-table-column>
<el-table-column prop="number" label="成绩报告数量" align="center"></el-table-column>
<el-table-column prop="creationTime" label="创建时间" align="center">
</el-table-column>
<el-table-column label="操作" align="center">
@ -110,7 +106,7 @@ export default {
return {
userId: this.$store.state.userLoginId,
keyword: '',
systemId: this.$config.systemId,
systemId: this.$store.state.experimentData.systemId ? this.$store.state.experimentData.systemId : this.$config.systemId,
systemList: this.$config.systemList,
projectPermissions: this.$route.query.per ? Number(this.$route.query.per) : 0,
startingtime: '',

Loading…
Cancel
Save