成绩课程下拉等修改

dev_2022-05-11
jialong.yu 3 years ago
parent 9b30febee4
commit 9594cbcb87
  1. 1
      src/api/index.js
  2. 2
      src/pages/achievement/list/index.vue
  3. 6
      src/pages/match/list/index.vue

@ -70,6 +70,7 @@ export default {
myClass: `${host}occupationlab/achievement/myClass`, // 教师端:我的班级 myClass: `${host}occupationlab/achievement/myClass`, // 教师端:我的班级
deleteReportById: `${host}occupationlab/achievement/deleteReportById`, // 批量删除成绩管理中的项目/批量删除成绩管理中的考核 deleteReportById: `${host}occupationlab/achievement/deleteReportById`, // 批量删除成绩管理中的项目/批量删除成绩管理中的考核
experimentOverview: `${host}occupationlab/achievement/reportDetail`, // 查看实验报告 experimentOverview: `${host}occupationlab/achievement/reportDetail`, // 查看实验报告
schoolCourseByAchievement: `${host}nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程
// 项目管理 // 项目管理
getSystemIdBySchool: `${host}occupationlab/projectManage/getSystemIdBySchool`, // 获取学校下拥有的系统 getSystemIdBySchool: `${host}occupationlab/projectManage/getSystemIdBySchool`, // 获取学校下拥有的系统

@ -187,7 +187,7 @@ export default {
this.month = '6' this.month = '6'
}, },
getschoolCourse() { // getschoolCourse() { //
this.$get(this.api.schoolCourse).then(res => { this.$get(this.api.schoolCourseByAchievement).then(res => {
if (res.data && res.data.length) { if (res.data && res.data.length) {
this.curriculumList = res.data; this.curriculumList = res.data;
this.getData(); this.getData();

@ -52,7 +52,11 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="gmtCreate" label="创建时间" align="center" width="200"></el-table-column> <el-table-column prop="gmtCreate" label="创建时间" align="center" width="200"></el-table-column>
<el-table-column prop="founder" label="创建人" align="center" width="200"></el-table-column> <el-table-column prop="founder" label="创建人" align="center" width="200">
<template slot-scope="scope">
{{scope.row.founder || '系统默认管理员'}}
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="100"> <el-table-column label="操作" align="center" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="auth('管理')" type="text" @click="manage(scope.row)">管理</el-button> <el-button v-if="auth('管理')" type="text" @click="manage(scope.row)">管理</el-button>

Loading…
Cancel
Save