diff --git a/yudao-admin-vue3/index.html b/yudao-admin-vue3/index.html
index 8cfcbef..fd7ffbd 100644
--- a/yudao-admin-vue3/index.html
+++ b/yudao-admin-vue3/index.html
@@ -136,7 +136,7 @@
-
+
%VITE_APP_TITLE%
diff --git a/yudao-admin-vue3/src/api/mall/promotion/advertising/index.ts b/yudao-admin-vue3/src/api/mall/promotion/advertising/index.ts
new file mode 100644
index 0000000..2756c6e
--- /dev/null
+++ b/yudao-admin-vue3/src/api/mall/promotion/advertising/index.ts
@@ -0,0 +1,50 @@
+import request from '@/config/axios'
+
+// 开屏广告 VO
+export interface AdvertisingVO {
+ id: number // id
+ status: number // 广告状态
+ time: number // 广告时间(秒)
+ property: string // 广告属性
+ picData: []
+ stat: boolean,
+}
+
+// 开屏广告 API
+export const AdvertisingApi = {
+ // 查询开屏广告分页
+ getAdvertisingPage: async (params: any) => {
+ return await request.get({ url: `/promotion/advertising/page`, params })
+ },
+
+ // 查询开屏广告详情
+ getAdvertising: async () => {
+ return await request.get({ url: `/promotion/advertising/getAdvertising`})
+ },
+
+ // 新增开屏广告
+ createAdvertising: async (data: AdvertisingVO) => {
+ return await request.post({ url: `/promotion/advertising/create`, data })
+ },
+
+ // 修改开屏广告
+ updateAdvertising: async (data: AdvertisingVO) => {
+ return await request.put({ url: `/promotion/advertising/update`, data })
+ },
+
+ // 删除开屏广告
+ deleteAdvertising: async (id: number) => {
+ return await request.delete({ url: `/promotion/advertising/delete?id=` + id })
+ },
+
+ // 导出开屏广告 Excel
+ exportAdvertising: async (params) => {
+ return await request.download({ url: `/promotion/advertising/export-excel`, params })
+ },
+
+ // 新增修稿开屏广告
+ saveAdvertising: async (data: AdvertisingVO) => {
+ return await request.post({ url: `/promotion/advertising/saveAdvertising`, data })
+ },
+
+}
\ No newline at end of file
diff --git a/yudao-admin-vue3/src/api/mall/promotion/configuration/index.ts b/yudao-admin-vue3/src/api/mall/promotion/configuration/index.ts
index 0d26c49..170a388 100644
--- a/yudao-admin-vue3/src/api/mall/promotion/configuration/index.ts
+++ b/yudao-admin-vue3/src/api/mall/promotion/configuration/index.ts
@@ -3,7 +3,7 @@ import request from '@/config/axios'
// 客服配置 VO
export interface ConfigurationVO {
id: number // id
- type: string // 客服类型
+ type: number // 客服类型
feedback: string // 客服反馈
phone: string // 客服电话
link: string // 客服链接
diff --git a/yudao-admin-vue3/src/api/mall/promotion/kefu/conversation/index.ts b/yudao-admin-vue3/src/api/mall/promotion/kefu/conversation/index.ts
index 6e9589c..c63bc1b 100644
--- a/yudao-admin-vue3/src/api/mall/promotion/kefu/conversation/index.ts
+++ b/yudao-admin-vue3/src/api/mall/promotion/kefu/conversation/index.ts
@@ -23,8 +23,8 @@ export const KeFuConversationApi = {
return await request.get({ url: '/promotion/kefu-conversation/list' })
},
// 获得客服会话列表
- getConversationListByKefuId: async (kefuId: number) => {
- return await request.get({ url: '/promotion/kefu-conversation/list?kefuId=' + kefuId })
+ getConversationListByKefuId: async (kefuId: number , name: string) => {
+ return await request.get({ url: '/promotion/kefu-conversation/list?kefuId=' + kefuId + `&name=` + name })
},
// 客服会话置顶
updateConversationPinned: async (data: any) => {
diff --git a/yudao-admin-vue3/src/api/mall/promotion/kefu/message/index.ts b/yudao-admin-vue3/src/api/mall/promotion/kefu/message/index.ts
index a12167f..95e54a6 100644
--- a/yudao-admin-vue3/src/api/mall/promotion/kefu/message/index.ts
+++ b/yudao-admin-vue3/src/api/mall/promotion/kefu/message/index.ts
@@ -32,5 +32,10 @@ export const KeFuMessageApi = {
// 获得消息分页数据
getKeFuMessagePage: async (params: any) => {
return await request.get({ url: '/promotion/kefu-message/page', params })
+ },
+
+ // 获得消息分页数据
+ getBySenderIdStat: async (senderId: number) => {
+ return await request.get({ url: '/promotion/kefu-message/getBySenderIdStat?senderId=' + senderId })
}
}
diff --git a/yudao-admin-vue3/src/assets/imgs/quxiao.png b/yudao-admin-vue3/src/assets/imgs/quxiao.png
new file mode 100644
index 0000000..b6b0bab
Binary files /dev/null and b/yudao-admin-vue3/src/assets/imgs/quxiao.png differ
diff --git a/yudao-admin-vue3/src/components/DiyEditor/index.vue b/yudao-admin-vue3/src/components/DiyEditor/index.vue
index c01f6a9..adc621f 100644
--- a/yudao-admin-vue3/src/components/DiyEditor/index.vue
+++ b/yudao-admin-vue3/src/components/DiyEditor/index.vue
@@ -120,7 +120,8 @@
手机扫码预览
-
+
+
@@ -512,4 +513,4 @@
}
}
}
-
\ No newline at end of file
+
diff --git a/yudao-admin-vue3/src/utils/dict.ts b/yudao-admin-vue3/src/utils/dict.ts
index 43b359e..8efdd00 100644
--- a/yudao-admin-vue3/src/utils/dict.ts
+++ b/yudao-admin-vue3/src/utils/dict.ts
@@ -124,6 +124,9 @@ export enum DICT_TYPE {
TECHNICIAN_STATUS = 'technician_status',
SEX = 'sex',
+ //客服配置类型
+ KEFU_CONFIGURATION_TYPE = 'kefu_configuration_type',
+
INFRA_FILE_TYPE = 'infra_file_type',
PAY_WALLET_RECHARGE_PAY_STATUS = 'pay_wallet_recharge_pay_status',
diff --git a/yudao-admin-vue3/src/views/infra/file/index.vue b/yudao-admin-vue3/src/views/infra/file/index.vue
index 27864c7..2b4b700 100644
--- a/yudao-admin-vue3/src/views/infra/file/index.vue
+++ b/yudao-admin-vue3/src/views/infra/file/index.vue
@@ -60,11 +60,11 @@
上传文件
+
+
-
-
diff --git a/yudao-admin-vue3/src/views/mall/promotion/advertising/AdvertisingForm.vue b/yudao-admin-vue3/src/views/mall/promotion/advertising/AdvertisingForm.vue
new file mode 100644
index 0000000..2cfc310
--- /dev/null
+++ b/yudao-admin-vue3/src/views/mall/promotion/advertising/AdvertisingForm.vue
@@ -0,0 +1,118 @@
+
+
+
+
\ No newline at end of file
diff --git a/yudao-admin-vue3/src/views/mall/promotion/advertising/index.vue b/yudao-admin-vue3/src/views/mall/promotion/advertising/index.vue
new file mode 100644
index 0000000..1fcbc22
--- /dev/null
+++ b/yudao-admin-vue3/src/views/mall/promotion/advertising/index.vue
@@ -0,0 +1,228 @@
+
+
+ 数据配置
+ 保存
+
+
+
+
+
+
+
+
+
暂无图片,请添加~
+
+
+
+
引导页设置
+
开屏广告:
+
+
广告时间: 单位(秒)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
添加图片
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/yudao-admin-vue3/src/views/mall/promotion/configuration/index.vue b/yudao-admin-vue3/src/views/mall/promotion/configuration/index.vue
index 04fca4c..df24395 100644
--- a/yudao-admin-vue3/src/views/mall/promotion/configuration/index.vue
+++ b/yudao-admin-vue3/src/views/mall/promotion/configuration/index.vue
@@ -6,9 +6,13 @@
客服类型:
- 系统客服
- 拨打电话
-
+
+ {{dict.label}}
+
系统客服:点击联系客服使用系统的自带客服;拨打电话:点击联系客服拨打客服电话;跳转链接:跳转外部链接联系客服
@@ -75,6 +79,8 @@
\ No newline at end of file
+
diff --git a/yudao-admin-vue3/src/views/mall/promotion/kefu/components/KeFuConversationList.vue b/yudao-admin-vue3/src/views/mall/promotion/kefu/components/KeFuConversationList.vue
index 9344666..153f8db 100644
--- a/yudao-admin-vue3/src/views/mall/promotion/kefu/components/KeFuConversationList.vue
+++ b/yudao-admin-vue3/src/views/mall/promotion/kefu/components/KeFuConversationList.vue
@@ -89,8 +89,8 @@ const activeConversationId = ref(-1) // 选中的会话
const collapse = computed(() => appStore.getCollapse) // 折叠菜单
/** 加载会话列表 */
-const getConversationList = async () => {
- const list = await KeFuConversationApi.getConversationListByKefuId(getStaffToken())
+const getConversationList = async (name: string) => {
+ const list = await KeFuConversationApi.getConversationListByKefuId(getStaffToken(),name)
list.sort((a: KeFuConversationRespVO, _) => (a.adminPinned ? -1 : 1))
conversationList.value = list
}
diff --git a/yudao-admin-vue3/src/views/mall/promotion/kefu/components/KeFuMessageList.vue b/yudao-admin-vue3/src/views/mall/promotion/kefu/components/KeFuMessageList.vue
index c3f6877..7e70072 100644
--- a/yudao-admin-vue3/src/views/mall/promotion/kefu/components/KeFuMessageList.vue
+++ b/yudao-admin-vue3/src/views/mall/promotion/kefu/components/KeFuMessageList.vue
@@ -113,7 +113,7 @@
-