Commit a4d43580 authored by Bill's avatar Bill

fix: 修改平台规则策略搜索框placeholder

parent 72b71a27
......@@ -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,
}
......
......@@ -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>
)
}
......
......@@ -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
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