diff --git a/src/pages/examine/modal/index.tsx b/src/pages/examine/modal/index.tsx
index 5019d29..4b35246 100644
--- a/src/pages/examine/modal/index.tsx
+++ b/src/pages/examine/modal/index.tsx
@@ -109,6 +109,17 @@ const examineModal: React.FC<{ currentUser: any }> = (props) => {
// }
// },
+ {
+ title:
有效状态
,
+ dataIndex: "status",
+ hideInTable: true,
+ valueType: 'select',
+ valueEnum: {
+ "0": "无效",
+ "1": "有效"
+ },
+ initialValue: "1",
+ },
{
title: 服务区名称
,
dataIndex: "serverPartName",
@@ -368,7 +379,7 @@ const examineModal: React.FC<{ currentUser: any }> = (props) => {
scroll={{ x: "100%", y: 'calc(100vh - 400px)' }}
headerTitle={走动式点位管理}
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) {