@bit-sun/business-component 4.2.0-alpha.6.16 → 4.2.0-alpha.6.17
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.
- package/dist/components/Business/AddSelectBusiness/index.d.ts +3 -4
- package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +2 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +1 -2
- package/dist/components/Business/BsLayouts/index.d.ts +1 -1
- package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +5 -5
- package/dist/components/Business/BsSulaQueryTable/index.d.ts +1 -2
- package/dist/components/Business/BsSulaQueryTable/setting.d.ts +6 -6
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +14 -15
- package/dist/components/Business/CommodityEntry/index.d.ts +1 -2
- package/dist/components/Business/CommonAlert/index.d.ts +1 -2
- package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
- package/dist/components/Business/DetailPageWrapper/index.d.ts +11 -12
- package/dist/components/Business/HomePageWrapper/index.d.ts +1 -2
- package/dist/components/Business/ItemPropertySelector/index.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +1 -2
- package/dist/components/Business/PropertyModal/index.d.ts +1 -2
- package/dist/components/Business/PropertyModal/propertyGroup.d.ts +1 -1
- package/dist/components/Business/SearchSelect/index.d.ts +1 -1
- package/dist/components/Business/StateFlow/index.d.ts +1 -2
- package/dist/components/Business/TreeSearchSelect/index.d.ts +1 -1
- package/dist/components/Business/columnSettingTable/columnSetting.d.ts +6 -6
- package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +1 -2
- package/dist/components/Business/columnSettingTable/index.d.ts +3 -3
- package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +3 -3
- package/dist/components/Business/columnSettingTable/utils.d.ts +1 -2
- package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
- package/dist/components/Common/ParagraphCopier/index.d.ts +1 -1
- package/dist/components/Common/Section/index.d.ts +1 -1
- package/dist/components/Functional/AddSelect/index.d.ts +1 -2
- package/dist/components/Functional/AuthButton/index.d.ts +1 -2
- package/dist/components/Functional/DataImport/index.d.ts +3 -3
- package/dist/components/Functional/DataValidation/index.d.ts +4 -4
- package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +1 -2
- package/dist/components/Functional/QueryMutipleInput/index.d.ts +1 -2
- package/dist/components/Functional/QueryMutipleSelect/index.d.ts +1 -2
- package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
- package/dist/components/Functional/SearchSelect/utils.d.ts +2 -3
- package/dist/components/Functional/TreeSearchSelect/index.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/CustomSelectorModal.d.ts +1 -1
- package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/index.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/Formula.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +1 -2
- package/dist/components/Solution/RuleSetter/RuleInstance.d.ts +1 -2
- package/dist/components/Solution/RuleSetter/baseRule.d.ts +1 -1
- package/dist/components/Solution/RuleSetter/index.d.ts +1 -1
- package/dist/index.esm.js +764 -1007
- package/dist/index.js +764 -1007
- package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
- package/dist/utils/TableUtils.d.ts +18 -19
- package/package.json +1 -1
- package/src/components/Business/BsSulaQueryTable/index.tsx +1 -0
- package/src/components/Business/BsSulaQueryTable/setting.tsx +6 -0
package/dist/index.esm.js
CHANGED
|
@@ -188,8 +188,8 @@ function _objectWithoutProperties(e, t) {
|
|
|
188
188
|
r,
|
|
189
189
|
i = _objectWithoutPropertiesLoose(e, t);
|
|
190
190
|
if (Object.getOwnPropertySymbols) {
|
|
191
|
-
var
|
|
192
|
-
for (r = 0; r <
|
|
191
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
192
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
193
193
|
}
|
|
194
194
|
return i;
|
|
195
195
|
}
|
|
@@ -197,7 +197,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
197
197
|
if (null == r) return {};
|
|
198
198
|
var t = {};
|
|
199
199
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
200
|
-
if (e.
|
|
200
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
201
201
|
t[n] = r[n];
|
|
202
202
|
}
|
|
203
203
|
return t;
|
|
@@ -207,306 +207,115 @@ function _possibleConstructorReturn(t, e) {
|
|
|
207
207
|
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
208
208
|
return _assertThisInitialized(t);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
210
|
+
function _regenerator() {
|
|
211
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
212
|
+
var e,
|
|
213
|
+
t,
|
|
214
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
215
|
+
n = r.iterator || "@@iterator",
|
|
216
|
+
o = r.toStringTag || "@@toStringTag";
|
|
217
|
+
function i(r, n, o, i) {
|
|
218
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
219
|
+
u = Object.create(c.prototype);
|
|
220
|
+
return _regeneratorDefine(u, "_invoke", function (r, n, o) {
|
|
221
|
+
var i,
|
|
222
|
+
c,
|
|
223
|
+
u,
|
|
224
|
+
f = 0,
|
|
225
|
+
p = o || [],
|
|
226
|
+
y = !1,
|
|
227
|
+
G = {
|
|
228
|
+
p: 0,
|
|
229
|
+
n: 0,
|
|
230
|
+
v: e,
|
|
231
|
+
a: d,
|
|
232
|
+
f: d.bind(e, 4),
|
|
233
|
+
d: function (t, r) {
|
|
234
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
function d(r, n) {
|
|
238
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
239
|
+
var o,
|
|
240
|
+
i = p[t],
|
|
241
|
+
d = G.p,
|
|
242
|
+
l = i[2];
|
|
243
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
244
|
+
}
|
|
245
|
+
if (o || r > 1) return a;
|
|
246
|
+
throw y = !0, n;
|
|
247
|
+
}
|
|
248
|
+
return function (o, p, l) {
|
|
249
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
250
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
251
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
252
|
+
try {
|
|
253
|
+
if (f = 2, i) {
|
|
254
|
+
if (c || (o = "next"), t = i[o]) {
|
|
255
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
256
|
+
if (!t.done) return t;
|
|
257
|
+
u = t.value, c < 2 && (c = 0);
|
|
258
|
+
} else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
259
|
+
i = e;
|
|
260
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
261
|
+
} catch (t) {
|
|
262
|
+
i = e, c = 1, u = t;
|
|
263
|
+
} finally {
|
|
264
|
+
f = 1;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
return {
|
|
268
|
+
value: t,
|
|
269
|
+
done: y
|
|
270
|
+
};
|
|
258
271
|
};
|
|
259
|
-
}
|
|
272
|
+
}(r, o, i), !0), u;
|
|
260
273
|
}
|
|
261
|
-
|
|
262
|
-
var h = "suspendedStart",
|
|
263
|
-
l = "suspendedYield",
|
|
264
|
-
f = "executing",
|
|
265
|
-
s = "completed",
|
|
266
|
-
y = {};
|
|
274
|
+
var a = {};
|
|
267
275
|
function Generator() {}
|
|
268
276
|
function GeneratorFunction() {}
|
|
269
277
|
function GeneratorFunctionPrototype() {}
|
|
270
|
-
|
|
271
|
-
|
|
278
|
+
t = Object.getPrototypeOf;
|
|
279
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
|
|
280
|
+
return this;
|
|
281
|
+
}), t),
|
|
282
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
283
|
+
function f(e) {
|
|
284
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
285
|
+
}
|
|
286
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
|
|
272
287
|
return this;
|
|
273
|
-
})
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
v && v !== r && n.call(v, a) && (p = v);
|
|
277
|
-
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
278
|
-
function defineIteratorMethods(t) {
|
|
279
|
-
["next", "throw", "return"].forEach(function (e) {
|
|
280
|
-
define(t, e, function (t) {
|
|
281
|
-
return this._invoke(e, t);
|
|
282
|
-
});
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
function AsyncIterator(t, e) {
|
|
286
|
-
function invoke(r, o, i, a) {
|
|
287
|
-
var c = tryCatch(t[r], t, o);
|
|
288
|
-
if ("throw" !== c.type) {
|
|
289
|
-
var u = c.arg,
|
|
290
|
-
h = u.value;
|
|
291
|
-
return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
292
|
-
invoke("next", t, i, a);
|
|
293
|
-
}, function (t) {
|
|
294
|
-
invoke("throw", t, i, a);
|
|
295
|
-
}) : e.resolve(h).then(function (t) {
|
|
296
|
-
u.value = t, i(u);
|
|
297
|
-
}, function (t) {
|
|
298
|
-
return invoke("throw", t, i, a);
|
|
299
|
-
});
|
|
300
|
-
}
|
|
301
|
-
a(c.arg);
|
|
302
|
-
}
|
|
303
|
-
var r;
|
|
304
|
-
o(this, "_invoke", {
|
|
305
|
-
value: function (t, n) {
|
|
306
|
-
function callInvokeWithMethodAndArg() {
|
|
307
|
-
return new e(function (e, r) {
|
|
308
|
-
invoke(t, n, e, r);
|
|
309
|
-
});
|
|
310
|
-
}
|
|
311
|
-
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
312
|
-
}
|
|
313
|
-
});
|
|
314
|
-
}
|
|
315
|
-
function makeInvokeMethod(e, r, n) {
|
|
316
|
-
var o = h;
|
|
317
|
-
return function (i, a) {
|
|
318
|
-
if (o === f) throw Error("Generator is already running");
|
|
319
|
-
if (o === s) {
|
|
320
|
-
if ("throw" === i) throw a;
|
|
321
|
-
return {
|
|
322
|
-
value: t,
|
|
323
|
-
done: !0
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
for (n.method = i, n.arg = a;;) {
|
|
327
|
-
var c = n.delegate;
|
|
328
|
-
if (c) {
|
|
329
|
-
var u = maybeInvokeDelegate(c, n);
|
|
330
|
-
if (u) {
|
|
331
|
-
if (u === y) continue;
|
|
332
|
-
return u;
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
336
|
-
if (o === h) throw o = s, n.arg;
|
|
337
|
-
n.dispatchException(n.arg);
|
|
338
|
-
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
339
|
-
o = f;
|
|
340
|
-
var p = tryCatch(e, r, n);
|
|
341
|
-
if ("normal" === p.type) {
|
|
342
|
-
if (o = n.done ? s : l, p.arg === y) continue;
|
|
343
|
-
return {
|
|
344
|
-
value: p.arg,
|
|
345
|
-
done: n.done
|
|
346
|
-
};
|
|
347
|
-
}
|
|
348
|
-
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
349
|
-
}
|
|
350
|
-
};
|
|
351
|
-
}
|
|
352
|
-
function maybeInvokeDelegate(e, r) {
|
|
353
|
-
var n = r.method,
|
|
354
|
-
o = e.iterator[n];
|
|
355
|
-
if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
356
|
-
var i = tryCatch(o, e.iterator, r.arg);
|
|
357
|
-
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
358
|
-
var a = i.arg;
|
|
359
|
-
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
360
|
-
}
|
|
361
|
-
function pushTryEntry(t) {
|
|
362
|
-
var e = {
|
|
363
|
-
tryLoc: t[0]
|
|
364
|
-
};
|
|
365
|
-
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
366
|
-
}
|
|
367
|
-
function resetTryEntry(t) {
|
|
368
|
-
var e = t.completion || {};
|
|
369
|
-
e.type = "normal", delete e.arg, t.completion = e;
|
|
370
|
-
}
|
|
371
|
-
function Context(t) {
|
|
372
|
-
this.tryEntries = [{
|
|
373
|
-
tryLoc: "root"
|
|
374
|
-
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
375
|
-
}
|
|
376
|
-
function values(e) {
|
|
377
|
-
if (e || "" === e) {
|
|
378
|
-
var r = e[a];
|
|
379
|
-
if (r) return r.call(e);
|
|
380
|
-
if ("function" == typeof e.next) return e;
|
|
381
|
-
if (!isNaN(e.length)) {
|
|
382
|
-
var o = -1,
|
|
383
|
-
i = function next() {
|
|
384
|
-
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
385
|
-
return next.value = t, next.done = !0, next;
|
|
386
|
-
};
|
|
387
|
-
return i.next = i;
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
throw new TypeError(typeof e + " is not iterable");
|
|
391
|
-
}
|
|
392
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
393
|
-
value: GeneratorFunctionPrototype,
|
|
394
|
-
configurable: !0
|
|
395
|
-
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
396
|
-
value: GeneratorFunction,
|
|
397
|
-
configurable: !0
|
|
398
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
399
|
-
var e = "function" == typeof t && t.constructor;
|
|
400
|
-
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
401
|
-
}, e.mark = function (t) {
|
|
402
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
403
|
-
}, e.awrap = function (t) {
|
|
288
|
+
}), _regeneratorDefine(u, "toString", function () {
|
|
289
|
+
return "[object Generator]";
|
|
290
|
+
}), (_regenerator = function () {
|
|
404
291
|
return {
|
|
405
|
-
|
|
292
|
+
w: i,
|
|
293
|
+
m: f
|
|
406
294
|
};
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
}
|
|
428
|
-
return next.done = !0, next;
|
|
429
|
-
};
|
|
430
|
-
}, e.values = values, Context.prototype = {
|
|
431
|
-
constructor: Context,
|
|
432
|
-
reset: function (e) {
|
|
433
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
434
|
-
},
|
|
435
|
-
stop: function () {
|
|
436
|
-
this.done = !0;
|
|
437
|
-
var t = this.tryEntries[0].completion;
|
|
438
|
-
if ("throw" === t.type) throw t.arg;
|
|
439
|
-
return this.rval;
|
|
440
|
-
},
|
|
441
|
-
dispatchException: function (e) {
|
|
442
|
-
if (this.done) throw e;
|
|
443
|
-
var r = this;
|
|
444
|
-
function handle(n, o) {
|
|
445
|
-
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
446
|
-
}
|
|
447
|
-
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
448
|
-
var i = this.tryEntries[o],
|
|
449
|
-
a = i.completion;
|
|
450
|
-
if ("root" === i.tryLoc) return handle("end");
|
|
451
|
-
if (i.tryLoc <= this.prev) {
|
|
452
|
-
var c = n.call(i, "catchLoc"),
|
|
453
|
-
u = n.call(i, "finallyLoc");
|
|
454
|
-
if (c && u) {
|
|
455
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
456
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
457
|
-
} else if (c) {
|
|
458
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
459
|
-
} else {
|
|
460
|
-
if (!u) throw Error("try statement without catch or finally");
|
|
461
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
},
|
|
466
|
-
abrupt: function (t, e) {
|
|
467
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
468
|
-
var o = this.tryEntries[r];
|
|
469
|
-
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
470
|
-
var i = o;
|
|
471
|
-
break;
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
475
|
-
var a = i ? i.completion : {};
|
|
476
|
-
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
477
|
-
},
|
|
478
|
-
complete: function (t, e) {
|
|
479
|
-
if ("throw" === t.type) throw t.arg;
|
|
480
|
-
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
|
481
|
-
},
|
|
482
|
-
finish: function (t) {
|
|
483
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
484
|
-
var r = this.tryEntries[e];
|
|
485
|
-
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
catch: function (t) {
|
|
489
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
490
|
-
var r = this.tryEntries[e];
|
|
491
|
-
if (r.tryLoc === t) {
|
|
492
|
-
var n = r.completion;
|
|
493
|
-
if ("throw" === n.type) {
|
|
494
|
-
var o = n.arg;
|
|
495
|
-
resetTryEntry(r);
|
|
496
|
-
}
|
|
497
|
-
return o;
|
|
498
|
-
}
|
|
295
|
+
})();
|
|
296
|
+
}
|
|
297
|
+
function _regeneratorDefine(e, r, n, t) {
|
|
298
|
+
var i = Object.defineProperty;
|
|
299
|
+
try {
|
|
300
|
+
i({}, "", {});
|
|
301
|
+
} catch (e) {
|
|
302
|
+
i = 0;
|
|
303
|
+
}
|
|
304
|
+
_regeneratorDefine = function (e, r, n, t) {
|
|
305
|
+
if (r) i ? i(e, r, {
|
|
306
|
+
value: n,
|
|
307
|
+
enumerable: !t,
|
|
308
|
+
configurable: !t,
|
|
309
|
+
writable: !t
|
|
310
|
+
}) : e[r] = n;else {
|
|
311
|
+
function o(r, n) {
|
|
312
|
+
_regeneratorDefine(e, r, function (e) {
|
|
313
|
+
return this._invoke(r, n, e);
|
|
314
|
+
});
|
|
499
315
|
}
|
|
500
|
-
|
|
501
|
-
},
|
|
502
|
-
delegateYield: function (e, r, n) {
|
|
503
|
-
return this.delegate = {
|
|
504
|
-
iterator: values(e),
|
|
505
|
-
resultName: r,
|
|
506
|
-
nextLoc: n
|
|
507
|
-
}, "next" === this.method && (this.arg = t), y;
|
|
316
|
+
o("next", 0), o("throw", 1), o("return", 2);
|
|
508
317
|
}
|
|
509
|
-
}, e;
|
|
318
|
+
}, _regeneratorDefine(e, r, n, t);
|
|
510
319
|
}
|
|
511
320
|
function _setPrototypeOf(t, e) {
|
|
512
321
|
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
@@ -1579,22 +1388,22 @@ var parseToServe = function parseToServe(outdata, revertChart) {
|
|
|
1579
1388
|
// sheepMap是表头字段中英文映射
|
|
1580
1389
|
// sheetCount:表的数量,默认一张
|
|
1581
1390
|
var resolveFile = /*#__PURE__*/function () {
|
|
1582
|
-
var _ref3 = _asyncToGenerator(/*#__PURE__*/
|
|
1391
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(file) {
|
|
1583
1392
|
var config,
|
|
1584
1393
|
data,
|
|
1585
1394
|
_args = arguments;
|
|
1586
|
-
return
|
|
1587
|
-
while (1) switch (_context.
|
|
1395
|
+
return _regenerator().w(function (_context) {
|
|
1396
|
+
while (1) switch (_context.n) {
|
|
1588
1397
|
case 0:
|
|
1589
1398
|
config = _args.length > 1 && _args[1] !== undefined ? _args[1] : {
|
|
1590
1399
|
sheetMap: [],
|
|
1591
1400
|
sheetCount: 1
|
|
1592
1401
|
};
|
|
1593
|
-
_context.
|
|
1402
|
+
_context.n = 1;
|
|
1594
1403
|
return analyseExcelToByte(file);
|
|
1595
|
-
case
|
|
1596
|
-
data = _context.
|
|
1597
|
-
return _context.
|
|
1404
|
+
case 1:
|
|
1405
|
+
data = _context.v;
|
|
1406
|
+
return _context.a(2, new Promise(function (resolve, reject) {
|
|
1598
1407
|
var workbook = read(data, {
|
|
1599
1408
|
type: 'binary'
|
|
1600
1409
|
});
|
|
@@ -1606,9 +1415,6 @@ var resolveFile = /*#__PURE__*/function () {
|
|
|
1606
1415
|
var outdata = parseToServe(sheetMapJsonList, config.sheetMap);
|
|
1607
1416
|
resolve(outdata);
|
|
1608
1417
|
}));
|
|
1609
|
-
case 5:
|
|
1610
|
-
case "end":
|
|
1611
|
-
return _context.stop();
|
|
1612
1418
|
}
|
|
1613
1419
|
}, _callee);
|
|
1614
1420
|
}));
|
|
@@ -1618,41 +1424,40 @@ var resolveFile = /*#__PURE__*/function () {
|
|
|
1618
1424
|
}();
|
|
1619
1425
|
//读取文件
|
|
1620
1426
|
var readerXlsxToList = /*#__PURE__*/function () {
|
|
1621
|
-
var _ref4 = _asyncToGenerator(/*#__PURE__*/
|
|
1427
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(file, fileList, uploadRef, done, otherInfo) {
|
|
1622
1428
|
var _ref5, callback, sheetMap, nowFile, data2, data;
|
|
1623
|
-
return
|
|
1624
|
-
while (1) switch (_context2.
|
|
1429
|
+
return _regenerator().w(function (_context2) {
|
|
1430
|
+
while (1) switch (_context2.n) {
|
|
1625
1431
|
case 0:
|
|
1626
1432
|
_ref5 = otherInfo || {}, callback = _ref5.callback, sheetMap = _ref5.sheetMap;
|
|
1627
1433
|
if (!(Array.isArray(fileList) && fileList.length > 0)) {
|
|
1628
|
-
_context2.
|
|
1434
|
+
_context2.n = 3;
|
|
1629
1435
|
break;
|
|
1630
1436
|
}
|
|
1631
1437
|
nowFile = fileList[fileList.length - 1]; // 阻止了默认上传file没有originFileObj了 得从fileList中去取
|
|
1632
|
-
_context2.
|
|
1438
|
+
_context2.n = 1;
|
|
1633
1439
|
return resolveFile(nowFile.originFileObj, {
|
|
1634
1440
|
sheetMap: fieldMappingReverse(sheetMap),
|
|
1635
1441
|
sheetCount: 1
|
|
1636
1442
|
});
|
|
1637
|
-
case
|
|
1638
|
-
data2 = _context2.
|
|
1443
|
+
case 1:
|
|
1444
|
+
data2 = _context2.v;
|
|
1639
1445
|
data = data2[0];
|
|
1640
1446
|
if (data.length) {
|
|
1641
|
-
_context2.
|
|
1447
|
+
_context2.n = 2;
|
|
1642
1448
|
break;
|
|
1643
1449
|
}
|
|
1644
1450
|
message$1.error("\u8BF7\u5148\u5F55\u5165\u6570\u636E\u518D\u5BFC\u5165");
|
|
1645
|
-
return _context2.
|
|
1646
|
-
case
|
|
1451
|
+
return _context2.a(2);
|
|
1452
|
+
case 2:
|
|
1647
1453
|
if (callback) callback(data);
|
|
1648
1454
|
!callback && message$1.success("\u5BFC\u5165\u6210\u529F");
|
|
1649
|
-
return _context2.
|
|
1650
|
-
case
|
|
1455
|
+
return _context2.a(2, data);
|
|
1456
|
+
case 3:
|
|
1651
1457
|
message$1.error("\u8BF7\u9009\u62E9\u6587\u4EF6");
|
|
1652
|
-
return _context2.
|
|
1653
|
-
case
|
|
1654
|
-
|
|
1655
|
-
return _context2.stop();
|
|
1458
|
+
return _context2.a(2);
|
|
1459
|
+
case 4:
|
|
1460
|
+
return _context2.a(2);
|
|
1656
1461
|
}
|
|
1657
1462
|
}, _callee2);
|
|
1658
1463
|
}));
|
|
@@ -2604,17 +2409,14 @@ var requestUtil = function requestUtil(_ref) {
|
|
|
2604
2409
|
return request$1(url, parms).then(handleResponseData);
|
|
2605
2410
|
};
|
|
2606
2411
|
var handleResponseData = /*#__PURE__*/function () {
|
|
2607
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/
|
|
2608
|
-
return
|
|
2609
|
-
while (1) switch (_context.
|
|
2412
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(response) {
|
|
2413
|
+
return _regenerator().w(function (_context) {
|
|
2414
|
+
while (1) switch (_context.n) {
|
|
2610
2415
|
case 0:
|
|
2611
|
-
return _context.
|
|
2416
|
+
return _context.a(2, Promise.resolve({
|
|
2612
2417
|
data: response,
|
|
2613
2418
|
status: response.status
|
|
2614
2419
|
}));
|
|
2615
|
-
case 1:
|
|
2616
|
-
case "end":
|
|
2617
|
-
return _context.stop();
|
|
2618
2420
|
}
|
|
2619
2421
|
}, _callee);
|
|
2620
2422
|
}));
|
|
@@ -2987,11 +2789,11 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
|
2987
2789
|
data: luckysheet.transToCellData(newData)
|
|
2988
2790
|
});
|
|
2989
2791
|
};
|
|
2990
|
-
_this.resetData = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/
|
|
2792
|
+
_this.resetData = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
2991
2793
|
var _customerColumnsMappi;
|
|
2992
2794
|
var _this$props, validDataUrl, validDataParams, updateData, columns, isBrandAuth, _this$props$isCheckSt, isCheckStockNum, customerColumnsMapping, checkSharedValue, beforeCheckCallback, resultData, resultColumns, otherParams;
|
|
2993
|
-
return
|
|
2994
|
-
while (1) switch (_context.
|
|
2795
|
+
return _regenerator().w(function (_context) {
|
|
2796
|
+
while (1) switch (_context.n) {
|
|
2995
2797
|
case 0:
|
|
2996
2798
|
_this$props = _this.props, validDataUrl = _this$props.validDataUrl, validDataParams = _this$props.validDataParams, updateData = _this$props.updateData, columns = _this$props.columns, isBrandAuth = _this$props.isBrandAuth, _this$props$isCheckSt = _this$props.isCheckStockNum, isCheckStockNum = _this$props$isCheckSt === void 0 ? true : _this$props$isCheckSt, customerColumnsMapping = _this$props.customerColumnsMapping, checkSharedValue = _this$props.checkSharedValue, beforeCheckCallback = _this$props.beforeCheckCallback;
|
|
2997
2799
|
resultData = _this.getData().filter(function (d) {
|
|
@@ -3016,19 +2818,19 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
|
3016
2818
|
}
|
|
3017
2819
|
// 调用回调函数
|
|
3018
2820
|
if (!beforeCheckCallback) {
|
|
3019
|
-
_context.
|
|
2821
|
+
_context.n = 2;
|
|
3020
2822
|
break;
|
|
3021
2823
|
}
|
|
3022
|
-
_context.
|
|
2824
|
+
_context.n = 1;
|
|
3023
2825
|
return beforeCheckCallback(resultData);
|
|
3024
|
-
case
|
|
3025
|
-
resultData = _context.
|
|
2826
|
+
case 1:
|
|
2827
|
+
resultData = _context.v;
|
|
3026
2828
|
if (resultData) {
|
|
3027
|
-
_context.
|
|
2829
|
+
_context.n = 2;
|
|
3028
2830
|
break;
|
|
3029
2831
|
}
|
|
3030
|
-
return _context.
|
|
3031
|
-
case
|
|
2832
|
+
return _context.a(2);
|
|
2833
|
+
case 2:
|
|
3032
2834
|
requestUtil.post(validDataUrl, _objectSpread2(_objectSpread2(_objectSpread2({}, otherParams), validDataParams), {}, {
|
|
3033
2835
|
columns: resultColumns,
|
|
3034
2836
|
data: resultData,
|
|
@@ -3084,9 +2886,8 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
|
3084
2886
|
console.log(setExportData);
|
|
3085
2887
|
setExportData([123123]);
|
|
3086
2888
|
}).catch(function (err) {});
|
|
3087
|
-
case
|
|
3088
|
-
|
|
3089
|
-
return _context.stop();
|
|
2889
|
+
case 3:
|
|
2890
|
+
return _context.a(2);
|
|
3090
2891
|
}
|
|
3091
2892
|
}, _callee);
|
|
3092
2893
|
}));
|
|
@@ -4778,27 +4579,27 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
|
|
|
4778
4579
|
popvalue = _useState8[0],
|
|
4779
4580
|
setPopValue = _useState8[1];
|
|
4780
4581
|
var _useState9 = useState([]),
|
|
4781
|
-
|
|
4782
|
-
source =
|
|
4783
|
-
setSource =
|
|
4582
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
4583
|
+
source = _useState0[0],
|
|
4584
|
+
setSource = _useState0[1];
|
|
4784
4585
|
var _useDebounceFn = useDebounceFn(function () {
|
|
4785
4586
|
getData();
|
|
4786
4587
|
}, {
|
|
4787
4588
|
wait: 1000
|
|
4788
4589
|
}),
|
|
4789
4590
|
run = _useDebounceFn.run;
|
|
4790
|
-
var
|
|
4591
|
+
var _useState1 = useState(false),
|
|
4592
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
4593
|
+
fetching = _useState10[0],
|
|
4594
|
+
setFetching = _useState10[1];
|
|
4595
|
+
var _useState11 = useState(''),
|
|
4791
4596
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
var _useState13 = useState(
|
|
4597
|
+
searchValue = _useState12[0],
|
|
4598
|
+
setSearchValue = _useState12[1];
|
|
4599
|
+
var _useState13 = useState(resultSourceKey),
|
|
4795
4600
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
var _useState15 = useState(resultSourceKey),
|
|
4799
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
4800
|
-
uniqueValue = _useState16[0],
|
|
4801
|
-
setUniqueValue = _useState16[1];
|
|
4601
|
+
uniqueValue = _useState14[0],
|
|
4602
|
+
setUniqueValue = _useState14[1];
|
|
4802
4603
|
useEffect(function () {
|
|
4803
4604
|
setPopValue(value);
|
|
4804
4605
|
onValueChange(value);
|
|
@@ -5215,21 +5016,21 @@ var PropertySelector = function PropertySelector(_ref) {
|
|
|
5215
5016
|
notCommonProperty = _useState8[0],
|
|
5216
5017
|
setNotCommonProperty = _useState8[1];
|
|
5217
5018
|
var _useState9 = useState(false),
|
|
5218
|
-
|
|
5219
|
-
visible =
|
|
5220
|
-
setVisible =
|
|
5221
|
-
var
|
|
5019
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
5020
|
+
visible = _useState0[0],
|
|
5021
|
+
setVisible = _useState0[1];
|
|
5022
|
+
var _useState1 = useState(false),
|
|
5023
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
5024
|
+
showNotCommon = _useState10[0],
|
|
5025
|
+
setShowNotCommon = _useState10[1]; // 是否展示非常用属性
|
|
5026
|
+
var _useState11 = useState([]),
|
|
5222
5027
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
var _useState13 = useState(
|
|
5028
|
+
classifyOptionList = _useState12[0],
|
|
5029
|
+
setClassifyOptionList = _useState12[1];
|
|
5030
|
+
var _useState13 = useState('1'),
|
|
5226
5031
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
var _useState15 = useState('1'),
|
|
5230
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
5231
|
-
listKey = _useState16[0],
|
|
5232
|
-
setListKey = _useState16[1];
|
|
5032
|
+
listKey = _useState14[0],
|
|
5033
|
+
setListKey = _useState14[1];
|
|
5233
5034
|
useEffect(function () {
|
|
5234
5035
|
requestUtil({
|
|
5235
5036
|
url: '/items/class/withProperty?pageSize=500¤tPage=1',
|
|
@@ -5612,29 +5413,29 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5612
5413
|
scrollPage = _useState8[0],
|
|
5613
5414
|
setScrollPage = _useState8[1];
|
|
5614
5415
|
var _useState9 = useState(0),
|
|
5615
|
-
|
|
5616
|
-
itemsTotal =
|
|
5617
|
-
setItemsTotal =
|
|
5618
|
-
var
|
|
5416
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
5417
|
+
itemsTotal = _useState0[0],
|
|
5418
|
+
setItemsTotal = _useState0[1];
|
|
5419
|
+
var _useState1 = useState(false),
|
|
5420
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
5421
|
+
fetching = _useState10[0],
|
|
5422
|
+
setFetching = _useState10[1];
|
|
5423
|
+
var _useState11 = useState(''),
|
|
5619
5424
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
var _useState13 = useState(
|
|
5425
|
+
searchValue = _useState12[0],
|
|
5426
|
+
setSearchValue = _useState12[1];
|
|
5427
|
+
var _useState13 = useState(false),
|
|
5623
5428
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
var _useState15 = useState(
|
|
5429
|
+
isModalVisible = _useState14[0],
|
|
5430
|
+
setIsModalVisible = _useState14[1];
|
|
5431
|
+
var _useState15 = useState(initVal),
|
|
5627
5432
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
var _useState17 = useState(
|
|
5433
|
+
popvalue = _useState16[0],
|
|
5434
|
+
setPopValue = _useState16[1];
|
|
5435
|
+
var _useState17 = useState(resultSourceKey),
|
|
5631
5436
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
var _useState19 = useState(resultSourceKey),
|
|
5635
|
-
_useState20 = _slicedToArray(_useState19, 2),
|
|
5636
|
-
uniqueValue = _useState20[0],
|
|
5637
|
-
setUniqueValue = _useState20[1];
|
|
5437
|
+
uniqueValue = _useState18[0],
|
|
5438
|
+
setUniqueValue = _useState18[1];
|
|
5638
5439
|
var _useDebounceFn = useDebounceFn(function (v) {
|
|
5639
5440
|
// 优化搜索参数 支持传多个
|
|
5640
5441
|
var searchParams = {};
|
|
@@ -5663,58 +5464,58 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5663
5464
|
var _Form$useForm = Form.useForm(),
|
|
5664
5465
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
5665
5466
|
form = _Form$useForm2[0];
|
|
5467
|
+
var _useState19 = useState(true),
|
|
5468
|
+
_useState20 = _slicedToArray(_useState19, 2),
|
|
5469
|
+
collapsed = _useState20[0],
|
|
5470
|
+
setCollapsed = _useState20[1];
|
|
5666
5471
|
var _useState21 = useState(true),
|
|
5667
5472
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
var _useState23 = useState(
|
|
5473
|
+
caretLeftFlag = _useState22[0],
|
|
5474
|
+
setCaretLeftFlag = _useState22[1];
|
|
5475
|
+
var _useState23 = useState([]),
|
|
5671
5476
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
var _useState25 = useState(
|
|
5477
|
+
tableData = _useState24[0],
|
|
5478
|
+
setTableData = _useState24[1];
|
|
5479
|
+
var _useState25 = useState(tableInitPagination),
|
|
5675
5480
|
_useState26 = _slicedToArray(_useState25, 2),
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
var _useState27 = useState(
|
|
5481
|
+
tablePagination = _useState26[0],
|
|
5482
|
+
setTablePagination = _useState26[1];
|
|
5483
|
+
var _useState27 = useState([]),
|
|
5679
5484
|
_useState28 = _slicedToArray(_useState27, 2),
|
|
5680
|
-
|
|
5681
|
-
|
|
5485
|
+
selectedRowKeys = _useState28[0],
|
|
5486
|
+
setSelectedRowKeys = _useState28[1];
|
|
5682
5487
|
var _useState29 = useState([]),
|
|
5683
5488
|
_useState30 = _slicedToArray(_useState29, 2),
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
var _useState31 = useState(
|
|
5489
|
+
selectedRows = _useState30[0],
|
|
5490
|
+
setSelectedRows = _useState30[1];
|
|
5491
|
+
var _useState31 = useState(false),
|
|
5687
5492
|
_useState32 = _slicedToArray(_useState31, 2),
|
|
5688
|
-
|
|
5689
|
-
|
|
5493
|
+
checkedAll = _useState32[0],
|
|
5494
|
+
setCheckedAll = _useState32[1];
|
|
5690
5495
|
var _useState33 = useState(false),
|
|
5691
5496
|
_useState34 = _slicedToArray(_useState33, 2),
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
var _useState35 = useState(
|
|
5497
|
+
indeterminate = _useState34[0],
|
|
5498
|
+
setIndeterminate = _useState34[1];
|
|
5499
|
+
var _useState35 = useState({}),
|
|
5695
5500
|
_useState36 = _slicedToArray(_useState35, 2),
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
var _useState37 = useState(
|
|
5501
|
+
tableFormParams = _useState36[0],
|
|
5502
|
+
setTableFormParams = _useState36[1];
|
|
5503
|
+
var _useState37 = useState(false),
|
|
5699
5504
|
_useState38 = _slicedToArray(_useState37, 2),
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
var _useState39 = useState(
|
|
5505
|
+
tooltipVisible = _useState38[0],
|
|
5506
|
+
setTooltipVisible = _useState38[1];
|
|
5507
|
+
var _useState39 = useState(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns)),
|
|
5703
5508
|
_useState40 = _slicedToArray(_useState39, 2),
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
var _useState41 = useState(
|
|
5509
|
+
tableShowColumns = _useState40[0],
|
|
5510
|
+
setTabletShowColumns = _useState40[1]; // 默认展示表头-modalTableProps?.tableColumns
|
|
5511
|
+
var _useState41 = useState(false),
|
|
5707
5512
|
_useState42 = _slicedToArray(_useState41, 2),
|
|
5708
|
-
|
|
5709
|
-
|
|
5513
|
+
confirmLoading = _useState42[0],
|
|
5514
|
+
setConfirmLoading = _useState42[1];
|
|
5710
5515
|
var _useState43 = useState(false),
|
|
5711
5516
|
_useState44 = _slicedToArray(_useState43, 2),
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
var _useState45 = useState(false),
|
|
5715
|
-
_useState46 = _slicedToArray(_useState45, 2),
|
|
5716
|
-
modalSearched = _useState46[0],
|
|
5717
|
-
setModalSearched = _useState46[1];
|
|
5517
|
+
modalSearched = _useState44[0],
|
|
5518
|
+
setModalSearched = _useState44[1];
|
|
5718
5519
|
var setSelectDataSource = function setSelectDataSource(list, total) {
|
|
5719
5520
|
setItems(list);
|
|
5720
5521
|
setItemsTotal(total);
|
|
@@ -6191,7 +5992,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
6191
5992
|
})) || [];
|
|
6192
5993
|
var searchList = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.noEmptySearchField) ? list : list === null || list === void 0 ? void 0 : list.concat(addKong);
|
|
6193
5994
|
return searchList.map(function (i, index) {
|
|
6194
|
-
var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$
|
|
5995
|
+
var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$field0, _i$field1, _i$field10, _i$field12, _i$field13;
|
|
6195
5996
|
if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React$1.createElement(Col, {
|
|
6196
5997
|
span: ColSpan,
|
|
6197
5998
|
key: i
|
|
@@ -6289,7 +6090,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
6289
6090
|
disabled: setDisabled(i.name)
|
|
6290
6091
|
}))));
|
|
6291
6092
|
}
|
|
6292
|
-
if ((i === null || i === void 0 ? void 0 : i.type) === 'multipleQueryInput' || (i === null || i === void 0 ? void 0 : (_i$
|
|
6093
|
+
if ((i === null || i === void 0 ? void 0 : i.type) === 'multipleQueryInput' || (i === null || i === void 0 ? void 0 : (_i$field0 = i.field) === null || _i$field0 === void 0 ? void 0 : _i$field0.type) === 'multipleQueryInput') {
|
|
6293
6094
|
return /*#__PURE__*/React$1.createElement(Col, {
|
|
6294
6095
|
span: ColSpan,
|
|
6295
6096
|
key: i.name
|
|
@@ -6303,7 +6104,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
6303
6104
|
}
|
|
6304
6105
|
})));
|
|
6305
6106
|
}
|
|
6306
|
-
if ((i === null || i === void 0 ? void 0 : (_i$
|
|
6107
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field1 = i.field) === null || _i$field1 === void 0 ? void 0 : _i$field1.type) === 'proppertySelector') {
|
|
6307
6108
|
return /*#__PURE__*/React$1.createElement(Col, {
|
|
6308
6109
|
span: ColSpan,
|
|
6309
6110
|
key: i.name
|
|
@@ -6313,8 +6114,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
6313
6114
|
key: i.name
|
|
6314
6115
|
}, /*#__PURE__*/React$1.createElement(PropertySelector, null)));
|
|
6315
6116
|
}
|
|
6316
|
-
if ((i === null || i === void 0 ? void 0 : i.type) === 'itemPropertySelector' || (i === null || i === void 0 ? void 0 : (_i$
|
|
6317
|
-
var _i$
|
|
6117
|
+
if ((i === null || i === void 0 ? void 0 : i.type) === 'itemPropertySelector' || (i === null || i === void 0 ? void 0 : (_i$field10 = i.field) === null || _i$field10 === void 0 ? void 0 : _i$field10.type) === 'itemPropertySelector') {
|
|
6118
|
+
var _i$field11;
|
|
6318
6119
|
return /*#__PURE__*/React$1.createElement(Col, {
|
|
6319
6120
|
span: ColSpan,
|
|
6320
6121
|
key: i.name
|
|
@@ -6327,9 +6128,9 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
6327
6128
|
width: '100%'
|
|
6328
6129
|
},
|
|
6329
6130
|
placeholder: "\u8BF7\u9009\u62E9"
|
|
6330
|
-
}, i === null || i === void 0 ? void 0 : (_i$
|
|
6131
|
+
}, i === null || i === void 0 ? void 0 : (_i$field11 = i.field) === null || _i$field11 === void 0 ? void 0 : _i$field11.props))));
|
|
6331
6132
|
}
|
|
6332
|
-
if ((i === null || i === void 0 ? void 0 : (_i$
|
|
6133
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field12 = i.field) === null || _i$field12 === void 0 ? void 0 : _i$field12.type) === 'multipleQuerySearchSelect') {
|
|
6333
6134
|
return /*#__PURE__*/React$1.createElement(Col, {
|
|
6334
6135
|
span: ColSpan,
|
|
6335
6136
|
key: i.name
|
|
@@ -6358,7 +6159,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
6358
6159
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
6359
6160
|
allowClear: true,
|
|
6360
6161
|
maxLength: 100
|
|
6361
|
-
}, i === null || i === void 0 ? void 0 : (_i$
|
|
6162
|
+
}, i === null || i === void 0 ? void 0 : (_i$field13 = i.field) === null || _i$field13 === void 0 ? void 0 : _i$field13.props), {}, {
|
|
6362
6163
|
disabled: setDisabled(i.name)
|
|
6363
6164
|
}))));
|
|
6364
6165
|
});
|
|
@@ -7678,135 +7479,132 @@ var AddSelect = function AddSelect(props) {
|
|
|
7678
7479
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
7679
7480
|
form = _Form$useForm2[0];
|
|
7680
7481
|
var _useState9 = useState(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm),
|
|
7681
|
-
|
|
7682
|
-
tableSearchForm =
|
|
7683
|
-
setTableSearchForm =
|
|
7684
|
-
var
|
|
7482
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
7483
|
+
tableSearchForm = _useState0[0],
|
|
7484
|
+
setTableSearchForm = _useState0[1];
|
|
7485
|
+
var _useState1 = useState(true),
|
|
7486
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
7487
|
+
caretLeftFlag = _useState10[0],
|
|
7488
|
+
setCaretLeftFlag = _useState10[1];
|
|
7489
|
+
var _useState11 = useState([]),
|
|
7685
7490
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
var _useState13 = useState(
|
|
7689
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
7690
|
-
tableData = _useState14[0],
|
|
7691
|
-
setTableData = _useState14[1];
|
|
7692
|
-
var _useState15 = useState(_objectSpread2({
|
|
7491
|
+
tableData = _useState12[0],
|
|
7492
|
+
setTableData = _useState12[1];
|
|
7493
|
+
var _useState13 = useState(_objectSpread2({
|
|
7693
7494
|
total: 0,
|
|
7694
7495
|
size: "small",
|
|
7695
7496
|
current: 1,
|
|
7696
7497
|
pageSize: tableInitPageSize
|
|
7697
7498
|
}, modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.topTablePagination)),
|
|
7499
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
7500
|
+
tablePagination = _useState14[0],
|
|
7501
|
+
setTablePagination = _useState14[1];
|
|
7502
|
+
var _useState15 = useState([]),
|
|
7698
7503
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
var _useState17 = useState(
|
|
7504
|
+
selectedRowKeys = _useState16[0],
|
|
7505
|
+
setSelectedRowKeys = _useState16[1];
|
|
7506
|
+
var _useState17 = useState({}),
|
|
7702
7507
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
var _useState19 = useState(
|
|
7508
|
+
tableFormParams = _useState18[0],
|
|
7509
|
+
setTableFormParams = _useState18[1];
|
|
7510
|
+
var _useState19 = useState(false),
|
|
7706
7511
|
_useState20 = _slicedToArray(_useState19, 2),
|
|
7707
|
-
|
|
7708
|
-
|
|
7512
|
+
confirmLoading = _useState20[0],
|
|
7513
|
+
setConfirmLoading = _useState20[1];
|
|
7709
7514
|
var _useState21 = useState(false),
|
|
7710
7515
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
7711
|
-
|
|
7712
|
-
|
|
7713
|
-
var _useState23 = useState(
|
|
7516
|
+
confirmContinueLoading = _useState22[0],
|
|
7517
|
+
setConfirmContinueLoading = _useState22[1];
|
|
7518
|
+
var _useState23 = useState([]),
|
|
7714
7519
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
7715
|
-
|
|
7716
|
-
|
|
7520
|
+
selectColumns = _useState24[0],
|
|
7521
|
+
setSelectColumns = _useState24[1];
|
|
7717
7522
|
var _useState25 = useState([]),
|
|
7718
7523
|
_useState26 = _slicedToArray(_useState25, 2),
|
|
7719
|
-
|
|
7720
|
-
|
|
7524
|
+
showColumns = _useState26[0],
|
|
7525
|
+
setShowColumns = _useState26[1];
|
|
7721
7526
|
var _useState27 = useState([]),
|
|
7722
7527
|
_useState28 = _slicedToArray(_useState27, 2),
|
|
7723
|
-
|
|
7724
|
-
|
|
7528
|
+
tableColumns = _useState28[0],
|
|
7529
|
+
setTableColumns = _useState28[1];
|
|
7725
7530
|
var _useState29 = useState([]),
|
|
7726
7531
|
_useState30 = _slicedToArray(_useState29, 2),
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
var _useState31 = useState([]),
|
|
7730
|
-
_useState32 = _slicedToArray(_useState31, 2),
|
|
7731
|
-
showToChooseColumns = _useState32[0],
|
|
7732
|
-
setShowToChooseColumns = _useState32[1];
|
|
7532
|
+
showToChooseColumns = _useState30[0],
|
|
7533
|
+
setShowToChooseColumns = _useState30[1];
|
|
7733
7534
|
var codeToChoose = tableCodeList[0] || initTableCode[businessType][0];
|
|
7734
7535
|
var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
|
|
7735
7536
|
// FIXME: 特殊业务逻辑
|
|
7736
7537
|
var checkSelectChange = /*#__PURE__*/function () {
|
|
7737
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/
|
|
7738
|
-
var result;
|
|
7739
|
-
return
|
|
7740
|
-
while (1) switch (_context.
|
|
7538
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
|
|
7539
|
+
var result, _t;
|
|
7540
|
+
return _regenerator().w(function (_context) {
|
|
7541
|
+
while (1) switch (_context.n) {
|
|
7741
7542
|
case 0:
|
|
7742
7543
|
if (!(bType == 'skc' && tList.some(function (i) {
|
|
7743
7544
|
return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
|
|
7744
7545
|
}))) {
|
|
7745
|
-
_context.
|
|
7546
|
+
_context.n = 1;
|
|
7746
7547
|
break;
|
|
7747
7548
|
}
|
|
7748
7549
|
message$1.warning('相同skc配码不可设置相同哦');
|
|
7749
|
-
return _context.
|
|
7750
|
-
case
|
|
7550
|
+
return _context.a(2, false);
|
|
7551
|
+
case 1:
|
|
7751
7552
|
if (!(bType == 'spu')) {
|
|
7752
|
-
_context.
|
|
7553
|
+
_context.n = 9;
|
|
7753
7554
|
break;
|
|
7754
7555
|
}
|
|
7755
7556
|
if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
|
|
7756
7557
|
return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
|
|
7757
7558
|
}))) {
|
|
7758
|
-
_context.
|
|
7559
|
+
_context.n = 2;
|
|
7759
7560
|
break;
|
|
7760
7561
|
}
|
|
7761
7562
|
message$1.warning('相同商品相同配码颜色不可设置相同哦');
|
|
7762
|
-
return _context.
|
|
7763
|
-
case
|
|
7563
|
+
return _context.a(2, false);
|
|
7564
|
+
case 2:
|
|
7764
7565
|
if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
|
|
7765
|
-
_context.
|
|
7566
|
+
_context.n = 3;
|
|
7766
7567
|
break;
|
|
7767
7568
|
}
|
|
7768
7569
|
message$1.warning('请先选择颜色!');
|
|
7769
|
-
return _context.
|
|
7770
|
-
case
|
|
7570
|
+
return _context.a(2, false);
|
|
7571
|
+
case 3:
|
|
7771
7572
|
if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
|
|
7772
7573
|
return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
|
|
7773
7574
|
}))) {
|
|
7774
|
-
_context.
|
|
7575
|
+
_context.n = 4;
|
|
7775
7576
|
break;
|
|
7776
7577
|
}
|
|
7777
7578
|
message$1.warning('相同商品相同颜色配码不可设置相同哦');
|
|
7778
|
-
return _context.
|
|
7779
|
-
case
|
|
7579
|
+
return _context.a(2, false);
|
|
7580
|
+
case 4:
|
|
7780
7581
|
if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
|
|
7781
|
-
_context.
|
|
7582
|
+
_context.n = 9;
|
|
7782
7583
|
break;
|
|
7783
7584
|
}
|
|
7784
7585
|
result = true;
|
|
7785
|
-
_context.
|
|
7786
|
-
_context.
|
|
7586
|
+
_context.p = 5;
|
|
7587
|
+
_context.n = 6;
|
|
7787
7588
|
return checkSpuMatchCode({
|
|
7788
7589
|
skcCode: recordItem[recordKey],
|
|
7789
7590
|
matchingCode: changeValue,
|
|
7790
7591
|
ext1: recordItem.colorName
|
|
7791
7592
|
});
|
|
7792
|
-
case
|
|
7793
|
-
result = _context.
|
|
7593
|
+
case 6:
|
|
7594
|
+
result = _context.v;
|
|
7794
7595
|
result = true;
|
|
7795
|
-
_context.
|
|
7596
|
+
_context.n = 8;
|
|
7796
7597
|
break;
|
|
7797
|
-
case
|
|
7798
|
-
_context.
|
|
7799
|
-
|
|
7800
|
-
result = typeof
|
|
7801
|
-
case
|
|
7802
|
-
return _context.
|
|
7803
|
-
case
|
|
7804
|
-
return _context.
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
return _context.stop();
|
|
7808
|
-
}
|
|
7809
|
-
}, _callee, null, [[15, 22]]);
|
|
7598
|
+
case 7:
|
|
7599
|
+
_context.p = 7;
|
|
7600
|
+
_t = _context.v;
|
|
7601
|
+
result = typeof _t == 'boolean' ? _t : false;
|
|
7602
|
+
case 8:
|
|
7603
|
+
return _context.a(2, result);
|
|
7604
|
+
case 9:
|
|
7605
|
+
return _context.a(2, true);
|
|
7606
|
+
}
|
|
7607
|
+
}, _callee, null, [[5, 7]]);
|
|
7810
7608
|
}));
|
|
7811
7609
|
return function checkSelectChange(_x, _x2, _x3, _x4, _x5, _x6) {
|
|
7812
7610
|
return _ref2.apply(this, arguments);
|
|
@@ -7897,17 +7695,16 @@ var AddSelect = function AddSelect(props) {
|
|
|
7897
7695
|
e.target.blur();
|
|
7898
7696
|
},
|
|
7899
7697
|
onBlur: function () {
|
|
7900
|
-
var _onBlur = _asyncToGenerator(/*#__PURE__*/
|
|
7698
|
+
var _onBlur = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(e) {
|
|
7901
7699
|
var value;
|
|
7902
|
-
return
|
|
7903
|
-
while (1) switch (_context2.
|
|
7700
|
+
return _regenerator().w(function (_context2) {
|
|
7701
|
+
while (1) switch (_context2.n) {
|
|
7904
7702
|
case 0:
|
|
7905
7703
|
value = e.target.value;
|
|
7906
7704
|
record[item.dataIndex] = value;
|
|
7907
7705
|
editRecord(record);
|
|
7908
|
-
case
|
|
7909
|
-
|
|
7910
|
-
return _context2.stop();
|
|
7706
|
+
case 1:
|
|
7707
|
+
return _context2.a(2);
|
|
7911
7708
|
}
|
|
7912
7709
|
}, _callee2);
|
|
7913
7710
|
}));
|
|
@@ -8067,10 +7864,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
8067
7864
|
}
|
|
8068
7865
|
_dom6 = null;
|
|
8069
7866
|
} else if (e.keyCode === 38) {
|
|
8070
|
-
var _e$nativeEvent$path$
|
|
7867
|
+
var _e$nativeEvent$path$0;
|
|
8071
7868
|
e.stopPropagation();
|
|
8072
7869
|
e.preventDefault();
|
|
8073
|
-
var dom1 = (_e$nativeEvent$path$
|
|
7870
|
+
var dom1 = (_e$nativeEvent$path$0 = e.nativeEvent.path[5].children[index]) === null || _e$nativeEvent$path$0 === void 0 ? void 0 : _e$nativeEvent$path$0.getElementsByTagName('input')[currentIndex];
|
|
8074
7871
|
if (dom1) {
|
|
8075
7872
|
// dom1.value=""
|
|
8076
7873
|
// dom1.setSelectionRange(100, 0);
|
|
@@ -8104,19 +7901,19 @@ var AddSelect = function AddSelect(props) {
|
|
|
8104
7901
|
return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
|
|
8105
7902
|
value: text || null,
|
|
8106
7903
|
onChange: function () {
|
|
8107
|
-
var _onChange = _asyncToGenerator(/*#__PURE__*/
|
|
8108
|
-
var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
|
|
8109
|
-
return
|
|
8110
|
-
while (1) switch (_context3.
|
|
7904
|
+
var _onChange = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(value) {
|
|
7905
|
+
var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules, _t2;
|
|
7906
|
+
return _regenerator().w(function (_context3) {
|
|
7907
|
+
while (1) switch (_context3.n) {
|
|
8111
7908
|
case 0:
|
|
8112
7909
|
dataSourceSelectItem = (dataSourceList === null || dataSourceList === void 0 ? void 0 : dataSourceList.find(function (d) {
|
|
8113
7910
|
return d[selectKey] == value;
|
|
8114
7911
|
})) || {};
|
|
8115
7912
|
if (!(item === null || item === void 0 ? void 0 : item.selectChangeCallback)) {
|
|
8116
|
-
_context3.
|
|
7913
|
+
_context3.n = 2;
|
|
8117
7914
|
break;
|
|
8118
7915
|
}
|
|
8119
|
-
_context3.
|
|
7916
|
+
_context3.n = 1;
|
|
8120
7917
|
return item === null || item === void 0 ? void 0 : (_item$selectChangeCal = item.selectChangeCallback) === null || _item$selectChangeCal === void 0 ? void 0 : _item$selectChangeCal.call(item, popvalue, setPopValue, {
|
|
8121
7918
|
record: record,
|
|
8122
7919
|
index: index,
|
|
@@ -8126,10 +7923,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
8126
7923
|
dataSourceSelectItem: dataSourceSelectItem,
|
|
8127
7924
|
editRecord: editRecord
|
|
8128
7925
|
});
|
|
8129
|
-
case
|
|
8130
|
-
_context3.
|
|
7926
|
+
case 1:
|
|
7927
|
+
_context3.n = 10;
|
|
8131
7928
|
break;
|
|
8132
|
-
case
|
|
7929
|
+
case 2:
|
|
8133
7930
|
// 更新当前行数据函数
|
|
8134
7931
|
changeValue = function changeValue(v, dSSItem) {
|
|
8135
7932
|
var _item$dataSourceSelec;
|
|
@@ -8142,12 +7939,12 @@ var AddSelect = function AddSelect(props) {
|
|
|
8142
7939
|
}
|
|
8143
7940
|
}; // 处理校验,默认不校验
|
|
8144
7941
|
isCheckPass = true;
|
|
8145
|
-
_context3.
|
|
7942
|
+
_context3.p = 3;
|
|
8146
7943
|
if (!(item === null || item === void 0 ? void 0 : item.selectCheckCallback)) {
|
|
8147
|
-
_context3.
|
|
7944
|
+
_context3.n = 5;
|
|
8148
7945
|
break;
|
|
8149
7946
|
}
|
|
8150
|
-
_context3.
|
|
7947
|
+
_context3.n = 4;
|
|
8151
7948
|
return item === null || item === void 0 ? void 0 : item.selectCheckCallback(popvalue, {
|
|
8152
7949
|
record: record,
|
|
8153
7950
|
index: index,
|
|
@@ -8156,23 +7953,23 @@ var AddSelect = function AddSelect(props) {
|
|
|
8156
7953
|
changeValue: value,
|
|
8157
7954
|
dataSourceSelectItem: dataSourceSelectItem
|
|
8158
7955
|
});
|
|
8159
|
-
case
|
|
8160
|
-
isCheckPass = _context3.
|
|
8161
|
-
_context3.
|
|
7956
|
+
case 4:
|
|
7957
|
+
isCheckPass = _context3.v;
|
|
7958
|
+
_context3.n = 7;
|
|
8162
7959
|
break;
|
|
8163
|
-
case
|
|
8164
|
-
_context3.
|
|
7960
|
+
case 5:
|
|
7961
|
+
_context3.n = 6;
|
|
8165
7962
|
return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
|
|
8166
|
-
case
|
|
8167
|
-
isConformToTheRules = _context3.
|
|
7963
|
+
case 6:
|
|
7964
|
+
isConformToTheRules = _context3.v;
|
|
8168
7965
|
isCheckPass = !isConformToTheRules;
|
|
8169
|
-
case
|
|
8170
|
-
_context3.
|
|
7966
|
+
case 7:
|
|
7967
|
+
_context3.n = 9;
|
|
8171
7968
|
break;
|
|
8172
|
-
case
|
|
8173
|
-
_context3.
|
|
8174
|
-
|
|
8175
|
-
case
|
|
7969
|
+
case 8:
|
|
7970
|
+
_context3.p = 8;
|
|
7971
|
+
_t2 = _context3.v;
|
|
7972
|
+
case 9:
|
|
8176
7973
|
if (isCheckPass) {
|
|
8177
7974
|
changeValue(value, dataSourceSelectItem);
|
|
8178
7975
|
} else {
|
|
@@ -8180,11 +7977,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
8180
7977
|
}
|
|
8181
7978
|
// 更新已选表格函数
|
|
8182
7979
|
editRecord(record);
|
|
8183
|
-
case
|
|
8184
|
-
|
|
8185
|
-
return _context3.stop();
|
|
7980
|
+
case 10:
|
|
7981
|
+
return _context3.a(2);
|
|
8186
7982
|
}
|
|
8187
|
-
}, _callee3, null, [[
|
|
7983
|
+
}, _callee3, null, [[3, 8]]);
|
|
8188
7984
|
}));
|
|
8189
7985
|
function onChange(_x8) {
|
|
8190
7986
|
return _onChange.apply(this, arguments);
|
|
@@ -9575,29 +9371,29 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
9575
9371
|
dataIndex: 'propertyNameAndValue'
|
|
9576
9372
|
}];
|
|
9577
9373
|
var _useState9 = useState(false),
|
|
9578
|
-
|
|
9579
|
-
isModalVisible =
|
|
9580
|
-
setIsModalVisible =
|
|
9581
|
-
var
|
|
9374
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
9375
|
+
isModalVisible = _useState0[0],
|
|
9376
|
+
setIsModalVisible = _useState0[1];
|
|
9377
|
+
var _useState1 = useState([{
|
|
9582
9378
|
hovered: false
|
|
9583
9379
|
}]),
|
|
9584
|
-
|
|
9585
|
-
data =
|
|
9586
|
-
setData =
|
|
9380
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
9381
|
+
data = _useState10[0],
|
|
9382
|
+
setData = _useState10[1];
|
|
9587
9383
|
var tableRef = useRef(null);
|
|
9588
9384
|
var codeSelected = tableCode;
|
|
9589
|
-
var
|
|
9385
|
+
var _useState11 = useState(false),
|
|
9386
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
9387
|
+
loading = _useState12[0],
|
|
9388
|
+
setLoading = _useState12[1];
|
|
9389
|
+
var _useState13 = useState([]),
|
|
9590
9390
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
9591
|
-
|
|
9592
|
-
|
|
9391
|
+
selectColumns = _useState14[0],
|
|
9392
|
+
setSelectColumns = _useState14[1];
|
|
9593
9393
|
var _useState15 = useState([]),
|
|
9594
9394
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
var _useState17 = useState([]),
|
|
9598
|
-
_useState18 = _slicedToArray(_useState17, 2),
|
|
9599
|
-
showColumns = _useState18[0],
|
|
9600
|
-
setShowColumns = _useState18[1];
|
|
9395
|
+
showColumns = _useState16[0],
|
|
9396
|
+
setShowColumns = _useState16[1];
|
|
9601
9397
|
useEffect(function () {
|
|
9602
9398
|
setSelectColumns([].concat(_toConsumableArray(columns.map(function (item) {
|
|
9603
9399
|
var inputLength = columns.filter(function (item) {
|
|
@@ -9713,42 +9509,42 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
9713
9509
|
});
|
|
9714
9510
|
};
|
|
9715
9511
|
var handleSubmit = /*#__PURE__*/function () {
|
|
9716
|
-
var _ref4 = _asyncToGenerator(/*#__PURE__*/
|
|
9512
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
9717
9513
|
var canEntryObject, _canEntryObject$error, messageInfo;
|
|
9718
|
-
return
|
|
9719
|
-
while (1) switch (_context.
|
|
9514
|
+
return _regenerator().w(function (_context) {
|
|
9515
|
+
while (1) switch (_context.n) {
|
|
9720
9516
|
case 0:
|
|
9721
9517
|
if (data === null || data === void 0 ? void 0 : data.length) {
|
|
9722
|
-
_context.
|
|
9518
|
+
_context.n = 1;
|
|
9723
9519
|
break;
|
|
9724
9520
|
}
|
|
9725
9521
|
message$1.warning('至少录入一条数据');
|
|
9726
|
-
return _context.
|
|
9727
|
-
case
|
|
9522
|
+
return _context.a(2);
|
|
9523
|
+
case 1:
|
|
9728
9524
|
if (data === null || data === void 0 ? void 0 : data.every(function (d) {
|
|
9729
9525
|
return d.skuCode && d.name;
|
|
9730
9526
|
})) {
|
|
9731
|
-
_context.
|
|
9527
|
+
_context.n = 2;
|
|
9732
9528
|
break;
|
|
9733
9529
|
}
|
|
9734
9530
|
message$1.warning('录入商品不存在');
|
|
9735
|
-
return _context.
|
|
9736
|
-
case
|
|
9531
|
+
return _context.a(2);
|
|
9532
|
+
case 2:
|
|
9737
9533
|
if (data === null || data === void 0 ? void 0 : data.every(function (d) {
|
|
9738
9534
|
return d.count;
|
|
9739
9535
|
})) {
|
|
9740
|
-
_context.
|
|
9536
|
+
_context.n = 3;
|
|
9741
9537
|
break;
|
|
9742
9538
|
}
|
|
9743
9539
|
message$1.warning('请填写商品数量!');
|
|
9744
|
-
return _context.
|
|
9745
|
-
case
|
|
9746
|
-
_context.
|
|
9540
|
+
return _context.a(2);
|
|
9541
|
+
case 3:
|
|
9542
|
+
_context.n = 4;
|
|
9747
9543
|
return isSkuCanEntry(data);
|
|
9748
|
-
case
|
|
9749
|
-
canEntryObject = _context.
|
|
9544
|
+
case 4:
|
|
9545
|
+
canEntryObject = _context.v;
|
|
9750
9546
|
if (!((canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.flag) === false)) {
|
|
9751
|
-
_context.
|
|
9547
|
+
_context.n = 5;
|
|
9752
9548
|
break;
|
|
9753
9549
|
}
|
|
9754
9550
|
messageInfo = (canEntryObject === null || canEntryObject === void 0 ? void 0 : (_canEntryObject$error = canEntryObject.errorList) === null || _canEntryObject$error === void 0 ? void 0 : _canEntryObject$error.length) && (canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.errorList.map(function (i) {
|
|
@@ -9758,8 +9554,8 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
9758
9554
|
content: messageInfo,
|
|
9759
9555
|
duration: 6
|
|
9760
9556
|
});
|
|
9761
|
-
return _context.
|
|
9762
|
-
case
|
|
9557
|
+
return _context.a(2);
|
|
9558
|
+
case 5:
|
|
9763
9559
|
setLoading(true);
|
|
9764
9560
|
onSaveCallback(data).then(function (res) {
|
|
9765
9561
|
{
|
|
@@ -9777,9 +9573,8 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
9777
9573
|
message$1.error(Error);
|
|
9778
9574
|
setLoading(false);
|
|
9779
9575
|
});
|
|
9780
|
-
case
|
|
9781
|
-
|
|
9782
|
-
return _context.stop();
|
|
9576
|
+
case 6:
|
|
9577
|
+
return _context.a(2);
|
|
9783
9578
|
}
|
|
9784
9579
|
}, _callee);
|
|
9785
9580
|
}));
|
|
@@ -11976,17 +11771,17 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11976
11771
|
}
|
|
11977
11772
|
}
|
|
11978
11773
|
}];
|
|
11979
|
-
var
|
|
11774
|
+
var _queryHeaderParams0 = getQueryHeadersList({
|
|
11980
11775
|
querySelectHeadersList: querySelectHeadersList,
|
|
11981
11776
|
extralHeaders: extralHeaders
|
|
11982
11777
|
});
|
|
11983
|
-
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/org/listNoPage"), {}, getQueryHeadersItem(
|
|
11778
|
+
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/org/listNoPage"), {}, getQueryHeadersItem(_queryHeaderParams0, 'qp-createOrgCode-eq')), loadSelectSource$1("/channel-manage/channelInfo/tree", {
|
|
11984
11779
|
'qp-status-eq': 10,
|
|
11985
11780
|
'qp-isMain-eq': 1,
|
|
11986
11781
|
'qp-type-in': '1,2'
|
|
11987
|
-
}, getQueryHeadersItem(
|
|
11782
|
+
}, getQueryHeadersItem(_queryHeaderParams0, 'qp-orgCode-in')), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
|
|
11988
11783
|
'qp-status-eq': 1
|
|
11989
|
-
}, getQueryHeadersItem(
|
|
11784
|
+
}, getQueryHeadersItem(_queryHeaderParams0, 'qp-orgCode-in'))]).then(function (x) {
|
|
11990
11785
|
var firstElement = x === null || x === void 0 ? void 0 : x[0];
|
|
11991
11786
|
var allList = firstElement && [firstElement, firstElement];
|
|
11992
11787
|
formatSource(allList, 0, 2, tableSearchForm);
|
|
@@ -12172,7 +11967,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12172
11967
|
}
|
|
12173
11968
|
}
|
|
12174
11969
|
}];
|
|
12175
|
-
var
|
|
11970
|
+
var _queryHeaderParams1 = getQueryHeadersList({
|
|
12176
11971
|
querySelectHeadersList: querySelectHeadersList,
|
|
12177
11972
|
extralHeaders: extralHeaders
|
|
12178
11973
|
});
|
|
@@ -12180,21 +11975,21 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12180
11975
|
pageSize: 5000,
|
|
12181
11976
|
currentPage: 1,
|
|
12182
11977
|
'qp-companyType-eq': '30'
|
|
12183
|
-
}, getQueryHeadersItem(
|
|
11978
|
+
}, getQueryHeadersItem(_queryHeaderParams1, 'qp-conglomerateCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/company"), {
|
|
12184
11979
|
pageSize: 5000,
|
|
12185
11980
|
currentPage: 1,
|
|
12186
11981
|
'qp-companyType-eq': '20'
|
|
12187
|
-
}, getQueryHeadersItem(
|
|
11982
|
+
}, getQueryHeadersItem(_queryHeaderParams1, 'qp-companyCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/platformRecord/getPlatformRecordList"), {
|
|
12188
11983
|
// pageSize: 5000,
|
|
12189
11984
|
// currentPage: 1,
|
|
12190
11985
|
'qp-status-eq': '1'
|
|
12191
|
-
}, getQueryHeadersItem(
|
|
11986
|
+
}, getQueryHeadersItem(_queryHeaderParams1, 'qp-plateformCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/store"), {
|
|
12192
11987
|
pageSize: 5000,
|
|
12193
11988
|
currentPage: 1
|
|
12194
|
-
}, getQueryHeadersItem(
|
|
11989
|
+
}, getQueryHeadersItem(_queryHeaderParams1, 'qp-mainBrandCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/accountingSubject"), {
|
|
12195
11990
|
pageSize: 5000,
|
|
12196
11991
|
currentPage: 1
|
|
12197
|
-
}, getQueryHeadersItem(
|
|
11992
|
+
}, getQueryHeadersItem(_queryHeaderParams1, 'qp-accountingCode-in'))]).then(function (x) {
|
|
12198
11993
|
formatSource(x, 0, 2, tableSearchForm);
|
|
12199
11994
|
formatSource(x, 1, 3, tableSearchForm);
|
|
12200
11995
|
formatSource(x, 2, 5, tableSearchForm);
|
|
@@ -12382,7 +12177,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12382
12177
|
}
|
|
12383
12178
|
}
|
|
12384
12179
|
}];
|
|
12385
|
-
var
|
|
12180
|
+
var _queryHeaderParams10 = getQueryHeadersList({
|
|
12386
12181
|
querySelectHeadersList: querySelectHeadersList,
|
|
12387
12182
|
extralHeaders: extralHeaders
|
|
12388
12183
|
});
|
|
@@ -12390,17 +12185,17 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12390
12185
|
'qp-employeeCode-eq': getEmployeeCode(),
|
|
12391
12186
|
'qp-realOrg-eq': true,
|
|
12392
12187
|
'qp-status-eq': 10
|
|
12393
|
-
}, getQueryHeadersItem(
|
|
12188
|
+
}, getQueryHeadersItem(_queryHeaderParams10, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/channelInfo/tree"), {
|
|
12394
12189
|
'qp-status-eq': 10,
|
|
12395
12190
|
'qp-isMain-eq': 1,
|
|
12396
12191
|
'qp-type-in': '1,2'
|
|
12397
|
-
}, getQueryHeadersItem(
|
|
12192
|
+
}, getQueryHeadersItem(_queryHeaderParams10, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/tagNode/getTree/10"), {
|
|
12398
12193
|
'qp-status-eq': 1
|
|
12399
|
-
}, getQueryHeadersItem(
|
|
12194
|
+
}, getQueryHeadersItem(_queryHeaderParams10, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
|
|
12400
12195
|
pageSize: 5000,
|
|
12401
12196
|
currentPage: 1,
|
|
12402
12197
|
'ctl-withAuth': true
|
|
12403
|
-
}, getQueryHeadersItem(
|
|
12198
|
+
}, getQueryHeadersItem(_queryHeaderParams10, 'ctl-withAuth'))]).then(function (x) {
|
|
12404
12199
|
var channelDisabledJude = function channelDisabledJude(data) {
|
|
12405
12200
|
return data['parentCode'] === '0';
|
|
12406
12201
|
}; // 所属销售渠道 树节点不能点判断
|
|
@@ -12639,7 +12434,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12639
12434
|
name: 'qp-officeTelephone-like',
|
|
12640
12435
|
label: '手机号'
|
|
12641
12436
|
}];
|
|
12642
|
-
var
|
|
12437
|
+
var _queryHeaderParams11 = getQueryHeadersList({
|
|
12643
12438
|
querySelectHeadersList: querySelectHeadersList,
|
|
12644
12439
|
extralHeaders: extralHeaders
|
|
12645
12440
|
});
|
|
@@ -12647,7 +12442,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12647
12442
|
pageSize: 5000,
|
|
12648
12443
|
currentPage: 1,
|
|
12649
12444
|
'qp-companyType-eq': 20
|
|
12650
|
-
}, getQueryHeadersItem(
|
|
12445
|
+
}, getQueryHeadersItem(_queryHeaderParams11, 'qp-companyCode-in'))]).then(function (x) {
|
|
12651
12446
|
formatSource(x, 0, 2, tableSearchForm);
|
|
12652
12447
|
});
|
|
12653
12448
|
modalTableProps = _objectSpread2({
|
|
@@ -12756,13 +12551,13 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12756
12551
|
name: 'qp-phone-like',
|
|
12757
12552
|
label: '手机号'
|
|
12758
12553
|
}]);
|
|
12759
|
-
var
|
|
12554
|
+
var _queryHeaderParams12 = getQueryHeadersList({
|
|
12760
12555
|
querySelectHeadersList: querySelectHeadersList,
|
|
12761
12556
|
extralHeaders: extralHeaders
|
|
12762
12557
|
});
|
|
12763
12558
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/orgViewNode/common/getTreeForOrgViewAndTenant"), {
|
|
12764
12559
|
'orgViewCode': 'administrative-organization-view'
|
|
12765
|
-
}, getQueryHeadersItem(
|
|
12560
|
+
}, getQueryHeadersItem(_queryHeaderParams12, 'qp-code-in'))]).then(function (x) {
|
|
12766
12561
|
formatTreeDataSource(x, 0, 2, tableSearchForm, ['code', 'name']);
|
|
12767
12562
|
});
|
|
12768
12563
|
modalTableProps = _objectSpread2({
|
|
@@ -12909,17 +12704,17 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12909
12704
|
name: 'qp-remark-like',
|
|
12910
12705
|
label: '备注'
|
|
12911
12706
|
}];
|
|
12912
|
-
var
|
|
12707
|
+
var _queryHeaderParams13 = getQueryHeadersList({
|
|
12913
12708
|
querySelectHeadersList: querySelectHeadersList,
|
|
12914
12709
|
extralHeaders: extralHeaders
|
|
12915
12710
|
});
|
|
12916
12711
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/logisCompany"), {
|
|
12917
12712
|
pageSize: 5000,
|
|
12918
12713
|
currentPage: 1
|
|
12919
|
-
}, getQueryHeadersItem(
|
|
12714
|
+
}, getQueryHeadersItem(_queryHeaderParams13, logisCompanyCodeSingleSearchName)), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/printTemplate"), {
|
|
12920
12715
|
pageSize: 5000,
|
|
12921
12716
|
currentPage: 1
|
|
12922
|
-
}, getQueryHeadersItem(
|
|
12717
|
+
}, getQueryHeadersItem(_queryHeaderParams13, 'qp-sheetTemplateCode-in'))]).then(function (x) {
|
|
12923
12718
|
formatSource(x, 0, 2, tableSearchForm);
|
|
12924
12719
|
formatSource(x, 1, 5, tableSearchForm);
|
|
12925
12720
|
});
|
|
@@ -13089,14 +12884,14 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
13089
12884
|
}
|
|
13090
12885
|
}
|
|
13091
12886
|
}];
|
|
13092
|
-
var
|
|
12887
|
+
var _queryHeaderParams14 = getQueryHeadersList({
|
|
13093
12888
|
querySelectHeadersList: querySelectHeadersList,
|
|
13094
12889
|
extralHeaders: extralHeaders
|
|
13095
12890
|
});
|
|
13096
12891
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/permissionCategory"), {
|
|
13097
12892
|
pageSize: 5000,
|
|
13098
12893
|
currentPage: 1
|
|
13099
|
-
}, getQueryHeadersItem(
|
|
12894
|
+
}, getQueryHeadersItem(_queryHeaderParams14, 'qp-categoryCode-eq'))]).then(function (x) {
|
|
13100
12895
|
formatSource(x, 0, 2, tableSearchForm);
|
|
13101
12896
|
});
|
|
13102
12897
|
modalTableProps = _objectSpread2({
|
|
@@ -13193,7 +12988,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
13193
12988
|
}
|
|
13194
12989
|
}
|
|
13195
12990
|
}];
|
|
13196
|
-
var
|
|
12991
|
+
var _queryHeaderParams15 = getQueryHeadersList({
|
|
13197
12992
|
querySelectHeadersList: querySelectHeadersList,
|
|
13198
12993
|
extralHeaders: extralHeaders
|
|
13199
12994
|
});
|
|
@@ -13201,7 +12996,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
13201
12996
|
'qp-employeeCode-eq': getEmployeeCode(),
|
|
13202
12997
|
'qp-realOrg-eq': true,
|
|
13203
12998
|
'qp-status-eq': 10
|
|
13204
|
-
}, getQueryHeadersItem(
|
|
12999
|
+
}, getQueryHeadersItem(_queryHeaderParams15, 'qp-salesOrgCode-in'))]).then(function (x) {
|
|
13205
13000
|
formatSource(x, 0, 2, tableSearchForm);
|
|
13206
13001
|
});
|
|
13207
13002
|
modalTableProps = _objectSpread2({
|
|
@@ -13307,13 +13102,13 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
13307
13102
|
},
|
|
13308
13103
|
initialSource: nodeType
|
|
13309
13104
|
}];
|
|
13310
|
-
var
|
|
13105
|
+
var _queryHeaderParams16 = getQueryHeadersList({
|
|
13311
13106
|
querySelectHeadersList: querySelectHeadersList,
|
|
13312
13107
|
extralHeaders: extralHeaders
|
|
13313
13108
|
});
|
|
13314
13109
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/orgView/getOrgViewListNoPage"), {
|
|
13315
13110
|
'qp-status-eq': 10
|
|
13316
|
-
}, getQueryHeadersItem(
|
|
13111
|
+
}, getQueryHeadersItem(_queryHeaderParams16, 'qp-orgViewCode-in'))]).then(function (x) {
|
|
13317
13112
|
formatSource(x, 0, 2, tableSearchForm);
|
|
13318
13113
|
});
|
|
13319
13114
|
modalTableProps = _objectSpread2({
|
|
@@ -13639,13 +13434,13 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
13639
13434
|
},
|
|
13640
13435
|
initialSource: nodeType
|
|
13641
13436
|
}];
|
|
13642
|
-
var
|
|
13437
|
+
var _queryHeaderParams17 = getQueryHeadersList({
|
|
13643
13438
|
querySelectHeadersList: querySelectHeadersList,
|
|
13644
13439
|
extralHeaders: extralHeaders
|
|
13645
13440
|
});
|
|
13646
13441
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/orgView/getOrgViewListNoPage"), {
|
|
13647
13442
|
'qp-status-eq': 10
|
|
13648
|
-
}, getQueryHeadersItem(
|
|
13443
|
+
}, getQueryHeadersItem(_queryHeaderParams17, 'qp-orgViewCode-in'))]).then(function (x) {
|
|
13649
13444
|
formatSource(x, 0, 2, tableSearchForm);
|
|
13650
13445
|
});
|
|
13651
13446
|
modalTableProps = _objectSpread2({
|
|
@@ -14590,9 +14385,9 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
|
|
|
14590
14385
|
value = _useState8[0],
|
|
14591
14386
|
setValue = _useState8[1];
|
|
14592
14387
|
var _useState9 = useState([]),
|
|
14593
|
-
|
|
14594
|
-
propertyList =
|
|
14595
|
-
setPropertyList =
|
|
14388
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
14389
|
+
propertyList = _useState0[0],
|
|
14390
|
+
setPropertyList = _useState0[1];
|
|
14596
14391
|
useEffect(function () {
|
|
14597
14392
|
if (parProps === null || parProps === void 0 ? void 0 : parProps.isSingleColor) {
|
|
14598
14393
|
// type: 1 尺码组; 2 配码组
|
|
@@ -15116,46 +14911,45 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
15116
14911
|
requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
|
|
15117
14912
|
headers: headers
|
|
15118
14913
|
}).then(/*#__PURE__*/function () {
|
|
15119
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/
|
|
14914
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(res) {
|
|
15120
14915
|
var _ctx$form;
|
|
15121
14916
|
var resData, coverData, data, dataList;
|
|
15122
|
-
return
|
|
15123
|
-
while (1) switch (_context.
|
|
14917
|
+
return _regenerator().w(function (_context) {
|
|
14918
|
+
while (1) switch (_context.n) {
|
|
15124
14919
|
case 0:
|
|
15125
14920
|
resData = (res === null || res === void 0 ? void 0 : res.data) || [];
|
|
15126
14921
|
if (!judgeIsRequestSuccess(resData)) {
|
|
15127
|
-
_context.
|
|
14922
|
+
_context.n = 4;
|
|
15128
14923
|
break;
|
|
15129
14924
|
}
|
|
15130
14925
|
data = resData.data;
|
|
15131
14926
|
if (!remoteSource.converter) {
|
|
15132
|
-
_context.
|
|
14927
|
+
_context.n = 2;
|
|
15133
14928
|
break;
|
|
15134
14929
|
}
|
|
15135
|
-
_context.
|
|
14930
|
+
_context.n = 1;
|
|
15136
14931
|
return remoteSource.converter({
|
|
15137
14932
|
data: [data]
|
|
15138
14933
|
});
|
|
15139
|
-
case
|
|
15140
|
-
coverData = _context.
|
|
15141
|
-
_context.
|
|
14934
|
+
case 1:
|
|
14935
|
+
coverData = _context.v;
|
|
14936
|
+
_context.n = 3;
|
|
15142
14937
|
break;
|
|
15143
|
-
case
|
|
14938
|
+
case 2:
|
|
15144
14939
|
dataList = data && Array.isArray(data) ? data : data && [data] || [];
|
|
15145
14940
|
coverData = dataList.length && dataList.map(function (ites) {
|
|
15146
14941
|
return _mapSearchTree(ites);
|
|
15147
14942
|
}) || [];
|
|
15148
|
-
case
|
|
15149
|
-
_context.
|
|
14943
|
+
case 3:
|
|
14944
|
+
_context.n = 5;
|
|
15150
14945
|
break;
|
|
15151
|
-
case
|
|
14946
|
+
case 4:
|
|
15152
14947
|
coverData = [];
|
|
15153
|
-
case
|
|
14948
|
+
case 5:
|
|
15154
14949
|
setTreeData(coverData);
|
|
15155
14950
|
ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(ctx.name, coverData);
|
|
15156
|
-
case
|
|
15157
|
-
|
|
15158
|
-
return _context.stop();
|
|
14951
|
+
case 6:
|
|
14952
|
+
return _context.a(2);
|
|
15159
14953
|
}
|
|
15160
14954
|
}, _callee);
|
|
15161
14955
|
}));
|
|
@@ -18054,6 +17848,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
18054
17848
|
title: '列首',
|
|
18055
17849
|
dataIndex: 'fixedLeft',
|
|
18056
17850
|
render: function render(text, record) {
|
|
17851
|
+
if (_this.props.disableColumnFixed) {
|
|
17852
|
+
return null;
|
|
17853
|
+
}
|
|
18057
17854
|
return /*#__PURE__*/React$1.createElement("span", {
|
|
18058
17855
|
onClick: function onClick() {
|
|
18059
17856
|
var sortDataSource = _this.state.sortDataSource;
|
|
@@ -18130,6 +17927,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
18130
17927
|
title: '列尾',
|
|
18131
17928
|
dataIndex: 'fixedRight',
|
|
18132
17929
|
render: function render(text, record) {
|
|
17930
|
+
if (_this.props.disableColumnFixed) {
|
|
17931
|
+
return null;
|
|
17932
|
+
}
|
|
18133
17933
|
return /*#__PURE__*/React$1.createElement("span", {
|
|
18134
17934
|
onClick: function onClick() {
|
|
18135
17935
|
var sortDataSource = _this.state.sortDataSource;
|
|
@@ -19379,7 +19179,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
|
19379
19179
|
}, /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps)));
|
|
19380
19180
|
};
|
|
19381
19181
|
var BsSulaQueryTable = (function (props) {
|
|
19382
|
-
var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _value$exportConfig6;
|
|
19182
|
+
var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _props$tableProps, _value$exportConfig6;
|
|
19383
19183
|
var bsTableCode = (props === null || props === void 0 ? void 0 : props.tableCode) || window.location.hash; //设置列字段的唯一标识
|
|
19384
19184
|
var rowsRef = useRef(null);
|
|
19385
19185
|
// 获取 table columns中所有的 key 防止有的地方是 dataindex
|
|
@@ -19457,38 +19257,38 @@ var BsSulaQueryTable = (function (props) {
|
|
|
19457
19257
|
};
|
|
19458
19258
|
var refs = useRef(null);
|
|
19459
19259
|
var _useState9 = useState(''),
|
|
19460
|
-
|
|
19461
|
-
pagePath =
|
|
19462
|
-
setPagePath =
|
|
19260
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
19261
|
+
pagePath = _useState0[0],
|
|
19262
|
+
setPagePath = _useState0[1];
|
|
19463
19263
|
var _useLocation = useLocation(),
|
|
19464
19264
|
pathname = _useLocation.pathname,
|
|
19465
19265
|
_useLocation$state = _useLocation.state,
|
|
19466
19266
|
state = _useLocation$state === void 0 ? {} : _useLocation$state;
|
|
19467
|
-
var
|
|
19468
|
-
|
|
19469
|
-
isFullScreen =
|
|
19470
|
-
setIsFnllScreen =
|
|
19267
|
+
var _useState1 = useState(false),
|
|
19268
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
19269
|
+
isFullScreen = _useState10[0],
|
|
19270
|
+
setIsFnllScreen = _useState10[1];
|
|
19471
19271
|
// @ts-nocheck
|
|
19472
19272
|
var value = props;
|
|
19473
19273
|
var _props$fields = props.fields,
|
|
19474
19274
|
fields = _props$fields === void 0 ? [] : _props$fields;
|
|
19475
|
-
var
|
|
19476
|
-
|
|
19477
|
-
showColumn =
|
|
19478
|
-
setShowColumns =
|
|
19275
|
+
var _useState11 = useState([]),
|
|
19276
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
19277
|
+
showColumn = _useState12[0],
|
|
19278
|
+
setShowColumns = _useState12[1]; // 列字段
|
|
19479
19279
|
var originSearchFields = getSettingFieldOrColumn(getConfigFromlocalstorage(ENUM$1.BROWSER_CACHE.SEARCH_FIELDS_CONDITION), fields, 'searchFields');
|
|
19480
|
-
var
|
|
19280
|
+
var _useState13 = useState(originSearchFields),
|
|
19281
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
19282
|
+
showSearchFields = _useState14[0],
|
|
19283
|
+
setShowSearchFields = _useState14[1]; //搜索项字段
|
|
19284
|
+
var _useState15 = useState([]),
|
|
19481
19285
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
19482
|
-
|
|
19483
|
-
|
|
19484
|
-
var _useState17 = useState(
|
|
19286
|
+
showExportColumn = _useState16[0],
|
|
19287
|
+
setShowExportColumns = _useState16[1]; // 导出列字段
|
|
19288
|
+
var _useState17 = useState(''),
|
|
19485
19289
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
19486
|
-
|
|
19487
|
-
|
|
19488
|
-
var _useState19 = useState(''),
|
|
19489
|
-
_useState20 = _slicedToArray(_useState19, 2),
|
|
19490
|
-
height = _useState20[0],
|
|
19491
|
-
setHeight = _useState20[1];
|
|
19290
|
+
height = _useState18[0],
|
|
19291
|
+
setHeight = _useState18[1];
|
|
19492
19292
|
var sortTableRef = useRef(null);
|
|
19493
19293
|
var searchTableRef = useRef(null);
|
|
19494
19294
|
var exportTableRef = useRef(null);
|
|
@@ -20040,6 +19840,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
20040
19840
|
id: "bs-sula-query-table"
|
|
20041
19841
|
}, /*#__PURE__*/React$1.createElement(MemoQueryTable, _objectSpread2({}, memoConfig)), /*#__PURE__*/React$1.createElement(SortableTable$1, {
|
|
20042
19842
|
ref: sortTableRef,
|
|
19843
|
+
disableColumnFixed: (_props$tableProps = props.tableProps) === null || _props$tableProps === void 0 ? void 0 : _props$tableProps.isVirtualTable,
|
|
20043
19844
|
setShowColumns: setResizeShowColumns,
|
|
20044
19845
|
showColumn: showColumn,
|
|
20045
19846
|
setInitialTableInfo: setInitialTableInfo,
|
|
@@ -20536,22 +20337,19 @@ function outLogin(_x) {
|
|
|
20536
20337
|
return _outLogin.apply(this, arguments);
|
|
20537
20338
|
}
|
|
20538
20339
|
function _outLogin() {
|
|
20539
|
-
_outLogin = _asyncToGenerator(/*#__PURE__*/
|
|
20340
|
+
_outLogin = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(params) {
|
|
20540
20341
|
var res;
|
|
20541
|
-
return
|
|
20542
|
-
while (1) switch (_context.
|
|
20342
|
+
return _regenerator().w(function (_context) {
|
|
20343
|
+
while (1) switch (_context.n) {
|
|
20543
20344
|
case 0:
|
|
20544
|
-
_context.
|
|
20345
|
+
_context.n = 1;
|
|
20545
20346
|
return requestUtil({
|
|
20546
20347
|
url: '/user/web/loginOut',
|
|
20547
20348
|
method: 'GET'
|
|
20548
20349
|
});
|
|
20549
|
-
case
|
|
20550
|
-
res = _context.
|
|
20551
|
-
return _context.
|
|
20552
|
-
case 4:
|
|
20553
|
-
case "end":
|
|
20554
|
-
return _context.stop();
|
|
20350
|
+
case 1:
|
|
20351
|
+
res = _context.v;
|
|
20352
|
+
return _context.a(2, res);
|
|
20555
20353
|
}
|
|
20556
20354
|
}, _callee);
|
|
20557
20355
|
}));
|
|
@@ -20678,20 +20476,20 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
|
|
|
20678
20476
|
});
|
|
20679
20477
|
};
|
|
20680
20478
|
var loginOut = /*#__PURE__*/function () {
|
|
20681
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/
|
|
20479
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
20682
20480
|
var sessionId;
|
|
20683
|
-
return
|
|
20684
|
-
while (1) switch (_context.
|
|
20481
|
+
return _regenerator().w(function (_context) {
|
|
20482
|
+
while (1) switch (_context.n) {
|
|
20685
20483
|
case 0:
|
|
20686
|
-
_context.
|
|
20484
|
+
_context.n = 1;
|
|
20687
20485
|
return getSessionId();
|
|
20688
|
-
case
|
|
20689
|
-
sessionId = _context.
|
|
20690
|
-
_context.
|
|
20486
|
+
case 1:
|
|
20487
|
+
sessionId = _context.v;
|
|
20488
|
+
_context.n = 2;
|
|
20691
20489
|
return outLogin({
|
|
20692
20490
|
sessionId: sessionId
|
|
20693
20491
|
});
|
|
20694
|
-
case
|
|
20492
|
+
case 2:
|
|
20695
20493
|
// @ts-ignore
|
|
20696
20494
|
if (BUILD_TYPE) {
|
|
20697
20495
|
message$1.success('退出登录成功');
|
|
@@ -20701,9 +20499,8 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
|
|
|
20701
20499
|
} else {
|
|
20702
20500
|
setLoginOutPath();
|
|
20703
20501
|
}
|
|
20704
|
-
case
|
|
20705
|
-
|
|
20706
|
-
return _context.stop();
|
|
20502
|
+
case 3:
|
|
20503
|
+
return _context.a(2);
|
|
20707
20504
|
}
|
|
20708
20505
|
}, _callee);
|
|
20709
20506
|
}));
|
|
@@ -20790,18 +20587,15 @@ function getStoreByName(_x) {
|
|
|
20790
20587
|
return _getStoreByName.apply(this, arguments);
|
|
20791
20588
|
}
|
|
20792
20589
|
function _getStoreByName() {
|
|
20793
|
-
_getStoreByName = _asyncToGenerator(/*#__PURE__*/
|
|
20794
|
-
return
|
|
20795
|
-
while (1) switch (_context.
|
|
20590
|
+
_getStoreByName = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(params) {
|
|
20591
|
+
return _regenerator().w(function (_context) {
|
|
20592
|
+
while (1) switch (_context.n) {
|
|
20796
20593
|
case 0:
|
|
20797
|
-
return _context.
|
|
20594
|
+
return _context.a(2, requestUtil({
|
|
20798
20595
|
url: '/store-house/orgViewNode/listNoPage',
|
|
20799
20596
|
method: 'GET',
|
|
20800
20597
|
params: _objectSpread2({}, params)
|
|
20801
20598
|
}));
|
|
20802
|
-
case 1:
|
|
20803
|
-
case "end":
|
|
20804
|
-
return _context.stop();
|
|
20805
20599
|
}
|
|
20806
20600
|
}, _callee);
|
|
20807
20601
|
}));
|
|
@@ -20836,33 +20630,33 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
20836
20630
|
openSelect = _useState8[0],
|
|
20837
20631
|
setOpenSelect = _useState8[1];
|
|
20838
20632
|
var _useState9 = useState([]),
|
|
20839
|
-
|
|
20840
|
-
options =
|
|
20841
|
-
setOptions =
|
|
20842
|
-
var
|
|
20633
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
20634
|
+
options = _useState0[0],
|
|
20635
|
+
setOptions = _useState0[1];
|
|
20636
|
+
var _useState1 = useState([]),
|
|
20637
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
20638
|
+
rescouse = _useState10[0],
|
|
20639
|
+
setRescouse = _useState10[1];
|
|
20640
|
+
var _useState11 = useState(''),
|
|
20843
20641
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
20844
|
-
|
|
20845
|
-
|
|
20846
|
-
var _useState13 = useState(
|
|
20847
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
20848
|
-
searchValue = _useState14[0],
|
|
20849
|
-
setSearchValue = _useState14[1];
|
|
20850
|
-
var _useState15 = useState([{
|
|
20642
|
+
searchValue = _useState12[0],
|
|
20643
|
+
setSearchValue = _useState12[1];
|
|
20644
|
+
var _useState13 = useState([{
|
|
20851
20645
|
label: name,
|
|
20852
20646
|
value: code
|
|
20853
20647
|
}]),
|
|
20854
|
-
|
|
20855
|
-
store =
|
|
20856
|
-
setStore =
|
|
20648
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
20649
|
+
store = _useState14[0],
|
|
20650
|
+
setStore = _useState14[1];
|
|
20857
20651
|
function fetchUserList(_x, _x2) {
|
|
20858
20652
|
return _fetchUserList.apply(this, arguments);
|
|
20859
20653
|
}
|
|
20860
20654
|
function _fetchUserList() {
|
|
20861
|
-
_fetchUserList = _asyncToGenerator(/*#__PURE__*/
|
|
20862
|
-
return
|
|
20863
|
-
while (1) switch (_context3.
|
|
20655
|
+
_fetchUserList = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(storeName, init) {
|
|
20656
|
+
return _regenerator().w(function (_context3) {
|
|
20657
|
+
while (1) switch (_context3.n) {
|
|
20864
20658
|
case 0:
|
|
20865
|
-
return _context3.
|
|
20659
|
+
return _context3.a(2, getStoreByName({
|
|
20866
20660
|
orgName: storeName ? storeName : undefined,
|
|
20867
20661
|
platCompanyCode: init ? undefined : key,
|
|
20868
20662
|
'qp-employeeCode-eq': employeeCode || 'EMP231011000002',
|
|
@@ -20881,9 +20675,6 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
20881
20675
|
};
|
|
20882
20676
|
});
|
|
20883
20677
|
}));
|
|
20884
|
-
case 1:
|
|
20885
|
-
case "end":
|
|
20886
|
-
return _context3.stop();
|
|
20887
20678
|
}
|
|
20888
20679
|
}, _callee3);
|
|
20889
20680
|
}));
|
|
@@ -20906,20 +20697,19 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
20906
20697
|
return debounce$1(loadOptions, debounceTimeout);
|
|
20907
20698
|
}, [debounceTimeout, key]);
|
|
20908
20699
|
var changeInput = /*#__PURE__*/function () {
|
|
20909
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/
|
|
20700
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(str) {
|
|
20910
20701
|
var res;
|
|
20911
|
-
return
|
|
20912
|
-
while (1) switch (_context.
|
|
20702
|
+
return _regenerator().w(function (_context) {
|
|
20703
|
+
while (1) switch (_context.n) {
|
|
20913
20704
|
case 0:
|
|
20914
|
-
_context.
|
|
20705
|
+
_context.n = 1;
|
|
20915
20706
|
return debounceFetcher(str);
|
|
20916
|
-
case
|
|
20917
|
-
res = _context.
|
|
20707
|
+
case 1:
|
|
20708
|
+
res = _context.v;
|
|
20918
20709
|
setOptions(res);
|
|
20919
20710
|
setRescouse(res);
|
|
20920
|
-
case
|
|
20921
|
-
|
|
20922
|
-
return _context.stop();
|
|
20711
|
+
case 2:
|
|
20712
|
+
return _context.a(2);
|
|
20923
20713
|
}
|
|
20924
20714
|
}, _callee);
|
|
20925
20715
|
}));
|
|
@@ -20928,15 +20718,15 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
20928
20718
|
};
|
|
20929
20719
|
}();
|
|
20930
20720
|
useEffect(function () {
|
|
20931
|
-
_asyncToGenerator(/*#__PURE__*/
|
|
20721
|
+
_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
20932
20722
|
var res;
|
|
20933
|
-
return
|
|
20934
|
-
while (1) switch (_context2.
|
|
20723
|
+
return _regenerator().w(function (_context2) {
|
|
20724
|
+
while (1) switch (_context2.n) {
|
|
20935
20725
|
case 0:
|
|
20936
|
-
_context2.
|
|
20726
|
+
_context2.n = 1;
|
|
20937
20727
|
return fetchUserList(undefined, true);
|
|
20938
|
-
case
|
|
20939
|
-
res = _context2.
|
|
20728
|
+
case 1:
|
|
20729
|
+
res = _context2.v;
|
|
20940
20730
|
res.map(function (item, indexNumber) {
|
|
20941
20731
|
if (item.label === name) {
|
|
20942
20732
|
setIndex(indexNumber);
|
|
@@ -20952,9 +20742,8 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
20952
20742
|
});
|
|
20953
20743
|
setOptions(res);
|
|
20954
20744
|
setRescouse(res);
|
|
20955
|
-
case
|
|
20956
|
-
|
|
20957
|
-
return _context2.stop();
|
|
20745
|
+
case 2:
|
|
20746
|
+
return _context2.a(2);
|
|
20958
20747
|
}
|
|
20959
20748
|
}, _callee2);
|
|
20960
20749
|
}))();
|
|
@@ -22003,25 +21792,25 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
22003
21792
|
currentOneLevel = _useState8[0],
|
|
22004
21793
|
setCurrentOneLevel = _useState8[1];
|
|
22005
21794
|
var _useState9 = useState([]),
|
|
22006
|
-
|
|
22007
|
-
SearhData =
|
|
22008
|
-
setSearchMenuData =
|
|
22009
|
-
var
|
|
21795
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
21796
|
+
SearhData = _useState0[0],
|
|
21797
|
+
setSearchMenuData = _useState0[1];
|
|
21798
|
+
var _useState1 = useState(600),
|
|
21799
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
21800
|
+
rightMenuHeight = _useState10[0],
|
|
21801
|
+
setHeight = _useState10[1];
|
|
21802
|
+
var _useState11 = useState(900),
|
|
22010
21803
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
22011
|
-
|
|
22012
|
-
|
|
22013
|
-
var _useState13 = useState(
|
|
21804
|
+
drawHeight = _useState12[0],
|
|
21805
|
+
setDrawHeight = _useState12[1];
|
|
21806
|
+
var _useState13 = useState(false),
|
|
22014
21807
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
22015
|
-
|
|
22016
|
-
|
|
21808
|
+
moreBtnShow = _useState14[0],
|
|
21809
|
+
setMoreBtnShow = _useState14[1];
|
|
22017
21810
|
var _useState15 = useState(false),
|
|
22018
21811
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
22019
|
-
|
|
22020
|
-
|
|
22021
|
-
var _useState17 = useState(false),
|
|
22022
|
-
_useState18 = _slicedToArray(_useState17, 2),
|
|
22023
|
-
showScroll = _useState18[0],
|
|
22024
|
-
setShowScroll = _useState18[1];
|
|
21812
|
+
showScroll = _useState16[0],
|
|
21813
|
+
setShowScroll = _useState16[1];
|
|
22025
21814
|
useEffect(function () {
|
|
22026
21815
|
var _originRoutes$find;
|
|
22027
21816
|
getMenuContentHeight();
|
|
@@ -23632,14 +23421,11 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
23632
23421
|
},
|
|
23633
23422
|
menu: {
|
|
23634
23423
|
request: function () {
|
|
23635
|
-
var _request = _asyncToGenerator(/*#__PURE__*/
|
|
23636
|
-
return
|
|
23637
|
-
while (1) switch (_context.
|
|
23424
|
+
var _request = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
23425
|
+
return _regenerator().w(function (_context) {
|
|
23426
|
+
while (1) switch (_context.n) {
|
|
23638
23427
|
case 0:
|
|
23639
|
-
return _context.
|
|
23640
|
-
case 1:
|
|
23641
|
-
case "end":
|
|
23642
|
-
return _context.stop();
|
|
23428
|
+
return _context.a(2, JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
|
|
23643
23429
|
}
|
|
23644
23430
|
}, _callee);
|
|
23645
23431
|
}));
|
|
@@ -24044,31 +23830,31 @@ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
24044
23830
|
multiTableData = _useState8[0],
|
|
24045
23831
|
setMmultiTableData = _useState8[1]; //多表头数据
|
|
24046
23832
|
var _useState9 = useState(10),
|
|
24047
|
-
|
|
24048
|
-
viewCount =
|
|
24049
|
-
setViewCount =
|
|
23833
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
23834
|
+
viewCount = _useState0[0],
|
|
23835
|
+
setViewCount = _useState0[1]; //虚拟表格每次渲染数量
|
|
24050
23836
|
var itemWidth = 100; // 表格每一项宽度
|
|
24051
|
-
var
|
|
24052
|
-
|
|
24053
|
-
realColHeaderWidth =
|
|
24054
|
-
setLeftWidth =
|
|
23837
|
+
var _useState1 = useState((props === null || props === void 0 ? void 0 : props.colHeaderWidth) || 400),
|
|
23838
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
23839
|
+
realColHeaderWidth = _useState10[0],
|
|
23840
|
+
setLeftWidth = _useState10[1];
|
|
24055
23841
|
var viewPort = useRef(null);
|
|
24056
23842
|
var topScrollBar = useRef(null);
|
|
24057
23843
|
var leftTableRef = useRef(null);
|
|
24058
23844
|
//起始渲染item
|
|
24059
|
-
var
|
|
24060
|
-
|
|
24061
|
-
startIndex =
|
|
24062
|
-
setStartIndex =
|
|
23845
|
+
var _useState11 = useState(0),
|
|
23846
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
23847
|
+
startIndex = _useState12[0],
|
|
23848
|
+
setStartIndex = _useState12[1];
|
|
24063
23849
|
//结束渲染item
|
|
24064
23850
|
var endIndex = useMemo(function () {
|
|
24065
23851
|
return startIndex + viewCount;
|
|
24066
23852
|
}, [startIndex, viewCount]);
|
|
24067
23853
|
//表格偏移量
|
|
24068
|
-
var
|
|
24069
|
-
|
|
24070
|
-
offsetWidth =
|
|
24071
|
-
setOffset =
|
|
23854
|
+
var _useState13 = useState(0),
|
|
23855
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
23856
|
+
offsetWidth = _useState14[0],
|
|
23857
|
+
setOffset = _useState14[1];
|
|
24072
23858
|
useEffect(function () {
|
|
24073
23859
|
setTimeout(function () {
|
|
24074
23860
|
var realLeftTableWidth = leftTableRef.current.clientWidth;
|
|
@@ -31372,11 +31158,11 @@ var valueType = {
|
|
|
31372
31158
|
};
|
|
31373
31159
|
|
|
31374
31160
|
var getDynamicDict = /*#__PURE__*/function () {
|
|
31375
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/
|
|
31376
|
-
return
|
|
31377
|
-
while (1) switch (_context.
|
|
31161
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(dictionaryCode) {
|
|
31162
|
+
return _regenerator().w(function (_context) {
|
|
31163
|
+
while (1) switch (_context.n) {
|
|
31378
31164
|
case 0:
|
|
31379
|
-
_context.
|
|
31165
|
+
_context.n = 1;
|
|
31380
31166
|
return request$2({
|
|
31381
31167
|
url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
|
|
31382
31168
|
converter: function converter(_ref2) {
|
|
@@ -31389,11 +31175,8 @@ var getDynamicDict = /*#__PURE__*/function () {
|
|
|
31389
31175
|
});
|
|
31390
31176
|
}
|
|
31391
31177
|
});
|
|
31392
|
-
case
|
|
31393
|
-
return _context.
|
|
31394
|
-
case 3:
|
|
31395
|
-
case "end":
|
|
31396
|
-
return _context.stop();
|
|
31178
|
+
case 1:
|
|
31179
|
+
return _context.a(2, _context.v);
|
|
31397
31180
|
}
|
|
31398
31181
|
}, _callee);
|
|
31399
31182
|
}));
|
|
@@ -31440,12 +31223,12 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
31440
31223
|
value: false
|
|
31441
31224
|
}];
|
|
31442
31225
|
var ref = useRef();
|
|
31443
|
-
useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/
|
|
31444
|
-
var _ref$current, source;
|
|
31445
|
-
return
|
|
31446
|
-
while (1) switch (_context.
|
|
31226
|
+
useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
31227
|
+
var _ref$current, source, _t, _t2;
|
|
31228
|
+
return _regenerator().w(function (_context) {
|
|
31229
|
+
while (1) switch (_context.n) {
|
|
31447
31230
|
case 0:
|
|
31448
|
-
_context.
|
|
31231
|
+
_context.n = 1;
|
|
31449
31232
|
return setIsShowAndType(function (prev) {
|
|
31450
31233
|
if (record.inputType === 20 || record.inputType === 30) {
|
|
31451
31234
|
return {
|
|
@@ -31456,40 +31239,39 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
31456
31239
|
}
|
|
31457
31240
|
return prev;
|
|
31458
31241
|
});
|
|
31459
|
-
case
|
|
31242
|
+
case 1:
|
|
31460
31243
|
if (!record.dictionaryCode) {
|
|
31461
|
-
_context.
|
|
31244
|
+
_context.n = 7;
|
|
31462
31245
|
break;
|
|
31463
31246
|
}
|
|
31464
31247
|
if (!(record.choiceType == 20)) {
|
|
31465
|
-
_context.
|
|
31248
|
+
_context.n = 2;
|
|
31466
31249
|
break;
|
|
31467
31250
|
}
|
|
31468
|
-
|
|
31469
|
-
_context.
|
|
31251
|
+
_t = getDictionarySource(record.dictionaryCode);
|
|
31252
|
+
_context.n = 6;
|
|
31470
31253
|
break;
|
|
31471
|
-
case
|
|
31254
|
+
case 2:
|
|
31472
31255
|
if (!(record.choiceType == 30)) {
|
|
31473
|
-
_context.
|
|
31256
|
+
_context.n = 4;
|
|
31474
31257
|
break;
|
|
31475
31258
|
}
|
|
31476
|
-
_context.
|
|
31259
|
+
_context.n = 3;
|
|
31477
31260
|
return getDynamicDict(record.dictionaryCode);
|
|
31478
|
-
case
|
|
31479
|
-
|
|
31480
|
-
_context.
|
|
31261
|
+
case 3:
|
|
31262
|
+
_t2 = _context.v;
|
|
31263
|
+
_context.n = 5;
|
|
31481
31264
|
break;
|
|
31482
|
-
case
|
|
31483
|
-
|
|
31484
|
-
case
|
|
31485
|
-
|
|
31486
|
-
case
|
|
31487
|
-
source =
|
|
31265
|
+
case 4:
|
|
31266
|
+
_t2 = [];
|
|
31267
|
+
case 5:
|
|
31268
|
+
_t = _t2;
|
|
31269
|
+
case 6:
|
|
31270
|
+
source = _t;
|
|
31488
31271
|
// @ts-ignore
|
|
31489
31272
|
ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.setFieldSource('defaultValue', source);
|
|
31490
|
-
case
|
|
31491
|
-
|
|
31492
|
-
return _context.stop();
|
|
31273
|
+
case 7:
|
|
31274
|
+
return _context.a(2);
|
|
31493
31275
|
}
|
|
31494
31276
|
}, _callee);
|
|
31495
31277
|
})));
|
|
@@ -31554,10 +31336,10 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
31554
31336
|
source: {
|
|
31555
31337
|
relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
|
|
31556
31338
|
type: function () {
|
|
31557
|
-
var _type = _asyncToGenerator(/*#__PURE__*/
|
|
31339
|
+
var _type = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(_ref3) {
|
|
31558
31340
|
var form, values, name, relates, source;
|
|
31559
|
-
return
|
|
31560
|
-
while (1) switch (_context2.
|
|
31341
|
+
return _regenerator().w(function (_context2) {
|
|
31342
|
+
while (1) switch (_context2.n) {
|
|
31561
31343
|
case 0:
|
|
31562
31344
|
form = _ref3.form, values = _ref3.values, name = _ref3.name, relates = _ref3.relates;
|
|
31563
31345
|
if (values[0]) {
|
|
@@ -31566,19 +31348,18 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
31566
31348
|
form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], getDictionarySource(values[0]));
|
|
31567
31349
|
}
|
|
31568
31350
|
if (!values[1]) {
|
|
31569
|
-
_context2.
|
|
31351
|
+
_context2.n = 2;
|
|
31570
31352
|
break;
|
|
31571
31353
|
}
|
|
31572
|
-
_context2.
|
|
31354
|
+
_context2.n = 1;
|
|
31573
31355
|
return getDynamicDict(record.dictionaryCode || values[1]);
|
|
31574
|
-
case
|
|
31575
|
-
source = _context2.
|
|
31356
|
+
case 1:
|
|
31357
|
+
source = _context2.v;
|
|
31576
31358
|
form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
|
|
31577
31359
|
form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
|
|
31578
31360
|
form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], source);
|
|
31579
|
-
case
|
|
31580
|
-
|
|
31581
|
-
return _context2.stop();
|
|
31361
|
+
case 2:
|
|
31362
|
+
return _context2.a(2);
|
|
31582
31363
|
}
|
|
31583
31364
|
}, _callee2);
|
|
31584
31365
|
}));
|
|
@@ -32034,25 +31815,25 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
32034
31815
|
source: {
|
|
32035
31816
|
relates: ['choiceType', 'inputType'],
|
|
32036
31817
|
type: function () {
|
|
32037
|
-
var _type2 = _asyncToGenerator(/*#__PURE__*/
|
|
31818
|
+
var _type2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(_ref0) {
|
|
32038
31819
|
var values, name, form, source;
|
|
32039
|
-
return
|
|
32040
|
-
while (1) switch (_context3.
|
|
31820
|
+
return _regenerator().w(function (_context3) {
|
|
31821
|
+
while (1) switch (_context3.n) {
|
|
32041
31822
|
case 0:
|
|
32042
|
-
values =
|
|
31823
|
+
values = _ref0.values, name = _ref0.name, form = _ref0.form;
|
|
32043
31824
|
if (values[1] === 40) {
|
|
32044
31825
|
form === null || form === void 0 ? void 0 : form.setFieldValue(name, null);
|
|
32045
31826
|
form.setFieldVisible(name, false);
|
|
32046
31827
|
}
|
|
32047
31828
|
if (!(values[0] === 30)) {
|
|
32048
|
-
_context3.
|
|
31829
|
+
_context3.n = 2;
|
|
32049
31830
|
break;
|
|
32050
31831
|
}
|
|
32051
|
-
_context3.
|
|
31832
|
+
_context3.n = 1;
|
|
32052
31833
|
return request$2({
|
|
32053
31834
|
url: '/basic/dictDynamicItem/queryList',
|
|
32054
|
-
converter: function converter(
|
|
32055
|
-
var data =
|
|
31835
|
+
converter: function converter(_ref1) {
|
|
31836
|
+
var data = _ref1.data;
|
|
32056
31837
|
return data === null || data === void 0 ? void 0 : data.map(function (d) {
|
|
32057
31838
|
return {
|
|
32058
31839
|
text: d.dictCode,
|
|
@@ -32061,17 +31842,16 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
32061
31842
|
});
|
|
32062
31843
|
}
|
|
32063
31844
|
});
|
|
32064
|
-
case
|
|
32065
|
-
source = _context3.
|
|
31845
|
+
case 1:
|
|
31846
|
+
source = _context3.v;
|
|
32066
31847
|
form === null || form === void 0 ? void 0 : form.setFieldSource(name, source);
|
|
32067
31848
|
form.setFieldVisible(name, true);
|
|
32068
|
-
_context3.
|
|
31849
|
+
_context3.n = 3;
|
|
32069
31850
|
break;
|
|
32070
|
-
case
|
|
31851
|
+
case 2:
|
|
32071
31852
|
form.setFieldVisible(name, false);
|
|
32072
|
-
case
|
|
32073
|
-
|
|
32074
|
-
return _context3.stop();
|
|
31853
|
+
case 3:
|
|
31854
|
+
return _context3.a(2);
|
|
32075
31855
|
}
|
|
32076
31856
|
}, _callee3);
|
|
32077
31857
|
}));
|
|
@@ -32086,8 +31866,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
32086
31866
|
name: 'enumeration',
|
|
32087
31867
|
label: '维护自定义选项',
|
|
32088
31868
|
field: {
|
|
32089
|
-
type: function type(
|
|
32090
|
-
var form =
|
|
31869
|
+
type: function type(_ref10) {
|
|
31870
|
+
var form = _ref10.form;
|
|
32091
31871
|
return /*#__PURE__*/React$1.createElement(Button, {
|
|
32092
31872
|
type: 'link',
|
|
32093
31873
|
onClick: function onClick() {
|
|
@@ -32113,10 +31893,10 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
32113
31893
|
dependency: {
|
|
32114
31894
|
source: {
|
|
32115
31895
|
relates: ['choiceType'],
|
|
32116
|
-
type: function type(
|
|
32117
|
-
var values =
|
|
32118
|
-
name =
|
|
32119
|
-
form =
|
|
31896
|
+
type: function type(_ref11) {
|
|
31897
|
+
var values = _ref11.values,
|
|
31898
|
+
name = _ref11.name,
|
|
31899
|
+
form = _ref11.form;
|
|
32120
31900
|
if (values[0] === 10) {
|
|
32121
31901
|
form.setFieldVisible(name, true);
|
|
32122
31902
|
} else {
|
|
@@ -32132,10 +31912,10 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
32132
31912
|
dependency: {
|
|
32133
31913
|
visible: {
|
|
32134
31914
|
relates: ['choiceType'],
|
|
32135
|
-
type: function type(
|
|
32136
|
-
var name =
|
|
32137
|
-
values =
|
|
32138
|
-
form =
|
|
31915
|
+
type: function type(_ref12) {
|
|
31916
|
+
var name = _ref12.name,
|
|
31917
|
+
values = _ref12.values,
|
|
31918
|
+
form = _ref12.form;
|
|
32139
31919
|
if (values[0] == 330) {
|
|
32140
31920
|
form.setFieldVisible(name, true);
|
|
32141
31921
|
} else {
|
|
@@ -32159,8 +31939,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
32159
31939
|
params: {
|
|
32160
31940
|
'qp-businessType-eq': record.businessType
|
|
32161
31941
|
},
|
|
32162
|
-
converter: function converter(
|
|
32163
|
-
var data =
|
|
31942
|
+
converter: function converter(_ref13) {
|
|
31943
|
+
var data = _ref13.data;
|
|
32164
31944
|
return (data === null || data === void 0 ? void 0 : data.map(function (d) {
|
|
32165
31945
|
return {
|
|
32166
31946
|
text: d.name,
|
|
@@ -32200,8 +31980,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
32200
31980
|
'qp-businessType-eq': record.businessType,
|
|
32201
31981
|
'qp-status-eq': 1
|
|
32202
31982
|
},
|
|
32203
|
-
converter: function converter(
|
|
32204
|
-
var data =
|
|
31983
|
+
converter: function converter(_ref14) {
|
|
31984
|
+
var data = _ref14.data;
|
|
32205
31985
|
return (data === null || data === void 0 ? void 0 : data.map(function (d) {
|
|
32206
31986
|
var _d$code;
|
|
32207
31987
|
return {
|
|
@@ -32229,8 +32009,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
32229
32009
|
remoteSource: {
|
|
32230
32010
|
url: lineDetail.moduleType == 1 ? "/basic/planModelField/listNoPage?qp-modelCode-eq=".concat(lineDetail === null || lineDetail === void 0 ? void 0 : lineDetail.moduleRelationId) : "/basic/flow/businessField/metaFieldMapping?metaEntityCode=".concat(lineDetail === null || lineDetail === void 0 ? void 0 : lineDetail.moduleRelationId, "&fieldMapping=").concat(record === null || record === void 0 ? void 0 : record.fieldMapping),
|
|
32231
32011
|
method: 'get',
|
|
32232
|
-
converter: function converter(
|
|
32233
|
-
var data =
|
|
32012
|
+
converter: function converter(_ref15) {
|
|
32013
|
+
var data = _ref15.data;
|
|
32234
32014
|
if (lineDetail.moduleType == 1) {
|
|
32235
32015
|
return (data === null || data === void 0 ? void 0 : data.map(function (d) {
|
|
32236
32016
|
return {
|
|
@@ -32256,16 +32036,16 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
32256
32036
|
width: 900,
|
|
32257
32037
|
maskClosable: false,
|
|
32258
32038
|
onOk: function () {
|
|
32259
|
-
var _onOk = _asyncToGenerator(/*#__PURE__*/
|
|
32039
|
+
var _onOk = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4() {
|
|
32260
32040
|
var _ref$current4, _res$editableStatus;
|
|
32261
32041
|
var res, _res$defaultValue;
|
|
32262
|
-
return
|
|
32263
|
-
while (1) switch (_context4.
|
|
32042
|
+
return _regenerator().w(function (_context4) {
|
|
32043
|
+
while (1) switch (_context4.n) {
|
|
32264
32044
|
case 0:
|
|
32265
|
-
_context4.
|
|
32045
|
+
_context4.n = 1;
|
|
32266
32046
|
return ref === null || ref === void 0 ? void 0 : (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.validateFields();
|
|
32267
|
-
case
|
|
32268
|
-
res = _context4.
|
|
32047
|
+
case 1:
|
|
32048
|
+
res = _context4.v;
|
|
32269
32049
|
res.editableStatus = (_res$editableStatus = res.editableStatus) === null || _res$editableStatus === void 0 ? void 0 : _res$editableStatus.join(',');
|
|
32270
32050
|
res.fieldGroup = record.fieldGroup;
|
|
32271
32051
|
res.businessType = record.businessType;
|
|
@@ -32292,7 +32072,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
32292
32072
|
delete res.formula;
|
|
32293
32073
|
delete res.showValue;
|
|
32294
32074
|
if (!(mode === 'create')) {
|
|
32295
|
-
_context4.
|
|
32075
|
+
_context4.n = 2;
|
|
32296
32076
|
break;
|
|
32297
32077
|
}
|
|
32298
32078
|
request$2({
|
|
@@ -32304,8 +32084,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
32304
32084
|
onParentOk();
|
|
32305
32085
|
}
|
|
32306
32086
|
});
|
|
32307
|
-
return _context4.
|
|
32308
|
-
case
|
|
32087
|
+
return _context4.a(2);
|
|
32088
|
+
case 2:
|
|
32309
32089
|
request$2({
|
|
32310
32090
|
url: "/basic/flow/businessField/".concat(record.id),
|
|
32311
32091
|
method: 'PATCH',
|
|
@@ -32315,9 +32095,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
32315
32095
|
onParentOk();
|
|
32316
32096
|
}
|
|
32317
32097
|
});
|
|
32318
|
-
case
|
|
32319
|
-
|
|
32320
|
-
return _context4.stop();
|
|
32098
|
+
case 3:
|
|
32099
|
+
return _context4.a(2);
|
|
32321
32100
|
}
|
|
32322
32101
|
}, _callee4);
|
|
32323
32102
|
}));
|
|
@@ -32773,21 +32552,21 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
32773
32552
|
jsonEditorVal = _useState8[0],
|
|
32774
32553
|
setJsonEditorVal = _useState8[1];
|
|
32775
32554
|
var _useState9 = useState({}),
|
|
32776
|
-
|
|
32777
|
-
moduleParams =
|
|
32778
|
-
setModuleParams =
|
|
32779
|
-
var
|
|
32555
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
32556
|
+
moduleParams = _useState0[0],
|
|
32557
|
+
setModuleParams = _useState0[1];
|
|
32558
|
+
var _useState1 = useState('main'),
|
|
32559
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
32560
|
+
activeKey = _useState10[0],
|
|
32561
|
+
setActiveKey = _useState10[1]; //默认详情页配置
|
|
32562
|
+
var _useState11 = useState({}),
|
|
32780
32563
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
32781
|
-
|
|
32782
|
-
|
|
32783
|
-
var _useState13 = useState(
|
|
32564
|
+
tablesConfigParams = _useState12[0],
|
|
32565
|
+
setTablesConfigParams = _useState12[1];
|
|
32566
|
+
var _useState13 = useState([]),
|
|
32784
32567
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
32785
|
-
|
|
32786
|
-
|
|
32787
|
-
var _useState15 = useState([]),
|
|
32788
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
32789
|
-
tableJsonEditorValsArr = _useState16[0],
|
|
32790
|
-
setTableJsonEditorValsArr = _useState16[1];
|
|
32568
|
+
tableJsonEditorValsArr = _useState14[0],
|
|
32569
|
+
setTableJsonEditorValsArr = _useState14[1];
|
|
32791
32570
|
useEffect(function () {
|
|
32792
32571
|
Promise.all([requestUtil.get("/basic/flow/businessFieldGroup/one?moduleType=2&layoutPoint=".concat(pageType))]).then(function (_ref2) {
|
|
32793
32572
|
var _ref3 = _slicedToArray(_ref2, 1),
|
|
@@ -33163,11 +32942,11 @@ function getMetaData(_x) {
|
|
|
33163
32942
|
|
|
33164
32943
|
// 获取数据
|
|
33165
32944
|
function _getMetaData() {
|
|
33166
|
-
_getMetaData = _asyncToGenerator(/*#__PURE__*/
|
|
33167
|
-
return
|
|
33168
|
-
while (1) switch (_context.
|
|
32945
|
+
_getMetaData = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(id) {
|
|
32946
|
+
return _regenerator().w(function (_context) {
|
|
32947
|
+
while (1) switch (_context.n) {
|
|
33169
32948
|
case 0:
|
|
33170
|
-
return _context.
|
|
32949
|
+
return _context.a(2, new Promise(function (resolve, reject) {
|
|
33171
32950
|
request$3('/basic/entityProperty/listNoPage', {
|
|
33172
32951
|
params: {
|
|
33173
32952
|
'qp-entityId-eq': id
|
|
@@ -33179,9 +32958,6 @@ function _getMetaData() {
|
|
|
33179
32958
|
reject([]);
|
|
33180
32959
|
});
|
|
33181
32960
|
}));
|
|
33182
|
-
case 1:
|
|
33183
|
-
case "end":
|
|
33184
|
-
return _context.stop();
|
|
33185
32961
|
}
|
|
33186
32962
|
}, _callee);
|
|
33187
32963
|
}));
|
|
@@ -33385,11 +33161,11 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
33385
33161
|
tableState = _useState4[0],
|
|
33386
33162
|
setTableState = _useState4[1];
|
|
33387
33163
|
var handleOpen = /*#__PURE__*/function () {
|
|
33388
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/
|
|
33164
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
33389
33165
|
var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
|
|
33390
33166
|
var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
|
|
33391
|
-
return
|
|
33392
|
-
while (1) switch (_context.
|
|
33167
|
+
return _regenerator().w(function (_context) {
|
|
33168
|
+
while (1) switch (_context.n) {
|
|
33393
33169
|
case 0:
|
|
33394
33170
|
requestConfigNew = assembleRequest(props.customSelectorConfig, {
|
|
33395
33171
|
isSearchForm: props.isSearchForm,
|
|
@@ -33397,16 +33173,16 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
33397
33173
|
searchFormData: searchFormData
|
|
33398
33174
|
});
|
|
33399
33175
|
if (requestConfigNew) {
|
|
33400
|
-
_context.
|
|
33176
|
+
_context.n = 1;
|
|
33401
33177
|
break;
|
|
33402
33178
|
}
|
|
33403
|
-
return _context.
|
|
33404
|
-
case
|
|
33179
|
+
return _context.a(2);
|
|
33180
|
+
case 1:
|
|
33405
33181
|
metaDataId = (_props$customSelector = props.customSelectorConfig) === null || _props$customSelector === void 0 ? void 0 : (_props$customSelector2 = _props$customSelector.targetMetaData) === null || _props$customSelector2 === void 0 ? void 0 : _props$customSelector2.id;
|
|
33406
|
-
_context.
|
|
33182
|
+
_context.n = 2;
|
|
33407
33183
|
return getMetaData(metaDataId);
|
|
33408
|
-
case
|
|
33409
|
-
metaData = _context.
|
|
33184
|
+
case 2:
|
|
33185
|
+
metaData = _context.v;
|
|
33410
33186
|
realMetaData = (metaData === null || metaData === void 0 ? void 0 : metaData.filter(function (item) {
|
|
33411
33187
|
return (item === null || item === void 0 ? void 0 : item.inputType) != 1;
|
|
33412
33188
|
})) || [];
|
|
@@ -33446,9 +33222,8 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
33446
33222
|
// @ts-ignore
|
|
33447
33223
|
queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren = queryTableRef.current) === null || _queryTableRef$curren === void 0 ? void 0 : (_queryTableRef$curren2 = _queryTableRef$curren.tableRef) === null || _queryTableRef$curren2 === void 0 ? void 0 : (_queryTableRef$curren3 = _queryTableRef$curren2.current) === null || _queryTableRef$curren3 === void 0 ? void 0 : _queryTableRef$curren3.bsSetSelectInfo(initValue);
|
|
33448
33224
|
}
|
|
33449
|
-
case
|
|
33450
|
-
|
|
33451
|
-
return _context.stop();
|
|
33225
|
+
case 3:
|
|
33226
|
+
return _context.a(2);
|
|
33452
33227
|
}
|
|
33453
33228
|
}, _callee);
|
|
33454
33229
|
}));
|
|
@@ -33551,7 +33326,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
33551
33326
|
}, [requestConfig, tableState.columns]);
|
|
33552
33327
|
var rowKey = (_ref3 = (_fieldMappingItem$cod = fieldMappingItem === null || fieldMappingItem === void 0 ? void 0 : fieldMappingItem.codeMappingFrom) !== null && _fieldMappingItem$cod !== void 0 ? _fieldMappingItem$cod : 'id') !== null && _ref3 !== void 0 ? _ref3 : 'code';
|
|
33553
33328
|
var handleOk = function handleOk(rowData) {
|
|
33554
|
-
var _props$selectProps2, _props$customSelector6, _props$customSelector7, _queryTableRef$
|
|
33329
|
+
var _props$selectProps2, _props$customSelector6, _props$customSelector7, _queryTableRef$curren11, _queryTableRef$curren12, _queryTableRef$curren13;
|
|
33555
33330
|
var setSource = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
33556
33331
|
//多选数据处理
|
|
33557
33332
|
if (props === null || props === void 0 ? void 0 : (_props$selectProps2 = props.selectProps) === null || _props$selectProps2 === void 0 ? void 0 : _props$selectProps2.multipleForQuery) {
|
|
@@ -33562,9 +33337,9 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
33562
33337
|
var selectedRows = (queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren7 = queryTableRef.current) === null || _queryTableRef$curren7 === void 0 ? void 0 : (_queryTableRef$curren8 = _queryTableRef$curren7.tableRef) === null || _queryTableRef$curren8 === void 0 ? void 0 : (_queryTableRef$curren9 = _queryTableRef$curren8.current) === null || _queryTableRef$curren9 === void 0 ? void 0 : _queryTableRef$curren9.getSelectedRows()) || [];
|
|
33563
33338
|
var realSelectedRows = selectedRows;
|
|
33564
33339
|
if (!rowData && (selectedKesys === null || selectedKesys === void 0 ? void 0 : selectedKesys.length) !== (selectedRows === null || selectedRows === void 0 ? void 0 : selectedRows.length)) {
|
|
33565
|
-
var _queryTableRef$
|
|
33340
|
+
var _queryTableRef$curren0, _queryTableRef$curren1, _queryTableRef$curren10;
|
|
33566
33341
|
// @ts-ignore
|
|
33567
|
-
var dataSource = (queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$
|
|
33342
|
+
var dataSource = (queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren0 = queryTableRef.current) === null || _queryTableRef$curren0 === void 0 ? void 0 : (_queryTableRef$curren1 = _queryTableRef$curren0.tableRef) === null || _queryTableRef$curren1 === void 0 ? void 0 : (_queryTableRef$curren10 = _queryTableRef$curren1.current) === null || _queryTableRef$curren10 === void 0 ? void 0 : _queryTableRef$curren10.getDataSource()) || [];
|
|
33568
33343
|
realSelectedRows = dataSource === null || dataSource === void 0 ? void 0 : dataSource.filter(function (s) {
|
|
33569
33344
|
return selectedKesys.includes(s[rowKey]);
|
|
33570
33345
|
});
|
|
@@ -33597,10 +33372,10 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
33597
33372
|
});
|
|
33598
33373
|
}
|
|
33599
33374
|
mappings.map(function (item) {
|
|
33600
|
-
var _props$
|
|
33601
|
-
if (((_props$
|
|
33602
|
-
var _props$
|
|
33603
|
-
values["".concat(item.codeMappingTo, "Name")] = rowData[(_props$
|
|
33375
|
+
var _props$customSelector0, _props$customSelector1, _props$customSelector10, _props$customSelector11;
|
|
33376
|
+
if (((_props$customSelector0 = props.customSelectorConfig) === null || _props$customSelector0 === void 0 ? void 0 : (_props$customSelector1 = _props$customSelector0.extraData) === null || _props$customSelector1 === void 0 ? void 0 : _props$customSelector1.echoLabel) && item.codeMappingTo === prop && rowData[(_props$customSelector10 = props.customSelectorConfig) === null || _props$customSelector10 === void 0 ? void 0 : (_props$customSelector11 = _props$customSelector10.extraData) === null || _props$customSelector11 === void 0 ? void 0 : _props$customSelector11.echoLabel]) {
|
|
33377
|
+
var _props$customSelector12, _props$customSelector13;
|
|
33378
|
+
values["".concat(item.codeMappingTo, "Name")] = rowData[(_props$customSelector12 = props.customSelectorConfig) === null || _props$customSelector12 === void 0 ? void 0 : (_props$customSelector13 = _props$customSelector12.extraData) === null || _props$customSelector13 === void 0 ? void 0 : _props$customSelector13.echoLabel];
|
|
33604
33379
|
}
|
|
33605
33380
|
values[item.codeMappingTo] = rowData[item.codeMappingFrom];
|
|
33606
33381
|
});
|
|
@@ -33655,10 +33430,10 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
33655
33430
|
}
|
|
33656
33431
|
props.onCancel();
|
|
33657
33432
|
//@ts-ignore
|
|
33658
|
-
queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$
|
|
33433
|
+
queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren11 = queryTableRef.current) === null || _queryTableRef$curren11 === void 0 ? void 0 : (_queryTableRef$curren12 = _queryTableRef$curren11.tableRef) === null || _queryTableRef$curren12 === void 0 ? void 0 : (_queryTableRef$curren13 = _queryTableRef$curren12.current) === null || _queryTableRef$curren13 === void 0 ? void 0 : _queryTableRef$curren13.clearRowSelection();
|
|
33659
33434
|
};
|
|
33660
33435
|
var config = useMemo(function () {
|
|
33661
|
-
var _props$selectProps3, _props$ctx9, _props$value2, _props$
|
|
33436
|
+
var _props$selectProps3, _props$ctx9, _props$value2, _props$ctx0, _props$ctx0$form;
|
|
33662
33437
|
var returnConfig = {
|
|
33663
33438
|
size: 'small',
|
|
33664
33439
|
needPageHeader: false,
|
|
@@ -33667,7 +33442,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
33667
33442
|
rowSelection: (props === null || props === void 0 ? void 0 : (_props$selectProps3 = props.selectProps) === null || _props$selectProps3 === void 0 ? void 0 : _props$selectProps3.multipleForQuery) && !isView ? {
|
|
33668
33443
|
selectedRowKeys: !(props === null || props === void 0 ? void 0 : (_props$ctx9 = props.ctx) === null || _props$ctx9 === void 0 ? void 0 : _props$ctx9.form) && (props === null || props === void 0 ? void 0 : (_props$value2 = props.value) === null || _props$value2 === void 0 ? void 0 : _props$value2.map(function (v) {
|
|
33669
33444
|
return v.key || v;
|
|
33670
|
-
})) || (props === null || props === void 0 ? void 0 : (_props$
|
|
33445
|
+
})) || (props === null || props === void 0 ? void 0 : (_props$ctx0 = props.ctx) === null || _props$ctx0 === void 0 ? void 0 : (_props$ctx0$form = _props$ctx0.form) === null || _props$ctx0$form === void 0 ? void 0 : _props$ctx0$form.getFieldValue(props.id))
|
|
33671
33446
|
} : false,
|
|
33672
33447
|
remoteDataSource: remoteDataSource,
|
|
33673
33448
|
fields: tableState.fields,
|
|
@@ -33675,8 +33450,8 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
33675
33450
|
rowKey: rowKey,
|
|
33676
33451
|
tableProps: !isView && {
|
|
33677
33452
|
rowClassName: function rowClassName(record) {
|
|
33678
|
-
var _props$
|
|
33679
|
-
return record[rowKey] == (!(props === null || props === void 0 ? void 0 : (_props$
|
|
33453
|
+
var _props$ctx1, _props$value3, _props$ctx10, _props$ctx10$form;
|
|
33454
|
+
return record[rowKey] == (!(props === null || props === void 0 ? void 0 : (_props$ctx1 = props.ctx) === null || _props$ctx1 === void 0 ? void 0 : _props$ctx1.form) && ((props === null || props === void 0 ? void 0 : (_props$value3 = props.value) === null || _props$value3 === void 0 ? void 0 : _props$value3.key) || (props === null || props === void 0 ? void 0 : props.value)) || (props === null || props === void 0 ? void 0 : (_props$ctx10 = props.ctx) === null || _props$ctx10 === void 0 ? void 0 : (_props$ctx10$form = _props$ctx10.form) === null || _props$ctx10$form === void 0 ? void 0 : _props$ctx10$form.getFieldValue(props.id))) ? 'tableSelectedRow' : '';
|
|
33680
33455
|
},
|
|
33681
33456
|
onRow: function onRow(record) {
|
|
33682
33457
|
return {
|
|
@@ -33721,10 +33496,10 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
33721
33496
|
}, "\u63D0\u4EA4"), /*#__PURE__*/React$1.createElement(Button, {
|
|
33722
33497
|
type: "default",
|
|
33723
33498
|
onClick: function onClick() {
|
|
33724
|
-
var _queryTableRef$
|
|
33499
|
+
var _queryTableRef$curren14, _queryTableRef$curren15, _queryTableRef$curren16;
|
|
33725
33500
|
props.onCancel();
|
|
33726
33501
|
//@ts-ignore
|
|
33727
|
-
queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$
|
|
33502
|
+
queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren14 = queryTableRef.current) === null || _queryTableRef$curren14 === void 0 ? void 0 : (_queryTableRef$curren15 = _queryTableRef$curren14.tableRef) === null || _queryTableRef$curren15 === void 0 ? void 0 : (_queryTableRef$curren16 = _queryTableRef$curren15.current) === null || _queryTableRef$curren16 === void 0 ? void 0 : _queryTableRef$curren16.clearRowSelection();
|
|
33728
33503
|
}
|
|
33729
33504
|
}, "\u53D6\u6D88"))));
|
|
33730
33505
|
});
|
|
@@ -33948,19 +33723,19 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
33948
33723
|
_useState2 = _slicedToArray(_useState, 2),
|
|
33949
33724
|
handSource = _useState2[0],
|
|
33950
33725
|
setHandSource = _useState2[1];
|
|
33951
|
-
useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/
|
|
33726
|
+
useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
33952
33727
|
var resData, data;
|
|
33953
|
-
return
|
|
33954
|
-
while (1) switch (_context.
|
|
33728
|
+
return _regenerator().w(function (_context) {
|
|
33729
|
+
while (1) switch (_context.n) {
|
|
33955
33730
|
case 0:
|
|
33956
33731
|
if (!(!source && initRequestSource)) {
|
|
33957
|
-
_context.
|
|
33732
|
+
_context.n = 2;
|
|
33958
33733
|
break;
|
|
33959
33734
|
}
|
|
33960
|
-
_context.
|
|
33735
|
+
_context.n = 1;
|
|
33961
33736
|
return initRequestSource();
|
|
33962
|
-
case
|
|
33963
|
-
resData = _context.
|
|
33737
|
+
case 1:
|
|
33738
|
+
resData = _context.v;
|
|
33964
33739
|
data = (resData === null || resData === void 0 ? void 0 : resData.map(function (item) {
|
|
33965
33740
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
33966
33741
|
label: item.text,
|
|
@@ -33968,9 +33743,8 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
33968
33743
|
});
|
|
33969
33744
|
})) || [];
|
|
33970
33745
|
setHandSource(data);
|
|
33971
|
-
case
|
|
33972
|
-
|
|
33973
|
-
return _context.stop();
|
|
33746
|
+
case 2:
|
|
33747
|
+
return _context.a(2);
|
|
33974
33748
|
}
|
|
33975
33749
|
}, _callee);
|
|
33976
33750
|
})), []);
|
|
@@ -34100,20 +33874,17 @@ function getRegularThresholdRange(_x) {
|
|
|
34100
33874
|
return _getRegularThresholdRange.apply(this, arguments);
|
|
34101
33875
|
}
|
|
34102
33876
|
function _getRegularThresholdRange() {
|
|
34103
|
-
_getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/
|
|
34104
|
-
return
|
|
34105
|
-
while (1) switch (_context.
|
|
33877
|
+
_getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(params) {
|
|
33878
|
+
return _regenerator().w(function (_context) {
|
|
33879
|
+
while (1) switch (_context.n) {
|
|
34106
33880
|
case 0:
|
|
34107
|
-
return _context.
|
|
33881
|
+
return _context.a(2, requestUtil({
|
|
34108
33882
|
url: "/basic/regularThresholdRange/getVals/".concat(params.queryIdentify),
|
|
34109
33883
|
method: 'POST',
|
|
34110
33884
|
data: _objectSpread2(_objectSpread2({}, params), {}, {
|
|
34111
33885
|
queryIdentify: undefined
|
|
34112
33886
|
})
|
|
34113
33887
|
}));
|
|
34114
|
-
case 1:
|
|
34115
|
-
case "end":
|
|
34116
|
-
return _context.stop();
|
|
34117
33888
|
}
|
|
34118
33889
|
}, _callee);
|
|
34119
33890
|
}));
|
|
@@ -34254,24 +34025,24 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34254
34025
|
};
|
|
34255
34026
|
//规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
|
|
34256
34027
|
_this.getRegularThresholdRange = /*#__PURE__*/function () {
|
|
34257
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/
|
|
34028
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
|
|
34258
34029
|
var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
|
|
34259
|
-
return
|
|
34260
|
-
while (1) switch (_context.
|
|
34030
|
+
return _regenerator().w(function (_context) {
|
|
34031
|
+
while (1) switch (_context.n) {
|
|
34261
34032
|
case 0:
|
|
34262
34033
|
if (queryIdentify) {
|
|
34263
|
-
_context.
|
|
34034
|
+
_context.n = 1;
|
|
34264
34035
|
break;
|
|
34265
34036
|
}
|
|
34266
|
-
return _context.
|
|
34267
|
-
case
|
|
34037
|
+
return _context.a(2);
|
|
34038
|
+
case 1:
|
|
34268
34039
|
thresholdQuery = _this.state.thresholdQuery;
|
|
34269
34040
|
extraRequestUrl = '';
|
|
34270
34041
|
querParams = setParams(propertyCode, thresholdQuery);
|
|
34271
34042
|
if (!queryIdentityInfo.find(function (item) {
|
|
34272
34043
|
return item.identity == propertyCode;
|
|
34273
34044
|
})) {
|
|
34274
|
-
_context.
|
|
34045
|
+
_context.n = 3;
|
|
34275
34046
|
break;
|
|
34276
34047
|
}
|
|
34277
34048
|
//判断查询属性枚举时有没有必传参数,如果必传参数没有值则不调用查询接口
|
|
@@ -34285,15 +34056,15 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34285
34056
|
if (!needQueryList.some(function (item) {
|
|
34286
34057
|
return !querParams[item] || !querParams[item].length;
|
|
34287
34058
|
})) {
|
|
34288
|
-
_context.
|
|
34059
|
+
_context.n = 2;
|
|
34289
34060
|
break;
|
|
34290
34061
|
}
|
|
34291
|
-
return _context.
|
|
34292
|
-
case
|
|
34062
|
+
return _context.a(2);
|
|
34063
|
+
case 2:
|
|
34293
34064
|
extraRequestUrl = queryIdentityInfo.find(function (item) {
|
|
34294
34065
|
return item.identity == propertyCode;
|
|
34295
34066
|
}).requestUrl || '';
|
|
34296
|
-
case
|
|
34067
|
+
case 3:
|
|
34297
34068
|
if (queryIdentifyType === 'dictCodeIdentify') {
|
|
34298
34069
|
extraRequestUrl = "bscDictItem/selectDictItemsByDictCode"; // 字典接口
|
|
34299
34070
|
querParams = {
|
|
@@ -34304,7 +34075,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34304
34075
|
// querParams = { dictCode: queryIdentify }
|
|
34305
34076
|
}
|
|
34306
34077
|
if (!extraRequestUrl) {
|
|
34307
|
-
_context.
|
|
34078
|
+
_context.n = 4;
|
|
34308
34079
|
break;
|
|
34309
34080
|
}
|
|
34310
34081
|
if (queryIdentify == 'maintain_area_code') {
|
|
@@ -34343,43 +34114,42 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34343
34114
|
return handleData;
|
|
34344
34115
|
}
|
|
34345
34116
|
});
|
|
34346
|
-
_context.
|
|
34117
|
+
_context.n = 8;
|
|
34347
34118
|
break;
|
|
34348
|
-
case
|
|
34119
|
+
case 4:
|
|
34349
34120
|
if (!(queryIdentifyType == 'objectPropertyListIdentify')) {
|
|
34350
|
-
_context.
|
|
34121
|
+
_context.n = 5;
|
|
34351
34122
|
break;
|
|
34352
34123
|
}
|
|
34353
34124
|
_this.setState({
|
|
34354
34125
|
thresholdList: queryIdentify
|
|
34355
34126
|
});
|
|
34356
|
-
_context.
|
|
34127
|
+
_context.n = 8;
|
|
34357
34128
|
break;
|
|
34358
|
-
case
|
|
34129
|
+
case 5:
|
|
34359
34130
|
if (!(queryIdentifyType == 'objectPropertyCodeIdentify')) {
|
|
34360
|
-
_context.
|
|
34131
|
+
_context.n = 6;
|
|
34361
34132
|
break;
|
|
34362
34133
|
}
|
|
34363
34134
|
// TODO待处理
|
|
34364
34135
|
_this.setState({
|
|
34365
34136
|
thresholdList: []
|
|
34366
34137
|
});
|
|
34367
|
-
_context.
|
|
34138
|
+
_context.n = 8;
|
|
34368
34139
|
break;
|
|
34369
|
-
case
|
|
34140
|
+
case 6:
|
|
34370
34141
|
querParams.queryIdentify = queryIdentify;
|
|
34371
|
-
_context.
|
|
34142
|
+
_context.n = 7;
|
|
34372
34143
|
return getRegularThresholdRange(querParams);
|
|
34373
|
-
case
|
|
34374
|
-
res = _context.
|
|
34144
|
+
case 7:
|
|
34145
|
+
res = _context.v;
|
|
34375
34146
|
if (handleError(res)) {
|
|
34376
34147
|
_this.setState({
|
|
34377
34148
|
thresholdList: (res === null || res === void 0 ? void 0 : res.data) || []
|
|
34378
34149
|
});
|
|
34379
34150
|
}
|
|
34380
|
-
case
|
|
34381
|
-
|
|
34382
|
-
return _context.stop();
|
|
34151
|
+
case 8:
|
|
34152
|
+
return _context.a(2);
|
|
34383
34153
|
}
|
|
34384
34154
|
}, _callee);
|
|
34385
34155
|
}));
|
|
@@ -35211,11 +34981,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
35211
34981
|
isAll: true,
|
|
35212
34982
|
needNameAndCode: true,
|
|
35213
34983
|
notChangeOnSelect: true,
|
|
35214
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/
|
|
35215
|
-
return
|
|
35216
|
-
while (1) switch (_context2.
|
|
34984
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
34985
|
+
return _regenerator().w(function (_context2) {
|
|
34986
|
+
while (1) switch (_context2.n) {
|
|
35217
34987
|
case 0:
|
|
35218
|
-
_context2.
|
|
34988
|
+
_context2.n = 1;
|
|
35219
34989
|
return request$2({
|
|
35220
34990
|
url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
|
|
35221
34991
|
method: 'get',
|
|
@@ -35232,11 +35002,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
35232
35002
|
return handleData;
|
|
35233
35003
|
}
|
|
35234
35004
|
});
|
|
35235
|
-
case
|
|
35236
|
-
return _context2.
|
|
35237
|
-
case 3:
|
|
35238
|
-
case "end":
|
|
35239
|
-
return _context2.stop();
|
|
35005
|
+
case 1:
|
|
35006
|
+
return _context2.a(2, _context2.v);
|
|
35240
35007
|
}
|
|
35241
35008
|
}, _callee2);
|
|
35242
35009
|
})),
|
|
@@ -35260,11 +35027,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
35260
35027
|
isAll: true,
|
|
35261
35028
|
needNameAndCode: true,
|
|
35262
35029
|
notChangeOnSelect: true,
|
|
35263
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/
|
|
35264
|
-
return
|
|
35265
|
-
while (1) switch (_context3.
|
|
35030
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() {
|
|
35031
|
+
return _regenerator().w(function (_context3) {
|
|
35032
|
+
while (1) switch (_context3.n) {
|
|
35266
35033
|
case 0:
|
|
35267
|
-
_context3.
|
|
35034
|
+
_context3.n = 1;
|
|
35268
35035
|
return request$2({
|
|
35269
35036
|
url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
|
|
35270
35037
|
method: 'get',
|
|
@@ -35281,11 +35048,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
35281
35048
|
return handleData;
|
|
35282
35049
|
}
|
|
35283
35050
|
});
|
|
35284
|
-
case
|
|
35285
|
-
return _context3.
|
|
35286
|
-
case 3:
|
|
35287
|
-
case "end":
|
|
35288
|
-
return _context3.stop();
|
|
35051
|
+
case 1:
|
|
35052
|
+
return _context3.a(2, _context3.v);
|
|
35289
35053
|
}
|
|
35290
35054
|
}, _callee3);
|
|
35291
35055
|
})),
|
|
@@ -35311,11 +35075,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
35311
35075
|
isAll: true,
|
|
35312
35076
|
needNameAndCode: true,
|
|
35313
35077
|
notChangeOnSelect: true,
|
|
35314
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/
|
|
35315
|
-
return
|
|
35316
|
-
while (1) switch (_context4.
|
|
35078
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4() {
|
|
35079
|
+
return _regenerator().w(function (_context4) {
|
|
35080
|
+
while (1) switch (_context4.n) {
|
|
35317
35081
|
case 0:
|
|
35318
|
-
_context4.
|
|
35082
|
+
_context4.n = 1;
|
|
35319
35083
|
return request$2({
|
|
35320
35084
|
url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
|
|
35321
35085
|
method: 'get',
|
|
@@ -35332,11 +35096,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
35332
35096
|
return handleData;
|
|
35333
35097
|
}
|
|
35334
35098
|
});
|
|
35335
|
-
case
|
|
35336
|
-
return _context4.
|
|
35337
|
-
case 3:
|
|
35338
|
-
case "end":
|
|
35339
|
-
return _context4.stop();
|
|
35099
|
+
case 1:
|
|
35100
|
+
return _context4.a(2, _context4.v);
|
|
35340
35101
|
}
|
|
35341
35102
|
}, _callee4);
|
|
35342
35103
|
})),
|
|
@@ -36023,8 +35784,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36023
35784
|
}
|
|
36024
35785
|
}));
|
|
36025
35786
|
} else {
|
|
36026
|
-
var
|
|
36027
|
-
var _currentValue9 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((
|
|
35787
|
+
var _values0;
|
|
35788
|
+
var _currentValue9 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values0 = values) === null || _values0 === void 0 ? void 0 : _values0.map(function (s, vIndex) {
|
|
36028
35789
|
return {
|
|
36029
35790
|
key: s,
|
|
36030
35791
|
label: valueNames[vIndex],
|
|
@@ -36302,8 +36063,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36302
36063
|
}
|
|
36303
36064
|
}));
|
|
36304
36065
|
} else {
|
|
36305
|
-
var
|
|
36306
|
-
var
|
|
36066
|
+
var _values1;
|
|
36067
|
+
var _currentValue0 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values1 = values) === null || _values1 === void 0 ? void 0 : _values1.map(function (s, vIndex) {
|
|
36307
36068
|
return {
|
|
36308
36069
|
key: s,
|
|
36309
36070
|
label: valueNames[vIndex],
|
|
@@ -36325,7 +36086,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36325
36086
|
} : {}),
|
|
36326
36087
|
disabled: disabled,
|
|
36327
36088
|
labelInValue: true,
|
|
36328
|
-
value:
|
|
36089
|
+
value: _currentValue0,
|
|
36329
36090
|
requestConfig: {
|
|
36330
36091
|
filterInit: 'qp-code-in'
|
|
36331
36092
|
},
|
|
@@ -36418,8 +36179,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36418
36179
|
}
|
|
36419
36180
|
}));
|
|
36420
36181
|
} else {
|
|
36421
|
-
var
|
|
36422
|
-
var
|
|
36182
|
+
var _values10;
|
|
36183
|
+
var _currentValue1 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
|
|
36423
36184
|
return {
|
|
36424
36185
|
key: s,
|
|
36425
36186
|
label: valueNames[vIndex],
|
|
@@ -36441,7 +36202,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36441
36202
|
} : {}),
|
|
36442
36203
|
disabled: disabled,
|
|
36443
36204
|
labelInValue: true,
|
|
36444
|
-
value:
|
|
36205
|
+
value: _currentValue1,
|
|
36445
36206
|
requestConfig: {
|
|
36446
36207
|
filterInit: 'qp-code-in'
|
|
36447
36208
|
},
|
|
@@ -36534,8 +36295,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36534
36295
|
}
|
|
36535
36296
|
}));
|
|
36536
36297
|
} else {
|
|
36537
|
-
var
|
|
36538
|
-
var
|
|
36298
|
+
var _values11;
|
|
36299
|
+
var _currentValue10 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
|
|
36539
36300
|
return {
|
|
36540
36301
|
key: s,
|
|
36541
36302
|
label: valueNames[vIndex],
|
|
@@ -36557,7 +36318,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36557
36318
|
} : {}),
|
|
36558
36319
|
disabled: disabled,
|
|
36559
36320
|
labelInValue: true,
|
|
36560
|
-
value:
|
|
36321
|
+
value: _currentValue10,
|
|
36561
36322
|
requestConfig: {
|
|
36562
36323
|
filterInit: 'qp-brandCode-in'
|
|
36563
36324
|
},
|
|
@@ -36748,8 +36509,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36748
36509
|
}
|
|
36749
36510
|
}));
|
|
36750
36511
|
} else {
|
|
36751
|
-
var
|
|
36752
|
-
var
|
|
36512
|
+
var _values12;
|
|
36513
|
+
var _currentValue11 = dataInputBusinessType === 12 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
|
|
36753
36514
|
return {
|
|
36754
36515
|
key: s,
|
|
36755
36516
|
label: valueNames[vIndex]
|
|
@@ -36777,7 +36538,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36777
36538
|
isSearchForm: true,
|
|
36778
36539
|
customSelectorConfig: (others === null || others === void 0 ? void 0 : others.customSelectorConfig) || {},
|
|
36779
36540
|
disabled: disabled,
|
|
36780
|
-
value:
|
|
36541
|
+
value: _currentValue11,
|
|
36781
36542
|
onChange: function onChange(value, sourceList) {
|
|
36782
36543
|
if (dataInputBusinessType === 12) {
|
|
36783
36544
|
var _value$map3, _sourceList$filter3;
|
|
@@ -37097,9 +36858,9 @@ var App$1 = function App(_ref) {
|
|
|
37097
36858
|
UpdateState(res);
|
|
37098
36859
|
};
|
|
37099
36860
|
var _useState9 = useState(false),
|
|
37100
|
-
|
|
37101
|
-
isModalVisible =
|
|
37102
|
-
setIsModalVisible =
|
|
36861
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
36862
|
+
isModalVisible = _useState0[0],
|
|
36863
|
+
setIsModalVisible = _useState0[1];
|
|
37103
36864
|
var showModal = function showModal() {
|
|
37104
36865
|
setIsModalVisible(true);
|
|
37105
36866
|
};
|
|
@@ -37580,27 +37341,26 @@ function RenderCompItem(props) {
|
|
|
37580
37341
|
dictData = _useState2[0],
|
|
37581
37342
|
setDictData = _useState2[1];
|
|
37582
37343
|
var getDictData = /*#__PURE__*/function () {
|
|
37583
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/
|
|
37344
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
37584
37345
|
var _data$map;
|
|
37585
37346
|
var data;
|
|
37586
|
-
return
|
|
37587
|
-
while (1) switch (_context.
|
|
37347
|
+
return _regenerator().w(function (_context) {
|
|
37348
|
+
while (1) switch (_context.n) {
|
|
37588
37349
|
case 0:
|
|
37589
|
-
_context.
|
|
37350
|
+
_context.n = 1;
|
|
37590
37351
|
return request$2({
|
|
37591
37352
|
url: "/basic/bscDictItem/allItemList?qp-code-eq=".concat(ites.dictionaryCode)
|
|
37592
37353
|
});
|
|
37593
|
-
case
|
|
37594
|
-
data = _context.
|
|
37354
|
+
case 1:
|
|
37355
|
+
data = _context.v;
|
|
37595
37356
|
setDictData(data === null || data === void 0 ? void 0 : (_data$map = data.map) === null || _data$map === void 0 ? void 0 : _data$map.call(data, function (item) {
|
|
37596
37357
|
return {
|
|
37597
37358
|
text: item.dictItemName,
|
|
37598
37359
|
value: item.dictItemCode
|
|
37599
37360
|
};
|
|
37600
37361
|
}));
|
|
37601
|
-
case
|
|
37602
|
-
|
|
37603
|
-
return _context.stop();
|
|
37362
|
+
case 2:
|
|
37363
|
+
return _context.a(2);
|
|
37604
37364
|
}
|
|
37605
37365
|
}, _callee);
|
|
37606
37366
|
}));
|
|
@@ -37841,11 +37601,11 @@ function RenderCompItem(props) {
|
|
|
37841
37601
|
needNameAndCode: true,
|
|
37842
37602
|
notChangeOnSelect: true,
|
|
37843
37603
|
initRequestSource: function () {
|
|
37844
|
-
var _initRequestSource = _asyncToGenerator(/*#__PURE__*/
|
|
37845
|
-
return
|
|
37846
|
-
while (1) switch (_context2.
|
|
37604
|
+
var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
37605
|
+
return _regenerator().w(function (_context2) {
|
|
37606
|
+
while (1) switch (_context2.n) {
|
|
37847
37607
|
case 0:
|
|
37848
|
-
_context2.
|
|
37608
|
+
_context2.n = 1;
|
|
37849
37609
|
return request$2({
|
|
37850
37610
|
url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
|
|
37851
37611
|
method: 'get',
|
|
@@ -37863,11 +37623,8 @@ function RenderCompItem(props) {
|
|
|
37863
37623
|
return handleData;
|
|
37864
37624
|
}
|
|
37865
37625
|
});
|
|
37866
|
-
case
|
|
37867
|
-
return _context2.
|
|
37868
|
-
case 3:
|
|
37869
|
-
case "end":
|
|
37870
|
-
return _context2.stop();
|
|
37626
|
+
case 1:
|
|
37627
|
+
return _context2.a(2, _context2.v);
|
|
37871
37628
|
}
|
|
37872
37629
|
}, _callee2);
|
|
37873
37630
|
}));
|
|
@@ -39918,13 +39675,13 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
39918
39675
|
ruleTypeData = _useState8[0],
|
|
39919
39676
|
setRuleTypeData = _useState8[1];
|
|
39920
39677
|
var _useState9 = useState([]),
|
|
39921
|
-
|
|
39922
|
-
ruleReturnConfig =
|
|
39923
|
-
setRuleReturnConfig =
|
|
39924
|
-
var
|
|
39925
|
-
|
|
39926
|
-
templateData =
|
|
39927
|
-
setTemplateData =
|
|
39678
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
39679
|
+
ruleReturnConfig = _useState0[0],
|
|
39680
|
+
setRuleReturnConfig = _useState0[1];
|
|
39681
|
+
var _useState1 = useState({}),
|
|
39682
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
39683
|
+
templateData = _useState10[0],
|
|
39684
|
+
setTemplateData = _useState10[1];
|
|
39928
39685
|
var loadRuleReturnConfig = function loadRuleReturnConfig(currentSceneId) {
|
|
39929
39686
|
request$2({
|
|
39930
39687
|
url: "/basic/ruleTemplate/".concat(currentSceneId),
|
|
@@ -40260,25 +40017,25 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
40260
40017
|
regularDataList = _useState8[0],
|
|
40261
40018
|
setRegularDataList = _useState8[1];
|
|
40262
40019
|
var _useState9 = useState([]),
|
|
40263
|
-
|
|
40264
|
-
baseRuleDetailList =
|
|
40265
|
-
setBaseRuleDetailList =
|
|
40266
|
-
var
|
|
40020
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
40021
|
+
baseRuleDetailList = _useState0[0],
|
|
40022
|
+
setBaseRuleDetailList = _useState0[1]; // 规则实例详情集合
|
|
40023
|
+
var _useState1 = useState([]),
|
|
40024
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
40025
|
+
systemVariableList = _useState10[0],
|
|
40026
|
+
setSystemVariableList = _useState10[1];
|
|
40027
|
+
var _useState11 = useState(false),
|
|
40267
40028
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
40268
|
-
|
|
40269
|
-
|
|
40029
|
+
isGetDefRuleDataRes = _useState12[0],
|
|
40030
|
+
setIsGetDefRuleDataRes = _useState12[1]; // 为了在回显的时候辨别异步查询是否已完成,防止提前认为为新增设置了模板数据,导致再渲染编辑时候 输入框defaultValue不再渲染问题
|
|
40270
40031
|
var _useState13 = useState(false),
|
|
40271
40032
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
40272
|
-
|
|
40273
|
-
|
|
40033
|
+
isGetRuleDataRes = _useState14[0],
|
|
40034
|
+
setIsGetRuleDataRes = _useState14[1];
|
|
40274
40035
|
var _useState15 = useState(false),
|
|
40275
40036
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
40276
|
-
|
|
40277
|
-
|
|
40278
|
-
var _useState17 = useState(false),
|
|
40279
|
-
_useState18 = _slicedToArray(_useState17, 2),
|
|
40280
|
-
groupOtherPriorityList = _useState18[0],
|
|
40281
|
-
setGroupOtherPriorityList = _useState18[1];
|
|
40037
|
+
groupOtherPriorityList = _useState16[0],
|
|
40038
|
+
setGroupOtherPriorityList = _useState16[1];
|
|
40282
40039
|
var baseRuleRef = useRef();
|
|
40283
40040
|
var currentSceneName = (datail === null || datail === void 0 ? void 0 : datail.name) || '';
|
|
40284
40041
|
// 查询规则组下所有规则实例
|