💥 feat(模块): 添加了个很棒的功能
This commit is contained in:
parent
030e621129
commit
9e41ad77de
@ -109,6 +109,17 @@ const examineModal: React.FC<{ currentUser: any }> = (props) => {
|
||||
|
||||
// }
|
||||
// },
|
||||
{
|
||||
title: <div style={{ textAlign: 'center' }}>有效状态</div>,
|
||||
dataIndex: "status",
|
||||
hideInTable: true,
|
||||
valueType: 'select',
|
||||
valueEnum: {
|
||||
"0": "无效",
|
||||
"1": "有效"
|
||||
},
|
||||
initialValue: "1",
|
||||
},
|
||||
{
|
||||
title: <div style={{ textAlign: 'center' }}>服务区名称</div>,
|
||||
dataIndex: "serverPartName",
|
||||
@ -368,7 +379,7 @@ const examineModal: React.FC<{ currentUser: any }> = (props) => {
|
||||
scroll={{ x: "100%", y: 'calc(100vh - 400px)' }}
|
||||
headerTitle={<span style={{ color: "#1890ff", fontSize: 14, fontWeight: 600 }}>走动式点位管理</span>}
|
||||
search={{ span: 6 }}
|
||||
request={async () => {
|
||||
request={async (params) => {
|
||||
console.log('selectedId', selectedId);
|
||||
|
||||
if (!(selectedId && selectedId.length > 0)) {
|
||||
@ -378,6 +389,7 @@ const examineModal: React.FC<{ currentUser: any }> = (props) => {
|
||||
|
||||
const req: any = {
|
||||
serverPartIds: selectedId && selectedId.length > 0 ? selectedId : [],
|
||||
status: params?.status === '1' ? true : params?.status === '0' ? false : null
|
||||
}
|
||||
const data = await handleSearchModalTree(req)
|
||||
if (data && data.length > 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user