From cd2ca934182ef8fc48756e9eff19d64f643d3ecd Mon Sep 17 00:00:00 2001 From: shengchanzhe <179998674@qq.com> Date: Sun, 12 Nov 2023 16:51:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/common.ts | 13 + src/api/custom.ts | 26 + src/api/custom_contacts.ts | 26 + src/api/custom_follow.ts | 26 + src/api/custom_service.ts | 26 + src/api/project.ts | 26 + src/components/custom-dialog/index.vue | 62 + src/components/material/index.vue | 221 +- src/views/Client/myClient/index.vue | 368 - src/views/custom/edit.vue | 330 + src/views/custom/index.vue | 139 + src/views/custom_contacts/edit.vue | 161 + src/views/custom_contacts/index.vue | 128 + src/views/custom_follow/edit.vue | 146 + src/views/custom_follow/index.vue | 154 + src/views/custom_service/edit.vue | 195 + src/views/custom_service/index.vue | 160 + src/views/finance/balance_details.vue | 106 - src/views/finance/component/refund-log.vue | 68 - src/views/finance/recharge_record.vue | 141 - src/views/finance/refund_record.vue | 228 - src/views/material/index.vue | 24 +- src/views/project/edit.vue | 329 + src/views/project/index.vue | 201 + src/views/template/component/file.vue | 63 - src/views/template/component/icon.vue | 64 - src/views/template/component/link.vue | 12 - src/views/template/component/overflow.vue | 9 - .../template/component/popover_input.vue | 48 - src/views/template/component/rich_text.vue | 16 - src/views/template/component/upload.vue | 65 - yarn.lock | 6247 ++++++++--------- 32 files changed, 5333 insertions(+), 4495 deletions(-) create mode 100644 src/api/common.ts create mode 100644 src/api/custom.ts create mode 100644 src/api/custom_contacts.ts create mode 100644 src/api/custom_follow.ts create mode 100644 src/api/custom_service.ts create mode 100644 src/api/project.ts create mode 100644 src/components/custom-dialog/index.vue delete mode 100644 src/views/Client/myClient/index.vue create mode 100644 src/views/custom/edit.vue create mode 100644 src/views/custom/index.vue create mode 100644 src/views/custom_contacts/edit.vue create mode 100644 src/views/custom_contacts/index.vue create mode 100644 src/views/custom_follow/edit.vue create mode 100644 src/views/custom_follow/index.vue create mode 100644 src/views/custom_service/edit.vue create mode 100644 src/views/custom_service/index.vue delete mode 100644 src/views/finance/balance_details.vue delete mode 100644 src/views/finance/component/refund-log.vue delete mode 100644 src/views/finance/recharge_record.vue delete mode 100644 src/views/finance/refund_record.vue create mode 100644 src/views/project/edit.vue create mode 100644 src/views/project/index.vue delete mode 100644 src/views/template/component/file.vue delete mode 100644 src/views/template/component/icon.vue delete mode 100644 src/views/template/component/link.vue delete mode 100644 src/views/template/component/overflow.vue delete mode 100644 src/views/template/component/popover_input.vue delete mode 100644 src/views/template/component/rich_text.vue delete mode 100644 src/views/template/component/upload.vue diff --git a/src/api/common.ts b/src/api/common.ts new file mode 100644 index 0000000..78f46fe --- /dev/null +++ b/src/api/common.ts @@ -0,0 +1,13 @@ +import request from "@/utils/request"; +// 省列表 +export function apiProvinceList(params: any) { + return request.get({ url: "/common/province", params }); +} +// 市列表 +export function apiCityList(params: any) { + return request.get({ url: "/common/city", params }); +} +// 区列表 +export function apiAreaList(params: any) { + return request.get({ url: "/common/area", params }); +} diff --git a/src/api/custom.ts b/src/api/custom.ts new file mode 100644 index 0000000..cfbb8c1 --- /dev/null +++ b/src/api/custom.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 客户表列表 +export function apiCustomLists(params: any) { + return request.get({ url: '/custom.custom/lists', params }) +} + +// 添加客户表 +export function apiCustomAdd(params: any) { + return request.post({ url: '/custom.custom/add', params }) +} + +// 编辑客户表 +export function apiCustomEdit(params: any) { + return request.post({ url: '/custom.custom/edit', params }) +} + +// 删除客户表 +export function apiCustomDelete(params: any) { + return request.post({ url: '/custom.custom/delete', params }) +} + +// 客户表详情 +export function apiCustomDetail(params: any) { + return request.get({ url: '/custom.custom/detail', params }) +} \ No newline at end of file diff --git a/src/api/custom_contacts.ts b/src/api/custom_contacts.ts new file mode 100644 index 0000000..bc9a74e --- /dev/null +++ b/src/api/custom_contacts.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 客户联系人列表 +export function apiCustomContactsLists(params: any) { + return request.get({ url: '/custom.custom_contacts/lists', params }) +} + +// 添加客户联系人 +export function apiCustomContactsAdd(params: any) { + return request.post({ url: '/custom.custom_contacts/add', params }) +} + +// 编辑客户联系人 +export function apiCustomContactsEdit(params: any) { + return request.post({ url: '/custom.custom_contacts/edit', params }) +} + +// 删除客户联系人 +export function apiCustomContactsDelete(params: any) { + return request.post({ url: '/custom.custom_contacts/delete', params }) +} + +// 客户联系人详情 +export function apiCustomContactsDetail(params: any) { + return request.get({ url: '/custom.custom_contacts/detail', params }) +} \ No newline at end of file diff --git a/src/api/custom_follow.ts b/src/api/custom_follow.ts new file mode 100644 index 0000000..d442b19 --- /dev/null +++ b/src/api/custom_follow.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 客户跟进记录列表 +export function apiCustomFollowLists(params: any) { + return request.get({ url: '/custom_follow.custom_follow/lists', params }) +} + +// 添加客户跟进记录 +export function apiCustomFollowAdd(params: any) { + return request.post({ url: '/custom_follow.custom_follow/add', params }) +} + +// 编辑客户跟进记录 +export function apiCustomFollowEdit(params: any) { + return request.post({ url: '/custom_follow.custom_follow/edit', params }) +} + +// 删除客户跟进记录 +export function apiCustomFollowDelete(params: any) { + return request.post({ url: '/custom_follow.custom_follow/delete', params }) +} + +// 客户跟进记录详情 +export function apiCustomFollowDetail(params: any) { + return request.get({ url: '/custom_follow.custom_follow/detail', params }) +} \ No newline at end of file diff --git a/src/api/custom_service.ts b/src/api/custom_service.ts new file mode 100644 index 0000000..1d967e9 --- /dev/null +++ b/src/api/custom_service.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 客户售后列表 +export function apiCustomServiceLists(params: any) { + return request.get({ url: '/custom_service.custom_service/lists', params }) +} + +// 添加客户售后 +export function apiCustomServiceAdd(params: any) { + return request.post({ url: '/custom_service.custom_service/add', params }) +} + +// 编辑客户售后 +export function apiCustomServiceEdit(params: any) { + return request.post({ url: '/custom_service.custom_service/edit', params }) +} + +// 删除客户售后 +export function apiCustomServiceDelete(params: any) { + return request.post({ url: '/custom_service.custom_service/delete', params }) +} + +// 客户售后详情 +export function apiCustomServiceDetail(params: any) { + return request.get({ url: '/custom_service.custom_service/detail', params }) +} \ No newline at end of file diff --git a/src/api/project.ts b/src/api/project.ts new file mode 100644 index 0000000..5b46883 --- /dev/null +++ b/src/api/project.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 项目表列表 +export function apiProjectLists(params: any) { + return request.get({ url: '/project.project/lists', params }) +} + +// 添加项目表 +export function apiProjectAdd(params: any) { + return request.post({ url: '/project.project/add', params }) +} + +// 编辑项目表 +export function apiProjectEdit(params: any) { + return request.post({ url: '/project.project/edit', params }) +} + +// 删除项目表 +export function apiProjectDelete(params: any) { + return request.post({ url: '/project.project/delete', params }) +} + +// 项目表详情 +export function apiProjectDetail(params: any) { + return request.get({ url: '/project.project/detail', params }) +} \ No newline at end of file diff --git a/src/components/custom-dialog/index.vue b/src/components/custom-dialog/index.vue new file mode 100644 index 0000000..8f26545 --- /dev/null +++ b/src/components/custom-dialog/index.vue @@ -0,0 +1,62 @@ + + + \ No newline at end of file diff --git a/src/components/material/index.vue b/src/components/material/index.vue index 72660bb..a7bf579 100644 --- a/src/components/material/index.vue +++ b/src/components/material/index.vue @@ -4,22 +4,11 @@
- +