| | |
| | | <el-date-picker |
| | | v-model="value1" |
| | | type="daterange" |
| | | |
| | | range-separator="至" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | |
| | | 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: '', |
| | |
| | | } |
| | | }, |
| | | created () { |
| | | |
| | | this.searchForm.startDate = formatDateTime(new Date(), 'yyyy-MM-dd') + ' 00:00:00' |
| | | this.search() |
| | | }, |
| | | methods: { |
| | |
| | | this.searchForm.startDate = '' |
| | | this.searchForm.endDate = '' |
| | | this.value1 = [] |
| | | this.$refs.searchForm.resetFields() |
| | | this.search() |
| | | }, |
| | | |