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
c92b3268
Commit
c92b3268
authored
Nov 15, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 删除过滤列表
parent
50d9b8de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
76 deletions
+4
-76
index.tsx
...Ability/merchantCoupon/components/DeliverCoupon/index.tsx
+2
-13
schema.tsx
...bility/merchantCoupon/components/DeliverCoupon/schema.tsx
+2
-63
No files found.
src/pages/transaction/marketingAbility/merchantCoupon/components/DeliverCoupon/index.tsx
View file @
c92b3268
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-29 09:36:25
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-11-1
2 11:41:49
* @LastEditTime: 2021-11-1
5 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
),
}
}
/>
...
...
src/pages/transaction/marketingAbility/merchantCoupon/components/DeliverCoupon/schema.tsx
View file @
c92b3268
...
...
@@ -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
,
},
},
},
...
...
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