From fed8c9e1a5ab8d34268f5302dd876954574654c3 Mon Sep 17 00:00:00 2001 From: kaeery <3491123437@qq.com> Date: Fri, 28 Feb 2025 13:14:47 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=8B=9B=E7=94=9F=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E3=80=91=20=E6=96=B0=E5=A2=9E#=20=E5=AF=B9=E6=8E=A5?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AE=A1=E7=90=86=E5=88=97=E8=A1=A8=E3=80=81?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/customer/index.ts | 14 ++ src/components/ProDrawer/index.vue | 2 +- src/enums/index.ts | 28 ++- src/styles/var.css | 2 +- .../clue/components/clue-detail/base-info.vue | 29 ++- src/views/clue/modules/clue-list.vue | 2 +- .../customer/components/customer-dialog.vue | 53 ++++-- src/views/customer/index.vue | 12 +- src/views/customer/modules/customer-list.vue | 27 +-- src/views/customer/modules/search-form.vue | 4 +- src/views/workbench/index.vue | 180 +----------------- 11 files changed, 121 insertions(+), 232 deletions(-) create mode 100644 src/api/customer/index.ts diff --git a/src/api/customer/index.ts b/src/api/customer/index.ts new file mode 100644 index 0000000..7c64ef9 --- /dev/null +++ b/src/api/customer/index.ts @@ -0,0 +1,14 @@ +import request from '@/utils/request' + +// 成交客户列表 +export function customerLists(params?: any) { + return request.get({ url: '/client/list', params }) +} +// 成交客户详情 +export function customerDetail(params?: any) { + return request.get({ url: '/client/detail', params }) +} +// 编辑成交客户 +export function customerEdit(params?: any) { + return request.post({ url: '/client/edit', params }) +} diff --git a/src/components/ProDrawer/index.vue b/src/components/ProDrawer/index.vue index e614dc3..ab1c789 100644 --- a/src/components/ProDrawer/index.vue +++ b/src/components/ProDrawer/index.vue @@ -1,7 +1,7 @@ diff --git a/src/views/customer/modules/search-form.vue b/src/views/customer/modules/search-form.vue index 57c2dae..911a51e 100644 --- a/src/views/customer/modules/search-form.vue +++ b/src/views/customer/modules/search-form.vue @@ -2,7 +2,7 @@ - + 查询 @@ -17,7 +17,7 @@ defineProps({ modelValue: { type: Object, default: () => ({ - name: '' + studentName: '' }) } }) diff --git a/src/views/workbench/index.vue b/src/views/workbench/index.vue index bfce721..ac3abe5 100644 --- a/src/views/workbench/index.vue +++ b/src/views/workbench/index.vue @@ -1,107 +1,14 @@
- +
@@ -122,68 +25,10 @@