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.title}} - 推广 +    删除 + 推广 + 预览 + 编辑
@@ -31,8 +34,8 @@ 采集数量 -

{{o.collectionQuantity}}

+ border-color: #fdfdff;" @click="extendList(o.id,o.title)">采集数量 +

{{o.collectionQuantity}}

@@ -48,71 +51,111 @@ border-color: #fdfdff;">创建时间:{{o.createTime}}
- + - +
-
标题 + 标题 +
- 字段 - + 字段 +
添加字段
- +
- +
确 定 取 消
- + 复制 - + - - - -
+ -
- - - -