@luck-design-biz/luckda 1.0.4-13tl → 1.0.5-13tl
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.
|
@@ -49,7 +49,7 @@ export var ImportUploadPop = function ImportUploadPop(_ref) {
|
|
|
49
49
|
// 清除进度
|
|
50
50
|
var clearProgress = function clearProgress(batchNo) {
|
|
51
51
|
clearProcess(batchNo).then(function () {
|
|
52
|
-
console.log(options.tableRef);
|
|
52
|
+
console.log('clearProgress', options.tableRef);
|
|
53
53
|
options.tableRef && options.tableRef.current && options.tableRef.current.onLdQuery();
|
|
54
54
|
});
|
|
55
55
|
};
|
|
@@ -413,6 +413,7 @@ var LCTable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
413
413
|
}, [fields, formatDataSource, getDataPath, columnsRewrite, columnsReset, modelParams, draggable]);
|
|
414
414
|
var renderFunctionArea = useCallback(function () {
|
|
415
415
|
var _topActionGroup$todoL;
|
|
416
|
+
var _moduleCode = getLDMetaAttr('moduleCode');
|
|
416
417
|
var resultComp = [];
|
|
417
418
|
if (!!(topActionGroup !== null && topActionGroup !== void 0 && (_topActionGroup$todoL = topActionGroup.todoList) !== null && _topActionGroup$todoL !== void 0 && _topActionGroup$todoL.length)) {
|
|
418
419
|
resultComp.push( /*#__PURE__*/React.createElement(LDActions, _extends({}, topActionGroup, {
|
|
@@ -430,7 +431,7 @@ var LCTable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
430
431
|
apiUrl = _instanceRef$current$2.apiUrl;
|
|
431
432
|
resultComp.push( /*#__PURE__*/React.createElement(TopUpload, {
|
|
432
433
|
apiUrl: apiUrl,
|
|
433
|
-
moduleCode:
|
|
434
|
+
moduleCode: _moduleCode,
|
|
434
435
|
options: impexp,
|
|
435
436
|
tableRef: instanceRef
|
|
436
437
|
}));
|
|
@@ -441,7 +442,7 @@ var LCTable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
441
442
|
_apiUrl = _instanceRef$current$3.apiUrl;
|
|
442
443
|
resultComp.push( /*#__PURE__*/React.createElement(TopExport, {
|
|
443
444
|
apiUrl: _apiUrl,
|
|
444
|
-
moduleCode:
|
|
445
|
+
moduleCode: _moduleCode,
|
|
445
446
|
options: impexp,
|
|
446
447
|
tableRef: instanceRef
|
|
447
448
|
}));
|
|
@@ -57,7 +57,7 @@ var ImportUploadPop = exports.ImportUploadPop = function ImportUploadPop(_ref) {
|
|
|
57
57
|
// 清除进度
|
|
58
58
|
var clearProgress = function clearProgress(batchNo) {
|
|
59
59
|
(0, _apiUrl.clearProcess)(batchNo).then(function () {
|
|
60
|
-
console.log(options.tableRef);
|
|
60
|
+
console.log('clearProgress', options.tableRef);
|
|
61
61
|
options.tableRef && options.tableRef.current && options.tableRef.current.onLdQuery();
|
|
62
62
|
});
|
|
63
63
|
};
|
|
@@ -421,6 +421,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
421
421
|
}, [fields, formatDataSource, getDataPath, columnsRewrite, columnsReset, modelParams, draggable]);
|
|
422
422
|
var renderFunctionArea = (0, _react.useCallback)(function () {
|
|
423
423
|
var _topActionGroup$todoL;
|
|
424
|
+
var _moduleCode = (0, _helper.getLDMetaAttr)('moduleCode');
|
|
424
425
|
var resultComp = [];
|
|
425
426
|
if (!!(topActionGroup !== null && topActionGroup !== void 0 && (_topActionGroup$todoL = topActionGroup.todoList) !== null && _topActionGroup$todoL !== void 0 && _topActionGroup$todoL.length)) {
|
|
426
427
|
resultComp.push( /*#__PURE__*/_react.default.createElement(_index.LDActions, (0, _extends2.default)({}, topActionGroup, {
|
|
@@ -438,7 +439,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
438
439
|
apiUrl = _instanceRef$current$2.apiUrl;
|
|
439
440
|
resultComp.push( /*#__PURE__*/_react.default.createElement(_TopImex.TopUpload, {
|
|
440
441
|
apiUrl: apiUrl,
|
|
441
|
-
moduleCode:
|
|
442
|
+
moduleCode: _moduleCode,
|
|
442
443
|
options: impexp,
|
|
443
444
|
tableRef: instanceRef
|
|
444
445
|
}));
|
|
@@ -449,7 +450,7 @@ var LCTable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
449
450
|
_apiUrl = _instanceRef$current$3.apiUrl;
|
|
450
451
|
resultComp.push( /*#__PURE__*/_react.default.createElement(_TopImex.TopExport, {
|
|
451
452
|
apiUrl: _apiUrl,
|
|
452
|
-
moduleCode:
|
|
453
|
+
moduleCode: _moduleCode,
|
|
453
454
|
options: impexp,
|
|
454
455
|
tableRef: instanceRef
|
|
455
456
|
}));
|
package/package.json
CHANGED