diff --git a/ant-design-vue-jeecg/src/views/course/AddCourse.vue b/ant-design-vue-jeecg/src/views/course/AddCourse.vue index 9ffbd51..fdce1dd 100644 --- a/ant-design-vue-jeecg/src/views/course/AddCourse.vue +++ b/ant-design-vue-jeecg/src/views/course/AddCourse.vue @@ -21,12 +21,7 @@ - - + @@ -110,7 +105,7 @@ - + @@ -443,15 +438,15 @@ export default { return { fs: false, show: false, - initiaDeipd: '01dfe0b225894beb9f37d3aa4d93183e', + model: { category: 1, cooperativeEducation: 0, - semester: '1', - depid: '01dfe0b225894beb9f37d3aa4d93183e', - majorid: '1479007021540012033', - verifier: '01dfe0b225894beb9f37d3aa4d93183e', - teachingandoffice: 'admin' + year: '1', + depid: '', + majorid: '', + verifier: '', + teachingandoffice: '' }, dataLoaded: false, @@ -666,10 +661,11 @@ export default { getData () { getAction(this.url.dqyh).then((res) => { if (res.success) { - this.model.initiaDeipd = res.result.depid + this.model.depid = res.result.depid this.model.teachingandoffice = res.result.teachingandoffice this.model.majorid = res.result.majorid this.model.verifier = res.result.verifier + } this.dataLoaded = true // 数据加载完成后设置dataLoaded为true }) diff --git a/ant-design-vue-jeecg/src/views/course/EditCourse.vue b/ant-design-vue-jeecg/src/views/course/EditCourse.vue index f401c5a..d367866 100644 --- a/ant-design-vue-jeecg/src/views/course/EditCourse.vue +++ b/ant-design-vue-jeecg/src/views/course/EditCourse.vue @@ -46,7 +46,7 @@ - @@ -117,7 +117,7 @@ - + @@ -407,7 +407,7 @@ 确定 - 增加下一门课 +