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