diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js
index df7b14e15..d9f2333d9 100644
--- a/ruoyi-ui/src/router/index.js
+++ b/ruoyi-ui/src/router/index.js
@@ -273,7 +273,7 @@ export const constantRoutes = [
{
path: "data/:id",
component: () => import("@/views/benyi/planweek/data"),
- name: "planweek1",
+ name: "Planweekitem",
meta: {
title: "周计划(明细)",
icon: ""
@@ -353,7 +353,7 @@ export const constantRoutes = [
{
path: "data/:id",
component: () => import("@/views/benyi/themetermplan/data"),
- name: "Themetermplan1",
+ name: "Termplanitem",
meta: {
title: "主题整合学期计划(明细)",
icon: ""
@@ -369,7 +369,7 @@ export const constantRoutes = [
{
path: "data/:id",
component: () => import("@/views/benyi/thememonthplan/data"),
- name: "Thememonthplan1",
+ name: "Monthplanitem",
meta: {
title: "主题整合月计划(明细)",
icon: ""
@@ -385,7 +385,7 @@ export const constantRoutes = [
{
path: "data/:id",
component: () => import("@/views/benyi/themeweekplan/data"),
- name: "Themeweekplan1",
+ name: "Weekplanitem",
meta: {
title: "主题整合周计划(明细)",
icon: ""
@@ -401,7 +401,7 @@ export const constantRoutes = [
{
path: "table/:id",
component: () => import("@/views/benyi/themeweekplan/table"),
- name: "Themeweekplan2",
+ name: "WeekTable",
meta: {
title: "主题整合周计划(表格)",
icon: ""
@@ -417,7 +417,7 @@ export const constantRoutes = [
{
path: "table/:id",
component: () => import("@/views/benyi/planweek/table"),
- name: "planweek2",
+ name: "PlayTable",
meta: {
title: "周计划(表格)",
icon: ""
@@ -433,7 +433,7 @@ export const constantRoutes = [
{
path: "table/:id",
component: () => import("@/views/benyi/thememonthplan/table"),
- name: "Thememonthplan2",
+ name: "MonthTable",
meta: {
title: "主题整合月计划(表格)",
icon: ""
@@ -449,7 +449,7 @@ export const constantRoutes = [
{
path: "table/:id",
component: () => import("@/views/benyi/themetermplan/table"),
- name: "Themetermplan2",
+ name: "TermTable",
meta: {
title: "主题整合学期计划(表格)",
icon: ""
@@ -473,6 +473,22 @@ export const constantRoutes = [
}
]
},
+ {
+ path: "/benyi/thememonthplan",
+ component: Layout,
+ hidden: true,
+ children: [
+ {
+ path: "approval/:id",
+ component: () => import("@/views/benyi/thememonthplanapproval/approval"),
+ name: "ThememonthplanApproval",
+ meta: {
+ title: "主题整合月计划审批",
+ icon: ""
+ }
+ }
+ ]
+ },
{
path: "/benyi_course/learndevelopmentteacherprint",
component: Layout,
diff --git a/ruoyi-ui/src/views/benyi/thememonthplan/data.vue b/ruoyi-ui/src/views/benyi/thememonthplan/data.vue
index 597fb4f16..285ef9dbc 100644
--- a/ruoyi-ui/src/views/benyi/thememonthplan/data.vue
+++ b/ruoyi-ui/src/views/benyi/thememonthplan/data.vue
@@ -248,7 +248,7 @@ import { listMonthplan, getMonthplan } from "@/api/benyi/thememonthplan";
import { listActivityByThemeId } from "@/api/benyi/activity";
export default {
- name: "Weekplan",
+ name: "Monthplanitem",
data() {
return {
isShow: true,
diff --git a/ruoyi-ui/src/views/benyi/thememonthplan/table.vue b/ruoyi-ui/src/views/benyi/thememonthplan/table.vue
index 8f467a8c1..2744338a2 100644
--- a/ruoyi-ui/src/views/benyi/thememonthplan/table.vue
+++ b/ruoyi-ui/src/views/benyi/thememonthplan/table.vue
@@ -49,14 +49,14 @@
{{ item.zc }} |
{{ item.starttime }}至{{ item.endtime }} |
-
+ |
{{ themeactivityFormat(index) }} {{ themeactivityFormat(index) }}
|
{{ item.jzzc }} |
diff --git a/ruoyi-ui/src/views/benyi/thememonthplanapproval/approval.vue b/ruoyi-ui/src/views/benyi/thememonthplanapproval/approval.vue
new file mode 100644
index 000000000..07f5f754c
--- /dev/null
+++ b/ruoyi-ui/src/views/benyi/thememonthplanapproval/approval.vue
@@ -0,0 +1,393 @@
+
+
+
{{ title }}
+
+
+
+
+
+
+
+
+ 班级:
+ {{ classname }}
+ |
+
+ 月份:
+ {{ month }}
+ |
+
+ 月主题:
+ {{ monththeme }}
+ |
+
+ 制表人:
+ {{ tbr }}
+ |
+
+
+
+ {{ h.label }}
+ |
+
+
+
+ {{ monththeme }}
+ |
+ {{ item.zc }} |
+ {{ item.starttime }}至{{ item.endtime }} |
+
+
+ {{ themeactivityFormat(index) }}
+ |
+ {{ item.jzzc }} |
+
+
+ 本月微型课程 |
+ |
+
+
+ 备注 |
+ {{ bz }} |
+
+
+ 教学主管审批 |
+ {{ spyj }} |
+
+
+
+
+
+
+
+
+ 退回
+ 通过
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/benyi/thememonthplanapproval/index.vue b/ruoyi-ui/src/views/benyi/thememonthplanapproval/index.vue
index 5e8ba2374..a8a1cc277 100644
--- a/ruoyi-ui/src/views/benyi/thememonthplanapproval/index.vue
+++ b/ruoyi-ui/src/views/benyi/thememonthplanapproval/index.vue
@@ -107,11 +107,7 @@
:data="monthplanList"
@selection-change="handleSelectionChange"
>
-
+
-
+
- 确 定
取 消
-
+ -->
@@ -278,7 +270,7 @@ import { listClass } from "@/api/system/class";
import { listTheme } from "@/api/benyi/theme";
export default {
- name: "Monthplan",
+ name: "Thememonthplanapproval",
components: {
Editor,
},
@@ -453,32 +445,38 @@ export default {
this.multiple = !selection.length;
},
/** 修改按钮操作 */
+ // handleUpdate(row) {
+ // this.reset();
+ // const id = row.id || this.ids;
+ // getMonthplan(id).then((response) => {
+ // this.form = response.data;
+ // this.open = true;
+ // this.title = "审批主题整合月计划";
+ // this.disable = true;
+ // });
+ // },
handleUpdate(row) {
- this.reset();
- const id = row.id || this.ids;
- getMonthplan(id).then((response) => {
- this.form = response.data;
- this.open = true;
- this.title = "审批主题整合月计划";
- this.disable = true;
- });
- },
- /** 提交按钮 */
- submitForm: function () {
- this.$refs["form"].validate((valid) => {
- if (valid) {
- if (this.form.id != undefined) {
- updateMonthplan(this.form).then((response) => {
- if (response.code === 200) {
- this.msgSuccess("审批成功");
- this.open = false;
- this.getList();
- }
- });
- }
- }
+ const id = row.id;
+ this.$router.push({
+ path: "/benyi/thememonthplan/approval/" + id,
});
},
+ // /** 提交按钮 */
+ // submitForm: function () {
+ // this.$refs["form"].validate((valid) => {
+ // if (valid) {
+ // if (this.form.id != undefined) {
+ // updateMonthplan(this.form).then((response) => {
+ // if (response.code === 200) {
+ // this.msgSuccess("审批成功");
+ // this.open = false;
+ // this.getList();
+ // }
+ // });
+ // }
+ // }
+ // });
+ // },
/** 预览按钮操作 */
handleView(row) {
const id = row.id;
diff --git a/ruoyi-ui/src/views/benyi/themetermplanapproval/index.vue b/ruoyi-ui/src/views/benyi/themetermplanapproval/index.vue
index 0b2f827e5..51fddfa60 100644
--- a/ruoyi-ui/src/views/benyi/themetermplanapproval/index.vue
+++ b/ruoyi-ui/src/views/benyi/themetermplanapproval/index.vue
@@ -238,7 +238,7 @@ import {
import { listClass } from "@/api/system/class";
export default {
- name: "Termplan",
+ name: "Themetermplanapproval",
data() {
return {
// 遮罩层
diff --git a/ruoyi-ui/src/views/benyi/themeweekplan/data.vue b/ruoyi-ui/src/views/benyi/themeweekplan/data.vue
index 282f0f994..310aeb7c2 100644
--- a/ruoyi-ui/src/views/benyi/themeweekplan/data.vue
+++ b/ruoyi-ui/src/views/benyi/themeweekplan/data.vue
@@ -34,12 +34,14 @@
placeholder="星期"
clearable
size="small"
+ :min="1"
+ :max="7"
class="my-date-picker"
@keyup.enter.native="handleQuery"
/>
-
+
diff --git a/ruoyi-ui/src/views/benyi/themeweekplan/index.vue b/ruoyi-ui/src/views/benyi/themeweekplan/index.vue
index 982710dc8..7489c7ad3 100644
--- a/ruoyi-ui/src/views/benyi/themeweekplan/index.vue
+++ b/ruoyi-ui/src/views/benyi/themeweekplan/index.vue
@@ -49,6 +49,7 @@
v-model="queryParams.zc"
placeholder="周次"
clearable
+ :min="1"
size="small"
class="my-date-picker"
@keyup.enter.native="handleQuery"
diff --git a/ruoyi-ui/src/views/benyi/themeweekplan/table.vue b/ruoyi-ui/src/views/benyi/themeweekplan/table.vue
index 149e99878..b282706eb 100644
--- a/ruoyi-ui/src/views/benyi/themeweekplan/table.vue
+++ b/ruoyi-ui/src/views/benyi/themeweekplan/table.vue
@@ -52,8 +52,19 @@
{{ item.theme }}
{{ item.daytime }} / 星期{{ item.zhou }} |
- {{ themeactivityFormat(item.activityid) }} |
- {{ fzxzFormat(item.fzxz) }} |
+
+
+ {{ themeactivityFormat(index) }}
+ |
+
+ {{ fzxzFormat(item.fzxz) }}
+ |
{{ item.jzzc }} |
@@ -88,6 +99,8 @@ export default {
name: "WeekTable",
data() {
return {
+ //url
+ url: "/benyi_course/tremplan/themestudy/",
tableData: [],
title: "",
zc: "",
@@ -202,20 +215,12 @@ export default {
},
// 主题--字典状态字典翻译
themeactivityFormat(activityid) {
- if (activityid != null) {
- var ilength = activityid.split(";").length - 1;
- var names = "";
- for (var i = 1; i < ilength; i++) {
- names =
- names +
- this.selectMoeDictLabel(
- this.themeactivityOptions,
- activityid.split(";")[i]
- ) +
- ";";
- }
- //this.selectDictLabel(this.scopeOptions, row.xnxq);
- return names;
+ if (activityid != null && activityid != "") {
+ var name = this.selectMoeDictLabel(
+ this.themeactivityOptions,
+ activityid
+ );
+ return name;
}
return "";
},
diff --git a/ruoyi-ui/src/views/benyi/themeweekplanapproval/index.vue b/ruoyi-ui/src/views/benyi/themeweekplanapproval/index.vue
index a6973a0c9..0837762a2 100644
--- a/ruoyi-ui/src/views/benyi/themeweekplanapproval/index.vue
+++ b/ruoyi-ui/src/views/benyi/themeweekplanapproval/index.vue
@@ -271,7 +271,7 @@ import {
import { listClass } from "@/api/system/class";
export default {
- name: "Weekplan",
+ name: "Themeweekplanapproval",
data() {
return {
disable: false,