From 68867b1e8196b531eee540c12e32b43ffe4e3bb8 Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Fri, 21 Nov 2025 22:46:26 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/moneyManage/receiveDetail/receiveDetail1.vue | 1 - src/views/moneyManage/receiveDetail/receiveFinance.vue | 1 - src/views/moneyManage/receiveDetail/receiveHead.vue | 1 - src/views/moneyManage/receiveDetail/receiveManage.vue | 1 - 4 files changed, 4 deletions(-) diff --git a/src/views/moneyManage/receiveDetail/receiveDetail1.vue b/src/views/moneyManage/receiveDetail/receiveDetail1.vue index d3cb174..9dd27e9 100644 --- a/src/views/moneyManage/receiveDetail/receiveDetail1.vue +++ b/src/views/moneyManage/receiveDetail/receiveDetail1.vue @@ -714,7 +714,6 @@ const getTime = ref([]) const search = () => { getlist() - ElMessage.success('查询成功') } const reset = () => { searchData.value = {} diff --git a/src/views/moneyManage/receiveDetail/receiveFinance.vue b/src/views/moneyManage/receiveDetail/receiveFinance.vue index 59706cc..ced3576 100644 --- a/src/views/moneyManage/receiveDetail/receiveFinance.vue +++ b/src/views/moneyManage/receiveDetail/receiveFinance.vue @@ -997,7 +997,6 @@ const submitRefund = async () => { // 2.2 搜索与重置 const search = () => { getlist(); - ElMessage.success('查询成功'); }; const reset = () => { diff --git a/src/views/moneyManage/receiveDetail/receiveHead.vue b/src/views/moneyManage/receiveDetail/receiveHead.vue index 0320d88..521e423 100644 --- a/src/views/moneyManage/receiveDetail/receiveHead.vue +++ b/src/views/moneyManage/receiveDetail/receiveHead.vue @@ -878,7 +878,6 @@ const submitRefund = async () => { // 2.2 搜索与重置 const search = () => { getlist(); - ElMessage.success('查询成功'); }; const reset = () => { diff --git a/src/views/moneyManage/receiveDetail/receiveManage.vue b/src/views/moneyManage/receiveDetail/receiveManage.vue index b5c2ed0..a168426 100644 --- a/src/views/moneyManage/receiveDetail/receiveManage.vue +++ b/src/views/moneyManage/receiveDetail/receiveManage.vue @@ -993,7 +993,6 @@ const submitRefund = async () => { // 2.2 搜索与重置 const search = () => { getlist(); - ElMessage.success('查询成功'); }; const reset = () => { From 3aef566c83d3aea0f89fcc4980fd743404463a59 Mon Sep 17 00:00:00 2001 From: lihuilin Date: Wed, 26 Nov 2025 09:26:58 +0800 Subject: [PATCH 2/7] bug --- src/views/moneyManage/refundDetail/refundCharge.vue | 4 ++-- .../moneyManage/refundDetail/refundFinance.vue | 4 ++-- src/views/moneyManage/refundDetail/refundHeader.vue | 4 ++-- .../moneyManage/refundDetail/refundService.vue | 21 +++++++++++++++++++++ 4 files changed, 27 insertions(+), 6 deletions(-) diff --git a/src/views/moneyManage/refundDetail/refundCharge.vue b/src/views/moneyManage/refundDetail/refundCharge.vue index 5a64898..865886b 100644 --- a/src/views/moneyManage/refundDetail/refundCharge.vue +++ b/src/views/moneyManage/refundDetail/refundCharge.vue @@ -117,11 +117,11 @@
永久金币 -  个 +  个
免费金币 -  个 +  个
退款理由 diff --git a/src/views/moneyManage/refundDetail/refundFinance.vue b/src/views/moneyManage/refundDetail/refundFinance.vue index 7a4b1de..5a5eb87 100644 --- a/src/views/moneyManage/refundDetail/refundFinance.vue +++ b/src/views/moneyManage/refundDetail/refundFinance.vue @@ -116,11 +116,11 @@
永久金币 -  个 +  个
免费金币 -  个 +  个
退款理由 diff --git a/src/views/moneyManage/refundDetail/refundHeader.vue b/src/views/moneyManage/refundDetail/refundHeader.vue index fd0d6cb..734000e 100644 --- a/src/views/moneyManage/refundDetail/refundHeader.vue +++ b/src/views/moneyManage/refundDetail/refundHeader.vue @@ -117,11 +117,11 @@
永久金币 -  个 +  个
免费金币 -  个 +  个
退款理由 diff --git a/src/views/moneyManage/refundDetail/refundService.vue b/src/views/moneyManage/refundDetail/refundService.vue index e763ee4..bac3cf2 100644 --- a/src/views/moneyManage/refundDetail/refundService.vue +++ b/src/views/moneyManage/refundDetail/refundService.vue @@ -369,6 +369,27 @@ const submitEdit = async function () { } try { console.log(editRow.value) + if(!editForm.value.refundModel) { + ElMessage.error('请选择退款方式') + return + }else if(!editForm.value.refundReason) { + ElMessage.error('请输入退款理由') + return + }else if(editForm.value.refundModel == 1 && (!editForm.value.partRefundGold || !editForm.value.partRefundFree)) { + ElMessage.error('请输入退款金币数和免费金币数') + return + }else if (editForm.value.refundModel == 1 && (editForm.value.partRefundGold || editForm.value.partRefundFree)) { + const isPositiveInteger = /^[1-9]\d*$/.test(editForm.value.partRefundGold) + if (!isPositiveInteger) { + ElMessage.error('请输入正确的永久金币数') + return + } + const isPositiveInteger1 = /^[1-9]\d*$/.test(editForm.value.partRefundFree) + if (!isPositiveInteger1) { + ElMessage.error('请输入正确的免费金币数') + return + } + } let params = { id: editRow.value.id, status: editRow.value.status, From 1f777f76a41dbcd4a98bc7882417ce554b4b9300 Mon Sep 17 00:00:00 2001 From: lihuilin Date: Thu, 27 Nov 2025 11:34:16 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/activityManage/activity.vue | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/views/activityManage/activity.vue b/src/views/activityManage/activity.vue index bc74406..13c5c28 100644 --- a/src/views/activityManage/activity.vue +++ b/src/views/activityManage/activity.vue @@ -193,6 +193,10 @@ const editForm = ref({ }) const marketOptions = ref([]) const getActivity = async function () { + if (!hasMenuPermission(permissionMapping.view_activity)) { + ElMessage.error('无此权限') + return + } const rechargeActivity = { activityName: searchForm.value.activityName, businessBelong: searchForm.value.businessBelong, @@ -219,6 +223,10 @@ const getActivity = async function () { } } const handleAdd = async function () { + if (!hasMenuPermission(permissionMapping.add_activity)) { + ElMessage.error('无此权限') + return + } const activityName = addForm.value.activityName if (!validateActivityName(activityName)) return @@ -274,6 +282,10 @@ const handleAdd = async function () { // 新增节流 const throttleGetActivity = _.throttle(handleAdd, 5000, { trailing: false }); const handleEdit = async function () { + if (!hasMenuPermission(permissionMapping.edit_activity)) { + ElMessage.error('无此权限') + return + } const activityName = editForm.value.activityName if (!validateActivityName(activityName)) return @@ -323,6 +335,10 @@ const handleEdit = async function () { } } const handleDel = async function (row) { + if (!hasMenuPermission(permissionMapping.delete_activity)) { + ElMessage.error('无此权限') + return + } if (!currentDelRow.value) { ElMessage.error('当前选择无数据') return From b33c9f01378311f44871b8034cbcd129fdc82a01 Mon Sep 17 00:00:00 2001 From: lihui Date: Thu, 27 Nov 2025 13:19:06 +0800 Subject: [PATCH 4/7] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=20=E9=87=91?= =?UTF-8?q?=E5=B8=81=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97=E7=9A=84=E9=93=81?= =?UTF-8?q?=E7=B2=89=E5=92=8C=E7=9B=B4=E6=92=AD=E6=B2=A1=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/consume/bean/articleVideo.vue | 6 +- src/views/consume/bean/dieHardFan.vue | 5 +- src/views/consume/bean/liveStream.vue | 102 ++-- src/views/workspace/index_.vue | 911 -------------------------------- 4 files changed, 63 insertions(+), 961 deletions(-) delete mode 100644 src/views/workspace/index_.vue diff --git a/src/views/consume/bean/articleVideo.vue b/src/views/consume/bean/articleVideo.vue index 5e3e238..5ea2851 100644 --- a/src/views/consume/bean/articleVideo.vue +++ b/src/views/consume/bean/articleVideo.vue @@ -195,7 +195,9 @@ const ConsumeSelectBy = async function (val) { endTime: beanConsumeArticle.value.endTime, sortField: beanConsumeArticle.value.sortField, sortOrder: beanConsumeArticle.value.sortOrder, - flag: flag.value + flag: flag.value , + roleId: adminData.value.roleId + } } }) @@ -394,6 +396,8 @@ const exportExcel = async function () { ...beanConsumeArticle.value, sortField: sortField.value, sortOrder: sortOrder.value, + roleId: adminData.value.roleId + }, } const res = await API({ url: '/export/exportArticle', data: params }) diff --git a/src/views/consume/bean/dieHardFan.vue b/src/views/consume/bean/dieHardFan.vue index 1984a67..8e6fbf9 100644 --- a/src/views/consume/bean/dieHardFan.vue +++ b/src/views/consume/bean/dieHardFan.vue @@ -196,7 +196,8 @@ const ConsumeSelectBy = async function (val) { endTime: beanConsumeFan.value.endTime || '', sortField: beanConsumeFan.value.sortField || 'consumeTime', sortOrder: beanConsumeFan.value.sortOrder || 'desc', - flag: flag.value + flag: flag.value, + roleId: adminData.value.roleId } } }) @@ -398,6 +399,8 @@ const exportExcel = async function () { ...beanConsumeFan.value, sortField: sortField.value, sortOrder: sortOrder.value, + roleId: adminData.value.roleId + }, } const res = await API({ url: '/export/exportFan', data: params }) diff --git a/src/views/consume/bean/liveStream.vue b/src/views/consume/bean/liveStream.vue index b700ae2..9dd6326 100644 --- a/src/views/consume/bean/liveStream.vue +++ b/src/views/consume/bean/liveStream.vue @@ -1,16 +1,17 @@ - - \ No newline at end of file From 52dd3354ff1f50184ac3d0c76ae9483d869e4eba Mon Sep 17 00:00:00 2001 From: lihui Date: Thu, 27 Nov 2025 13:28:59 +0800 Subject: [PATCH 5/7] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=20=E9=A2=91?= =?UTF-8?q?=E9=81=93=E7=AE=A1=E7=90=86=E7=9A=84=E9=93=81=E7=B2=89=E5=92=8C?= =?UTF-8?q?=E7=9B=B4=E6=92=AD=E6=B2=A1=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/channelManage/cart/cart.vue | 3 +++ src/views/channelManage/fans/fans.vue | 2 ++ src/views/channelManage/reward/reward.vue | 4 +++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/channelManage/cart/cart.vue b/src/views/channelManage/cart/cart.vue index 67c097e..c5f02a4 100644 --- a/src/views/channelManage/cart/cart.vue +++ b/src/views/channelManage/cart/cart.vue @@ -156,6 +156,7 @@ const searchCart = async function () { ...beanCart.value, sortField: sortField.value, sortOrder: sortOrder.value, + roleId: adminData.value.roleId } } }) @@ -282,6 +283,8 @@ const exportExcel = async function () { ...beanCart.value, sortField: sortField.value, sortOrder: sortOrder.value, + roleId: adminData.value.roleId + }, } const res = await API({ url: '/export/exportArticle', data: params }) diff --git a/src/views/channelManage/fans/fans.vue b/src/views/channelManage/fans/fans.vue index 7d66e1d..7d57c14 100644 --- a/src/views/channelManage/fans/fans.vue +++ b/src/views/channelManage/fans/fans.vue @@ -399,6 +399,8 @@ const exportExcel = async function () { ...beanConsumeFan.value, sortField: sortField.value, sortOrder: sortOrder.value, + roleId: adminData.value.roleId + }, } const res = await API({ url: '/export/exportFan', data: params }) diff --git a/src/views/channelManage/reward/reward.vue b/src/views/channelManage/reward/reward.vue index 697e9c9..c954418 100644 --- a/src/views/channelManage/reward/reward.vue +++ b/src/views/channelManage/reward/reward.vue @@ -419,7 +419,9 @@ const exportExcel = async function () { startTime: beanConsumeLive.value.startTime || '', endTime: beanConsumeLive.value.endTime || '', sortField: sortField.value || 'consumeTime', - sortOrder: sortOrder.value || 'desc' + sortOrder: sortOrder.value || 'desc', + roleId: adminData.value.roleId + } } // 打印请求参数,方便调试 From eee0b0f6d2d19b33acf32218139a5dd7c3fb2e51 Mon Sep 17 00:00:00 2001 From: lihuilin Date: Thu, 27 Nov 2025 15:18:01 +0800 Subject: [PATCH 6/7] aa --- src/views/activityManage/activity.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/activityManage/activity.vue b/src/views/activityManage/activity.vue index 13c5c28..d3dd5d3 100644 --- a/src/views/activityManage/activity.vue +++ b/src/views/activityManage/activity.vue @@ -193,7 +193,7 @@ const editForm = ref({ }) const marketOptions = ref([]) const getActivity = async function () { - if (!hasMenuPermission(permissionMapping.view_activity)) { + if (!hasMenuPermission(menuTree.value,permissionMapping.view_activity)) { ElMessage.error('无此权限') return } @@ -223,7 +223,7 @@ const getActivity = async function () { } } const handleAdd = async function () { - if (!hasMenuPermission(permissionMapping.add_activity)) { + if (!hasMenuPermission(menuTree.value,permissionMapping.add_activity)) { ElMessage.error('无此权限') return } @@ -282,7 +282,7 @@ const handleAdd = async function () { // 新增节流 const throttleGetActivity = _.throttle(handleAdd, 5000, { trailing: false }); const handleEdit = async function () { - if (!hasMenuPermission(permissionMapping.edit_activity)) { + if (!hasMenuPermission(menuTree.value,permissionMapping.edit_activity)) { ElMessage.error('无此权限') return } @@ -335,7 +335,7 @@ const handleEdit = async function () { } } const handleDel = async function (row) { - if (!hasMenuPermission(permissionMapping.delete_activity)) { + if (!hasMenuPermission(menuTree.value,permissionMapping.delete_activity)) { ElMessage.error('无此权限') return } From 98db0f7bb4be85d3257054de0f3865502ac40914 Mon Sep 17 00:00:00 2001 From: lihui Date: Thu, 27 Nov 2025 15:21:48 +0800 Subject: [PATCH 7/7] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=20=E5=91=98?= =?UTF-8?q?=E5=B7=A5=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/channelManage/fans/fans.vue | 1 + src/views/channelManage/reward/reward.vue | 3 ++- src/views/consume/bean/articleVideo.vue | 3 ++- src/views/consume/bean/dieHardFan.vue | 3 ++- src/views/consume/bean/liveStream.vue | 4 +++- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/views/channelManage/fans/fans.vue b/src/views/channelManage/fans/fans.vue index 7d57c14..41f4887 100644 --- a/src/views/channelManage/fans/fans.vue +++ b/src/views/channelManage/fans/fans.vue @@ -399,6 +399,7 @@ const exportExcel = async function () { ...beanConsumeFan.value, sortField: sortField.value, sortOrder: sortOrder.value, + flag: flag.value, roleId: adminData.value.roleId }, diff --git a/src/views/channelManage/reward/reward.vue b/src/views/channelManage/reward/reward.vue index c954418..43b0d48 100644 --- a/src/views/channelManage/reward/reward.vue +++ b/src/views/channelManage/reward/reward.vue @@ -420,7 +420,8 @@ const exportExcel = async function () { endTime: beanConsumeLive.value.endTime || '', sortField: sortField.value || 'consumeTime', sortOrder: sortOrder.value || 'desc', - roleId: adminData.value.roleId + roleId: adminData.value.roleId, + flag: flag.value, } } diff --git a/src/views/consume/bean/articleVideo.vue b/src/views/consume/bean/articleVideo.vue index 5ea2851..a52c598 100644 --- a/src/views/consume/bean/articleVideo.vue +++ b/src/views/consume/bean/articleVideo.vue @@ -396,7 +396,8 @@ const exportExcel = async function () { ...beanConsumeArticle.value, sortField: sortField.value, sortOrder: sortOrder.value, - roleId: adminData.value.roleId + roleId: adminData.value.roleId, + flag: flag.value, }, } diff --git a/src/views/consume/bean/dieHardFan.vue b/src/views/consume/bean/dieHardFan.vue index 8e6fbf9..aba8f1f 100644 --- a/src/views/consume/bean/dieHardFan.vue +++ b/src/views/consume/bean/dieHardFan.vue @@ -399,7 +399,8 @@ const exportExcel = async function () { ...beanConsumeFan.value, sortField: sortField.value, sortOrder: sortOrder.value, - roleId: adminData.value.roleId + roleId: adminData.value.roleId, + flag: flag.value, }, } diff --git a/src/views/consume/bean/liveStream.vue b/src/views/consume/bean/liveStream.vue index 9dd6326..fc237ce 100644 --- a/src/views/consume/bean/liveStream.vue +++ b/src/views/consume/bean/liveStream.vue @@ -421,7 +421,9 @@ const exportExcel = async function () { endTime: beanConsumeLive.value.endTime || '', sortField: sortField.value || 'consumeTime', sortOrder: sortOrder.value || 'desc', - roleId: adminData.value.roleId + roleId: adminData.value.roleId, + flag: flag.value, + } }