From 9e41ad77de262ace40af906e744b9eacecc8a534 Mon Sep 17 00:00:00 2001 From: cclu <1106109051@qq.com> Date: Wed, 7 May 2025 14:34:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A5=20feat(=E6=A8=A1=E5=9D=97):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E4=B8=AA=E5=BE=88=E6=A3=92=E7=9A=84?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/examine/modal/index.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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) {