diff --git a/ruoyi-ui/src/api/benyi/themetermplan.js b/ruoyi-ui/src/api/benyi/themetermplan.js index 47f5d0308..f1d8a0eef 100644 --- a/ruoyi-ui/src/api/benyi/themetermplan.js +++ b/ruoyi-ui/src/api/benyi/themetermplan.js @@ -43,6 +43,14 @@ export function delTermplan(id) { }) } +// 提交主题整合学期计划 +export function checkTermplan(id) { + return request({ + url: '/benyi/themetermplan/check/' + id, + method: 'post' + }) +} + // 导出主题整合学期计划 export function exportTermplan(query) { return request({ diff --git a/ruoyi-ui/src/views/benyi/themetermplan/data.vue b/ruoyi-ui/src/views/benyi/themetermplan/data.vue index eb5101593..184a2bff9 100644 --- a/ruoyi-ui/src/views/benyi/themetermplan/data.vue +++ b/ruoyi-ui/src/views/benyi/themetermplan/data.vue @@ -2,51 +2,24 @@
- + + + - - - - - - - - - - + + + 搜索 @@ -62,6 +35,7 @@ size="mini" @click="handleAdd" v-hasPermi="['benyi:themetermplan:add']" + v-show="isShow" >新增 @@ -72,6 +46,7 @@ :disabled="single" @click="handleUpdate" v-hasPermi="['benyi:themetermplan:edit']" + v-show="isShow" >修改 @@ -82,17 +57,9 @@ :disabled="multiple" @click="handleDelete" v-hasPermi="['benyi:themetermplan:remove']" + v-show="isShow" >删除 - - 导出 - - - - + + + + - - - - - @@ -144,27 +107,31 @@ - + + + - - - - - - - + - - + + + {{item.name}} + + + + +