+
充值时间:
{
range-separator="至"
start-placeholder="起始时间"
end-placeholder="结束时间"
+ style="width: 400px"
/>
- 今
- 昨
- 近7天
+ 今
+ 昨
+ 近7天
-
-
-
- 重置
- 查询
+
+
+
+
+ 重置
+ 查询
+
+
+
+
+
+ 显示列:
+
+
+
@@ -664,12 +659,7 @@ const trimJwCode = () => {
-
+
@@ -677,162 +667,66 @@ const trimJwCode = () => {
总条数:{{ trueCount }}条,总金币数:{{
- formattedTrueGold
- }}金币,永久金币:{{ formattedTrueRGold }}金币,免费金币:{{ formattedTrueFGold }}金币
+ formattedTrueGold
+ }}金币,永久金币:{{ formattedTrueRGold }}金币,免费金币:{{ formattedTrueFGold }}金币
-
-
+
+
{{
scope.$index + 1 + (getObj.pageNum - 1) * getObj.pageSize
}}
-
-
-
-
-
-
- {{ scope.row.rechargeGold }}
-
-
-
-
-
- {{ scope.row.paidGold / 100 }}
-
-
-
-
- {{ scope.row.freeGold / 100 }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 已通过
-
-
-
-
-
- 待审核
-
-
-
-
-
- 已驳回
-
-
-
-
-
-
-
- {{
- moment(scope.row.rechargeTime).format('YYYY-MM-DD HH:mm:ss')
- }}
-
-
-
-
+
+
+
+
+
+
+ {{ moment(scope.row.rechargeTime).format('YYYY-MM-DD HH:mm:ss') }}
+
+
+ {{ scope.row[col.prop] }}
+
+
+
+
+
+
+
+ {{
+ scope.row.status === 1 ? '已通过' :
+ scope.row.status === 0 ? '待审核' : '已驳回'
+ }}
+
+
+
+ {{ scope.row[col.prop] / 100 }}
+
+
+ {{ scope.row[col.prop] }}
+
+
+
+
+
-
+
-
+
通过
@@ -843,16 +737,10 @@ const trimJwCode = () => {
-
+
驳回
@@ -863,44 +751,21 @@ const trimJwCode = () => {
-
+
-
+
-
+
@@ -917,23 +782,65 @@ const trimJwCode = () => {
display: flex;
}
-.status {
+.operation {
display: flex;
}
-.operation {
+.green-dot {
+ background-color: #67C23A;
+}
+
+.grey-dot {
+ background-color: #909399;
+}
+
+.red-dot {
+ background-color: #F56C6C;
+}
+
+.time-controls {
+ display: flex;
+ align-items: center;
+}
+
+.time-group {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+}
+
+.quick-buttons {
display: flex;
+ align-items: center;
}
-.head-card {
+.status {
display: flex;
+ align-items: center; /* 确保子元素垂直居中对齐 */
+ gap: 6px; /* 设置圆点和文字之间的间距 */
}
-.head-card-element {
- margin-right: 20px;
+.green-dot, .grey-dot, .red-dot {
+ display: inline-block;
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ flex-shrink: 0; /* 防止圆点在空间不足时缩小 */
+ margin: 0; /* 移除原有的 margin-right */
}
-.head-card-btn {
- margin-left: auto;
+/* 备注列样式 */
+.remark-cell {
+ display: block;
+ width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+/* 设置单元格内容溢出隐藏 */
+.el-table .el-table__cell {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
diff --git a/gold-system/src/views/audit/refundAudit.vue b/gold-system/src/views/audit/refundAudit.vue
index 4141fef..e0d5d7b 100644
--- a/gold-system/src/views/audit/refundAudit.vue
+++ b/gold-system/src/views/audit/refundAudit.vue
@@ -582,7 +582,7 @@ const trimJwCode = () => {
-
充值时间:
+
退款时间:
{
+ // 这里可以根据需求添加额外逻辑,比如验证输入值是否有效
+ // 目前直接将输入值同步到 v-model 绑定的值上
+ if (value) {
+ // 若选择的是商品名称
+ if (addConsume.value.productName === value) {
+ addConsume.value.productName = value;
+ }
+ // 若选择的是指标名称
+ else if (indexs.value.name === value) {
+ indexs.value.name = value;
+ }
+ }
+};
@@ -355,11 +370,15 @@ onMounted(async function () {
label="商品名称"
style="float: left; margin-right: -30px"
>
-
{{ user.rechargeTimes }}
-
+
{{ user.spendTimes }}
diff --git a/gold-system/src/views/goldBeen/goldenBeenConsum.vue b/gold-system/src/views/goldBeen/goldenBeenConsum.vue
index 8a1ad11..52407ac 100644
--- a/gold-system/src/views/goldBeen/goldenBeenConsum.vue
+++ b/gold-system/src/views/goldBeen/goldenBeenConsum.vue
@@ -298,7 +298,6 @@ const get7Days = function () {
detailY.value.endTime = endDate
search()
}
-
//初始化
const getInit = async function () {
try {
@@ -339,6 +338,7 @@ const trimJwCode = () => {
detailY.value.sourceName = detailY.value.sourceName.replace(/\s/g, '');
}
}
+
// 搜索
const search = function () {
trimJwCode();
diff --git a/gold-system/src/views/goldBeen/goldenBeenDetail.vue b/gold-system/src/views/goldBeen/goldenBeenDetail.vue
index a283774..2bae3ba 100644
--- a/gold-system/src/views/goldBeen/goldenBeenDetail.vue
+++ b/gold-system/src/views/goldBeen/goldenBeenDetail.vue
@@ -342,7 +342,7 @@ const doExportExcel = async () => {
return
}
- const pageSize = 100 // 每批次获取 100 条数据
+ const pageSize = 5000 // 每批次获取 100 条数据
const totalPages = Math.ceil(totalExport.value / pageSize)
for (let page = 1; page <= totalPages; page++) {
@@ -374,9 +374,10 @@ const doExportExcel = async () => {
}
if (isExporting.value) {
- // 导出的数据将字段映射
- const exportData = allExportData.map((item) => {
+ // 导出的数据将字段映射,添加序号列
+ const exportData = allExportData.map((item, index) => {
return {
+ 序号: index + 1, // 添加序号列
姓名: item.nickname,
精网号: item.jwcode,
地区: item.ipAddress,
@@ -466,6 +467,7 @@ const get7Days = function () {
detailY.value.endTime = endDate
search()
}
+//获取地区接口
const getArea = async () => {
try {
const result = await API({
@@ -504,6 +506,11 @@ const platformList = ref([
// '金币系统'
])
const typeList = ref([
+ '金币换金豆',
+ '金币换免费金豆',
+ '赠送金豆',
+ '购买金豆',
+ '客服操作'
])
//搜索表单数据
const detailY = ref({
@@ -512,8 +519,8 @@ const detailY = ref({
orderNo: '',
payStyle: '',
type: '',
- startTime: '',
- endTime: ''
+ startTime:'',
+ endTime:''
})
const getObj = ref({
pageNum: 1,
@@ -605,6 +612,9 @@ const getInit = async function (
) {
try {
console.log('搜索参数', getObj.value)
+ const startTime = detailY.value.startTime
+ const endTime = detailY.value.endTime
+ console.log(startTime, endTime)
// 发送POST请求
const result = await API({
url: '/dou/getPay',
diff --git a/gold-system/src/views/goldBeen/onLineDetail.vue b/gold-system/src/views/goldBeen/onLineDetail.vue
index 09c699a..efff201 100644
--- a/gold-system/src/views/goldBeen/onLineDetail.vue
+++ b/gold-system/src/views/goldBeen/onLineDetail.vue
@@ -81,6 +81,9 @@
查询
重置
+
+
+
导出excel
@@ -264,7 +267,7 @@ const getObj = ref({
pageNum: 1,
pageSize: 50
})
-
+// 这是重置的参数,虽然不知道为什么要这个参数
const ruleFormRef = ref()
// 初始化
@@ -372,6 +375,11 @@ const getPayType = async () => {
// 获取金豆数接口
const getCount = async () => {
try {
+ // let startTime = ''
+ // let endTime = ''
+ // if (Array.isArray(detailY.value.createTime) && detailY.value.createTime.length === 2) {
+ // [startTime, endTime] = detailY.value.createTime
+ // }
const result = await API({
url: '/dou/getRechargeTotal',
data: {
@@ -424,6 +432,14 @@ const doExportExcel = async () => {
exportProgress.value = 0
allExportData = []
+ // let startTime = ''
+ // let endTime = ''
+ // if (Array.isArray(detailY.value.createTime) && detailY.value.createTime.length === 2) {
+ // [startTime, endTime] = detailY.value.createTime
+ // }
+ // startTime = detailY.value.startTime
+ // endTime = detailY.value.endTime
+
// 获取总数据量
const totalResult = await API({
url: '/dou/SearchPay',
@@ -449,7 +465,7 @@ const doExportExcel = async () => {
return
}
- const pageSize = 100 // 每批次获取 100 条数据
+ const pageSize = 1000 // 每批次获取 100 条数据
const totalPages = Math.ceil(totalExport.value / pageSize)
for (let page = 1; page <= totalPages; page++) {
@@ -478,9 +494,10 @@ const doExportExcel = async () => {
}
if (isExporting.value) {
- // 导出的数据将字段映射
- const exportData = allExportData.map((item) => {
+ // 导出的数据将字段映射,添加序号列
+ const exportData = allExportData.map((item, index) => {
return {
+ 序号: index + 1, // 添加序号列
姓名: item.name,
精网号: item.jwcode,
地区: item.deptName,
@@ -507,7 +524,7 @@ const doExportExcel = async () => {
ElMessage.success('导出成功')
}
} catch (error) {
- if (error.message === '导出已取消') {
+ if (error instanceof Error && error.message === '导出已取消') {
return
}
console.log('导出失败', error)
@@ -559,4 +576,7 @@ onMounted(() => {
}
+<<<<<<< HEAD
+=======
+>>>>>>> 703486fc8c3f87173c028d61161e502a2e07fdfc
diff --git a/gold-system/src/views/index.vue b/gold-system/src/views/index.vue
index 255aa35..ea52a3f 100644
--- a/gold-system/src/views/index.vue
+++ b/gold-system/src/views/index.vue
@@ -157,7 +157,7 @@ const changeDataByArea = (item) => {
充值管理
- 活动管理
+
汇率管理
@@ -225,7 +225,7 @@ const changeDataByArea = (item) => {
退款明细
-
+
- 时间:
-
- 今
- 昨
- 近7天
-
- 查询
- 重置
+
+
+
+ 开始时间:
+
+
+
+
+
+ 结束时间:
+
+
+
+
+ 今
+ 昨
+ 近7天
+
+
+ 查询
+ 重置
+
+
diff --git a/gold-system/src/views/permissions/index.vue b/gold-system/src/views/permissions/index.vue
index 216eab3..7e4aeca 100644
--- a/gold-system/src/views/permissions/index.vue
+++ b/gold-system/src/views/permissions/index.vue
@@ -531,7 +531,7 @@ const handleCurrentChange = function (val) {
修改权限
@@ -869,6 +869,7 @@ const handleCurrentChange = function (val) {