From 5c486b4ee509d6cf27b0ff9d20533822a1dfd461 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Mon, 14 Aug 2023 12:05:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=BB=E5=8A=A1=E6=97=A5?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/task.ts | 12 ++ src/components/popup/index.vue | 239 +++++++++++----------- src/views/task/editTow.vue | 245 ++++++++++++++++------- src/views/task/taskCalendar.vue | 338 ++++++++++++++++---------------- 4 files changed, 483 insertions(+), 351 deletions(-) diff --git a/src/api/task.ts b/src/api/task.ts index 3fe300e..25bb3d1 100644 --- a/src/api/task.ts +++ b/src/api/task.ts @@ -4,6 +4,18 @@ import request from '@/utils/request' export function apiTaskAdd(params: any) { return request.post({ url: '/task_scheduling_plan.task_scheduling_plan/add', params }) } + +//修改任务 +export function apiTaskEdit(params: any) { + return request.post({ url: '/task_scheduling_plan.task_scheduling_plan/edit', params }) +} + +//删除任务 +export function apiTaskDelete(params: any) { + return request.post({ url: '/task_scheduling_plan.task_scheduling_plan/delete', params }) +} + + //任务日程-列表 export function apiTaskList(params: any) { return request.get({ url: '/task_scheduling_plan.task_scheduling_plan/lists', params }) diff --git a/src/components/popup/index.vue b/src/components/popup/index.vue index b68cb3c..d37cecb 100644 --- a/src/components/popup/index.vue +++ b/src/components/popup/index.vue @@ -1,132 +1,137 @@ diff --git a/src/views/task/editTow.vue b/src/views/task/editTow.vue index 8bdefc8..d5f74f6 100644 --- a/src/views/task/editTow.vue +++ b/src/views/task/editTow.vue @@ -1,92 +1,199 @@ diff --git a/src/views/task/taskCalendar.vue b/src/views/task/taskCalendar.vue index 5f69edb..5e67251 100644 --- a/src/views/task/taskCalendar.vue +++ b/src/views/task/taskCalendar.vue @@ -1,205 +1,213 @@