Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
shenshaokai
jinfa-admin
Commits
a4d43580
Commit
a4d43580
authored
Jan 11, 2021
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改平台规则策略搜索框placeholder
parent
72b71a27
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
10 deletions
+16
-10
schema.tsx
...eSettingManage/platformSettlementStrategy/info/schema.tsx
+3
-3
index.tsx
...leSettingManage/platformSettlementStrategy/list/index.tsx
+9
-2
schema.tsx
...eSettingManage/platformSettlementStrategy/list/schema.tsx
+4
-5
No files found.
src/pages/ruleSettingManage/platformSettlementStrategy/info/schema.tsx
View file @
a4d43580
...
...
@@ -140,7 +140,7 @@ export const memberSchema: ISchema = {
type
:
'string'
,
'x-component'
:
'ModalSearch'
,
'x-component-props'
:
{
placeholder
:
'
商品
名称'
,
placeholder
:
'
搜索会员
名称'
,
align
:
'flex-left'
,
},
},
...
...
@@ -172,7 +172,7 @@ export const memberSchema: ISchema = {
type
:
'string'
,
enum
:
[],
"x-component-props"
:
{
placeholder
:
'选择会员
角色
'
,
placeholder
:
'选择会员
类型
'
,
style
:
{
width
:
'200px'
},
allowClear
:
true
,
}
...
...
@@ -181,7 +181,7 @@ export const memberSchema: ISchema = {
type
:
'string'
,
enum
:
[],
"x-component-props"
:
{
placeholder
:
'选择会员
角色
'
,
placeholder
:
'选择会员
等级
'
,
style
:
{
width
:
'200px'
},
allowClear
:
true
,
}
...
...
src/pages/ruleSettingManage/platformSettlementStrategy/list/index.tsx
View file @
a4d43580
...
...
@@ -4,7 +4,7 @@
*/
import
React
,
{
useRef
}
from
'react'
;
import
{
Card
,
Button
,
Space
}
from
'antd'
;
import
{
Card
,
Button
,
Space
,
Popconfirm
}
from
'antd'
;
import
NiceForm
from
'@/components/NiceForm'
;
import
{
StandardTable
}
from
'god'
;
import
{
PublicApi
}
from
'@/services/api'
;
...
...
@@ -77,7 +77,14 @@ const MemberSettle: React.FC<{}> = () => {
return
(
<
Space
>
<
Link
to=
{
`/ruleSettingManager/platformSettlementStrategy/edit?id=${record.id}`
}
>
修改
</
Link
>
<
Button
type=
"link"
onClick=
{
()
=>
handleRemove
({
id
:
record
.
id
})
}
>
删除
</
Button
>
<
Popconfirm
title=
"确定删除?"
onConfirm=
{
()
=>
handleRemove
({
id
:
record
.
id
})
}
okText=
"是"
cancelText=
"否"
>
<
Button
type=
"link"
>
删除
</
Button
>
</
Popconfirm
>
</
Space
>
)
}
...
...
src/pages/ruleSettingManage/platformSettlementStrategy/list/schema.tsx
View file @
a4d43580
...
...
@@ -22,13 +22,13 @@ const schema: ISchema = {
},
},
name
:
{
type
:
'string'
,
'x-component'
:
'Search'
,
type
:
'string'
,
'x-component'
:
'Search'
,
"x-mega-props"
:
{
"span"
:
2
},
'x-component-props'
:
{
placeholder
:
'搜索
'
,
placeholder
:
'搜索
策略名称'
,
advanced
:
false
,
},
},
...
...
@@ -37,4 +37,4 @@ const schema: ISchema = {
}
}
export
default
schema
\ No newline at end of file
export
default
schema
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