From cacf2c13a91e4a420fe8382b07b0f11d92d81a03 Mon Sep 17 00:00:00 2001 From: zhangrenyuan <18990852002@163.com> Date: Mon, 13 Oct 2025 18:40:58 +0800 Subject: [PATCH 1/2] =?UTF-8?q?style:=E9=87=8D=E7=BD=AE=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E9=9D=A0=E5=90=8E=E5=92=8C=E6=90=9C=E7=B4=A2=E6=A0=8F=E8=A7=84?= =?UTF-8?q?=E6=95=B4=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/audit/bean/beanAudit.vue | 102 +++++------- src/views/audit/gold/rechargeAudit.vue | 3 +- src/views/audit/gold/refundAudit.vue | 131 +++++++-------- src/views/consume/bean/articleVideo.vue | 124 +++++++------- src/views/consume/bean/dieHardFan.vue | 87 +++++----- src/views/consume/bean/liveStream.vue | 92 +++++------ src/views/consume/gold/coinConsumeDetail.vue | 90 +++++------ src/views/history/newHistory.vue | 2 +- src/views/history/oldHistory.vue | 2 +- src/views/permissions/rolePermission.vue | 34 ++-- src/views/permissions/userPermission.vue | 214 ++++++++++++------------- src/views/recharge/bean/beanOnlineRecharge.vue | 110 ++++++------- src/views/recharge/bean/beanRecharge.vue | 4 +- src/views/recharge/bean/beanSystemRecharge.vue | 99 ++++++------ src/views/recharge/gold/coinRechargeDetail.vue | 93 +++++------ src/views/refund/gold/coinRefundDetail.vue | 116 ++++++++------ src/views/usergold/bean/userbean.vue | 94 ++++++----- src/views/usergold/gold/clientCountBalance.vue | 3 +- src/views/usergold/gold/clientCountDetail.vue | 191 ++++++++++++---------- 19 files changed, 771 insertions(+), 820 deletions(-) diff --git a/src/views/audit/bean/beanAudit.vue b/src/views/audit/bean/beanAudit.vue index 780b104..76356ff 100644 --- a/src/views/audit/bean/beanAudit.vue +++ b/src/views/audit/bean/beanAudit.vue @@ -5,12 +5,12 @@
精网号: + style="width: 12vw;margin-right:1vw" clearable />
所属地区: + style="width: 12vw" @change="handleMarketChange" />
@@ -20,16 +20,16 @@ 提交时间: 审核时间: - - - + end-placeholder="结束时间" class="selectContent" style="width: 25vw;margin-right:1vw" + @change="handleDatePickerChange" :default-time="defaultTime" /> + + +
- 重置 查询 + 重置 +
@@ -38,32 +38,20 @@
- + 待审核 - + 已通过 - + 已驳回
- +
总条数:{{ format3(stats.num) }}条     总金豆数:{{ format3(stats.beanNum) }}金豆     @@ -77,15 +65,15 @@ {{ scope.$index + 1 + (pagination.pageNum - 1) * pagination.pageSize }} - - - - - - - - - + + + + + + + + + + prop="operation" label="操作" width="400px"> + type="primary" @click="showRejectDialog(scope.row)"> 驳回
@@ -124,16 +111,14 @@ + v-model:page-size="pagination.pageSize" layout="total, sizes, prev, pager, next, jumper" :total="stats.num" + @size-change="handlePageSizeChange" @current-change="handleCurrentChange">
- + diff --git a/src/views/usergold/bean/userbean.vue b/src/views/usergold/bean/userbean.vue index a8456be..6961dec 100644 --- a/src/views/usergold/bean/userbean.vue +++ b/src/views/usergold/bean/userbean.vue @@ -8,8 +8,8 @@
- 重置 查询 + 重置
@@ -22,11 +22,11 @@ - + @@ -76,13 +76,13 @@ const pagination = ref({ const get = async function () { try { trim() - if(searchObj.value.jwcode){ - const numRef = /^\d{1,9}$/; - if(!numRef.test(searchObj.value.jwcode)){ - ElMessage.error('请检查精网号格式') - return + if (searchObj.value.jwcode) { + const numRef = /^\d{1,9}$/; + if (!numRef.test(searchObj.value.jwcode)) { + ElMessage.error('请检查精网号格式') + return + } } - } const params = { beanUser: { //金豆客户列表 jwcode: searchObj.value.jwcode, //精网号 @@ -107,27 +107,27 @@ const get = async function () { } const getStats = async () => { - try { - const params = { - beanUser:{ - jwcode: searchObj.value.jwcode, - dept: searchObj.value.dept - } + try { + const params = { + beanUser: { + jwcode: searchObj.value.jwcode, + dept: searchObj.value.dept } - const res = await API({ - url: '/beanUser/userBeanSum', - data: params - }) - - stats.value.sumBean = res.data.sumBean - stats.value.permanentBean = res.data.permanentBean - stats.value.freeBean = res.data.freeBean - stats.value.consumeSum = res.data.consumeSum - console.log('see see stats和搜索对象', stats.value, params) - } catch (error) { - console.log('请求失败', error) } + const res = await API({ + url: '/beanUser/userBeanSum', + data: params + }) + + stats.value.sumBean = res.data.sumBean + stats.value.permanentBean = res.data.permanentBean + stats.value.freeBean = res.data.freeBean + stats.value.consumeSum = res.data.consumeSum + console.log('see see stats和搜索对象', stats.value, params) + } catch (error) { + console.log('请求失败', error) } +} const handleSortChange = (column) => { if (column.prop === 'beanNum') { searchObj.value.sortField = 'jinbi' @@ -141,7 +141,7 @@ const handleSortChange = (column) => { searchObj.value.sortField = '' } searchObj.value.sortOrder = column.order === 'ascending' ? 'asc' : 'desc' - console.log('排序字段:', searchObj.value.sortField,'排序方式:', searchObj.value.sortOrder) + console.log('排序字段:', searchObj.value.sortField, '排序方式:', searchObj.value.sortOrder) search() } const getmarkets = async () => { @@ -189,32 +189,31 @@ onMounted(() => { \ No newline at end of file diff --git a/src/views/usergold/gold/clientCountBalance.vue b/src/views/usergold/gold/clientCountBalance.vue index cabc15d..0e8d832 100644 --- a/src/views/usergold/gold/clientCountBalance.vue +++ b/src/views/usergold/gold/clientCountBalance.vue @@ -397,9 +397,9 @@ const format3 = (num) => { 员工数据 查询 - 重置 导出Excel 查看导出列表 + 重置 @@ -544,7 +544,6 @@ const format3 = (num) => { From df6f5bb12de6b2f16edeecf0129e5890e183f7e0 Mon Sep 17 00:00:00 2001 From: zhangrenyuan <18990852002@163.com> Date: Tue, 14 Oct 2025 10:34:53 +0800 Subject: [PATCH 2/2] =?UTF-8?q?style:=E9=87=91=E5=B8=81=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=9A=84=E6=A0=B7=E5=BC=8F=E5=9F=BA=E6=9C=AC=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/history/newHistory.vue | 45 +++++++++++++++++++++++++-- src/views/history/oldHistory.vue | 45 +++++++++++++++++++++++++-- src/views/home.vue | 1 + src/views/refund/gold/coinRefundDetail.vue | 5 ++- src/views/usergold/bean/userbean.vue | 15 +++++---- src/views/usergold/gold/clientCountDetail.vue | 14 ++++++--- 6 files changed, 106 insertions(+), 19 deletions(-) diff --git a/src/views/history/newHistory.vue b/src/views/history/newHistory.vue index d569f89..a592369 100644 --- a/src/views/history/newHistory.vue +++ b/src/views/history/newHistory.vue @@ -1,5 +1,5 @@