From 73c982f4ef0812c2939f3b0e0e8d50bb0173b25c Mon Sep 17 00:00:00 2001 From: dy-hu Date: Mon, 8 Jul 2024 15:10:45 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=95=86=E5=AE=B6=E7=AB=AF=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=95=86=E5=AE=B6=E4=BC=9A=E5=91=98=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B8=83=E5=B1=80=202.=E5=95=86=E5=AE=B6=E7=AB=AF?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BC=9A=E5=91=98=E6=A0=87=E7=AD=BE=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B8=83=E5=B1=80=203.=E5=95=86=E5=AE=B6=E7=AB=AF?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BC=9A=E5=91=98=E6=9D=83=E7=9B=8A=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B8=83=E5=B1=80=204.=E5=95=86=E5=AE=B6=E7=AB=AF?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BC=9A=E5=91=98=E7=AD=89=E7=BA=A7=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/comment.js | 73 ++++ src/api/customerMage.js | 115 +++++++ src/api/member.js | 83 +++++ src/views/member/equity/index.vue | 313 +++++++++++++++++ src/views/member/levelList/index.vue | 401 +++++++++++++++++++++ src/views/member/memberList/details.vue | 594 ++++++++++++++++++++++++++++++++ src/views/member/memberList/index.vue | 433 +++++++++++++++++++++++ src/views/member/tips/index.vue | 281 +++++++++++++++ src/views/member/tips/tipsForm.vue | 322 +++++++++++++++++ 9 files changed, 2615 insertions(+) create mode 100644 src/api/comment.js create mode 100644 src/api/customerMage.js create mode 100644 src/api/member.js create mode 100644 src/views/member/equity/index.vue create mode 100644 src/views/member/levelList/index.vue create mode 100644 src/views/member/memberList/details.vue create mode 100644 src/views/member/memberList/index.vue create mode 100644 src/views/member/tips/index.vue create mode 100644 src/views/member/tips/tipsForm.vue diff --git a/src/api/comment.js b/src/api/comment.js new file mode 100644 index 0000000..9bcbbf9 --- /dev/null +++ b/src/api/comment.js @@ -0,0 +1,73 @@ +import request from '@/utils/request' + +// 评论 +// 敏感词查询 +export function sensitiveGetAll(data) { + return request({ + url: '/sensitive/get', + method: 'post', + data + }) +} + +// 添加敏感词设置 +export function sensitiveAdd(data) { + return request({ + url: '/sensitive/save', + method: 'post', + data + }) +} +// 添加敏感词设置 +export function sensitiveUpdate(data) { + return request({ + url: '/sensitive/update', + method: 'post', + data + }) +} + +// 评论管理 +// 评论管理查询 +export function commentSysGetall(data) { + return request({ + url: '/comment/getAll', + method: 'post', + data + }) +} + +// 评论详情查询 +export function commentSysGetById(data) { + return request({ + url: '/comment/getById', + method: 'post', + data + }) +} + +// 修改评论 +export function commentSysUpdate(data) { + return request({ + url: '/comment/update', + method: 'post', + data + }) +} + +// 删除评论 +export function commentSysDelete(data) { + return request({ + url: '/comment/delete', + method: 'post', + data + }) +} +// 允许展示评论 +export function commentAllow(data) { + return request({ + url: '/comment/allow', + method: 'post', + data + }) +} diff --git a/src/api/customerMage.js b/src/api/customerMage.js new file mode 100644 index 0000000..9088ffa --- /dev/null +++ b/src/api/customerMage.js @@ -0,0 +1,115 @@ +import request from '@/utils/request' + +// ******客户管理****** +// 客户管理查询 +export function customerMageGetAll (data) { + return request({ + url: '/businessBuyer/getAll', + method: 'post', + data + }) +} +// 标签查询 +export function getLabels (data) { + return request({ + url: '/businessBuyer/getLabels', + method: 'post', + data + }) +} +// 贴标签 +export function customerSaveUserLabel (data) { + return request({ + url: '/businessBuyer/saveUserLabel', + method: 'post', + data + }) +} +// 加入或取消黑名单 +export function customerBlacklist (data) { + return request({ + url: '/businessBuyer/blacklist', + method: 'post', + data + }) +} +// 更新积分 +export function updateBuyerCredit (data) { + return request({ + url: '/businessBuyer/updateCredit', + method: 'post', + data + }) +} + +// 更新积分 +export function exportBuyerUser (data) { + return request({ + url: '/businessBuyer/export', + method: 'post', + data, + responseType: 'blob' + }) +} + +// 客户详情查询 +export function customerMageGetById (data) { + return request({ + url: '/businessBuyer/getById', + method: 'post', + data + }) +} + +// 导出标签 +export const excel_platform_label = (data = {}) => { + return request({ + url: 'label/excel_platform_label', + method: 'post', + data, + responseType: 'blob' + }) +} + +// ******标签管理****** +// 标签管理查询 +export function tipsGetAll (data) { + return request({ + url: '/label/getAll', + method: 'post', + data + }) +} +// 添加标签 +export function tipsAdd (data) { + return request({ + url: '/label/save', + method: 'post', + data + }) +} +// 修改标签 +export function tipsUpdate (data) { + return request({ + url: '/label/update', + method: 'post', + data + }) +} + +// 删除标签 +export function tipsDelete (data) { + return request({ + url: '/label/delete', + method: 'post', + data + }) +} +// 标签编辑查询 +export function tipsGetById (data) { + return request({ + url: '/label/getById', + method: 'post', + data + }) +} diff --git a/src/api/member.js b/src/api/member.js new file mode 100644 index 0000000..a547c7c --- /dev/null +++ b/src/api/member.js @@ -0,0 +1,83 @@ +import request from '@/utils/request' + +// ******会员权益****** +// 添加会员权益 +export function addMembership(data) { + return request({ + url: '/membership/save', + method: 'post', + data + }) +} +// 会员权益列表 +export function getMembership(data) { + return request({ + url: '/membership/getAll', + method: 'post', + data + }) +} +// 编辑会员权益 +export function changeMembership(data) { + return request({ + url: '/membership/update', + method: 'post', + data + }) +} +// 会员权益详情查询 +export function getMembershipInfo(data) { + return request({ + url: '/membership/getById', + method: 'post', + data + }) +} +// 删除会员权益 +export function delMembership(data) { + return request({ + url: '/membership/delete', + method: 'post', + data + }) +} +// 会员等级列表查询 +export function getMemberlevel(data) { + return request({ + url: '/memberlevel/getAll', + method: 'post', + data + }) +} +// 编辑会员等级 +export function updateLevel(data) { + return request({ + url: '/memberlevel/update', + method: 'post', + data + }) +} +// 会员等级详情查询 +export function getLevelInfo(data) { + return request({ + url: '/memberlevel/getById', + method: 'post', + data + }) +} +// 会员等级详情查询 +export function addLevel(data) { + return request({ + url: '/memberlevel/save', + method: 'post', + data + }) +} +// 删除会员等级 +export function deleteLevel(data) { + return request({ + url: '/memberlevel/delete', + method: 'post', + data + }) +} diff --git a/src/views/member/equity/index.vue b/src/views/member/equity/index.vue new file mode 100644 index 0000000..212fd7c --- /dev/null +++ b/src/views/member/equity/index.vue @@ -0,0 +1,313 @@ + + + + + + diff --git a/src/views/member/levelList/index.vue b/src/views/member/levelList/index.vue new file mode 100644 index 0000000..7554422 --- /dev/null +++ b/src/views/member/levelList/index.vue @@ -0,0 +1,401 @@ + + + + + + diff --git a/src/views/member/memberList/details.vue b/src/views/member/memberList/details.vue new file mode 100644 index 0000000..5c64c1a --- /dev/null +++ b/src/views/member/memberList/details.vue @@ -0,0 +1,594 @@ + + + + + diff --git a/src/views/member/memberList/index.vue b/src/views/member/memberList/index.vue new file mode 100644 index 0000000..a764157 --- /dev/null +++ b/src/views/member/memberList/index.vue @@ -0,0 +1,433 @@ + + + + + + diff --git a/src/views/member/tips/index.vue b/src/views/member/tips/index.vue new file mode 100644 index 0000000..d25617e --- /dev/null +++ b/src/views/member/tips/index.vue @@ -0,0 +1,281 @@ + + + + + diff --git a/src/views/member/tips/tipsForm.vue b/src/views/member/tips/tipsForm.vue new file mode 100644 index 0000000..a71457d --- /dev/null +++ b/src/views/member/tips/tipsForm.vue @@ -0,0 +1,322 @@ + + + + +