From 5272c5345edb00ef341e0eb0a6d0728abadc84a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AE=80=E5=B0=8F=E6=9C=A4?= Date: Fri, 21 Feb 2025 15:17:36 +0800 Subject: [PATCH] =?UTF-8?q?Add:=20common=E7=9B=B8=E5=85=B3=E9=83=A8?= =?UTF-8?q?=E5=88=86=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=EF=BC=8C=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E9=80=9A=E7=9F=A5=EF=BC=8C=E5=8F=8D=E9=A6=88=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=EF=BC=8C=E7=89=88=E6=9C=AC=E3=80=81=E5=85=B3=E4=BA=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/business/commonFeedback.js | 44 ++ src/api/business/commonInfo.js | 44 ++ src/api/business/commonNotify.js | 44 ++ src/views/business/commonFeedback/index.vue | 333 ++++++++++++++ src/views/business/commonInfo/index.vue | 453 ++++++++++++++++++++ src/views/business/commonNotify/index.vue | 332 ++++++++++++++ 6 files changed, 1250 insertions(+) create mode 100755 src/api/business/commonFeedback.js create mode 100755 src/api/business/commonInfo.js create mode 100755 src/api/business/commonNotify.js create mode 100755 src/views/business/commonFeedback/index.vue create mode 100755 src/views/business/commonInfo/index.vue create mode 100755 src/views/business/commonNotify/index.vue diff --git a/src/api/business/commonFeedback.js b/src/api/business/commonFeedback.js new file mode 100755 index 0000000..8dfa11e --- /dev/null +++ b/src/api/business/commonFeedback.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询反馈信息列表 +export function listCommonFeedback(query) { + return request({ + url: '/business/commonFeedback/list', + method: 'get', + params: query + }) +} + +// 查询反馈信息详细 +export function getCommonFeedback(id) { + return request({ + url: '/business/commonFeedback/' + id, + method: 'get' + }) +} + +// 新增反馈信息 +export function addCommonFeedback(data) { + return request({ + url: '/business/commonFeedback', + method: 'post', + data: data + }) +} + +// 修改反馈信息 +export function updateCommonFeedback(data) { + return request({ + url: '/business/commonFeedback', + method: 'put', + data: data + }) +} + +// 删除反馈信息 +export function delCommonFeedback(id) { + return request({ + url: '/business/commonFeedback/' + id, + method: 'delete' + }) +} diff --git a/src/api/business/commonInfo.js b/src/api/business/commonInfo.js new file mode 100755 index 0000000..e0315dd --- /dev/null +++ b/src/api/business/commonInfo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询关于信息列表 +export function listCommonInfo(query) { + return request({ + url: '/business/commonInfo/list', + method: 'get', + params: query + }) +} + +// 查询关于信息详细 +export function getCommonInfo(id) { + return request({ + url: '/business/commonInfo/' + id, + method: 'get' + }) +} + +// 新增关于信息 +export function addCommonInfo(data) { + return request({ + url: '/business/commonInfo', + method: 'post', + data: data + }) +} + +// 修改关于信息 +export function updateCommonInfo(data) { + return request({ + url: '/business/commonInfo', + method: 'put', + data: data + }) +} + +// 删除关于信息 +export function delCommonInfo(id) { + return request({ + url: '/business/commonInfo/' + id, + method: 'delete' + }) +} diff --git a/src/api/business/commonNotify.js b/src/api/business/commonNotify.js new file mode 100755 index 0000000..4c2b303 --- /dev/null +++ b/src/api/business/commonNotify.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询消息通知列表 +export function listCommonNotify(query) { + return request({ + url: '/business/commonNotify/list', + method: 'get', + params: query + }) +} + +// 查询消息通知详细 +export function getCommonNotify(id) { + return request({ + url: '/business/commonNotify/' + id, + method: 'get' + }) +} + +// 新增消息通知 +export function addCommonNotify(data) { + return request({ + url: '/business/commonNotify', + method: 'post', + data: data + }) +} + +// 修改消息通知 +export function updateCommonNotify(data) { + return request({ + url: '/business/commonNotify', + method: 'put', + data: data + }) +} + +// 删除消息通知 +export function delCommonNotify(id) { + return request({ + url: '/business/commonNotify/' + id, + method: 'delete' + }) +} diff --git a/src/views/business/commonFeedback/index.vue b/src/views/business/commonFeedback/index.vue new file mode 100755 index 0000000..03e74a2 --- /dev/null +++ b/src/views/business/commonFeedback/index.vue @@ -0,0 +1,333 @@ + + + diff --git a/src/views/business/commonInfo/index.vue b/src/views/business/commonInfo/index.vue new file mode 100755 index 0000000..750ed6f --- /dev/null +++ b/src/views/business/commonInfo/index.vue @@ -0,0 +1,453 @@ + + + diff --git a/src/views/business/commonNotify/index.vue b/src/views/business/commonNotify/index.vue new file mode 100755 index 0000000..0b1de13 --- /dev/null +++ b/src/views/business/commonNotify/index.vue @@ -0,0 +1,332 @@ + + +