diff --git a/dist.rar b/dist.rar
index e0f22c1..7f6c875 100644
Binary files a/dist.rar and b/dist.rar differ
diff --git a/src/api/super/platform.js b/src/api/super/platform.js
index a079195..c04dda6 100644
--- a/src/api/super/platform.js
+++ b/src/api/super/platform.js
@@ -88,6 +88,16 @@ export function createGameuUpdateStatus(data) {
params: query
})
}
+
+ //一键同步
+ export function getSuperGameSync(query) {
+ return request({
+ url: '/super/game/sync',
+ method: 'get',
+ params: query
+ })
+ }
+
//货币修改
export function updatePlatformCurrency(data) {
return request({
diff --git a/src/api/super/tenant.js b/src/api/super/tenant.js
index f345a2c..bacd623 100644
--- a/src/api/super/tenant.js
+++ b/src/api/super/tenant.js
@@ -31,6 +31,13 @@ export function createTenantCreate(data) {
data: data
})
}
+ //重置密钥
+ export function updateSuperResetSecret(id) {
+ return request({
+ url: `/super/tenant/resetSecret?id=${id}`,
+ method: 'get',
+ })
+ }
//谷歌验证解除
export function updateSuperResetGoogleCode(data) {
return request({
diff --git a/src/views/commissionList/abnormalOrders/index.vue b/src/views/commissionList/abnormalOrders/index.vue
index d8caa84..0a1e671 100644
--- a/src/views/commissionList/abnormalOrders/index.vue
+++ b/src/views/commissionList/abnormalOrders/index.vue
@@ -2,6 +2,7 @@
+
-
-
-
@@ -136,8 +132,10 @@
diff --git a/src/views/commissionList/agentCommissionReport/index.vue b/src/views/commissionList/agentCommissionReport/index.vue
index 0ccf8b1..394d800 100644
--- a/src/views/commissionList/agentCommissionReport/index.vue
+++ b/src/views/commissionList/agentCommissionReport/index.vue
@@ -2,6 +2,7 @@
+
-->
-
-
-
@@ -152,6 +148,7 @@
import { listCommission,getCommissionInfo,updateAgentCommission } from "@/api/commission";
import { superAgentWithdrawalList,updateSuperAgentWithdrawalApprove } from "@/api/super/commissionList";
import Crontab from '@/components/Crontab'
+ import TableSearchDate from '@/components/TableSearchDate'
import CustomSelect from '@/components/CustomSelect'
import { parseTime } from '@/utils/ruoyi'; // 时间格式化
import { id } from "element-plus/es/locales.mjs";
@@ -180,10 +177,6 @@ const withdrawn = ref(0);
const total = ref(0);
const invite = ref(0);
const take = ref(0);
-const dateRange = ref([
- dayjs().startOf('day').format('YYYY-MM-DD HH:mm:ss'),
- dayjs().endOf('day').format('YYYY-MM-DD HH:mm:ss')
-]);
const data = reactive({
form: {},
queryParams: {
@@ -203,7 +196,7 @@ const data = reactive({
});
const { queryParams, form, rules } = toRefs(data);
-
+const dateRange = ref([]),operateTimeType = ref("day");
/** 查询列表 */
function getList() {
loading.value = true;
@@ -254,10 +247,13 @@ function handleApply() {
});
}).catch(() => { });
}
+const searchDateRef = ref(null);
/** 重置按钮操作 */
function resetQuery() {
dateRange.value = [];
- handleQuery();
+ operateTimeType.value = "day";
+ proxy.resetForm("queryRef");
+ searchDateRef.value.timeTypeChange(operateTimeType.value)
}
function queryCode(type) {
form.value.tenantAgentPlatforms = form.value.tenantAgentPlatforms.map((item, index) => {
@@ -357,7 +353,11 @@ function submitForm() {
});
}
-getList();
+//初始化
+onMounted(() => {
+ getList();
+})
+
diff --git a/src/views/merchant/businessInformation/components/AdjustmentDialog.vue b/src/views/merchant/businessInformation/components/AdjustmentDialog.vue
index a2b3150..dc04f2f 100644
--- a/src/views/merchant/businessInformation/components/AdjustmentDialog.vue
+++ b/src/views/merchant/businessInformation/components/AdjustmentDialog.vue
@@ -1,116 +1,32 @@
-
-
-
- {{ t('调额') }}
-
-
-
-
-
-
-
- {{ row.currencyCode ? row.currencyCode : '--' }}
-
-
-
-
- {{ row.realBalance }}
-
-
-
-
- {{ row.creditBalance }}
-
-
-
-
- {{sumPlatformBalance(row.platformBalanceJson)}}
-
-
-
-
-
- 调额
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
{{formAdjustment.tenantKey}}
{{formAdjustment.currencyCode}}
-
-
+
+
+ 余额:
+
+
+ {{ formAdjustment.tenantBalance?.realBalance }}
+ {{ formAdjustment.tenantBalance?.creditBalance }}
+
+
+
-
- {{ getcurrencySign(formAdjustment.currencyCode) }} {{ formAdjustment.realBalance }}
+
+ {{ getcurrencySign(formAdjustment.currencyCode) }}
-
-
-
-
- {{ getcurrencySign(formAdjustment.currencyCode) }} {{ formAdjustment.creditBalance }}
-
+
+ {{ t('如需扣余额,则输入负数,例如:-10.50') }}
-
-
- {{sumPlatformBalance(formAdjustment.platformBalanceJson)}}
-
-
-
-
-
-
-
-
-
- {{ t('如需扣余额,则输入负数,例如:-10.50') }}
-
@@ -119,14 +35,13 @@
- {{ t('取消') }}
+ {{ t('取消') }}
{{ t('确认') }}
-
diff --git a/src/views/platform/gameManagement/index.vue b/src/views/platform/gameManagement/index.vue
index 64463bf..28b4c5d 100644
--- a/src/views/platform/gameManagement/index.vue
+++ b/src/views/platform/gameManagement/index.vue
@@ -14,6 +14,8 @@
{{ t('新增游戏') }}
+ {{ t('一键同步') }}
+
@@ -225,7 +227,7 @@