coolcare-lite-scada-component 4.0.5 → 4.0.7
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.
|
@@ -25,6 +25,7 @@ var ModalChoosePoint = function ModalChoosePoint(_ref) {
|
|
|
25
25
|
onSubmit = _ref.onSubmit,
|
|
26
26
|
onCancel = _ref.onCancel,
|
|
27
27
|
companyId = _ref.companyId,
|
|
28
|
+
projectId = _ref.projectId,
|
|
28
29
|
currentDeviceId = _ref.currentDeviceId;
|
|
29
30
|
var _Form$useForm = Form.useForm(),
|
|
30
31
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
@@ -150,11 +151,13 @@ var ModalChoosePoint = function ModalChoosePoint(_ref) {
|
|
|
150
151
|
title: '选择属性',
|
|
151
152
|
closable: false,
|
|
152
153
|
width: 300,
|
|
154
|
+
zIndex: 9999,
|
|
153
155
|
maskClosable: true,
|
|
154
156
|
footer: null,
|
|
155
157
|
onCancel: closeModal,
|
|
156
158
|
visible: visible,
|
|
157
|
-
wrapClassName: 'form-modal'
|
|
159
|
+
wrapClassName: 'form-modal',
|
|
160
|
+
getContainer: false
|
|
158
161
|
}, /*#__PURE__*/React.createElement(Form, {
|
|
159
162
|
layout: "vertical",
|
|
160
163
|
form: form,
|
|
@@ -28,7 +28,7 @@ function _Upload() {
|
|
|
28
28
|
formData.append(ele, item);
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
-
return _context.abrupt("return", request('/api/EnergyMicro/
|
|
31
|
+
return _context.abrupt("return", request('/api/EnergyMicro/upload', _objectSpread({
|
|
32
32
|
method: 'POST',
|
|
33
33
|
// headers: {
|
|
34
34
|
// 'Content-Type': 'multipart/form-data',
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coolcare-lite-scada-component",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.7",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": " umi dev",
|
|
6
6
|
"build:prod": "UMI_ENV=prod umi build",
|
|
7
7
|
"build:generalfushi": "UMI_ENV=prod REACT_APP_PLATFORM=generalfushi umi build",
|
|
8
|
-
"build:yimin": "
|
|
8
|
+
"build:yimin": "UMI_ENV=prod REACT_APP_PLATFORM=yimin umi build",
|
|
9
9
|
"build:staging": "UMI_ENV=staging umi build",
|
|
10
10
|
"build:component": "father build",
|
|
11
11
|
"postinstall": "umi generate tmp",
|