From b0152435445e7b9b4a2bcdd0e8bc9855cf26485a Mon Sep 17 00:00:00 2001 From: jiangyouyi <763484914@qq.com> Date: Wed, 9 Aug 2023 12:03:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/task.ts | 6 +- src/views/contract/index.vue | 349 +++++++++++++++++------------- src/views/task/edit.vue | 18 +- src/views/task/taskCalendar.vue | 29 +-- src/views/task_template/edit.vue | 4 +- src/views/task_template/index.vue | 19 +- 6 files changed, 243 insertions(+), 182 deletions(-) diff --git a/src/api/task.ts b/src/api/task.ts index 9e90a1f..d60e7f3 100644 --- a/src/api/task.ts +++ b/src/api/task.ts @@ -18,4 +18,8 @@ export function apiTaskAdd(params: any) { //任务日程-列表 export function apiTaskList(params: any) { return request.get({ url: "/task_scheduling_plan.task_scheduling_plan/lists", params }); -} \ No newline at end of file +} +//任务日程-详情 +export function apiTaskDetails(params: any) { + return request.get({ url: "/task_scheduling_plan.task_scheduling_plan/detail", params }); +} diff --git a/src/views/contract/index.vue b/src/views/contract/index.vue index 8f41f46..992787a 100644 --- a/src/views/contract/index.vue +++ b/src/views/contract/index.vue @@ -1,194 +1,241 @@ diff --git a/src/views/task/edit.vue b/src/views/task/edit.vue index 96e3e1f..844b1eb 100644 --- a/src/views/task/edit.vue +++ b/src/views/task/edit.vue @@ -2,7 +2,7 @@
- - - - - + @@ -174,9 +166,9 @@ const popupRef = shallowRef>(); const mode = ref("add"); // 弹窗标题 -const popupTitle = computed(() => { - return mode.value == "edit" ? "编辑任务" : "新增任务"; -}); +// const popupTitle = computed(() => { +// return mode.value == "edit" ? "创建日程安排" : "新增任务"; +// }); onMounted(() => { props.dateValue?.toDateString() diff --git a/src/views/task/taskCalendar.vue b/src/views/task/taskCalendar.vue index 74e91e4..4e228df 100644 --- a/src/views/task/taskCalendar.vue +++ b/src/views/task/taskCalendar.vue @@ -1,12 +1,12 @@