@luck-design-biz/luckda 1.0.2-9 → 1.0.3-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.
Files changed (95) hide show
  1. package/es/components/LDActions/index.js +1 -0
  2. package/es/components/LdFormList/index.js +6 -4
  3. package/es/components/LdGrid/index.js +1 -4
  4. package/es/helper/action.js +2 -0
  5. package/es/locales/zh-CN.js +18 -1
  6. package/es/lowcode/constants/api-url.js +329 -187
  7. package/es/lowcode/engine/meta/box.props.default.json +1 -1
  8. package/es/lowcode/engine/meta/box.props.json +1 -1
  9. package/es/lowcode/engine/meta/button.api.json +0 -0
  10. package/es/lowcode/engine/meta/dialog.props.default.json +4 -1
  11. package/es/lowcode/engine/meta/dialog.props.json +24 -4
  12. package/es/lowcode/engine/meta/drawer.props.json +1 -1
  13. package/es/lowcode/engine/meta/form.props.json +1 -1
  14. package/es/lowcode/engine/provider/ContextProvider/router.js +21 -1
  15. package/es/lowcode/painter/DesignOperator.js +4 -3
  16. package/es/lowcode/painter/History.js +300 -0
  17. package/es/lowcode/painter/Ribbon.js +37 -1
  18. package/es/lowcode/painter/components/AdvancePanel.js +1 -1
  19. package/es/lowcode/painter/components/code-editor/DiffEditor.js +41 -0
  20. package/es/lowcode/painter/components/field-setting/FieldAttrs.js +2 -2
  21. package/es/lowcode/painter/components/field-setting/SettingUI.js +0 -1
  22. package/es/lowcode/painter/panel-section/ConditionCheck.js +71 -0
  23. package/es/lowcode/painter/panel-section/DialogSize.js +76 -0
  24. package/es/lowcode/painter/panel-section/DialogWidthHeight.js +60 -0
  25. package/es/lowcode/painter/panel-section/JSEditor/ToolBar.js +61 -6
  26. package/es/lowcode/painter/panel-section/JSEditor/index.js +37 -5
  27. package/es/lowcode/painter/panel-section/PageLayoutDisplay.js +7 -2
  28. package/es/lowcode/painter/style/action-bind-modal.less +1 -1
  29. package/es/lowcode/painter/style/history.less +46 -0
  30. package/es/lowcode/painter/style/outline.less +1 -1
  31. package/es/lowcode/view/lc-components/Box/meta.json +1 -1
  32. package/es/lowcode/view/lc-components/Dialog/index.js +12 -5
  33. package/es/lowcode/view/lc-components/Dialog/meta.json +24 -4
  34. package/es/lowcode/view/lc-components/Drawer/index.js +3 -3
  35. package/es/lowcode/view/lc-components/Drawer/meta.json +1 -1
  36. package/es/lowcode/view/lc-components/Form/index.js +12 -19
  37. package/es/lowcode/view/lc-components/Form/meta.json +1 -1
  38. package/es/lowcode/view/lc-components/PageLayout/index.js +1 -1
  39. package/es/lowcode/view/lc-components/Table/components/TopImex.js +33 -16
  40. package/es/lowcode/view/lc-components/Table/index.js +5 -4
  41. package/es/upload/FilesWall/index.js +16 -6
  42. package/es/upload/Form/gridForm.js +16 -6
  43. package/es/upload/FormItem/index.js +16 -4
  44. package/es/utils/form.js +4 -3
  45. package/es/utils/grid.js +10 -2
  46. package/lib/components/LDActions/index.js +1 -0
  47. package/lib/components/LdFormList/index.js +6 -4
  48. package/lib/components/LdGrid/index.js +1 -4
  49. package/lib/helper/action.js +2 -0
  50. package/lib/locales/zh-CN.js +18 -1
  51. package/lib/lowcode/constants/api-url.js +329 -188
  52. package/lib/lowcode/engine/meta/box.props.default.json +1 -1
  53. package/lib/lowcode/engine/meta/box.props.json +1 -1
  54. package/lib/lowcode/engine/meta/button.api.json +0 -0
  55. package/lib/lowcode/engine/meta/dialog.props.default.json +4 -1
  56. package/lib/lowcode/engine/meta/dialog.props.json +24 -4
  57. package/lib/lowcode/engine/meta/drawer.props.json +1 -1
  58. package/lib/lowcode/engine/meta/form.props.json +1 -1
  59. package/lib/lowcode/engine/provider/ContextProvider/router.js +22 -1
  60. package/lib/lowcode/painter/DesignOperator.js +4 -3
  61. package/lib/lowcode/painter/History.js +308 -0
  62. package/lib/lowcode/painter/Ribbon.js +37 -1
  63. package/lib/lowcode/painter/components/AdvancePanel.js +1 -1
  64. package/lib/lowcode/painter/components/code-editor/DiffEditor.js +49 -0
  65. package/lib/lowcode/painter/components/field-setting/FieldAttrs.js +2 -2
  66. package/lib/lowcode/painter/components/field-setting/SettingUI.js +0 -1
  67. package/lib/lowcode/painter/panel-section/ConditionCheck.js +79 -0
  68. package/lib/lowcode/painter/panel-section/DialogSize.js +83 -0
  69. package/lib/lowcode/painter/panel-section/DialogWidthHeight.js +67 -0
  70. package/lib/lowcode/painter/panel-section/JSEditor/ToolBar.js +61 -6
  71. package/lib/lowcode/painter/panel-section/JSEditor/index.js +36 -4
  72. package/lib/lowcode/painter/panel-section/PageLayoutDisplay.js +7 -2
  73. package/lib/lowcode/painter/style/action-bind-modal.less +1 -1
  74. package/lib/lowcode/painter/style/history.less +46 -0
  75. package/lib/lowcode/painter/style/outline.less +1 -1
  76. package/lib/lowcode/view/lc-components/Box/meta.json +1 -1
  77. package/lib/lowcode/view/lc-components/Dialog/index.js +10 -3
  78. package/lib/lowcode/view/lc-components/Dialog/meta.json +24 -4
  79. package/lib/lowcode/view/lc-components/Drawer/index.js +1 -1
  80. package/lib/lowcode/view/lc-components/Drawer/meta.json +1 -1
  81. package/lib/lowcode/view/lc-components/Form/index.js +12 -19
  82. package/lib/lowcode/view/lc-components/Form/meta.json +1 -1
  83. package/lib/lowcode/view/lc-components/PageLayout/index.js +1 -1
  84. package/lib/lowcode/view/lc-components/Table/components/TopImex.js +32 -15
  85. package/lib/lowcode/view/lc-components/Table/index.js +5 -4
  86. package/lib/upload/FilesWall/index.js +13 -3
  87. package/lib/upload/Form/gridForm.js +13 -3
  88. package/lib/upload/FormItem/index.js +15 -3
  89. package/lib/utils/form.js +3 -2
  90. package/lib/utils/grid.js +11 -3
  91. package/package.json +1 -2
  92. package/es/lowcode/engine/meta/fielddatadic.props.default.json +0 -16
  93. package/es/lowcode/engine/meta/fielddatadic.props.json +0 -73
  94. package/lib/lowcode/engine/meta/fielddatadic.props.default.json +0 -16
  95. package/lib/lowcode/engine/meta/fielddatadic.props.json +0 -73
@@ -5,9 +5,11 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.ICONLIST_URL = exports.ICONLIST_JS = void 0;
8
+ exports.clearProcess = clearProcess;
8
9
  exports.exportExcel = exportExcel;
9
10
  exports.fetchAddDataset = fetchAddDataset;
10
11
  exports.fetchAddFieldAttrs = fetchAddFieldAttrs;
12
+ exports.fetchAddHistoryVersion = fetchAddHistoryVersion;
11
13
  exports.fetchAllBehavior = fetchAllBehavior;
12
14
  exports.fetchAllBehaviorEx = fetchAllBehaviorEx;
13
15
  exports.fetchAllDataset = fetchAllDataset;
@@ -17,12 +19,15 @@ exports.fetchCallBehavior = fetchCallBehavior;
17
19
  exports.fetchClearCache = fetchClearCache;
18
20
  exports.fetchDataDic = fetchDataDic;
19
21
  exports.fetchDelAttrs = fetchDelAttrs;
22
+ exports.fetchDelHistoryVersion = fetchDelHistoryVersion;
20
23
  exports.fetchDesignModlueData = fetchDesignModlueData;
21
24
  exports.fetchFieldCondition = fetchFieldCondition;
22
25
  exports.fetchFieldsByDataset = fetchFieldsByDataset;
26
+ exports.fetchHistoryVersionList = fetchHistoryVersionList;
23
27
  exports.fetchModlueData = fetchModlueData;
24
28
  exports.fetchPageData = fetchPageData;
25
29
  exports.fetchPreviewModlueData = fetchPreviewModlueData;
30
+ exports.fetchRecoverHistoryVersion = fetchRecoverHistoryVersion;
26
31
  exports.fetchSearchUser = fetchSearchUser;
27
32
  exports.fetchUpdateFieldAttrs = fetchUpdateFieldAttrs;
28
33
  exports.fetchUpdatePageData = fetchUpdatePageData;
@@ -49,11 +54,128 @@ var API_PREFIX_PAGE = "".concat(_ApiConfig.default.LUCKDA_HOST, "/page");
49
54
  var API_PREFIX_MODULE = "".concat(_ApiConfig.default.LUCKDA_HOST, "/module");
50
55
  var API_RREFIX_DATASET = "".concat(API_PREFIX_MODULE, "/dataset");
51
56
 
57
+ /**
58
+ * 获取历史版本列表
59
+ * @async
60
+ * @function fetchHistoryVersionList
61
+ * @param {Object} params - 请求参数
62
+ * @param {string} params.pageCode - 菜单编码
63
+ * @returns {Promise<Object>} 返回历史版本列表的Promise
64
+ */
65
+ function fetchHistoryVersionList(_x) {
66
+ return _fetchHistoryVersionList.apply(this, arguments);
67
+ }
68
+ /**
69
+ * 添加历史版本
70
+ * @async
71
+ * @function fetchAddHistoryVersion
72
+ * @param {Object} data - 要添加的历史版本数据
73
+ * @param {string} params.pageCode - 菜单编码
74
+ * @param {string} params.backupName - 版本名称
75
+ * @param {string} params.backupNote - 版本描述
76
+ * @returns {Promise<Object>} 返回添加历史版本的Promise
77
+ */
78
+ function _fetchHistoryVersionList() {
79
+ _fetchHistoryVersionList = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(params) {
80
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
81
+ while (1) switch (_context.prev = _context.next) {
82
+ case 0:
83
+ return _context.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/data/readPageBackupList"), {
84
+ params: params
85
+ }));
86
+ case 1:
87
+ case "end":
88
+ return _context.stop();
89
+ }
90
+ }, _callee);
91
+ }));
92
+ return _fetchHistoryVersionList.apply(this, arguments);
93
+ }
94
+ function fetchAddHistoryVersion(_x2) {
95
+ return _fetchAddHistoryVersion.apply(this, arguments);
96
+ }
97
+ /**
98
+ * 删除历史版本
99
+ * @async
100
+ * @function fetchDelHistoryVersion
101
+ * @param {Object} data - 要删除的历史版本数据
102
+ * @param {string} data.uid - 历史版本的唯一标识
103
+ * @returns {Promise<Object>} 返回删除历史版本的Promise
104
+ */
105
+ function _fetchAddHistoryVersion() {
106
+ _fetchAddHistoryVersion = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(data) {
107
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee2$(_context2) {
108
+ while (1) switch (_context2.prev = _context2.next) {
109
+ case 0:
110
+ return _context2.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/data/backup"), {
111
+ method: 'POST',
112
+ data: data
113
+ }));
114
+ case 1:
115
+ case "end":
116
+ return _context2.stop();
117
+ }
118
+ }, _callee2);
119
+ }));
120
+ return _fetchAddHistoryVersion.apply(this, arguments);
121
+ }
122
+ function fetchDelHistoryVersion(_x3) {
123
+ return _fetchDelHistoryVersion.apply(this, arguments);
124
+ }
125
+ /**
126
+ * 恢复历史版本
127
+ * @async
128
+ * @function fetchRecoverHistoryVersion
129
+ * @param {Object} data - 要恢复的历史版本数据
130
+ * @param {string} data.uid - 历史版本的唯一标识
131
+ * @returns {Promise<Object>} 返回恢复历史版本的Promise
132
+ */
133
+ function _fetchDelHistoryVersion() {
134
+ _fetchDelHistoryVersion = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3(data) {
135
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee3$(_context3) {
136
+ while (1) switch (_context3.prev = _context3.next) {
137
+ case 0:
138
+ return _context3.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/data/deleteBackup"), {
139
+ method: 'POST',
140
+ data: data
141
+ }));
142
+ case 1:
143
+ case "end":
144
+ return _context3.stop();
145
+ }
146
+ }, _callee3);
147
+ }));
148
+ return _fetchDelHistoryVersion.apply(this, arguments);
149
+ }
150
+ function fetchRecoverHistoryVersion(_x4) {
151
+ return _fetchRecoverHistoryVersion.apply(this, arguments);
152
+ }
52
153
  /**
53
154
  * 通过菜单编码获取page相关数据
54
- * @param {{code: string}} -code: 菜单编码
155
+ * @async
156
+ * @function fetchPageData
157
+ * @param {Object} params - 请求参数
158
+ * @param {string} params.code - 菜单编码
159
+ * @returns {Promise<Object>} 返回page相关数据的Promise
55
160
  */
56
- function fetchPageData(_x) {
161
+ function _fetchRecoverHistoryVersion() {
162
+ _fetchRecoverHistoryVersion = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee4(data) {
163
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee4$(_context4) {
164
+ while (1) switch (_context4.prev = _context4.next) {
165
+ case 0:
166
+ return _context4.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/data/recover"), {
167
+ method: 'POST',
168
+ data: data
169
+ }));
170
+ case 1:
171
+ case "end":
172
+ return _context4.stop();
173
+ }
174
+ }, _callee4);
175
+ }));
176
+ return _fetchRecoverHistoryVersion.apply(this, arguments);
177
+ }
178
+ function fetchPageData(_x5) {
57
179
  return _fetchPageData.apply(this, arguments);
58
180
  }
59
181
  /**
@@ -61,22 +183,22 @@ function fetchPageData(_x) {
61
183
  * @param {{moduleCode: string}} params
62
184
  */
63
185
  function _fetchPageData() {
64
- _fetchPageData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(params) {
65
- return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
66
- while (1) switch (_context.prev = _context.next) {
186
+ _fetchPageData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee5(params) {
187
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee5$(_context5) {
188
+ while (1) switch (_context5.prev = _context5.next) {
67
189
  case 0:
68
- return _context.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/option/noAuthTransformCodeAndPageData"), {
190
+ return _context5.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/option/noAuthTransformCodeAndPageData"), {
69
191
  params: params
70
192
  }));
71
193
  case 1:
72
194
  case "end":
73
- return _context.stop();
195
+ return _context5.stop();
74
196
  }
75
- }, _callee);
197
+ }, _callee5);
76
198
  }));
77
199
  return _fetchPageData.apply(this, arguments);
78
200
  }
79
- function fetchDesignModlueData(_x2, _x3) {
201
+ function fetchDesignModlueData(_x6, _x7) {
80
202
  return _fetchDesignModlueData.apply(this, arguments);
81
203
  }
82
204
  /**
@@ -86,23 +208,23 @@ function fetchDesignModlueData(_x2, _x3) {
86
208
  * @returns
87
209
  */
88
210
  function _fetchDesignModlueData() {
89
- _fetchDesignModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee2(_, params) {
90
- return (0, _regeneratorRuntime2.default)().wrap(function _callee2$(_context2) {
91
- while (1) switch (_context2.prev = _context2.next) {
211
+ _fetchDesignModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee6(_, params) {
212
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee6$(_context6) {
213
+ while (1) switch (_context6.prev = _context6.next) {
92
214
  case 0:
93
- return _context2.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/fetchModuleInfo"), {
215
+ return _context6.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/fetchModuleInfo"), {
94
216
  params: params,
95
217
  headers: (0, _defineProperty2.default)({}, _constants.LC_RUNTIME_KEY, (0, _helper.getMetaAttr)(_constants.LC_RUNTIME_KEY))
96
218
  }));
97
219
  case 1:
98
220
  case "end":
99
- return _context2.stop();
221
+ return _context6.stop();
100
222
  }
101
- }, _callee2);
223
+ }, _callee6);
102
224
  }));
103
225
  return _fetchDesignModlueData.apply(this, arguments);
104
226
  }
105
- function fetchPreviewModlueData(_x4, _x5) {
227
+ function fetchPreviewModlueData(_x8, _x9) {
106
228
  return _fetchPreviewModlueData.apply(this, arguments);
107
229
  }
108
230
  /**
@@ -110,23 +232,23 @@ function fetchPreviewModlueData(_x4, _x5) {
110
232
  * @param {{moduleCode: string}} params
111
233
  */
112
234
  function _fetchPreviewModlueData() {
113
- _fetchPreviewModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee3(dmCode, params) {
114
- return (0, _regeneratorRuntime2.default)().wrap(function _callee3$(_context3) {
115
- while (1) switch (_context3.prev = _context3.next) {
235
+ _fetchPreviewModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee7(dmCode, params) {
236
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee7$(_context7) {
237
+ while (1) switch (_context7.prev = _context7.next) {
116
238
  case 0:
117
- return _context3.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(dmCode, "/ui/builder/fetchModuleForPreview"), {
239
+ return _context7.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(dmCode, "/ui/builder/fetchModuleForPreview"), {
118
240
  params: params,
119
241
  headers: (0, _defineProperty2.default)({}, _constants.LC_RUNTIME_KEY, (0, _helper.getMetaAttr)(_constants.LC_RUNTIME_KEY))
120
242
  }));
121
243
  case 1:
122
244
  case "end":
123
- return _context3.stop();
245
+ return _context7.stop();
124
246
  }
125
- }, _callee3);
247
+ }, _callee7);
126
248
  }));
127
249
  return _fetchPreviewModlueData.apply(this, arguments);
128
250
  }
129
- function fetchModlueData(_x6, _x7) {
251
+ function fetchModlueData(_x10, _x11) {
130
252
  return _fetchModlueData.apply(this, arguments);
131
253
  }
132
254
  /**
@@ -134,23 +256,23 @@ function fetchModlueData(_x6, _x7) {
134
256
  * @param {{ dataModelKey }} params
135
257
  */
136
258
  function _fetchModlueData() {
137
- _fetchModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee4(dmCode, params) {
138
- return (0, _regeneratorRuntime2.default)().wrap(function _callee4$(_context4) {
139
- while (1) switch (_context4.prev = _context4.next) {
259
+ _fetchModlueData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee8(dmCode, params) {
260
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee8$(_context8) {
261
+ while (1) switch (_context8.prev = _context8.next) {
140
262
  case 0:
141
- return _context4.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(dmCode, "/ui/builder/noAuthFetchModule"), {
263
+ return _context8.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(dmCode, "/ui/builder/noAuthFetchModule"), {
142
264
  params: params,
143
265
  headers: (0, _defineProperty2.default)({}, _constants.LC_RUNTIME_KEY, (0, _helper.getMetaAttr)(_constants.LC_RUNTIME_KEY))
144
266
  }));
145
267
  case 1:
146
268
  case "end":
147
- return _context4.stop();
269
+ return _context8.stop();
148
270
  }
149
- }, _callee4);
271
+ }, _callee8);
150
272
  }));
151
273
  return _fetchModlueData.apply(this, arguments);
152
274
  }
153
- function fetchAllDataset(_x8) {
275
+ function fetchAllDataset(_x12) {
154
276
  return _fetchAllDataset.apply(this, arguments);
155
277
  }
156
278
  /**
@@ -158,22 +280,22 @@ function fetchAllDataset(_x8) {
158
280
  * @data {{ uid, dataModelKey, addList: { code, datasetUid }}} body数据
159
281
  */
160
282
  function _fetchAllDataset() {
161
- _fetchAllDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee5(params) {
162
- return (0, _regeneratorRuntime2.default)().wrap(function _callee5$(_context5) {
163
- while (1) switch (_context5.prev = _context5.next) {
283
+ _fetchAllDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee9(params) {
284
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee9$(_context9) {
285
+ while (1) switch (_context9.prev = _context9.next) {
164
286
  case 0:
165
- return _context5.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/option/noAuthGetDataset"), {
287
+ return _context9.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/option/noAuthGetDataset"), {
166
288
  params: params
167
289
  }));
168
290
  case 1:
169
291
  case "end":
170
- return _context5.stop();
292
+ return _context9.stop();
171
293
  }
172
- }, _callee5);
294
+ }, _callee9);
173
295
  }));
174
296
  return _fetchAllDataset.apply(this, arguments);
175
297
  }
176
- function fetchAddDataset(_x9) {
298
+ function fetchAddDataset(_x13) {
177
299
  return _fetchAddDataset.apply(this, arguments);
178
300
  }
179
301
  /**
@@ -181,23 +303,23 @@ function fetchAddDataset(_x9) {
181
303
  * @param {{datasetUid}} params
182
304
  */
183
305
  function _fetchAddDataset() {
184
- _fetchAddDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee6(data) {
185
- return (0, _regeneratorRuntime2.default)().wrap(function _callee6$(_context6) {
186
- while (1) switch (_context6.prev = _context6.next) {
306
+ _fetchAddDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee10(data) {
307
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee10$(_context10) {
308
+ while (1) switch (_context10.prev = _context10.next) {
187
309
  case 0:
188
- return _context6.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/add"), {
310
+ return _context10.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/add"), {
189
311
  data: data,
190
312
  method: 'POST'
191
313
  }));
192
314
  case 1:
193
315
  case "end":
194
- return _context6.stop();
316
+ return _context10.stop();
195
317
  }
196
- }, _callee6);
318
+ }, _callee10);
197
319
  }));
198
320
  return _fetchAddDataset.apply(this, arguments);
199
321
  }
200
- function fetchFieldsByDataset(_x10) {
322
+ function fetchFieldsByDataset(_x14) {
201
323
  return _fetchFieldsByDataset.apply(this, arguments);
202
324
  }
203
325
  /**
@@ -206,22 +328,22 @@ function fetchFieldsByDataset(_x10) {
206
328
  * @returns
207
329
  */
208
330
  function _fetchFieldsByDataset() {
209
- _fetchFieldsByDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee7(params) {
210
- return (0, _regeneratorRuntime2.default)().wrap(function _callee7$(_context7) {
211
- while (1) switch (_context7.prev = _context7.next) {
331
+ _fetchFieldsByDataset = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee11(params) {
332
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee11$(_context11) {
333
+ while (1) switch (_context11.prev = _context11.next) {
212
334
  case 0:
213
- return _context7.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/readAll"), {
335
+ return _context11.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/readAll"), {
214
336
  params: params
215
337
  }));
216
338
  case 1:
217
339
  case "end":
218
- return _context7.stop();
340
+ return _context11.stop();
219
341
  }
220
- }, _callee7);
342
+ }, _callee11);
221
343
  }));
222
344
  return _fetchFieldsByDataset.apply(this, arguments);
223
345
  }
224
- function fetchFieldCondition(_x11) {
346
+ function fetchFieldCondition(_x15) {
225
347
  return _fetchFieldCondition.apply(this, arguments);
226
348
  }
227
349
  /**
@@ -229,22 +351,22 @@ function fetchFieldCondition(_x11) {
229
351
  * @param {{moduleId,datasetId,moduleFieldId}} params
230
352
  */
231
353
  function _fetchFieldCondition() {
232
- _fetchFieldCondition = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee8(params) {
233
- return (0, _regeneratorRuntime2.default)().wrap(function _callee8$(_context8) {
234
- while (1) switch (_context8.prev = _context8.next) {
354
+ _fetchFieldCondition = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee12(params) {
355
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee12$(_context12) {
356
+ while (1) switch (_context12.prev = _context12.next) {
235
357
  case 0:
236
- return _context8.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/readFieldCondition"), {
358
+ return _context12.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/readFieldCondition"), {
237
359
  params: params
238
360
  }));
239
361
  case 1:
240
362
  case "end":
241
- return _context8.stop();
363
+ return _context12.stop();
242
364
  }
243
- }, _callee8);
365
+ }, _callee12);
244
366
  }));
245
367
  return _fetchFieldCondition.apply(this, arguments);
246
368
  }
247
- function fetchUpdateTitleField(_x12) {
369
+ function fetchUpdateTitleField(_x16) {
248
370
  return _fetchUpdateTitleField.apply(this, arguments);
249
371
  }
250
372
  /**
@@ -253,23 +375,23 @@ function fetchUpdateTitleField(_x12) {
253
375
  * @returns
254
376
  */
255
377
  function _fetchUpdateTitleField() {
256
- _fetchUpdateTitleField = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee9(data) {
257
- return (0, _regeneratorRuntime2.default)().wrap(function _callee9$(_context9) {
258
- while (1) switch (_context9.prev = _context9.next) {
378
+ _fetchUpdateTitleField = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee13(data) {
379
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee13$(_context13) {
380
+ while (1) switch (_context13.prev = _context13.next) {
259
381
  case 0:
260
- return _context9.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/updateTitleField"), {
382
+ return _context13.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/updateTitleField"), {
261
383
  method: 'POST',
262
384
  data: data
263
385
  }));
264
386
  case 1:
265
387
  case "end":
266
- return _context9.stop();
388
+ return _context13.stop();
267
389
  }
268
- }, _callee9);
390
+ }, _callee13);
269
391
  }));
270
392
  return _fetchUpdateTitleField.apply(this, arguments);
271
393
  }
272
- function fetchUpdateUniqueField(_x13) {
394
+ function fetchUpdateUniqueField(_x17) {
273
395
  return _fetchUpdateUniqueField.apply(this, arguments);
274
396
  }
275
397
  /**
@@ -277,23 +399,23 @@ function fetchUpdateUniqueField(_x13) {
277
399
  * @param {*} data
278
400
  */
279
401
  function _fetchUpdateUniqueField() {
280
- _fetchUpdateUniqueField = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee10(data) {
281
- return (0, _regeneratorRuntime2.default)().wrap(function _callee10$(_context10) {
282
- while (1) switch (_context10.prev = _context10.next) {
402
+ _fetchUpdateUniqueField = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee14(data) {
403
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee14$(_context14) {
404
+ while (1) switch (_context14.prev = _context14.next) {
283
405
  case 0:
284
- return _context10.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/updateUniqueField"), {
406
+ return _context14.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/updateUniqueField"), {
285
407
  method: 'POST',
286
408
  data: data
287
409
  }));
288
410
  case 1:
289
411
  case "end":
290
- return _context10.stop();
412
+ return _context14.stop();
291
413
  }
292
- }, _callee10);
414
+ }, _callee14);
293
415
  }));
294
416
  return _fetchUpdateUniqueField.apply(this, arguments);
295
417
  }
296
- function fetchAddFieldAttrs(_x14) {
418
+ function fetchAddFieldAttrs(_x18) {
297
419
  return _fetchAddFieldAttrs.apply(this, arguments);
298
420
  }
299
421
  /**
@@ -301,23 +423,23 @@ function fetchAddFieldAttrs(_x14) {
301
423
  * @param {*} data
302
424
  */
303
425
  function _fetchAddFieldAttrs() {
304
- _fetchAddFieldAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee11(data) {
305
- return (0, _regeneratorRuntime2.default)().wrap(function _callee11$(_context11) {
306
- while (1) switch (_context11.prev = _context11.next) {
426
+ _fetchAddFieldAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee15(data) {
427
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee15$(_context15) {
428
+ while (1) switch (_context15.prev = _context15.next) {
307
429
  case 0:
308
- return _context11.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/addAttributes"), {
430
+ return _context15.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/addAttributes"), {
309
431
  data: data,
310
432
  method: 'POST'
311
433
  }));
312
434
  case 1:
313
435
  case "end":
314
- return _context11.stop();
436
+ return _context15.stop();
315
437
  }
316
- }, _callee11);
438
+ }, _callee15);
317
439
  }));
318
440
  return _fetchAddFieldAttrs.apply(this, arguments);
319
441
  }
320
- function fetchDelAttrs(_x15) {
442
+ function fetchDelAttrs(_x19) {
321
443
  return _fetchDelAttrs.apply(this, arguments);
322
444
  }
323
445
  /**
@@ -325,23 +447,23 @@ function fetchDelAttrs(_x15) {
325
447
  * @param {*} params
326
448
  */
327
449
  function _fetchDelAttrs() {
328
- _fetchDelAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee12(data) {
329
- return (0, _regeneratorRuntime2.default)().wrap(function _callee12$(_context12) {
330
- while (1) switch (_context12.prev = _context12.next) {
450
+ _fetchDelAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee16(data) {
451
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee16$(_context16) {
452
+ while (1) switch (_context16.prev = _context16.next) {
331
453
  case 0:
332
- return _context12.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/deleteAttributes"), {
454
+ return _context16.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/deleteAttributes"), {
333
455
  data: data,
334
456
  method: 'POST'
335
457
  }));
336
458
  case 1:
337
459
  case "end":
338
- return _context12.stop();
460
+ return _context16.stop();
339
461
  }
340
- }, _callee12);
462
+ }, _callee16);
341
463
  }));
342
464
  return _fetchDelAttrs.apply(this, arguments);
343
465
  }
344
- function fetchUpdateFieldAttrs(_x16) {
466
+ function fetchUpdateFieldAttrs(_x20) {
345
467
  return _fetchUpdateFieldAttrs.apply(this, arguments);
346
468
  }
347
469
  /**
@@ -350,23 +472,23 @@ function fetchUpdateFieldAttrs(_x16) {
350
472
  * @returns
351
473
  */
352
474
  function _fetchUpdateFieldAttrs() {
353
- _fetchUpdateFieldAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee13(data) {
354
- return (0, _regeneratorRuntime2.default)().wrap(function _callee13$(_context13) {
355
- while (1) switch (_context13.prev = _context13.next) {
475
+ _fetchUpdateFieldAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee17(data) {
476
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee17$(_context17) {
477
+ while (1) switch (_context17.prev = _context17.next) {
356
478
  case 0:
357
- return _context13.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/updateAttributes"), {
479
+ return _context17.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/updateAttributes"), {
358
480
  data: data,
359
481
  method: 'POST'
360
482
  }));
361
483
  case 1:
362
484
  case "end":
363
- return _context13.stop();
485
+ return _context17.stop();
364
486
  }
365
- }, _callee13);
487
+ }, _callee17);
366
488
  }));
367
489
  return _fetchUpdateFieldAttrs.apply(this, arguments);
368
490
  }
369
- function fetchAttrs(_x17) {
491
+ function fetchAttrs(_x21) {
370
492
  return _fetchAttrs.apply(this, arguments);
371
493
  }
372
494
  /**
@@ -375,22 +497,22 @@ function fetchAttrs(_x17) {
375
497
  * @returns
376
498
  */
377
499
  function _fetchAttrs() {
378
- _fetchAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee14(params) {
379
- return (0, _regeneratorRuntime2.default)().wrap(function _callee14$(_context14) {
380
- while (1) switch (_context14.prev = _context14.next) {
500
+ _fetchAttrs = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee18(params) {
501
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee18$(_context18) {
502
+ while (1) switch (_context18.prev = _context18.next) {
381
503
  case 0:
382
- return _context14.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/readAttributes"), {
504
+ return _context18.abrupt("return", (0, _utils.request)("".concat(API_RREFIX_DATASET, "/field/readAttributes"), {
383
505
  params: params
384
506
  }));
385
507
  case 1:
386
508
  case "end":
387
- return _context14.stop();
509
+ return _context18.stop();
388
510
  }
389
- }, _callee14);
511
+ }, _callee18);
390
512
  }));
391
513
  return _fetchAttrs.apply(this, arguments);
392
514
  }
393
- function fetchAllBehavior(_x18) {
515
+ function fetchAllBehavior(_x22) {
394
516
  return _fetchAllBehavior.apply(this, arguments);
395
517
  }
396
518
  /**
@@ -399,22 +521,22 @@ function fetchAllBehavior(_x18) {
399
521
  * @returns
400
522
  */
401
523
  function _fetchAllBehavior() {
402
- _fetchAllBehavior = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee15(params) {
403
- return (0, _regeneratorRuntime2.default)().wrap(function _callee15$(_context15) {
404
- while (1) switch (_context15.prev = _context15.next) {
524
+ _fetchAllBehavior = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee19(params) {
525
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee19$(_context19) {
526
+ while (1) switch (_context19.prev = _context19.next) {
405
527
  case 0:
406
- return _context15.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_MODULE, "/behavior/readAll"), {
528
+ return _context19.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_MODULE, "/behavior/readAll"), {
407
529
  params: params
408
530
  }));
409
531
  case 1:
410
532
  case "end":
411
- return _context15.stop();
533
+ return _context19.stop();
412
534
  }
413
- }, _callee15);
535
+ }, _callee19);
414
536
  }));
415
537
  return _fetchAllBehavior.apply(this, arguments);
416
538
  }
417
- function fetchAllSerials(_x19) {
539
+ function fetchAllSerials(_x23) {
418
540
  return _fetchAllSerials.apply(this, arguments);
419
541
  }
420
542
  /**
@@ -423,37 +545,37 @@ function fetchAllSerials(_x19) {
423
545
  * @returns
424
546
  */
425
547
  function _fetchAllSerials() {
426
- _fetchAllSerials = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee16(params) {
427
- return (0, _regeneratorRuntime2.default)().wrap(function _callee16$(_context16) {
428
- while (1) switch (_context16.prev = _context16.next) {
548
+ _fetchAllSerials = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee20(params) {
549
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee20$(_context20) {
550
+ while (1) switch (_context20.prev = _context20.next) {
429
551
  case 0:
430
- return _context16.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_MODULE, "/Serials/readAll"), {
552
+ return _context20.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_MODULE, "/Serials/readAll"), {
431
553
  params: params
432
554
  }));
433
555
  case 1:
434
556
  case "end":
435
- return _context16.stop();
557
+ return _context20.stop();
436
558
  }
437
- }, _callee16);
559
+ }, _callee20);
438
560
  }));
439
561
  return _fetchAllSerials.apply(this, arguments);
440
562
  }
441
- function fetchAllBehaviorEx(_x20) {
563
+ function fetchAllBehaviorEx(_x24) {
442
564
  return _fetchAllBehaviorEx.apply(this, arguments);
443
565
  }
444
566
  function _fetchAllBehaviorEx() {
445
- _fetchAllBehaviorEx = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee17(params) {
446
- return (0, _regeneratorRuntime2.default)().wrap(function _callee17$(_context17) {
447
- while (1) switch (_context17.prev = _context17.next) {
567
+ _fetchAllBehaviorEx = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee21(params) {
568
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee21$(_context21) {
569
+ while (1) switch (_context21.prev = _context21.next) {
448
570
  case 0:
449
- return _context17.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/option/noAuthGetBehavior"), {
571
+ return _context21.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/option/noAuthGetBehavior"), {
450
572
  params: params
451
573
  }));
452
574
  case 1:
453
575
  case "end":
454
- return _context17.stop();
576
+ return _context21.stop();
455
577
  }
456
- }, _callee17);
578
+ }, _callee21);
457
579
  }));
458
580
  return _fetchAllBehaviorEx.apply(this, arguments);
459
581
  }
@@ -468,7 +590,7 @@ function getBehaviorUrl() {
468
590
  * @param {*} data
469
591
  * @returns
470
592
  */
471
- function fetchCallBehavior(_x21, _x22) {
593
+ function fetchCallBehavior(_x25, _x26) {
472
594
  return _fetchCallBehavior.apply(this, arguments);
473
595
  }
474
596
  /**
@@ -477,11 +599,11 @@ function fetchCallBehavior(_x21, _x22) {
477
599
  * @returns
478
600
  */
479
601
  function _fetchCallBehavior() {
480
- _fetchCallBehavior = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee18(params, data) {
481
- return (0, _regeneratorRuntime2.default)().wrap(function _callee18$(_context18) {
482
- while (1) switch (_context18.prev = _context18.next) {
602
+ _fetchCallBehavior = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee22(params, data) {
603
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee22$(_context22) {
604
+ while (1) switch (_context22.prev = _context22.next) {
483
605
  case 0:
484
- return _context18.abrupt("return", (0, _utils.request)(getBehaviorUrl(), {
606
+ return _context22.abrupt("return", (0, _utils.request)(getBehaviorUrl(), {
485
607
  method: 'POST',
486
608
  data: data,
487
609
  params: params,
@@ -491,13 +613,13 @@ function _fetchCallBehavior() {
491
613
  }));
492
614
  case 1:
493
615
  case "end":
494
- return _context18.stop();
616
+ return _context22.stop();
495
617
  }
496
- }, _callee18);
618
+ }, _callee22);
497
619
  }));
498
620
  return _fetchCallBehavior.apply(this, arguments);
499
621
  }
500
- function fetchClearCache(_x23) {
622
+ function fetchClearCache(_x27) {
501
623
  return _fetchClearCache.apply(this, arguments);
502
624
  }
503
625
  /**
@@ -506,22 +628,22 @@ function fetchClearCache(_x23) {
506
628
  * @returns
507
629
  */
508
630
  function _fetchClearCache() {
509
- _fetchClearCache = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee19(params) {
510
- return (0, _regeneratorRuntime2.default)().wrap(function _callee19$(_context19) {
511
- while (1) switch (_context19.prev = _context19.next) {
631
+ _fetchClearCache = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee23(params) {
632
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee23$(_context23) {
633
+ while (1) switch (_context23.prev = _context23.next) {
512
634
  case 0:
513
- return _context19.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.LUCKDA_HOST, "/cache/manage/noAuthModuleConfigClear"), {
635
+ return _context23.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.LUCKDA_HOST, "/cache/manage/noAuthModuleConfigClear"), {
514
636
  params: params
515
637
  }));
516
638
  case 1:
517
639
  case "end":
518
- return _context19.stop();
640
+ return _context23.stop();
519
641
  }
520
- }, _callee19);
642
+ }, _callee23);
521
643
  }));
522
644
  return _fetchClearCache.apply(this, arguments);
523
645
  }
524
- function fetchUpdatePageData(_x24) {
646
+ function fetchUpdatePageData(_x28) {
525
647
  return _fetchUpdatePageData.apply(this, arguments);
526
648
  }
527
649
  /**
@@ -530,23 +652,23 @@ function fetchUpdatePageData(_x24) {
530
652
  * @returns
531
653
  */
532
654
  function _fetchUpdatePageData() {
533
- _fetchUpdatePageData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee20(data) {
534
- return (0, _regeneratorRuntime2.default)().wrap(function _callee20$(_context20) {
535
- while (1) switch (_context20.prev = _context20.next) {
655
+ _fetchUpdatePageData = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee24(data) {
656
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee24$(_context24) {
657
+ while (1) switch (_context24.prev = _context24.next) {
536
658
  case 0:
537
- return _context20.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/data/update"), {
659
+ return _context24.abrupt("return", (0, _utils.request)("".concat(API_PREFIX_PAGE, "/data/update"), {
538
660
  method: 'POST',
539
661
  data: data
540
662
  }));
541
663
  case 1:
542
664
  case "end":
543
- return _context20.stop();
665
+ return _context24.stop();
544
666
  }
545
- }, _callee20);
667
+ }, _callee24);
546
668
  }));
547
669
  return _fetchUpdatePageData.apply(this, arguments);
548
670
  }
549
- function fetchDataDic(_x25) {
671
+ function fetchDataDic(_x29) {
550
672
  return _fetchDataDic.apply(this, arguments);
551
673
  }
552
674
  /**
@@ -555,22 +677,22 @@ function fetchDataDic(_x25) {
555
677
  * @returns
556
678
  */
557
679
  function _fetchDataDic() {
558
- _fetchDataDic = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee21(params) {
559
- return (0, _regeneratorRuntime2.default)().wrap(function _callee21$(_context21) {
560
- while (1) switch (_context21.prev = _context21.next) {
680
+ _fetchDataDic = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee25(params) {
681
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee25$(_context25) {
682
+ while (1) switch (_context25.prev = _context25.next) {
561
683
  case 0:
562
- return _context21.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.BASE_HOST, "/datadic/sysDatadic/noAuthReadAll"), {
684
+ return _context25.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.BASE_HOST, "/datadic/sysDatadic/noAuthReadAll"), {
563
685
  params: params
564
686
  }));
565
687
  case 1:
566
688
  case "end":
567
- return _context21.stop();
689
+ return _context25.stop();
568
690
  }
569
- }, _callee21);
691
+ }, _callee25);
570
692
  }));
571
693
  return _fetchDataDic.apply(this, arguments);
572
694
  }
573
- function exportExcel(_x26, _x27) {
695
+ function exportExcel(_x30, _x31) {
574
696
  return _exportExcel.apply(this, arguments);
575
697
  }
576
698
  /**
@@ -579,14 +701,14 @@ function exportExcel(_x26, _x27) {
579
701
  * @returns
580
702
  */
581
703
  function _exportExcel() {
582
- _exportExcel = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee22(params, data) {
704
+ _exportExcel = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee26(params, data) {
583
705
  var mdCode, FUNC_NAME;
584
- return (0, _regeneratorRuntime2.default)().wrap(function _callee22$(_context22) {
585
- while (1) switch (_context22.prev = _context22.next) {
706
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee26$(_context26) {
707
+ while (1) switch (_context26.prev = _context26.next) {
586
708
  case 0:
587
709
  mdCode = (0, _helper.getLDMetaAttr)('dataModelKey');
588
710
  FUNC_NAME = params;
589
- return _context22.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthExport").concat(FUNC_NAME), {
711
+ return _context26.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthExport").concat(FUNC_NAME), {
590
712
  method: 'POST',
591
713
  data: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, data), {}, {
592
714
  gatewayUrl: "".concat(window.location.origin).concat(_ApiConfig.default.API_HOST)
@@ -594,48 +716,48 @@ function _exportExcel() {
594
716
  }));
595
717
  case 3:
596
718
  case "end":
597
- return _context22.stop();
719
+ return _context26.stop();
598
720
  }
599
- }, _callee22);
721
+ }, _callee26);
600
722
  }));
601
723
  return _exportExcel.apply(this, arguments);
602
724
  }
603
- function uploadTemplate(_x28, _x29) {
725
+ function uploadTemplate(_x32, _x33) {
604
726
  return _uploadTemplate.apply(this, arguments);
605
727
  } // var successCount = 10;
606
728
  // 获取导入进度数据
607
729
  function _uploadTemplate() {
608
- _uploadTemplate = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee23(params, data) {
730
+ _uploadTemplate = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee27(params, data) {
609
731
  var mdCode, FUNC_NAME;
610
- return (0, _regeneratorRuntime2.default)().wrap(function _callee23$(_context23) {
611
- while (1) switch (_context23.prev = _context23.next) {
732
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee27$(_context27) {
733
+ while (1) switch (_context27.prev = _context27.next) {
612
734
  case 0:
613
735
  mdCode = (0, _helper.getLDMetaAttr)('dataModelKey');
614
736
  FUNC_NAME = params;
615
- return _context23.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthImport").concat(FUNC_NAME), {
737
+ return _context27.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthImport").concat(FUNC_NAME), {
616
738
  method: 'POST',
617
739
  data: data
618
740
  }));
619
741
  case 3:
620
742
  case "end":
621
- return _context23.stop();
743
+ return _context27.stop();
622
744
  }
623
- }, _callee23);
745
+ }, _callee27);
624
746
  }));
625
747
  return _uploadTemplate.apply(this, arguments);
626
748
  }
627
- function getFindexcelstate(_x30, _x31) {
749
+ function getFindexcelstate(_x34, _x35) {
628
750
  return _getFindexcelstate.apply(this, arguments);
629
751
  }
630
752
  function _getFindexcelstate() {
631
- _getFindexcelstate = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee24(params, data) {
753
+ _getFindexcelstate = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee28(params, data) {
632
754
  var mdCode, FUNC_NAME;
633
- return (0, _regeneratorRuntime2.default)().wrap(function _callee24$(_context24) {
634
- while (1) switch (_context24.prev = _context24.next) {
755
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee28$(_context28) {
756
+ while (1) switch (_context28.prev = _context28.next) {
635
757
  case 0:
636
758
  mdCode = (0, _helper.getLDMetaAttr)('dataModelKey');
637
759
  FUNC_NAME = params;
638
- return _context24.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthGetProgress").concat(FUNC_NAME), {
760
+ return _context28.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthGetProgress").concat(FUNC_NAME), {
639
761
  method: 'POST',
640
762
  data: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, data), {}, {
641
763
  gatewayUrl: "".concat(window.location.origin).concat(_ApiConfig.default.API_HOST)
@@ -643,27 +765,23 @@ function _getFindexcelstate() {
643
765
  }));
644
766
  case 3:
645
767
  case "end":
646
- return _context24.stop();
768
+ return _context28.stop();
647
769
  }
648
- }, _callee24);
770
+ }, _callee28);
649
771
  }));
650
772
  return _getFindexcelstate.apply(this, arguments);
651
773
  }
652
- function noAuthGetTemplateUrl(_x32) {
774
+ function noAuthGetTemplateUrl(_x36) {
653
775
  return _noAuthGetTemplateUrl.apply(this, arguments);
654
- }
655
- /**
656
- * 页面预览调试获取模拟用户
657
- * @param {string} sname
658
- */
776
+ } // 清除进度
659
777
  function _noAuthGetTemplateUrl() {
660
- _noAuthGetTemplateUrl = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee25(params) {
778
+ _noAuthGetTemplateUrl = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee29(params) {
661
779
  var mdCode;
662
- return (0, _regeneratorRuntime2.default)().wrap(function _callee25$(_context25) {
663
- while (1) switch (_context25.prev = _context25.next) {
780
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee29$(_context29) {
781
+ while (1) switch (_context29.prev = _context29.next) {
664
782
  case 0:
665
783
  mdCode = (0, _helper.getLDMetaAttr)('dataModelKey');
666
- return _context25.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthGetTemplateUrl"), {
784
+ return _context29.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/proxy/excel/noAuthGetTemplateUrl"), {
667
785
  method: 'POST',
668
786
  data: {
669
787
  gatewayUrl: "".concat(window.location.origin).concat(_ApiConfig.default.API_HOST),
@@ -672,29 +790,52 @@ function _noAuthGetTemplateUrl() {
672
790
  }));
673
791
  case 2:
674
792
  case "end":
675
- return _context25.stop();
793
+ return _context29.stop();
676
794
  }
677
- }, _callee25);
795
+ }, _callee29);
678
796
  }));
679
797
  return _noAuthGetTemplateUrl.apply(this, arguments);
680
798
  }
681
- function fetchSearchUser(_x33) {
799
+ function clearProcess(_x37) {
800
+ return _clearProcess.apply(this, arguments);
801
+ }
802
+ /**
803
+ * 页面预览调试获取模拟用户
804
+ * @param {string} sname
805
+ */
806
+ function _clearProcess() {
807
+ _clearProcess = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee30(batchNo) {
808
+ var mdCode;
809
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee30$(_context30) {
810
+ while (1) switch (_context30.prev = _context30.next) {
811
+ case 0:
812
+ mdCode = (0, _helper.getLDMetaAttr)('dataModelKey');
813
+ return _context30.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/batch?batchNo=").concat(batchNo)));
814
+ case 2:
815
+ case "end":
816
+ return _context30.stop();
817
+ }
818
+ }, _callee30);
819
+ }));
820
+ return _clearProcess.apply(this, arguments);
821
+ }
822
+ function fetchSearchUser(_x38) {
682
823
  return _fetchSearchUser.apply(this, arguments);
683
824
  }
684
825
  function _fetchSearchUser() {
685
- _fetchSearchUser = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee26(params) {
686
- return (0, _regeneratorRuntime2.default)().wrap(function _callee26$(_context26) {
687
- while (1) switch (_context26.prev = _context26.next) {
826
+ _fetchSearchUser = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee31(params) {
827
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee31$(_context31) {
828
+ while (1) switch (_context31.prev = _context31.next) {
688
829
  case 0:
689
- return _context26.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.BASE_HOST, "/user/sysUser/noAuthReadUser"), {
830
+ return _context31.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.BASE_HOST, "/user/sysUser/noAuthReadUser"), {
690
831
  params: params,
691
832
  method: 'POST'
692
833
  }));
693
834
  case 1:
694
835
  case "end":
695
- return _context26.stop();
836
+ return _context31.stop();
696
837
  }
697
- }, _callee26);
838
+ }, _callee31);
698
839
  }));
699
840
  return _fetchSearchUser.apply(this, arguments);
700
841
  }