Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄庭坚
jinfa-platform
Commits
34176ca0
Commit
34176ca0
authored
Jun 24, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改列表检索schema
parent
82b4c02f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
33 deletions
+8
-33
index.tsx
...etingAbility/merchantCoupon/merchantCouponQuery/index.tsx
+1
-14
schema.ts
...etingAbility/merchantCoupon/merchantCouponQuery/schema.ts
+7
-19
No files found.
src/pages/transaction/marketingAbility/merchantCoupon/merchantCouponQuery/index.tsx
View file @
34176ca0
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-22 09:49:42
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-2
2 16:18:11
* @LastEditTime: 2021-06-2
3 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
)
}
...
...
src/pages/transaction/marketingAbility/merchantCoupon/merchantCouponQuery/schema.ts
View file @
34176ca0
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-22 14:37:24
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-2
2 15:02:04
* @LastEditTime: 2021-06-2
3 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
]:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment