Commit c92b3268 authored by XieZhiXiong's avatar XieZhiXiong

chore: 删除过滤列表

parent 50d9b8de
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-29 09:36:25
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-11-12 11:41:49
* @LastEditTime: 2021-11-15 16:44:32
* @Description: 发券明细
*/
import React, { useState, useEffect, useRef } from 'react';
......@@ -370,18 +370,7 @@ const DeliverCoupon: React.FC<IProps> = (props) => {
ControllerBtns,
RangePicker: DatePicker.RangePicker,
},
effects: ($, actions) => {
useStateFilterSearchLinkageEffect(
$,
actions,
'name',
FORM_FILTER_PATH,
);
useAsyncInitSelect(
['memberType', 'level', 'suitableMemberType'],
fetchSelectOptions,
);
},
effects: ($, actions) => {},
onSubmit: (values: ExtraFetchType) => fetchSuitableMemberIncludeList(values),
}}
/>
......
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-29 09:36:35
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-09-24 13:37:27
* @LastEditTime: 2021-11-15 16:24:26
* @Description:
*/
import { ISchema } from '@formily/antd';
......@@ -32,68 +32,7 @@ export const querySchema: ISchema = {
'x-component-props': {
placeholder: '搜索',
tip: '输入 会员名称 进行搜索',
},
},
},
},
[FORM_FILTER_PATH]: {
type: 'object',
'x-component': 'flex-layout',
'x-component-props': {
colStyle: {
marginLeft: 20,
},
},
properties: {
memberId: {
type: 'string',
'x-component-props': {
placeholder: '会员ID',
allowClear: true,
},
},
memberType: {
type: 'string',
default: undefined,
enum: [],
'x-component-props': {
placeholder: '会员类型(所有)',
allowClear: true,
},
},
level: {
type: 'string',
default: undefined,
enum: [],
'x-component-props': {
placeholder: '会员等级(所有)',
allowClear: true,
},
},
suitableMemberType: {
type: 'string',
default: undefined,
enum: [],
'x-component-props': {
placeholder: '适用用户(所有)',
allowClear: true,
},
},
'[startTime2, endTime2]': {
type: 'string',
'x-component': 'RangePicker',
'x-component-props': {
placeholder: ['成为会员起始时间', '成为会员截止时间'],
showTime: true,
},
},
submit: {
'x-component': 'Submit',
'x-mega-props': {
span: 1,
},
'x-component-props': {
children: '查询',
advanced: false,
},
},
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment