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 }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
{{ moment(row.createTime).format('YYYY-MM-DD HH:mm:ss') }}
@@ -97,13 +85,13 @@
+ prop="operation" label="操作" width="400px">
+ :disabled="clicked || cancelClicked" type="primary">
通过
@@ -115,8 +103,7 @@
+ 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">
-
+
@@ -145,21 +130,21 @@
-
-
-
- 精网号:
-
-
-
- 商品名称:
-
-
-
-
-
- 所属地区:
-
-
-
- 退款类型:
-
-
-
-
-
+
+
+
+
+ 精网号:
+
+
+
+ 商品名称:
+
+
+
+
+
+ 所属地区:
+
+
+
+ 退款类型:
+
+
+
+
员工数据
-
-
-
-
-
退款时间:
-
-
+
+
+
+
+ 退款时间:
+
+
今
- 昨
-
+
近7天
-
- 重置
+
+
查询
导出Excel
查看导出列表
+ 重置
-
-
+
+
@@ -577,7 +583,7 @@ const getMarket = async function () {
-
+
{{ scope.row.refundModel === 0 ? '全部退款' : scope.row.refundModel === 1 ? '部分退款' : '' }}
@@ -638,8 +644,6 @@ const getMarket = async function () {
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 @@
-
- {{
- scope.$index + 1 + (pagination.pageNum - 1) * pagination.pageSize
- }}
-
+
+ {{
+ scope.$index + 1 + (pagination.pageNum - 1) * pagination.pageSize
+ }}
+
@@ -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 @@
-
+
姓名:
@@ -16,7 +16,7 @@
重置
-
+
@@ -116,4 +116,43 @@ const handleCurrentChange = function (val) {
}
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/views/history/oldHistory.vue b/src/views/history/oldHistory.vue
index 5556210..a0e0114 100644
--- a/src/views/history/oldHistory.vue
+++ b/src/views/history/oldHistory.vue
@@ -1,5 +1,5 @@
-
+
姓名:
@@ -16,7 +16,7 @@
重置
-
+
@@ -114,4 +114,43 @@ const handleCurrentChange = function (val) {
}
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/views/home.vue b/src/views/home.vue
index f793730..b87f533 100644
--- a/src/views/home.vue
+++ b/src/views/home.vue
@@ -180,6 +180,7 @@ function logout() {
+ 数据刷新
查看个人信息
修改密码
退出登录
diff --git a/src/views/refund/gold/coinRefundDetail.vue b/src/views/refund/gold/coinRefundDetail.vue
index f9ae1e0..5f19905 100644
--- a/src/views/refund/gold/coinRefundDetail.vue
+++ b/src/views/refund/gold/coinRefundDetail.vue
@@ -566,8 +566,8 @@ const getMarket = async function () {
任务金币:{{ format3(Math.abs(taskGolds).toFixed(2)) }}
-
-
+
+
{{
@@ -580,7 +580,6 @@ const getMarket = async function () {
-
diff --git a/src/views/usergold/bean/userbean.vue b/src/views/usergold/bean/userbean.vue
index 6961dec..e21a1c4 100644
--- a/src/views/usergold/bean/userbean.vue
+++ b/src/views/usergold/bean/userbean.vue
@@ -21,7 +21,7 @@
消费金豆总数:{{ format3(stats.consumeSum) }}金豆
-
+
{{
scope.$index + 1 + (pagination.pageNum - 1) * pagination.pageSize
@@ -29,7 +29,7 @@
-
+
@@ -37,10 +37,13 @@
-
+
+
diff --git a/src/views/usergold/gold/clientCountDetail.vue b/src/views/usergold/gold/clientCountDetail.vue
index 516e490..31fcee1 100644
--- a/src/views/usergold/gold/clientCountDetail.vue
+++ b/src/views/usergold/gold/clientCountDetail.vue
@@ -527,9 +527,9 @@ const format3 = (num) => {
任务金币:{{ format3(totalTaskGold || 0) }}
当前合计仅显示筛选范围内的金币净变化(充值总额 - 消费总额 + 退款总额)
-
-
-
+
+
+
{{
scope.$index + 1 + (getObj.pageNum - 1) * getObj.pageSize
@@ -582,7 +582,7 @@ const format3 = (num) => {
-