From 8faf7c090a406787f15223815f25ede2444cee4c Mon Sep 17 00:00:00 2001 From: paidaxing444 <12qwaszx> Date: Tue, 25 Aug 2020 09:28:53 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E4=B8=BB=E9=A2=98=E6=95=B4=E5=90=88?= =?UTF-8?q?=E5=AD=A6=E6=9C=9F=E8=AE=A1=E5=88=92=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/benyi/themetermplan.js | 8 + .../src/views/benyi/themetermplan/data.vue | 252 +++++++++++------- .../src/views/benyi/themetermplan/index.vue | 62 ++++- .../controller/ByThemeTermplanController.java | 13 + .../benyi/ByThemeTermplanitemMapper.xml | 31 +-- 5 files changed, 248 insertions(+), 118 deletions(-) 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}} + + + + +