From e3c85cbaae6cd0187ec806c59f3d8fc568aa0cf2 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Tue, 18 Jun 2024 15:16:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/clue/index.js | 5 + src/api/clue/payment.js | 16 + .../Descriptions/src/Descriptions.vue | 5 +- src/views/Clue/Order/Comp/AfterSales.vue | 150 ++++++++ src/views/Clue/Order/Comp/Delivery.vue | 0 src/views/Clue/Order/Comp/DialogOrder.vue | 107 ++++++ src/views/Clue/Order/Comp/OrderList.vue | 335 ++++++++++++++++++ src/views/Clue/Order/Comp/Reback.vue | 148 ++++++++ src/views/Clue/Order/index.vue | 158 ++------- src/views/Clue/Pool/Comp/DialogSuccess.vue | 3 +- src/views/Clue/Pool/Comp/DrawerClue.vue | 30 +- src/views/Clue/Pool/index.vue | 4 +- src/views/Clue/Skill/index.vue | 4 +- 13 files changed, 801 insertions(+), 164 deletions(-) create mode 100644 src/api/clue/payment.js create mode 100644 src/views/Clue/Order/Comp/AfterSales.vue create mode 100644 src/views/Clue/Order/Comp/Delivery.vue create mode 100644 src/views/Clue/Order/Comp/DialogOrder.vue create mode 100644 src/views/Clue/Order/Comp/OrderList.vue create mode 100644 src/views/Clue/Order/Comp/Reback.vue diff --git a/src/api/clue/index.js b/src/api/clue/index.js index 3e2def3..85e4464 100644 --- a/src/api/clue/index.js +++ b/src/api/clue/index.js @@ -49,3 +49,8 @@ export const getOpearateRecord = async (params) => { export const getPublicClue = async (data) => { return await request.put({ url: '/admin-api/crm/sch-clue/public/save', data }) } + +// 获得线索跟进用户信息 +export const getFollowUserList = async (params) => { + return await request.get({ url: '/admin-api/crm/sch-clue/get-follow-user', params }) +} diff --git a/src/api/clue/payment.js b/src/api/clue/payment.js new file mode 100644 index 0000000..afbb76a --- /dev/null +++ b/src/api/clue/payment.js @@ -0,0 +1,16 @@ +import request from '@/config/axios' + +// 查询(精简)列表 +export const getPaymentList = async (params) => { + return await request.get({ url: '/admin-api/crm/sign-pay-record/list', params }) +} + +// 新增 +export const createPayment = async (data) => { + return await request.post({ url: '/admin-api/crm/sign-pay-record/create', data }) +} + +// 审核 +export const auditPayment = async (data) => { + return await request.post({ url: '/admin-api/crm/sign-pay-record/check', data }) +} diff --git a/src/components/Descriptions/src/Descriptions.vue b/src/components/Descriptions/src/Descriptions.vue index 5577839..d11d4ee 100644 --- a/src/components/Descriptions/src/Descriptions.vue +++ b/src/components/Descriptions/src/Descriptions.vue @@ -27,7 +27,8 @@ const props = defineProps({ data: { type: Object as PropType, default: () => ({}) - } + }, + defaultShow: propTypes.bool.def(true) }) const { getPrefixCls } = useDesign() @@ -57,7 +58,7 @@ const getBindItemValue = (item: DescriptionsSchema) => { } // 折叠 -const show = ref(true) +const show = ref(props.defaultShow) const toggleClick = () => { if (props.collapse) { diff --git a/src/views/Clue/Order/Comp/AfterSales.vue b/src/views/Clue/Order/Comp/AfterSales.vue new file mode 100644 index 0000000..11c2d3e --- /dev/null +++ b/src/views/Clue/Order/Comp/AfterSales.vue @@ -0,0 +1,150 @@ + + + + + diff --git a/src/views/Clue/Order/Comp/Delivery.vue b/src/views/Clue/Order/Comp/Delivery.vue new file mode 100644 index 0000000..e69de29 diff --git a/src/views/Clue/Order/Comp/DialogOrder.vue b/src/views/Clue/Order/Comp/DialogOrder.vue new file mode 100644 index 0000000..506672f --- /dev/null +++ b/src/views/Clue/Order/Comp/DialogOrder.vue @@ -0,0 +1,107 @@ + + + + + diff --git a/src/views/Clue/Order/Comp/OrderList.vue b/src/views/Clue/Order/Comp/OrderList.vue new file mode 100644 index 0000000..37c2639 --- /dev/null +++ b/src/views/Clue/Order/Comp/OrderList.vue @@ -0,0 +1,335 @@ + + + + + diff --git a/src/views/Clue/Order/Comp/Reback.vue b/src/views/Clue/Order/Comp/Reback.vue new file mode 100644 index 0000000..401c37d --- /dev/null +++ b/src/views/Clue/Order/Comp/Reback.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/src/views/Clue/Order/index.vue b/src/views/Clue/Order/index.vue index 9742db3..16bfd20 100644 --- a/src/views/Clue/Order/index.vue +++ b/src/views/Clue/Order/index.vue @@ -1,146 +1,28 @@ diff --git a/src/views/Clue/Pool/Comp/DialogSuccess.vue b/src/views/Clue/Pool/Comp/DialogSuccess.vue index 000b5ab..2a9fb6e 100644 --- a/src/views/Clue/Pool/Comp/DialogSuccess.vue +++ b/src/views/Clue/Pool/Comp/DialogSuccess.vue @@ -1,11 +1,12 @@ diff --git a/src/views/Clue/Skill/index.vue b/src/views/Clue/Skill/index.vue index 731266c..ccf377d 100644 --- a/src/views/Clue/Skill/index.vue +++ b/src/views/Clue/Skill/index.vue @@ -11,9 +11,7 @@ /> - - 搜索 - + 搜索 重置 新增