Commit a6aa0f76 by lizhi

配合后端修改

parent 427b9c28
...@@ -87,18 +87,14 @@ ...@@ -87,18 +87,14 @@
<template slot-scope="scope">{{ scope.row.term }}</template> <template slot-scope="scope">{{ scope.row.term }}</template>
</el-table-column> </el-table-column>
<el-table-column label="cso课程代码" align="center"> <el-table-column label="cso课程代码" align="center">
<template slot-scope="scope">{{ <template slot-scope="scope">{{ scope.row.csoCode }}</template>
scope.row.csoCourseCode
}}</template>
</el-table-column> </el-table-column>
<el-table-column label="cso课程名称" align="center"> <el-table-column label="cso课程名称" align="center">
<template slot-scope="scope">{{ scope.row.csoName }}</template> <template slot-scope="scope">{{ scope.row.csoName }}</template>
</el-table-column> </el-table-column>
<el-table-column label="所在学校课程代码" align="center"> <el-table-column label="所在学校课程代码" align="center">
<template slot-scope="scope">{{ <template slot-scope="scope">{{ scope.row.courseCode }}</template>
scope.row.ownCourseCode
}}</template>
</el-table-column> </el-table-column>
<el-table-column label="所在学校课程名称" align="center"> <el-table-column label="所在学校课程名称" align="center">
<template slot-scope="scope">{{ scope.row.courseName }}</template> <template slot-scope="scope">{{ scope.row.courseName }}</template>
...@@ -1024,6 +1020,7 @@ export default { ...@@ -1024,6 +1020,7 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning"
}).then(() => { }).then(() => {
this.list.umsUserCourses = this.list.userCourseList; //新来的后端比较菜,原来的接口字段不会改,只能搞了个新的名字
addCourse(this.list).then(response => { addCourse(this.list).then(response => {
// console.log(this.list, "addCourse"); // console.log(this.list, "addCourse");
this.$message({ this.$message({
...@@ -1095,6 +1092,7 @@ export default { ...@@ -1095,6 +1092,7 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning"
}).then(() => { }).then(() => {
this.goOnForm.umsUserCourses = this.goOnForm.userCourseList; //新来的后端比较菜,原来的接口字段不会改,只能搞了个新的名字
addCurrentTermCourse(this.goOnForm).then(response => { addCurrentTermCourse(this.goOnForm).then(response => {
this.$message({ this.$message({
type: "success", type: "success",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment