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 @@
- +