Commit a6aa0f76 by lizhi

配合后端修改

parent 427b9c28
......@@ -87,18 +87,14 @@
<template slot-scope="scope">{{ scope.row.term }}</template>
</el-table-column>
<el-table-column label="cso课程代码" align="center">
<template slot-scope="scope">{{
scope.row.csoCourseCode
}}</template>
<template slot-scope="scope">{{ scope.row.csoCode }}</template>
</el-table-column>
<el-table-column label="cso课程名称" align="center">
<template slot-scope="scope">{{ scope.row.csoName }}</template>
</el-table-column>
<el-table-column label="所在学校课程代码" align="center">
<template slot-scope="scope">{{
scope.row.ownCourseCode
}}</template>
<template slot-scope="scope">{{ scope.row.courseCode }}</template>
</el-table-column>
<el-table-column label="所在学校课程名称" align="center">
<template slot-scope="scope">{{ scope.row.courseName }}</template>
......@@ -1024,6 +1020,7 @@ export default {
cancelButtonText: "取消",
type: "warning"
}).then(() => {
this.list.umsUserCourses = this.list.userCourseList; //新来的后端比较菜,原来的接口字段不会改,只能搞了个新的名字
addCourse(this.list).then(response => {
// console.log(this.list, "addCourse");
this.$message({
......@@ -1095,6 +1092,7 @@ export default {
cancelButtonText: "取消",
type: "warning"
}).then(() => {
this.goOnForm.umsUserCourses = this.goOnForm.userCourseList; //新来的后端比较菜,原来的接口字段不会改,只能搞了个新的名字
addCurrentTermCourse(this.goOnForm).then(response => {
this.$message({
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