@luck-design-biz/luckda 0.0.18-2 → 0.0.18-4
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.
|
@@ -113,13 +113,9 @@ var buildLdAutoForm = function buildLdAutoForm(_ref) {
|
|
|
113
113
|
onQuery: _objectSpread(_objectSpread({
|
|
114
114
|
api: behaviorCall,
|
|
115
115
|
get: function get(formData) {
|
|
116
|
+
var _params2;
|
|
116
117
|
var _relationKey = isMain ? window.appConfig.constraintKeys.PRIMARY : relationKey;
|
|
117
|
-
var _params = {
|
|
118
|
-
indocno: formData[mainFormLdId] && formData[mainFormLdId][_relationKey] || ticketData[_relationKey],
|
|
119
|
-
moduleCode: moduleCode,
|
|
120
|
-
datasetCode: dataSetKey,
|
|
121
|
-
behaviorKey: 'readForm'
|
|
122
|
-
};
|
|
118
|
+
var _params = (_params2 = {}, _defineProperty(_params2, 'indocno', formData[mainFormLdId] && formData[mainFormLdId][_relationKey] || ticketData[_relationKey]), _defineProperty(_params2, "moduleCode", moduleCode), _defineProperty(_params2, "datasetCode", dataSetKey), _defineProperty(_params2, "behaviorKey", 'readForm'), _params2);
|
|
123
119
|
if (!isMain) _params.relationDs = mainDataSetKey;
|
|
124
120
|
return _params;
|
|
125
121
|
}
|
|
@@ -8,12 +8,10 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
|
8
8
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
9
9
|
var _excluded = ["namespace", "formState", "formMode", "formOperates", "loading", "wrapperRef", "readOnly", "mainFormLdId", "renderFormList", "renderAffixLeft", "renderAffixRight", "beforeSubmit", "showSaveBtn", "saveBtnTitle", "affixLayout", "onValueChange", "afterSubmit", "renderFormExtra", "bpmButtonProps"],
|
|
10
10
|
_excluded2 = ["dataSets", "doAction", "resources"],
|
|
11
|
-
_excluded3 = ["
|
|
12
|
-
_excluded4 = ["
|
|
13
|
-
_excluded5 = ["id", "header", "title", "readOnly", "extraConfig", "renderTopLeft"],
|
|
14
|
-
_excluded6 = ["ldId", "initData", "overModel"];
|
|
11
|
+
_excluded3 = ["id", "header", "title", "readOnly", "extraConfig", "renderTopLeft"],
|
|
12
|
+
_excluded4 = ["ldId", "initData", "overModel"];
|
|
15
13
|
import React, { useContext, useRef, forwardRef, Fragment, useImperativeHandle, useState } from 'react';
|
|
16
|
-
import { connect, getDvaApp, useRouteMatch
|
|
14
|
+
import { connect, getDvaApp, useRouteMatch } from 'umi';
|
|
17
15
|
import PropTypes from 'prop-types';
|
|
18
16
|
import { useCreation, useMemoizedFn, useAsyncEffect } from 'ahooks';
|
|
19
17
|
import { BasicDivider } from 'luck-design';
|
|
@@ -29,7 +27,6 @@ import { onBatchSubmitAction } from '../../helper/action';
|
|
|
29
27
|
import { isArray, sortBy, mapValues } from 'lodash';
|
|
30
28
|
import { BpmButton } from '@luck-design-biz/base/bpm';
|
|
31
29
|
import { readBehaviorCall } from '../../services';
|
|
32
|
-
import { parse, stringify } from 'querystring';
|
|
33
30
|
|
|
34
31
|
// 组件
|
|
35
32
|
var LdFormList = function LdFormList(_ref) {
|
|
@@ -59,15 +56,6 @@ var LdFormList = function LdFormList(_ref) {
|
|
|
59
56
|
_ref$bpmButtonProps = _ref.bpmButtonProps,
|
|
60
57
|
bpmButtonProps = _ref$bpmButtonProps === void 0 ? {} : _ref$bpmButtonProps,
|
|
61
58
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
62
|
-
var _useModel = useModel('@@qiankunStateFromMaster', function (qiankunStateFromMaster) {
|
|
63
|
-
return {
|
|
64
|
-
peek: qiankunStateFromMaster === null || qiankunStateFromMaster === void 0 ? void 0 : qiankunStateFromMaster.peekFloatLayer,
|
|
65
|
-
refresh: qiankunStateFromMaster === null || qiankunStateFromMaster === void 0 ? void 0 : qiankunStateFromMaster.refreshFloatLayer
|
|
66
|
-
};
|
|
67
|
-
}),
|
|
68
|
-
peek = _useModel.peek,
|
|
69
|
-
refresh = _useModel.refresh;
|
|
70
|
-
var PRIMARY = window.appConfig.constraintKeys.PRIMARY;
|
|
71
59
|
var _useState = useState(false),
|
|
72
60
|
_useState2 = _slicedToArray(_useState, 2),
|
|
73
61
|
submitLoading = _useState2[0],
|
|
@@ -130,14 +118,15 @@ var LdFormList = function LdFormList(_ref) {
|
|
|
130
118
|
}, bpmButtonProps)));
|
|
131
119
|
};
|
|
132
120
|
useAsyncEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
133
|
-
var _props$formData$mainF, _params, response, _yield$readBehaviorCa, code, data, _props$formData$mainF2, _props$formData$mainF3, bpmInfoObj, tempObj;
|
|
121
|
+
var _props$formData$mainF, PRIMARY, _params, response, _yield$readBehaviorCa, code, data, _props$formData$mainF2, _props$formData$mainF3, bpmInfoObj, tempObj;
|
|
134
122
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
135
123
|
while (1) switch (_context.prev = _context.next) {
|
|
136
124
|
case 0:
|
|
137
125
|
if (!(formMode !== 'add' && props.formData[mainFormLdId])) {
|
|
138
|
-
_context.next =
|
|
126
|
+
_context.next = 13;
|
|
139
127
|
break;
|
|
140
128
|
}
|
|
129
|
+
PRIMARY = window.appConfig.constraintKeys.PRIMARY;
|
|
141
130
|
_params = {
|
|
142
131
|
indocno: (_props$formData$mainF = props.formData[mainFormLdId]) === null || _props$formData$mainF === void 0 ? void 0 : _props$formData$mainF[PRIMARY],
|
|
143
132
|
moduleCode: rest.moduleCode,
|
|
@@ -145,19 +134,19 @@ var LdFormList = function LdFormList(_ref) {
|
|
|
145
134
|
mainDataSetKey: mainDataSetKey,
|
|
146
135
|
behaviorKey: 'readBpmDeploy'
|
|
147
136
|
}; // 请求是否有工作流服务
|
|
148
|
-
_context.next =
|
|
137
|
+
_context.next = 5;
|
|
149
138
|
return readBehaviorCall(_params);
|
|
150
|
-
case
|
|
139
|
+
case 5:
|
|
151
140
|
response = _context.sent;
|
|
152
141
|
if (!(response.code === 1 && response.data)) {
|
|
153
|
-
_context.next =
|
|
142
|
+
_context.next = 13;
|
|
154
143
|
break;
|
|
155
144
|
}
|
|
156
|
-
_context.next =
|
|
145
|
+
_context.next = 9;
|
|
157
146
|
return readBehaviorCall(_objectSpread(_objectSpread({}, _params), {}, {
|
|
158
147
|
behaviorKey: 'readBpm'
|
|
159
148
|
}));
|
|
160
|
-
case
|
|
149
|
+
case 9:
|
|
161
150
|
_yield$readBehaviorCa = _context.sent;
|
|
162
151
|
code = _yield$readBehaviorCa.code;
|
|
163
152
|
data = _yield$readBehaviorCa.data;
|
|
@@ -175,7 +164,7 @@ var LdFormList = function LdFormList(_ref) {
|
|
|
175
164
|
setBizData(tempObj);
|
|
176
165
|
setIsCustomRenderAffixRight(true);
|
|
177
166
|
}
|
|
178
|
-
case
|
|
167
|
+
case 13:
|
|
179
168
|
case "end":
|
|
180
169
|
return _context.stop();
|
|
181
170
|
}
|
|
@@ -201,45 +190,15 @@ var LdFormList = function LdFormList(_ref) {
|
|
|
201
190
|
mainDataSetKey: mainDataSetKey
|
|
202
191
|
}, function (success, mainKey, res) {
|
|
203
192
|
setSubmitLoading(false);
|
|
204
|
-
var mainFormData = res.detail[res.list[0]];
|
|
205
193
|
if (success) {
|
|
206
194
|
if (afterSubmit) {
|
|
207
195
|
afterSubmit(success, mainKey, res);
|
|
208
|
-
// 刷新浮层,解决新增后,操作日志获取不到uid的问题
|
|
209
|
-
if (refresh && peek) {
|
|
210
|
-
var _peek = peek(),
|
|
211
|
-
href = _peek.href;
|
|
212
|
-
var _href$split = href.split('?'),
|
|
213
|
-
_href$split2 = _slicedToArray(_href$split, 2),
|
|
214
|
-
path = _href$split2[0],
|
|
215
|
-
argsStr = _href$split2[1];
|
|
216
|
-
var _parse = parse(argsStr),
|
|
217
|
-
_formMode = _parse.formMode,
|
|
218
|
-
_props2 = _objectWithoutProperties(_parse, _excluded3);
|
|
219
|
-
refresh({
|
|
220
|
-
href: "".concat(path, "?").concat(PRIMARY, "=").concat(mainFormData[PRIMARY], "&").concat(stringify(_objectSpread({}, _props2)))
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
196
|
} else {
|
|
224
197
|
var _formListRef$current;
|
|
225
198
|
props.parentModelName && ((_formListRef$current = formListRef.current) === null || _formListRef$current === void 0 ? void 0 : _formListRef$current.doParentsQuery());
|
|
199
|
+
var mainFormData = res.detail[res.list[0]];
|
|
226
200
|
formListRef.current.onQuery(null, _defineProperty({}, mainFormLdId, mainFormData), function () {
|
|
227
|
-
formListRef.current.setFormMode('info');
|
|
228
|
-
// 刷新浮层,解决新增后,操作日志获取不到uid的问题
|
|
229
|
-
if (refresh && peek) {
|
|
230
|
-
var _peek2 = peek(),
|
|
231
|
-
_href = _peek2.href;
|
|
232
|
-
var _href$split3 = _href.split('?'),
|
|
233
|
-
_href$split4 = _slicedToArray(_href$split3, 2),
|
|
234
|
-
_path = _href$split4[0],
|
|
235
|
-
_argsStr = _href$split4[1];
|
|
236
|
-
var _parse2 = parse(_argsStr),
|
|
237
|
-
_formMode2 = _parse2.formMode,
|
|
238
|
-
_props3 = _objectWithoutProperties(_parse2, _excluded4);
|
|
239
|
-
refresh({
|
|
240
|
-
href: "".concat(_path, "?formMode=info&").concat(PRIMARY, "=").concat(mainFormData[PRIMARY], "&").concat(stringify(_objectSpread({}, _props3)))
|
|
241
|
-
});
|
|
242
|
-
}
|
|
201
|
+
return formListRef.current.setFormMode('info');
|
|
243
202
|
});
|
|
244
203
|
}
|
|
245
204
|
}
|
|
@@ -306,7 +265,7 @@ var LdFormList = function LdFormList(_ref) {
|
|
|
306
265
|
_renderTopLeft = _ref8$renderTopLeft === void 0 ? function () {
|
|
307
266
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
308
267
|
} : _ref8$renderTopLeft,
|
|
309
|
-
_props = _objectWithoutProperties(_ref8,
|
|
268
|
+
_props = _objectWithoutProperties(_ref8, _excluded3);
|
|
310
269
|
var _props$type = _props.type,
|
|
311
270
|
type = _props$type === void 0 ? 'auto' : _props$type;
|
|
312
271
|
var renderForm = type === 'auto' ? buildLdAutoForm : buildLdGridForm;
|
|
@@ -383,7 +342,7 @@ var Index = function Index(_ref10) {
|
|
|
383
342
|
var namespace = _ref10.ldId,
|
|
384
343
|
initData = _ref10.initData,
|
|
385
344
|
overModel = _ref10.overModel,
|
|
386
|
-
props = _objectWithoutProperties(_ref10,
|
|
345
|
+
props = _objectWithoutProperties(_ref10, _excluded4);
|
|
387
346
|
var match = useRouteMatch();
|
|
388
347
|
var Component = useCreation(function () {
|
|
389
348
|
var _getDvaApp3, _getDvaApp4, _match$params;
|
|
@@ -121,13 +121,9 @@ var buildLdAutoForm = function buildLdAutoForm(_ref) {
|
|
|
121
121
|
onQuery: (0, _objectSpread3.default)((0, _objectSpread3.default)({
|
|
122
122
|
api: _utils.behaviorCall,
|
|
123
123
|
get: function get(formData) {
|
|
124
|
+
var _params2;
|
|
124
125
|
var _relationKey = isMain ? window.appConfig.constraintKeys.PRIMARY : relationKey;
|
|
125
|
-
var _params = {
|
|
126
|
-
indocno: formData[mainFormLdId] && formData[mainFormLdId][_relationKey] || ticketData[_relationKey],
|
|
127
|
-
moduleCode: moduleCode,
|
|
128
|
-
datasetCode: dataSetKey,
|
|
129
|
-
behaviorKey: 'readForm'
|
|
130
|
-
};
|
|
126
|
+
var _params = (_params2 = {}, (0, _defineProperty2.default)(_params2, 'indocno', formData[mainFormLdId] && formData[mainFormLdId][_relationKey] || ticketData[_relationKey]), (0, _defineProperty2.default)(_params2, "moduleCode", moduleCode), (0, _defineProperty2.default)(_params2, "datasetCode", dataSetKey), (0, _defineProperty2.default)(_params2, "behaviorKey", 'readForm'), _params2);
|
|
131
127
|
if (!isMain) _params.relationDs = mainDataSetKey;
|
|
132
128
|
return _params;
|
|
133
129
|
}
|
|
@@ -31,13 +31,10 @@ var _action = require("../../helper/action");
|
|
|
31
31
|
var _lodash = require("lodash");
|
|
32
32
|
var _bpm = require("@luck-design-biz/base/bpm");
|
|
33
33
|
var _services = require("../../services");
|
|
34
|
-
var _querystring = require("querystring");
|
|
35
34
|
var _excluded = ["namespace", "formState", "formMode", "formOperates", "loading", "wrapperRef", "readOnly", "mainFormLdId", "renderFormList", "renderAffixLeft", "renderAffixRight", "beforeSubmit", "showSaveBtn", "saveBtnTitle", "affixLayout", "onValueChange", "afterSubmit", "renderFormExtra", "bpmButtonProps"],
|
|
36
35
|
_excluded2 = ["dataSets", "doAction", "resources"],
|
|
37
|
-
_excluded3 = ["
|
|
38
|
-
_excluded4 = ["
|
|
39
|
-
_excluded5 = ["id", "header", "title", "readOnly", "extraConfig", "renderTopLeft"],
|
|
40
|
-
_excluded6 = ["ldId", "initData", "overModel"];
|
|
36
|
+
_excluded3 = ["id", "header", "title", "readOnly", "extraConfig", "renderTopLeft"],
|
|
37
|
+
_excluded4 = ["ldId", "initData", "overModel"];
|
|
41
38
|
// 组件
|
|
42
39
|
var LdFormList = function LdFormList(_ref) {
|
|
43
40
|
var _formList$find;
|
|
@@ -66,15 +63,6 @@ var LdFormList = function LdFormList(_ref) {
|
|
|
66
63
|
_ref$bpmButtonProps = _ref.bpmButtonProps,
|
|
67
64
|
bpmButtonProps = _ref$bpmButtonProps === void 0 ? {} : _ref$bpmButtonProps,
|
|
68
65
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
69
|
-
var _useModel = (0, _umi.useModel)('@@qiankunStateFromMaster', function (qiankunStateFromMaster) {
|
|
70
|
-
return {
|
|
71
|
-
peek: qiankunStateFromMaster === null || qiankunStateFromMaster === void 0 ? void 0 : qiankunStateFromMaster.peekFloatLayer,
|
|
72
|
-
refresh: qiankunStateFromMaster === null || qiankunStateFromMaster === void 0 ? void 0 : qiankunStateFromMaster.refreshFloatLayer
|
|
73
|
-
};
|
|
74
|
-
}),
|
|
75
|
-
peek = _useModel.peek,
|
|
76
|
-
refresh = _useModel.refresh;
|
|
77
|
-
var PRIMARY = window.appConfig.constraintKeys.PRIMARY;
|
|
78
66
|
var _useState = (0, _react.useState)(false),
|
|
79
67
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
80
68
|
submitLoading = _useState2[0],
|
|
@@ -137,14 +125,15 @@ var LdFormList = function LdFormList(_ref) {
|
|
|
137
125
|
}, bpmButtonProps)));
|
|
138
126
|
};
|
|
139
127
|
(0, _ahooks.useAsyncEffect)( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
|
|
140
|
-
var _props$formData$mainF, _params, response, _yield$readBehaviorCa, code, data, _props$formData$mainF2, _props$formData$mainF3, bpmInfoObj, tempObj;
|
|
128
|
+
var _props$formData$mainF, PRIMARY, _params, response, _yield$readBehaviorCa, code, data, _props$formData$mainF2, _props$formData$mainF3, bpmInfoObj, tempObj;
|
|
141
129
|
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
142
130
|
while (1) switch (_context.prev = _context.next) {
|
|
143
131
|
case 0:
|
|
144
132
|
if (!(formMode !== 'add' && props.formData[mainFormLdId])) {
|
|
145
|
-
_context.next =
|
|
133
|
+
_context.next = 13;
|
|
146
134
|
break;
|
|
147
135
|
}
|
|
136
|
+
PRIMARY = window.appConfig.constraintKeys.PRIMARY;
|
|
148
137
|
_params = {
|
|
149
138
|
indocno: (_props$formData$mainF = props.formData[mainFormLdId]) === null || _props$formData$mainF === void 0 ? void 0 : _props$formData$mainF[PRIMARY],
|
|
150
139
|
moduleCode: rest.moduleCode,
|
|
@@ -152,19 +141,19 @@ var LdFormList = function LdFormList(_ref) {
|
|
|
152
141
|
mainDataSetKey: mainDataSetKey,
|
|
153
142
|
behaviorKey: 'readBpmDeploy'
|
|
154
143
|
}; // 请求是否有工作流服务
|
|
155
|
-
_context.next =
|
|
144
|
+
_context.next = 5;
|
|
156
145
|
return (0, _services.readBehaviorCall)(_params);
|
|
157
|
-
case
|
|
146
|
+
case 5:
|
|
158
147
|
response = _context.sent;
|
|
159
148
|
if (!(response.code === 1 && response.data)) {
|
|
160
|
-
_context.next =
|
|
149
|
+
_context.next = 13;
|
|
161
150
|
break;
|
|
162
151
|
}
|
|
163
|
-
_context.next =
|
|
152
|
+
_context.next = 9;
|
|
164
153
|
return (0, _services.readBehaviorCall)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, _params), {}, {
|
|
165
154
|
behaviorKey: 'readBpm'
|
|
166
155
|
}));
|
|
167
|
-
case
|
|
156
|
+
case 9:
|
|
168
157
|
_yield$readBehaviorCa = _context.sent;
|
|
169
158
|
code = _yield$readBehaviorCa.code;
|
|
170
159
|
data = _yield$readBehaviorCa.data;
|
|
@@ -182,7 +171,7 @@ var LdFormList = function LdFormList(_ref) {
|
|
|
182
171
|
setBizData(tempObj);
|
|
183
172
|
setIsCustomRenderAffixRight(true);
|
|
184
173
|
}
|
|
185
|
-
case
|
|
174
|
+
case 13:
|
|
186
175
|
case "end":
|
|
187
176
|
return _context.stop();
|
|
188
177
|
}
|
|
@@ -208,45 +197,15 @@ var LdFormList = function LdFormList(_ref) {
|
|
|
208
197
|
mainDataSetKey: mainDataSetKey
|
|
209
198
|
}, function (success, mainKey, res) {
|
|
210
199
|
setSubmitLoading(false);
|
|
211
|
-
var mainFormData = res.detail[res.list[0]];
|
|
212
200
|
if (success) {
|
|
213
201
|
if (afterSubmit) {
|
|
214
202
|
afterSubmit(success, mainKey, res);
|
|
215
|
-
// 刷新浮层,解决新增后,操作日志获取不到uid的问题
|
|
216
|
-
if (refresh && peek) {
|
|
217
|
-
var _peek = peek(),
|
|
218
|
-
href = _peek.href;
|
|
219
|
-
var _href$split = href.split('?'),
|
|
220
|
-
_href$split2 = (0, _slicedToArray2.default)(_href$split, 2),
|
|
221
|
-
path = _href$split2[0],
|
|
222
|
-
argsStr = _href$split2[1];
|
|
223
|
-
var _parse = (0, _querystring.parse)(argsStr),
|
|
224
|
-
_formMode = _parse.formMode,
|
|
225
|
-
_props2 = (0, _objectWithoutProperties2.default)(_parse, _excluded3);
|
|
226
|
-
refresh({
|
|
227
|
-
href: "".concat(path, "?").concat(PRIMARY, "=").concat(mainFormData[PRIMARY], "&").concat((0, _querystring.stringify)((0, _objectSpread2.default)({}, _props2)))
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
203
|
} else {
|
|
231
204
|
var _formListRef$current;
|
|
232
205
|
props.parentModelName && ((_formListRef$current = formListRef.current) === null || _formListRef$current === void 0 ? void 0 : _formListRef$current.doParentsQuery());
|
|
206
|
+
var mainFormData = res.detail[res.list[0]];
|
|
233
207
|
formListRef.current.onQuery(null, (0, _defineProperty2.default)({}, mainFormLdId, mainFormData), function () {
|
|
234
|
-
formListRef.current.setFormMode('info');
|
|
235
|
-
// 刷新浮层,解决新增后,操作日志获取不到uid的问题
|
|
236
|
-
if (refresh && peek) {
|
|
237
|
-
var _peek2 = peek(),
|
|
238
|
-
_href = _peek2.href;
|
|
239
|
-
var _href$split3 = _href.split('?'),
|
|
240
|
-
_href$split4 = (0, _slicedToArray2.default)(_href$split3, 2),
|
|
241
|
-
_path = _href$split4[0],
|
|
242
|
-
_argsStr = _href$split4[1];
|
|
243
|
-
var _parse2 = (0, _querystring.parse)(_argsStr),
|
|
244
|
-
_formMode2 = _parse2.formMode,
|
|
245
|
-
_props3 = (0, _objectWithoutProperties2.default)(_parse2, _excluded4);
|
|
246
|
-
refresh({
|
|
247
|
-
href: "".concat(_path, "?formMode=info&").concat(PRIMARY, "=").concat(mainFormData[PRIMARY], "&").concat((0, _querystring.stringify)((0, _objectSpread2.default)({}, _props3)))
|
|
248
|
-
});
|
|
249
|
-
}
|
|
208
|
+
return formListRef.current.setFormMode('info');
|
|
250
209
|
});
|
|
251
210
|
}
|
|
252
211
|
}
|
|
@@ -313,7 +272,7 @@ var LdFormList = function LdFormList(_ref) {
|
|
|
313
272
|
_renderTopLeft = _ref8$renderTopLeft === void 0 ? function () {
|
|
314
273
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
315
274
|
} : _ref8$renderTopLeft,
|
|
316
|
-
_props = (0, _objectWithoutProperties2.default)(_ref8,
|
|
275
|
+
_props = (0, _objectWithoutProperties2.default)(_ref8, _excluded3);
|
|
317
276
|
var _props$type = _props.type,
|
|
318
277
|
type = _props$type === void 0 ? 'auto' : _props$type;
|
|
319
278
|
var renderForm = type === 'auto' ? _LdAutoForm.default : _LdGridForm.default;
|
|
@@ -390,7 +349,7 @@ var Index = function Index(_ref10) {
|
|
|
390
349
|
var namespace = _ref10.ldId,
|
|
391
350
|
initData = _ref10.initData,
|
|
392
351
|
overModel = _ref10.overModel,
|
|
393
|
-
props = (0, _objectWithoutProperties2.default)(_ref10,
|
|
352
|
+
props = (0, _objectWithoutProperties2.default)(_ref10, _excluded4);
|
|
394
353
|
var match = (0, _umi.useRouteMatch)();
|
|
395
354
|
var Component = (0, _ahooks.useCreation)(function () {
|
|
396
355
|
var _getDvaApp3, _getDvaApp4, _match$params;
|