总条数:{{ 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
查看导出列表
+ 重置