From a9d15eb968668116f25c5af8b42f8d86c692a733 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 27 Jul 2023 13:34:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BB=BB=E5=8A=A1=E6=97=A5?= =?UTF-8?q?=E7=A8=8B,=E4=BB=BB=E5=8A=A1=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/task.ts | 14 ++ src/views/task/dialog_index_man.vue | 83 ++++++++++ src/views/task/edit.vue | 243 ++++++++++++++++++++++++++++ src/views/task/index.vue | 161 ++++++++++++++++++ src/views/task/taskList.vue | 159 ++++++++++++++++++ 5 files changed, 660 insertions(+) create mode 100644 src/api/task.ts create mode 100644 src/views/task/dialog_index_man.vue create mode 100644 src/views/task/edit.vue create mode 100644 src/views/task/index.vue create mode 100644 src/views/task/taskList.vue diff --git a/src/api/task.ts b/src/api/task.ts new file mode 100644 index 0000000..b9b2fda --- /dev/null +++ b/src/api/task.ts @@ -0,0 +1,14 @@ +import request from "@/utils/request"; +//任务详情 +export function apiTaskView(params: any) { + return request.get({ url: "/task/view", params }); +} +//任务列表 +export function apiTaskIndex(params: any) { + return request.get({ url: "/task/index", params }); +} +//添加和修改 +export function apiTaskCreat(params: any) { + return request.post({ url: "/task/create", params }); +} + diff --git a/src/views/task/dialog_index_man.vue b/src/views/task/dialog_index_man.vue new file mode 100644 index 0000000..54a25f0 --- /dev/null +++ b/src/views/task/dialog_index_man.vue @@ -0,0 +1,83 @@ + + + diff --git a/src/views/task/edit.vue b/src/views/task/edit.vue new file mode 100644 index 0000000..df00433 --- /dev/null +++ b/src/views/task/edit.vue @@ -0,0 +1,243 @@ + + + diff --git a/src/views/task/index.vue b/src/views/task/index.vue new file mode 100644 index 0000000..35a688c --- /dev/null +++ b/src/views/task/index.vue @@ -0,0 +1,161 @@ + + + + + \ No newline at end of file diff --git a/src/views/task/taskList.vue b/src/views/task/taskList.vue new file mode 100644 index 0000000..77866d1 --- /dev/null +++ b/src/views/task/taskList.vue @@ -0,0 +1,159 @@ + + + + + + \ No newline at end of file