@bit-sun/business-component 4.0.12-alpha.18 → 4.0.12-alpha.19
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/PropertyModal/index.d.ts +23 -0
- package/dist/components/Business/PropertyModal/mockData.d.ts +10 -0
- package/dist/components/Business/PropertyModal/propertyGroup.d.ts +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +979 -513
- package/dist/index.js +978 -511
- package/package.json +1 -1
- package/src/components/Business/PropertyModal/index.less +58 -0
- package/src/components/Business/PropertyModal/index.md +33 -0
- package/src/components/Business/PropertyModal/index.tsx +266 -0
- package/src/components/Business/PropertyModal/mockData.ts +160 -0
- package/src/components/Business/PropertyModal/propertyGroup.tsx +205 -0
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +4 -1
- package/src/components/Functional/SearchSelect/index.tsx +23 -6
- package/src/index.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -54,88 +54,9 @@ var serialize__default = /*#__PURE__*/_interopDefaultLegacy(serialize);
|
|
|
54
54
|
var castArray__default = /*#__PURE__*/_interopDefaultLegacy(castArray);
|
|
55
55
|
var isArray__default = /*#__PURE__*/_interopDefaultLegacy(isArray$1);
|
|
56
56
|
|
|
57
|
-
function _arrayLikeToArray(r, a) {
|
|
58
|
-
(null == a || a > r.length) && (a = r.length);
|
|
59
|
-
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
60
|
-
return n;
|
|
61
|
-
}
|
|
62
|
-
function _arrayWithHoles(r) {
|
|
63
|
-
if (Array.isArray(r)) return r;
|
|
64
|
-
}
|
|
65
|
-
function _arrayWithoutHoles(r) {
|
|
66
|
-
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
67
|
-
}
|
|
68
|
-
function _assertThisInitialized(e) {
|
|
69
|
-
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
70
|
-
return e;
|
|
71
|
-
}
|
|
72
|
-
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
73
|
-
try {
|
|
74
|
-
var i = n[a](c),
|
|
75
|
-
u = i.value;
|
|
76
|
-
} catch (n) {
|
|
77
|
-
return void e(n);
|
|
78
|
-
}
|
|
79
|
-
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
80
|
-
}
|
|
81
|
-
function _asyncToGenerator(n) {
|
|
82
|
-
return function () {
|
|
83
|
-
var t = this,
|
|
84
|
-
e = arguments;
|
|
85
|
-
return new Promise(function (r, o) {
|
|
86
|
-
var a = n.apply(t, e);
|
|
87
|
-
function _next(n) {
|
|
88
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
89
|
-
}
|
|
90
|
-
function _throw(n) {
|
|
91
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
92
|
-
}
|
|
93
|
-
_next(void 0);
|
|
94
|
-
});
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
57
|
function _callSuper(t, o, e) {
|
|
98
58
|
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
99
59
|
}
|
|
100
|
-
function _classCallCheck(a, n) {
|
|
101
|
-
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
102
|
-
}
|
|
103
|
-
function _defineProperties(e, r) {
|
|
104
|
-
for (var t = 0; t < r.length; t++) {
|
|
105
|
-
var o = r[t];
|
|
106
|
-
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
function _createClass(e, r, t) {
|
|
110
|
-
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
111
|
-
writable: !1
|
|
112
|
-
}), e;
|
|
113
|
-
}
|
|
114
|
-
function _defineProperty(e, r, t) {
|
|
115
|
-
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
116
|
-
value: t,
|
|
117
|
-
enumerable: !0,
|
|
118
|
-
configurable: !0,
|
|
119
|
-
writable: !0
|
|
120
|
-
}) : e[r] = t, e;
|
|
121
|
-
}
|
|
122
|
-
function _getPrototypeOf(t) {
|
|
123
|
-
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
124
|
-
return t.__proto__ || Object.getPrototypeOf(t);
|
|
125
|
-
}, _getPrototypeOf(t);
|
|
126
|
-
}
|
|
127
|
-
function _inherits(t, e) {
|
|
128
|
-
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
129
|
-
t.prototype = Object.create(e && e.prototype, {
|
|
130
|
-
constructor: {
|
|
131
|
-
value: t,
|
|
132
|
-
writable: !0,
|
|
133
|
-
configurable: !0
|
|
134
|
-
}
|
|
135
|
-
}), Object.defineProperty(t, "prototype", {
|
|
136
|
-
writable: !1
|
|
137
|
-
}), e && _setPrototypeOf(t, e);
|
|
138
|
-
}
|
|
139
60
|
function _isNativeReflectConstruct() {
|
|
140
61
|
try {
|
|
141
62
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
@@ -144,9 +65,6 @@ function _isNativeReflectConstruct() {
|
|
|
144
65
|
return !!t;
|
|
145
66
|
})();
|
|
146
67
|
}
|
|
147
|
-
function _iterableToArray(r) {
|
|
148
|
-
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
149
|
-
}
|
|
150
68
|
function _iterableToArrayLimit(r, l) {
|
|
151
69
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
152
70
|
if (null != t) {
|
|
@@ -174,15 +92,6 @@ function _iterableToArrayLimit(r, l) {
|
|
|
174
92
|
return a;
|
|
175
93
|
}
|
|
176
94
|
}
|
|
177
|
-
function _nonIterableRest() {
|
|
178
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
179
|
-
}
|
|
180
|
-
function _nonIterableSpread() {
|
|
181
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
182
|
-
}
|
|
183
|
-
function _objectDestructuringEmpty(t) {
|
|
184
|
-
if (null == t) throw new TypeError("Cannot destructure " + t);
|
|
185
|
-
}
|
|
186
95
|
function ownKeys(e, r) {
|
|
187
96
|
var t = Object.keys(e);
|
|
188
97
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -204,31 +113,6 @@ function _objectSpread2(e) {
|
|
|
204
113
|
}
|
|
205
114
|
return e;
|
|
206
115
|
}
|
|
207
|
-
function _objectWithoutProperties(e, t) {
|
|
208
|
-
if (null == e) return {};
|
|
209
|
-
var o,
|
|
210
|
-
r,
|
|
211
|
-
i = _objectWithoutPropertiesLoose(e, t);
|
|
212
|
-
if (Object.getOwnPropertySymbols) {
|
|
213
|
-
var s = Object.getOwnPropertySymbols(e);
|
|
214
|
-
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
215
|
-
}
|
|
216
|
-
return i;
|
|
217
|
-
}
|
|
218
|
-
function _objectWithoutPropertiesLoose(r, e) {
|
|
219
|
-
if (null == r) return {};
|
|
220
|
-
var t = {};
|
|
221
|
-
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
222
|
-
if (e.includes(n)) continue;
|
|
223
|
-
t[n] = r[n];
|
|
224
|
-
}
|
|
225
|
-
return t;
|
|
226
|
-
}
|
|
227
|
-
function _possibleConstructorReturn(t, e) {
|
|
228
|
-
if (e && ("object" == typeof e || "function" == typeof e)) return e;
|
|
229
|
-
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
230
|
-
return _assertThisInitialized(t);
|
|
231
|
-
}
|
|
232
116
|
function _regeneratorRuntime() {
|
|
233
117
|
_regeneratorRuntime = function () {
|
|
234
118
|
return e;
|
|
@@ -530,20 +414,6 @@ function _regeneratorRuntime() {
|
|
|
530
414
|
}
|
|
531
415
|
}, e;
|
|
532
416
|
}
|
|
533
|
-
function _setPrototypeOf(t, e) {
|
|
534
|
-
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
535
|
-
return t.__proto__ = e, t;
|
|
536
|
-
}, _setPrototypeOf(t, e);
|
|
537
|
-
}
|
|
538
|
-
function _slicedToArray(r, e) {
|
|
539
|
-
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
540
|
-
}
|
|
541
|
-
function _toArray(r) {
|
|
542
|
-
return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
|
|
543
|
-
}
|
|
544
|
-
function _toConsumableArray(r) {
|
|
545
|
-
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
546
|
-
}
|
|
547
417
|
function _toPrimitive(t, r) {
|
|
548
418
|
if ("object" != typeof t || !t) return t;
|
|
549
419
|
var e = t[Symbol.toPrimitive];
|
|
@@ -567,12 +437,180 @@ function _typeof(o) {
|
|
|
567
437
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
568
438
|
}, _typeof(o);
|
|
569
439
|
}
|
|
570
|
-
function
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
var
|
|
574
|
-
|
|
440
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
441
|
+
try {
|
|
442
|
+
var info = gen[key](arg);
|
|
443
|
+
var value = info.value;
|
|
444
|
+
} catch (error) {
|
|
445
|
+
reject(error);
|
|
446
|
+
return;
|
|
447
|
+
}
|
|
448
|
+
if (info.done) {
|
|
449
|
+
resolve(value);
|
|
450
|
+
} else {
|
|
451
|
+
Promise.resolve(value).then(_next, _throw);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
function _asyncToGenerator(fn) {
|
|
455
|
+
return function () {
|
|
456
|
+
var self = this,
|
|
457
|
+
args = arguments;
|
|
458
|
+
return new Promise(function (resolve, reject) {
|
|
459
|
+
var gen = fn.apply(self, args);
|
|
460
|
+
function _next(value) {
|
|
461
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
462
|
+
}
|
|
463
|
+
function _throw(err) {
|
|
464
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
465
|
+
}
|
|
466
|
+
_next(undefined);
|
|
467
|
+
});
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
function _classCallCheck(instance, Constructor) {
|
|
471
|
+
if (!(instance instanceof Constructor)) {
|
|
472
|
+
throw new TypeError("Cannot call a class as a function");
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
function _defineProperties(target, props) {
|
|
476
|
+
for (var i = 0; i < props.length; i++) {
|
|
477
|
+
var descriptor = props[i];
|
|
478
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
479
|
+
descriptor.configurable = true;
|
|
480
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
481
|
+
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
485
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
486
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
487
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
488
|
+
writable: false
|
|
489
|
+
});
|
|
490
|
+
return Constructor;
|
|
491
|
+
}
|
|
492
|
+
function _defineProperty(obj, key, value) {
|
|
493
|
+
key = _toPropertyKey(key);
|
|
494
|
+
if (key in obj) {
|
|
495
|
+
Object.defineProperty(obj, key, {
|
|
496
|
+
value: value,
|
|
497
|
+
enumerable: true,
|
|
498
|
+
configurable: true,
|
|
499
|
+
writable: true
|
|
500
|
+
});
|
|
501
|
+
} else {
|
|
502
|
+
obj[key] = value;
|
|
503
|
+
}
|
|
504
|
+
return obj;
|
|
505
|
+
}
|
|
506
|
+
function _inherits(subClass, superClass) {
|
|
507
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
508
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
509
|
+
}
|
|
510
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
511
|
+
constructor: {
|
|
512
|
+
value: subClass,
|
|
513
|
+
writable: true,
|
|
514
|
+
configurable: true
|
|
515
|
+
}
|
|
516
|
+
});
|
|
517
|
+
Object.defineProperty(subClass, "prototype", {
|
|
518
|
+
writable: false
|
|
519
|
+
});
|
|
520
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
521
|
+
}
|
|
522
|
+
function _getPrototypeOf(o) {
|
|
523
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
|
524
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
525
|
+
};
|
|
526
|
+
return _getPrototypeOf(o);
|
|
527
|
+
}
|
|
528
|
+
function _setPrototypeOf(o, p) {
|
|
529
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
530
|
+
o.__proto__ = p;
|
|
531
|
+
return o;
|
|
532
|
+
};
|
|
533
|
+
return _setPrototypeOf(o, p);
|
|
534
|
+
}
|
|
535
|
+
function _objectDestructuringEmpty(obj) {
|
|
536
|
+
if (obj == null) throw new TypeError("Cannot destructure " + obj);
|
|
537
|
+
}
|
|
538
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
539
|
+
if (source == null) return {};
|
|
540
|
+
var target = {};
|
|
541
|
+
for (var key in source) {
|
|
542
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
543
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
544
|
+
target[key] = source[key];
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
return target;
|
|
548
|
+
}
|
|
549
|
+
function _objectWithoutProperties(source, excluded) {
|
|
550
|
+
if (source == null) return {};
|
|
551
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
552
|
+
var key, i;
|
|
553
|
+
if (Object.getOwnPropertySymbols) {
|
|
554
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
555
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
556
|
+
key = sourceSymbolKeys[i];
|
|
557
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
558
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
559
|
+
target[key] = source[key];
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
return target;
|
|
563
|
+
}
|
|
564
|
+
function _assertThisInitialized(self) {
|
|
565
|
+
if (self === void 0) {
|
|
566
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
567
|
+
}
|
|
568
|
+
return self;
|
|
569
|
+
}
|
|
570
|
+
function _possibleConstructorReturn(self, call) {
|
|
571
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
572
|
+
return call;
|
|
573
|
+
} else if (call !== void 0) {
|
|
574
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
575
575
|
}
|
|
576
|
+
return _assertThisInitialized(self);
|
|
577
|
+
}
|
|
578
|
+
function _slicedToArray(arr, i) {
|
|
579
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
580
|
+
}
|
|
581
|
+
function _toArray(arr) {
|
|
582
|
+
return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
|
|
583
|
+
}
|
|
584
|
+
function _toConsumableArray(arr) {
|
|
585
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
586
|
+
}
|
|
587
|
+
function _arrayWithoutHoles(arr) {
|
|
588
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
589
|
+
}
|
|
590
|
+
function _arrayWithHoles(arr) {
|
|
591
|
+
if (Array.isArray(arr)) return arr;
|
|
592
|
+
}
|
|
593
|
+
function _iterableToArray(iter) {
|
|
594
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
595
|
+
}
|
|
596
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
597
|
+
if (!o) return;
|
|
598
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
599
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
600
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
601
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
602
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
603
|
+
}
|
|
604
|
+
function _arrayLikeToArray(arr, len) {
|
|
605
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
606
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
607
|
+
return arr2;
|
|
608
|
+
}
|
|
609
|
+
function _nonIterableSpread() {
|
|
610
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
611
|
+
}
|
|
612
|
+
function _nonIterableRest() {
|
|
613
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
576
614
|
}
|
|
577
615
|
|
|
578
616
|
var ENUM = {
|
|
@@ -1082,13 +1120,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
|
|
|
1082
1120
|
imgHtml.innerHTML = str;
|
|
1083
1121
|
}
|
|
1084
1122
|
// 测试使用 测试类型缩小 end
|
|
1085
|
-
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, url ? (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
1123
|
+
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, url ? ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
1086
1124
|
className: "clomnsImg"
|
|
1087
1125
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Image, _objectSpread2({
|
|
1088
1126
|
src: url,
|
|
1089
1127
|
width: "16px",
|
|
1090
1128
|
height: "16px"
|
|
1091
|
-
}, paramsObj)))) : (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
1129
|
+
}, paramsObj)))) : ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
1092
1130
|
className: "clomnsImg2"
|
|
1093
1131
|
}, /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
|
|
1094
1132
|
src: noImg
|
|
@@ -1227,7 +1265,7 @@ function downloadExcel(data, fileName, isResUrl) {
|
|
|
1227
1265
|
}
|
|
1228
1266
|
save_link.click();
|
|
1229
1267
|
}
|
|
1230
|
-
var
|
|
1268
|
+
var formatter = function formatter(data, parentAuthority, parentName) {
|
|
1231
1269
|
return data.map(function (item) {
|
|
1232
1270
|
if (!item.name || !item.path) {
|
|
1233
1271
|
return null;
|
|
@@ -1247,7 +1285,7 @@ var _formatter = function formatter(data, parentAuthority, parentName) {
|
|
|
1247
1285
|
authority: item.authority || parentAuthority
|
|
1248
1286
|
});
|
|
1249
1287
|
if (item.routes) {
|
|
1250
|
-
var children =
|
|
1288
|
+
var children = formatter(item.routes, item.authority, locale);
|
|
1251
1289
|
// Reduce memory usage
|
|
1252
1290
|
result.children = children;
|
|
1253
1291
|
}
|
|
@@ -1257,7 +1295,7 @@ var _formatter = function formatter(data, parentAuthority, parentName) {
|
|
|
1257
1295
|
return item;
|
|
1258
1296
|
});
|
|
1259
1297
|
};
|
|
1260
|
-
var memoizeOneFormatter = memoizeOne__default['default'](
|
|
1298
|
+
var memoizeOneFormatter = memoizeOne__default['default'](formatter, isEqual__default['default']);
|
|
1261
1299
|
var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
|
|
1262
1300
|
localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
|
|
1263
1301
|
if (backHistoryPath) {
|
|
@@ -1566,7 +1604,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
|
|
|
1566
1604
|
// sheepMap是表头字段中英文映射
|
|
1567
1605
|
// sheetCount:表的数量,默认一张
|
|
1568
1606
|
var resolveFile = /*#__PURE__*/function () {
|
|
1569
|
-
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
|
|
1607
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
|
|
1570
1608
|
var config,
|
|
1571
1609
|
data,
|
|
1572
1610
|
_args = arguments;
|
|
@@ -1605,7 +1643,7 @@ var resolveFile = /*#__PURE__*/function () {
|
|
|
1605
1643
|
}();
|
|
1606
1644
|
//读取文件
|
|
1607
1645
|
var readerXlsxToList = /*#__PURE__*/function () {
|
|
1608
|
-
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
|
|
1646
|
+
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
|
|
1609
1647
|
var _ref5, callback, sheetMap, nowFile, data2, data;
|
|
1610
1648
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
1611
1649
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -1698,14 +1736,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
|
|
|
1698
1736
|
/**---------------------数据写入excel-------结束------------------------*/
|
|
1699
1737
|
|
|
1700
1738
|
// 获取树平行结构
|
|
1701
|
-
var
|
|
1739
|
+
var coverToParallel = function coverToParallel(treeData, result, chilKey) {
|
|
1702
1740
|
var childrenKey = chilKey || 'children';
|
|
1703
1741
|
treeData.forEach(function (el) {
|
|
1704
1742
|
var _el$childrenKey;
|
|
1705
1743
|
result.push(el);
|
|
1706
1744
|
if ((el === null || el === void 0 ? void 0 : el[childrenKey]) && (el === null || el === void 0 ? void 0 : (_el$childrenKey = el[childrenKey]) === null || _el$childrenKey === void 0 ? void 0 : _el$childrenKey.length) > 0) {
|
|
1707
1745
|
// 子级递归
|
|
1708
|
-
|
|
1746
|
+
coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
|
|
1709
1747
|
}
|
|
1710
1748
|
});
|
|
1711
1749
|
return result;
|
|
@@ -1982,13 +2020,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
|
|
|
1982
2020
|
imgHtml.innerHTML = str;
|
|
1983
2021
|
}
|
|
1984
2022
|
// 测试使用 测试类型缩小 end
|
|
1985
|
-
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, url ? (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
2023
|
+
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, url ? ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
1986
2024
|
className: "clomnsImg"
|
|
1987
2025
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Image, _objectSpread2({
|
|
1988
2026
|
src: url,
|
|
1989
2027
|
width: "16px",
|
|
1990
2028
|
height: "16px"
|
|
1991
|
-
}, paramsObj)))) : (/*#__PURE__*/React__default['default'].createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
|
|
2029
|
+
}, paramsObj)))) : ( /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
|
|
1992
2030
|
src: noImg
|
|
1993
2031
|
}))));
|
|
1994
2032
|
};
|
|
@@ -2050,7 +2088,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
|
|
|
2050
2088
|
}
|
|
2051
2089
|
});
|
|
2052
2090
|
};
|
|
2053
|
-
var menu = /*#__PURE__*/React__default['default'].createElement(antd.Menu, null, /*#__PURE__*/React__default['default'].createElement(antd.Menu.Item, null, type === 'input' && (/*#__PURE__*/React__default['default'].createElement(antd.Input, _objectSpread2({
|
|
2091
|
+
var menu = /*#__PURE__*/React__default['default'].createElement(antd.Menu, null, /*#__PURE__*/React__default['default'].createElement(antd.Menu.Item, null, type === 'input' && ( /*#__PURE__*/React__default['default'].createElement(antd.Input, _objectSpread2({
|
|
2054
2092
|
disabled: disabled,
|
|
2055
2093
|
onChange: function onChange(e) {
|
|
2056
2094
|
var v = e.target.value;
|
|
@@ -2060,7 +2098,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
|
|
|
2060
2098
|
width: 170
|
|
2061
2099
|
},
|
|
2062
2100
|
value: inputValue
|
|
2063
|
-
}, inpProps))), type === 'number' && (/*#__PURE__*/React__default['default'].createElement(antd.InputNumber, _objectSpread2({
|
|
2101
|
+
}, inpProps))), type === 'number' && ( /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, _objectSpread2({
|
|
2064
2102
|
disabled: disabled,
|
|
2065
2103
|
onBlur: function onBlur(e) {
|
|
2066
2104
|
var v = parseFloat(e.target.value);
|
|
@@ -2439,16 +2477,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
|
|
|
2439
2477
|
var handleExportBarCode = handleExport;
|
|
2440
2478
|
var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
|
|
2441
2479
|
var routerMap = {};
|
|
2442
|
-
var
|
|
2480
|
+
var flattenMenuData = function flattenMenuData(data) {
|
|
2443
2481
|
data.forEach(function (menuItem) {
|
|
2444
2482
|
if (menuItem.children) {
|
|
2445
|
-
|
|
2483
|
+
flattenMenuData(menuItem.children);
|
|
2446
2484
|
}
|
|
2447
2485
|
// Reduce memory usage
|
|
2448
2486
|
routerMap[menuItem.path] = menuItem;
|
|
2449
2487
|
});
|
|
2450
2488
|
};
|
|
2451
|
-
|
|
2489
|
+
flattenMenuData(menuData);
|
|
2452
2490
|
return routerMap;
|
|
2453
2491
|
};
|
|
2454
2492
|
var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
|
|
@@ -2591,7 +2629,7 @@ var requestUtil = function requestUtil(_ref) {
|
|
|
2591
2629
|
return request__default['default'](url, parms).then(handleResponseData);
|
|
2592
2630
|
};
|
|
2593
2631
|
var handleResponseData = /*#__PURE__*/function () {
|
|
2594
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
|
|
2632
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
|
|
2595
2633
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
2596
2634
|
while (1) switch (_context.prev = _context.next) {
|
|
2597
2635
|
case 0:
|
|
@@ -3265,7 +3303,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
|
3265
3303
|
placement: "bottomLeft"
|
|
3266
3304
|
}, /*#__PURE__*/React__default['default'].createElement("a", null, /*#__PURE__*/React__default['default'].createElement(icons.ProfileTwoTone, null))), /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
3267
3305
|
title: /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement("span", null, "1\u3001\u62D6\u52A8\u6570\u636E\u9879\uFF0C\u4EE5\u9002\u914D\u6E90\u6570\u636E\u7684\u987A\u5E8F\uFF0C\u5982\u60A8Excel\u4E2D\u6570\u636E\u6392\u5E8F\u4F9D\u6B21\u4E3A\u7F16\u7801\u3001\u4EF7\u683C\u548C\u6570\u91CF\uFF0C\u5219\u60A8\u4E5F\u53EF\u4EE5\u5C06\u6570\u636E\u9879\u7684\u987A\u5E8F\u8C03\u6574\u4E3A\u4E00\u81F4"), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement("span", null, "2\u3001\u590D\u5236\u6587\u4EF6\u6570\u636E\uFF08\u591A\u5217\u4E00\u8D77\uFF09\uFF0C\u5728\u6587\u672C\u6846\u5185\u8FDB\u884C\u7C98\u8D34"), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement("span", null, "3\u3001\u70B9\u51FB\u8BC6\u522B\u6309\u94AE\u8FDB\u884C\u6570\u636E\u6821\u9A8C\uFF0C\u5982\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u70B9\u51FB\u5F55\u5165\u6309\u94AE\u53EF\u5F55\u5165\u6570\u636E\uFF0C\u5982\u5B58\u5728\u9519\u8BEF\u6570\u636E\uFF0C\u5219\u9700\u4FEE\u6539\u540E\u518D\u8FDB\u884C\u5F55\u5165"))
|
|
3268
|
-
}, /*#__PURE__*/React__default['default'].createElement(icons.ExclamationCircleOutlined, null))), /*#__PURE__*/React__default['default'].createElement(antd.Space, null, !notExcelImport && (/*#__PURE__*/React__default['default'].createElement(antd.Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React__default['default'].createElement(antd.Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React__default['default'].createElement(antd.Dropdown, {
|
|
3306
|
+
}, /*#__PURE__*/React__default['default'].createElement(icons.ExclamationCircleOutlined, null))), /*#__PURE__*/React__default['default'].createElement(antd.Space, null, !notExcelImport && ( /*#__PURE__*/React__default['default'].createElement(antd.Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React__default['default'].createElement(antd.Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React__default['default'].createElement(antd.Dropdown, {
|
|
3269
3307
|
trigger: ['click'],
|
|
3270
3308
|
overlay: this.menuList,
|
|
3271
3309
|
placement: "bottomRight"
|
|
@@ -3940,7 +3978,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
|
|
|
3940
3978
|
placement: "bottomLeft"
|
|
3941
3979
|
}, /*#__PURE__*/React__default['default'].createElement("a", null, /*#__PURE__*/React__default['default'].createElement(icons.ProfileTwoTone, null))), /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
3942
3980
|
title: /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement("span", null, "1\u3001\u62D6\u52A8\u6570\u636E\u9879\uFF0C\u4EE5\u9002\u914D\u6E90\u6570\u636E\u7684\u987A\u5E8F\uFF0C\u5982\u60A8Excel\u4E2D\u6570\u636E\u6392\u5E8F\u4F9D\u6B21\u4E3A\u7F16\u7801\u3001\u4EF7\u683C\u548C\u6570\u91CF\uFF0C\u5219\u60A8\u4E5F\u53EF\u4EE5\u5C06\u6570\u636E\u9879\u7684\u987A\u5E8F\u8C03\u6574\u4E3A\u4E00\u81F4"), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement("span", null, "2\u3001\u590D\u5236\u6587\u4EF6\u6570\u636E\uFF08\u591A\u5217\u4E00\u8D77\uFF09\uFF0C\u5728\u6587\u672C\u6846\u5185\u8FDB\u884C\u7C98\u8D34"), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement("span", null, "3\u3001\u70B9\u51FB\u8BC6\u522B\u6309\u94AE\u8FDB\u884C\u6570\u636E\u6821\u9A8C\uFF0C\u5982\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u70B9\u51FB\u5F55\u5165\u6309\u94AE\u53EF\u5F55\u5165\u6570\u636E\uFF0C\u5982\u5B58\u5728\u9519\u8BEF\u6570\u636E\uFF0C\u5219\u9700\u4FEE\u6539\u540E\u518D\u8FDB\u884C\u5F55\u5165"))
|
|
3943
|
-
}, /*#__PURE__*/React__default['default'].createElement(icons.ExclamationCircleOutlined, null))), /*#__PURE__*/React__default['default'].createElement(antd.Space, null, !notExcelImport && (/*#__PURE__*/React__default['default'].createElement(antd.Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React__default['default'].createElement(antd.Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React__default['default'].createElement(antd.Dropdown, {
|
|
3981
|
+
}, /*#__PURE__*/React__default['default'].createElement(icons.ExclamationCircleOutlined, null))), /*#__PURE__*/React__default['default'].createElement(antd.Space, null, !notExcelImport && ( /*#__PURE__*/React__default['default'].createElement(antd.Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React__default['default'].createElement(antd.Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React__default['default'].createElement(antd.Dropdown, {
|
|
3944
3982
|
trigger: ['click'],
|
|
3945
3983
|
overlay: this.menuList,
|
|
3946
3984
|
placement: "bottomRight"
|
|
@@ -4180,6 +4218,414 @@ var getRenderSource = function getRenderSource(currentSRKs, items) {
|
|
|
4180
4218
|
|
|
4181
4219
|
var zhankaitiaojian = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Ezhankaitiaojian-icon%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B5%E9%9D%A2-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22icon%22%20transform%3D%22translate%28-702.000000%2C%20-498.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22zhankaitiaojian-icon%22%20transform%3D%22translate%28702.000000%2C%20498.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12.0142082%2C6%20L18%2C11.9972435%20L12.0142082%2C18%20L11.04209%2C17.0260337%20L16.0562218%2C11.9972435%20L11.04209%2C6.97396631%20L12.0142082%2C6%20Z%20M6.97257658%2C6%20L12.9583683%2C11.9972435%20L6.97257658%2C18%20L6.00091666%2C17.0260337%20L11.0150485%2C11.9972435%20L6%2C6.97396631%20L6.97257658%2C6%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20mask%3D%22url%28%23mask-2%29%22%20transform%3D%22translate%2812.000000%2C%2012.000000%29%20rotate%28-270.000000%29%20translate%28-12.000000%2C%20-12.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
4182
4220
|
|
|
4221
|
+
var css_248z$6 = ".property_classify_content {\n margin-bottom: 15px;\n}\n.property_classify_content1 {\n max-height: 350px;\n overflow-y: scroll;\n overflow-x: hidden;\n}\n/* 滚动槽(轨道)宽高 */\n.property_classify_content1::-webkit-scrollbar {\n width: 5px;\n /*对垂直流动条有效*/\n height: 5px;\n /*对水平流动条有效*/\n}\n/* 滚动槽(轨道)样式 */\n.property_classify_content1::-webkit-scrollbar-track {\n background-color: #ffffff;\n border-radius: 8px;\n}\n/*定义滑块颜色、内阴影及圆角*/\n.property_classify_content1::-webkit-scrollbar-thumb {\n border-radius: 7px;\n background-color: #CECECE;\n}\n/*定义两端按钮的样式*/\n.property_classify_content1::-webkit-scrollbar-button {\n display: none;\n}\n.propertyGroup_container {\n display: flex;\n margin-bottom: 16px;\n}\n.propertyGroup_container .propertyGroup_container_left {\n width: 100px;\n flex-shrink: 0;\n flex-grow: 0;\n}\n.propertyGroup_container .propertyGroup_container_right {\n width: 560px;\n flex-shrink: 0;\n flex-grow: 0;\n display: flex;\n flex-wrap: wrap;\n}\n.propertyGroup_container .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.propertyGroup_checkbox_container {\n width: 80px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n";
|
|
4222
|
+
styleInject(css_248z$6);
|
|
4223
|
+
|
|
4224
|
+
var PropertyGroup = function PropertyGroup(props) {
|
|
4225
|
+
var propertyData = props.propertyData,
|
|
4226
|
+
handleProperyItemChange = props.handleProperyItemChange,
|
|
4227
|
+
modalVisilbe = props.modalVisilbe,
|
|
4228
|
+
itemValue = props.itemValue;
|
|
4229
|
+
var _useState = React$1.useState([]),
|
|
4230
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4231
|
+
commonUseProperty = _useState2[0],
|
|
4232
|
+
setCommonUseProperty = _useState2[1]; // 常用属性值
|
|
4233
|
+
var _useState3 = React$1.useState([]),
|
|
4234
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4235
|
+
notCommonUseProperty = _useState4[0],
|
|
4236
|
+
setNotCommonUseProperty = _useState4[1]; // 非常用属性值
|
|
4237
|
+
var _useState5 = React$1.useState(false),
|
|
4238
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4239
|
+
indeterminate = _useState6[0],
|
|
4240
|
+
setIndeterminate = _useState6[1];
|
|
4241
|
+
var _useState7 = React$1.useState(false),
|
|
4242
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4243
|
+
showNotCommon = _useState8[0],
|
|
4244
|
+
setShowNotCommon = _useState8[1];
|
|
4245
|
+
React$1.useEffect(function () {
|
|
4246
|
+
var proItemValue = (itemValue.propertyList || []).find(function (item) {
|
|
4247
|
+
return item.propertyCode === propertyData.propertyCode;
|
|
4248
|
+
});
|
|
4249
|
+
var checkedList = (proItemValue === null || proItemValue === void 0 ? void 0 : proItemValue.detailList) || [];
|
|
4250
|
+
var proDetailList = JSON.parse(JSON.stringify((propertyData === null || propertyData === void 0 ? void 0 : propertyData.detailList) || []));
|
|
4251
|
+
proDetailList.forEach(function (item) {
|
|
4252
|
+
if (checkedList.some(function (checkItem) {
|
|
4253
|
+
return checkItem.value === item.value;
|
|
4254
|
+
})) {
|
|
4255
|
+
item.isChecked = true;
|
|
4256
|
+
}
|
|
4257
|
+
});
|
|
4258
|
+
var commonUseProperty = proDetailList.filter(function (item) {
|
|
4259
|
+
return item.isCommonUse;
|
|
4260
|
+
});
|
|
4261
|
+
var notCommonUseProperty = proDetailList.filter(function (item) {
|
|
4262
|
+
return !item.isCommonUse;
|
|
4263
|
+
});
|
|
4264
|
+
if (checkedList.some(function (item) {
|
|
4265
|
+
return !item.isCommonUse;
|
|
4266
|
+
})) {
|
|
4267
|
+
setShowNotCommon(true);
|
|
4268
|
+
}
|
|
4269
|
+
setCommonUseProperty(commonUseProperty);
|
|
4270
|
+
setNotCommonUseProperty(notCommonUseProperty);
|
|
4271
|
+
}, [modalVisilbe]);
|
|
4272
|
+
var parseDataToParent = function parseDataToParent(comUse, notComUse) {
|
|
4273
|
+
var choosedPropertyList = (comUse || []).filter(function (item) {
|
|
4274
|
+
return item.isChecked;
|
|
4275
|
+
});
|
|
4276
|
+
if (showNotCommon) {
|
|
4277
|
+
choosedPropertyList = [].concat(_toConsumableArray(choosedPropertyList), _toConsumableArray((notComUse || []).filter(function (item) {
|
|
4278
|
+
return item.isChecked;
|
|
4279
|
+
})));
|
|
4280
|
+
}
|
|
4281
|
+
handleProperyItemChange({
|
|
4282
|
+
propertyCode: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyCode,
|
|
4283
|
+
propertyName: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyName,
|
|
4284
|
+
propertyId: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyId,
|
|
4285
|
+
isCommonUse: propertyData === null || propertyData === void 0 ? void 0 : propertyData.isCommonUse,
|
|
4286
|
+
detailList: choosedPropertyList
|
|
4287
|
+
});
|
|
4288
|
+
};
|
|
4289
|
+
var handleChangeAll = function handleChangeAll(e) {
|
|
4290
|
+
if (showNotCommon) {
|
|
4291
|
+
notCommonUseProperty.map(function (item) {
|
|
4292
|
+
return item.isChecked = e.target.checked;
|
|
4293
|
+
});
|
|
4294
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4295
|
+
}
|
|
4296
|
+
commonUseProperty.map(function (item) {
|
|
4297
|
+
return item.isChecked = e.target.checked;
|
|
4298
|
+
});
|
|
4299
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4300
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4301
|
+
setIndeterminate(false);
|
|
4302
|
+
};
|
|
4303
|
+
var handleIndeterminate = function handleIndeterminate(commonUseProperty, notCommonUseProperty) {
|
|
4304
|
+
var checkList = _toConsumableArray(commonUseProperty);
|
|
4305
|
+
if (showNotCommon) {
|
|
4306
|
+
checkList = [].concat(_toConsumableArray(checkList), _toConsumableArray(notCommonUseProperty));
|
|
4307
|
+
}
|
|
4308
|
+
var indeterminate = !!checkList.filter(function (item) {
|
|
4309
|
+
return item.isChecked;
|
|
4310
|
+
}).length && checkList.filter(function (item) {
|
|
4311
|
+
return item.isChecked;
|
|
4312
|
+
}).length !== checkList.length;
|
|
4313
|
+
setIndeterminate(indeterminate);
|
|
4314
|
+
};
|
|
4315
|
+
var handleItemChecked = function handleItemChecked(e, item, type) {
|
|
4316
|
+
if (type === 1) {
|
|
4317
|
+
// 常用属性
|
|
4318
|
+
(commonUseProperty || []).forEach(function (info) {
|
|
4319
|
+
if (info.value === item.value) {
|
|
4320
|
+
info.isChecked = e.target.checked;
|
|
4321
|
+
}
|
|
4322
|
+
});
|
|
4323
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4324
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4325
|
+
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4326
|
+
}
|
|
4327
|
+
if (type === 2) {
|
|
4328
|
+
// 非常用属性
|
|
4329
|
+
(notCommonUseProperty || []).forEach(function (info) {
|
|
4330
|
+
if (info.value === item.value) {
|
|
4331
|
+
info.isChecked = e.target.checked;
|
|
4332
|
+
}
|
|
4333
|
+
});
|
|
4334
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4335
|
+
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4336
|
+
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4337
|
+
}
|
|
4338
|
+
};
|
|
4339
|
+
var checkAllChecked = function checkAllChecked() {
|
|
4340
|
+
var checkData = showNotCommon ? [].concat(_toConsumableArray(commonUseProperty), _toConsumableArray(notCommonUseProperty)) : _toConsumableArray(commonUseProperty);
|
|
4341
|
+
return checkData.length && checkData.every(function (item) {
|
|
4342
|
+
return item.isChecked;
|
|
4343
|
+
}) ? true : false;
|
|
4344
|
+
};
|
|
4345
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4346
|
+
className: 'propertyGroup_container'
|
|
4347
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4348
|
+
className: 'propertyGroup_container_left'
|
|
4349
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
4350
|
+
checked: checkAllChecked(),
|
|
4351
|
+
indeterminate: indeterminate,
|
|
4352
|
+
onChange: handleChangeAll
|
|
4353
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4354
|
+
title: propertyData.name,
|
|
4355
|
+
className: "propertyGroup_checkbox_container"
|
|
4356
|
+
}, propertyData.propertyName))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4357
|
+
className: 'propertyGroup_container_right'
|
|
4358
|
+
}, (commonUseProperty || []).map(function (item) {
|
|
4359
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
4360
|
+
checked: item.isChecked,
|
|
4361
|
+
key: item.value,
|
|
4362
|
+
onChange: function onChange(e) {
|
|
4363
|
+
handleItemChecked(e, item, 1);
|
|
4364
|
+
}
|
|
4365
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4366
|
+
title: item.name,
|
|
4367
|
+
className: "propertyGroup_checkbox_container"
|
|
4368
|
+
}, item.name));
|
|
4369
|
+
}), showNotCommon && (notCommonUseProperty || []).map(function (item) {
|
|
4370
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
4371
|
+
checked: item.isChecked,
|
|
4372
|
+
key: item.value,
|
|
4373
|
+
onChange: function onChange(e) {
|
|
4374
|
+
handleItemChecked(e, item, 2);
|
|
4375
|
+
}
|
|
4376
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4377
|
+
title: item.name,
|
|
4378
|
+
className: "propertyGroup_checkbox_container"
|
|
4379
|
+
}, item.name));
|
|
4380
|
+
}), !!notCommonUseProperty.length && ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4381
|
+
style: {
|
|
4382
|
+
width: '50px',
|
|
4383
|
+
cursor: 'pointer',
|
|
4384
|
+
color: '#005cff',
|
|
4385
|
+
fontSize: '10px',
|
|
4386
|
+
display: 'flex',
|
|
4387
|
+
alignItems: 'center'
|
|
4388
|
+
},
|
|
4389
|
+
onClick: function onClick() {
|
|
4390
|
+
setShowNotCommon(!showNotCommon);
|
|
4391
|
+
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4392
|
+
}
|
|
4393
|
+
}, showNotCommon && ( /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretDownOutlined, null), "\u5C55\u5F00"))))));
|
|
4394
|
+
};
|
|
4395
|
+
var PropertyGroup$1 = /*#__PURE__*/React__default['default'].memo(PropertyGroup, function (props, nextProps) {
|
|
4396
|
+
if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
|
|
4397
|
+
return true;
|
|
4398
|
+
});
|
|
4399
|
+
|
|
4400
|
+
var _excluded$3 = ["value", "onChange", "width"];
|
|
4401
|
+
var PropertySelector = function PropertySelector(_ref) {
|
|
4402
|
+
var value = _ref.value,
|
|
4403
|
+
onChange = _ref.onChange,
|
|
4404
|
+
width = _ref.width,
|
|
4405
|
+
restProps = _objectWithoutProperties(_ref, _excluded$3);
|
|
4406
|
+
var settingValue = React$1.useRef({
|
|
4407
|
+
classifyCode: '',
|
|
4408
|
+
classifyName: '',
|
|
4409
|
+
propertyList: []
|
|
4410
|
+
});
|
|
4411
|
+
var _useState = React$1.useState([]),
|
|
4412
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
4413
|
+
choosedValues = _useState2[0],
|
|
4414
|
+
setChoosedValues = _useState2[1];
|
|
4415
|
+
var _useState3 = React$1.useState(''),
|
|
4416
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
4417
|
+
choosedClassify = _useState4[0],
|
|
4418
|
+
setChoosedClassify = _useState4[1];
|
|
4419
|
+
var _useState5 = React$1.useState([]),
|
|
4420
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
4421
|
+
commonProperty = _useState6[0],
|
|
4422
|
+
setCommonUseProperty = _useState6[1];
|
|
4423
|
+
var _useState7 = React$1.useState([]),
|
|
4424
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
4425
|
+
notCommonProperty = _useState8[0],
|
|
4426
|
+
setNotCommonProperty = _useState8[1];
|
|
4427
|
+
var _useState9 = React$1.useState(false),
|
|
4428
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
4429
|
+
visible = _useState10[0],
|
|
4430
|
+
setVisible = _useState10[1];
|
|
4431
|
+
var _useState11 = React$1.useState(false),
|
|
4432
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
4433
|
+
showNotCommon = _useState12[0],
|
|
4434
|
+
setShowNotCommon = _useState12[1]; // 是否展示非常用属性
|
|
4435
|
+
var _useState13 = React$1.useState([]),
|
|
4436
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
4437
|
+
classifyOptionList = _useState14[0],
|
|
4438
|
+
setClassifyOptionList = _useState14[1];
|
|
4439
|
+
var _useState15 = React$1.useState('1'),
|
|
4440
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
4441
|
+
listKey = _useState16[0],
|
|
4442
|
+
setListKey = _useState16[1];
|
|
4443
|
+
React$1.useEffect(function () {
|
|
4444
|
+
requestUtil({
|
|
4445
|
+
url: '/items/class/withProperty?pageSize=500¤tPage=1',
|
|
4446
|
+
method: 'GET'
|
|
4447
|
+
}).then(function (_ref2) {
|
|
4448
|
+
var _data$data;
|
|
4449
|
+
var data = _ref2.data;
|
|
4450
|
+
if (judgeIsRequestError(data)) {
|
|
4451
|
+
return;
|
|
4452
|
+
}
|
|
4453
|
+
var items = ((_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.items) || [];
|
|
4454
|
+
setClassifyOptionList(items.map(function (item) {
|
|
4455
|
+
return {
|
|
4456
|
+
label: item.name,
|
|
4457
|
+
value: item.id
|
|
4458
|
+
};
|
|
4459
|
+
}));
|
|
4460
|
+
});
|
|
4461
|
+
}, []);
|
|
4462
|
+
React$1.useEffect(function () {
|
|
4463
|
+
if (!choosedClassify) return;
|
|
4464
|
+
requestUtil({
|
|
4465
|
+
url: "/items/classProperty/".concat(choosedClassify),
|
|
4466
|
+
method: 'GET'
|
|
4467
|
+
}).then(function (_ref3) {
|
|
4468
|
+
var data = _ref3.data;
|
|
4469
|
+
if (judgeIsRequestError(data)) {
|
|
4470
|
+
return;
|
|
4471
|
+
}
|
|
4472
|
+
var newArr = ((data === null || data === void 0 ? void 0 : data.data) || []).map(function (item) {
|
|
4473
|
+
return {
|
|
4474
|
+
propertyCode: item.property.propertyCode,
|
|
4475
|
+
propertyName: item.property.name,
|
|
4476
|
+
propertyId: item.property.id,
|
|
4477
|
+
isCommonUse: item.property.isCommonUse === 'commonUse',
|
|
4478
|
+
detailList: item.propertyValueList.map(function (detail) {
|
|
4479
|
+
return {
|
|
4480
|
+
name: detail.value,
|
|
4481
|
+
value: detail.value,
|
|
4482
|
+
isCommonUse: detail.isCommonUse === 'commonUse'
|
|
4483
|
+
};
|
|
4484
|
+
})
|
|
4485
|
+
};
|
|
4486
|
+
});
|
|
4487
|
+
setCommonUseProperty(newArr.filter(function (item) {
|
|
4488
|
+
return item.isCommonUse;
|
|
4489
|
+
}));
|
|
4490
|
+
setNotCommonProperty(newArr.filter(function (item) {
|
|
4491
|
+
return !item.isCommonUse;
|
|
4492
|
+
}));
|
|
4493
|
+
setListKey(listKey === '1' ? '2' : '1');
|
|
4494
|
+
});
|
|
4495
|
+
}, [choosedClassify]);
|
|
4496
|
+
React$1.useEffect(function () {
|
|
4497
|
+
// 获取选中品类信息
|
|
4498
|
+
setChoosedClassify(value === null || value === void 0 ? void 0 : value.classifyCode);
|
|
4499
|
+
// 获取选中属性值展示
|
|
4500
|
+
var choosedPropertyList = ((value === null || value === void 0 ? void 0 : value.propertyList) || []).map(function (item) {
|
|
4501
|
+
return (item.detailList || []).map(function (detail) {
|
|
4502
|
+
return detail.name;
|
|
4503
|
+
});
|
|
4504
|
+
}).flat();
|
|
4505
|
+
if (((value === null || value === void 0 ? void 0 : value.propertyList) || []).some(function (item) {
|
|
4506
|
+
return !item.isCommonUse;
|
|
4507
|
+
})) {
|
|
4508
|
+
setShowNotCommon(true);
|
|
4509
|
+
}
|
|
4510
|
+
setChoosedValues(choosedPropertyList);
|
|
4511
|
+
settingValue.current = _objectSpread2({}, value);
|
|
4512
|
+
}, [value]);
|
|
4513
|
+
// 关闭弹窗回传组件值
|
|
4514
|
+
var handleConfirm = function handleConfirm() {
|
|
4515
|
+
setVisible(false);
|
|
4516
|
+
onChange(settingValue.current);
|
|
4517
|
+
};
|
|
4518
|
+
var onCancel = function onCancel() {
|
|
4519
|
+
setVisible(false);
|
|
4520
|
+
};
|
|
4521
|
+
// 获取选中属性值信息
|
|
4522
|
+
var handleProperyItemChange = function handleProperyItemChange(value) {
|
|
4523
|
+
var _settingValue$current;
|
|
4524
|
+
var newDetailList = ((_settingValue$current = settingValue.current) === null || _settingValue$current === void 0 ? void 0 : _settingValue$current.propertyList) || [];
|
|
4525
|
+
var itemIndex = newDetailList.findIndex(function (item) {
|
|
4526
|
+
return item.propertyCode === value.propertyCode;
|
|
4527
|
+
});
|
|
4528
|
+
if (itemIndex !== -1) {
|
|
4529
|
+
newDetailList[itemIndex] = value;
|
|
4530
|
+
} else {
|
|
4531
|
+
newDetailList.push(value);
|
|
4532
|
+
}
|
|
4533
|
+
settingValue.current = _objectSpread2(_objectSpread2({}, settingValue.current), {}, {
|
|
4534
|
+
propertyList: newDetailList.filter(function (item) {
|
|
4535
|
+
return item.detailList && item.detailList.length;
|
|
4536
|
+
})
|
|
4537
|
+
});
|
|
4538
|
+
};
|
|
4539
|
+
//修改品类值
|
|
4540
|
+
var onClassifyChange = function onClassifyChange(value, option) {
|
|
4541
|
+
setChoosedClassify(value);
|
|
4542
|
+
settingValue.current = {
|
|
4543
|
+
classifyCode: value,
|
|
4544
|
+
classifyName: option.children,
|
|
4545
|
+
propertyList: []
|
|
4546
|
+
};
|
|
4547
|
+
};
|
|
4548
|
+
var tagRender = function tagRender(props) {
|
|
4549
|
+
var label = props.label,
|
|
4550
|
+
value = props.value,
|
|
4551
|
+
closable = props.closable,
|
|
4552
|
+
onClose = props.onClose;
|
|
4553
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Tag, {
|
|
4554
|
+
closable: false,
|
|
4555
|
+
style: {
|
|
4556
|
+
marginRight: 3,
|
|
4557
|
+
height: '20px',
|
|
4558
|
+
fontSize: '12px'
|
|
4559
|
+
}
|
|
4560
|
+
}, label);
|
|
4561
|
+
};
|
|
4562
|
+
return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({
|
|
4563
|
+
maxTagCount: 1,
|
|
4564
|
+
tagRender: tagRender
|
|
4565
|
+
}, restProps), {}, {
|
|
4566
|
+
mode: "multiple",
|
|
4567
|
+
value: choosedValues,
|
|
4568
|
+
onClick: function onClick() {
|
|
4569
|
+
setVisible(true);
|
|
4570
|
+
},
|
|
4571
|
+
style: {
|
|
4572
|
+
width: width || '100%'
|
|
4573
|
+
},
|
|
4574
|
+
open: false
|
|
4575
|
+
})), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
4576
|
+
title: "\u5C5E\u6027\u8BBE\u7F6E",
|
|
4577
|
+
width: 700,
|
|
4578
|
+
open: visible,
|
|
4579
|
+
onOk: handleConfirm,
|
|
4580
|
+
destroyOnClose: true,
|
|
4581
|
+
onCancel: onCancel,
|
|
4582
|
+
cancelText: '取消',
|
|
4583
|
+
okText: '确定'
|
|
4584
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4585
|
+
className: 'property_classify_content'
|
|
4586
|
+
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
4587
|
+
style: {
|
|
4588
|
+
marginRight: '10px'
|
|
4589
|
+
}
|
|
4590
|
+
}, "\u54C1\u7C7B\u6A21\u677F"), /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
4591
|
+
style: {
|
|
4592
|
+
width: '200px'
|
|
4593
|
+
},
|
|
4594
|
+
value: choosedClassify,
|
|
4595
|
+
options: classifyOptionList,
|
|
4596
|
+
onChange: function onChange(value, option) {
|
|
4597
|
+
onClassifyChange(value, option);
|
|
4598
|
+
}
|
|
4599
|
+
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4600
|
+
className: 'property_classify_content1',
|
|
4601
|
+
key: listKey
|
|
4602
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", null, commonProperty.map(function (item) {
|
|
4603
|
+
return /*#__PURE__*/React__default['default'].createElement(PropertyGroup$1, {
|
|
4604
|
+
modalVisilbe: visible,
|
|
4605
|
+
itemValue: settingValue.current,
|
|
4606
|
+
propertyData: item,
|
|
4607
|
+
handleProperyItemChange: handleProperyItemChange
|
|
4608
|
+
});
|
|
4609
|
+
})), /*#__PURE__*/React__default['default'].createElement("div", null, showNotCommon && notCommonProperty.map(function (item) {
|
|
4610
|
+
return /*#__PURE__*/React__default['default'].createElement(PropertyGroup$1, {
|
|
4611
|
+
modalVisilbe: visible,
|
|
4612
|
+
itemValue: settingValue.current,
|
|
4613
|
+
propertyData: item,
|
|
4614
|
+
handleProperyItemChange: handleProperyItemChange
|
|
4615
|
+
});
|
|
4616
|
+
}))), !!notCommonProperty.length && ( /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
4617
|
+
style: {
|
|
4618
|
+
width: '50px',
|
|
4619
|
+
cursor: 'pointer',
|
|
4620
|
+
color: '#005cff',
|
|
4621
|
+
fontSize: '10px'
|
|
4622
|
+
},
|
|
4623
|
+
onClick: function onClick() {
|
|
4624
|
+
return setShowNotCommon(!showNotCommon);
|
|
4625
|
+
}
|
|
4626
|
+
}, showNotCommon && ( /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretDownOutlined, null), "\u5C55\u5F00"))))))));
|
|
4627
|
+
};
|
|
4628
|
+
|
|
4183
4629
|
var Option$1 = antd.Select.Option;
|
|
4184
4630
|
var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
4185
4631
|
var _pathname$match, _modalTableProps$tabl, _modalTableProps$tabl2;
|
|
@@ -4219,7 +4665,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4219
4665
|
_ref$init = _ref.init,
|
|
4220
4666
|
init = _ref$init === void 0 ? false : _ref$init,
|
|
4221
4667
|
_ref$extralHeaders = _ref.extralHeaders,
|
|
4222
|
-
extralHeaders = _ref$extralHeaders === void 0 ? {} : _ref$extralHeaders,
|
|
4223
4668
|
_ref$specialBracket = _ref.specialBracket,
|
|
4224
4669
|
specialBracket = _ref$specialBracket === void 0 ? false : _ref$specialBracket,
|
|
4225
4670
|
_ref$noNeedSplit = _ref.noNeedSplit,
|
|
@@ -4450,6 +4895,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4450
4895
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4451
4896
|
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
4452
4897
|
var callback = arguments.length > 2 ? arguments[2] : undefined;
|
|
4898
|
+
var bodyParams = arguments.length > 3 ? arguments[3] : undefined;
|
|
4453
4899
|
if (!requestConfig) return;
|
|
4454
4900
|
setFetching(true);
|
|
4455
4901
|
// 处理dependence参数
|
|
@@ -4578,9 +5024,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4578
5024
|
if (_.isNil(queryParams[selectParamsKey])) {
|
|
4579
5025
|
queryParams[selectParamsKey] = searchValue;
|
|
4580
5026
|
}
|
|
4581
|
-
requestUtil.
|
|
4582
|
-
headers: _objectSpread2({}, extralHeaders)
|
|
4583
|
-
}).then(function (result) {
|
|
5027
|
+
requestUtil.post("".concat(url, "?").concat(querystring.stringify(queryParams)), bodyParams || null).then(function (result) {
|
|
4584
5028
|
setFetching(false);
|
|
4585
5029
|
result = result.data;
|
|
4586
5030
|
if (judgeIsRequestError(result)) {
|
|
@@ -4902,12 +5346,18 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
4902
5346
|
};
|
|
4903
5347
|
var onSearchTable = function onSearchTable() {
|
|
4904
5348
|
var params = form.getFieldsValue();
|
|
5349
|
+
console.log('dddd', params);
|
|
4905
5350
|
// const isHaveParams = params && Object.keys(params).filter(item => params[item]).length > 0;
|
|
4906
5351
|
setModalSearched(true);
|
|
5352
|
+
var unique_params = null;
|
|
5353
|
+
if (params['UNIQUE_SPEC']) {
|
|
5354
|
+
var _params$UNIQUE_SPEC;
|
|
5355
|
+
unique_params = ((_params$UNIQUE_SPEC = params['UNIQUE_SPEC']) === null || _params$UNIQUE_SPEC === void 0 ? void 0 : _params$UNIQUE_SPEC.propertyList) || [];
|
|
5356
|
+
}
|
|
4907
5357
|
setTableFormParams(params);
|
|
4908
5358
|
getData(_objectSpread2(_objectSpread2({}, params), {}, {
|
|
4909
5359
|
pageSize: tableInitPageSize
|
|
4910
|
-
}), 2);
|
|
5360
|
+
}), 2, null, unique_params);
|
|
4911
5361
|
};
|
|
4912
5362
|
var onResetTable = function onResetTable() {
|
|
4913
5363
|
form.resetFields();
|
|
@@ -5034,7 +5484,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5034
5484
|
};
|
|
5035
5485
|
})) || [];
|
|
5036
5486
|
return list === null || list === void 0 ? void 0 : (_list$concat = list.concat(addKong)) === null || _list$concat === void 0 ? void 0 : _list$concat.map(function (i, index) {
|
|
5037
|
-
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7;
|
|
5487
|
+
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7, _i$field8;
|
|
5038
5488
|
if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
5039
5489
|
span: ColSpan,
|
|
5040
5490
|
key: i
|
|
@@ -5109,6 +5559,16 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5109
5559
|
}
|
|
5110
5560
|
})));
|
|
5111
5561
|
}
|
|
5562
|
+
if ((i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'proppertySelector') {
|
|
5563
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
5564
|
+
span: ColSpan,
|
|
5565
|
+
key: i.name
|
|
5566
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
|
|
5567
|
+
name: i.name,
|
|
5568
|
+
label: i.label,
|
|
5569
|
+
key: i.name
|
|
5570
|
+
}, /*#__PURE__*/React__default['default'].createElement(PropertySelector, null)));
|
|
5571
|
+
}
|
|
5112
5572
|
// 默认type是input
|
|
5113
5573
|
return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
5114
5574
|
span: ColSpan,
|
|
@@ -5124,7 +5584,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5124
5584
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
5125
5585
|
allowClear: true,
|
|
5126
5586
|
maxLength: 100
|
|
5127
|
-
}, i === null || i === void 0 ? void 0 : (_i$
|
|
5587
|
+
}, i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.props), {}, {
|
|
5128
5588
|
disabled: setDisabled(i.name)
|
|
5129
5589
|
}))));
|
|
5130
5590
|
});
|
|
@@ -5337,7 +5797,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5337
5797
|
destroyTooltipOnHide: true,
|
|
5338
5798
|
placement: "topRight",
|
|
5339
5799
|
autoAdjustOverflow: false,
|
|
5340
|
-
title: (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
5800
|
+
title: ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5341
5801
|
style: {
|
|
5342
5802
|
margin: '6px 8px 0px'
|
|
5343
5803
|
},
|
|
@@ -5409,13 +5869,13 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5409
5869
|
var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
|
|
5410
5870
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5411
5871
|
className: 'search_select'
|
|
5412
|
-
}, fieldComponent ? (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
5872
|
+
}, fieldComponent ? ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5413
5873
|
onClick: function onClick() {
|
|
5414
5874
|
var _fieldComponent$props, _fieldComponent$props2;
|
|
5415
5875
|
(_fieldComponent$props = fieldComponent.props) === null || _fieldComponent$props === void 0 ? void 0 : (_fieldComponent$props2 = _fieldComponent$props.onClick) === null || _fieldComponent$props2 === void 0 ? void 0 : _fieldComponent$props2.call(_fieldComponent$props);
|
|
5416
5876
|
showModal();
|
|
5417
5877
|
}
|
|
5418
|
-
}, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
5878
|
+
}, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5419
5879
|
title: getShowStr(),
|
|
5420
5880
|
style: {
|
|
5421
5881
|
overflow: 'hidden',
|
|
@@ -5442,10 +5902,10 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5442
5902
|
dropdownRender: function dropdownRender(menu) {
|
|
5443
5903
|
return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
|
|
5444
5904
|
},
|
|
5445
|
-
notFoundContent: fetching ? (/*#__PURE__*/React__default['default'].createElement(antd.Spin, {
|
|
5905
|
+
notFoundContent: fetching ? ( /*#__PURE__*/React__default['default'].createElement(antd.Spin, {
|
|
5446
5906
|
size: "small",
|
|
5447
5907
|
className: 'searchSelectSpin'
|
|
5448
|
-
})) : (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
5908
|
+
})) : ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5449
5909
|
style: {
|
|
5450
5910
|
textAlign: 'center'
|
|
5451
5911
|
}
|
|
@@ -5476,7 +5936,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5476
5936
|
text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
|
|
5477
5937
|
filterTxt: searchValue
|
|
5478
5938
|
}));
|
|
5479
|
-
}))), needModalTable && isModalVisible && (/*#__PURE__*/React__default['default'].createElement(antd.Modal, _objectSpread2({
|
|
5939
|
+
}))), needModalTable && isModalVisible && ( /*#__PURE__*/React__default['default'].createElement(antd.Modal, _objectSpread2({
|
|
5480
5940
|
maskClosable: false,
|
|
5481
5941
|
destroyOnClose: true,
|
|
5482
5942
|
width: "80%",
|
|
@@ -5551,8 +6011,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5551
6011
|
})) : null)))));
|
|
5552
6012
|
});
|
|
5553
6013
|
|
|
5554
|
-
var css_248z$
|
|
5555
|
-
styleInject(css_248z$
|
|
6014
|
+
var css_248z$7 = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper_select_quick {\n margin: 0;\n}\n.react-resizable {\n position: relative;\n background-clip: padding-box;\n}\n.react-resizable-handle {\n position: absolute;\n width: 10px;\n height: 100%;\n bottom: 0;\n right: -5px;\n cursor: col-resize;\n z-index: 1;\n}\n";
|
|
6015
|
+
styleInject(css_248z$7);
|
|
5556
6016
|
|
|
5557
6017
|
var shezhi = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E8%92%99%E7%89%88%401x%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22path-1%22%20points%3D%221.97175609e-13%200%2024%200%2024%2024%201.97175609e-13%2024%22%3E%3C%2Fpolygon%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E3%80%90%E9%94%80%E5%94%AE%E8%AE%A2%E5%8D%95%E3%80%91-%E5%88%97%E8%A1%A8%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-13%E5%A4%87%E4%BB%BD%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23FAFAFA%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.0539833%2C6%20L12.9893599%2C6.00306539%20C13.5902684%2C6.0041207%2014.0770953%2C6.51753931%2014.0778957%2C7.15105962%20L14.0786226%2C7.48365607%20C14.4535346%2C7.64767515%2014.8086815%2C7.85797334%2015.1366285%2C8.11014825%20L15.3957691%2C7.95304625%20C15.9165865%2C7.6370624%2016.5817222%2C7.82488039%2016.8830106%2C8.37300674%20L17.8530614%2C10.1386801%20C18.1419103%2C10.664498%2017.9927093%2C11.3364989%2017.5125078%2C11.6725322%20L17.4532653%2C11.7108498%20L17.1930343%2C11.8691013%20C17.2377388%2C12.3043888%2017.232287%2C12.7465735%2017.1737714%2C13.186076%20L17.3576776%2C13.2983464%20C17.857707%2C13.60263%2018.0460753%2C14.2651041%2017.7872767%2C14.809208%20L17.7571103%2C14.8686002%20L16.8484828%2C16.5277508%20C16.5598628%2C17.0549169%2015.9314906%2C17.253508%2015.4153954%2C16.9806644%20L15.3586971%2C16.9484776%20L15.1075524%2C16.7952074%20C14.7917375%2C17.034765%2014.4508932%2C17.235328%2014.0917069%2C17.3929614%20L14.0917069%2C17.8489404%20C14.0924552%2C18.4564109%2013.6447505%2C18.9596333%2013.0696826%2C18.9977009%20L13.0002635%2C19%20L11.0648868%2C18.9969346%20C10.46412%2C18.9958799%209.97735149%2C18.4826942%209.97635104%2C17.8493235%20L9.97526069%2C17.2994665%20C9.67532321%2C17.1509864%209.38966197%2C16.9723666%209.12224117%2C16.766086%20L8.65847768%2C17.0473369%20C8.13756521%2C17.3632563%207.47240027%2C17.1752586%207.17123614%2C16.6269932%20L6.20118538%2C14.8617031%20C5.91210367%2C14.335799%206.06132792%2C13.6635256%206.54173898%2C13.3274678%20L6.6009815%2C13.2891502%20L7.0727409%2C13.002918%20C7.03639581%2C12.6389012%207.03457855%2C12.2706694%207.06946985%2C11.9032039%20L6.54573694%2C11.5840186%20C6.04557344%2C11.2798633%205.85703718%2C10.6173586%206.1157744%2C10.0731571%20L6.14630429%2C10.0137648%20L7.05493181%2C8.35461431%20C7.3435518%2C7.82744812%207.97192398%2C7.62885707%208.48801915%2C7.9017007%20L8.54435406%2C7.93388746%20L9.00084853%2C8.2116898%20C9.29835141%2C7.96712383%209.62078477%2C7.75828095%209.96217645%2C7.58902938%20L9.96217645%2C7.15144279%20C9.96123583%2C6.54382459%2010.4089927%2C6.0403757%2010.9842007%2C6.00229905%20L11.0536198%2C6%20L11.0539833%2C6%20Z%20M11.0525295%2C7.14952693%20L11.0536198%2C8.31821262%20L10.4270303%2C8.62896808%20C10.1588035%2C8.76193003%209.90547811%2C8.92592919%209.67214254%2C9.11790019%20L9.09280163%2C9.5945707%20L8.02679981%2C8.94547115%20L7.99954099%2C8.92937778%20L7.09091346%2C10.5885283%20L8.22488062%2C11.2786276%20L8.15437112%2C12.0177735%20C8.12711229%2C12.304772%208.12820264%2C12.5944528%208.15691528%2C12.8814513%20L8.23178618%2C13.6255784%20L7.14506767%2C14.2854069%20L8.11475496%2C16.0506971%20L9.19384102%2C15.3966163%20L9.76627637%2C15.8384178%20C9.97702523%2C16.0011688%2010.2022%2C16.142066%2010.4386607%2C16.2591446%20L11.0645234%2C16.5691337%20L11.0667041%2C17.8474077%20L13.0017173%2C17.8504731%20L13.0006269%2C16.6262269%20L13.6730113%2C16.3311816%20C13.9550669%2C16.2075098%2014.2227404%2C16.0501462%2014.4707863%2C15.8621747%20L15.0428581%2C15.428803%20L15.904237%2C15.9529873%20L16.8121377%2C14.2934536%20L15.9921922%2C13.7937926%20L16.0939585%2C13.0270581%20C16.1393899%2C12.6841159%2016.1444782%2C12.3369588%2016.1092234%2C11.9924839%20L16.0328987%2C11.2479736%20L16.9095425%2C10.7145931%20L15.9394918%2C8.9493029%20L15.0672094%2C9.47923482%20L14.4944106%2C9.038966%20C14.2359425%2C8.84023491%2013.9560781%2C8.67444458%2013.6606539%2C8.54505261%20L12.9897234%2C8.25154006%20L12.9875427%2C7.15259232%20L11.0525295%2C7.14952693%20L11.0525295%2C7.14952693%20Z%20M13.2226955%2C10.4494355%20C14.2654163%2C11.0852141%2014.6228641%2C12.4911028%2014.0215608%2C13.5914758%20C13.7329275%2C14.1197135%2013.2568818%2C14.5052495%2012.6983658%2C14.6630942%20C12.1398499%2C14.8209389%2011.5447201%2C14.7381326%2011.0441701%2C14.4329295%20C10.0015813%2C13.7970198%209.64430382%2C12.3911621%2010.2456682%2C11.2908893%20C10.5343004%2C10.7627557%2011.0102799%2C10.3772944%2011.5687082%2C10.2194552%20C12.1271364%2C10.0616161%2012.7221782%2C10.1443543%2013.2226955%2C10.4494355%20L13.2226955%2C10.4494355%20Z%20M11.189914%2C11.8648864%20C10.8889471%2C12.4157197%2011.0678166%2C13.119454%2011.5897101%2C13.4378224%20C11.8397194%2C13.5903842%2012.1370318%2C13.6318051%2012.4160482%2C13.5529458%20C12.6950647%2C13.4740865%2012.9328544%2C13.2814281%2013.0769516%2C13.0174787%20C13.3654467%2C12.4893922%2013.2141569%2C11.8157971%2012.7316732%2C11.480178%20L12.6771555%2C11.4445427%20L12.6208206%2C11.4127391%20C12.1055879%2C11.1395918%2011.4777022%2C11.3379953%2011.189914%2C11.8648864%20L11.189914%2C11.8648864%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%234C4E4D%22%20fill-rule%3D%22nonzero%22%20mask%3D%22url%28%23mask-2%29%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
5558
6018
|
|
|
@@ -5568,10 +6028,10 @@ var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
5568
6028
|
|
|
5569
6029
|
var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-89.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2889.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
5570
6030
|
|
|
5571
|
-
var css_248z$
|
|
5572
|
-
styleInject(css_248z$
|
|
6031
|
+
var css_248z$8 = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 8px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #8E8E8E;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n height: 430px;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 10px 16px;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
|
|
6032
|
+
styleInject(css_248z$8);
|
|
5573
6033
|
|
|
5574
|
-
var _excluded$
|
|
6034
|
+
var _excluded$4 = ["className", "style"];
|
|
5575
6035
|
var Search = antd.Input.Search;
|
|
5576
6036
|
var DragHandle = reactSortableHoc.SortableHandle(function () {
|
|
5577
6037
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
@@ -5923,7 +6383,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
5923
6383
|
_this.DraggableBodyRow = function (_ref2) {
|
|
5924
6384
|
var className = _ref2.className,
|
|
5925
6385
|
style = _ref2.style,
|
|
5926
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
6386
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$4);
|
|
5927
6387
|
var sortDataSource = _this.state.sortDataSource;
|
|
5928
6388
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
5929
6389
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -6073,7 +6533,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
6073
6533
|
style: {
|
|
6074
6534
|
width: 525
|
|
6075
6535
|
}
|
|
6076
|
-
}), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && (/*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
6536
|
+
}), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
6077
6537
|
checked: !dataSource.some(function (item) {
|
|
6078
6538
|
if (item.hidden) return true;
|
|
6079
6539
|
return false;
|
|
@@ -6111,13 +6571,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
6111
6571
|
_this2.onChange(e, item.title);
|
|
6112
6572
|
}
|
|
6113
6573
|
}, item.title);
|
|
6114
|
-
}), !!seatchDataSource.length && (/*#__PURE__*/React__default['default'].createElement("span", {
|
|
6574
|
+
}), !!seatchDataSource.length && ( /*#__PURE__*/React__default['default'].createElement("span", {
|
|
6115
6575
|
style: {
|
|
6116
6576
|
width: '144px'
|
|
6117
6577
|
}
|
|
6118
|
-
})), !seatchDataSource.length && (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
6578
|
+
})), !seatchDataSource.length && ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
6119
6579
|
className: 'sort_table_column_all_empty'
|
|
6120
|
-
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
6580
|
+
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
6121
6581
|
className: 'sort_table_column_special'
|
|
6122
6582
|
}, /*#__PURE__*/React__default['default'].createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
6123
6583
|
className: 'sort_table_column_all'
|
|
@@ -6306,7 +6766,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
|
|
|
6306
6766
|
});
|
|
6307
6767
|
};
|
|
6308
6768
|
// 格式化树选择器数据源
|
|
6309
|
-
var
|
|
6769
|
+
var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
|
|
6310
6770
|
var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
|
|
6311
6771
|
return {
|
|
6312
6772
|
title: treeDataItem[resKeyValue[1]],
|
|
@@ -6316,7 +6776,7 @@ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
|
|
|
6316
6776
|
isLeaf: !haveChildren,
|
|
6317
6777
|
disabled: haveChildren,
|
|
6318
6778
|
children: haveChildren ? treeDataItem.children.map(function (i) {
|
|
6319
|
-
return
|
|
6779
|
+
return mapSearchTree(i, resKeyValue);
|
|
6320
6780
|
}) : []
|
|
6321
6781
|
};
|
|
6322
6782
|
};
|
|
@@ -6325,7 +6785,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
|
|
|
6325
6785
|
var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
|
|
6326
6786
|
var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
|
|
6327
6787
|
var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
|
|
6328
|
-
return
|
|
6788
|
+
return mapSearchTree(ites, resKeyValue);
|
|
6329
6789
|
}) || [];
|
|
6330
6790
|
changeSearchForm[changePosition].field.props.treeData = formatData;
|
|
6331
6791
|
};
|
|
@@ -6342,7 +6802,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
|
|
|
6342
6802
|
});
|
|
6343
6803
|
};
|
|
6344
6804
|
|
|
6345
|
-
var _excluded$
|
|
6805
|
+
var _excluded$5 = ["onResize", "width"],
|
|
6346
6806
|
_excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
|
|
6347
6807
|
var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
6348
6808
|
return new Promise(function (resolve, reject) {
|
|
@@ -6362,7 +6822,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
|
6362
6822
|
var ResizeableTitle = function ResizeableTitle(props) {
|
|
6363
6823
|
var onResize = props.onResize,
|
|
6364
6824
|
width = props.width,
|
|
6365
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
6825
|
+
restProps = _objectWithoutProperties(props, _excluded$5);
|
|
6366
6826
|
if (!width) {
|
|
6367
6827
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
6368
6828
|
}
|
|
@@ -6496,7 +6956,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
6496
6956
|
var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
|
|
6497
6957
|
// FIXME: 特殊业务逻辑
|
|
6498
6958
|
var checkSelectChange = /*#__PURE__*/function () {
|
|
6499
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
|
|
6959
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
|
|
6500
6960
|
var result;
|
|
6501
6961
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6502
6962
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6749,7 +7209,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
6749
7209
|
return /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
|
|
6750
7210
|
value: text || null,
|
|
6751
7211
|
onChange: function () {
|
|
6752
|
-
var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
|
|
7212
|
+
var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
|
|
6753
7213
|
var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
|
|
6754
7214
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
6755
7215
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -7357,10 +7817,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
7357
7817
|
var newColumns = arr.map(function (col) {
|
|
7358
7818
|
return _objectSpread2({}, col);
|
|
7359
7819
|
});
|
|
7360
|
-
var
|
|
7820
|
+
var handleIndex = function handleIndex(arr, indexArr) {
|
|
7361
7821
|
var i = indexArr.shift();
|
|
7362
7822
|
if (indexArr.length > 0) {
|
|
7363
|
-
|
|
7823
|
+
handleIndex(arr[i].children, indexArr);
|
|
7364
7824
|
} else {
|
|
7365
7825
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
7366
7826
|
width: size.width
|
|
@@ -7368,7 +7828,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
7368
7828
|
handleAntdColumnsSpecialParams(arr[i]);
|
|
7369
7829
|
}
|
|
7370
7830
|
};
|
|
7371
|
-
|
|
7831
|
+
handleIndex(newColumns, _toConsumableArray(index));
|
|
7372
7832
|
callback(newColumns);
|
|
7373
7833
|
};
|
|
7374
7834
|
};
|
|
@@ -7378,13 +7838,13 @@ var AddSelect = function AddSelect(props) {
|
|
|
7378
7838
|
var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
|
|
7379
7839
|
setShowToChooseColumns(_toConsumableArray(newColumns));
|
|
7380
7840
|
};
|
|
7381
|
-
var
|
|
7841
|
+
var handleColumns = function handleColumns(arr, indexArr, callback) {
|
|
7382
7842
|
arr.forEach(function (item, index) {
|
|
7383
7843
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
7384
7844
|
return i || i === 0;
|
|
7385
7845
|
});
|
|
7386
7846
|
if (noEmptyArray$1(item.children)) {
|
|
7387
|
-
|
|
7847
|
+
handleColumns(item.children, indexArrInside);
|
|
7388
7848
|
} else {
|
|
7389
7849
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
7390
7850
|
item.onHeaderCell = function (column) {
|
|
@@ -7400,14 +7860,14 @@ var AddSelect = function AddSelect(props) {
|
|
|
7400
7860
|
handleAntdColumnsSpecialParams(item);
|
|
7401
7861
|
return _objectSpread2({}, item);
|
|
7402
7862
|
});
|
|
7403
|
-
|
|
7863
|
+
handleColumns(showToChooseCol, [], function (res) {
|
|
7404
7864
|
return setShowToChooseColumnsCallback(res);
|
|
7405
7865
|
});
|
|
7406
7866
|
var showSelectedCol = showColumns.map(function (item) {
|
|
7407
7867
|
handleAntdColumnsSpecialParams(item);
|
|
7408
7868
|
return _objectSpread2({}, item);
|
|
7409
7869
|
});
|
|
7410
|
-
|
|
7870
|
+
handleColumns(showSelectedCol, [], function (res) {
|
|
7411
7871
|
return setShowColumnsCallback(res);
|
|
7412
7872
|
});
|
|
7413
7873
|
var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
|
|
@@ -7418,7 +7878,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
7418
7878
|
id: "add_select_div_".concat(uniqueValue)
|
|
7419
7879
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Button, _objectSpread2({
|
|
7420
7880
|
onClick: handleShowModal
|
|
7421
|
-
}, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
7881
|
+
}, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
7422
7882
|
width: '1200px',
|
|
7423
7883
|
style: {
|
|
7424
7884
|
top: 20
|
|
@@ -7591,10 +8051,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
7591
8051
|
}))))));
|
|
7592
8052
|
};
|
|
7593
8053
|
|
|
7594
|
-
var css_248z$
|
|
7595
|
-
styleInject(css_248z$
|
|
8054
|
+
var css_248z$9 = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick {\n margin: 0;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_base {\n background: #fff;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_odd {\n background: #f7f8fb;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-left,\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-right {\n background: #FFFFFF !important;\n}\n";
|
|
8055
|
+
styleInject(css_248z$9);
|
|
7596
8056
|
|
|
7597
|
-
var _excluded$
|
|
8057
|
+
var _excluded$6 = ["onResize", "width"];
|
|
7598
8058
|
var _this = undefined;
|
|
7599
8059
|
var InputElement = function InputElement(_ref) {
|
|
7600
8060
|
var _record$packingUnitLi, _record$packingUnitLi2;
|
|
@@ -8092,7 +8552,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
8092
8552
|
var ResizeableTitle$1 = function ResizeableTitle(props) {
|
|
8093
8553
|
var onResize = props.onResize,
|
|
8094
8554
|
width = props.width,
|
|
8095
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
8555
|
+
restProps = _objectWithoutProperties(props, _excluded$6);
|
|
8096
8556
|
if (!width) {
|
|
8097
8557
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
8098
8558
|
}
|
|
@@ -8332,7 +8792,7 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8332
8792
|
});
|
|
8333
8793
|
};
|
|
8334
8794
|
var handleSubmit = /*#__PURE__*/function () {
|
|
8335
|
-
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
8795
|
+
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
8336
8796
|
var canEntryObject, _canEntryObject$error, messageInfo;
|
|
8337
8797
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
8338
8798
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -8415,10 +8875,10 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8415
8875
|
var newColumns = arr.map(function (col) {
|
|
8416
8876
|
return _objectSpread2({}, col);
|
|
8417
8877
|
});
|
|
8418
|
-
var
|
|
8878
|
+
var handleIndex = function handleIndex(arr, indexArr) {
|
|
8419
8879
|
var i = indexArr.shift();
|
|
8420
8880
|
if (indexArr.length > 0) {
|
|
8421
|
-
|
|
8881
|
+
handleIndex(arr[i].children, indexArr);
|
|
8422
8882
|
} else {
|
|
8423
8883
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
8424
8884
|
width: size.width
|
|
@@ -8426,17 +8886,17 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8426
8886
|
handleAntdColumnsSpecialParams(arr[i]);
|
|
8427
8887
|
}
|
|
8428
8888
|
};
|
|
8429
|
-
|
|
8889
|
+
handleIndex(newColumns, _toConsumableArray(index));
|
|
8430
8890
|
callback(newColumns);
|
|
8431
8891
|
};
|
|
8432
8892
|
};
|
|
8433
|
-
var
|
|
8893
|
+
var handleColumns = function handleColumns(arr, indexArr, callback) {
|
|
8434
8894
|
arr.forEach(function (item, index) {
|
|
8435
8895
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
8436
8896
|
return i || i === 0;
|
|
8437
8897
|
});
|
|
8438
8898
|
if (noEmptyArray$1(item.children)) {
|
|
8439
|
-
|
|
8899
|
+
handleColumns(item.children, indexArrInside);
|
|
8440
8900
|
} else {
|
|
8441
8901
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
8442
8902
|
item.onHeaderCell = function (column) {
|
|
@@ -8452,7 +8912,7 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8452
8912
|
handleAntdColumnsSpecialParams(item);
|
|
8453
8913
|
return _objectSpread2({}, item);
|
|
8454
8914
|
});
|
|
8455
|
-
|
|
8915
|
+
handleColumns(showSelectedCol, [], function (res) {
|
|
8456
8916
|
return setShowColumnsCallback(res);
|
|
8457
8917
|
});
|
|
8458
8918
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
@@ -8766,7 +9226,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8766
9226
|
});
|
|
8767
9227
|
};
|
|
8768
9228
|
// 格式化树选择器数据源
|
|
8769
|
-
var
|
|
9229
|
+
var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
|
|
8770
9230
|
var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
|
|
8771
9231
|
return {
|
|
8772
9232
|
title: treeDataItem[resKeyValue[1]],
|
|
@@ -8776,7 +9236,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8776
9236
|
isLeaf: !haveChildren,
|
|
8777
9237
|
disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
|
|
8778
9238
|
children: haveChildren ? treeDataItem.children.map(function (i) {
|
|
8779
|
-
return
|
|
9239
|
+
return mapSearchTree(i, resKeyValue, disabledJudge);
|
|
8780
9240
|
}) : []
|
|
8781
9241
|
};
|
|
8782
9242
|
};
|
|
@@ -8790,7 +9250,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
8790
9250
|
disabledJudge = false;
|
|
8791
9251
|
}
|
|
8792
9252
|
var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
|
|
8793
|
-
return
|
|
9253
|
+
return mapSearchTree(ites, resKeyValue, disabledJudge);
|
|
8794
9254
|
}) || [];
|
|
8795
9255
|
changeSearchForm[changePosition].field.props.treeData = formatData;
|
|
8796
9256
|
};
|
|
@@ -9028,7 +9488,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9028
9488
|
// 商品选择器sku
|
|
9029
9489
|
if (type === 'skuCommodity') {
|
|
9030
9490
|
requestConfig = _objectSpread2({
|
|
9031
|
-
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/
|
|
9491
|
+
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/v4"),
|
|
9032
9492
|
filter: 'skuCodeAndSkuName',
|
|
9033
9493
|
searchStartLength: 4,
|
|
9034
9494
|
mappingTextField: 'name',
|
|
@@ -9111,6 +9571,12 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9111
9571
|
}
|
|
9112
9572
|
}
|
|
9113
9573
|
}
|
|
9574
|
+
}, {
|
|
9575
|
+
name: 'UNIQUE_SPEC',
|
|
9576
|
+
label: '属性',
|
|
9577
|
+
field: {
|
|
9578
|
+
type: 'proppertySelector'
|
|
9579
|
+
}
|
|
9114
9580
|
}];
|
|
9115
9581
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
|
|
9116
9582
|
pageSize: 5000,
|
|
@@ -12840,7 +13306,7 @@ var CommodityEntry = function CommodityEntry(props) {
|
|
|
12840
13306
|
};
|
|
12841
13307
|
return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(antd.Button, _objectSpread2({
|
|
12842
13308
|
onClick: handleShowModal
|
|
12843
|
-
}, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React__default['default'].createElement(antd.Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
|
|
13309
|
+
}, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React__default['default'].createElement(antd.Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
|
|
12844
13310
|
onOk: handleOk,
|
|
12845
13311
|
onCancel: handleCancel,
|
|
12846
13312
|
destroyOnClose: true,
|
|
@@ -12904,7 +13370,7 @@ function getStorageVale(storageKeyString) {
|
|
|
12904
13370
|
return "";
|
|
12905
13371
|
}
|
|
12906
13372
|
|
|
12907
|
-
var _excluded$
|
|
13373
|
+
var _excluded$7 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
|
|
12908
13374
|
var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
12909
13375
|
var _useState = React$1.useState([]),
|
|
12910
13376
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12946,7 +13412,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12946
13412
|
} : _props$style,
|
|
12947
13413
|
getTreeData = props.getTreeData,
|
|
12948
13414
|
disabled = props.disabled,
|
|
12949
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
13415
|
+
restProps = _objectWithoutProperties(props, _excluded$7);
|
|
12950
13416
|
var url = remoteSource.url,
|
|
12951
13417
|
headers = remoteSource.headers,
|
|
12952
13418
|
_remoteSource$paramsK = remoteSource.paramsKey,
|
|
@@ -12959,7 +13425,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12959
13425
|
treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
|
|
12960
13426
|
_remoteSource$special = remoteSource.specialBracket,
|
|
12961
13427
|
specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
|
|
12962
|
-
var
|
|
13428
|
+
var mapSearchTree = function mapSearchTree(treeDataItem) {
|
|
12963
13429
|
var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
|
|
12964
13430
|
var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
|
|
12965
13431
|
return {
|
|
@@ -12971,7 +13437,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12971
13437
|
isLeaf: !haveChildren,
|
|
12972
13438
|
disabled: isDisabled(haveChildren, isRoot),
|
|
12973
13439
|
children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
|
|
12974
|
-
return
|
|
13440
|
+
return mapSearchTree(i);
|
|
12975
13441
|
}) : []
|
|
12976
13442
|
};
|
|
12977
13443
|
};
|
|
@@ -12989,8 +13455,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
12989
13455
|
var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
|
|
12990
13456
|
requestUtil.get("".concat(url, "?").concat(querystring.stringify(paramsData)), {
|
|
12991
13457
|
headers: headers
|
|
12992
|
-
}).then(/*#__PURE__*/function () {
|
|
12993
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
|
|
13458
|
+
}).then( /*#__PURE__*/function () {
|
|
13459
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
|
|
12994
13460
|
var _ctx$form;
|
|
12995
13461
|
var resData, coverData, data, dataList;
|
|
12996
13462
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -13017,7 +13483,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13017
13483
|
case 9:
|
|
13018
13484
|
dataList = data && Array.isArray(data) ? data : data && [data] || [];
|
|
13019
13485
|
coverData = dataList.length && dataList.map(function (ites) {
|
|
13020
|
-
return
|
|
13486
|
+
return mapSearchTree(ites);
|
|
13021
13487
|
}) || [];
|
|
13022
13488
|
case 11:
|
|
13023
13489
|
_context.next = 14;
|
|
@@ -13055,11 +13521,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13055
13521
|
return _formatResult;
|
|
13056
13522
|
}
|
|
13057
13523
|
};
|
|
13058
|
-
var
|
|
13524
|
+
var parallelData = function parallelData(data, result) {
|
|
13059
13525
|
data.forEach(function (i) {
|
|
13060
13526
|
result.push(i);
|
|
13061
13527
|
if (i[treeChildrenRoom]) {
|
|
13062
|
-
|
|
13528
|
+
parallelData(i[treeChildrenRoom], result);
|
|
13063
13529
|
}
|
|
13064
13530
|
});
|
|
13065
13531
|
return result;
|
|
@@ -13099,7 +13565,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13099
13565
|
var _ctx$form2;
|
|
13100
13566
|
var handleData = formatData(data);
|
|
13101
13567
|
// 获取选中树节点当条数据,并返回给调用业务
|
|
13102
|
-
var parallelTreeData =
|
|
13568
|
+
var parallelTreeData = parallelData(treeData, []);
|
|
13103
13569
|
var currentItem = getSelectItem(parallelTreeData, data);
|
|
13104
13570
|
onChange(handleData, data, currentItem, parallelTreeData);
|
|
13105
13571
|
onChangeName && onChangeName(dataName);
|
|
@@ -13142,7 +13608,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13142
13608
|
var getShowStr = function getShowStr() {
|
|
13143
13609
|
var isMultiple = multiple || treeCheckable;
|
|
13144
13610
|
var kongValue = '无';
|
|
13145
|
-
var parallelTreeData =
|
|
13611
|
+
var parallelTreeData = parallelData(treeData, []);
|
|
13146
13612
|
var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
|
|
13147
13613
|
if (isMultiple) {
|
|
13148
13614
|
return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
|
|
@@ -13154,7 +13620,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13154
13620
|
var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
|
|
13155
13621
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
13156
13622
|
className: 'tree_search_select'
|
|
13157
|
-
}, isShouldShowStr ? (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
13623
|
+
}, isShouldShowStr ? ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
13158
13624
|
title: getShowStr(),
|
|
13159
13625
|
style: {
|
|
13160
13626
|
overflow: 'hidden',
|
|
@@ -13162,7 +13628,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13162
13628
|
whiteSpace: 'nowrap'
|
|
13163
13629
|
},
|
|
13164
13630
|
className: 'search_select_show'
|
|
13165
|
-
}, getShowStr())) : (/*#__PURE__*/React__default['default'].createElement(antd.TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
13631
|
+
}, getShowStr())) : ( /*#__PURE__*/React__default['default'].createElement(antd.TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
13166
13632
|
treeCheckable: treeCheckable,
|
|
13167
13633
|
maxTagCount: maxTagCount,
|
|
13168
13634
|
showSearch: showSearch,
|
|
@@ -13331,8 +13797,8 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React__default['default'].memo(Bus
|
|
|
13331
13797
|
return true;
|
|
13332
13798
|
});
|
|
13333
13799
|
|
|
13334
|
-
var css_248z$
|
|
13335
|
-
styleInject(css_248z$
|
|
13800
|
+
var css_248z$a = ".state-flow .form-status-label {\n height: 28px;\n margin-right: 12px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.state-flow .choosed-status-label.form-status-label {\n background-color: #005CFF;\n}\n.state-flow .form-status-label:last-child {\n margin-right: 0px;\n}\n.state-flow .form-status-label:first-child::after {\n position: absolute;\n display: block;\n content: '';\n right: -28px;\n top: 0;\n width: 28px;\n height: 28px;\n border: 14px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.state-flow .choosed-status-label.form-status-label::after {\n border-left: 12px solid #005CFF;\n}\n.state-flow .choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #005CFF;\n}\n.state-flow .form-status-label:last-child::after {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 28px;\n height: 28px;\n border: 14px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.state-flow .form-status-label:first-child {\n padding-left: 10px;\n}\n.state-flow .form-status-label:not(:first-child) {\n padding-left: 15px;\n}\n.state-flow .form-status-label:not(:first-child):not(:last-child)::before {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 28px;\n height: 28px;\n border: 14px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.state-flow .form-status-label:not(:first-child):not(:last-child)::after {\n position: absolute;\n display: block;\n content: '';\n right: -28px;\n top: 0;\n width: 28px;\n height: 28px;\n border: 14px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.state-flow .status-label-index {\n display: inline-block;\n width: 24px;\n height: 24px;\n border: 1px solid #FFFFFF;\n color: #FFFFFF;\n border-radius: 50%;\n font-family: Montserrat;\n font-size: 14px;\n line-height: 24px;\n text-align: center;\n margin: 0 6px 0 20px;\n}\n.state-flow .status-label-key {\n width: auto;\n height: 100%;\n display: inline-flex;\n float: left;\n align-items: center;\n justify-content: center;\n color: #FFFFFF;\n font-size: 14px;\n}\n.state-flow .status-label-operate {\n float: left;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 12px;\n margin: 8px 0;\n margin-left: 8px;\n padding-left: 8px;\n font-size: 10px;\n border-left: 1px solid #FFFFFF;\n}\n.state-flow .status-label-operate > div {\n font-size: 12px;\n height: 12px;\n line-height: 12px;\n color: #FFFFFF;\n font-family: PingFangSC;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.state-flow .status-label-operate > div:first-child {\n font-size: 10px;\n font-weight: 400;\n}\n.state-flow .only-one-child.form-status-label::after,\n.state-flow .only-one-child.form-status-label::before {\n border-left: 0px;\n}\n";
|
|
13801
|
+
styleInject(css_248z$a);
|
|
13336
13802
|
|
|
13337
13803
|
var index$2 = (function (props) {
|
|
13338
13804
|
var _props$formStatusMapp = props.formStatusMapping,
|
|
@@ -13359,7 +13825,7 @@ var index$2 = (function (props) {
|
|
|
13359
13825
|
} : {}
|
|
13360
13826
|
}, item.text)), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
13361
13827
|
className: 'status-label-operate'
|
|
13362
|
-
}, item.isDone ? (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
13828
|
+
}, item.isDone ? ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
13363
13829
|
title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
|
|
13364
13830
|
}, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
13365
13831
|
style: {
|
|
@@ -13369,10 +13835,10 @@ var index$2 = (function (props) {
|
|
|
13369
13835
|
}));
|
|
13370
13836
|
});
|
|
13371
13837
|
|
|
13372
|
-
var css_248z$
|
|
13373
|
-
styleInject(css_248z$
|
|
13838
|
+
var css_248z$b = ".guide-wrapper .form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.guide-wrapper .form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.guide-wrapper .form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.guide-wrapper .form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.guide-wrapper .form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.guide-wrapper .white-card.bitsun-form-card-class .guidewrapper-body-wrapper {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.guide-wrapper .bitsun-form-card-class > .guidewrapper-body-wrapper {\n margin-bottom: 10px;\n}\n.guide-wrapper .bitsun-form-card-class .guidewrapper-body-wrapper {\n padding: 12px 0 0;\n background-color: #F3F3F3;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 16px;\n color: #000000;\n font-weight: 600;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #005cff;\n height: 20px;\n margin-right: 16px;\n}\n.guide-wrapper .field-group-hidden .guidewrapper-body-wrapper {\n display: none !important;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap {\n cursor: pointer;\n color: #B6B6B6;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap .bs-guidewrap-icon {\n transition: transform 0.3s;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap .bs-guidewrap-icon-toogle {\n transform: rotate(180deg);\n}\n.guidewrapper-head-wrap {\n padding-left: 16px;\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: #fff;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left {\n display: flex;\n align-items: center;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left::before {\n content: '';\n display: block;\n width: 3px;\n background: #005cff;\n height: 20px;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left .guidewrapper-head-title {\n font-weight: 500;\n font-size: 14px;\n color: #000000;\n padding: 0 6px;\n}\n.guidewrapper-head-border {\n border-bottom: 1px solid #F0F0F0;\n}\n.guidewrapper-title-extra-wrap {\n padding-left: 5px;\n}\n";
|
|
13839
|
+
styleInject(css_248z$b);
|
|
13374
13840
|
|
|
13375
|
-
var _excluded$
|
|
13841
|
+
var _excluded$8 = ["children", "titleExtra", "title", "extra", "bordered"],
|
|
13376
13842
|
_excluded2$3 = ["children"];
|
|
13377
13843
|
var Field = function Field(_ref) {
|
|
13378
13844
|
var children = _ref.children,
|
|
@@ -13380,7 +13846,7 @@ var Field = function Field(_ref) {
|
|
|
13380
13846
|
title = _ref.title,
|
|
13381
13847
|
extra = _ref.extra,
|
|
13382
13848
|
bordered = _ref.bordered,
|
|
13383
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13849
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
13384
13850
|
var _React$useState = React__default['default'].useState(true),
|
|
13385
13851
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
13386
13852
|
fieldGroupVisible = _React$useState2[0],
|
|
@@ -13504,10 +13970,10 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
13504
13970
|
})));
|
|
13505
13971
|
};
|
|
13506
13972
|
|
|
13507
|
-
var css_248z$
|
|
13508
|
-
styleInject(css_248z$
|
|
13973
|
+
var css_248z$c = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 8px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #8E8E8E;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n height: 430px;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 10px 16px;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
|
|
13974
|
+
styleInject(css_248z$c);
|
|
13509
13975
|
|
|
13510
|
-
var _excluded$
|
|
13976
|
+
var _excluded$9 = ["className", "style"];
|
|
13511
13977
|
var Search$1 = antd.Input.Search;
|
|
13512
13978
|
var DragHandle$1 = reactSortableHoc.SortableHandle(function () {
|
|
13513
13979
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
@@ -13925,7 +14391,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
13925
14391
|
_this.DraggableBodyRow = function (_ref2) {
|
|
13926
14392
|
var className = _ref2.className,
|
|
13927
14393
|
style = _ref2.style,
|
|
13928
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
14394
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$9);
|
|
13929
14395
|
var sortDataSource = _this.state.sortDataSource;
|
|
13930
14396
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
13931
14397
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -14140,7 +14606,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14140
14606
|
style: {
|
|
14141
14607
|
width: 525
|
|
14142
14608
|
}
|
|
14143
|
-
}), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && (/*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
14609
|
+
}), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
14144
14610
|
checked: !dataSource.some(function (item) {
|
|
14145
14611
|
if (item.hidden) return true;
|
|
14146
14612
|
return false;
|
|
@@ -14178,13 +14644,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14178
14644
|
_this2.onChange(e, item.title);
|
|
14179
14645
|
}
|
|
14180
14646
|
}, item.title);
|
|
14181
|
-
}), !!seatchDataSource.length && (/*#__PURE__*/React__default['default'].createElement("span", {
|
|
14647
|
+
}), !!seatchDataSource.length && ( /*#__PURE__*/React__default['default'].createElement("span", {
|
|
14182
14648
|
style: {
|
|
14183
14649
|
width: '144px'
|
|
14184
14650
|
}
|
|
14185
|
-
})), !seatchDataSource.length && (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
14651
|
+
})), !seatchDataSource.length && ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14186
14652
|
className: 'sort_table_column_all_empty'
|
|
14187
|
-
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14653
|
+
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14188
14654
|
className: 'sort_table_column_special'
|
|
14189
14655
|
}, /*#__PURE__*/React__default['default'].createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
14190
14656
|
className: 'sort_table_column_all'
|
|
@@ -14257,8 +14723,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14257
14723
|
}]);
|
|
14258
14724
|
}(React__default['default'].Component);
|
|
14259
14725
|
|
|
14260
|
-
var css_248z$
|
|
14261
|
-
styleInject(css_248z$
|
|
14726
|
+
var css_248z$d = ".table_sum_wrapper {\n position: absolute;\n overflow: hidden;\n width: 80%;\n height: 26px;\n bottom: 0;\n}\n.table_sum_wrapper .table-bssula-summary {\n height: 40px;\n right: 0;\n bottom: -20px;\n white-space: nowrap;\n overflow-x: auto;\n}\n.sum_right_line {\n position: absolute;\n right: 20%;\n bottom: 0;\n width: 16px;\n height: 26px;\n opacity: 0.32;\n transform: scaleX(-1);\n background-image: linear-gradient(270deg, #ffffff00 0%, #A4A4A4 100%);\n}\n";
|
|
14727
|
+
styleInject(css_248z$d);
|
|
14262
14728
|
|
|
14263
14729
|
//表格底部 金额总计
|
|
14264
14730
|
var TableSumComponent = (function (_ref) {
|
|
@@ -14279,7 +14745,7 @@ var TableSumComponent = (function (_ref) {
|
|
|
14279
14745
|
}));
|
|
14280
14746
|
});
|
|
14281
14747
|
|
|
14282
|
-
var _excluded$
|
|
14748
|
+
var _excluded$a = ["onResize", "width"],
|
|
14283
14749
|
_excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14284
14750
|
var Text = antd.Typography.Text;
|
|
14285
14751
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14363,10 +14829,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14363
14829
|
var newColumns = _this.state.showColumns.map(function (col) {
|
|
14364
14830
|
return _objectSpread2({}, col);
|
|
14365
14831
|
});
|
|
14366
|
-
var
|
|
14832
|
+
var handleIndex = function handleIndex(arr, indexArr) {
|
|
14367
14833
|
var i = indexArr.shift();
|
|
14368
14834
|
if (indexArr.length > 0) {
|
|
14369
|
-
|
|
14835
|
+
handleIndex(arr[i].children, indexArr);
|
|
14370
14836
|
} else {
|
|
14371
14837
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
14372
14838
|
width: size.width
|
|
@@ -14374,7 +14840,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14374
14840
|
handleBssulaColumnsSpecialParams(arr[i]);
|
|
14375
14841
|
}
|
|
14376
14842
|
};
|
|
14377
|
-
|
|
14843
|
+
handleIndex(newColumns, _toConsumableArray(index));
|
|
14378
14844
|
_this.setState({
|
|
14379
14845
|
showColumns: _toConsumableArray(newColumns)
|
|
14380
14846
|
});
|
|
@@ -14383,7 +14849,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14383
14849
|
_this.ResizeableTitle = function (props) {
|
|
14384
14850
|
var onResize = props.onResize,
|
|
14385
14851
|
width = props.width,
|
|
14386
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
14852
|
+
restProps = _objectWithoutProperties(props, _excluded$a);
|
|
14387
14853
|
var _useState = React$1.useState(width),
|
|
14388
14854
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14389
14855
|
innerWidth = _useState2[0],
|
|
@@ -14415,7 +14881,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14415
14881
|
};
|
|
14416
14882
|
setIsResizing(true);
|
|
14417
14883
|
document.addEventListener('mousemove', handleMouseMove);
|
|
14418
|
-
document.addEventListener('mouseup',
|
|
14884
|
+
document.addEventListener('mouseup', handleMouseUp);
|
|
14419
14885
|
};
|
|
14420
14886
|
var handleMouseMove = function handleMouseMove(e) {
|
|
14421
14887
|
e.stopPropagation();
|
|
@@ -14431,9 +14897,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14431
14897
|
dom.style.top = "".concat(e.clientY - 20, "px");
|
|
14432
14898
|
}
|
|
14433
14899
|
};
|
|
14434
|
-
var
|
|
14900
|
+
var handleMouseUp = function handleMouseUp(e) {
|
|
14435
14901
|
document.removeEventListener('mousemove', handleMouseMove);
|
|
14436
|
-
document.removeEventListener('mouseup',
|
|
14902
|
+
document.removeEventListener('mouseup', handleMouseUp);
|
|
14437
14903
|
setIsResizing(false);
|
|
14438
14904
|
};
|
|
14439
14905
|
var handleresize = function handleresize(e, data, title) {
|
|
@@ -14554,13 +15020,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14554
15020
|
showSummary = summary;
|
|
14555
15021
|
}
|
|
14556
15022
|
}
|
|
14557
|
-
var
|
|
15023
|
+
var handleColumns = function handleColumns(arr, indexArr) {
|
|
14558
15024
|
arr.forEach(function (item, index) {
|
|
14559
15025
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
14560
15026
|
return i || i === 0;
|
|
14561
15027
|
});
|
|
14562
15028
|
if (noEmptyArray$1(item.children)) {
|
|
14563
|
-
|
|
15029
|
+
handleColumns(item.children, indexArrInside);
|
|
14564
15030
|
} else {
|
|
14565
15031
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
14566
15032
|
item.onHeaderCell = function (column) {
|
|
@@ -14576,7 +15042,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14576
15042
|
handleBssulaColumnsSpecialParams(item);
|
|
14577
15043
|
return _objectSpread2({}, item);
|
|
14578
15044
|
});
|
|
14579
|
-
|
|
15045
|
+
handleColumns(showCol, []);
|
|
14580
15046
|
if (dynamicColumns.length) {
|
|
14581
15047
|
showCol = this.handledynamicColumns(showCol);
|
|
14582
15048
|
}
|
|
@@ -14617,14 +15083,14 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14617
15083
|
cell: this.ResizeableTitle
|
|
14618
15084
|
}
|
|
14619
15085
|
}
|
|
14620
|
-
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React__default['default'].createElement(TableSumComponent, {
|
|
15086
|
+
}, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React__default['default'].createElement(TableSumComponent, {
|
|
14621
15087
|
summary: summary
|
|
14622
15088
|
})));
|
|
14623
15089
|
}
|
|
14624
15090
|
}]);
|
|
14625
15091
|
}(React__default['default'].Component);
|
|
14626
15092
|
|
|
14627
|
-
var _excluded$
|
|
15093
|
+
var _excluded$b = ["onResize", "width"],
|
|
14628
15094
|
_excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14629
15095
|
var Text$1 = antd.Typography.Text;
|
|
14630
15096
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14714,10 +15180,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14714
15180
|
var newColumns = _this.state.showColumns.map(function (col) {
|
|
14715
15181
|
return _objectSpread2({}, col);
|
|
14716
15182
|
});
|
|
14717
|
-
var
|
|
15183
|
+
var handleIndex = function handleIndex(arr, indexArr) {
|
|
14718
15184
|
var i = indexArr.shift();
|
|
14719
15185
|
if (indexArr.length > 0) {
|
|
14720
|
-
|
|
15186
|
+
handleIndex(arr[i].children, indexArr);
|
|
14721
15187
|
} else {
|
|
14722
15188
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
14723
15189
|
width: size.width
|
|
@@ -14725,7 +15191,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14725
15191
|
handleAntdColumnsSpecialParams(arr[i]);
|
|
14726
15192
|
}
|
|
14727
15193
|
};
|
|
14728
|
-
|
|
15194
|
+
handleIndex(newColumns, _toConsumableArray(index));
|
|
14729
15195
|
_this.setState({
|
|
14730
15196
|
showColumns: _toConsumableArray(newColumns)
|
|
14731
15197
|
});
|
|
@@ -14734,7 +15200,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14734
15200
|
_this.ResizeableTitle = function (props) {
|
|
14735
15201
|
var onResize = props.onResize,
|
|
14736
15202
|
width = props.width,
|
|
14737
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15203
|
+
restProps = _objectWithoutProperties(props, _excluded$b);
|
|
14738
15204
|
if (!width) {
|
|
14739
15205
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
|
|
14740
15206
|
}
|
|
@@ -14801,13 +15267,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14801
15267
|
showSummary = summary;
|
|
14802
15268
|
}
|
|
14803
15269
|
}
|
|
14804
|
-
var
|
|
15270
|
+
var handleColumns = function handleColumns(arr, indexArr) {
|
|
14805
15271
|
arr.forEach(function (item, index) {
|
|
14806
15272
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
14807
15273
|
return i || i === 0;
|
|
14808
15274
|
});
|
|
14809
15275
|
if (noEmptyArray$1(item.children)) {
|
|
14810
|
-
|
|
15276
|
+
handleColumns(item.children, indexArrInside);
|
|
14811
15277
|
} else {
|
|
14812
15278
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
14813
15279
|
item.onHeaderCell = function (column) {
|
|
@@ -14823,7 +15289,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14823
15289
|
handleAntdColumnsSpecialParams(item);
|
|
14824
15290
|
return _objectSpread2({}, item);
|
|
14825
15291
|
});
|
|
14826
|
-
|
|
15292
|
+
handleColumns(showCol, []);
|
|
14827
15293
|
if (dynamicColumns.length) {
|
|
14828
15294
|
showCol = this.handledynamicColumns(showCol);
|
|
14829
15295
|
}
|
|
@@ -14863,7 +15329,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14863
15329
|
cell: this.ResizeableTitle
|
|
14864
15330
|
}
|
|
14865
15331
|
}
|
|
14866
|
-
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React__default['default'].createElement(TableSumComponent, {
|
|
15332
|
+
}, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React__default['default'].createElement(TableSumComponent, {
|
|
14867
15333
|
summary: summary
|
|
14868
15334
|
})));
|
|
14869
15335
|
}
|
|
@@ -14923,20 +15389,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
|
|
|
14923
15389
|
};
|
|
14924
15390
|
var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
|
|
14925
15391
|
var routerMap = {};
|
|
14926
|
-
var
|
|
15392
|
+
var flattenMenuData = function flattenMenuData(data, parent) {
|
|
14927
15393
|
var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
|
|
14928
15394
|
data.forEach(function (menuItem) {
|
|
14929
15395
|
var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
|
|
14930
15396
|
nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
|
|
14931
15397
|
});
|
|
14932
15398
|
if (newMenuItem.children) {
|
|
14933
|
-
|
|
15399
|
+
flattenMenuData(newMenuItem.children, newMenuItem);
|
|
14934
15400
|
}
|
|
14935
15401
|
// Reduce memory usage
|
|
14936
15402
|
routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
|
|
14937
15403
|
});
|
|
14938
15404
|
};
|
|
14939
|
-
|
|
15405
|
+
flattenMenuData(menuData, {});
|
|
14940
15406
|
return routerMap;
|
|
14941
15407
|
};
|
|
14942
15408
|
// mode类型判断
|
|
@@ -14997,8 +15463,8 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
|
|
|
14997
15463
|
return undefined;
|
|
14998
15464
|
};
|
|
14999
15465
|
|
|
15000
|
-
var css_248z$
|
|
15001
|
-
styleInject(css_248z$
|
|
15466
|
+
var css_248z$e = ".bs_detail_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_pre:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005cff;\n border: 1px solid #005cff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 24px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
|
|
15467
|
+
styleInject(css_248z$e);
|
|
15002
15468
|
|
|
15003
15469
|
var quanping = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%9F%A9%E5%BD%A2%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-1823.000000%2C%20-297.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%90%9C%E7%B4%A2%E7%BB%84%E4%BB%B6-%E6%A0%B7%E5%BC%8F%E4%B8%80%22%20transform%3D%22translate%28230.000000%2C%20284.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%A1%AE%E5%AE%9A%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%281593.000000%2C%2013.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.55801813%2C1%20L28.4419819%2C1%20C30.0269041%2C1%2030.6016352%2C1.16502331%2031.181059%2C1.47490258%20C31.7604829%2C1.78478186%2032.2152181%2C2.2395171%2032.5250974%2C2.81894097%20C32.8349767%2C3.39836484%2033%2C3.97309593%2033%2C5.55801813%20L33%2C28.4419819%20C33%2C30.0269041%2032.8349767%2C30.6016352%2032.5250974%2C31.181059%20C32.2152181%2C31.7604829%2031.7604829%2C32.2152181%2031.181059%2C32.5250974%20C30.6016352%2C32.8349767%2030.0269041%2C33%2028.4419819%2C33%20L5.55801813%2C33%20C3.97309593%2C33%203.39836484%2C32.8349767%202.81894097%2C32.5250974%20C2.2395171%2C32.2152181%201.78478186%2C31.7604829%201.47490258%2C31.181059%20C1.16502331%2C30.6016352%201%2C30.0269041%201%2C28.4419819%20L1%2C5.55801813%20C1%2C3.97309593%201.16502331%2C3.39836484%201.47490258%2C2.81894097%20C1.78478186%2C2.2395171%202.2395171%2C1.78478186%202.81894097%2C1.47490258%20C3.39836484%2C1.16502331%203.97309593%2C1%205.55801813%2C1%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%289.000000%2C%209.000000%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.5%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.41%20L5.21873562%2C9.69278114%20Z%20M10.7898541%2C9.72266777%20L14.499%2C13.431%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.446%2C14.5%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%20M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.499%2C2.588%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.465%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%20M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
15004
15470
|
|
|
@@ -15012,15 +15478,15 @@ var deleteIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
15012
15478
|
|
|
15013
15479
|
var moreIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%2014%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B6%E9%83%A8%E5%AF%BC%E8%88%AA%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%80%E6%96%B0%E6%A1%86%E6%9E%B6-%E4%B8%8B%E6%8B%89%E5%BC%8F%E5%B1%95%E5%BC%80%22%20transform%3D%22translate%28-1743.000000%2C%20-94.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-7%22%20transform%3D%22translate%28160.000000%2C%2050.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22tab%E5%AF%BC%E8%88%AA%E5%A4%87%E4%BB%BD-7%22%20transform%3D%22translate%280.000000%2C%2026.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-3%22%20transform%3D%22translate%281573.000000%2C%2012.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-2%22%20transform%3D%22translate%2810.000000%2C%206.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2220%22%20height%3D%2220%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%2810.500000%2C%2010.022232%29%20rotate%28-90.000000%29%20translate%28-10.500000%2C%20-10.022232%29%20%22%20points%3D%2214%204.9775377%2013.0224623%204%207%2010.0252289%2013.0220012%2016.0444635%2014%2015.0660036%208.95599763%2010.0247678%22%3E%3C%2Fpolygon%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
15014
15480
|
|
|
15015
|
-
var css_248z$
|
|
15016
|
-
styleInject(css_248z$
|
|
15481
|
+
var css_248z$f = "";
|
|
15482
|
+
styleInject(css_248z$f);
|
|
15017
15483
|
|
|
15018
|
-
var _excluded$
|
|
15484
|
+
var _excluded$c = ["message", "type"];
|
|
15019
15485
|
var CommonAlert = (function (props) {
|
|
15020
15486
|
var message = props.message,
|
|
15021
15487
|
_props$type = props.type,
|
|
15022
15488
|
type = _props$type === void 0 ? 'info' : _props$type,
|
|
15023
|
-
reset = _objectWithoutProperties(props, _excluded$
|
|
15489
|
+
reset = _objectWithoutProperties(props, _excluded$c);
|
|
15024
15490
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15025
15491
|
style: {
|
|
15026
15492
|
width: '100%',
|
|
@@ -15041,7 +15507,7 @@ var CommonAlert = (function (props) {
|
|
|
15041
15507
|
}, reset)));
|
|
15042
15508
|
});
|
|
15043
15509
|
|
|
15044
|
-
var _excluded$
|
|
15510
|
+
var _excluded$d = ["children"];
|
|
15045
15511
|
var iconMap = {
|
|
15046
15512
|
edit: /*#__PURE__*/React__default['default'].createElement("img", {
|
|
15047
15513
|
src: editIcon
|
|
@@ -15063,7 +15529,7 @@ var index$3 = (function (props) {
|
|
|
15063
15529
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15064
15530
|
id = _useState2[0];
|
|
15065
15531
|
var children = props.children,
|
|
15066
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15532
|
+
restProps = _objectWithoutProperties(props, _excluded$d);
|
|
15067
15533
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15068
15534
|
id: id,
|
|
15069
15535
|
className: 'detail_page_wrapper'
|
|
@@ -15262,7 +15728,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
15262
15728
|
display: 'flex',
|
|
15263
15729
|
gap: '8px'
|
|
15264
15730
|
}
|
|
15265
|
-
}, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React__default['default'].createElement("a", null, isFullScreen ? (/*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
15731
|
+
}, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React__default['default'].createElement("a", null, isFullScreen ? ( /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
15266
15732
|
title: "\u53D6\u6D88\u5168\u5C4F"
|
|
15267
15733
|
}, /*#__PURE__*/React__default['default'].createElement("img", {
|
|
15268
15734
|
onClick: function onClick() {
|
|
@@ -15270,7 +15736,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
15270
15736
|
},
|
|
15271
15737
|
width: 24,
|
|
15272
15738
|
src: scanning
|
|
15273
|
-
}))) : (/*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
15739
|
+
}))) : ( /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
15274
15740
|
title: "\u5168\u5C4F"
|
|
15275
15741
|
}, /*#__PURE__*/React__default['default'].createElement("img", {
|
|
15276
15742
|
onClick: function onClick() {
|
|
@@ -15278,7 +15744,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
15278
15744
|
},
|
|
15279
15745
|
width: 24,
|
|
15280
15746
|
src: quanping
|
|
15281
|
-
}))))) : null)), alertProps && (/*#__PURE__*/React__default['default'].createElement(CommonAlert, _objectSpread2({}, alertProps))));
|
|
15747
|
+
}))))) : null)), alertProps && ( /*#__PURE__*/React__default['default'].createElement(CommonAlert, _objectSpread2({}, alertProps))));
|
|
15282
15748
|
}, function (prevProps, nextProps) {
|
|
15283
15749
|
if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
|
|
15284
15750
|
return false;
|
|
@@ -15286,10 +15752,10 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
15286
15752
|
return true;
|
|
15287
15753
|
});
|
|
15288
15754
|
|
|
15289
|
-
var css_248z$
|
|
15290
|
-
styleInject(css_248z$
|
|
15755
|
+
var css_248z$g = ".bs_home_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
|
|
15756
|
+
styleInject(css_248z$g);
|
|
15291
15757
|
|
|
15292
|
-
var _excluded$
|
|
15758
|
+
var _excluded$e = ["children"];
|
|
15293
15759
|
var index$4 = (function (props) {
|
|
15294
15760
|
var _useLocation = umi.useLocation(),
|
|
15295
15761
|
pathname = _useLocation.pathname;
|
|
@@ -15297,7 +15763,7 @@ var index$4 = (function (props) {
|
|
|
15297
15763
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15298
15764
|
id = _useState2[0];
|
|
15299
15765
|
var children = props.children,
|
|
15300
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15766
|
+
restProps = _objectWithoutProperties(props, _excluded$e);
|
|
15301
15767
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15302
15768
|
id: id,
|
|
15303
15769
|
className: 'home_page_wrapper'
|
|
@@ -15363,7 +15829,7 @@ var HeaderWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
15363
15829
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
15364
15830
|
className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
|
|
15365
15831
|
}, item));
|
|
15366
|
-
}))), extra ? /*#__PURE__*/React__default['default'].createElement(antd.Space, null, extra) : ''), alertProps && (/*#__PURE__*/React__default['default'].createElement(CommonAlert, _objectSpread2({}, alertProps))));
|
|
15832
|
+
}))), extra ? /*#__PURE__*/React__default['default'].createElement(antd.Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React__default['default'].createElement(CommonAlert, _objectSpread2({}, alertProps))));
|
|
15367
15833
|
}, function (prevProps, nextProps) {
|
|
15368
15834
|
if (prevProps.title !== nextProps.title) {
|
|
15369
15835
|
return false;
|
|
@@ -15371,10 +15837,10 @@ var HeaderWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
15371
15837
|
return true;
|
|
15372
15838
|
});
|
|
15373
15839
|
|
|
15374
|
-
var css_248z$
|
|
15375
|
-
styleInject(css_248z$
|
|
15840
|
+
var css_248z$h = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 8px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #8E8E8E;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n height: 430px;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 10px 16px;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
|
|
15841
|
+
styleInject(css_248z$h);
|
|
15376
15842
|
|
|
15377
|
-
var _excluded$
|
|
15843
|
+
var _excluded$f = ["className", "style"];
|
|
15378
15844
|
var DragHandle$2 = reactSortableHoc.SortableHandle(function () {
|
|
15379
15845
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
15380
15846
|
width: 25,
|
|
@@ -15812,7 +16278,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15812
16278
|
_this.DraggableBodyRow = function (_ref2) {
|
|
15813
16279
|
var className = _ref2.className,
|
|
15814
16280
|
style = _ref2.style,
|
|
15815
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
16281
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$f);
|
|
15816
16282
|
var sortDataSource = _this.state.sortDataSource;
|
|
15817
16283
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
15818
16284
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -16003,7 +16469,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16003
16469
|
});
|
|
16004
16470
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16005
16471
|
className: 'sort_table_wrapper'
|
|
16006
|
-
}, visible && (/*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
16472
|
+
}, visible && ( /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
16007
16473
|
title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
|
|
16008
16474
|
wrapClassName: 'sort_table_wrapper',
|
|
16009
16475
|
width: 810,
|
|
@@ -16054,7 +16520,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16054
16520
|
width: 525,
|
|
16055
16521
|
height: 24
|
|
16056
16522
|
}
|
|
16057
|
-
}), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && (/*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
16523
|
+
}), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
16058
16524
|
checked: !dataSource.some(function (item) {
|
|
16059
16525
|
if (item.hidden) return true;
|
|
16060
16526
|
return false;
|
|
@@ -16108,13 +16574,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16108
16574
|
_this2.onChange(e, item.title);
|
|
16109
16575
|
}
|
|
16110
16576
|
}, item.title);
|
|
16111
|
-
}), !!seatchDataSource.length && (/*#__PURE__*/React__default['default'].createElement("span", {
|
|
16577
|
+
}), !!seatchDataSource.length && ( /*#__PURE__*/React__default['default'].createElement("span", {
|
|
16112
16578
|
style: {
|
|
16113
16579
|
width: '144px'
|
|
16114
16580
|
}
|
|
16115
|
-
})), !seatchDataSource.length && (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
16581
|
+
})), !seatchDataSource.length && ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16116
16582
|
className: 'sort_table_column_all_empty'
|
|
16117
|
-
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16583
|
+
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16118
16584
|
className: 'sort_table_column_special'
|
|
16119
16585
|
}, /*#__PURE__*/React__default['default'].createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16120
16586
|
className: 'sort_table_column_all'
|
|
@@ -16182,7 +16648,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16182
16648
|
}]);
|
|
16183
16649
|
}(React__default['default'].Component);
|
|
16184
16650
|
|
|
16185
|
-
var _excluded$
|
|
16651
|
+
var _excluded$g = ["className", "style"];
|
|
16186
16652
|
var DragHandle$3 = reactSortableHoc.SortableHandle(function () {
|
|
16187
16653
|
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
16188
16654
|
width: 25,
|
|
@@ -16435,7 +16901,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16435
16901
|
_this.DraggableBodyRow = function (_ref2) {
|
|
16436
16902
|
var className = _ref2.className,
|
|
16437
16903
|
style = _ref2.style,
|
|
16438
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
16904
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$g);
|
|
16439
16905
|
var sortDataSource = _this.state.sortDataSource;
|
|
16440
16906
|
var index = sortDataSource.findIndex(function (x) {
|
|
16441
16907
|
return x.name === restProps['data-row-key'];
|
|
@@ -16588,7 +17054,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16588
17054
|
});
|
|
16589
17055
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16590
17056
|
className: 'sort_table_wrapper'
|
|
16591
|
-
}, visible && (/*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
17057
|
+
}, visible && ( /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
16592
17058
|
title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
|
|
16593
17059
|
wrapClassName: 'sort_table_wrapper',
|
|
16594
17060
|
width: 820,
|
|
@@ -16633,7 +17099,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16633
17099
|
style: {
|
|
16634
17100
|
width: 525
|
|
16635
17101
|
}
|
|
16636
|
-
}), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && (/*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
17102
|
+
}), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
|
16637
17103
|
checked: !dataSource.some(function (item) {
|
|
16638
17104
|
if (item.hidden) return true;
|
|
16639
17105
|
return false;
|
|
@@ -16669,11 +17135,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16669
17135
|
_this2.onChange(e, item.name);
|
|
16670
17136
|
}
|
|
16671
17137
|
}, item.label);
|
|
16672
|
-
}), !!newSearchSource.length && (/*#__PURE__*/React__default['default'].createElement("span", {
|
|
17138
|
+
}), !!newSearchSource.length && ( /*#__PURE__*/React__default['default'].createElement("span", {
|
|
16673
17139
|
style: {
|
|
16674
17140
|
width: '144px'
|
|
16675
17141
|
}
|
|
16676
|
-
})), !newSearchSource.length && (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
17142
|
+
})), !newSearchSource.length && ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16677
17143
|
className: 'sort_table_column_all_empty'
|
|
16678
17144
|
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
16679
17145
|
className: 'sort_table_content_wrapper'
|
|
@@ -16731,16 +17197,16 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16731
17197
|
}]);
|
|
16732
17198
|
}(React__default['default'].Component);
|
|
16733
17199
|
|
|
16734
|
-
var css_248z$
|
|
16735
|
-
styleInject(css_248z$
|
|
17200
|
+
var css_248z$i = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
|
|
17201
|
+
styleInject(css_248z$i);
|
|
16736
17202
|
|
|
16737
|
-
var _excluded$
|
|
17203
|
+
var _excluded$h = ["onResize", "width"];
|
|
16738
17204
|
var MemoQueryTable = /*#__PURE__*/React__default['default'].memo(bssula.QueryTable);
|
|
16739
17205
|
var Text$2 = antd.Typography.Text;
|
|
16740
17206
|
var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
16741
17207
|
var onResize = props.onResize,
|
|
16742
17208
|
width = props.width,
|
|
16743
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
17209
|
+
restProps = _objectWithoutProperties(props, _excluded$h);
|
|
16744
17210
|
var _useState = React$1.useState(width),
|
|
16745
17211
|
_useState2 = _slicedToArray(_useState, 2),
|
|
16746
17212
|
innerWidth = _useState2[0],
|
|
@@ -16772,7 +17238,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
|
16772
17238
|
};
|
|
16773
17239
|
setIsResizing(true);
|
|
16774
17240
|
document.addEventListener('mousemove', handleMouseMove);
|
|
16775
|
-
document.addEventListener('mouseup',
|
|
17241
|
+
document.addEventListener('mouseup', handleMouseUp);
|
|
16776
17242
|
};
|
|
16777
17243
|
var handleMouseMove = function handleMouseMove(e) {
|
|
16778
17244
|
e.stopPropagation();
|
|
@@ -16788,9 +17254,9 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
|
16788
17254
|
dom.style.top = "".concat(e.clientY - 20, "px");
|
|
16789
17255
|
}
|
|
16790
17256
|
};
|
|
16791
|
-
var
|
|
17257
|
+
var handleMouseUp = function handleMouseUp(e) {
|
|
16792
17258
|
document.removeEventListener('mousemove', handleMouseMove);
|
|
16793
|
-
document.removeEventListener('mouseup',
|
|
17259
|
+
document.removeEventListener('mouseup', handleMouseUp);
|
|
16794
17260
|
setIsResizing(false);
|
|
16795
17261
|
};
|
|
16796
17262
|
var handleresize = function handleresize(e, data, title) {
|
|
@@ -17201,7 +17667,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17201
17667
|
actionsRender = actionsRender.concat([{
|
|
17202
17668
|
type: 'text',
|
|
17203
17669
|
props: {
|
|
17204
|
-
children: (/*#__PURE__*/React__default['default'].createElement(ExportIcon, {
|
|
17670
|
+
children: ( /*#__PURE__*/React__default['default'].createElement(ExportIcon, {
|
|
17205
17671
|
request: {
|
|
17206
17672
|
url: (value === null || value === void 0 ? void 0 : (_value$exportConfig2 = value.exportConfig) === null || _value$exportConfig2 === void 0 ? void 0 : _value$exportConfig2.url) || "/oms-ops/excel/exportAsync/".concat(value === null || value === void 0 ? void 0 : (_value$exportConfig3 = value.exportConfig) === null || _value$exportConfig3 === void 0 ? void 0 : _value$exportConfig3.type),
|
|
17207
17673
|
params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
|
|
@@ -17447,7 +17913,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17447
17913
|
datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
|
|
17448
17914
|
bsTableCode: bsTableCode,
|
|
17449
17915
|
onlyModal: true
|
|
17450
|
-
}), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && (/*#__PURE__*/React__default['default'].createElement(SortableTable$1, {
|
|
17916
|
+
}), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && ( /*#__PURE__*/React__default['default'].createElement(SortableTable$1, {
|
|
17451
17917
|
ref: exportTableRef,
|
|
17452
17918
|
setShowColumns: setShowExportColumns,
|
|
17453
17919
|
setInitialTableInfo: setInitialTableInfo,
|
|
@@ -17458,8 +17924,8 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17458
17924
|
})));
|
|
17459
17925
|
});
|
|
17460
17926
|
|
|
17461
|
-
var css_248z$
|
|
17462
|
-
styleInject(css_248z$
|
|
17927
|
+
var css_248z$j = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.allFunsList {\n margin-bottom: 10px;\n}\n.isClons {\n position: relative;\n left: -8px;\n width: 30px;\n height: 36px;\n}\n.drawerWarp {\n -moz-column-count: 3;\n column-count: 3;\n}\n.allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n.searchTop {\n display: flex;\n align-items: center;\n}\n.searchTopInp {\n width: 528px;\n height: 40px;\n background: #f8f9fa;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n.searchTopInp .ant-input {\n background: #f8f9fa;\n}\n.searchTopBtn {\n position: relative;\n left: -1px;\n width: 92px;\n height: 40px;\n background: #005cff;\n border-radius: 0px 4px 4px 0px;\n}\n.contentWarp {\n margin-top: 54px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #005CFF;\n}\n.serachView {\n margin-top: 36px;\n margin-bottom: 32px;\n}\n.content {\n display: flex;\n flex-wrap: wrap;\n}\n.content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.content div:hover {\n cursor: pointer;\n}\n";
|
|
17928
|
+
styleInject(css_248z$j);
|
|
17463
17929
|
|
|
17464
17930
|
var cache = {};
|
|
17465
17931
|
var cacheLimit = 10000;
|
|
@@ -17540,11 +18006,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
|
|
|
17540
18006
|
var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
|
|
17541
18007
|
var resultList = [];
|
|
17542
18008
|
var newRouter = cloneDeep__default['default'](router);
|
|
17543
|
-
var
|
|
18009
|
+
var deep = function deep(router) {
|
|
17544
18010
|
if (router && Array.isArray(router)) {
|
|
17545
18011
|
router.forEach(function (item) {
|
|
17546
18012
|
if (item.children && Array.isArray(item.children)) {
|
|
17547
|
-
|
|
18013
|
+
deep(item.children);
|
|
17548
18014
|
} else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
|
|
17549
18015
|
return d === item.code;
|
|
17550
18016
|
})) {
|
|
@@ -17558,10 +18024,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
|
|
|
17558
18024
|
resultList.push(_objectSpread2({}, router));
|
|
17559
18025
|
}
|
|
17560
18026
|
};
|
|
17561
|
-
|
|
18027
|
+
deep(newRouter);
|
|
17562
18028
|
callBack([].concat(resultList));
|
|
17563
18029
|
};
|
|
17564
|
-
var
|
|
18030
|
+
var setMenuTreeData = function setMenuTreeData(routesData) {
|
|
17565
18031
|
var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
|
|
17566
18032
|
var _loop = function _loop(i) {
|
|
17567
18033
|
if (routesData[i].hideInMenu) {
|
|
@@ -17575,7 +18041,7 @@ var _setMenuTreeData = function setMenuTreeData(routesData) {
|
|
|
17575
18041
|
return 0; // continue
|
|
17576
18042
|
}
|
|
17577
18043
|
if (routesData[i].children) {
|
|
17578
|
-
|
|
18044
|
+
setMenuTreeData(routesData[i].children);
|
|
17579
18045
|
}
|
|
17580
18046
|
},
|
|
17581
18047
|
_ret;
|
|
@@ -17596,16 +18062,16 @@ var setLoginOutPath = function setLoginOutPath() {
|
|
|
17596
18062
|
};
|
|
17597
18063
|
var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
|
|
17598
18064
|
var routerMap = {};
|
|
17599
|
-
var
|
|
18065
|
+
var flattenMenuData = function flattenMenuData(data) {
|
|
17600
18066
|
data.forEach(function (menuItem) {
|
|
17601
18067
|
if (menuItem.children) {
|
|
17602
|
-
|
|
18068
|
+
flattenMenuData(menuItem.children);
|
|
17603
18069
|
}
|
|
17604
18070
|
// Reduce memory usage
|
|
17605
18071
|
routerMap[menuItem.path] = menuItem;
|
|
17606
18072
|
});
|
|
17607
18073
|
};
|
|
17608
|
-
|
|
18074
|
+
flattenMenuData(menuData);
|
|
17609
18075
|
return routerMap;
|
|
17610
18076
|
};
|
|
17611
18077
|
var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
|
|
@@ -17715,8 +18181,8 @@ var AllFunc = function AllFunc(props) {
|
|
|
17715
18181
|
})))));
|
|
17716
18182
|
};
|
|
17717
18183
|
|
|
17718
|
-
var css_248z$
|
|
17719
|
-
styleInject(css_248z$
|
|
18184
|
+
var css_248z$k = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.warp_allfunc {\n z-index: 100;\n}\n.warp_allfunc .drawerWarp {\n -moz-column-count: 4;\n column-count: 4;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 40px;\n border: 0px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header b {\n width: 100%;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.warp_allfunc .drawer_header_warp .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.warp_allfunc .p {\n color: #b1bad4;\n font-weight: 400;\n font-size: 12px;\n margin-bottom: 10px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n opacity: 0.8;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n text-align: center;\n margin-left: 8px;\n}\n.warp_allfunc .btn {\n display: flex;\n align-items: center;\n height: 44px;\n color: #b1bad4;\n background: #10234c;\n border-radius: 8px;\n width: 130px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.warp_allfunc .btn:hover,\n.warp_allfunc .btnSpan1:hover,\n.warp_allfunc .btnSpan2:hover {\n cursor: pointer;\n color: #b1bad4;\n}\n.warp_allfunc .btnSpan1 {\n margin: 0 7px;\n}\n.allfunc_drawcontent .allFunsList {\n margin-bottom: 10px;\n}\n.allfunc_drawcontent .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.allfunc_drawcontent .drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n";
|
|
18185
|
+
styleInject(css_248z$k);
|
|
17720
18186
|
|
|
17721
18187
|
var allfunc = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Eicon%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B7%A6%E4%BE%A7%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-20.000000%2C%20-1016.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%280.000000%2C%2060.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%280.000000%2C%20900.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9F%A5%E7%9C%8B%E5%85%A8%E9%83%A8%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%2810.000000%2C%2046.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22icon%22%20transform%3D%22translate%2810.000000%2C%2010.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22navigation-icon-allfunctions%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22category%22%20mask%3D%22url%28%23mask-2%29%22%20fill%3D%22%23B1BAD4%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%283.000000%2C%205.000000%29%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.24999999%2C12.3585414%20L2.24999999%2C14%20L0%2C14%20L0%2C12.3585414%20L2.24999999%2C12.3585414%20Z%20M18%2C12.3585414%20L18%2C14%20L3.375%2C14%20L3.375%2C12.3585414%20L18%2C12.3585414%20Z%20M2.24999999%2C6.17954431%20L2.24999999%2C7.82100286%20L0%2C7.82100286%20L0%2C6.17954431%20L2.24999999%2C6.17954431%20L2.24999999%2C6.17954431%20Z%20M18%2C6.17954431%20L18%2C7.82100286%20L3.375%2C7.82100286%20L3.375%2C6.17954431%20L18%2C6.17954431%20L18%2C6.17954431%20Z%20M2.24999999%2C0%20L2.24999999%2C1.64145855%20L0%2C1.64145855%20L0%2C0%20L2.24999999%2C0%20L2.24999999%2C0%20Z%20M18%2C0%20L18%2C1.64145855%20L3.375%2C1.64145855%20L3.375%2C0%20L18%2C0%20L18%2C0%20Z%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
17722
18188
|
|
|
@@ -17751,7 +18217,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
17751
18217
|
sethomepageData(homepageDataList);
|
|
17752
18218
|
setroutesData(routesDataList);
|
|
17753
18219
|
}, []);
|
|
17754
|
-
var
|
|
18220
|
+
var renderChildItem = function renderChildItem(child) {
|
|
17755
18221
|
if (!child.hideInMenu && child.children) {
|
|
17756
18222
|
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.List.Item, {
|
|
17757
18223
|
style: {
|
|
@@ -17761,7 +18227,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
17761
18227
|
}, umi.formatMessage({
|
|
17762
18228
|
id: "".concat(child.locale)
|
|
17763
18229
|
})), child.children.map(function (menuItem) {
|
|
17764
|
-
return
|
|
18230
|
+
return renderChildItem(menuItem);
|
|
17765
18231
|
}));
|
|
17766
18232
|
} else if (!child.hideInMenu && child.path) {
|
|
17767
18233
|
return /*#__PURE__*/React__default['default'].createElement(antd.List.Item, {
|
|
@@ -17796,7 +18262,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
17796
18262
|
className: 'drawerWarp'
|
|
17797
18263
|
}, homepageData && homepageData.filter(function (d) {
|
|
17798
18264
|
return !d.hideInMenu;
|
|
17799
|
-
}).length > 0 && (/*#__PURE__*/React__default['default'].createElement(antd.List, {
|
|
18265
|
+
}).length > 0 && ( /*#__PURE__*/React__default['default'].createElement(antd.List, {
|
|
17800
18266
|
className: classNames__default['default']('allFunsList', 'allFunsListWarp'),
|
|
17801
18267
|
dataSource: homepageData,
|
|
17802
18268
|
renderItem: function renderItem(child) {
|
|
@@ -17831,7 +18297,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
17831
18297
|
bordered: true,
|
|
17832
18298
|
dataSource: item.children,
|
|
17833
18299
|
renderItem: function renderItem(child) {
|
|
17834
|
-
return
|
|
18300
|
+
return renderChildItem(child);
|
|
17835
18301
|
}
|
|
17836
18302
|
});
|
|
17837
18303
|
})));
|
|
@@ -17891,7 +18357,7 @@ var AllFunc$1 = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
17891
18357
|
src: allfunc
|
|
17892
18358
|
})), /*#__PURE__*/React__default['default'].createElement("span", {
|
|
17893
18359
|
className: 'btnSpan2'
|
|
17894
|
-
}, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
|
|
18360
|
+
}, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
|
|
17895
18361
|
style: {
|
|
17896
18362
|
left: isDrawer ? 140 : 0,
|
|
17897
18363
|
top: 50
|
|
@@ -17924,8 +18390,8 @@ var i18n = {
|
|
|
17924
18390
|
}
|
|
17925
18391
|
};
|
|
17926
18392
|
|
|
17927
|
-
var css_248z$
|
|
17928
|
-
styleInject(css_248z$
|
|
18393
|
+
var css_248z$l = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.rcom_right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.rcom_right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.rcom_right .action > span {\n vertical-align: middle;\n}\n.rcom_right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .search {\n padding: 0 12px;\n}\n.rcom_right .search:hover {\n background: transparent;\n}\n.rcom_right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.rcom_right .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_dark .action:hover {\n background: #252a3d;\n}\n.rcom_dark .action .opened {\n background: #252a3d;\n}\n.rcom_dark .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_imgWap {\n position: relative;\n display: flex;\n align-items: center;\n}\n.rcom_imgWap .rcom_headLine {\n width: 1px;\n height: 16px;\n margin-right: 20px;\n background: #cacaca;\n}\n.rcom_imgWap img {\n width: 22px;\n height: 22px;\n margin-right: 20px;\n}\n.rcom_userWarp {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 142px;\n height: 35px;\n margin-right: 10px;\n border: 1px solid #c8c8c8;\n border-radius: 4px;\n}\n.rcom_userWarp .rcom_l {\n margin-left: 4px;\n}\n.rcom_userWarp .rcom_l img {\n margin-right: 0;\n width: 36px;\n height: 36px;\n}\n.rcom_userWarp .rcom_c {\n display: flex;\n flex-direction: column;\n}\n.rcom_userWarp .rcom_c .rcom_ct {\n color: #000000;\n font-weight: 500;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_c .rcom_cb {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 10px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_r {\n margin-right: 9px;\n}\n.rcom_.userWarp:hover,\n.rcom_c:hover,\n.rcom_l:hover,\n.rcom_r:hover {\n cursor: pointer;\n}\n.userDownWarp {\n width: 217px;\n margin-top: 4px;\n background: #ffffff;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n}\n.userDownWarp .userDownTop {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 155px;\n padding: 20px 0;\n border-bottom: 1px solid #d9d9d9;\n}\n.userDownWarp .userDownTop .userDownTopT {\n width: 68px;\n height: 68px;\n border-radius: 50%;\n}\n.userDownWarp .userDownTop .userDownTopC {\n color: #000000;\n font-weight: 500;\n font-size: 14px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 26px;\n text-align: center;\n}\n.userDownWarp .userDownTop .userDownTopB {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 15px;\n text-align: center;\n}\n.userDownWarp .userDownB .userDownBList,\n.userDownWarp .userDownB .userDownOut {\n display: flex;\n align-items: center;\n height: 36px;\n background: #ffffff;\n border-bottom: 1px solid #f3f3f3;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label,\n.userDownWarp .userDownB .userDownOut .rcom_label {\n margin: 0 4px 0 20px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label img,\n.userDownWarp .userDownB .userDownOut .rcom_label img {\n width: 16px;\n height: 16px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_name,\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #000000;\n font-weight: 400;\n font-size: 12px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n}\n.userDownWarp .userDownB .userDownBList:hover,\n.userDownWarp .userDownB .userDownOut:hover {\n cursor: pointer;\n}\n.userDownWarp .userDownB .userDownOut {\n height: 46px;\n border-bottom: none;\n}\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #fe0300;\n}\n";
|
|
18394
|
+
styleInject(css_248z$l);
|
|
17929
18395
|
|
|
17930
18396
|
var Morentouxiang = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2240px%22%20height%3D%2240px%22%20viewBox%3D%220%200%2040%2040%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E32%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Ccircle%20id%3D%22path-1%22%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2213%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%3Cfilter%20x%3D%22-40.4%25%22%20y%3D%22-40.4%25%22%20width%3D%22180.8%25%22%20height%3D%22180.8%25%22%20filterUnits%3D%22objectBoundingBox%22%20id%3D%22filter-2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeOffset%20dx%3D%220%22%20dy%3D%220%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetOuter1%22%3E%3C%2FfeOffset%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%223.5%22%20in%3D%22shadowOffsetOuter1%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeGaussianBlur%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeComposite%20in%3D%22shadowBlurOuter1%22%20in2%3D%22SourceAlpha%22%20operator%3D%22out%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeComposite%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20values%3D%220%200%200%200%200.949019608%20%20%200%200%200%200%200.949019608%20%20%200%200%200%200%200.949019608%20%200%200%200%201%200%22%20type%3D%22matrix%22%20in%3D%22shadowBlurOuter1%22%3E%3C%2FfeColorMatrix%3E%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22-----6.1-%E9%BB%98%E8%AE%A4%E5%9B%BE%E7%89%87%2F-Default-picture%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22B-Design-%E4%BD%93%E9%AA%8C%E8%A7%84%E8%8C%83%22%20transform%3D%22translate%28-1119.000000%2C%20-988.000000%29%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%2232%22%20transform%3D%22translate%281126.000000%2C%20995.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%9C%86%E5%BD%A2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22black%22%20fill-opacity%3D%221%22%20filter%3D%22url%28%23filter-2%29%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%220.8328125%22%20stroke-linejoin%3D%22square%22%20fill%3D%22%23EDF4FF%22%20fill-rule%3D%22evenodd%22%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2212.5835938%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M15.644709%2C13.6190476%20L18.9119048%2C15.0892857%20L18.9119048%2C19.5%20L7.15%2C19.5%20L7.15%2C15.0892857%20L10.4171958%2C13.6190476%20L15.644709%2C13.6190476%20Z%20M16.1261905%2C16.4047619%20L13.65%2C16.4047619%20L13.65%2C17.6428571%20L16.1261905%2C17.6428571%20L16.1261905%2C16.4047619%20Z%20M13.1857143%2C6.5%20C14.9806397%2C6.5%2016.4357143%2C7.95507456%2016.4357143%2C9.75%20C16.4357143%2C11.5449254%2014.9806397%2C13%2013.1857143%2C13%20C11.3907888%2C13%209.93571429%2C11.5449254%209.93571429%2C9.75%20C9.93571429%2C7.95507456%2011.3907888%2C6.5%2013.1857143%2C6.5%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%239AC4FF%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
17931
18397
|
|
|
@@ -17937,7 +18403,7 @@ function outLogin(_x) {
|
|
|
17937
18403
|
return _outLogin.apply(this, arguments);
|
|
17938
18404
|
}
|
|
17939
18405
|
function _outLogin() {
|
|
17940
|
-
_outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
18406
|
+
_outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
17941
18407
|
var res;
|
|
17942
18408
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
17943
18409
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -18079,7 +18545,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
|
|
|
18079
18545
|
});
|
|
18080
18546
|
};
|
|
18081
18547
|
var loginOut = /*#__PURE__*/function () {
|
|
18082
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
18548
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
18083
18549
|
var sessionId;
|
|
18084
18550
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
18085
18551
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -18183,7 +18649,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
|
|
|
18183
18649
|
marginRight: '0px'
|
|
18184
18650
|
},
|
|
18185
18651
|
src: './xialajiantou-new.svg'
|
|
18186
|
-
}))))), loginModalParams.visible && (/*#__PURE__*/React__default['default'].createElement(LoginModal, _objectSpread2({}, loginModalParams))));
|
|
18652
|
+
}))))), loginModalParams.visible && ( /*#__PURE__*/React__default['default'].createElement(LoginModal, _objectSpread2({}, loginModalParams))));
|
|
18187
18653
|
};
|
|
18188
18654
|
|
|
18189
18655
|
// -- 查询店铺 --
|
|
@@ -18191,7 +18657,7 @@ function getStoreByName(_x) {
|
|
|
18191
18657
|
return _getStoreByName.apply(this, arguments);
|
|
18192
18658
|
}
|
|
18193
18659
|
function _getStoreByName() {
|
|
18194
|
-
_getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
18660
|
+
_getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
18195
18661
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
18196
18662
|
while (1) switch (_context.prev = _context.next) {
|
|
18197
18663
|
case 0:
|
|
@@ -18259,7 +18725,7 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18259
18725
|
return _fetchUserList.apply(this, arguments);
|
|
18260
18726
|
}
|
|
18261
18727
|
function _fetchUserList() {
|
|
18262
|
-
_fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
|
|
18728
|
+
_fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
|
|
18263
18729
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
18264
18730
|
while (1) switch (_context3.prev = _context3.next) {
|
|
18265
18731
|
case 0:
|
|
@@ -18307,7 +18773,7 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18307
18773
|
return debounce__default['default'](loadOptions, debounceTimeout);
|
|
18308
18774
|
}, [debounceTimeout, key]);
|
|
18309
18775
|
var changeInput = /*#__PURE__*/function () {
|
|
18310
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
|
|
18776
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
|
|
18311
18777
|
var res;
|
|
18312
18778
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
18313
18779
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -18329,7 +18795,7 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18329
18795
|
};
|
|
18330
18796
|
}();
|
|
18331
18797
|
React$1.useEffect(function () {
|
|
18332
|
-
_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
18798
|
+
_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
18333
18799
|
var res;
|
|
18334
18800
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
18335
18801
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -18455,8 +18921,8 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18455
18921
|
}))))));
|
|
18456
18922
|
};
|
|
18457
18923
|
|
|
18458
|
-
var css_248z$
|
|
18459
|
-
styleInject(css_248z$
|
|
18924
|
+
var css_248z$m = ".headerContent {\n position: relative;\n display: flex;\n align-items: center;\n height: 100%;\n background: #F3F3F3;\n box-shadow: 0 1px 4px #EBECEC;\n padding-left: 47px;\n}\n.navigationBtn {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n border-radius: 5px;\n margin-right: 15px;\n padding: 0 10px;\n background-color: #F4F6F7;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.5);\n}\n.navigationBtn:hover {\n border-color: #297eff;\n border-right-width: 1px;\n z-index: 1;\n}\n.headerContent {\n background-color: #ffffff;\n}\n.headerContent .ant-input-affix-wrapper,\n.headerContent .ant-input {\n color: rgba(0, 0, 0, 0.5);\n}\n.searchPanel {\n position: absolute;\n top: 36;\n left: 0;\n min-width: 268px;\n height: 220px;\n box-shadow: 0 1px 4px #EBECEC;\n background-color: #FFFFFF;\n overflow-y: auto;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n padding: 0 10px;\n}\n.searchTitle {\n margin-top: 20px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #005cff;\n}\n.itemPath {\n height: 30px;\n line-height: 30px;\n width: 100%;\n cursor: pointer;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.itemPath:hover {\n background-color: #E6EEFF;\n}\n";
|
|
18925
|
+
styleInject(css_248z$m);
|
|
18460
18926
|
|
|
18461
18927
|
var judgeIsEmpty$2 = function judgeIsEmpty(value) {
|
|
18462
18928
|
if (value == null || value == undefined || String(value).trim() == '') {
|
|
@@ -18494,7 +18960,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18494
18960
|
var resultList = [];
|
|
18495
18961
|
var newRouter = _.cloneDeep(router);
|
|
18496
18962
|
var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
|
|
18497
|
-
var
|
|
18963
|
+
var deep = function deep(router) {
|
|
18498
18964
|
if (router && Array.isArray(router)) {
|
|
18499
18965
|
router.forEach(function (item) {
|
|
18500
18966
|
if (item.routes && Array.isArray(item.routes)) {
|
|
@@ -18504,7 +18970,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18504
18970
|
d.nameEdit = true;
|
|
18505
18971
|
}
|
|
18506
18972
|
});
|
|
18507
|
-
|
|
18973
|
+
deep(item.routes);
|
|
18508
18974
|
} else if (!item.hideInMenu && (name ? umi.formatMessage({
|
|
18509
18975
|
id: "menu.".concat(item.name)
|
|
18510
18976
|
}).indexOf(name) !== -1 : true)) {
|
|
@@ -18523,7 +18989,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18523
18989
|
}));
|
|
18524
18990
|
}
|
|
18525
18991
|
};
|
|
18526
|
-
|
|
18992
|
+
deep(newRouter);
|
|
18527
18993
|
setroutesData([].concat(resultList));
|
|
18528
18994
|
};
|
|
18529
18995
|
var renderLineStyl = function renderLineStyl(name) {
|
|
@@ -18605,22 +19071,22 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18605
19071
|
},
|
|
18606
19072
|
title: item.fullPathName
|
|
18607
19073
|
}, renderLineStyl(item.fullPathName));
|
|
18608
|
-
}))))), showSelectStore && (/*#__PURE__*/React__default['default'].createElement(ChooseStore, {
|
|
19074
|
+
}))))), showSelectStore && ( /*#__PURE__*/React__default['default'].createElement(ChooseStore, {
|
|
18609
19075
|
employeeCode: employeeCode
|
|
18610
19076
|
})), /*#__PURE__*/React__default['default'].createElement(GlobalHeaderRight, null));
|
|
18611
19077
|
};
|
|
18612
19078
|
|
|
18613
19079
|
var addIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%2014%401x%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B7%A6%E4%BE%A7%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-21.000000%2C%20-71.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%280.000000%2C%2060.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-15%22%20transform%3D%22translate%2821.000000%2C%2010.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-14%22%20transform%3D%22translate%280.000000%2C%201.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%284.000000%2C%204.000000%29%22%20fill%3D%22%23B1BAD4%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M8%2C0%20C12.4183529%2C0%2016%2C3.58164706%2016%2C8%20C16%2C12.4183529%2012.4183529%2C16%208%2C16%20C3.58164706%2C16%200%2C12.4183529%200%2C8%20C0%2C3.58164706%203.58164706%2C0%208%2C0%20Z%20M8%2C1.4117647%20C4.36141178%2C1.4117647%201.4117647%2C4.36141175%201.4117647%2C8%20C1.4117647%2C11.6385882%204.36141175%2C14.5882353%208%2C14.5882353%20C11.6385882%2C14.5882353%2014.5882353%2C11.6385882%2014.5882353%2C8%20C14.5882353%2C4.36141175%2011.6385882%2C1.4117647%208%2C1.4117647%20Z%20M8.70588235%2C3.76470589%20L8.70588235%2C7.29411765%20L12.2352941%2C7.29411765%20L12.2352941%2C8.70588235%20L8.70588235%2C8.70588235%20L8.70588235%2C12.2352941%20L7.29411765%2C12.2352941%20L7.29411765%2C8.70541177%20L3.76470589%2C8.70588235%20L3.76470589%2C7.29411765%20L7.29411765%2C7.29364707%20L7.29411765%2C3.76470589%20L8.70588235%2C3.76470589%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
18614
19080
|
|
|
18615
|
-
var css_248z$
|
|
18616
|
-
styleInject(css_248z$
|
|
19081
|
+
var css_248z$n = ".setting_content > div {\n width: 50%;\n box-sizing: border-box;\n margin: 0 10px;\n}\n.setting_content {\n display: flex;\n}\n.tree_title {\n height: 50px;\n}\n.tree_content {\n height: 400px;\n overflow: auto;\n border: 1px solid #d9d9d9;\n padding: 5px;\n}\n.setting_content::after {\n clear: both;\n display: block;\n content: '';\n}\n.choosed_label_color {\n color: #f50;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n flex-grow: 1;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper .ant-tree-title {\n width: 100%;\n}\n.left_tree_content .ant-tree .ant-tree-treenode {\n width: 100%;\n}\n.right_tree_content .ant-tree .ant-tree-node-content-wrapper,\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n display: flex;\n margin-left: -3px;\n}\n.right_tree_content .ant-tree-checkbox,\n.left_tree_content .ant-tree-checkbox {\n top: auto;\n top: initial;\n}\n.node_title_content:hover .right_arrow {\n display: block !important;\n}\n.right_arrow {\n float: right;\n display: none;\n color: #999999;\n margin-right: 10px;\n}\n.right_tree_content .ant-tree-title {\n width: 100%;\n display: inline-block;\n padding-right: 10px;\n}\n.right_tree_content .ant-dropdown-trigger {\n color: gray !important;\n}\n.right_tree_content .tree_node_title {\n font-size: 20px;\n color: #d9d9d9;\n float: right;\n}\n.right_tree_content .tree_node_title span {\n margin-right: 5px;\n}\n";
|
|
19082
|
+
styleInject(css_248z$n);
|
|
18617
19083
|
|
|
18618
19084
|
var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%20186%E5%A4%87%E4%BB%BD%203%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E8%87%AA%E5%AE%9A%E4%B9%89%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-949.000000%2C%20-484.000000%29%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%22%20transform%3D%22translate%28534.000000%2C%20180.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%B1%BB%E7%9B%AE%E4%B8%80%E5%A4%87%E4%BB%BD-101%22%20transform%3D%22translate%2831.000000%2C%20298.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-186%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%28384.000000%2C%206.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-132%E5%A4%87%E4%BB%BD-85%22%20opacity%3D%220%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M24%2C0%20L24%2C24%20L0%2C24%20L0%2C0%20L24%2C0%20Z%20M23.765625%2C0.234375%20L0.234375%2C0.234375%20L0.234375%2C23.765625%20L23.765625%2C23.765625%20L23.765625%2C0.234375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-235%22%20fill%3D%22%23979797%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M21.39%2C2.64%20L21.39%2C21.39%20L2.64%2C21.39%20L2.64%2C2.64%20L21.39%2C2.64%20Z%20M21.155625%2C2.874375%20L2.874375%2C2.874375%20L2.874375%2C21.155625%20L21.155625%2C21.155625%20L21.155625%2C2.874375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-236%22%20fill%3D%22%23979797%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M20.22%2C1.56%20L20.22%2C22.56%20L3.72%2C22.56%20L3.72%2C1.56%20L20.22%2C1.56%20Z%20M19.985625%2C1.794375%20L3.954375%2C1.794375%20L3.954375%2C22.325625%20L19.985625%2C22.325625%20L19.985625%2C1.794375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-237%22%20fill%3D%22%23FA6400%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M22.56%2C3.72%20L22.56%2C20.22%20L1.56%2C20.22%20L1.56%2C3.72%20L22.56%2C3.72%20Z%20M22.325625%2C3.954375%20L1.794375%2C3.954375%20L1.794375%2C19.985625%20L22.325625%2C19.985625%20L22.325625%2C3.954375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-238%22%20fill%3D%22%2344D7B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12.06%2C1.56%20C17.8589899%2C1.56%2022.56%2C6.26101013%2022.56%2C12.06%20C22.56%2C17.8589899%2017.8589899%2C22.56%2012.06%2C22.56%20C6.26101013%2C22.56%201.56%2C17.8589899%201.56%2C12.06%20C1.56%2C6.26101013%206.26101013%2C1.56%2012.06%2C1.56%20Z%20M12.06%2C1.794375%20C6.39045187%2C1.794375%201.794375%2C6.39045187%201.794375%2C12.06%20C1.794375%2C17.7295481%206.39045187%2C22.325625%2012.06%2C22.325625%20C17.7295481%2C22.325625%2022.325625%2C17.7295481%2022.325625%2C12.06%20C22.325625%2C6.39045187%2017.7295481%2C1.794375%2012.06%2C1.794375%20Z%22%20id%3D%22%E6%A4%AD%E5%9C%86%E5%BD%A2%E5%A4%87%E4%BB%BD-59%22%20fill%3D%22%23F7B500%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%E5%A4%87%E4%BB%BD-43%22%20transform%3D%22translate%281.560000%2C%201.680000%29%22%20fill%3D%22%23999999%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M10.44%2C0%20C16.2059506%2C0%2020.88%2C4.67404941%2020.88%2C10.44%20C20.88%2C16.2059506%2016.2059506%2C20.88%2010.44%2C20.88%20C4.67404941%2C20.88%200%2C16.2059506%200%2C10.44%20C0%2C4.67404941%204.67404941%2C0%2010.44%2C0%20Z%20M10.44%2C1.84235294%20C5.69164237%2C1.84235294%201.84235294%2C5.69164234%201.84235294%2C10.44%20C1.84235294%2C15.1883577%205.69164234%2C19.0376471%2010.44%2C19.0376471%20C15.1883577%2C19.0376471%2019.0376471%2C15.1883577%2019.0376471%2C10.44%20C19.0376471%2C5.69164234%2015.1883577%2C1.84235294%2010.44%2C1.84235294%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20points%3D%2210.4408066%206.32%2014.3966662%2010.2757133%2010.4408066%2014.2314265%209.2540487%2013.0447125%2011.1949264%2011.1039067%206%2011.1033618%206%209.42518043%2011.1725861%209.42518043%209.25459358%207.50671398%2010.4408066%206.32%22%3E%3C%2Fpolygon%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
18619
19085
|
|
|
18620
19086
|
var TreeNode = antd.Tree.TreeNode;
|
|
18621
19087
|
var Search$2 = antd.Input.Search;
|
|
18622
19088
|
var dataList = [];
|
|
18623
|
-
var
|
|
19089
|
+
var generateList = function generateList(data) {
|
|
18624
19090
|
for (var i = 0; i < data.length; i++) {
|
|
18625
19091
|
var node = data[i];
|
|
18626
19092
|
var path = node.path,
|
|
@@ -18630,11 +19096,11 @@ var _generateList = function generateList(data) {
|
|
|
18630
19096
|
name: name
|
|
18631
19097
|
});
|
|
18632
19098
|
if (node.children) {
|
|
18633
|
-
|
|
19099
|
+
generateList(node.children);
|
|
18634
19100
|
}
|
|
18635
19101
|
}
|
|
18636
19102
|
};
|
|
18637
|
-
var
|
|
19103
|
+
var getParentKey = function getParentKey(path, tree) {
|
|
18638
19104
|
var parentKey;
|
|
18639
19105
|
for (var i = 0; i < tree.length; i++) {
|
|
18640
19106
|
var node = tree[i];
|
|
@@ -18643,8 +19109,8 @@ var _getParentKey = function getParentKey(path, tree) {
|
|
|
18643
19109
|
return item.path === path;
|
|
18644
19110
|
})) {
|
|
18645
19111
|
parentKey = node.path;
|
|
18646
|
-
} else if (
|
|
18647
|
-
parentKey =
|
|
19112
|
+
} else if (getParentKey(path, node.children)) {
|
|
19113
|
+
parentKey = getParentKey(path, node.children);
|
|
18648
19114
|
}
|
|
18649
19115
|
}
|
|
18650
19116
|
}
|
|
@@ -18675,7 +19141,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18675
19141
|
var treeData = _this.state.treeData;
|
|
18676
19142
|
var expandedKeys = dataList.map(function (item) {
|
|
18677
19143
|
if (item.name.indexOf(value) > -1) {
|
|
18678
|
-
return
|
|
19144
|
+
return getParentKey(item.path, treeData);
|
|
18679
19145
|
}
|
|
18680
19146
|
return null;
|
|
18681
19147
|
}).filter(function (item, i, self) {
|
|
@@ -18689,22 +19155,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18689
19155
|
};
|
|
18690
19156
|
_this.getPathList = function (originData) {
|
|
18691
19157
|
var pathList = [];
|
|
18692
|
-
var
|
|
19158
|
+
var getList = function getList(data) {
|
|
18693
19159
|
if (Array.isArray(data)) {
|
|
18694
19160
|
data.forEach(function (item) {
|
|
18695
19161
|
pathList.push(item.path);
|
|
18696
19162
|
if (item.children) {
|
|
18697
|
-
|
|
19163
|
+
getList(item.children);
|
|
18698
19164
|
}
|
|
18699
19165
|
});
|
|
18700
19166
|
} else {
|
|
18701
19167
|
pathList.push(data.path);
|
|
18702
19168
|
if (data.children) {
|
|
18703
|
-
|
|
19169
|
+
getList(data.children);
|
|
18704
19170
|
}
|
|
18705
19171
|
}
|
|
18706
19172
|
};
|
|
18707
|
-
|
|
19173
|
+
getList(originData);
|
|
18708
19174
|
return pathList;
|
|
18709
19175
|
};
|
|
18710
19176
|
_this.handleAdd2Menu = function (path) {
|
|
@@ -18713,18 +19179,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18713
19179
|
customerMenuData = _this$props.customerMenuData,
|
|
18714
19180
|
setCustomerMenuData = _this$props.setCustomerMenuData;
|
|
18715
19181
|
var filterItem;
|
|
18716
|
-
var
|
|
19182
|
+
var filterMenuItem = function filterMenuItem(menuData) {
|
|
18717
19183
|
menuData.forEach(function (item) {
|
|
18718
19184
|
if (item.path === path) {
|
|
18719
19185
|
filterItem = _objectSpread2({}, item);
|
|
18720
19186
|
return;
|
|
18721
19187
|
}
|
|
18722
19188
|
if (item.children) {
|
|
18723
|
-
|
|
19189
|
+
filterMenuItem(item.children);
|
|
18724
19190
|
}
|
|
18725
19191
|
});
|
|
18726
19192
|
};
|
|
18727
|
-
|
|
19193
|
+
filterMenuItem(treeData);
|
|
18728
19194
|
var addPathList = _this.getPathList(filterItem);
|
|
18729
19195
|
var oldPathList = _this.getPathList(customerMenuData);
|
|
18730
19196
|
var isRepet = false;
|
|
@@ -18754,8 +19220,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18754
19220
|
return item.path === '/';
|
|
18755
19221
|
})) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
|
|
18756
19222
|
var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
|
|
18757
|
-
|
|
18758
|
-
|
|
19223
|
+
setMenuTreeData(routesData);
|
|
19224
|
+
generateList(routesData);
|
|
18759
19225
|
this.setState({
|
|
18760
19226
|
treeData: routesData
|
|
18761
19227
|
});
|
|
@@ -18769,16 +19235,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18769
19235
|
expandedKeys = _this$state.expandedKeys,
|
|
18770
19236
|
autoExpandParent = _this$state.autoExpandParent,
|
|
18771
19237
|
treeData = _this$state.treeData;
|
|
18772
|
-
var
|
|
19238
|
+
var loop = function loop(data) {
|
|
18773
19239
|
return data.map(function (item) {
|
|
18774
19240
|
var index = item.name.indexOf(searchValue);
|
|
18775
19241
|
var beforeStr = item.name.substr(0, index);
|
|
18776
19242
|
var afterStr = item.name.substr(index + searchValue.length);
|
|
18777
|
-
var name = index > -1 ? (/*#__PURE__*/React__default['default'].createElement("span", null, beforeStr, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
19243
|
+
var name = index > -1 ? ( /*#__PURE__*/React__default['default'].createElement("span", null, beforeStr, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
18778
19244
|
style: {
|
|
18779
19245
|
color: '#f50'
|
|
18780
19246
|
}
|
|
18781
|
-
}, searchValue), afterStr)) : (/*#__PURE__*/React__default['default'].createElement("span", null, item.name));
|
|
19247
|
+
}, searchValue), afterStr)) : ( /*#__PURE__*/React__default['default'].createElement("span", null, item.name));
|
|
18782
19248
|
if (item.children && item.children.length) {
|
|
18783
19249
|
return /*#__PURE__*/React__default['default'].createElement(TreeNode, {
|
|
18784
19250
|
path: item.path,
|
|
@@ -18800,7 +19266,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18800
19266
|
width: 18,
|
|
18801
19267
|
src: arrowRight
|
|
18802
19268
|
}))))
|
|
18803
|
-
},
|
|
19269
|
+
}, loop(item.children));
|
|
18804
19270
|
}
|
|
18805
19271
|
return /*#__PURE__*/React__default['default'].createElement(TreeNode, {
|
|
18806
19272
|
path: item.path,
|
|
@@ -18850,7 +19316,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18850
19316
|
onExpand: this.onExpand,
|
|
18851
19317
|
expandedKeys: expandedKeys,
|
|
18852
19318
|
autoExpandParent: autoExpandParent
|
|
18853
|
-
},
|
|
19319
|
+
}, loop(treeData))));
|
|
18854
19320
|
}
|
|
18855
19321
|
}]);
|
|
18856
19322
|
}(React__default['default'].Component);
|
|
@@ -18883,24 +19349,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18883
19349
|
var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
|
|
18884
19350
|
var dragObj;
|
|
18885
19351
|
var finalDropItem;
|
|
18886
|
-
var
|
|
19352
|
+
var loop = function loop(data, path, callback) {
|
|
18887
19353
|
for (var i = 0; i < data.length; i++) {
|
|
18888
19354
|
if (data[i].path === path) {
|
|
18889
19355
|
return callback(data[i], i, data);
|
|
18890
19356
|
}
|
|
18891
19357
|
if (data[i].children) {
|
|
18892
|
-
|
|
19358
|
+
loop(data[i].children, path, callback);
|
|
18893
19359
|
}
|
|
18894
19360
|
}
|
|
18895
19361
|
};
|
|
18896
19362
|
var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
|
|
18897
|
-
|
|
19363
|
+
loop(data, dragKey, function (item, index, arr) {
|
|
18898
19364
|
arr.splice(index, 1);
|
|
18899
19365
|
dragObj = item;
|
|
18900
19366
|
});
|
|
18901
19367
|
if (!info.dropToGap) {
|
|
18902
19368
|
// Drop on the content
|
|
18903
|
-
|
|
19369
|
+
loop(data, dropKey, function (item) {
|
|
18904
19370
|
item.children = item.children || [];
|
|
18905
19371
|
item.children.unshift(dragObj);
|
|
18906
19372
|
finalDropItem = _objectSpread2({}, item);
|
|
@@ -18911,7 +19377,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18911
19377
|
// Is expanded
|
|
18912
19378
|
dropPosition === 1 // On the bottom gap
|
|
18913
19379
|
) {
|
|
18914
|
-
|
|
19380
|
+
loop(data, dropKey, function (item) {
|
|
18915
19381
|
item.children = item.children || [];
|
|
18916
19382
|
item.children.unshift(dragObj);
|
|
18917
19383
|
finalDropItem = _objectSpread2({}, item);
|
|
@@ -18919,7 +19385,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18919
19385
|
} else {
|
|
18920
19386
|
var ar;
|
|
18921
19387
|
var i;
|
|
18922
|
-
|
|
19388
|
+
loop(data, dropKey, function (item, index, arr) {
|
|
18923
19389
|
ar = arr;
|
|
18924
19390
|
i = index;
|
|
18925
19391
|
});
|
|
@@ -18958,17 +19424,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
18958
19424
|
title: '编辑名称',
|
|
18959
19425
|
callBack: function callBack(newName) {
|
|
18960
19426
|
var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
|
|
18961
|
-
var
|
|
19427
|
+
var editTreeDataName = function editTreeDataName(oldTreeData) {
|
|
18962
19428
|
oldTreeData.forEach(function (treeItem) {
|
|
18963
19429
|
if (treeItem.path === item.path) {
|
|
18964
19430
|
treeItem.name = newName;
|
|
18965
19431
|
}
|
|
18966
19432
|
if (treeItem.children) {
|
|
18967
|
-
|
|
19433
|
+
editTreeDataName(treeItem.children);
|
|
18968
19434
|
}
|
|
18969
19435
|
});
|
|
18970
19436
|
};
|
|
18971
|
-
|
|
19437
|
+
editTreeDataName(oldTreeData);
|
|
18972
19438
|
_this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
|
|
18973
19439
|
_this.setState({
|
|
18974
19440
|
modalInfo: {
|
|
@@ -19013,7 +19479,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19013
19479
|
title: '新增子目录',
|
|
19014
19480
|
callBack: function callBack(newName) {
|
|
19015
19481
|
var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
|
|
19016
|
-
var
|
|
19482
|
+
var addChildFolder = function addChildFolder(oldTreeData) {
|
|
19017
19483
|
oldTreeData.forEach(function (treeItem) {
|
|
19018
19484
|
if (treeItem.path === item.path) {
|
|
19019
19485
|
treeItem.children ? treeItem.children.push({
|
|
@@ -19025,11 +19491,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19025
19491
|
}];
|
|
19026
19492
|
}
|
|
19027
19493
|
if (treeItem.children) {
|
|
19028
|
-
|
|
19494
|
+
addChildFolder(treeItem.children);
|
|
19029
19495
|
}
|
|
19030
19496
|
});
|
|
19031
19497
|
};
|
|
19032
|
-
|
|
19498
|
+
addChildFolder(oldTreeData);
|
|
19033
19499
|
_this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
|
|
19034
19500
|
_this.setState({
|
|
19035
19501
|
modalInfo: {
|
|
@@ -19088,7 +19554,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19088
19554
|
var _this$state = this.state,
|
|
19089
19555
|
modalInfo = _this$state.modalInfo,
|
|
19090
19556
|
checkedKeys = _this$state.checkedKeys;
|
|
19091
|
-
var
|
|
19557
|
+
var loop = function loop(data) {
|
|
19092
19558
|
return data.map(function (item) {
|
|
19093
19559
|
if (item.children && item.children.length) {
|
|
19094
19560
|
return /*#__PURE__*/React__default['default'].createElement(TreeNode$1, {
|
|
@@ -19105,7 +19571,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19105
19571
|
e.stopPropagation();
|
|
19106
19572
|
}
|
|
19107
19573
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(icons.EllipsisOutlined, null))))))
|
|
19108
|
-
},
|
|
19574
|
+
}, loop(item.children));
|
|
19109
19575
|
}
|
|
19110
19576
|
return /*#__PURE__*/React__default['default'].createElement(TreeNode$1, {
|
|
19111
19577
|
path: item.path,
|
|
@@ -19184,7 +19650,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19184
19650
|
children: 'children'
|
|
19185
19651
|
},
|
|
19186
19652
|
onDrop: this.onDrop
|
|
19187
|
-
},
|
|
19653
|
+
}, loop(this.props.customerMenuData))), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
19188
19654
|
width: 600,
|
|
19189
19655
|
bodyStyle: {
|
|
19190
19656
|
paddingTop: '32px',
|
|
@@ -19240,8 +19706,8 @@ var MenuSetting = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
19240
19706
|
}));
|
|
19241
19707
|
});
|
|
19242
19708
|
|
|
19243
|
-
var css_248z$
|
|
19244
|
-
styleInject(css_248z$
|
|
19709
|
+
var css_248z$o = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 45px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.customer_menu_content .ant-drawer-body {\n padding: 10px !important;\n}\n.menu_drawer_header_warp .ant-drawer-body {\n background-color: #F8F9FA;\n padding: 10px 0 0 0 !important;\n}\n.menu_title_line {\n font-size: 16px;\n font-weight: bold;\n color: #b1bad4;\n text-align: center;\n margin-bottom: 10px;\n}\n.menu_item {\n line-height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #E4E7ED;\n cursor: pointer;\n}\n.header_style {\n height: 50px;\n position: fixed;\n top: 0;\n left: 0;\n padding: 0;\n display: flex;\n align-items: center;\n background-color: #ffffff;\n}\n.global_menu_draw .ant-drawer-body {\n padding: 10px !important;\n}\n";
|
|
19710
|
+
styleInject(css_248z$o);
|
|
19245
19711
|
|
|
19246
19712
|
var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
19247
19713
|
var isCollapse = _ref.isCollapse,
|
|
@@ -19297,7 +19763,7 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
19297
19763
|
pathname: item.path
|
|
19298
19764
|
});
|
|
19299
19765
|
};
|
|
19300
|
-
var
|
|
19766
|
+
var getMenuDom = function getMenuDom(menuData) {
|
|
19301
19767
|
return menuData.map(function (item) {
|
|
19302
19768
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19303
19769
|
style: {
|
|
@@ -19312,7 +19778,7 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
19312
19778
|
fontWeight: item.children || !item.component ? 'bolder' : '400',
|
|
19313
19779
|
paddingLeft: '4px'
|
|
19314
19780
|
}
|
|
19315
|
-
}, item.name), !!item.children && !!item.children.length &&
|
|
19781
|
+
}, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
|
|
19316
19782
|
});
|
|
19317
19783
|
};
|
|
19318
19784
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
@@ -19338,7 +19804,7 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
19338
19804
|
style: {
|
|
19339
19805
|
paddingLeft: '5px'
|
|
19340
19806
|
}
|
|
19341
|
-
}, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
|
|
19807
|
+
}, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
|
|
19342
19808
|
style: {
|
|
19343
19809
|
left: isDrawer ? 140 : 0
|
|
19344
19810
|
},
|
|
@@ -19359,7 +19825,7 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
19359
19825
|
visible: isDrawer
|
|
19360
19826
|
}, /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("p", {
|
|
19361
19827
|
className: 'menu_title_line'
|
|
19362
|
-
}, "\u81EA\u5B9A\u4E49\u83DC\u5355"),
|
|
19828
|
+
}, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React__default['default'].createElement(antd.Modal, _objectSpread2({
|
|
19363
19829
|
title: /*#__PURE__*/React__default['default'].createElement("span", {
|
|
19364
19830
|
style: {
|
|
19365
19831
|
fontWeight: '600',
|
|
@@ -19377,8 +19843,8 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
19377
19843
|
})));
|
|
19378
19844
|
});
|
|
19379
19845
|
|
|
19380
|
-
var css_248z$
|
|
19381
|
-
styleInject(css_248z$
|
|
19846
|
+
var css_248z$p = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.global_menu_draw_content {\n display: flex;\n height: 100%;\n}\n.global_menu_draw_content .allFunsList {\n margin-bottom: 10px;\n}\n.global_menu_draw_content .drawerWarp_left {\n width: 150px;\n height: 100%;\n flex-shrink: 0;\n border-right: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_left .left_item_title {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #8c8c8c;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: pointer;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item:hover {\n color: #005cff !important;\n}\n.global_menu_draw_content .drawerWarp_right {\n -moz-column-count: 4;\n column-count: 4;\n flex-grow: 1;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 30px;\n border: 0px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header b {\n width: 100%;\n box-sizing: border-box;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.global_menu_draw_content .search_menu_content {\n flex-grow: 1;\n display: flex;\n flex-wrap: wrap;\n background-color: #ffffff;\n}\n.global_menu_draw_content .search_menu_content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.global_menu_draw_content .search_menu_content div:hover {\n cursor: pointer;\n}\n.global_menu_draw_content .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header {\n background-color: #005CFF;\n opacity: 0.8;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header b {\n border-bottom: 1px solid #005CFF;\n}\n";
|
|
19847
|
+
styleInject(css_248z$p);
|
|
19382
19848
|
|
|
19383
19849
|
var closeicon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAiZJREFUSEvFll1LVFEUhh/1QqjAxALrot+ggR9RQWh1UZl9kNCtv8ALf0Q3/YVuiyIqLKOUyI80RP0VXVSU+UGKF2W88q7hzPacOY4QHhiGmVn7fdZe691rTwP/+WlI9Bv9eQfQq55HWqH3NxamgOz3+q0SWEJSYpFQVWIBUIDE+oARYBj4ATQBf0rEI+Yk8Ah4CHwEdjUDoHeRnwN3gBngJrBaAgnxVmAMOA88A4aKAAp8A5wzZABYK4Dkic8CWqPEdpPO9iB20Qa8BnqBae9EkCijKhbixx2rzOeAG8CvEFdg2uRYKIh20mOIslo3RGvUlxaLXwDmgesWr+pbnovyIFPe+oYbLnHV/CLw2eIreaUssmlATngn3YAg17yL8f2I55Uo68is/VSuLuC9AZeBBQN/1nJa0Q4ClHVKuEu/fXJZihxWSbQMEM5pBlQWHUQ9E+7JduKuPWeyFiDEj7mhl2xFrdE5+WAL/64FKQJkxV858yXgqq09CXQAer8FFELyAFnxl0A/sOiaf3cN2u2usy7X7SJI3rjW0DsKSFxuUeY6RN/sFjF00ARRXzrtLkE203LljQqJvwCuAMu2YojHZA13nTJE5XrnQSlIjJ3KqIgvjlhctZa4Mv9aMuxOu1yCvAXuAlvpsAvAU+DePsTTc5KFPAHup+M6GjsIjDrgS50XzhngMfDAtq66cNIRoUYf5MqUaNUNeCiXfsUB9fylcOyetf8AAkCfGYuSNSEAAAAASUVORK5CYII=";
|
|
19384
19850
|
|
|
@@ -19433,7 +19899,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19433
19899
|
return item.path === '/';
|
|
19434
19900
|
})) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
|
|
19435
19901
|
var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
|
|
19436
|
-
|
|
19902
|
+
setMenuTreeData(routesData);
|
|
19437
19903
|
routesData.forEach(function (item) {
|
|
19438
19904
|
if (item.children) {
|
|
19439
19905
|
routesDataList.push(item);
|
|
@@ -19463,7 +19929,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19463
19929
|
setHeight(clientHeight - 190);
|
|
19464
19930
|
setDrawHeight(clientHeight - 70);
|
|
19465
19931
|
};
|
|
19466
|
-
var
|
|
19932
|
+
var renderChildItem = function renderChildItem(child) {
|
|
19467
19933
|
if (!child.hideInMenu && child.children) {
|
|
19468
19934
|
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.List.Item, {
|
|
19469
19935
|
style: {
|
|
@@ -19473,7 +19939,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19473
19939
|
}, umi.formatMessage({
|
|
19474
19940
|
id: "".concat(child.locale)
|
|
19475
19941
|
})), child.children.map(function (menuItem) {
|
|
19476
|
-
return
|
|
19942
|
+
return renderChildItem(menuItem);
|
|
19477
19943
|
}));
|
|
19478
19944
|
} else if (!child.hideInMenu && child.path) {
|
|
19479
19945
|
return /*#__PURE__*/React__default['default'].createElement(antd.List.Item, {
|
|
@@ -19615,7 +20081,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19615
20081
|
onMenuClick(e, item);
|
|
19616
20082
|
}
|
|
19617
20083
|
}, item.name);
|
|
19618
|
-
}))), !!SearhData.length ? (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
20084
|
+
}))), !!SearhData.length ? ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19619
20085
|
className: 'search_menu_content'
|
|
19620
20086
|
}, SearhData.map(function (item) {
|
|
19621
20087
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
@@ -19624,7 +20090,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19624
20090
|
},
|
|
19625
20091
|
key: item.path
|
|
19626
20092
|
}, item.name);
|
|
19627
|
-
}))) : (/*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
20093
|
+
}))) : ( /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
19628
20094
|
style: {
|
|
19629
20095
|
height: "".concat(rightMenuHeight, "px"),
|
|
19630
20096
|
overflowY: 'scroll',
|
|
@@ -19636,7 +20102,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19636
20102
|
className: 'drawerWarp_right'
|
|
19637
20103
|
}, homepageData && homepageData.filter(function (d) {
|
|
19638
20104
|
return !d.hideInMenu;
|
|
19639
|
-
}).length > 0 && (/*#__PURE__*/React__default['default'].createElement(antd.List, {
|
|
20105
|
+
}).length > 0 && ( /*#__PURE__*/React__default['default'].createElement(antd.List, {
|
|
19640
20106
|
className: classNames__default['default']('allFunsList', 'allFunsListWarp'),
|
|
19641
20107
|
dataSource: homepageData,
|
|
19642
20108
|
renderItem: function renderItem(child) {
|
|
@@ -19677,7 +20143,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19677
20143
|
bordered: true,
|
|
19678
20144
|
dataSource: item.children,
|
|
19679
20145
|
renderItem: function renderItem(child) {
|
|
19680
|
-
return
|
|
20146
|
+
return renderChildItem(child);
|
|
19681
20147
|
}
|
|
19682
20148
|
});
|
|
19683
20149
|
})), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
@@ -19793,8 +20259,8 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
19793
20259
|
})));
|
|
19794
20260
|
};
|
|
19795
20261
|
|
|
19796
|
-
var css_248z$
|
|
19797
|
-
styleInject(css_248z$
|
|
20262
|
+
var css_248z$q = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 40px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.menu_item {\n line-height: 30px;\n height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #e4e7ed;\n cursor: pointer;\n color: #005cff;\n}\n.sub_menu_content {\n box-shadow: 2px 0px 4px 0px rgba(185, 185, 185, 0.5);\n position: fixed;\n top: 50px;\n left: 140px;\n width: 200px;\n height: 100%;\n background-color: #fff;\n padding-top: 10px;\n z-index: 9999;\n}\n.tab_left_operate {\n display: flex;\n height: 28px;\n align-items: center;\n}\n.tab_left_operate > div {\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n cursor: pointer;\n}\n.tab_left_operate > div:last-child {\n box-shadow: 2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n}\n.tab_right_operate {\n height: 28px;\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n box-shadow: -2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n cursor: pointer;\n position: relative;\n}\n";
|
|
20263
|
+
styleInject(css_248z$q);
|
|
19798
20264
|
|
|
19799
20265
|
/*
|
|
19800
20266
|
* @Date: 2022-04-01 15:42:51
|
|
@@ -19817,7 +20283,7 @@ var NoFoundPage = function NoFoundPage(props) {
|
|
|
19817
20283
|
}));
|
|
19818
20284
|
};
|
|
19819
20285
|
|
|
19820
|
-
var _excluded$
|
|
20286
|
+
var _excluded$i = ["route"];
|
|
19821
20287
|
var TabPane = antd.Tabs.TabPane;
|
|
19822
20288
|
var getId = function getId(str) {
|
|
19823
20289
|
// 找到最后一个 / 的位置
|
|
@@ -19835,10 +20301,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
|
|
|
19835
20301
|
var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
|
|
19836
20302
|
var menuKeys = [];
|
|
19837
20303
|
var docsId = [];
|
|
19838
|
-
var
|
|
20304
|
+
var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
|
|
19839
20305
|
data.forEach(function (item) {
|
|
19840
20306
|
if (item.children && item.children.length > 0) {
|
|
19841
|
-
|
|
20307
|
+
getLimitedMenuKeys(item.children);
|
|
19842
20308
|
} else {
|
|
19843
20309
|
var originPath = item.path.replace(/^\/\w+\//, '/');
|
|
19844
20310
|
menuKeys.push(originPath);
|
|
@@ -19849,7 +20315,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
|
|
|
19849
20315
|
});
|
|
19850
20316
|
};
|
|
19851
20317
|
try {
|
|
19852
|
-
|
|
20318
|
+
getLimitedMenuKeys(limitedMenuData);
|
|
19853
20319
|
} catch (e) {}
|
|
19854
20320
|
return {
|
|
19855
20321
|
menuKeys: menuKeys,
|
|
@@ -20083,10 +20549,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20083
20549
|
return (node.path || '').includes('all-general-documents');
|
|
20084
20550
|
};
|
|
20085
20551
|
// 递归获取树列表
|
|
20086
|
-
var
|
|
20552
|
+
var getTreeList = function getTreeList(data) {
|
|
20087
20553
|
data.forEach(function (node) {
|
|
20088
20554
|
if (node.routes && node.routes.length > 0) {
|
|
20089
|
-
|
|
20555
|
+
getTreeList(node.routes);
|
|
20090
20556
|
return;
|
|
20091
20557
|
}
|
|
20092
20558
|
// todo:暂时处理非wujie环境不做404管控
|
|
@@ -20117,7 +20583,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20117
20583
|
}
|
|
20118
20584
|
});
|
|
20119
20585
|
};
|
|
20120
|
-
|
|
20586
|
+
getTreeList(treeData);
|
|
20121
20587
|
return treeList;
|
|
20122
20588
|
};
|
|
20123
20589
|
_this.getDictionarySource = function (dicCode) {
|
|
@@ -20746,7 +21212,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20746
21212
|
updateState = _ref8.updateState;
|
|
20747
21213
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
20748
21214
|
className: "tab_title_content"
|
|
20749
|
-
}, item.tab, item.key !== '/' && (/*#__PURE__*/React__default['default'].createElement(ItemMenu, {
|
|
21215
|
+
}, item.tab, item.key !== '/' && ( /*#__PURE__*/React__default['default'].createElement(ItemMenu, {
|
|
20750
21216
|
info: item,
|
|
20751
21217
|
operateFun: _this3.operateFun,
|
|
20752
21218
|
listenRouterState: listenRouterState
|
|
@@ -20758,7 +21224,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20758
21224
|
}); // 添加数据大屏
|
|
20759
21225
|
var _this$props3 = this.props,
|
|
20760
21226
|
route = _this$props3.route,
|
|
20761
|
-
restPrpos = _objectWithoutProperties(_this$props3, _excluded$
|
|
21227
|
+
restPrpos = _objectWithoutProperties(_this$props3, _excluded$i);
|
|
20762
21228
|
var exist = route.routes.find(function (route) {
|
|
20763
21229
|
return route.path === '/homePage/data-show';
|
|
20764
21230
|
});
|
|
@@ -20882,7 +21348,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20882
21348
|
};
|
|
20883
21349
|
}
|
|
20884
21350
|
var OperationsSlot = {
|
|
20885
|
-
left: (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
21351
|
+
left: ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
20886
21352
|
className: 'tab_left_operate'
|
|
20887
21353
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
20888
21354
|
onClick: function onClick() {
|
|
@@ -20898,7 +21364,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20898
21364
|
_this3.setTabNavTransLate(-100);
|
|
20899
21365
|
}
|
|
20900
21366
|
}, /*#__PURE__*/React__default['default'].createElement(icons.DoubleLeftOutlined, null)))),
|
|
20901
|
-
right: (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
21367
|
+
right: ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
20902
21368
|
style: {
|
|
20903
21369
|
opacity: this.state.isSlider ? 1 : 0.5
|
|
20904
21370
|
},
|
|
@@ -20996,7 +21462,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20996
21462
|
onMouseLeave: function onMouseLeave() {
|
|
20997
21463
|
_this3.setShowMenu(false);
|
|
20998
21464
|
}
|
|
20999
|
-
}, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React__default['default'].createElement(icons.CaretLeftOutlined, {
|
|
21465
|
+
}, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React__default['default'].createElement(icons.CaretLeftOutlined, {
|
|
21000
21466
|
style: {
|
|
21001
21467
|
position: 'absolute',
|
|
21002
21468
|
top: '14px',
|
|
@@ -21015,7 +21481,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21015
21481
|
postMenuData: function postMenuData(menus) {
|
|
21016
21482
|
return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
|
|
21017
21483
|
},
|
|
21018
|
-
links: [!this.state.collapse ? (/*#__PURE__*/React__default['default'].createElement(AllFunc$1, {
|
|
21484
|
+
links: [!this.state.collapse ? ( /*#__PURE__*/React__default['default'].createElement(AllFunc$1, {
|
|
21019
21485
|
ref: this.allFunc,
|
|
21020
21486
|
itemPath: itemPath,
|
|
21021
21487
|
handleClose: this.handleClose,
|
|
@@ -21033,7 +21499,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21033
21499
|
},
|
|
21034
21500
|
menu: {
|
|
21035
21501
|
request: function () {
|
|
21036
|
-
var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
21502
|
+
var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
21037
21503
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
21038
21504
|
while (1) switch (_context.prev = _context.next) {
|
|
21039
21505
|
case 0:
|
|
@@ -21168,7 +21634,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
21168
21634
|
getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
|
|
21169
21635
|
timeFormat = _this$props4.timeFormat,
|
|
21170
21636
|
transparentProps = _this$props4.transparentProps;
|
|
21171
|
-
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, item.isNotFound ? (/*#__PURE__*/React__default['default'].createElement(NoFoundPage, null)) : /*#__PURE__*/React__default['default'].createElement(item.content, _objectSpread2(_objectSpread2(_objectSpread2({
|
|
21637
|
+
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, item.isNotFound ? ( /*#__PURE__*/React__default['default'].createElement(NoFoundPage, null)) : /*#__PURE__*/React__default['default'].createElement(item.content, _objectSpread2(_objectSpread2(_objectSpread2({
|
|
21172
21638
|
getDictionarySource: getDictionarySource,
|
|
21173
21639
|
getDictionaryTextByValue: getDictionaryTextByValue,
|
|
21174
21640
|
timeFormat: timeFormat
|
|
@@ -21192,12 +21658,12 @@ var index$5 = (function (props) {
|
|
|
21192
21658
|
});
|
|
21193
21659
|
|
|
21194
21660
|
// @ts-nocheck
|
|
21195
|
-
var
|
|
21661
|
+
var getAllColumns = function getAllColumns(columns) {
|
|
21196
21662
|
var result = [];
|
|
21197
21663
|
columns.forEach(function (column) {
|
|
21198
21664
|
if (column.children) {
|
|
21199
21665
|
result.push(column);
|
|
21200
|
-
result.push.apply(result,
|
|
21666
|
+
result.push.apply(result, getAllColumns(column.children));
|
|
21201
21667
|
} else {
|
|
21202
21668
|
result.push(column);
|
|
21203
21669
|
}
|
|
@@ -21206,7 +21672,7 @@ var _getAllColumns = function getAllColumns(columns) {
|
|
|
21206
21672
|
};
|
|
21207
21673
|
var convertToRows = function convertToRows(originColumns) {
|
|
21208
21674
|
var maxLevel = 1;
|
|
21209
|
-
var
|
|
21675
|
+
var traverse = function traverse(column, parent) {
|
|
21210
21676
|
if (parent) {
|
|
21211
21677
|
column.level = parent.level + 1;
|
|
21212
21678
|
if (maxLevel < column.level) {
|
|
@@ -21216,7 +21682,7 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
21216
21682
|
if (column.children) {
|
|
21217
21683
|
var colSpan = 0;
|
|
21218
21684
|
column.children.forEach(function (subColumn) {
|
|
21219
|
-
|
|
21685
|
+
traverse(subColumn, column);
|
|
21220
21686
|
colSpan += subColumn.colSpan;
|
|
21221
21687
|
});
|
|
21222
21688
|
column.colSpan = colSpan;
|
|
@@ -21226,13 +21692,13 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
21226
21692
|
};
|
|
21227
21693
|
originColumns.forEach(function (column) {
|
|
21228
21694
|
column.level = 1;
|
|
21229
|
-
|
|
21695
|
+
traverse(column);
|
|
21230
21696
|
});
|
|
21231
21697
|
var rows = [];
|
|
21232
21698
|
for (var i = 0; i < maxLevel; i++) {
|
|
21233
21699
|
rows.push([]);
|
|
21234
21700
|
}
|
|
21235
|
-
var allColumns =
|
|
21701
|
+
var allColumns = getAllColumns(originColumns);
|
|
21236
21702
|
allColumns.forEach(function (column) {
|
|
21237
21703
|
if (!column.children) {
|
|
21238
21704
|
column.rowSpan = maxLevel - column.level + 1;
|
|
@@ -21272,7 +21738,7 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
21272
21738
|
};
|
|
21273
21739
|
var headersToRows = function headersToRows(originColumns) {
|
|
21274
21740
|
var maxLevel = 1;
|
|
21275
|
-
var
|
|
21741
|
+
var traverse = function traverse(column, parent) {
|
|
21276
21742
|
if (parent) {
|
|
21277
21743
|
//计算当前元素属于第几个层级
|
|
21278
21744
|
column.level = parent.level + 1;
|
|
@@ -21285,7 +21751,7 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21285
21751
|
var colSpan = 0;
|
|
21286
21752
|
column.children.forEach(function (subColumn) {
|
|
21287
21753
|
//进行递归
|
|
21288
|
-
|
|
21754
|
+
traverse(subColumn, column);
|
|
21289
21755
|
colSpan += subColumn.colSpan;
|
|
21290
21756
|
});
|
|
21291
21757
|
column.colSpan = colSpan;
|
|
@@ -21295,14 +21761,14 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21295
21761
|
};
|
|
21296
21762
|
originColumns.forEach(function (column) {
|
|
21297
21763
|
column.level = 1;
|
|
21298
|
-
|
|
21764
|
+
traverse(column);
|
|
21299
21765
|
});
|
|
21300
21766
|
var rows = [];
|
|
21301
21767
|
var lastData = [];
|
|
21302
21768
|
for (var i = 0; i < maxLevel; i++) {
|
|
21303
21769
|
rows.push([]);
|
|
21304
21770
|
}
|
|
21305
|
-
var allColumns =
|
|
21771
|
+
var allColumns = getAllColumns(originColumns);
|
|
21306
21772
|
allColumns.forEach(function (column) {
|
|
21307
21773
|
if (!column.children) {
|
|
21308
21774
|
column.rowSpan = maxLevel - column.level + 1;
|
|
@@ -21318,8 +21784,8 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21318
21784
|
};
|
|
21319
21785
|
};
|
|
21320
21786
|
|
|
21321
|
-
var css_248z$
|
|
21322
|
-
styleInject(css_248z$
|
|
21787
|
+
var css_248z$r = ".editTableWrapper {\n width: 1000px;\n height: 500px;\n overflow: auto;\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.editTableWrapper table {\n table-layout: fixed;\n}\n.editTableWrapper .editTable {\n position: relative;\n overflow: hidden;\n border-top: 0;\n background: #fff;\n}\n.editTableWrapper .north__west {\n position: sticky;\n background-color: #f7f8fb;\n left: 0px;\n top: 0px;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .north__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .south__west {\n z-index: 4;\n position: absolute;\n left: 0px;\n top: 0;\n}\n.editTableWrapper .south__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 4;\n}\n.editTableWrapper .south__west td {\n font-size: 12px;\n background: #fff;\n color: #6a6a6a;\n}\n.editTableWrapper .south__west td svg {\n width: 20px;\n height: 20px;\n vertical-align: middle;\n}\n.editTableWrapper .editTable__block {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n position: absolute;\n border-collapse: collapse;\n padding: 0;\n}\n.editTableWrapper .editTable__block th,\n.editTableWrapper .editTable__block td {\n box-sizing: border-box;\n font-size: 11px;\n color: #6a6a6a;\n}\n.editTableWrapper .value_table table {\n table-layout: fixed;\n min-width: 100%;\n}\n.editTableWrapper .table_border_style {\n border-collapse: separate;\n border-spacing: 0;\n border-left: 1px solid #f0f0f0;\n border-top: 1px solid #f0f0f0;\n}\n.editTableWrapper .table_border_style td {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n box-sizing: border-box;\n border-right: 1px solid #f0f0f0;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 10px;\n font-size: 14px;\n line-height: 28px;\n}\n";
|
|
21788
|
+
styleInject(css_248z$r);
|
|
21323
21789
|
|
|
21324
21790
|
var useSticky = function useSticky(sticky) {
|
|
21325
21791
|
var _ref = _typeof(sticky) === 'object' ? sticky : {},
|
|
@@ -21731,10 +22197,10 @@ var index$6 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
21731
22197
|
}))))));
|
|
21732
22198
|
});
|
|
21733
22199
|
|
|
21734
|
-
var _excluded$
|
|
22200
|
+
var _excluded$j = ["children"];
|
|
21735
22201
|
var Drawer = (function (props) {
|
|
21736
22202
|
var children = props.children,
|
|
21737
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
22203
|
+
restProps = _objectWithoutProperties(props, _excluded$j);
|
|
21738
22204
|
return /*#__PURE__*/React__default['default'].createElement(antd.Drawer, _objectSpread2({
|
|
21739
22205
|
mask: true,
|
|
21740
22206
|
closable: false,
|
|
@@ -27319,7 +27785,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
|
|
|
27319
27785
|
}
|
|
27320
27786
|
return lineStart <= highLightLine && lineEnd >= highLightLine;
|
|
27321
27787
|
};
|
|
27322
|
-
var
|
|
27788
|
+
var hasHighLightChildren = function hasHighLightChildren() {
|
|
27323
27789
|
var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
27324
27790
|
var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
|
|
27325
27791
|
var children = hightLightData.children,
|
|
@@ -27330,7 +27796,7 @@ var _hasHighLightChildren = function hasHighLightChildren() {
|
|
|
27330
27796
|
lineEnd = _loc2[2];
|
|
27331
27797
|
if (children) {
|
|
27332
27798
|
return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
|
|
27333
|
-
return
|
|
27799
|
+
return hasHighLightChildren(v, highLightLine);
|
|
27334
27800
|
});
|
|
27335
27801
|
}
|
|
27336
27802
|
return lineStart <= highLightLine && lineEnd >= highLightLine;
|
|
@@ -27342,7 +27808,7 @@ function createHighLightTreeData(treeData, highLightLine) {
|
|
|
27342
27808
|
var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
|
|
27343
27809
|
data.forEach(function (node) {
|
|
27344
27810
|
if (!node) return;
|
|
27345
|
-
node.toggled =
|
|
27811
|
+
node.toggled = hasHighLightChildren(node, highLightLine);
|
|
27346
27812
|
node.active = isHightLight(node, highLightLine);
|
|
27347
27813
|
if (node.children) {
|
|
27348
27814
|
if (node.active) {
|
|
@@ -27554,8 +28020,8 @@ var nameRender = (function (data) {
|
|
|
27554
28020
|
}, " ");
|
|
27555
28021
|
});
|
|
27556
28022
|
|
|
27557
|
-
var css_248z$
|
|
27558
|
-
styleInject(css_248z$
|
|
28023
|
+
var css_248z$s = ".si-tree {\n font-size: 14px;\n}\n.si-tree-node-block {\n display: flex;\n align-items: center;\n padding: 2px 4px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.si-tree-node-block:hover {\n background-color: #1990ffab;\n color: #fff;\n}\n.si-tree-node-block-actived {\n background-color: #1990ffab;\n color: #fff;\n}\n.si-tree-node-switcher {\n margin-right: 2px;\n}\n.si-tree-node-icon {\n margin-right: 4px;\n display: flex;\n}\n.tree-compact {\n margin-left: 4px;\n font-size: 13px;\n font-style: italic;\n color: #49aa19;\n}\n";
|
|
28024
|
+
styleInject(css_248z$s);
|
|
27559
28025
|
|
|
27560
28026
|
function parseData(data) {
|
|
27561
28027
|
var res;
|
|
@@ -27766,8 +28232,8 @@ function registerSuggestions(monaco) {
|
|
|
27766
28232
|
});
|
|
27767
28233
|
}
|
|
27768
28234
|
|
|
27769
|
-
var css_248z$
|
|
27770
|
-
styleInject(css_248z$
|
|
28235
|
+
var css_248z$t = ":global .si-editor-highlight {\n background: #1990ffab;\n}\n.title {\n color: #005cff;\n padding: 12px;\n font-weight: bold;\n}\n.editorWrapper {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n padding: 24px;\n background-color: #fff;\n z-index: 10000;\n}\n";
|
|
28236
|
+
styleInject(css_248z$t);
|
|
27771
28237
|
|
|
27772
28238
|
var Title = antd.Typography.Title;
|
|
27773
28239
|
var STRTEMP = 'const config = ';
|
|
@@ -27961,7 +28427,7 @@ var Editor = (function (props) {
|
|
|
27961
28427
|
}, [shallowHeight]);
|
|
27962
28428
|
var hasConfigTree = type !== 'editor';
|
|
27963
28429
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
27964
|
-
className: isFull ? css_248z$
|
|
28430
|
+
className: isFull ? css_248z$t.editorWrapper : ''
|
|
27965
28431
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
27966
28432
|
style: {
|
|
27967
28433
|
overflow: 'hidden'
|
|
@@ -28029,7 +28495,7 @@ var Editor = (function (props) {
|
|
|
28029
28495
|
})), hasConfigTree && /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
28030
28496
|
span: 8
|
|
28031
28497
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
28032
|
-
className: css_248z$
|
|
28498
|
+
className: css_248z$t.title
|
|
28033
28499
|
}, "\u5C5E\u6027\u8282\u70B9\u6811"), /*#__PURE__*/React__default['default'].createElement(ConfigTree, {
|
|
28034
28500
|
style: {
|
|
28035
28501
|
height: 'calc(100vh - 300px)',
|
|
@@ -28773,7 +29239,7 @@ var valueType = {
|
|
|
28773
29239
|
};
|
|
28774
29240
|
|
|
28775
29241
|
var getDynamicDict = /*#__PURE__*/function () {
|
|
28776
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
|
|
29242
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
|
|
28777
29243
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
28778
29244
|
while (1) switch (_context.prev = _context.next) {
|
|
28779
29245
|
case 0:
|
|
@@ -28841,7 +29307,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
28841
29307
|
value: false
|
|
28842
29308
|
}];
|
|
28843
29309
|
var ref = React$1.useRef();
|
|
28844
|
-
ahooks.useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
29310
|
+
ahooks.useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
28845
29311
|
var _ref$current, source;
|
|
28846
29312
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
28847
29313
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -28955,7 +29421,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
28955
29421
|
source: {
|
|
28956
29422
|
relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
|
|
28957
29423
|
type: function () {
|
|
28958
|
-
var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
|
|
29424
|
+
var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
|
|
28959
29425
|
var form, values, name, relates, source;
|
|
28960
29426
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
28961
29427
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -29435,7 +29901,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
29435
29901
|
source: {
|
|
29436
29902
|
relates: ['choiceType', 'inputType'],
|
|
29437
29903
|
type: function () {
|
|
29438
|
-
var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
|
|
29904
|
+
var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
|
|
29439
29905
|
var values, name, form, source;
|
|
29440
29906
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
29441
29907
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -29657,7 +30123,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
29657
30123
|
width: 900,
|
|
29658
30124
|
maskClosable: false,
|
|
29659
30125
|
onOk: function () {
|
|
29660
|
-
var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
30126
|
+
var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
29661
30127
|
var _ref$current4, _res$editableStatus;
|
|
29662
30128
|
var res, _res$defaultValue;
|
|
29663
30129
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
@@ -29729,7 +30195,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
29729
30195
|
}()
|
|
29730
30196
|
}), /*#__PURE__*/React__default['default'].createElement(bssula.Form, _objectSpread2(_objectSpread2({}, formConfig), {}, {
|
|
29731
30197
|
ref: ref
|
|
29732
|
-
})), maintainOptionsModal.visible && (/*#__PURE__*/React__default['default'].createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
|
|
30198
|
+
})), maintainOptionsModal.visible && ( /*#__PURE__*/React__default['default'].createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
|
|
29733
30199
|
};
|
|
29734
30200
|
|
|
29735
30201
|
// @ts-nocheck
|
|
@@ -29910,8 +30376,8 @@ var FieldsSettingsTable = (function (props) {
|
|
|
29910
30376
|
})), fieldsModify.visible && /*#__PURE__*/React__default['default'].createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
|
|
29911
30377
|
});
|
|
29912
30378
|
|
|
29913
|
-
var css_248z$
|
|
29914
|
-
styleInject(css_248z$
|
|
30379
|
+
var css_248z$u = ".customFieldsDrawer .ant-col-8 {\n flex: 0 0 100%!important;\n max-width: 100%!important;\n}\n.customFieldsDrawer .ant-form-item {\n margin-bottom: 0!important;\n}\n.customFieldsDrawer .ant-form {\n margin-bottom: 15px;\n}\n.customFieldsDrawer .sula-template-query-table-fields-wrapper {\n align-items: center;\n}\n";
|
|
30380
|
+
styleInject(css_248z$u);
|
|
29915
30381
|
|
|
29916
30382
|
function iterFileds(fields) {
|
|
29917
30383
|
var filedsValue = [];
|
|
@@ -30343,7 +30809,7 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
|
|
|
30343
30809
|
return setVisible(false);
|
|
30344
30810
|
},
|
|
30345
30811
|
className: 'customFieldsDrawer'
|
|
30346
|
-
}, detailTablesSetting.length == 0 && (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
30812
|
+
}, detailTablesSetting.length == 0 && ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
30347
30813
|
style: {
|
|
30348
30814
|
display: 'flex'
|
|
30349
30815
|
}
|
|
@@ -30352,13 +30818,13 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
|
|
|
30352
30818
|
flex: 1,
|
|
30353
30819
|
width: 500
|
|
30354
30820
|
}
|
|
30355
|
-
}, _.isEmpty(moduleParams) ? (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
30821
|
+
}, _.isEmpty(moduleParams) ? ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
30356
30822
|
style: {
|
|
30357
30823
|
padding: "10px 0",
|
|
30358
30824
|
fontSize: "16px",
|
|
30359
30825
|
fontWeight: "bolder"
|
|
30360
30826
|
}
|
|
30361
|
-
}, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React__default['default'].createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
30827
|
+
}, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : ( /*#__PURE__*/React__default['default'].createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
30362
30828
|
style: {
|
|
30363
30829
|
flex: 1
|
|
30364
30830
|
}
|
|
@@ -30367,7 +30833,7 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
|
|
|
30367
30833
|
onRun: onClickRun,
|
|
30368
30834
|
value: jsonEditorVal,
|
|
30369
30835
|
shallowHeight: height
|
|
30370
|
-
})))), detailTablesSetting.length > 0 && (/*#__PURE__*/React__default['default'].createElement(antd.Tabs, {
|
|
30836
|
+
})))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React__default['default'].createElement(antd.Tabs, {
|
|
30371
30837
|
defaultActiveKey: activeKey,
|
|
30372
30838
|
onChange: function onChange(v) {
|
|
30373
30839
|
return setActiveKey(v);
|
|
@@ -30384,13 +30850,13 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
|
|
|
30384
30850
|
flex: 1,
|
|
30385
30851
|
width: 500
|
|
30386
30852
|
}
|
|
30387
|
-
}, _.isEmpty(moduleParams) ? (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
30853
|
+
}, _.isEmpty(moduleParams) ? ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
30388
30854
|
style: {
|
|
30389
30855
|
padding: "10px 0",
|
|
30390
30856
|
fontSize: "16px",
|
|
30391
30857
|
fontWeight: "bolder"
|
|
30392
30858
|
}
|
|
30393
|
-
}, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React__default['default'].createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
30859
|
+
}, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : ( /*#__PURE__*/React__default['default'].createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
30394
30860
|
style: {
|
|
30395
30861
|
flex: 1
|
|
30396
30862
|
}
|
|
@@ -30412,13 +30878,13 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
|
|
|
30412
30878
|
flex: 1,
|
|
30413
30879
|
width: 500
|
|
30414
30880
|
}
|
|
30415
|
-
}, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
30881
|
+
}, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
30416
30882
|
style: {
|
|
30417
30883
|
padding: "10px 0",
|
|
30418
30884
|
fontSize: "16px",
|
|
30419
30885
|
fontWeight: "bolder"
|
|
30420
30886
|
}
|
|
30421
|
-
}, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React__default['default'].createElement(FieldsSettingsTable, _objectSpread2({}, tablesConfigParams[k.tableCode])))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
30887
|
+
}, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : ( /*#__PURE__*/React__default['default'].createElement(FieldsSettingsTable, _objectSpread2({}, tablesConfigParams[k.tableCode])))), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
30422
30888
|
style: {
|
|
30423
30889
|
flex: 1
|
|
30424
30890
|
}
|
|
@@ -30513,7 +30979,7 @@ var formatListName = function formatListName(list, columns) {
|
|
|
30513
30979
|
});
|
|
30514
30980
|
};
|
|
30515
30981
|
|
|
30516
|
-
var _excluded$
|
|
30982
|
+
var _excluded$k = ["sorter"];
|
|
30517
30983
|
/**
|
|
30518
30984
|
* 删掉查询条件的qp- 和 -eq等
|
|
30519
30985
|
* @param {object} data
|
|
@@ -30564,7 +31030,7 @@ function getMetaData(_x) {
|
|
|
30564
31030
|
|
|
30565
31031
|
// 获取数据
|
|
30566
31032
|
function _getMetaData() {
|
|
30567
|
-
_getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
|
|
31033
|
+
_getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
|
|
30568
31034
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
30569
31035
|
while (1) switch (_context.prev = _context.next) {
|
|
30570
31036
|
case 0:
|
|
@@ -30596,7 +31062,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
|
|
|
30596
31062
|
var _requestConfig$method;
|
|
30597
31063
|
var params = _ref.params;
|
|
30598
31064
|
var sorter = params.sorter,
|
|
30599
|
-
paramsTemp = _objectWithoutProperties(params, _excluded$
|
|
31065
|
+
paramsTemp = _objectWithoutProperties(params, _excluded$k);
|
|
30600
31066
|
var queryParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, requestConfig.params), requestConfig.body), ___default['default'].omit(paramsTemp, ['filters', 'current'])), (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.filters) || {}), {
|
|
30601
31067
|
currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
|
|
30602
31068
|
});
|
|
@@ -30786,7 +31252,7 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
|
|
|
30786
31252
|
tableState = _useState4[0],
|
|
30787
31253
|
setTableState = _useState4[1];
|
|
30788
31254
|
var handleOpen = /*#__PURE__*/function () {
|
|
30789
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
31255
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
30790
31256
|
var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
|
|
30791
31257
|
var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
|
|
30792
31258
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -31105,7 +31571,7 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
|
|
|
31105
31571
|
destroyOnClose: true
|
|
31106
31572
|
}, config && /*#__PURE__*/React__default['default'].createElement(bssula.QueryTable, _objectSpread2({
|
|
31107
31573
|
ref: queryTableRef
|
|
31108
|
-
}, config)), (props === null || props === void 0 ? void 0 : (_props$selectProps4 = props.selectProps) === null || _props$selectProps4 === void 0 ? void 0 : _props$selectProps4.multipleForQuery) && !isView && (/*#__PURE__*/React__default['default'].createElement(antd.Row, {
|
|
31574
|
+
}, config)), (props === null || props === void 0 ? void 0 : (_props$selectProps4 = props.selectProps) === null || _props$selectProps4 === void 0 ? void 0 : _props$selectProps4.multipleForQuery) && !isView && ( /*#__PURE__*/React__default['default'].createElement(antd.Row, {
|
|
31109
31575
|
justify: "center",
|
|
31110
31576
|
style: {
|
|
31111
31577
|
marginBottom: 30,
|
|
@@ -31221,7 +31687,7 @@ var CustomSelector = (function (props) {
|
|
|
31221
31687
|
var _props$ctx7;
|
|
31222
31688
|
return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
|
|
31223
31689
|
}
|
|
31224
|
-
})), showType === 'modalTable' && (/*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
31690
|
+
})), showType === 'modalTable' && ( /*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
31225
31691
|
type: "primary",
|
|
31226
31692
|
style: {
|
|
31227
31693
|
width: '30px',
|
|
@@ -31307,7 +31773,7 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
31307
31773
|
_useState2 = _slicedToArray(_useState, 2),
|
|
31308
31774
|
handSource = _useState2[0],
|
|
31309
31775
|
setHandSource = _useState2[1];
|
|
31310
|
-
React$1.useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
31776
|
+
React$1.useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
31311
31777
|
var resData, data;
|
|
31312
31778
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31313
31779
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -31451,15 +31917,15 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
31451
31917
|
});
|
|
31452
31918
|
};
|
|
31453
31919
|
|
|
31454
|
-
var css_248z$
|
|
31455
|
-
styleInject(css_248z$
|
|
31920
|
+
var css_248z$v = ".base_rule p {\n margin: 0;\n}\n.base_rule .base_rule_content {\n min-height: 80px;\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title {\n position: relative;\n height: 40px;\n}\n.base_rule .base_rule_line_title .rule_title {\n height: 35px;\n padding: 0 10px;\n font-weight: bold;\n font-size: 16px;\n line-height: 35px;\n}\n.base_rule .base_rule_line_title .base_rule_btn_style {\n position: absolute;\n right: 0px;\n}\n.base_rule .base_rule_line_title :global .ant-btn-link {\n color: #008fe0;\n font-weight: bold;\n border: 0px !important;\n}\n.base_rule .base_rule_line_title :global .ant-btn-link:hover,\n.base_rule .base_rule_line_title :global .ant-btn-link:focus {\n color: #008fe0;\n background-color: transparent;\n border: 0px;\n border-color: #008fe0;\n}\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):hover,\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):active,\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):focus {\n color: #008fe0;\n}\n.base_rule .base_rule_line_content {\n display: flex;\n padding: 15px;\n overflow-x: auto;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn {\n margin-right: 10px;\n color: #89b9cf;\n font-size: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn:hover {\n cursor: pointer;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc_content {\n height: 45px;\n line-height: 45px;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc {\n margin-right: 15px;\n}\n.base_rule .base_rule_line_content .base_rule_item1 {\n align-items: center;\n width: 120px;\n color: #f8ab3c;\n font-size: 16px;\n}\n.base_rule .base_rule_line_content .base_rule_item2 {\n width: 75%;\n}\n.base_rule .base_rule_line_content .base_rule_item3 {\n display: flex;\n justify-content: space-around;\n margin-top: -20px;\n padding-left: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_item3 .rule_action_return_border {\n margin-bottom: 10px;\n padding: 0px 10px 0px 10px;\n border: 1px dashed #d9d9d9;\n}\n.base_rule .base_rule_line_content .base_rule_item3 .rule_action_return_border .rule_border_title {\n position: relative;\n top: -10px;\n left: 20px;\n width: 90px;\n text-align: center;\n background: #fff;\n}\n.base_rule .base_rule_line_content .base_rule_item3 .rule_action_return_border .rule_action_item {\n display: flex;\n justify-content: space-between;\n}\n.base_rule .base_rule_line_content .line_color_red {\n color: #ed869b;\n}\n.base_rule .base_rule_line_content .base_rule_item4 {\n width: 80px;\n}\n.base_rule .footer_line > span {\n color: #008fe0;\n font-weight: bold;\n font-size: 16px;\n}\n.rule_name_title {\n display: inline-block;\n height: 30px;\n margin-right: 10px;\n margin-bottom: 10px;\n padding-left: 10px;\n color: #f8ab3c;\n font-size: 16px;\n line-height: 30px;\n}\n.logical_operate_content {\n position: relative;\n}\n.logical_operate_content .top_line {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content .bottom_line {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content::before {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 998;\n width: 2px;\n height: 100%;\n overflow: hidden;\n background: #d6efe8;\n content: ' ';\n}\n.logical_item_btn {\n position: absolute !important;\n top: 50%;\n left: 50%;\n z-index: 999;\n display: flex !important;\n align-items: center;\n width: 50px;\n height: 30px !important;\n margin-top: -15px;\n margin-left: -25px;\n padding: 0px !important;\n color: #008fe0 !important;\n line-height: 30px !important;\n text-align: center !important;\n background-color: #ffffff !important;\n cursor: pointer !important;\n}\n.logical_item_btn1 {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n display: inline-block;\n width: 30px;\n height: 30px;\n margin-left: -15px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.rule_field_style {\n display: inline-block;\n}\n.icon_btn_style {\n margin-right: 10px;\n font-size: 20px;\n}\n.choose_logical_type {\n height: 25px;\n margin: 0px;\n padding: 0 10px;\n line-height: 25px;\n cursor: pointer;\n}\n.choose_logical_type:first-child {\n border-bottom: 1px solid #d9d9d9;\n}\n.choose_logical_type:hover {\n color: white;\n background-color: #008fe0;\n}\n.action_list_item {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n padding: 10px;\n border: 1px solid #e1e1f0;\n border-radius: 2px;\n cursor: pointer;\n}\n:global .ant-popover-inner-content {\n padding: 0px;\n}\n";
|
|
31921
|
+
styleInject(css_248z$v);
|
|
31456
31922
|
|
|
31457
31923
|
// 查询规则对象属性thresholdList
|
|
31458
31924
|
function getRegularThresholdRange(_x) {
|
|
31459
31925
|
return _getRegularThresholdRange.apply(this, arguments);
|
|
31460
31926
|
}
|
|
31461
31927
|
function _getRegularThresholdRange() {
|
|
31462
|
-
_getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
31928
|
+
_getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
31463
31929
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31464
31930
|
while (1) switch (_context.prev = _context.next) {
|
|
31465
31931
|
case 0:
|
|
@@ -31613,7 +32079,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
31613
32079
|
};
|
|
31614
32080
|
//规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
|
|
31615
32081
|
_this.getRegularThresholdRange = /*#__PURE__*/function () {
|
|
31616
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
|
|
32082
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
|
|
31617
32083
|
var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
|
|
31618
32084
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31619
32085
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -32558,7 +33024,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32558
33024
|
isAll: true,
|
|
32559
33025
|
needNameAndCode: true,
|
|
32560
33026
|
notChangeOnSelect: true,
|
|
32561
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
33027
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
32562
33028
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
32563
33029
|
while (1) switch (_context2.prev = _context2.next) {
|
|
32564
33030
|
case 0:
|
|
@@ -32607,7 +33073,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32607
33073
|
isAll: true,
|
|
32608
33074
|
needNameAndCode: true,
|
|
32609
33075
|
notChangeOnSelect: true,
|
|
32610
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
33076
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
32611
33077
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
32612
33078
|
while (1) switch (_context3.prev = _context3.next) {
|
|
32613
33079
|
case 0:
|
|
@@ -32658,7 +33124,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32658
33124
|
isAll: true,
|
|
32659
33125
|
needNameAndCode: true,
|
|
32660
33126
|
notChangeOnSelect: true,
|
|
32661
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
33127
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
32662
33128
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
32663
33129
|
while (1) switch (_context4.prev = _context4.next) {
|
|
32664
33130
|
case 0:
|
|
@@ -34357,7 +34823,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34357
34823
|
style: {
|
|
34358
34824
|
marginLeft: '10px'
|
|
34359
34825
|
},
|
|
34360
|
-
className: css_248z$
|
|
34826
|
+
className: css_248z$v.rule_field_style
|
|
34361
34827
|
}, this.renderConditionField());
|
|
34362
34828
|
}
|
|
34363
34829
|
}]);
|
|
@@ -34622,7 +35088,7 @@ var App$1 = function App(_ref) {
|
|
|
34622
35088
|
borderRadius: '5px',
|
|
34623
35089
|
cursor: 'pointer'
|
|
34624
35090
|
}
|
|
34625
|
-
}, isStaticNumber ? (/*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
35091
|
+
}, isStaticNumber ? ( /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
34626
35092
|
autoFocus: true,
|
|
34627
35093
|
onClick: function onClick(e) {
|
|
34628
35094
|
return e.stopPropagation();
|
|
@@ -34798,7 +35264,7 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
|
|
|
34798
35264
|
disabled = _this$props.disabled;
|
|
34799
35265
|
return /*#__PURE__*/React__default['default'].createElement("div", null, ruleTypeData.map(function (i) {
|
|
34800
35266
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
34801
|
-
className: css_248z$
|
|
35267
|
+
className: css_248z$v.action_list_item
|
|
34802
35268
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
34803
35269
|
onClick: function onClick() {
|
|
34804
35270
|
return handleOperatingAction(i.code, 'view');
|
|
@@ -34909,7 +35375,7 @@ function RenderCompItem(props) {
|
|
|
34909
35375
|
dictData = _useState2[0],
|
|
34910
35376
|
setDictData = _useState2[1];
|
|
34911
35377
|
var getDictData = /*#__PURE__*/function () {
|
|
34912
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
35378
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
34913
35379
|
var _data$map;
|
|
34914
35380
|
var data;
|
|
34915
35381
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -34951,7 +35417,7 @@ function RenderCompItem(props) {
|
|
|
34951
35417
|
var style2 = {
|
|
34952
35418
|
width: '100px'
|
|
34953
35419
|
};
|
|
34954
|
-
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && (/*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
35420
|
+
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && ( /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
34955
35421
|
disabled: disabled,
|
|
34956
35422
|
allowClear: true,
|
|
34957
35423
|
onClear: function onClear() {
|
|
@@ -34962,7 +35428,7 @@ function RenderCompItem(props) {
|
|
|
34962
35428
|
onBlur: function onBlur(e) {
|
|
34963
35429
|
handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
|
|
34964
35430
|
}
|
|
34965
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 22) && (/*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
|
|
35431
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 22) && ( /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
|
|
34966
35432
|
disabled: disabled,
|
|
34967
35433
|
// max={Number.MAX_SAFE_INTEGER}
|
|
34968
35434
|
max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
|
|
@@ -34975,7 +35441,7 @@ function RenderCompItem(props) {
|
|
|
34975
35441
|
onChange: function onChange(value) {
|
|
34976
35442
|
handleEdit(ites.code, value);
|
|
34977
35443
|
}
|
|
34978
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 41 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 32) && (/*#__PURE__*/React__default['default'].createElement(antd.DatePicker, {
|
|
35444
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 41 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 32) && ( /*#__PURE__*/React__default['default'].createElement(antd.DatePicker, {
|
|
34979
35445
|
showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
|
|
34980
35446
|
format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
|
|
34981
35447
|
disabled: disabled,
|
|
@@ -34985,7 +35451,7 @@ function RenderCompItem(props) {
|
|
|
34985
35451
|
onChange: function onChange(value, dateString) {
|
|
34986
35452
|
handleEdit(ites.code, dateString);
|
|
34987
35453
|
}
|
|
34988
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && (/*#__PURE__*/React__default['default'].createElement(RangePicker$1, {
|
|
35454
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && ( /*#__PURE__*/React__default['default'].createElement(RangePicker$1, {
|
|
34989
35455
|
showTime: true,
|
|
34990
35456
|
disabled: disabled,
|
|
34991
35457
|
defaultValue: ites.defaultValue,
|
|
@@ -34994,7 +35460,7 @@ function RenderCompItem(props) {
|
|
|
34994
35460
|
onChange: function onChange(value, timeString) {
|
|
34995
35461
|
handleEdit(ites.code, timeString);
|
|
34996
35462
|
}
|
|
34997
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && (/*#__PURE__*/React__default['default'].createElement(antd.Switch, {
|
|
35463
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && ( /*#__PURE__*/React__default['default'].createElement(antd.Switch, {
|
|
34998
35464
|
disabled: disabled,
|
|
34999
35465
|
defaultChecked: !!ites.defaultValue,
|
|
35000
35466
|
style: style2,
|
|
@@ -35002,7 +35468,7 @@ function RenderCompItem(props) {
|
|
|
35002
35468
|
onChange: function onChange(value) {
|
|
35003
35469
|
handleEdit(ites.code, value);
|
|
35004
35470
|
}
|
|
35005
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 10 && (/*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({
|
|
35471
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 10 && ( /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({
|
|
35006
35472
|
disabled: disabled,
|
|
35007
35473
|
allowClear: true,
|
|
35008
35474
|
showArrow: true
|
|
@@ -35020,7 +35486,7 @@ function RenderCompItem(props) {
|
|
|
35020
35486
|
key: it,
|
|
35021
35487
|
value: it
|
|
35022
35488
|
}, ites.enumeration[it]);
|
|
35023
|
-
}))) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 20 && (/*#__PURE__*/React__default['default'].createElement(InnerSelect, {
|
|
35489
|
+
}))) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 20 && ( /*#__PURE__*/React__default['default'].createElement(InnerSelect, {
|
|
35024
35490
|
disabled: disabled,
|
|
35025
35491
|
inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
|
|
35026
35492
|
defaultValue: ites.defaultValue,
|
|
@@ -35030,7 +35496,7 @@ function RenderCompItem(props) {
|
|
|
35030
35496
|
handleEdit(ites.code, value);
|
|
35031
35497
|
},
|
|
35032
35498
|
dictionaryCode: ites.dictionaryCode
|
|
35033
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 110 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35499
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 110 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35034
35500
|
selectBusinessType: "physicalWarehouse",
|
|
35035
35501
|
selectProps: _objectSpread2({
|
|
35036
35502
|
style: styleCommon,
|
|
@@ -35052,7 +35518,7 @@ function RenderCompItem(props) {
|
|
|
35052
35518
|
getPopupContainer: function getPopupContainer() {
|
|
35053
35519
|
return document.body;
|
|
35054
35520
|
}
|
|
35055
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 120 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35521
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 120 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35056
35522
|
selectBusinessType: "realWarehouse",
|
|
35057
35523
|
selectProps: _objectSpread2({
|
|
35058
35524
|
style: styleCommon,
|
|
@@ -35074,7 +35540,7 @@ function RenderCompItem(props) {
|
|
|
35074
35540
|
getPopupContainer: function getPopupContainer() {
|
|
35075
35541
|
return document.body;
|
|
35076
35542
|
}
|
|
35077
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 130 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35543
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 130 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35078
35544
|
selectBusinessType: "virtualWarehouse",
|
|
35079
35545
|
selectProps: _objectSpread2({
|
|
35080
35546
|
style: styleCommon,
|
|
@@ -35096,7 +35562,7 @@ function RenderCompItem(props) {
|
|
|
35096
35562
|
getPopupContainer: function getPopupContainer() {
|
|
35097
35563
|
return document.body;
|
|
35098
35564
|
}
|
|
35099
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 140 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35565
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 140 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35100
35566
|
selectBusinessType: "channelWarehouse",
|
|
35101
35567
|
selectProps: _objectSpread2({
|
|
35102
35568
|
style: styleCommon,
|
|
@@ -35118,7 +35584,7 @@ function RenderCompItem(props) {
|
|
|
35118
35584
|
getPopupContainer: function getPopupContainer() {
|
|
35119
35585
|
return document.body;
|
|
35120
35586
|
}
|
|
35121
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 150 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35587
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 150 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35122
35588
|
selectBusinessType: "spuCommodity",
|
|
35123
35589
|
selectProps: _objectSpread2({
|
|
35124
35590
|
style: styleCommon,
|
|
@@ -35139,7 +35605,7 @@ function RenderCompItem(props) {
|
|
|
35139
35605
|
getPopupContainer: function getPopupContainer() {
|
|
35140
35606
|
return document.body;
|
|
35141
35607
|
}
|
|
35142
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 160 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35608
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 160 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35143
35609
|
selectBusinessType: "skuCommodity",
|
|
35144
35610
|
selectProps: _objectSpread2({
|
|
35145
35611
|
style: styleCommon,
|
|
@@ -35160,13 +35626,13 @@ function RenderCompItem(props) {
|
|
|
35160
35626
|
getPopupContainer: function getPopupContainer() {
|
|
35161
35627
|
return document.body;
|
|
35162
35628
|
}
|
|
35163
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 190 && (/*#__PURE__*/React__default['default'].createElement(BsCascader, {
|
|
35629
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 190 && ( /*#__PURE__*/React__default['default'].createElement(BsCascader, {
|
|
35164
35630
|
disabled: disabled,
|
|
35165
35631
|
isAll: true,
|
|
35166
35632
|
needNameAndCode: true,
|
|
35167
35633
|
notChangeOnSelect: true,
|
|
35168
35634
|
initRequestSource: function () {
|
|
35169
|
-
var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
35635
|
+
var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
35170
35636
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
35171
35637
|
while (1) switch (_context2.prev = _context2.next) {
|
|
35172
35638
|
case 0:
|
|
@@ -35208,7 +35674,7 @@ function RenderCompItem(props) {
|
|
|
35208
35674
|
getPopupContainer: function getPopupContainer() {
|
|
35209
35675
|
return document.body;
|
|
35210
35676
|
}
|
|
35211
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 210 && (/*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
|
|
35677
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 210 && ( /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
|
|
35212
35678
|
disabled: disabled,
|
|
35213
35679
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35214
35680
|
businessType: "department",
|
|
@@ -35221,7 +35687,7 @@ function RenderCompItem(props) {
|
|
|
35221
35687
|
getPopupContainer: function getPopupContainer() {
|
|
35222
35688
|
return document.body;
|
|
35223
35689
|
}
|
|
35224
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 220 && (/*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
|
|
35690
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 220 && ( /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
|
|
35225
35691
|
disabled: disabled,
|
|
35226
35692
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35227
35693
|
businessType: "purchase-organization",
|
|
@@ -35234,7 +35700,7 @@ function RenderCompItem(props) {
|
|
|
35234
35700
|
getPopupContainer: function getPopupContainer() {
|
|
35235
35701
|
return document.body;
|
|
35236
35702
|
}
|
|
35237
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 230 && (/*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
|
|
35703
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 230 && ( /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
|
|
35238
35704
|
disabled: disabled,
|
|
35239
35705
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35240
35706
|
businessType: "sales-organization",
|
|
@@ -35247,7 +35713,7 @@ function RenderCompItem(props) {
|
|
|
35247
35713
|
getPopupContainer: function getPopupContainer() {
|
|
35248
35714
|
return document.body;
|
|
35249
35715
|
}
|
|
35250
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 240 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35716
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 240 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35251
35717
|
selectBusinessType: "supplier2",
|
|
35252
35718
|
selectProps: _objectSpread2({
|
|
35253
35719
|
style: styleCommon,
|
|
@@ -35268,7 +35734,7 @@ function RenderCompItem(props) {
|
|
|
35268
35734
|
getPopupContainer: function getPopupContainer() {
|
|
35269
35735
|
return document.body;
|
|
35270
35736
|
}
|
|
35271
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 250 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35737
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 250 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35272
35738
|
selectBusinessType: "customer2",
|
|
35273
35739
|
selectProps: _objectSpread2({
|
|
35274
35740
|
style: styleCommon,
|
|
@@ -35289,7 +35755,7 @@ function RenderCompItem(props) {
|
|
|
35289
35755
|
getPopupContainer: function getPopupContainer() {
|
|
35290
35756
|
return document.body;
|
|
35291
35757
|
}
|
|
35292
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 260 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35758
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 260 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35293
35759
|
selectBusinessType: "shopFile2",
|
|
35294
35760
|
selectProps: _objectSpread2({
|
|
35295
35761
|
style: styleCommon,
|
|
@@ -35310,7 +35776,7 @@ function RenderCompItem(props) {
|
|
|
35310
35776
|
getPopupContainer: function getPopupContainer() {
|
|
35311
35777
|
return document.body;
|
|
35312
35778
|
}
|
|
35313
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 270 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35779
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 270 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35314
35780
|
selectBusinessType: "employee2",
|
|
35315
35781
|
selectProps: _objectSpread2({
|
|
35316
35782
|
style: styleCommon,
|
|
@@ -35331,7 +35797,7 @@ function RenderCompItem(props) {
|
|
|
35331
35797
|
getPopupContainer: function getPopupContainer() {
|
|
35332
35798
|
return document.body;
|
|
35333
35799
|
}
|
|
35334
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 280 && (/*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
|
|
35800
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 280 && ( /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
|
|
35335
35801
|
disabled: disabled,
|
|
35336
35802
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35337
35803
|
businessType: "stock-organization",
|
|
@@ -35344,7 +35810,7 @@ function RenderCompItem(props) {
|
|
|
35344
35810
|
getPopupContainer: function getPopupContainer() {
|
|
35345
35811
|
return document.body;
|
|
35346
35812
|
}
|
|
35347
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 290 && (/*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
|
|
35813
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 290 && ( /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
|
|
35348
35814
|
disabled: disabled,
|
|
35349
35815
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35350
35816
|
businessType: "settle-organization",
|
|
@@ -35357,7 +35823,7 @@ function RenderCompItem(props) {
|
|
|
35357
35823
|
getPopupContainer: function getPopupContainer() {
|
|
35358
35824
|
return document.body;
|
|
35359
35825
|
}
|
|
35360
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35826
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35361
35827
|
selectBusinessType: "deliveryMode",
|
|
35362
35828
|
selectProps: _objectSpread2({
|
|
35363
35829
|
style: styleCommon,
|
|
@@ -35378,7 +35844,7 @@ function RenderCompItem(props) {
|
|
|
35378
35844
|
getPopupContainer: function getPopupContainer() {
|
|
35379
35845
|
return document.body;
|
|
35380
35846
|
}
|
|
35381
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 360 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35847
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 360 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35382
35848
|
selectBusinessType: "role",
|
|
35383
35849
|
selectProps: _objectSpread2({
|
|
35384
35850
|
style: styleCommon,
|
|
@@ -35399,7 +35865,7 @@ function RenderCompItem(props) {
|
|
|
35399
35865
|
getPopupContainer: function getPopupContainer() {
|
|
35400
35866
|
return document.body;
|
|
35401
35867
|
}
|
|
35402
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 410 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35868
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 410 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35403
35869
|
selectBusinessType: "brand",
|
|
35404
35870
|
selectProps: _objectSpread2({
|
|
35405
35871
|
style: styleCommon,
|
|
@@ -35420,7 +35886,7 @@ function RenderCompItem(props) {
|
|
|
35420
35886
|
getPopupContainer: function getPopupContainer() {
|
|
35421
35887
|
return document.body;
|
|
35422
35888
|
}
|
|
35423
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 420 && (/*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
|
|
35889
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 420 && ( /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
|
|
35424
35890
|
disabled: disabled,
|
|
35425
35891
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35426
35892
|
businessType: "background-category",
|
|
@@ -35433,7 +35899,7 @@ function RenderCompItem(props) {
|
|
|
35433
35899
|
getPopupContainer: function getPopupContainer() {
|
|
35434
35900
|
return document.body;
|
|
35435
35901
|
}
|
|
35436
|
-
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 40 && (/*#__PURE__*/React__default['default'].createElement(CustomSelector, {
|
|
35902
|
+
})) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 40 && ( /*#__PURE__*/React__default['default'].createElement(CustomSelector, {
|
|
35437
35903
|
selectProps: _objectSpread2(_objectSpread2({
|
|
35438
35904
|
style: styleCommon,
|
|
35439
35905
|
placeholder: '请选择'
|
|
@@ -35456,7 +35922,7 @@ function RenderCompItem(props) {
|
|
|
35456
35922
|
onChange: function onChange(value) {
|
|
35457
35923
|
handleEdit(ites.code, value);
|
|
35458
35924
|
}
|
|
35459
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
35925
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
35460
35926
|
style: {
|
|
35461
35927
|
display: 'flex'
|
|
35462
35928
|
}
|
|
@@ -35968,7 +36434,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
35968
36434
|
queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
|
|
35969
36435
|
queryIdentifyType = 'dynamicDictCodeIdentify';
|
|
35970
36436
|
}
|
|
35971
|
-
var parallelTreeData =
|
|
36437
|
+
var parallelTreeData = coverToParallel(ruleTreeData, []) || [];
|
|
35972
36438
|
var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
|
|
35973
36439
|
var _i$key;
|
|
35974
36440
|
return ((i === null || i === void 0 ? void 0 : (_i$key = i.key) === null || _i$key === void 0 ? void 0 : _i$key.indexOf('.')) > -1 ? i.id : i.key) === (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId);
|
|
@@ -36745,8 +37211,8 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
36745
37211
|
}]);
|
|
36746
37212
|
}(React$1.Component);
|
|
36747
37213
|
|
|
36748
|
-
var css_248z$
|
|
36749
|
-
styleInject(css_248z$
|
|
37214
|
+
var css_248z$w = ".goBack_btn_content {\n position: relative;\n overflow: auto;\n}\n.goBack_btn_content .goback_btn {\n float: right;\n}\n.base_rule p {\n margin: 0;\n}\n.base_rule .base_rule_content {\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title {\n position: relative;\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title .rule_title {\n height: 35px;\n padding: 0 10px;\n font-weight: bold;\n font-size: 16px;\n line-height: 35px;\n}\n.base_rule .base_rule_line_title .base_rule_btn_style {\n position: absolute;\n right: 0px;\n}\n.base_rule .base_rule_line_content {\n display: flex;\n padding: 14px 10px 10px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn {\n margin-right: 10px;\n color: #89b9cf;\n font-size: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn:hover {\n cursor: pointer;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc_content {\n height: 45px;\n line-height: 45px;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc {\n margin-right: 15px;\n}\n.base_rule .base_rule_line_content .base_rule_item1 {\n align-items: center;\n width: 120px;\n color: #f8ab3c;\n font-size: 16px;\n}\n.base_rule .base_rule_line_content .base_rule_item2 {\n width: 1200px;\n}\n.base_rule .base_rule_line_content .base_rule_item3 {\n display: flex;\n align-items: center;\n justify-content: space-around;\n width: calc(100% - 600px);\n}\n.base_rule .base_rule_line_content .line_color_red {\n color: #ed869b;\n}\n.base_rule .base_rule_line_content .base_rule_item4 {\n width: 80px;\n}\n.base_rule .footer_line > span {\n color: #008fe0;\n font-weight: bold;\n font-size: 16px;\n}\n.rule_name_title {\n display: inline-block;\n height: 30px;\n margin-right: 10px;\n margin-bottom: 10px;\n padding-left: 10px;\n color: #f8ab3c;\n font-size: 16px;\n line-height: 30px;\n}\n.logical_operate_content {\n position: relative;\n}\n.logical_operate_content .top_line {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content .bottom_line {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content::before {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 998;\n width: 2px;\n height: 100%;\n overflow: hidden;\n background: #d6efe8;\n content: ' ';\n}\n.logical_item_btn {\n position: absolute;\n top: 50%;\n left: 50%;\n z-index: 999;\n display: flex;\n align-items: center;\n width: 50px;\n height: 30px;\n margin-top: -15px;\n margin-left: -25px;\n padding: 0px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.logical_item_btn1 {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n display: inline-block;\n width: 30px;\n height: 30px;\n margin-left: -15px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.rule_field_style {\n display: inline-block;\n}\n.icon_btn_style {\n margin-right: 10px;\n font-size: 20px;\n}\n.choose_logical_type {\n height: 25px;\n margin: 0px;\n padding: 0 10px;\n line-height: 25px;\n cursor: pointer;\n}\n.choose_logical_type:first-child {\n border-bottom: 1px solid #d9d9d9;\n}\n.choose_logical_type:hover {\n color: white;\n background-color: #008fe0;\n}\n";
|
|
37215
|
+
styleInject(css_248z$w);
|
|
36750
37216
|
|
|
36751
37217
|
var formatOperationList = function formatOperationList(data) {
|
|
36752
37218
|
var _result$find;
|
|
@@ -36895,13 +37361,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
|
|
|
36895
37361
|
var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
|
|
36896
37362
|
// 处理对象-设置了必填-规则实例保存时数据必填校验
|
|
36897
37363
|
if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
|
|
36898
|
-
var list =
|
|
37364
|
+
var list = coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
|
|
36899
37365
|
var requiredList = list.filter(function (c) {
|
|
36900
37366
|
return c.required == 1;
|
|
36901
37367
|
}) || []; // 获取对象属性为true的集合
|
|
36902
37368
|
(requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
|
|
36903
37369
|
var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
|
|
36904
|
-
var coverExpressionTree = (s === null || s === void 0 ? void 0 : (_s$expression = s.expression) === null || _s$expression === void 0 ? void 0 : (_s$expression$subExpr = _s$expression.subExpression) === null || _s$expression$subExpr === void 0 ? void 0 : _s$expression$subExpr.length) ?
|
|
37370
|
+
var coverExpressionTree = (s === null || s === void 0 ? void 0 : (_s$expression = s.expression) === null || _s$expression === void 0 ? void 0 : (_s$expression$subExpr = _s$expression.subExpression) === null || _s$expression$subExpr === void 0 ? void 0 : _s$expression$subExpr.length) ? coverToParallel(s === null || s === void 0 ? void 0 : (_s$expression2 = s.expression) === null || _s$expression2 === void 0 ? void 0 : _s$expression2.subExpression, [], 'subExpression') : (s === null || s === void 0 ? void 0 : s.expression) && [s === null || s === void 0 ? void 0 : s.expression];
|
|
36905
37371
|
(coverExpressionTree === null || coverExpressionTree === void 0 ? void 0 : coverExpressionTree.length) && (coverExpressionTree === null || coverExpressionTree === void 0 ? void 0 : (_coverExpressionTree$ = coverExpressionTree.forEach) === null || _coverExpressionTree$ === void 0 ? void 0 : _coverExpressionTree$.call(coverExpressionTree, function (e) {
|
|
36906
37372
|
if (requiredList.some(function (r) {
|
|
36907
37373
|
return r.id === e.elementId;
|
|
@@ -37479,18 +37945,18 @@ var BaseRule = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
37479
37945
|
return /*#__PURE__*/React__default['default'].createElement(antd.Spin, {
|
|
37480
37946
|
spinning: loading
|
|
37481
37947
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37482
|
-
className: css_248z$
|
|
37948
|
+
className: css_248z$w.base_rule
|
|
37483
37949
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37484
|
-
className: css_248z$
|
|
37950
|
+
className: css_248z$w.base_rule_content
|
|
37485
37951
|
}, /*#__PURE__*/React__default['default'].createElement("p", {
|
|
37486
|
-
className: css_248z$
|
|
37952
|
+
className: css_248z$w.base_rule_line_title
|
|
37487
37953
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
37488
|
-
className: css_248z$
|
|
37954
|
+
className: css_248z$w.rule_title
|
|
37489
37955
|
}, (_handleDiff = handleDiff()) === null || _handleDiff === void 0 ? void 0 : _handleDiff.title), /*#__PURE__*/React__default['default'].createElement("p", {
|
|
37490
37956
|
style: {
|
|
37491
37957
|
float: 'right'
|
|
37492
37958
|
}
|
|
37493
|
-
})), /*#__PURE__*/React__default['default'].createElement("div", null, sceneId ? (/*#__PURE__*/React__default['default'].createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
|
|
37959
|
+
})), /*#__PURE__*/React__default['default'].createElement("div", null, sceneId ? ( /*#__PURE__*/React__default['default'].createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
|
|
37494
37960
|
onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
|
|
37495
37961
|
ruleGroupInfo: {
|
|
37496
37962
|
ruleGroupList: ruleGroupList,
|
|
@@ -37508,7 +37974,7 @@ var BaseRule = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
37508
37974
|
callBack: function callBack(newData) {
|
|
37509
37975
|
upDateData(newData);
|
|
37510
37976
|
}
|
|
37511
|
-
}))) : (/*#__PURE__*/React__default['default'].createElement("div", {
|
|
37977
|
+
}))) : ( /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37512
37978
|
style: {
|
|
37513
37979
|
padding: 20
|
|
37514
37980
|
}
|
|
@@ -37735,17 +38201,17 @@ var index$7 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
37735
38201
|
})));
|
|
37736
38202
|
});
|
|
37737
38203
|
|
|
37738
|
-
var css_248z$
|
|
37739
|
-
styleInject(css_248z$
|
|
38204
|
+
var css_248z$x = ".bs-collapse-wrap {\n border-radius: 4px;\n overflow: hidden;\n}\n.bs-collapse-wrap .bs-collapse-header-wrap {\n background: #fff;\n}\n.bs-collapse-wrap .bs-collapse-icon {\n color: #b6b6b6;\n transition: transform 0.3s;\n}\n.bs-collapse-wrap .bs-guidewrap-icon-toogle {\n transform: rotate(180deg);\n}\n.bs-collapse-wrap .bs-collapse-header-title {\n font-weight: 500;\n font-size: 14px;\n color: #000000;\n}\n.bs-collapse-wrap .bs-collapse-header-divider {\n width: 3px;\n height: 20px;\n background: #005cff;\n}\n.bs-collapse-header-boder .ant-collapse .ant-collapse-item > .ant-collapse-header {\n border-bottom: 1px solid #f0f0f0;\n padding: 8px 16px;\n}\n";
|
|
38205
|
+
styleInject(css_248z$x);
|
|
37740
38206
|
|
|
37741
|
-
var _excluded$
|
|
38207
|
+
var _excluded$l = ["titleExtra", "header", "showArrow"];
|
|
37742
38208
|
var Panel = antd.Collapse.Panel;
|
|
37743
38209
|
var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
37744
38210
|
var titleExtra = _ref.titleExtra,
|
|
37745
38211
|
header = _ref.header,
|
|
37746
38212
|
_ref$showArrow = _ref.showArrow,
|
|
37747
38213
|
showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
|
|
37748
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38214
|
+
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
37749
38215
|
var renderHeader = function renderHeader() {
|
|
37750
38216
|
return /*#__PURE__*/React__default['default'].createElement(antd.Space, {
|
|
37751
38217
|
align: "center"
|
|
@@ -37769,11 +38235,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
|
37769
38235
|
}), props.children);
|
|
37770
38236
|
};
|
|
37771
38237
|
|
|
37772
|
-
var _excluded$
|
|
38238
|
+
var _excluded$m = ["children", "bordered"];
|
|
37773
38239
|
var ExtendedCollapse = function ExtendedCollapse(props) {
|
|
37774
38240
|
var children = props.children,
|
|
37775
38241
|
bordered = props.bordered,
|
|
37776
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
38242
|
+
restProps = _objectWithoutProperties(props, _excluded$m);
|
|
37777
38243
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
37778
38244
|
className: classNames__default['default']({
|
|
37779
38245
|
'bs-collapse-wrap': true,
|
|
@@ -37787,9 +38253,9 @@ var index$8 = Object.assign(ExtendedCollapse, {
|
|
|
37787
38253
|
Board: ExtendedPanel
|
|
37788
38254
|
});
|
|
37789
38255
|
|
|
37790
|
-
var css_248z$
|
|
38256
|
+
var css_248z$y = ".index-module_paragraphCopyWrapper__3rGOI {\n display: flex;\n margin-bottom: 4px;\n}\n.index-module_paragraphCopyWrapper__3rGOI .index-module_paragraphCopyLabel__1Qb8u {\n color: #8c8e91;\n font-size: 12px;\n white-space: nowrap;\n}\n.index-module_paragraphCopyWrapper__3rGOI .index-module_paragraphCopy__1y7Jo {\n min-width: 100px;\n margin-bottom: 0;\n font-size: 12px;\n flex: 1;\n}\n";
|
|
37791
38257
|
var styles = {"paragraphCopyWrapper":"index-module_paragraphCopyWrapper__3rGOI","paragraphCopyLabel":"index-module_paragraphCopyLabel__1Qb8u","paragraphCopy":"index-module_paragraphCopy__1y7Jo"};
|
|
37792
|
-
styleInject(css_248z$
|
|
38258
|
+
styleInject(css_248z$y);
|
|
37793
38259
|
|
|
37794
38260
|
var Paragraph = antd.Typography.Paragraph;
|
|
37795
38261
|
var Section = function Section(_ref) {
|
|
@@ -37911,6 +38377,7 @@ exports.HomePageWrapper = index$4;
|
|
|
37911
38377
|
exports.JsonQueryTable = JsonQueryTable;
|
|
37912
38378
|
exports.MoreTreeTable = index$6;
|
|
37913
38379
|
exports.ParagraphCopier = ParagraphCopier;
|
|
38380
|
+
exports.PropertySelector = PropertySelector;
|
|
37914
38381
|
exports.QueryMutipleInput = QueryMutipleInput;
|
|
37915
38382
|
exports.RuleComponent = RuleObjectComponent;
|
|
37916
38383
|
exports.RuleSetter = index$7;
|
|
@@ -37923,11 +38390,11 @@ exports.TreeSearchSelect = TreeSearchSelect;
|
|
|
37923
38390
|
exports.authFunc = authFunc;
|
|
37924
38391
|
exports.calculateValidPeriod = calculateValidPeriod;
|
|
37925
38392
|
exports.checkQuantityAccuracy = checkQuantityAccuracy;
|
|
37926
|
-
exports.coverToParallel =
|
|
38393
|
+
exports.coverToParallel = coverToParallel;
|
|
37927
38394
|
exports.createUniqID = createUniqID;
|
|
37928
38395
|
exports.downloadExcel = downloadExcel;
|
|
37929
38396
|
exports.ergodicMenuRoutes = ergodicMenuRoutes;
|
|
37930
|
-
exports.formatter =
|
|
38397
|
+
exports.formatter = formatter;
|
|
37931
38398
|
exports.getAccountID = getAccountID;
|
|
37932
38399
|
exports.getAccountId = getAccountId;
|
|
37933
38400
|
exports.getBreadcrumbNameMap = getBreadcrumbNameMap;
|