From 969d3507163720cd59e5c78e3e0a7e0bdb47c366 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期二, 24 十月 2023 09:09:25 +0800
Subject: [PATCH] 企业端
---
admin/src/views/business/onlinePayStatistics.vue | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/admin/src/views/business/onlinePayStatistics.vue b/admin/src/views/business/onlinePayStatistics.vue
index 59b6f30..37e6178 100644
--- a/admin/src/views/business/onlinePayStatistics.vue
+++ b/admin/src/views/business/onlinePayStatistics.vue
@@ -7,6 +7,7 @@
<el-date-picker
v-model="value1"
type="daterange"
+
range-separator="鑷�"
start-placeholder="寮�濮嬫棩鏈�"
end-placeholder="缁撴潫鏃ユ湡"
@@ -54,13 +55,14 @@
import BaseTable from '@/components/base/BaseTable'
import TableLayout from '@/layouts/TableLayout'
import { fetchList } from '@/api/business/onlinePayStatistics'
+import { formatDateTime } from '@/utils/util'
export default {
name: 'PricingParam',
extends: BaseTable,
components: { TableLayout },
data () {
return {
- value1: [],
+ value1: [new Date(), new Date()],
// 鎼滅储
searchForm: {
endDate: '',
@@ -69,7 +71,7 @@
}
},
created () {
-
+ this.searchForm.startDate = formatDateTime(new Date(), 'yyyy-MM-dd') + ' 00:00:00'
this.search()
},
methods: {
@@ -77,6 +79,7 @@
this.searchForm.startDate = ''
this.searchForm.endDate = ''
this.value1 = []
+ this.$refs.searchForm.resetFields()
this.search()
},
--
Gitblit v1.9.3