diff --git a/dist.rar b/dist.rar
new file mode 100644
index 0000000..e0f22c1
Binary files /dev/null and b/dist.rar differ
diff --git a/src/api/super/tenant.js b/src/api/super/tenant.js
index 06fa83f..f345a2c 100644
--- a/src/api/super/tenant.js
+++ b/src/api/super/tenant.js
@@ -31,6 +31,14 @@ export function createTenantCreate(data) {
data: data
})
}
+ //谷歌验证解除
+ export function updateSuperResetGoogleCode(data) {
+ return request({
+ url: '/super/tenant/resetGoogleCode',
+ method: 'put',
+ data: data
+ })
+ }
//更新商户
export function updateSuperTenantEdit(data) {
return request({
diff --git a/src/components/DictSelect/index.vue b/src/components/DictSelect/index.vue
new file mode 100644
index 0000000..d5c7505
--- /dev/null
+++ b/src/components/DictSelect/index.vue
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/SelectInputForm/index.vue b/src/components/SelectInputForm/index.vue
new file mode 100644
index 0000000..265d273
--- /dev/null
+++ b/src/components/SelectInputForm/index.vue
@@ -0,0 +1,115 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/layout/index.vue b/src/layout/index.vue
index b952fe6..8327d5c 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -17,6 +17,7 @@
+
diff --git a/src/views/agent/agentInformation/index.vue b/src/views/agent/agentInformation/index.vue
index 567373b..1cb376d 100644
--- a/src/views/agent/agentInformation/index.vue
+++ b/src/views/agent/agentInformation/index.vue
@@ -387,7 +387,7 @@ function handleView(row) {
currencyAgreement:row.currencyAgreement,
tenantType: 1,
}
- getSelectPlatform();
+ // getSelectPlatform();
openView.value = true;
}
@@ -408,7 +408,7 @@ function getSelectPlatform() {
/** 新增按钮操作 */
function handleAdd() {
reset();
- getSelectPlatform();
+ // getSelectPlatform();
open.value = true;
form.value.proportion = 20;
title.value = proxy.t('添加代理');
diff --git a/src/views/betting/gameRecords/index.vue b/src/views/betting/gameRecords/index.vue
index 460adfc..d281063 100644
--- a/src/views/betting/gameRecords/index.vue
+++ b/src/views/betting/gameRecords/index.vue
@@ -2,7 +2,7 @@
- {{ card.value }}
+ {{ card.value }}
@@ -57,9 +57,9 @@
title: proxy.t('新增商户数'),
value: props?.cardData?.newTenants || 0,
percentage: '',
- subtitle: proxy.t('新增会员数')+`${props?.cardData?.newMembers || 0}`+proxy.t('人')
- +proxy.t('新增商户数')+ `${props?.cardData?.newTenants || 0}`
- +proxy.t('新增代理数')+`${props?.cardData?.newAgents||0} `,
+ subtitle: proxy.t('新增会员数')+`${props?.cardData?.newMembers || 0}`+proxy.t('人')
+ +' '+proxy.t('新增商户数')+ `${props?.cardData?.newTenants || 0}`
+ +' '+proxy.t('新增代理数')+`${props?.cardData?.newAgents||0} `,
cardClass: 'orange'
},
{
@@ -106,92 +106,58 @@
}
]);
const handleClick = (e) => {
- // const type = e.target.dataset.type
- // let path = '';
- // let typeDay = '';
- // let activeName = '';
- // let timeType = '';
- // if (type == 'first') {
- // path = '/member/member';
- // typeDay = 'day';
- // timeType = 3;
- // }else if (type == 'proxy') {
- // path = '/agent/agent-info';
- // typeDay = 'day';
- // timeType = '';
- // }else if (type == 'totalCharge') {
- // path = '/member/member';
- // typeDay = '';
- // timeType = 3;
- // }else if (type == 'totalAgent') {
- // path = '/agent/agent-info';
- // typeDay = '';
- // timeType = '';
- // }else if (type == 'differenceRecharge') {
- // path = '/finance/recharge-order';
- // typeDay = 'day';
- // timeType = '';
- // }else if (type == 'differenceWithdrawal') {
- // path = '/finance/withdrawal';
- // typeDay = 'day';
- // timeType = '';
- // activeName = 'allWithdrawal';
- // }else if (type == 'betOnNoteOrder') {
- // path = '/game/details';
- // typeDay = 'day';
- // timeType = '';
- // activeName = 'details';
- // }else if (type == 'discountParticipants') {
- // path = '/discounts/discount-details';
- // typeDay = 'day';
- // timeType = '';
- // activeName = '';
- // }
- // else if (type == 'discountTask') {
- // path = '/discounts/task';
- // typeDay = '';
- // timeType = '';
- // activeName = '';
- // }else if (type == 'discountActivity') {
- // path = '/discounts/activity-center';
- // typeDay = '';
- // timeType = '';
- // activeName = '';
- // }
- // proxy.$router.push({
- // path: path,
- // query: {
- // activeName: activeName,
- // operateTimeType: typeDay,
- // timeType:timeType,
- // currencyType:props.currencyType,
- // }
- // });
+ const type = e.target.dataset.type
+ let path = '';
+ let typeDay = '';
+ let activeName = '';
+ let timeType = '';
+ if (type == 'first') {
+ path = '/member';
+ }else if (type == 'newTenants') {
+ path = '/Merchant/businessInformation';
+ }else if (type == 'bigR') {
+ path = '/Agents/agentInformation';
+ }
+ proxy.$router.push({
+ path: path,
+ query: {
+ activeName: activeName,
+ operateTimeType: typeDay,
+ timeType:timeType,
+ currencyType:props.currencyType,
+ }
+ });
}
// proxy.t('利润')+(props?.cardData?.profit||0)+' '+
const goPage = (cardClass) => {
- // let path = '';
- // let typeDay = '';
- // if (cardClass == 'orange'){
- // path = '/member/member';
- // typeDay = 'day';
- // }else if (cardClass == 'blue'){
- // path = '/member/member';
- // typeDay = '';
- // }else if (cardClass == 'yellow'){
- // path = '/game/details';
- // typeDay = 'day';
- // }else if (cardClass == 'purple'){
- // path = '/discounts/discount-details';
- // typeDay = 'day';
- // }
- // proxy.$router.push({
- // path: path,
- // query: {
- // activeName: 'details',
- // operateTimeType: typeDay
- // }
- // });
+ let path = '';
+ let typeDay = '';
+ if (cardClass == 'orange'){
+ path = '/Merchant/businessInformation';
+ typeDay = 'day';
+ }else if (cardClass == 'blue'){
+ path = '/Merchant/businessInformation';
+ typeDay = '';
+ }else if (cardClass == 'pink'){
+ path = '/Finance/prepaymentRecord';
+ typeDay = 'day';
+ }else if (cardClass == 'yellow'){
+ path = '/gameRecords';
+ typeDay = 'day';
+ }else if (cardClass == 'green'){
+ path = '/Merchant/businessInformation';
+ typeDay = 'day';
+ }else if (cardClass == 'purple'){
+ path = '/Agents/agentInformation';
+ typeDay = 'day';
+ }
+ proxy.$router.push({
+ path: path,
+ query: {
+ activeName: 'details',
+ operateTimeType: typeDay
+ }
+ });
}
diff --git a/src/views/components/EchartSearchDate/index.vue b/src/views/components/EchartSearchDate/index.vue
index 13dc7e5..124ba1d 100644
--- a/src/views/components/EchartSearchDate/index.vue
+++ b/src/views/components/EchartSearchDate/index.vue
@@ -55,7 +55,7 @@ const timeTypeChange = (val) => {
case 'week':
dateRange.value = [
dayjs().subtract(6, 'day').startOf('day').format('YYYY-MM-DD HH:mm:ss'),
- dayjs().endOf('day').format('YYYY-MM-DD HH:mm:ss')
+ dayjs().endOf('day').format('YYYY-MM-DD HH:mm:ss.SSS')
]
break
case 'month':
@@ -150,9 +150,9 @@ const dateRangeChange = (dataValue) => {
const end = new Date(dataValue[1]);
start.setHours(0, 0, 0); // 设置开始时间为当天的00:00:00点
- end.setHours(23, 59, 59); // 设置结束时间为当天的23:59:59
+ end.setHours(23, 59, 59,999); // 设置结束时间为当天的23:59:59
dateRange.value[0] = dayjs(start).format('YYYY-MM-DD HH:mm:ss');
- dateRange.value[1] = dayjs(end).format('YYYY-MM-DD HH:mm:ss');
+ dateRange.value[1] = dayjs(end).format('YYYY-MM-DD HH:mm:ss.SSS');
}
// 初始化时不触发父组件的查询
@@ -163,7 +163,7 @@ const dateRangeChange = (dataValue) => {
// 生成日期区间
const getTimeFn = (startTime) => {
- return [startTime.format('YYYY-MM-DD HH:mm:ss'), dayjs().endOf('day').format('YYYY-MM-DD HH:mm:ss')];
+ return [startTime.format('YYYY-MM-DD HH:mm:ss'), dayjs().endOf('day').format('YYYY-MM-DD HH:mm:ss.SSS')];
}
// 父组件重置
diff --git a/src/views/finance/prepaymentRecord/index.vue b/src/views/finance/prepaymentRecord/index.vue
index e8fbeaa..bd242d3 100644
--- a/src/views/finance/prepaymentRecord/index.vue
+++ b/src/views/finance/prepaymentRecord/index.vue
@@ -2,7 +2,7 @@
-
+
-
+
@@ -72,7 +72,7 @@
-
+
{{ parseTime(scope.row.createTime) }}
@@ -220,7 +220,7 @@
import TableSearchDate from '@/components/TableSearchDate'
import Crontab from '@/components/Crontab'
import { parseTime } from '@/utils/ruoyi'; // 时间格式化
-import { nextTick } from "vue";
+import { nextTick, onMounted } from "vue";
const router = useRouter();
const { proxy } = getCurrentInstance();
const { ff_tenant_type, ff_tenant_status } = proxy.useDict("ff_tenant_type", "ff_tenant_status");
@@ -339,13 +339,14 @@ const usdtSelect = ref([
queryParams.value.pageNum = 1;
getList();
}
-
+ const searchDateRef = ref(null);
+
/** 重置按钮操作 */
function resetQuery() {
dateRange.value = [];
- operateTimeType.value = "";
+ operateTimeType.value = "day";
proxy.resetForm("queryRef");
- handleQuery();
+ searchDateRef.value.timeTypeChange(operateTimeType.value)
}
//取消订单
const forcedCancel = (row) => {
@@ -482,8 +483,12 @@ const paymentOpen = ref(false);
}
});
}
- getsuperCommonCurrencySelect();
- getList();
+//初始化
+onMounted(() => {
+ getsuperCommonCurrencySelect();
+ getList();
+})
+