diff --git a/src/api/index.js b/src/api/index.js
index 756b631..55b10aa 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -9,6 +9,7 @@ export default {
logins: `${host}users/users/user/login`, //登录
verification: `${host}users/users/user/captcha`,// 验证码图片
isClient: `${host}users/users/user/isClient`,// 是否为客户
+ getUserAllRoleByToken : `${host}users/role/getUserAllRoleByToken`,
// 权限管理
getUserRolesPermissionMenu: `${host}users/user-role/getUserRolesPermissionMenu`,
@@ -69,6 +70,7 @@ export default {
myClass: `${host}occupationlab/achievement/myClass`, // 教师端:我的班级
deleteReportById: `${host}occupationlab/achievement/deleteReportById`, // 批量删除成绩管理中的项目/批量删除成绩管理中的考核
experimentOverview: `${host}occupationlab/achievement/reportDetail`, // 查看实验报告
+ schoolCourseByAchievement: `${host}nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程
// 项目管理
getSystemIdBySchool: `${host}occupationlab/projectManage/getSystemIdBySchool`, // 获取学校下拥有的系统
diff --git a/src/pages/achievement/list/index.vue b/src/pages/achievement/list/index.vue
index 6934b73..1a39b02 100644
--- a/src/pages/achievement/list/index.vue
+++ b/src/pages/achievement/list/index.vue
@@ -187,7 +187,7 @@ export default {
this.month = '6'
},
getschoolCourse() { // 获取课程下拉框数据
- this.$get(this.api.schoolCourse).then(res => {
+ this.$get(this.api.schoolCourseByAchievement).then(res => {
if (res.data && res.data.length) {
this.curriculumList = res.data;
this.getData();
diff --git a/src/pages/assessment/add/index.vue b/src/pages/assessment/add/index.vue
index 1d7ebde..970ec55 100644
--- a/src/pages/assessment/add/index.vue
+++ b/src/pages/assessment/add/index.vue
@@ -404,17 +404,10 @@ export default {
projectName:this.keyword
}
this.$post(this.api.projectListByCourseId,data).then(res => {
- console.log(res)
let { status, data } = res;
if (status === 200 && data.records) {
- let list = data.records;
- let result = [];
- list.map(n => {
- n.enable || result.push(n);
- });
- this.projectDataAll = result;
- this.total = result.length;
- this.handlePage();
+ this.projectData = data.records
+ this.total = data.total
}
}).catch(err => {
});
@@ -546,7 +539,7 @@ export default {
},
handleCurrentChange(val) {
this.page = val;
- this.handlePage();
+ this.getProjectData();
},
goBack() {
if (this.isDetail) {
diff --git a/src/pages/match/list/index.vue b/src/pages/match/list/index.vue
index b9d89aa..46a0f59 100644
--- a/src/pages/match/list/index.vue
+++ b/src/pages/match/list/index.vue
@@ -52,7 +52,11 @@
-
+
+
+ {{scope.row.founder || '系统默认管理员'}}
+
+
管理
diff --git a/src/pages/project/list/index.vue b/src/pages/project/list/index.vue
index 6d7ede8..1ced0de 100644
--- a/src/pages/project/list/index.vue
+++ b/src/pages/project/list/index.vue
@@ -84,11 +84,11 @@
{{ stateKeys[scope.row.state] }}
-
+
查看
- 编辑
- 删除
+ 编辑
+ 删除
复制