From 44c68750fddb9cd5f1c1cc0bc37e8df7e1125893 Mon Sep 17 00:00:00 2001 From: 13405411873 <1994398261@qq.com> Date: Mon, 17 Mar 2025 17:23:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E6=A8=A1=E5=9D=97=EF=BC=8C?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E6=A8=A1=E5=9D=97=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base/card.js | 44 +++ src/api/base/cardRights.js | 44 +++ src/api/base/category.js | 44 +++ src/api/base/coupon.js | 44 +++ src/api/base/rights.js | 44 +++ src/api/busi/card.js | 44 +++ src/api/busi/evaluate.js | 44 +++ src/api/busi/feedback.js | 44 +++ src/api/busi/form.js | 44 +++ src/api/busi/msg.js | 44 +++ src/api/busi/notice.js | 44 +++ src/api/busi/price.js | 44 +++ src/api/busi/report.js | 44 +++ src/api/busi/sign.js | 44 +++ src/api/busi/view.js | 44 +++ src/views/base/card/index.vue | 360 +++++++++++++++++ src/views/base/cardRights/index.vue | 260 ++++++++++++ src/views/base/category/index.vue | 333 ++++++++++++++++ src/views/base/config/index.vue | 10 - src/views/base/coupon/index.vue | 264 +++++++++++++ src/views/base/rights/index.vue | 348 ++++++++++++++++ src/views/busi/card/index.vue | 275 +++++++++++++ src/views/busi/evaluate/index.vue | 330 ++++++++++++++++ src/views/busi/feedback/index.vue | 342 ++++++++++++++++ src/views/busi/form/index.vue | 251 ++++++++++++ src/views/busi/msg/index.vue | 269 +++++++++++++ src/views/busi/notice/index.vue | 594 ++++++++++++++++++++++++++++ src/views/busi/price/index.vue | 297 ++++++++++++++ src/views/busi/report/index.vue | 343 ++++++++++++++++ src/views/busi/sign/index.vue | 351 ++++++++++++++++ src/views/busi/view/index.vue | 245 ++++++++++++ 31 files changed, 5522 insertions(+), 10 deletions(-) create mode 100644 src/api/base/card.js create mode 100644 src/api/base/cardRights.js create mode 100644 src/api/base/category.js create mode 100644 src/api/base/coupon.js create mode 100644 src/api/base/rights.js create mode 100644 src/api/busi/card.js create mode 100644 src/api/busi/evaluate.js create mode 100644 src/api/busi/feedback.js create mode 100644 src/api/busi/form.js create mode 100644 src/api/busi/msg.js create mode 100644 src/api/busi/notice.js create mode 100644 src/api/busi/price.js create mode 100644 src/api/busi/report.js create mode 100644 src/api/busi/sign.js create mode 100644 src/api/busi/view.js create mode 100644 src/views/base/card/index.vue create mode 100644 src/views/base/cardRights/index.vue create mode 100644 src/views/base/category/index.vue create mode 100644 src/views/base/coupon/index.vue create mode 100644 src/views/base/rights/index.vue create mode 100644 src/views/busi/card/index.vue create mode 100644 src/views/busi/evaluate/index.vue create mode 100644 src/views/busi/feedback/index.vue create mode 100644 src/views/busi/form/index.vue create mode 100644 src/views/busi/msg/index.vue create mode 100644 src/views/busi/notice/index.vue create mode 100644 src/views/busi/price/index.vue create mode 100644 src/views/busi/report/index.vue create mode 100644 src/views/busi/sign/index.vue create mode 100644 src/views/busi/view/index.vue diff --git a/src/api/base/card.js b/src/api/base/card.js new file mode 100644 index 0000000..88bfdde --- /dev/null +++ b/src/api/base/card.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询会员卡列表 +export function listCard(query) { + return request({ + url: '/base/card/list', + method: 'get', + params: query + }) +} + +// 查询会员卡详细 +export function getCard(id) { + return request({ + url: '/base/card/' + id, + method: 'get' + }) +} + +// 新增会员卡 +export function addCard(data) { + return request({ + url: '/base/card', + method: 'post', + data: data + }) +} + +// 修改会员卡 +export function updateCard(data) { + return request({ + url: '/base/card', + method: 'put', + data: data + }) +} + +// 删除会员卡 +export function delCard(id) { + return request({ + url: '/base/card/' + id, + method: 'delete' + }) +} diff --git a/src/api/base/cardRights.js b/src/api/base/cardRights.js new file mode 100644 index 0000000..ad23a31 --- /dev/null +++ b/src/api/base/cardRights.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询会员卡权益列表 +export function listCardRights(query) { + return request({ + url: '/base/cardRights/list', + method: 'get', + params: query + }) +} + +// 查询会员卡权益详细 +export function getCardRights(id) { + return request({ + url: '/base/cardRights/' + id, + method: 'get' + }) +} + +// 新增会员卡权益 +export function addCardRights(data) { + return request({ + url: '/base/cardRights', + method: 'post', + data: data + }) +} + +// 修改会员卡权益 +export function updateCardRights(data) { + return request({ + url: '/base/cardRights', + method: 'put', + data: data + }) +} + +// 删除会员卡权益 +export function delCardRights(id) { + return request({ + url: '/base/cardRights/' + id, + method: 'delete' + }) +} diff --git a/src/api/base/category.js b/src/api/base/category.js new file mode 100644 index 0000000..6118f83 --- /dev/null +++ b/src/api/base/category.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询分类树-各种分类属性结构列表 +export function listCategory(query) { + return request({ + url: '/base/category/list', + method: 'get', + params: query + }) +} + +// 查询分类树-各种分类属性结构详细 +export function getCategory(id) { + return request({ + url: '/base/category/' + id, + method: 'get' + }) +} + +// 新增分类树-各种分类属性结构 +export function addCategory(data) { + return request({ + url: '/base/category', + method: 'post', + data: data + }) +} + +// 修改分类树-各种分类属性结构 +export function updateCategory(data) { + return request({ + url: '/base/category', + method: 'put', + data: data + }) +} + +// 删除分类树-各种分类属性结构 +export function delCategory(id) { + return request({ + url: '/base/category/' + id, + method: 'delete' + }) +} diff --git a/src/api/base/coupon.js b/src/api/base/coupon.js new file mode 100644 index 0000000..6a2b361 --- /dev/null +++ b/src/api/base/coupon.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询通告券列表 +export function listCoupon(query) { + return request({ + url: '/base/coupon/list', + method: 'get', + params: query + }) +} + +// 查询通告券详细 +export function getCoupon(id) { + return request({ + url: '/base/coupon/' + id, + method: 'get' + }) +} + +// 新增通告券 +export function addCoupon(data) { + return request({ + url: '/base/coupon', + method: 'post', + data: data + }) +} + +// 修改通告券 +export function updateCoupon(data) { + return request({ + url: '/base/coupon', + method: 'put', + data: data + }) +} + +// 删除通告券 +export function delCoupon(id) { + return request({ + url: '/base/coupon/' + id, + method: 'delete' + }) +} diff --git a/src/api/base/rights.js b/src/api/base/rights.js new file mode 100644 index 0000000..4727b3a --- /dev/null +++ b/src/api/base/rights.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询会员权益列表 +export function listRights(query) { + return request({ + url: '/base/rights/list', + method: 'get', + params: query + }) +} + +// 查询会员权益详细 +export function getRights(id) { + return request({ + url: '/base/rights/' + id, + method: 'get' + }) +} + +// 新增会员权益 +export function addRights(data) { + return request({ + url: '/base/rights', + method: 'post', + data: data + }) +} + +// 修改会员权益 +export function updateRights(data) { + return request({ + url: '/base/rights', + method: 'put', + data: data + }) +} + +// 删除会员权益 +export function delRights(id) { + return request({ + url: '/base/rights/' + id, + method: 'delete' + }) +} diff --git a/src/api/busi/card.js b/src/api/busi/card.js new file mode 100644 index 0000000..0caf727 --- /dev/null +++ b/src/api/busi/card.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询通告报名名片列表 +export function listCard(query) { + return request({ + url: '/busi/card/list', + method: 'get', + params: query + }) +} + +// 查询通告报名名片详细 +export function getCard(id) { + return request({ + url: '/busi/card/' + id, + method: 'get' + }) +} + +// 新增通告报名名片 +export function addCard(data) { + return request({ + url: '/busi/card', + method: 'post', + data: data + }) +} + +// 修改通告报名名片 +export function updateCard(data) { + return request({ + url: '/busi/card', + method: 'put', + data: data + }) +} + +// 删除通告报名名片 +export function delCard(id) { + return request({ + url: '/busi/card/' + id, + method: 'delete' + }) +} diff --git a/src/api/busi/evaluate.js b/src/api/busi/evaluate.js new file mode 100644 index 0000000..10dad47 --- /dev/null +++ b/src/api/busi/evaluate.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询评价列表 +export function listEvaluate(query) { + return request({ + url: '/busi/evaluate/list', + method: 'get', + params: query + }) +} + +// 查询评价详细 +export function getEvaluate(id) { + return request({ + url: '/busi/evaluate/' + id, + method: 'get' + }) +} + +// 新增评价 +export function addEvaluate(data) { + return request({ + url: '/busi/evaluate', + method: 'post', + data: data + }) +} + +// 修改评价 +export function updateEvaluate(data) { + return request({ + url: '/busi/evaluate', + method: 'put', + data: data + }) +} + +// 删除评价 +export function delEvaluate(id) { + return request({ + url: '/busi/evaluate/' + id, + method: 'delete' + }) +} diff --git a/src/api/busi/feedback.js b/src/api/busi/feedback.js new file mode 100644 index 0000000..e5ab966 --- /dev/null +++ b/src/api/busi/feedback.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询意见反馈列表 +export function listFeedback(query) { + return request({ + url: '/busi/feedback/list', + method: 'get', + params: query + }) +} + +// 查询意见反馈详细 +export function getFeedback(id) { + return request({ + url: '/busi/feedback/' + id, + method: 'get' + }) +} + +// 新增意见反馈 +export function addFeedback(data) { + return request({ + url: '/busi/feedback', + method: 'post', + data: data + }) +} + +// 修改意见反馈 +export function updateFeedback(data) { + return request({ + url: '/busi/feedback', + method: 'put', + data: data + }) +} + +// 删除意见反馈 +export function delFeedback(id) { + return request({ + url: '/busi/feedback/' + id, + method: 'delete' + }) +} diff --git a/src/api/busi/form.js b/src/api/busi/form.js new file mode 100644 index 0000000..922a312 --- /dev/null +++ b/src/api/busi/form.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询通告自定义报名单列表 +export function listForm(query) { + return request({ + url: '/busi/form/list', + method: 'get', + params: query + }) +} + +// 查询通告自定义报名单详细 +export function getForm(id) { + return request({ + url: '/busi/form/' + id, + method: 'get' + }) +} + +// 新增通告自定义报名单 +export function addForm(data) { + return request({ + url: '/busi/form', + method: 'post', + data: data + }) +} + +// 修改通告自定义报名单 +export function updateForm(data) { + return request({ + url: '/busi/form', + method: 'put', + data: data + }) +} + +// 删除通告自定义报名单 +export function delForm(id) { + return request({ + url: '/busi/form/' + id, + method: 'delete' + }) +} diff --git a/src/api/busi/msg.js b/src/api/busi/msg.js new file mode 100644 index 0000000..97e51ba --- /dev/null +++ b/src/api/busi/msg.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询通告留言列表 +export function listMsg(query) { + return request({ + url: '/busi/msg/list', + method: 'get', + params: query + }) +} + +// 查询通告留言详细 +export function getMsg(id) { + return request({ + url: '/busi/msg/' + id, + method: 'get' + }) +} + +// 新增通告留言 +export function addMsg(data) { + return request({ + url: '/busi/msg', + method: 'post', + data: data + }) +} + +// 修改通告留言 +export function updateMsg(data) { + return request({ + url: '/busi/msg', + method: 'put', + data: data + }) +} + +// 删除通告留言 +export function delMsg(id) { + return request({ + url: '/busi/msg/' + id, + method: 'delete' + }) +} diff --git a/src/api/busi/notice.js b/src/api/busi/notice.js new file mode 100644 index 0000000..87c1d73 --- /dev/null +++ b/src/api/busi/notice.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询通告列表 +export function listNotice(query) { + return request({ + url: '/busi/notice/list', + method: 'get', + params: query + }) +} + +// 查询通告详细 +export function getNotice(id) { + return request({ + url: '/busi/notice/' + id, + method: 'get' + }) +} + +// 新增通告 +export function addNotice(data) { + return request({ + url: '/busi/notice', + method: 'post', + data: data + }) +} + +// 修改通告 +export function updateNotice(data) { + return request({ + url: '/busi/notice', + method: 'put', + data: data + }) +} + +// 删除通告 +export function delNotice(id) { + return request({ + url: '/busi/notice/' + id, + method: 'delete' + }) +} diff --git a/src/api/busi/price.js b/src/api/busi/price.js new file mode 100644 index 0000000..d6dfb81 --- /dev/null +++ b/src/api/busi/price.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询通告报名名片价格列表 +export function listPrice(query) { + return request({ + url: '/busi/price/list', + method: 'get', + params: query + }) +} + +// 查询通告报名名片价格详细 +export function getPrice(id) { + return request({ + url: '/busi/price/' + id, + method: 'get' + }) +} + +// 新增通告报名名片价格 +export function addPrice(data) { + return request({ + url: '/busi/price', + method: 'post', + data: data + }) +} + +// 修改通告报名名片价格 +export function updatePrice(data) { + return request({ + url: '/busi/price', + method: 'put', + data: data + }) +} + +// 删除通告报名名片价格 +export function delPrice(id) { + return request({ + url: '/busi/price/' + id, + method: 'delete' + }) +} diff --git a/src/api/busi/report.js b/src/api/busi/report.js new file mode 100644 index 0000000..da93445 --- /dev/null +++ b/src/api/busi/report.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询举报记录列表 +export function listReport(query) { + return request({ + url: '/busi/report/list', + method: 'get', + params: query + }) +} + +// 查询举报记录详细 +export function getReport(id) { + return request({ + url: '/busi/report/' + id, + method: 'get' + }) +} + +// 新增举报记录 +export function addReport(data) { + return request({ + url: '/busi/report', + method: 'post', + data: data + }) +} + +// 修改举报记录 +export function updateReport(data) { + return request({ + url: '/busi/report', + method: 'put', + data: data + }) +} + +// 删除举报记录 +export function delReport(id) { + return request({ + url: '/busi/report/' + id, + method: 'delete' + }) +} diff --git a/src/api/busi/sign.js b/src/api/busi/sign.js new file mode 100644 index 0000000..a368525 --- /dev/null +++ b/src/api/busi/sign.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询通告报名列表 +export function listSign(query) { + return request({ + url: '/busi/sign/list', + method: 'get', + params: query + }) +} + +// 查询通告报名详细 +export function getSign(id) { + return request({ + url: '/busi/sign/' + id, + method: 'get' + }) +} + +// 新增通告报名 +export function addSign(data) { + return request({ + url: '/busi/sign', + method: 'post', + data: data + }) +} + +// 修改通告报名 +export function updateSign(data) { + return request({ + url: '/busi/sign', + method: 'put', + data: data + }) +} + +// 删除通告报名 +export function delSign(id) { + return request({ + url: '/busi/sign/' + id, + method: 'delete' + }) +} diff --git a/src/api/busi/view.js b/src/api/busi/view.js new file mode 100644 index 0000000..32334a4 --- /dev/null +++ b/src/api/busi/view.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询通告浏览量列表 +export function listView(query) { + return request({ + url: '/busi/view/list', + method: 'get', + params: query + }) +} + +// 查询通告浏览量详细 +export function getView(id) { + return request({ + url: '/busi/view/' + id, + method: 'get' + }) +} + +// 新增通告浏览量 +export function addView(data) { + return request({ + url: '/busi/view', + method: 'post', + data: data + }) +} + +// 修改通告浏览量 +export function updateView(data) { + return request({ + url: '/busi/view', + method: 'put', + data: data + }) +} + +// 删除通告浏览量 +export function delView(id) { + return request({ + url: '/busi/view/' + id, + method: 'delete' + }) +} diff --git a/src/views/base/card/index.vue b/src/views/base/card/index.vue new file mode 100644 index 0000000..fddd951 --- /dev/null +++ b/src/views/base/card/index.vue @@ -0,0 +1,360 @@ + + + diff --git a/src/views/base/cardRights/index.vue b/src/views/base/cardRights/index.vue new file mode 100644 index 0000000..4c1bb1a --- /dev/null +++ b/src/views/base/cardRights/index.vue @@ -0,0 +1,260 @@ + + + diff --git a/src/views/base/category/index.vue b/src/views/base/category/index.vue new file mode 100644 index 0000000..e65fbdb --- /dev/null +++ b/src/views/base/category/index.vue @@ -0,0 +1,333 @@ + + + diff --git a/src/views/base/config/index.vue b/src/views/base/config/index.vue index f65a2e5..01b3b0c 100644 --- a/src/views/base/config/index.vue +++ b/src/views/base/config/index.vue @@ -1,14 +1,6 @@