diff --git a/ruoyi-ui/src/api/benyi/activity.js b/ruoyi-ui/src/api/benyi/activity.js index d5b6ecea8..470aefebc 100644 --- a/ruoyi-ui/src/api/benyi/activity.js +++ b/ruoyi-ui/src/api/benyi/activity.js @@ -50,4 +50,12 @@ export function exportActivity(query) { method: 'get', params: query }) +} + +// 删除主题整合活动 +export function listActivityByThemeId(id) { + return request({ + url: '/benyi/activity/listbythemeid/' + id, + method: 'post' + }) } \ No newline at end of file diff --git a/ruoyi-ui/src/api/benyi/themeweekplan.js b/ruoyi-ui/src/api/benyi/themeweekplan.js new file mode 100644 index 000000000..3838723a4 --- /dev/null +++ b/ruoyi-ui/src/api/benyi/themeweekplan.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询主题整合周计划列表 +export function listWeekplan(query) { + return request({ + url: '/benyi/themeweekplan/list', + method: 'get', + params: query + }) +} + +// 查询主题整合周计划详细 +export function getWeekplan(id) { + return request({ + url: '/benyi/themeweekplan/' + id, + method: 'get' + }) +} + +// 新增主题整合周计划 +export function addWeekplan(data) { + return request({ + url: '/benyi/themeweekplan', + method: 'post', + data: data + }) +} + +// 修改主题整合周计划 +export function updateWeekplan(data) { + return request({ + url: '/benyi/themeweekplan', + method: 'put', + data: data + }) +} + +// 删除主题整合周计划 +export function delWeekplan(id) { + return request({ + url: '/benyi/themeweekplan/' + id, + method: 'delete' + }) +} + +// 导出主题整合周计划 +export function exportWeekplan(query) { + return request({ + url: '/benyi/themeweekplan/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 421e93ae1..e3b6a72a5 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -227,7 +227,22 @@ export const constantRoutes = [{ import('@/views/benyi/themetermplan/data'), name: 'Themetermplan1', meta: { - title: '主题整合学期计划', + title: '主题整合学期计划(明细)', + icon: '' + } + }] + }, + { + path: '/benyi_course/thememonthplan', + component: Layout, + hidden: true, + children: [{ + path: 'data/:id', + component: () => + import('@/views/benyi/thememonthplan/data'), + name: 'Thememonthplan1', + meta: { + title: '主题整合月计划(明细)', icon: '' } }] diff --git a/ruoyi-ui/src/views/benyi/thememonthplan/data.vue b/ruoyi-ui/src/views/benyi/thememonthplan/data.vue new file mode 100644 index 000000000..e56c78f32 --- /dev/null +++ b/ruoyi-ui/src/views/benyi/thememonthplan/data.vue @@ -0,0 +1,424 @@ + + + \ No newline at end of file diff --git a/ruoyi-ui/src/views/benyi/thememonthplan/index.vue b/ruoyi-ui/src/views/benyi/thememonthplan/index.vue index e0dfad752..df76de8af 100644 --- a/ruoyi-ui/src/views/benyi/thememonthplan/index.vue +++ b/ruoyi-ui/src/views/benyi/thememonthplan/index.vue @@ -91,7 +91,13 @@ - + + + @@ -105,8 +111,8 @@
- - +