Commit 34176ca0 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改列表检索schema

parent 82b4c02f
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-22 09:49:42
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-22 16:18:11
* @LastEditTime: 2021-06-23 18:27:08
* @Description: 商家优惠劵查询
*/
import React, { useState, useRef } from 'react';
......@@ -154,18 +154,6 @@ const MerchantCouponQuery: React.FC = () => {
}
return {};
};
const ControllerBtns = () => (
<Space>
<Button
type="primary"
onClick={() => {}}
>
<PlusOutlined />
增加会员角色
</Button>
</Space>
);
return (
<Card>
......@@ -180,7 +168,6 @@ const MerchantCouponQuery: React.FC = () => {
<NiceForm
actions={formActions}
components={{
ControllerBtns,
RangePicker: DatePicker.RangePicker,
}}
onSubmit={values => ref.current.reload(values)}
......
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-22 14:37:24
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-22 15:02:04
* @LastEditTime: 2021-06-23 17:41:17
* @Description:
*/
import { ISchema } from '@formily/antd';
......@@ -15,25 +15,13 @@ export const querySchema: ISchema = {
type: 'object',
'x-component': 'mega-layout',
properties: {
topLayout: {
type: 'object',
'x-component': 'Mega-Layout',
name: {
type: 'string',
'x-component': 'Search',
'x-component-props': {
grid: true,
},
properties: {
ctl: {
type: 'object',
'x-component': 'ControllerBtns',
},
name: {
type: 'string',
'x-component': 'Search',
'x-component-props': {
placeholder: '搜索',
tip: '输入 优惠劵名称 进行搜索',
},
},
placeholder: '搜索',
align: 'flex-left',
tip: '输入 优惠劵名称 进行搜索',
},
},
[FORM_FILTER_PATH]: {
......
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