From 20f1d72420e11afd29bf582c03f586c334d3014c Mon Sep 17 00:00:00 2001 From: paidaxing444 <12qwaszx> Date: Tue, 8 Sep 2020 10:35:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E6=9C=9F=E8=AE=A1=E5=88=92=E9=A2=84?= =?UTF-8?q?=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/router/index.js | 15 + .../src/views/benyi/themetermplan/index.vue | 30 +- .../src/views/benyi/themetermplan/table.vue | 277 ++++-------------- .../controller/ByThemeTermplanController.java | 10 +- 4 files changed, 97 insertions(+), 235 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index de4b9aec6..d340a0e06 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -337,6 +337,21 @@ export const constantRoutes = [{ } }] }, + { + path: '/benyi_course/themetermplanprint', + component: Layout, + hidden: true, + children: [{ + path: 'table/:id', + component: () => + import('@/views/benyi/themetermplan/table'), + name: 'Themetermplan2', + meta: { + title: '主题整合学期计划(表格)', + icon: '' + } + }] + }, { path: '/benyi_course/math', component: Layout, diff --git a/ruoyi-ui/src/views/benyi/themetermplan/index.vue b/ruoyi-ui/src/views/benyi/themetermplan/index.vue index 01779407a..79baf1d64 100644 --- a/ruoyi-ui/src/views/benyi/themetermplan/index.vue +++ b/ruoyi-ui/src/views/benyi/themetermplan/index.vue @@ -70,7 +70,7 @@ - + @@ -375,15 +382,11 @@ export default { /** 删除按钮操作 */ handleDelete(row) { const ids = row.id || this.ids; - this.$confirm( - '是否确认删除主题整合学期计划数据项?', - "警告", - { - confirmButtonText: "确定", - cancelButtonText: "取消", - type: "warning", - } - ) + this.$confirm("是否确认删除主题整合学期计划数据项?", "警告", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning", + }) .then(function () { return delTermplan(ids); }) @@ -414,6 +417,13 @@ export default { }) .catch(function () {}); }, + /** 预览按钮操作 */ + handleView(row) { + const id = row.id; + this.$router.push({ + path: "/benyi_course/themetermplanprint/table/"+id, + }); + }, }, }; \ No newline at end of file diff --git a/ruoyi-ui/src/views/benyi/themetermplan/table.vue b/ruoyi-ui/src/views/benyi/themetermplan/table.vue index dd4c8bca6..84da9ddde 100644 --- a/ruoyi-ui/src/views/benyi/themetermplan/table.vue +++ b/ruoyi-ui/src/views/benyi/themetermplan/table.vue @@ -17,7 +17,7 @@ 学期: - {{month}} + {{xnxqFormat(xnxq)}} 制定人: @@ -29,51 +29,16 @@ {{h.label}} - + {{item.month}} - {{item.theme}} - {{item.info}} - - - -

下学期课程计划(2018年3月-2019年3月)

- - - - - - 班级: - {{classname}} - - - 学期: - {{month}} - - - 制定人: - {{tbr}} - - - - - {{h.label}} - - - - - {{item.month}} - - {{item.theme}} - {{item.info}} + {{themeFormat(item.themeconent)}} + {{item.remark}} 教学主管审批 - {{bz}} + {{spyj}}