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 @@
-
+
@@ -118,6 +118,13 @@
v-hasPermi="['benyi:themetermplan:edit']"
v-show="isShow(scope.row)"
>提交
+ 预览
@@ -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}} |