|
@@ -1,7 +1,11 @@
|
|
|
<template>
|
|
<template>
|
|
|
<!-- 过滤 -->
|
|
<!-- 过滤 -->
|
|
|
<div class="filterTable">
|
|
<div class="filterTable">
|
|
|
-
|
|
|
|
|
|
|
+ <a-range-picker v-model:value="date"
|
|
|
|
|
+ class="commonPicker"
|
|
|
|
|
+ style="width: 200px"
|
|
|
|
|
+ :show-time="{hideDisabledOptions: true}"
|
|
|
|
|
+ format="YYYY-MM-DD" />
|
|
|
<FilterOption :selectList="selectList"
|
|
<FilterOption :selectList="selectList"
|
|
|
:inputList="inputList"
|
|
:inputList="inputList"
|
|
|
:fixedBtnList="fixedBtnList" />
|
|
:fixedBtnList="fixedBtnList" />
|
|
@@ -11,27 +15,20 @@
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
|
import FilterOption from '@/common/components/filter/index.vue';
|
|
import FilterOption from '@/common/components/filter/index.vue';
|
|
|
-import { defineComponent } from 'vue';
|
|
|
|
|
|
|
+import { defineComponent, ref } from 'vue';
|
|
|
import { handleFilter, InputList, SelectList } from '@/common/setup/filter';
|
|
import { handleFilter, InputList, SelectList } from '@/common/setup/filter';
|
|
|
|
|
+import { Moment } from 'moment';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
name: 'filter-withdrawal_review',
|
|
name: 'filter-withdrawal_review',
|
|
|
components: { FilterOption },
|
|
components: { FilterOption },
|
|
|
setup(props, context) {
|
|
setup(props, context) {
|
|
|
- const select: SelectList[] = [
|
|
|
|
|
- {
|
|
|
|
|
- value: undefined,
|
|
|
|
|
- key: 'userinfotype',
|
|
|
|
|
- placeholder: '全部客户类型',
|
|
|
|
|
- list: [
|
|
|
|
|
- { value: 1, lable: '个人' },
|
|
|
|
|
- { value: 2, lable: '企业' },
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- ];
|
|
|
|
|
|
|
+ const date = ref<Moment[]>([]);
|
|
|
|
|
+ const select: SelectList[] = [];
|
|
|
const input: InputList[] = [{ value: '', placeholder: '模糊搜索账号', key: 'account' }];
|
|
const input: InputList[] = [{ value: '', placeholder: '模糊搜索账号', key: 'account' }];
|
|
|
const { selectList, inputList, fixedBtnList } = handleFilter(select, input, context);
|
|
const { selectList, inputList, fixedBtnList } = handleFilter(select, input, context);
|
|
|
return {
|
|
return {
|
|
|
|
|
+ date,
|
|
|
selectList,
|
|
selectList,
|
|
|
inputList,
|
|
inputList,
|
|
|
fixedBtnList,
|
|
fixedBtnList,
|