From 8d9cd020dc29e1fc0bb77cbe7f45068aca0956ff Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期四, 20 六月 2024 10:51:47 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/pages/deviceConfig/shuttleStandby/components/edit.jsx | 10 ++++++++--
zy-asrs-flow/src/pages/deviceConfig/shuttleStandby/index.jsx | 7 ++++---
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/zy-asrs-flow/src/pages/deviceConfig/shuttleStandby/components/edit.jsx b/zy-asrs-flow/src/pages/deviceConfig/shuttleStandby/components/edit.jsx
index acc8c14..e4d7ceb 100644
--- a/zy-asrs-flow/src/pages/deviceConfig/shuttleStandby/components/edit.jsx
+++ b/zy-asrs-flow/src/pages/deviceConfig/shuttleStandby/components/edit.jsx
@@ -136,11 +136,17 @@
label="澶囨敞"
colProps={{ md: 12, xl: 12 }}
/>
- <ProFormDigit
+ <ProFormSelect
name="deviceId"
label="璁惧鍙�"
colProps={{ md: 12, xl: 12 }}
fieldProps={{ precision: 0 }}
+ showSearch
+ debounceTime={300}
+ request={async ({ keyWords }) => {
+ const resp = await Http.doPostForm('api/device/query', { condition: keyWords });
+ return resp.data;
+ }}
/>
</ProForm.Group>
<ProForm.Group>
@@ -164,7 +170,7 @@
/>
<ProFormText
name="standbyLoc"
- label="寰呮満浣嶅簱浣嶅彿"
+ label="灏忚溅寰呮満浣嶅簱浣嶅彿"
colProps={{ md: 12, xl: 12 }}
/>
</ProForm.Group>
diff --git a/zy-asrs-flow/src/pages/deviceConfig/shuttleStandby/index.jsx b/zy-asrs-flow/src/pages/deviceConfig/shuttleStandby/index.jsx
index 501e154..7c03639 100644
--- a/zy-asrs-flow/src/pages/deviceConfig/shuttleStandby/index.jsx
+++ b/zy-asrs-flow/src/pages/deviceConfig/shuttleStandby/index.jsx
@@ -241,12 +241,13 @@
},
{
title: '璁惧鍙�',
- dataIndex: 'deviceId',
+ dataIndex: 'deviceId$',
valueType: 'text',
hidden: false,
width: 140,
- filterDropdown: (props) => <TextFilter
+ filterDropdown: (props) => <LinkFilter
name='deviceId'
+ major='device'
{...props}
actionRef={actionRef}
setSearchParam={setSearchParam}
@@ -292,7 +293,7 @@
/>,
},
{
- title: '寰呮満浣嶅簱浣嶅彿',
+ title: '灏忚溅寰呮満浣嶅簱浣嶅彿',
dataIndex: 'standbyLoc',
valueType: 'text',
hidden: false,
--
Gitblit v1.9.1