From e57b0d1fdeabb5e6e83056418a26ac7e70474a11 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Thu, 22 Feb 2024 10:50:49 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E4=BB=BB=E5=8A=A1=E5=88=86=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/task_allocation.ts | 26 ++++++ src/views/task_allocation/edit.vue | 131 +++++++++++++++++++++++++++ src/views/task_allocation/index.vue | 133 ++++++++++++++++++++++++++++ 3 files changed, 290 insertions(+) create mode 100644 src/api/task_allocation.ts create mode 100644 src/views/task_allocation/edit.vue create mode 100644 src/views/task_allocation/index.vue diff --git a/src/api/task_allocation.ts b/src/api/task_allocation.ts new file mode 100644 index 0000000..16fe6cb --- /dev/null +++ b/src/api/task_allocation.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 任务分配列表 +export function apiTaskAllocationLists(params: any) { + return request.get({ url: '/task.task_allocation/lists', params }) +} + +// 添加任务分配 +export function apiTaskAllocationAdd(params: any) { + return request.post({ url: '/task.task_allocation/add', params }) +} + +// 编辑任务分配 +export function apiTaskAllocationEdit(params: any) { + return request.post({ url: '/task.task_allocation/edit', params }) +} + +// 删除任务分配 +export function apiTaskAllocationDelete(params: any) { + return request.post({ url: '/task.task_allocation/delete', params }) +} + +// 任务分配详情 +export function apiTaskAllocationDetail(params: any) { + return request.get({ url: '/task.task_allocation/detail', params }) +} \ No newline at end of file diff --git a/src/views/task_allocation/edit.vue b/src/views/task_allocation/edit.vue new file mode 100644 index 0000000..b7e5306 --- /dev/null +++ b/src/views/task_allocation/edit.vue @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/task_allocation/index.vue b/src/views/task_allocation/index.vue new file mode 100644 index 0000000..2e27ad3 --- /dev/null +++ b/src/views/task_allocation/index.vue @@ -0,0 +1,133 @@ + + + + + + + + + + 查询 + 重置 + + + + + + + + + 新增 + + + 删除 + + + + + + + + + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + + + +