From 99efbf969fc98c783cf84ef776433730ff7d0caa Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 8 Aug 2023 13:32:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=8E=92=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/task_scheduling.ts | 26 +++++ src/api/task_scheduling_plan.ts | 26 +++++ src/views/task_scheduling/edit.vue | 121 +++++++++++++++++++++++ src/views/task_scheduling/index.vue | 145 ++++++++++++++++++++++++++++ 4 files changed, 318 insertions(+) create mode 100644 src/api/task_scheduling.ts create mode 100644 src/api/task_scheduling_plan.ts create mode 100644 src/views/task_scheduling/edit.vue create mode 100644 src/views/task_scheduling/index.vue diff --git a/src/api/task_scheduling.ts b/src/api/task_scheduling.ts new file mode 100644 index 0000000..cfe340d --- /dev/null +++ b/src/api/task_scheduling.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 任务公司排期列表 +export function apiTaskSchedulingLists(params: any) { + return request.get({ url: '/task_scheduling.task_scheduling/lists', params }) +} + +// 添加任务公司排期 +export function apiTaskSchedulingAdd(params: any) { + return request.post({ url: '/task_scheduling.task_scheduling/add', params }) +} + +// 编辑任务公司排期 +export function apiTaskSchedulingEdit(params: any) { + return request.post({ url: '/task_scheduling.task_scheduling/edit', params }) +} + +// 删除任务公司排期 +export function apiTaskSchedulingDelete(params: any) { + return request.post({ url: '/task_scheduling.task_scheduling/delete', params }) +} + +// 任务公司排期详情 +export function apiTaskSchedulingDetail(params: any) { + return request.get({ url: '/task_scheduling.task_scheduling/detail', params }) +} \ No newline at end of file diff --git a/src/api/task_scheduling_plan.ts b/src/api/task_scheduling_plan.ts new file mode 100644 index 0000000..e5d01c6 --- /dev/null +++ b/src/api/task_scheduling_plan.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 任务日历列表 +export function apiTaskSchedulingPlanLists(params: any) { + return request.get({ url: '/task_scheduling_plan.task_scheduling_plan/lists', params }) +} + +// 添加任务日历 +export function apiTaskSchedulingPlanAdd(params: any) { + return request.post({ url: '/task_scheduling_plan.task_scheduling_plan/add', params }) +} + +// 编辑任务日历 +export function apiTaskSchedulingPlanEdit(params: any) { + return request.post({ url: '/task_scheduling_plan.task_scheduling_plan/edit', params }) +} + +// 删除任务日历 +export function apiTaskSchedulingPlanDelete(params: any) { + return request.post({ url: '/task_scheduling_plan.task_scheduling_plan/delete', params }) +} + +// 任务日历详情 +export function apiTaskSchedulingPlanDetail(params: any) { + return request.get({ url: '/task_scheduling_plan.task_scheduling_plan/detail', params }) +} \ No newline at end of file diff --git a/src/views/task_scheduling/edit.vue b/src/views/task_scheduling/edit.vue new file mode 100644 index 0000000..5a88010 --- /dev/null +++ b/src/views/task_scheduling/edit.vue @@ -0,0 +1,121 @@ + + + diff --git a/src/views/task_scheduling/index.vue b/src/views/task_scheduling/index.vue new file mode 100644 index 0000000..4504bd6 --- /dev/null +++ b/src/views/task_scheduling/index.vue @@ -0,0 +1,145 @@ + + + +