From b64e9830ea4213f5e8878093edfbb5ec3fe7f98c Mon Sep 17 00:00:00 2001 From: sonjinyon <2476687577@qq.com> Date: Thu, 14 Nov 2024 14:14:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=99=BA=E8=83=BD=E8=A1=A8?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-admin-vue3/src/api/crm/intelligent.ts | 29 ++- .../api/mall/promotion/intelligent/index.ts | 4 +- .../api/mall/promotion/supportstaff/index.ts | 9 +- .../src/layout/components/useRenderLayout.tsx | 2 +- .../mall/promotion/configuration/index.vue | 2 +- .../mall/promotion/intelligent/index.vue | 202 ++++++++++++++---- .../kefu/components/KeFuConversationList.vue | 14 +- .../kefu/components/KeFuMessageList.vue | 16 +- .../components/tools/EmojiSelectPopover.vue | 2 +- .../src/views/mall/promotion/kefu/index.vue | 35 ++- .../mall/promotion/supportstaff/index.vue | 3 +- .../promotion/enums/ErrorCodeConstants.java | 2 + .../admin/dynamic/DynamicDataController.java | 15 ++ .../supportstaff/SupportStaffController.java | 5 + .../vo/SupportStaffPageReqVO.java | 3 + .../supportstaff/vo/SupportStaffRespVO.java | 2 + .../vo/SupportStaffSaveReqVO.java | 2 + .../supportstaff/SupportStaffDO.java | 5 + .../service/dynamic/DynamicDataService.java | 36 ++++ .../supportstaff/SupportStaffService.java | 5 + .../supportstaff/SupportStaffServiceImpl.java | 8 + 21 files changed, 331 insertions(+), 70 deletions(-) diff --git a/yudao-admin-vue3/src/api/crm/intelligent.ts b/yudao-admin-vue3/src/api/crm/intelligent.ts index e1e0883..46db6ec 100644 --- a/yudao-admin-vue3/src/api/crm/intelligent.ts +++ b/yudao-admin-vue3/src/api/crm/intelligent.ts @@ -12,12 +12,27 @@ export const FollowUpRecordApi = { return await request.post({ url: `/intelligentForm/saveDynamicData`, data }) }, - //查询对应表单的采集数据列表 - collectDataList: async(query) => { - return await request.get({ - url: '/intelligentForm/collectDataList', - method: 'get', - params: {id:query} - }) + //修改智能表单 + updateDynamicData: async (data) => { + return await request.post({ url: `/intelligentForm/updateDynamicData`, data }) + }, + + //删除智能表单 + deleteDynamicDataById: async (id) => { + return await request.get({ url: `/intelligentForm/deleteDynamicDataById?id=` + id, }) + }, + +// 查询文章管理列表 + collectDataList: async (id) => { + return await request.get({ url: `/intelligentForm/collectDataList?id=` + id, }) } + + // //查询对应表单的采集数据列表 + // collectDataList: async(query) => { + // return await request.get({ + // url: '/intelligentForm/collectDataList', + // method: 'get', + // params: {id:query} + // }) + // } } diff --git a/yudao-admin-vue3/src/api/mall/promotion/intelligent/index.ts b/yudao-admin-vue3/src/api/mall/promotion/intelligent/index.ts index 4287328..987b57b 100644 --- a/yudao-admin-vue3/src/api/mall/promotion/intelligent/index.ts +++ b/yudao-admin-vue3/src/api/mall/promotion/intelligent/index.ts @@ -25,8 +25,8 @@ export const saveDynamicData = async (data: ArticleVO) => { } // 查询文章管理列表 -export const collectDataList = async (query: any) => { - return await request.get({ url: `/intelligentForm/collectDataList`, query }) +export const collectDataList = async (id: any) => { + return await request.get({ url: `/intelligentForm/collectDataList?id=` + id, }) } // // 修改文章管理 diff --git a/yudao-admin-vue3/src/api/mall/promotion/supportstaff/index.ts b/yudao-admin-vue3/src/api/mall/promotion/supportstaff/index.ts index 99dce9c..4164d05 100644 --- a/yudao-admin-vue3/src/api/mall/promotion/supportstaff/index.ts +++ b/yudao-admin-vue3/src/api/mall/promotion/supportstaff/index.ts @@ -44,5 +44,12 @@ export const SupportStaffApi = { // 导出客服人员 Excel exportSupportStaff: async (params) => { return await request.download({ url: `/promotion/support-staff/export-excel`, params }) - } + }, + + + // 修改客服人员 + updateLineStatus: async (id: string,lineStatus: number) => { + return await request.get({ url: `/promotion/support-staff/updateLineStatus?id=` + id + `&lineStatus=` + lineStatus }) + }, + } diff --git a/yudao-admin-vue3/src/layout/components/useRenderLayout.tsx b/yudao-admin-vue3/src/layout/components/useRenderLayout.tsx index 11184f2..d06cebb 100644 --- a/yudao-admin-vue3/src/layout/components/useRenderLayout.tsx +++ b/yudao-admin-vue3/src/layout/components/useRenderLayout.tsx @@ -47,7 +47,7 @@ export const useRenderLayout = () => {
系统客服:点击联系客服使用系统的自带客服;拨打电话:点击联系客服拨打客服电话;跳转链接:跳转外部链接联系客服
diff --git a/yudao-admin-vue3/src/views/mall/promotion/intelligent/index.vue b/yudao-admin-vue3/src/views/mall/promotion/intelligent/index.vue index 2d35176..d150bc1 100644 --- a/yudao-admin-vue3/src/views/mall/promotion/intelligent/index.vue +++ b/yudao-admin-vue3/src/views/mall/promotion/intelligent/index.vue @@ -11,14 +11,17 @@{{o.collectionQuantity}}
+ border-color: #fdfdff;" @click="extendList(o.id,o.title)">采集数量 +{{o.collectionQuantity}}