From 86b18b07bde4311328e930ff437a61206c638d71 Mon Sep 17 00:00:00 2001 From: SjS Date: Mon, 26 May 2025 18:30:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8A=E5=A4=A9=E5=89=8D=E5=8F=B0=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bst/chatMsg.js | 44 ++++ src/router/index.js | 6 + src/views/bst/bindRecord/index.vue | 1 - src/views/bst/changeRecord/index.vue | 1 - src/views/bst/chat/index.vue | 19 +- src/views/bst/chatMsg/index.vue | 341 +++++++++++++++++++++++++++ src/views/bst/complaint/index.vue | 1 - src/views/bst/lightingNum/index.vue | 1 - src/views/bst/model/index.vue | 1 - src/views/bst/team/TeamLink.vue | 26 ++ src/views/bst/team/index.vue | 84 ++++--- src/views/bst/team/teamDetail.vue | 120 ++++++++++ src/views/bst/teamUser/index.vue | 24 +- 13 files changed, 622 insertions(+), 47 deletions(-) create mode 100644 src/api/bst/chatMsg.js create mode 100644 src/views/bst/chatMsg/index.vue create mode 100644 src/views/bst/team/TeamLink.vue create mode 100644 src/views/bst/team/teamDetail.vue diff --git a/src/api/bst/chatMsg.js b/src/api/bst/chatMsg.js new file mode 100644 index 0000000..7731a0d --- /dev/null +++ b/src/api/bst/chatMsg.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询聊天消息列表列表 +export function listChatMsg(query) { + return request({ + url: '/bst/chatMsg/list', + method: 'get', + params: query + }) +} + +// 查询聊天消息列表详细 +export function getChatMsg(id) { + return request({ + url: '/bst/chatMsg/' + id, + method: 'get' + }) +} + +// 新增聊天消息列表 +export function addChatMsg(data) { + return request({ + url: '/bst/chatMsg', + method: 'post', + data: data + }) +} + +// 修改聊天消息列表 +export function updateChatMsg(data) { + return request({ + url: '/bst/chatMsg', + method: 'put', + data: data + }) +} + +// 删除聊天消息列表 +export function delChatMsg(id) { + return request({ + url: '/bst/chatMsg/' + id, + method: 'delete' + }) +} diff --git a/src/router/index.js b/src/router/index.js index 3b82163..6759b54 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -122,6 +122,12 @@ export const constantRoutes = [ name: 'BoothView', meta: { title: '卡座详情' } }, + { + path: 'team/:id?', + component: () => import('@/views/bst/team/teamDetail.vue'), + name: 'TeamView', + meta: { title: '队伍详情' } + }, ] }, { diff --git a/src/views/bst/bindRecord/index.vue b/src/views/bst/bindRecord/index.vue index b5956e1..7f67d87 100644 --- a/src/views/bst/bindRecord/index.vue +++ b/src/views/bst/bindRecord/index.vue @@ -176,7 +176,6 @@ export default { span: 24, // 字段列表 columns: [ - {key: 'recordId', visible: true, label: 'ID', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, {key: 'deviceName', visible: true, label: '设备名称', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, {key: 'userName', visible: true, label: '用户', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, {key: 'type', visible: true, label: '类型', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, diff --git a/src/views/bst/changeRecord/index.vue b/src/views/bst/changeRecord/index.vue index ac2b56c..cc34099 100644 --- a/src/views/bst/changeRecord/index.vue +++ b/src/views/bst/changeRecord/index.vue @@ -129,7 +129,6 @@ export default { span: 24, // 字段列表 columns: [ - {key: 'recordId', visible: true, label: 'ID', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, {key: 'userName', visible: true, label: '用户名', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, {key: 'storeName', visible: true, label: '店铺名', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, {key: 'bstType', visible: true, label: '类型', minWidth: null, sortable: true, overflow: false, align: 'center', width: null}, diff --git a/src/views/bst/chat/index.vue b/src/views/bst/chat/index.vue index d650403..66438f6 100644 --- a/src/views/bst/chat/index.vue +++ b/src/views/bst/chat/index.vue @@ -41,6 +41,10 @@ + + + +