coolcare-lite-scada-component 1.0.26 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -165,6 +165,7 @@ var ModalChoosePoint = function ModalChoosePoint(_ref) {
|
|
|
165
165
|
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
166
166
|
name: "deviceId",
|
|
167
167
|
label: "\u8BBE\u5907",
|
|
168
|
+
className: "temperatureSelect",
|
|
168
169
|
rules: [{
|
|
169
170
|
required: true,
|
|
170
171
|
message: '请选择'
|
|
@@ -176,6 +177,10 @@ var ModalChoosePoint = function ModalChoosePoint(_ref) {
|
|
|
176
177
|
form.setFieldsValue({
|
|
177
178
|
pointIdList: []
|
|
178
179
|
});
|
|
180
|
+
},
|
|
181
|
+
showSearch: true,
|
|
182
|
+
getPopupContainer: function getPopupContainer() {
|
|
183
|
+
return document.querySelector(".temperatureSelect") || document.body;
|
|
179
184
|
}
|
|
180
185
|
}, deviceList.map(function (item) {
|
|
181
186
|
return /*#__PURE__*/React.createElement(Option, {
|
|
@@ -194,14 +199,18 @@ var ModalChoosePoint = function ModalChoosePoint(_ref) {
|
|
|
194
199
|
rules: [{
|
|
195
200
|
required: true,
|
|
196
201
|
message: '请选择'
|
|
197
|
-
}]
|
|
202
|
+
}],
|
|
203
|
+
className: "temperature2Select"
|
|
198
204
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
199
205
|
allowClear: true,
|
|
200
206
|
mode: 'multiple',
|
|
201
207
|
showSearch: true,
|
|
202
208
|
optionFilterProp: "label",
|
|
203
209
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
204
|
-
disabled: !getFieldValue('deviceId')
|
|
210
|
+
disabled: !getFieldValue('deviceId'),
|
|
211
|
+
getPopupContainer: function getPopupContainer() {
|
|
212
|
+
return document.querySelector(".temperature2Select") || document.body;
|
|
213
|
+
}
|
|
205
214
|
}, pointList.map(function (item) {
|
|
206
215
|
return /*#__PURE__*/React.createElement(Option, {
|
|
207
216
|
value: item.pointId,
|