@bit-sun/business-component 4.0.12-alpha.19 → 4.0.12-alpha.20
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/index.d.ts +0 -1
- package/dist/index.esm.js +527 -979
- package/dist/index.js +525 -978
- package/package.json +1 -1
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +15 -4
- package/src/components/Functional/SearchSelect/index.tsx +6 -23
- package/src/index.ts +0 -1
- package/dist/components/Business/PropertyModal/index.d.ts +0 -23
- package/dist/components/Business/PropertyModal/mockData.d.ts +0 -10
- package/dist/components/Business/PropertyModal/propertyGroup.d.ts +0 -4
- package/src/components/Business/PropertyModal/index.less +0 -58
- package/src/components/Business/PropertyModal/index.md +0 -33
- package/src/components/Business/PropertyModal/index.tsx +0 -266
- package/src/components/Business/PropertyModal/mockData.ts +0 -160
- package/src/components/Business/PropertyModal/propertyGroup.tsx +0 -205
package/dist/index.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import request$1 from 'umi-request';
|
|
3
3
|
import cookie from 'js-cookie';
|
|
4
|
-
import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Select,
|
|
4
|
+
import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Select, Form, Table, Spin, Row, Col, Tabs, TreeSelect, Tag, Typography, Alert, Breadcrumb, Drawer as Drawer$1, List, Radio, Tree, Result, Affix, Cascader, DatePicker, TimePicker, Divider, Switch, Collapse } from 'antd';
|
|
5
5
|
import _, { isNil, escapeRegExp, omit, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
|
|
6
6
|
import memoizeOne from 'memoize-one';
|
|
7
7
|
import { formatMessage, history, useLocation, Link, useModel, setLocale, useIntl, request as request$3 } from 'umi';
|
|
8
8
|
import isEqual from 'lodash/isEqual';
|
|
9
|
-
import React$1, { useState, useEffect,
|
|
9
|
+
import React$1, { useState, useEffect, forwardRef, useImperativeHandle, useRef, useMemo, Component, Fragment, useLayoutEffect, createRef } from 'react';
|
|
10
10
|
import moment$1 from 'moment';
|
|
11
|
-
import { EyeOutlined, DeleteOutlined, EditOutlined, CopyOutlined, CloseSquareOutlined, WarningOutlined, SendOutlined, ProfileTwoTone, ExclamationCircleOutlined, DownOutlined, UnorderedListOutlined,
|
|
11
|
+
import { EyeOutlined, DeleteOutlined, EditOutlined, CopyOutlined, CloseSquareOutlined, WarningOutlined, SendOutlined, ProfileTwoTone, ExclamationCircleOutlined, DownOutlined, UnorderedListOutlined, SearchOutlined, CloseCircleOutlined, DownCircleFilled, ArrowLeftOutlined, FolderOutlined, EllipsisOutlined, CaretDownOutlined, HomeOutlined, DoubleLeftOutlined, DoubleRightOutlined, MenuUnfoldOutlined, CaretLeftOutlined, DashOutlined, SettingOutlined, BulbOutlined, PlayCircleOutlined, SaveOutlined, FullscreenExitOutlined, MinusCircleOutlined, PlusCircleOutlined } from '@ant-design/icons';
|
|
12
12
|
import { request as request$2, Table as Table$1, QueryTable, Form as Form$1 } from 'bssula';
|
|
13
13
|
import 'qs';
|
|
14
14
|
import { utils, writeFile, read } from 'xlsx';
|
|
@@ -31,9 +31,88 @@ import { parse as parse$1 } from '@babel/parser';
|
|
|
31
31
|
import { visit } from 'ast-types';
|
|
32
32
|
import isArray$1 from 'lodash/isArray';
|
|
33
33
|
|
|
34
|
+
function _arrayLikeToArray(r, a) {
|
|
35
|
+
(null == a || a > r.length) && (a = r.length);
|
|
36
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
37
|
+
return n;
|
|
38
|
+
}
|
|
39
|
+
function _arrayWithHoles(r) {
|
|
40
|
+
if (Array.isArray(r)) return r;
|
|
41
|
+
}
|
|
42
|
+
function _arrayWithoutHoles(r) {
|
|
43
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
44
|
+
}
|
|
45
|
+
function _assertThisInitialized(e) {
|
|
46
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
47
|
+
return e;
|
|
48
|
+
}
|
|
49
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
50
|
+
try {
|
|
51
|
+
var i = n[a](c),
|
|
52
|
+
u = i.value;
|
|
53
|
+
} catch (n) {
|
|
54
|
+
return void e(n);
|
|
55
|
+
}
|
|
56
|
+
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
57
|
+
}
|
|
58
|
+
function _asyncToGenerator(n) {
|
|
59
|
+
return function () {
|
|
60
|
+
var t = this,
|
|
61
|
+
e = arguments;
|
|
62
|
+
return new Promise(function (r, o) {
|
|
63
|
+
var a = n.apply(t, e);
|
|
64
|
+
function _next(n) {
|
|
65
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
66
|
+
}
|
|
67
|
+
function _throw(n) {
|
|
68
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
69
|
+
}
|
|
70
|
+
_next(void 0);
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
}
|
|
34
74
|
function _callSuper(t, o, e) {
|
|
35
75
|
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
36
76
|
}
|
|
77
|
+
function _classCallCheck(a, n) {
|
|
78
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
79
|
+
}
|
|
80
|
+
function _defineProperties(e, r) {
|
|
81
|
+
for (var t = 0; t < r.length; t++) {
|
|
82
|
+
var o = r[t];
|
|
83
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function _createClass(e, r, t) {
|
|
87
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
88
|
+
writable: !1
|
|
89
|
+
}), e;
|
|
90
|
+
}
|
|
91
|
+
function _defineProperty(e, r, t) {
|
|
92
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
93
|
+
value: t,
|
|
94
|
+
enumerable: !0,
|
|
95
|
+
configurable: !0,
|
|
96
|
+
writable: !0
|
|
97
|
+
}) : e[r] = t, e;
|
|
98
|
+
}
|
|
99
|
+
function _getPrototypeOf(t) {
|
|
100
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
101
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
102
|
+
}, _getPrototypeOf(t);
|
|
103
|
+
}
|
|
104
|
+
function _inherits(t, e) {
|
|
105
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
106
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
107
|
+
constructor: {
|
|
108
|
+
value: t,
|
|
109
|
+
writable: !0,
|
|
110
|
+
configurable: !0
|
|
111
|
+
}
|
|
112
|
+
}), Object.defineProperty(t, "prototype", {
|
|
113
|
+
writable: !1
|
|
114
|
+
}), e && _setPrototypeOf(t, e);
|
|
115
|
+
}
|
|
37
116
|
function _isNativeReflectConstruct() {
|
|
38
117
|
try {
|
|
39
118
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
@@ -42,6 +121,9 @@ function _isNativeReflectConstruct() {
|
|
|
42
121
|
return !!t;
|
|
43
122
|
})();
|
|
44
123
|
}
|
|
124
|
+
function _iterableToArray(r) {
|
|
125
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
126
|
+
}
|
|
45
127
|
function _iterableToArrayLimit(r, l) {
|
|
46
128
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
47
129
|
if (null != t) {
|
|
@@ -69,6 +151,15 @@ function _iterableToArrayLimit(r, l) {
|
|
|
69
151
|
return a;
|
|
70
152
|
}
|
|
71
153
|
}
|
|
154
|
+
function _nonIterableRest() {
|
|
155
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
156
|
+
}
|
|
157
|
+
function _nonIterableSpread() {
|
|
158
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
159
|
+
}
|
|
160
|
+
function _objectDestructuringEmpty(t) {
|
|
161
|
+
if (null == t) throw new TypeError("Cannot destructure " + t);
|
|
162
|
+
}
|
|
72
163
|
function ownKeys(e, r) {
|
|
73
164
|
var t = Object.keys(e);
|
|
74
165
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -90,6 +181,31 @@ function _objectSpread2(e) {
|
|
|
90
181
|
}
|
|
91
182
|
return e;
|
|
92
183
|
}
|
|
184
|
+
function _objectWithoutProperties(e, t) {
|
|
185
|
+
if (null == e) return {};
|
|
186
|
+
var o,
|
|
187
|
+
r,
|
|
188
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
189
|
+
if (Object.getOwnPropertySymbols) {
|
|
190
|
+
var s = Object.getOwnPropertySymbols(e);
|
|
191
|
+
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
192
|
+
}
|
|
193
|
+
return i;
|
|
194
|
+
}
|
|
195
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
196
|
+
if (null == r) return {};
|
|
197
|
+
var t = {};
|
|
198
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
199
|
+
if (e.includes(n)) continue;
|
|
200
|
+
t[n] = r[n];
|
|
201
|
+
}
|
|
202
|
+
return t;
|
|
203
|
+
}
|
|
204
|
+
function _possibleConstructorReturn(t, e) {
|
|
205
|
+
if (e && ("object" == typeof e || "function" == typeof e)) return e;
|
|
206
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
207
|
+
return _assertThisInitialized(t);
|
|
208
|
+
}
|
|
93
209
|
function _regeneratorRuntime() {
|
|
94
210
|
_regeneratorRuntime = function () {
|
|
95
211
|
return e;
|
|
@@ -391,6 +507,20 @@ function _regeneratorRuntime() {
|
|
|
391
507
|
}
|
|
392
508
|
}, e;
|
|
393
509
|
}
|
|
510
|
+
function _setPrototypeOf(t, e) {
|
|
511
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
512
|
+
return t.__proto__ = e, t;
|
|
513
|
+
}, _setPrototypeOf(t, e);
|
|
514
|
+
}
|
|
515
|
+
function _slicedToArray(r, e) {
|
|
516
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
517
|
+
}
|
|
518
|
+
function _toArray(r) {
|
|
519
|
+
return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
|
|
520
|
+
}
|
|
521
|
+
function _toConsumableArray(r) {
|
|
522
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
523
|
+
}
|
|
394
524
|
function _toPrimitive(t, r) {
|
|
395
525
|
if ("object" != typeof t || !t) return t;
|
|
396
526
|
var e = t[Symbol.toPrimitive];
|
|
@@ -414,180 +544,12 @@ function _typeof(o) {
|
|
|
414
544
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
415
545
|
}, _typeof(o);
|
|
416
546
|
}
|
|
417
|
-
function
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
var
|
|
421
|
-
|
|
422
|
-
reject(error);
|
|
423
|
-
return;
|
|
424
|
-
}
|
|
425
|
-
if (info.done) {
|
|
426
|
-
resolve(value);
|
|
427
|
-
} else {
|
|
428
|
-
Promise.resolve(value).then(_next, _throw);
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
function _asyncToGenerator(fn) {
|
|
432
|
-
return function () {
|
|
433
|
-
var self = this,
|
|
434
|
-
args = arguments;
|
|
435
|
-
return new Promise(function (resolve, reject) {
|
|
436
|
-
var gen = fn.apply(self, args);
|
|
437
|
-
function _next(value) {
|
|
438
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
439
|
-
}
|
|
440
|
-
function _throw(err) {
|
|
441
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
442
|
-
}
|
|
443
|
-
_next(undefined);
|
|
444
|
-
});
|
|
445
|
-
};
|
|
446
|
-
}
|
|
447
|
-
function _classCallCheck(instance, Constructor) {
|
|
448
|
-
if (!(instance instanceof Constructor)) {
|
|
449
|
-
throw new TypeError("Cannot call a class as a function");
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
function _defineProperties(target, props) {
|
|
453
|
-
for (var i = 0; i < props.length; i++) {
|
|
454
|
-
var descriptor = props[i];
|
|
455
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
456
|
-
descriptor.configurable = true;
|
|
457
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
458
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
462
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
463
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
464
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
465
|
-
writable: false
|
|
466
|
-
});
|
|
467
|
-
return Constructor;
|
|
468
|
-
}
|
|
469
|
-
function _defineProperty(obj, key, value) {
|
|
470
|
-
key = _toPropertyKey(key);
|
|
471
|
-
if (key in obj) {
|
|
472
|
-
Object.defineProperty(obj, key, {
|
|
473
|
-
value: value,
|
|
474
|
-
enumerable: true,
|
|
475
|
-
configurable: true,
|
|
476
|
-
writable: true
|
|
477
|
-
});
|
|
478
|
-
} else {
|
|
479
|
-
obj[key] = value;
|
|
480
|
-
}
|
|
481
|
-
return obj;
|
|
482
|
-
}
|
|
483
|
-
function _inherits(subClass, superClass) {
|
|
484
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
485
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
486
|
-
}
|
|
487
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
488
|
-
constructor: {
|
|
489
|
-
value: subClass,
|
|
490
|
-
writable: true,
|
|
491
|
-
configurable: true
|
|
492
|
-
}
|
|
493
|
-
});
|
|
494
|
-
Object.defineProperty(subClass, "prototype", {
|
|
495
|
-
writable: false
|
|
496
|
-
});
|
|
497
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
498
|
-
}
|
|
499
|
-
function _getPrototypeOf(o) {
|
|
500
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
|
501
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
502
|
-
};
|
|
503
|
-
return _getPrototypeOf(o);
|
|
504
|
-
}
|
|
505
|
-
function _setPrototypeOf(o, p) {
|
|
506
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
507
|
-
o.__proto__ = p;
|
|
508
|
-
return o;
|
|
509
|
-
};
|
|
510
|
-
return _setPrototypeOf(o, p);
|
|
511
|
-
}
|
|
512
|
-
function _objectDestructuringEmpty(obj) {
|
|
513
|
-
if (obj == null) throw new TypeError("Cannot destructure " + obj);
|
|
514
|
-
}
|
|
515
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
516
|
-
if (source == null) return {};
|
|
517
|
-
var target = {};
|
|
518
|
-
for (var key in source) {
|
|
519
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
520
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
521
|
-
target[key] = source[key];
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
return target;
|
|
525
|
-
}
|
|
526
|
-
function _objectWithoutProperties(source, excluded) {
|
|
527
|
-
if (source == null) return {};
|
|
528
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
529
|
-
var key, i;
|
|
530
|
-
if (Object.getOwnPropertySymbols) {
|
|
531
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
532
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
533
|
-
key = sourceSymbolKeys[i];
|
|
534
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
535
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
536
|
-
target[key] = source[key];
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
return target;
|
|
540
|
-
}
|
|
541
|
-
function _assertThisInitialized(self) {
|
|
542
|
-
if (self === void 0) {
|
|
543
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
544
|
-
}
|
|
545
|
-
return self;
|
|
546
|
-
}
|
|
547
|
-
function _possibleConstructorReturn(self, call) {
|
|
548
|
-
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
549
|
-
return call;
|
|
550
|
-
} else if (call !== void 0) {
|
|
551
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
547
|
+
function _unsupportedIterableToArray(r, a) {
|
|
548
|
+
if (r) {
|
|
549
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
550
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
551
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
552
552
|
}
|
|
553
|
-
return _assertThisInitialized(self);
|
|
554
|
-
}
|
|
555
|
-
function _slicedToArray(arr, i) {
|
|
556
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
557
|
-
}
|
|
558
|
-
function _toArray(arr) {
|
|
559
|
-
return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
|
|
560
|
-
}
|
|
561
|
-
function _toConsumableArray(arr) {
|
|
562
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
563
|
-
}
|
|
564
|
-
function _arrayWithoutHoles(arr) {
|
|
565
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
566
|
-
}
|
|
567
|
-
function _arrayWithHoles(arr) {
|
|
568
|
-
if (Array.isArray(arr)) return arr;
|
|
569
|
-
}
|
|
570
|
-
function _iterableToArray(iter) {
|
|
571
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
572
|
-
}
|
|
573
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
574
|
-
if (!o) return;
|
|
575
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
576
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
577
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
578
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
579
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
580
|
-
}
|
|
581
|
-
function _arrayLikeToArray(arr, len) {
|
|
582
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
583
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
584
|
-
return arr2;
|
|
585
|
-
}
|
|
586
|
-
function _nonIterableSpread() {
|
|
587
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
588
|
-
}
|
|
589
|
-
function _nonIterableRest() {
|
|
590
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
591
553
|
}
|
|
592
554
|
|
|
593
555
|
var ENUM = {
|
|
@@ -1097,13 +1059,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
|
|
|
1097
1059
|
imgHtml.innerHTML = str;
|
|
1098
1060
|
}
|
|
1099
1061
|
// 测试使用 测试类型缩小 end
|
|
1100
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (
|
|
1062
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
|
|
1101
1063
|
className: "clomnsImg"
|
|
1102
1064
|
}, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
|
|
1103
1065
|
src: url,
|
|
1104
1066
|
width: "16px",
|
|
1105
1067
|
height: "16px"
|
|
1106
|
-
}, paramsObj)))) : (
|
|
1068
|
+
}, paramsObj)))) : (/*#__PURE__*/React$1.createElement("div", {
|
|
1107
1069
|
className: "clomnsImg2"
|
|
1108
1070
|
}, /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
|
|
1109
1071
|
src: noImg
|
|
@@ -1242,7 +1204,7 @@ function downloadExcel(data, fileName, isResUrl) {
|
|
|
1242
1204
|
}
|
|
1243
1205
|
save_link.click();
|
|
1244
1206
|
}
|
|
1245
|
-
var
|
|
1207
|
+
var _formatter = function formatter(data, parentAuthority, parentName) {
|
|
1246
1208
|
return data.map(function (item) {
|
|
1247
1209
|
if (!item.name || !item.path) {
|
|
1248
1210
|
return null;
|
|
@@ -1262,7 +1224,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
|
|
|
1262
1224
|
authority: item.authority || parentAuthority
|
|
1263
1225
|
});
|
|
1264
1226
|
if (item.routes) {
|
|
1265
|
-
var children =
|
|
1227
|
+
var children = _formatter(item.routes, item.authority, locale);
|
|
1266
1228
|
// Reduce memory usage
|
|
1267
1229
|
result.children = children;
|
|
1268
1230
|
}
|
|
@@ -1272,7 +1234,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
|
|
|
1272
1234
|
return item;
|
|
1273
1235
|
});
|
|
1274
1236
|
};
|
|
1275
|
-
var memoizeOneFormatter = memoizeOne(
|
|
1237
|
+
var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
|
|
1276
1238
|
var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
|
|
1277
1239
|
localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
|
|
1278
1240
|
if (backHistoryPath) {
|
|
@@ -1581,7 +1543,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
|
|
|
1581
1543
|
// sheepMap是表头字段中英文映射
|
|
1582
1544
|
// sheetCount:表的数量,默认一张
|
|
1583
1545
|
var resolveFile = /*#__PURE__*/function () {
|
|
1584
|
-
var _ref3 = _asyncToGenerator(
|
|
1546
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
|
|
1585
1547
|
var config,
|
|
1586
1548
|
data,
|
|
1587
1549
|
_args = arguments;
|
|
@@ -1620,7 +1582,7 @@ var resolveFile = /*#__PURE__*/function () {
|
|
|
1620
1582
|
}();
|
|
1621
1583
|
//读取文件
|
|
1622
1584
|
var readerXlsxToList = /*#__PURE__*/function () {
|
|
1623
|
-
var _ref4 = _asyncToGenerator(
|
|
1585
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
|
|
1624
1586
|
var _ref5, callback, sheetMap, nowFile, data2, data;
|
|
1625
1587
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
1626
1588
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -1713,14 +1675,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
|
|
|
1713
1675
|
/**---------------------数据写入excel-------结束------------------------*/
|
|
1714
1676
|
|
|
1715
1677
|
// 获取树平行结构
|
|
1716
|
-
var
|
|
1678
|
+
var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
|
|
1717
1679
|
var childrenKey = chilKey || 'children';
|
|
1718
1680
|
treeData.forEach(function (el) {
|
|
1719
1681
|
var _el$childrenKey;
|
|
1720
1682
|
result.push(el);
|
|
1721
1683
|
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) {
|
|
1722
1684
|
// 子级递归
|
|
1723
|
-
|
|
1685
|
+
_coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
|
|
1724
1686
|
}
|
|
1725
1687
|
});
|
|
1726
1688
|
return result;
|
|
@@ -1997,13 +1959,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
|
|
|
1997
1959
|
imgHtml.innerHTML = str;
|
|
1998
1960
|
}
|
|
1999
1961
|
// 测试使用 测试类型缩小 end
|
|
2000
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (
|
|
1962
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
|
|
2001
1963
|
className: "clomnsImg"
|
|
2002
1964
|
}, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
|
|
2003
1965
|
src: url,
|
|
2004
1966
|
width: "16px",
|
|
2005
1967
|
height: "16px"
|
|
2006
|
-
}, paramsObj)))) : (
|
|
1968
|
+
}, paramsObj)))) : (/*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
|
|
2007
1969
|
src: noImg
|
|
2008
1970
|
}))));
|
|
2009
1971
|
};
|
|
@@ -2065,7 +2027,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
|
|
|
2065
2027
|
}
|
|
2066
2028
|
});
|
|
2067
2029
|
};
|
|
2068
|
-
var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (
|
|
2030
|
+
var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (/*#__PURE__*/React$1.createElement(Input, _objectSpread2({
|
|
2069
2031
|
disabled: disabled,
|
|
2070
2032
|
onChange: function onChange(e) {
|
|
2071
2033
|
var v = e.target.value;
|
|
@@ -2075,7 +2037,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
|
|
|
2075
2037
|
width: 170
|
|
2076
2038
|
},
|
|
2077
2039
|
value: inputValue
|
|
2078
|
-
}, inpProps))), type === 'number' && (
|
|
2040
|
+
}, inpProps))), type === 'number' && (/*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
|
|
2079
2041
|
disabled: disabled,
|
|
2080
2042
|
onBlur: function onBlur(e) {
|
|
2081
2043
|
var v = parseFloat(e.target.value);
|
|
@@ -2454,16 +2416,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
|
|
|
2454
2416
|
var handleExportBarCode = handleExport;
|
|
2455
2417
|
var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
|
|
2456
2418
|
var routerMap = {};
|
|
2457
|
-
var
|
|
2419
|
+
var _flattenMenuData = function flattenMenuData(data) {
|
|
2458
2420
|
data.forEach(function (menuItem) {
|
|
2459
2421
|
if (menuItem.children) {
|
|
2460
|
-
|
|
2422
|
+
_flattenMenuData(menuItem.children);
|
|
2461
2423
|
}
|
|
2462
2424
|
// Reduce memory usage
|
|
2463
2425
|
routerMap[menuItem.path] = menuItem;
|
|
2464
2426
|
});
|
|
2465
2427
|
};
|
|
2466
|
-
|
|
2428
|
+
_flattenMenuData(menuData);
|
|
2467
2429
|
return routerMap;
|
|
2468
2430
|
};
|
|
2469
2431
|
var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
|
|
@@ -2606,7 +2568,7 @@ var requestUtil = function requestUtil(_ref) {
|
|
|
2606
2568
|
return request$1(url, parms).then(handleResponseData);
|
|
2607
2569
|
};
|
|
2608
2570
|
var handleResponseData = /*#__PURE__*/function () {
|
|
2609
|
-
var _ref2 = _asyncToGenerator(
|
|
2571
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
|
|
2610
2572
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
2611
2573
|
while (1) switch (_context.prev = _context.next) {
|
|
2612
2574
|
case 0:
|
|
@@ -3280,7 +3242,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
|
3280
3242
|
placement: "bottomLeft"
|
|
3281
3243
|
}, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
3282
3244
|
title: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.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$1.createElement("br", null), /*#__PURE__*/React$1.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$1.createElement("br", null), /*#__PURE__*/React$1.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"))
|
|
3283
|
-
}, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (
|
|
3245
|
+
}, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
|
|
3284
3246
|
trigger: ['click'],
|
|
3285
3247
|
overlay: this.menuList,
|
|
3286
3248
|
placement: "bottomRight"
|
|
@@ -3955,7 +3917,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
|
|
|
3955
3917
|
placement: "bottomLeft"
|
|
3956
3918
|
}, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
|
|
3957
3919
|
title: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.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$1.createElement("br", null), /*#__PURE__*/React$1.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$1.createElement("br", null), /*#__PURE__*/React$1.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"))
|
|
3958
|
-
}, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (
|
|
3920
|
+
}, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
|
|
3959
3921
|
trigger: ['click'],
|
|
3960
3922
|
overlay: this.menuList,
|
|
3961
3923
|
placement: "bottomRight"
|
|
@@ -4195,414 +4157,6 @@ var getRenderSource = function getRenderSource(currentSRKs, items) {
|
|
|
4195
4157
|
|
|
4196
4158
|
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";
|
|
4197
4159
|
|
|
4198
|
-
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";
|
|
4199
|
-
styleInject(css_248z$6);
|
|
4200
|
-
|
|
4201
|
-
var PropertyGroup = function PropertyGroup(props) {
|
|
4202
|
-
var propertyData = props.propertyData,
|
|
4203
|
-
handleProperyItemChange = props.handleProperyItemChange,
|
|
4204
|
-
modalVisilbe = props.modalVisilbe,
|
|
4205
|
-
itemValue = props.itemValue;
|
|
4206
|
-
var _useState = useState([]),
|
|
4207
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
4208
|
-
commonUseProperty = _useState2[0],
|
|
4209
|
-
setCommonUseProperty = _useState2[1]; // 常用属性值
|
|
4210
|
-
var _useState3 = useState([]),
|
|
4211
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
4212
|
-
notCommonUseProperty = _useState4[0],
|
|
4213
|
-
setNotCommonUseProperty = _useState4[1]; // 非常用属性值
|
|
4214
|
-
var _useState5 = useState(false),
|
|
4215
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
4216
|
-
indeterminate = _useState6[0],
|
|
4217
|
-
setIndeterminate = _useState6[1];
|
|
4218
|
-
var _useState7 = useState(false),
|
|
4219
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
4220
|
-
showNotCommon = _useState8[0],
|
|
4221
|
-
setShowNotCommon = _useState8[1];
|
|
4222
|
-
useEffect(function () {
|
|
4223
|
-
var proItemValue = (itemValue.propertyList || []).find(function (item) {
|
|
4224
|
-
return item.propertyCode === propertyData.propertyCode;
|
|
4225
|
-
});
|
|
4226
|
-
var checkedList = (proItemValue === null || proItemValue === void 0 ? void 0 : proItemValue.detailList) || [];
|
|
4227
|
-
var proDetailList = JSON.parse(JSON.stringify((propertyData === null || propertyData === void 0 ? void 0 : propertyData.detailList) || []));
|
|
4228
|
-
proDetailList.forEach(function (item) {
|
|
4229
|
-
if (checkedList.some(function (checkItem) {
|
|
4230
|
-
return checkItem.value === item.value;
|
|
4231
|
-
})) {
|
|
4232
|
-
item.isChecked = true;
|
|
4233
|
-
}
|
|
4234
|
-
});
|
|
4235
|
-
var commonUseProperty = proDetailList.filter(function (item) {
|
|
4236
|
-
return item.isCommonUse;
|
|
4237
|
-
});
|
|
4238
|
-
var notCommonUseProperty = proDetailList.filter(function (item) {
|
|
4239
|
-
return !item.isCommonUse;
|
|
4240
|
-
});
|
|
4241
|
-
if (checkedList.some(function (item) {
|
|
4242
|
-
return !item.isCommonUse;
|
|
4243
|
-
})) {
|
|
4244
|
-
setShowNotCommon(true);
|
|
4245
|
-
}
|
|
4246
|
-
setCommonUseProperty(commonUseProperty);
|
|
4247
|
-
setNotCommonUseProperty(notCommonUseProperty);
|
|
4248
|
-
}, [modalVisilbe]);
|
|
4249
|
-
var parseDataToParent = function parseDataToParent(comUse, notComUse) {
|
|
4250
|
-
var choosedPropertyList = (comUse || []).filter(function (item) {
|
|
4251
|
-
return item.isChecked;
|
|
4252
|
-
});
|
|
4253
|
-
if (showNotCommon) {
|
|
4254
|
-
choosedPropertyList = [].concat(_toConsumableArray(choosedPropertyList), _toConsumableArray((notComUse || []).filter(function (item) {
|
|
4255
|
-
return item.isChecked;
|
|
4256
|
-
})));
|
|
4257
|
-
}
|
|
4258
|
-
handleProperyItemChange({
|
|
4259
|
-
propertyCode: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyCode,
|
|
4260
|
-
propertyName: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyName,
|
|
4261
|
-
propertyId: propertyData === null || propertyData === void 0 ? void 0 : propertyData.propertyId,
|
|
4262
|
-
isCommonUse: propertyData === null || propertyData === void 0 ? void 0 : propertyData.isCommonUse,
|
|
4263
|
-
detailList: choosedPropertyList
|
|
4264
|
-
});
|
|
4265
|
-
};
|
|
4266
|
-
var handleChangeAll = function handleChangeAll(e) {
|
|
4267
|
-
if (showNotCommon) {
|
|
4268
|
-
notCommonUseProperty.map(function (item) {
|
|
4269
|
-
return item.isChecked = e.target.checked;
|
|
4270
|
-
});
|
|
4271
|
-
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4272
|
-
}
|
|
4273
|
-
commonUseProperty.map(function (item) {
|
|
4274
|
-
return item.isChecked = e.target.checked;
|
|
4275
|
-
});
|
|
4276
|
-
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4277
|
-
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4278
|
-
setIndeterminate(false);
|
|
4279
|
-
};
|
|
4280
|
-
var handleIndeterminate = function handleIndeterminate(commonUseProperty, notCommonUseProperty) {
|
|
4281
|
-
var checkList = _toConsumableArray(commonUseProperty);
|
|
4282
|
-
if (showNotCommon) {
|
|
4283
|
-
checkList = [].concat(_toConsumableArray(checkList), _toConsumableArray(notCommonUseProperty));
|
|
4284
|
-
}
|
|
4285
|
-
var indeterminate = !!checkList.filter(function (item) {
|
|
4286
|
-
return item.isChecked;
|
|
4287
|
-
}).length && checkList.filter(function (item) {
|
|
4288
|
-
return item.isChecked;
|
|
4289
|
-
}).length !== checkList.length;
|
|
4290
|
-
setIndeterminate(indeterminate);
|
|
4291
|
-
};
|
|
4292
|
-
var handleItemChecked = function handleItemChecked(e, item, type) {
|
|
4293
|
-
if (type === 1) {
|
|
4294
|
-
// 常用属性
|
|
4295
|
-
(commonUseProperty || []).forEach(function (info) {
|
|
4296
|
-
if (info.value === item.value) {
|
|
4297
|
-
info.isChecked = e.target.checked;
|
|
4298
|
-
}
|
|
4299
|
-
});
|
|
4300
|
-
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4301
|
-
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4302
|
-
setCommonUseProperty(_toConsumableArray(commonUseProperty));
|
|
4303
|
-
}
|
|
4304
|
-
if (type === 2) {
|
|
4305
|
-
// 非常用属性
|
|
4306
|
-
(notCommonUseProperty || []).forEach(function (info) {
|
|
4307
|
-
if (info.value === item.value) {
|
|
4308
|
-
info.isChecked = e.target.checked;
|
|
4309
|
-
}
|
|
4310
|
-
});
|
|
4311
|
-
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4312
|
-
parseDataToParent(commonUseProperty, notCommonUseProperty);
|
|
4313
|
-
setNotCommonUseProperty(_toConsumableArray(notCommonUseProperty));
|
|
4314
|
-
}
|
|
4315
|
-
};
|
|
4316
|
-
var checkAllChecked = function checkAllChecked() {
|
|
4317
|
-
var checkData = showNotCommon ? [].concat(_toConsumableArray(commonUseProperty), _toConsumableArray(notCommonUseProperty)) : _toConsumableArray(commonUseProperty);
|
|
4318
|
-
return checkData.length && checkData.every(function (item) {
|
|
4319
|
-
return item.isChecked;
|
|
4320
|
-
}) ? true : false;
|
|
4321
|
-
};
|
|
4322
|
-
return /*#__PURE__*/React$1.createElement("div", {
|
|
4323
|
-
className: 'propertyGroup_container'
|
|
4324
|
-
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4325
|
-
className: 'propertyGroup_container_left'
|
|
4326
|
-
}, /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
4327
|
-
checked: checkAllChecked(),
|
|
4328
|
-
indeterminate: indeterminate,
|
|
4329
|
-
onChange: handleChangeAll
|
|
4330
|
-
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4331
|
-
title: propertyData.name,
|
|
4332
|
-
className: "propertyGroup_checkbox_container"
|
|
4333
|
-
}, propertyData.propertyName))), /*#__PURE__*/React$1.createElement("div", {
|
|
4334
|
-
className: 'propertyGroup_container_right'
|
|
4335
|
-
}, (commonUseProperty || []).map(function (item) {
|
|
4336
|
-
return /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
4337
|
-
checked: item.isChecked,
|
|
4338
|
-
key: item.value,
|
|
4339
|
-
onChange: function onChange(e) {
|
|
4340
|
-
handleItemChecked(e, item, 1);
|
|
4341
|
-
}
|
|
4342
|
-
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4343
|
-
title: item.name,
|
|
4344
|
-
className: "propertyGroup_checkbox_container"
|
|
4345
|
-
}, item.name));
|
|
4346
|
-
}), showNotCommon && (notCommonUseProperty || []).map(function (item) {
|
|
4347
|
-
return /*#__PURE__*/React$1.createElement(Checkbox, {
|
|
4348
|
-
checked: item.isChecked,
|
|
4349
|
-
key: item.value,
|
|
4350
|
-
onChange: function onChange(e) {
|
|
4351
|
-
handleItemChecked(e, item, 2);
|
|
4352
|
-
}
|
|
4353
|
-
}, /*#__PURE__*/React$1.createElement("div", {
|
|
4354
|
-
title: item.name,
|
|
4355
|
-
className: "propertyGroup_checkbox_container"
|
|
4356
|
-
}, item.name));
|
|
4357
|
-
}), !!notCommonUseProperty.length && ( /*#__PURE__*/React$1.createElement("div", {
|
|
4358
|
-
style: {
|
|
4359
|
-
width: '50px',
|
|
4360
|
-
cursor: 'pointer',
|
|
4361
|
-
color: '#005cff',
|
|
4362
|
-
fontSize: '10px',
|
|
4363
|
-
display: 'flex',
|
|
4364
|
-
alignItems: 'center'
|
|
4365
|
-
},
|
|
4366
|
-
onClick: function onClick() {
|
|
4367
|
-
setShowNotCommon(!showNotCommon);
|
|
4368
|
-
handleIndeterminate(commonUseProperty, notCommonUseProperty);
|
|
4369
|
-
}
|
|
4370
|
-
}, showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))));
|
|
4371
|
-
};
|
|
4372
|
-
var PropertyGroup$1 = /*#__PURE__*/React$1.memo(PropertyGroup, function (props, nextProps) {
|
|
4373
|
-
if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
|
|
4374
|
-
return true;
|
|
4375
|
-
});
|
|
4376
|
-
|
|
4377
|
-
var _excluded$3 = ["value", "onChange", "width"];
|
|
4378
|
-
var PropertySelector = function PropertySelector(_ref) {
|
|
4379
|
-
var value = _ref.value,
|
|
4380
|
-
onChange = _ref.onChange,
|
|
4381
|
-
width = _ref.width,
|
|
4382
|
-
restProps = _objectWithoutProperties(_ref, _excluded$3);
|
|
4383
|
-
var settingValue = useRef({
|
|
4384
|
-
classifyCode: '',
|
|
4385
|
-
classifyName: '',
|
|
4386
|
-
propertyList: []
|
|
4387
|
-
});
|
|
4388
|
-
var _useState = useState([]),
|
|
4389
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
4390
|
-
choosedValues = _useState2[0],
|
|
4391
|
-
setChoosedValues = _useState2[1];
|
|
4392
|
-
var _useState3 = useState(''),
|
|
4393
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
4394
|
-
choosedClassify = _useState4[0],
|
|
4395
|
-
setChoosedClassify = _useState4[1];
|
|
4396
|
-
var _useState5 = useState([]),
|
|
4397
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
4398
|
-
commonProperty = _useState6[0],
|
|
4399
|
-
setCommonUseProperty = _useState6[1];
|
|
4400
|
-
var _useState7 = useState([]),
|
|
4401
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
4402
|
-
notCommonProperty = _useState8[0],
|
|
4403
|
-
setNotCommonProperty = _useState8[1];
|
|
4404
|
-
var _useState9 = useState(false),
|
|
4405
|
-
_useState10 = _slicedToArray(_useState9, 2),
|
|
4406
|
-
visible = _useState10[0],
|
|
4407
|
-
setVisible = _useState10[1];
|
|
4408
|
-
var _useState11 = useState(false),
|
|
4409
|
-
_useState12 = _slicedToArray(_useState11, 2),
|
|
4410
|
-
showNotCommon = _useState12[0],
|
|
4411
|
-
setShowNotCommon = _useState12[1]; // 是否展示非常用属性
|
|
4412
|
-
var _useState13 = useState([]),
|
|
4413
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
4414
|
-
classifyOptionList = _useState14[0],
|
|
4415
|
-
setClassifyOptionList = _useState14[1];
|
|
4416
|
-
var _useState15 = useState('1'),
|
|
4417
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
4418
|
-
listKey = _useState16[0],
|
|
4419
|
-
setListKey = _useState16[1];
|
|
4420
|
-
useEffect(function () {
|
|
4421
|
-
requestUtil({
|
|
4422
|
-
url: '/items/class/withProperty?pageSize=500¤tPage=1',
|
|
4423
|
-
method: 'GET'
|
|
4424
|
-
}).then(function (_ref2) {
|
|
4425
|
-
var _data$data;
|
|
4426
|
-
var data = _ref2.data;
|
|
4427
|
-
if (judgeIsRequestError(data)) {
|
|
4428
|
-
return;
|
|
4429
|
-
}
|
|
4430
|
-
var items = ((_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.items) || [];
|
|
4431
|
-
setClassifyOptionList(items.map(function (item) {
|
|
4432
|
-
return {
|
|
4433
|
-
label: item.name,
|
|
4434
|
-
value: item.id
|
|
4435
|
-
};
|
|
4436
|
-
}));
|
|
4437
|
-
});
|
|
4438
|
-
}, []);
|
|
4439
|
-
useEffect(function () {
|
|
4440
|
-
if (!choosedClassify) return;
|
|
4441
|
-
requestUtil({
|
|
4442
|
-
url: "/items/classProperty/".concat(choosedClassify),
|
|
4443
|
-
method: 'GET'
|
|
4444
|
-
}).then(function (_ref3) {
|
|
4445
|
-
var data = _ref3.data;
|
|
4446
|
-
if (judgeIsRequestError(data)) {
|
|
4447
|
-
return;
|
|
4448
|
-
}
|
|
4449
|
-
var newArr = ((data === null || data === void 0 ? void 0 : data.data) || []).map(function (item) {
|
|
4450
|
-
return {
|
|
4451
|
-
propertyCode: item.property.propertyCode,
|
|
4452
|
-
propertyName: item.property.name,
|
|
4453
|
-
propertyId: item.property.id,
|
|
4454
|
-
isCommonUse: item.property.isCommonUse === 'commonUse',
|
|
4455
|
-
detailList: item.propertyValueList.map(function (detail) {
|
|
4456
|
-
return {
|
|
4457
|
-
name: detail.value,
|
|
4458
|
-
value: detail.value,
|
|
4459
|
-
isCommonUse: detail.isCommonUse === 'commonUse'
|
|
4460
|
-
};
|
|
4461
|
-
})
|
|
4462
|
-
};
|
|
4463
|
-
});
|
|
4464
|
-
setCommonUseProperty(newArr.filter(function (item) {
|
|
4465
|
-
return item.isCommonUse;
|
|
4466
|
-
}));
|
|
4467
|
-
setNotCommonProperty(newArr.filter(function (item) {
|
|
4468
|
-
return !item.isCommonUse;
|
|
4469
|
-
}));
|
|
4470
|
-
setListKey(listKey === '1' ? '2' : '1');
|
|
4471
|
-
});
|
|
4472
|
-
}, [choosedClassify]);
|
|
4473
|
-
useEffect(function () {
|
|
4474
|
-
// 获取选中品类信息
|
|
4475
|
-
setChoosedClassify(value === null || value === void 0 ? void 0 : value.classifyCode);
|
|
4476
|
-
// 获取选中属性值展示
|
|
4477
|
-
var choosedPropertyList = ((value === null || value === void 0 ? void 0 : value.propertyList) || []).map(function (item) {
|
|
4478
|
-
return (item.detailList || []).map(function (detail) {
|
|
4479
|
-
return detail.name;
|
|
4480
|
-
});
|
|
4481
|
-
}).flat();
|
|
4482
|
-
if (((value === null || value === void 0 ? void 0 : value.propertyList) || []).some(function (item) {
|
|
4483
|
-
return !item.isCommonUse;
|
|
4484
|
-
})) {
|
|
4485
|
-
setShowNotCommon(true);
|
|
4486
|
-
}
|
|
4487
|
-
setChoosedValues(choosedPropertyList);
|
|
4488
|
-
settingValue.current = _objectSpread2({}, value);
|
|
4489
|
-
}, [value]);
|
|
4490
|
-
// 关闭弹窗回传组件值
|
|
4491
|
-
var handleConfirm = function handleConfirm() {
|
|
4492
|
-
setVisible(false);
|
|
4493
|
-
onChange(settingValue.current);
|
|
4494
|
-
};
|
|
4495
|
-
var onCancel = function onCancel() {
|
|
4496
|
-
setVisible(false);
|
|
4497
|
-
};
|
|
4498
|
-
// 获取选中属性值信息
|
|
4499
|
-
var handleProperyItemChange = function handleProperyItemChange(value) {
|
|
4500
|
-
var _settingValue$current;
|
|
4501
|
-
var newDetailList = ((_settingValue$current = settingValue.current) === null || _settingValue$current === void 0 ? void 0 : _settingValue$current.propertyList) || [];
|
|
4502
|
-
var itemIndex = newDetailList.findIndex(function (item) {
|
|
4503
|
-
return item.propertyCode === value.propertyCode;
|
|
4504
|
-
});
|
|
4505
|
-
if (itemIndex !== -1) {
|
|
4506
|
-
newDetailList[itemIndex] = value;
|
|
4507
|
-
} else {
|
|
4508
|
-
newDetailList.push(value);
|
|
4509
|
-
}
|
|
4510
|
-
settingValue.current = _objectSpread2(_objectSpread2({}, settingValue.current), {}, {
|
|
4511
|
-
propertyList: newDetailList.filter(function (item) {
|
|
4512
|
-
return item.detailList && item.detailList.length;
|
|
4513
|
-
})
|
|
4514
|
-
});
|
|
4515
|
-
};
|
|
4516
|
-
//修改品类值
|
|
4517
|
-
var onClassifyChange = function onClassifyChange(value, option) {
|
|
4518
|
-
setChoosedClassify(value);
|
|
4519
|
-
settingValue.current = {
|
|
4520
|
-
classifyCode: value,
|
|
4521
|
-
classifyName: option.children,
|
|
4522
|
-
propertyList: []
|
|
4523
|
-
};
|
|
4524
|
-
};
|
|
4525
|
-
var tagRender = function tagRender(props) {
|
|
4526
|
-
var label = props.label,
|
|
4527
|
-
value = props.value,
|
|
4528
|
-
closable = props.closable,
|
|
4529
|
-
onClose = props.onClose;
|
|
4530
|
-
return /*#__PURE__*/React$1.createElement(Tag, {
|
|
4531
|
-
closable: false,
|
|
4532
|
-
style: {
|
|
4533
|
-
marginRight: 3,
|
|
4534
|
-
height: '20px',
|
|
4535
|
-
fontSize: '12px'
|
|
4536
|
-
}
|
|
4537
|
-
}, label);
|
|
4538
|
-
};
|
|
4539
|
-
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({
|
|
4540
|
-
maxTagCount: 1,
|
|
4541
|
-
tagRender: tagRender
|
|
4542
|
-
}, restProps), {}, {
|
|
4543
|
-
mode: "multiple",
|
|
4544
|
-
value: choosedValues,
|
|
4545
|
-
onClick: function onClick() {
|
|
4546
|
-
setVisible(true);
|
|
4547
|
-
},
|
|
4548
|
-
style: {
|
|
4549
|
-
width: width || '100%'
|
|
4550
|
-
},
|
|
4551
|
-
open: false
|
|
4552
|
-
})), /*#__PURE__*/React$1.createElement(Modal, {
|
|
4553
|
-
title: "\u5C5E\u6027\u8BBE\u7F6E",
|
|
4554
|
-
width: 700,
|
|
4555
|
-
open: visible,
|
|
4556
|
-
onOk: handleConfirm,
|
|
4557
|
-
destroyOnClose: true,
|
|
4558
|
-
onCancel: onCancel,
|
|
4559
|
-
cancelText: '取消',
|
|
4560
|
-
okText: '确定'
|
|
4561
|
-
}, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
4562
|
-
className: 'property_classify_content'
|
|
4563
|
-
}, /*#__PURE__*/React$1.createElement("span", {
|
|
4564
|
-
style: {
|
|
4565
|
-
marginRight: '10px'
|
|
4566
|
-
}
|
|
4567
|
-
}, "\u54C1\u7C7B\u6A21\u677F"), /*#__PURE__*/React$1.createElement(Select, {
|
|
4568
|
-
style: {
|
|
4569
|
-
width: '200px'
|
|
4570
|
-
},
|
|
4571
|
-
value: choosedClassify,
|
|
4572
|
-
options: classifyOptionList,
|
|
4573
|
-
onChange: function onChange(value, option) {
|
|
4574
|
-
onClassifyChange(value, option);
|
|
4575
|
-
}
|
|
4576
|
-
})), /*#__PURE__*/React$1.createElement("div", {
|
|
4577
|
-
className: 'property_classify_content1',
|
|
4578
|
-
key: listKey
|
|
4579
|
-
}, /*#__PURE__*/React$1.createElement("div", null, commonProperty.map(function (item) {
|
|
4580
|
-
return /*#__PURE__*/React$1.createElement(PropertyGroup$1, {
|
|
4581
|
-
modalVisilbe: visible,
|
|
4582
|
-
itemValue: settingValue.current,
|
|
4583
|
-
propertyData: item,
|
|
4584
|
-
handleProperyItemChange: handleProperyItemChange
|
|
4585
|
-
});
|
|
4586
|
-
})), /*#__PURE__*/React$1.createElement("div", null, showNotCommon && notCommonProperty.map(function (item) {
|
|
4587
|
-
return /*#__PURE__*/React$1.createElement(PropertyGroup$1, {
|
|
4588
|
-
modalVisilbe: visible,
|
|
4589
|
-
itemValue: settingValue.current,
|
|
4590
|
-
propertyData: item,
|
|
4591
|
-
handleProperyItemChange: handleProperyItemChange
|
|
4592
|
-
});
|
|
4593
|
-
}))), !!notCommonProperty.length && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
4594
|
-
style: {
|
|
4595
|
-
width: '50px',
|
|
4596
|
-
cursor: 'pointer',
|
|
4597
|
-
color: '#005cff',
|
|
4598
|
-
fontSize: '10px'
|
|
4599
|
-
},
|
|
4600
|
-
onClick: function onClick() {
|
|
4601
|
-
return setShowNotCommon(!showNotCommon);
|
|
4602
|
-
}
|
|
4603
|
-
}, showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))))));
|
|
4604
|
-
};
|
|
4605
|
-
|
|
4606
4160
|
var Option$1 = Select.Option;
|
|
4607
4161
|
var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
4608
4162
|
var _pathname$match, _modalTableProps$tabl, _modalTableProps$tabl2;
|
|
@@ -4642,6 +4196,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4642
4196
|
_ref$init = _ref.init,
|
|
4643
4197
|
init = _ref$init === void 0 ? false : _ref$init,
|
|
4644
4198
|
_ref$extralHeaders = _ref.extralHeaders,
|
|
4199
|
+
extralHeaders = _ref$extralHeaders === void 0 ? {} : _ref$extralHeaders,
|
|
4645
4200
|
_ref$specialBracket = _ref.specialBracket,
|
|
4646
4201
|
specialBracket = _ref$specialBracket === void 0 ? false : _ref$specialBracket,
|
|
4647
4202
|
_ref$noNeedSplit = _ref.noNeedSplit,
|
|
@@ -4872,7 +4427,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
4872
4427
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4873
4428
|
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
4874
4429
|
var callback = arguments.length > 2 ? arguments[2] : undefined;
|
|
4875
|
-
var bodyParams = arguments.length > 3 ? arguments[3] : undefined;
|
|
4876
4430
|
if (!requestConfig) return;
|
|
4877
4431
|
setFetching(true);
|
|
4878
4432
|
// 处理dependence参数
|
|
@@ -5001,7 +4555,9 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5001
4555
|
if (isNil(queryParams[selectParamsKey])) {
|
|
5002
4556
|
queryParams[selectParamsKey] = searchValue;
|
|
5003
4557
|
}
|
|
5004
|
-
requestUtil.
|
|
4558
|
+
requestUtil.get("".concat(url, "?").concat(stringify(queryParams)), {
|
|
4559
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
4560
|
+
}).then(function (result) {
|
|
5005
4561
|
setFetching(false);
|
|
5006
4562
|
result = result.data;
|
|
5007
4563
|
if (judgeIsRequestError(result)) {
|
|
@@ -5323,18 +4879,12 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5323
4879
|
};
|
|
5324
4880
|
var onSearchTable = function onSearchTable() {
|
|
5325
4881
|
var params = form.getFieldsValue();
|
|
5326
|
-
console.log('dddd', params);
|
|
5327
4882
|
// const isHaveParams = params && Object.keys(params).filter(item => params[item]).length > 0;
|
|
5328
4883
|
setModalSearched(true);
|
|
5329
|
-
var unique_params = null;
|
|
5330
|
-
if (params['UNIQUE_SPEC']) {
|
|
5331
|
-
var _params$UNIQUE_SPEC;
|
|
5332
|
-
unique_params = ((_params$UNIQUE_SPEC = params['UNIQUE_SPEC']) === null || _params$UNIQUE_SPEC === void 0 ? void 0 : _params$UNIQUE_SPEC.propertyList) || [];
|
|
5333
|
-
}
|
|
5334
4884
|
setTableFormParams(params);
|
|
5335
4885
|
getData(_objectSpread2(_objectSpread2({}, params), {}, {
|
|
5336
4886
|
pageSize: tableInitPageSize
|
|
5337
|
-
}), 2
|
|
4887
|
+
}), 2);
|
|
5338
4888
|
};
|
|
5339
4889
|
var onResetTable = function onResetTable() {
|
|
5340
4890
|
form.resetFields();
|
|
@@ -5461,7 +5011,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5461
5011
|
};
|
|
5462
5012
|
})) || [];
|
|
5463
5013
|
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) {
|
|
5464
|
-
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7
|
|
5014
|
+
var _i$field, _i$field3, _i$field5, _i$field6, _i$field7;
|
|
5465
5015
|
if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React$1.createElement(Col, {
|
|
5466
5016
|
span: ColSpan,
|
|
5467
5017
|
key: i
|
|
@@ -5536,16 +5086,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5536
5086
|
}
|
|
5537
5087
|
})));
|
|
5538
5088
|
}
|
|
5539
|
-
if ((i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'proppertySelector') {
|
|
5540
|
-
return /*#__PURE__*/React$1.createElement(Col, {
|
|
5541
|
-
span: ColSpan,
|
|
5542
|
-
key: i.name
|
|
5543
|
-
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
5544
|
-
name: i.name,
|
|
5545
|
-
label: i.label,
|
|
5546
|
-
key: i.name
|
|
5547
|
-
}, /*#__PURE__*/React$1.createElement(PropertySelector, null)));
|
|
5548
|
-
}
|
|
5549
5089
|
// 默认type是input
|
|
5550
5090
|
return /*#__PURE__*/React$1.createElement(Col, {
|
|
5551
5091
|
span: ColSpan,
|
|
@@ -5561,7 +5101,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5561
5101
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
5562
5102
|
allowClear: true,
|
|
5563
5103
|
maxLength: 100
|
|
5564
|
-
}, i === null || i === void 0 ? void 0 : (_i$
|
|
5104
|
+
}, i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.props), {}, {
|
|
5565
5105
|
disabled: setDisabled(i.name)
|
|
5566
5106
|
}))));
|
|
5567
5107
|
});
|
|
@@ -5774,7 +5314,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5774
5314
|
destroyTooltipOnHide: true,
|
|
5775
5315
|
placement: "topRight",
|
|
5776
5316
|
autoAdjustOverflow: false,
|
|
5777
|
-
title: (
|
|
5317
|
+
title: (/*#__PURE__*/React$1.createElement("div", {
|
|
5778
5318
|
style: {
|
|
5779
5319
|
margin: '6px 8px 0px'
|
|
5780
5320
|
},
|
|
@@ -5846,13 +5386,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5846
5386
|
var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
|
|
5847
5387
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
5848
5388
|
className: 'search_select'
|
|
5849
|
-
}, fieldComponent ? (
|
|
5389
|
+
}, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
|
|
5850
5390
|
onClick: function onClick() {
|
|
5851
5391
|
var _fieldComponent$props, _fieldComponent$props2;
|
|
5852
5392
|
(_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);
|
|
5853
5393
|
showModal();
|
|
5854
5394
|
}
|
|
5855
|
-
}, fieldComponent)) : isShouldShowStr ? (
|
|
5395
|
+
}, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
|
|
5856
5396
|
title: getShowStr(),
|
|
5857
5397
|
style: {
|
|
5858
5398
|
overflow: 'hidden',
|
|
@@ -5879,10 +5419,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5879
5419
|
dropdownRender: function dropdownRender(menu) {
|
|
5880
5420
|
return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
|
|
5881
5421
|
},
|
|
5882
|
-
notFoundContent: fetching ? (
|
|
5422
|
+
notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
|
|
5883
5423
|
size: "small",
|
|
5884
5424
|
className: 'searchSelectSpin'
|
|
5885
|
-
})) : (
|
|
5425
|
+
})) : (/*#__PURE__*/React$1.createElement("div", {
|
|
5886
5426
|
style: {
|
|
5887
5427
|
textAlign: 'center'
|
|
5888
5428
|
}
|
|
@@ -5913,7 +5453,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5913
5453
|
text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
|
|
5914
5454
|
filterTxt: searchValue
|
|
5915
5455
|
}));
|
|
5916
|
-
}))), needModalTable && isModalVisible && (
|
|
5456
|
+
}))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
|
|
5917
5457
|
maskClosable: false,
|
|
5918
5458
|
destroyOnClose: true,
|
|
5919
5459
|
width: "80%",
|
|
@@ -5988,8 +5528,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5988
5528
|
})) : null)))));
|
|
5989
5529
|
});
|
|
5990
5530
|
|
|
5991
|
-
var css_248z$
|
|
5992
|
-
styleInject(css_248z$
|
|
5531
|
+
var css_248z$6 = ".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";
|
|
5532
|
+
styleInject(css_248z$6);
|
|
5993
5533
|
|
|
5994
5534
|
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";
|
|
5995
5535
|
|
|
@@ -6005,10 +5545,10 @@ var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
6005
5545
|
|
|
6006
5546
|
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";
|
|
6007
5547
|
|
|
6008
|
-
var css_248z$
|
|
6009
|
-
styleInject(css_248z$
|
|
5548
|
+
var css_248z$7 = ".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";
|
|
5549
|
+
styleInject(css_248z$7);
|
|
6010
5550
|
|
|
6011
|
-
var _excluded$
|
|
5551
|
+
var _excluded$3 = ["className", "style"];
|
|
6012
5552
|
var Search = Input.Search;
|
|
6013
5553
|
var DragHandle = SortableHandle(function () {
|
|
6014
5554
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
@@ -6360,7 +5900,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
6360
5900
|
_this.DraggableBodyRow = function (_ref2) {
|
|
6361
5901
|
var className = _ref2.className,
|
|
6362
5902
|
style = _ref2.style,
|
|
6363
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
5903
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$3);
|
|
6364
5904
|
var sortDataSource = _this.state.sortDataSource;
|
|
6365
5905
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
6366
5906
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -6510,7 +6050,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
6510
6050
|
style: {
|
|
6511
6051
|
width: 525
|
|
6512
6052
|
}
|
|
6513
|
-
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (
|
|
6053
|
+
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
|
6514
6054
|
checked: !dataSource.some(function (item) {
|
|
6515
6055
|
if (item.hidden) return true;
|
|
6516
6056
|
return false;
|
|
@@ -6548,13 +6088,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
|
|
|
6548
6088
|
_this2.onChange(e, item.title);
|
|
6549
6089
|
}
|
|
6550
6090
|
}, item.title);
|
|
6551
|
-
}), !!seatchDataSource.length && (
|
|
6091
|
+
}), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
|
|
6552
6092
|
style: {
|
|
6553
6093
|
width: '144px'
|
|
6554
6094
|
}
|
|
6555
|
-
})), !seatchDataSource.length && (
|
|
6095
|
+
})), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
6556
6096
|
className: 'sort_table_column_all_empty'
|
|
6557
|
-
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (
|
|
6097
|
+
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
6558
6098
|
className: 'sort_table_column_special'
|
|
6559
6099
|
}, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
|
|
6560
6100
|
className: 'sort_table_column_all'
|
|
@@ -6743,7 +6283,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
|
|
|
6743
6283
|
});
|
|
6744
6284
|
};
|
|
6745
6285
|
// 格式化树选择器数据源
|
|
6746
|
-
var
|
|
6286
|
+
var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
|
|
6747
6287
|
var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
|
|
6748
6288
|
return {
|
|
6749
6289
|
title: treeDataItem[resKeyValue[1]],
|
|
@@ -6753,7 +6293,7 @@ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
|
|
|
6753
6293
|
isLeaf: !haveChildren,
|
|
6754
6294
|
disabled: haveChildren,
|
|
6755
6295
|
children: haveChildren ? treeDataItem.children.map(function (i) {
|
|
6756
|
-
return
|
|
6296
|
+
return _mapSearchTree(i, resKeyValue);
|
|
6757
6297
|
}) : []
|
|
6758
6298
|
};
|
|
6759
6299
|
};
|
|
@@ -6762,7 +6302,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
|
|
|
6762
6302
|
var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
|
|
6763
6303
|
var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
|
|
6764
6304
|
var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
|
|
6765
|
-
return
|
|
6305
|
+
return _mapSearchTree(ites, resKeyValue);
|
|
6766
6306
|
}) || [];
|
|
6767
6307
|
changeSearchForm[changePosition].field.props.treeData = formatData;
|
|
6768
6308
|
};
|
|
@@ -6779,7 +6319,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
|
|
|
6779
6319
|
});
|
|
6780
6320
|
};
|
|
6781
6321
|
|
|
6782
|
-
var _excluded$
|
|
6322
|
+
var _excluded$4 = ["onResize", "width"],
|
|
6783
6323
|
_excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
|
|
6784
6324
|
var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
6785
6325
|
return new Promise(function (resolve, reject) {
|
|
@@ -6799,7 +6339,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
|
6799
6339
|
var ResizeableTitle = function ResizeableTitle(props) {
|
|
6800
6340
|
var onResize = props.onResize,
|
|
6801
6341
|
width = props.width,
|
|
6802
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
6342
|
+
restProps = _objectWithoutProperties(props, _excluded$4);
|
|
6803
6343
|
if (!width) {
|
|
6804
6344
|
return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
|
|
6805
6345
|
}
|
|
@@ -6933,7 +6473,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
6933
6473
|
var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
|
|
6934
6474
|
// FIXME: 特殊业务逻辑
|
|
6935
6475
|
var checkSelectChange = /*#__PURE__*/function () {
|
|
6936
|
-
var _ref2 = _asyncToGenerator(
|
|
6476
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
|
|
6937
6477
|
var result;
|
|
6938
6478
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6939
6479
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -7186,7 +6726,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
7186
6726
|
return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
|
|
7187
6727
|
value: text || null,
|
|
7188
6728
|
onChange: function () {
|
|
7189
|
-
var _onChange = _asyncToGenerator(
|
|
6729
|
+
var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
|
|
7190
6730
|
var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
|
|
7191
6731
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
7192
6732
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -7794,10 +7334,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
7794
7334
|
var newColumns = arr.map(function (col) {
|
|
7795
7335
|
return _objectSpread2({}, col);
|
|
7796
7336
|
});
|
|
7797
|
-
var
|
|
7337
|
+
var _handleIndex = function handleIndex(arr, indexArr) {
|
|
7798
7338
|
var i = indexArr.shift();
|
|
7799
7339
|
if (indexArr.length > 0) {
|
|
7800
|
-
|
|
7340
|
+
_handleIndex(arr[i].children, indexArr);
|
|
7801
7341
|
} else {
|
|
7802
7342
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
7803
7343
|
width: size.width
|
|
@@ -7805,7 +7345,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
7805
7345
|
handleAntdColumnsSpecialParams(arr[i]);
|
|
7806
7346
|
}
|
|
7807
7347
|
};
|
|
7808
|
-
|
|
7348
|
+
_handleIndex(newColumns, _toConsumableArray(index));
|
|
7809
7349
|
callback(newColumns);
|
|
7810
7350
|
};
|
|
7811
7351
|
};
|
|
@@ -7815,13 +7355,13 @@ var AddSelect = function AddSelect(props) {
|
|
|
7815
7355
|
var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
|
|
7816
7356
|
setShowToChooseColumns(_toConsumableArray(newColumns));
|
|
7817
7357
|
};
|
|
7818
|
-
var
|
|
7358
|
+
var _handleColumns = function handleColumns(arr, indexArr, callback) {
|
|
7819
7359
|
arr.forEach(function (item, index) {
|
|
7820
7360
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
7821
7361
|
return i || i === 0;
|
|
7822
7362
|
});
|
|
7823
7363
|
if (noEmptyArray$1(item.children)) {
|
|
7824
|
-
|
|
7364
|
+
_handleColumns(item.children, indexArrInside);
|
|
7825
7365
|
} else {
|
|
7826
7366
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
7827
7367
|
item.onHeaderCell = function (column) {
|
|
@@ -7837,14 +7377,14 @@ var AddSelect = function AddSelect(props) {
|
|
|
7837
7377
|
handleAntdColumnsSpecialParams(item);
|
|
7838
7378
|
return _objectSpread2({}, item);
|
|
7839
7379
|
});
|
|
7840
|
-
|
|
7380
|
+
_handleColumns(showToChooseCol, [], function (res) {
|
|
7841
7381
|
return setShowToChooseColumnsCallback(res);
|
|
7842
7382
|
});
|
|
7843
7383
|
var showSelectedCol = showColumns.map(function (item) {
|
|
7844
7384
|
handleAntdColumnsSpecialParams(item);
|
|
7845
7385
|
return _objectSpread2({}, item);
|
|
7846
7386
|
});
|
|
7847
|
-
|
|
7387
|
+
_handleColumns(showSelectedCol, [], function (res) {
|
|
7848
7388
|
return setShowColumnsCallback(res);
|
|
7849
7389
|
});
|
|
7850
7390
|
var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
|
|
@@ -7855,7 +7395,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
7855
7395
|
id: "add_select_div_".concat(uniqueValue)
|
|
7856
7396
|
}, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
|
|
7857
7397
|
onClick: handleShowModal
|
|
7858
|
-
}, realButtonProps), buttonText)), isModalVisible && (
|
|
7398
|
+
}, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
|
|
7859
7399
|
width: '1200px',
|
|
7860
7400
|
style: {
|
|
7861
7401
|
top: 20
|
|
@@ -8028,10 +7568,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
8028
7568
|
}))))));
|
|
8029
7569
|
};
|
|
8030
7570
|
|
|
8031
|
-
var css_248z$
|
|
8032
|
-
styleInject(css_248z$
|
|
7571
|
+
var css_248z$8 = ".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";
|
|
7572
|
+
styleInject(css_248z$8);
|
|
8033
7573
|
|
|
8034
|
-
var _excluded$
|
|
7574
|
+
var _excluded$5 = ["onResize", "width"];
|
|
8035
7575
|
var _this = undefined;
|
|
8036
7576
|
var InputElement = function InputElement(_ref) {
|
|
8037
7577
|
var _record$packingUnitLi, _record$packingUnitLi2;
|
|
@@ -8529,7 +8069,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
8529
8069
|
var ResizeableTitle$1 = function ResizeableTitle(props) {
|
|
8530
8070
|
var onResize = props.onResize,
|
|
8531
8071
|
width = props.width,
|
|
8532
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
8072
|
+
restProps = _objectWithoutProperties(props, _excluded$5);
|
|
8533
8073
|
if (!width) {
|
|
8534
8074
|
return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
|
|
8535
8075
|
}
|
|
@@ -8769,7 +8309,7 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8769
8309
|
});
|
|
8770
8310
|
};
|
|
8771
8311
|
var handleSubmit = /*#__PURE__*/function () {
|
|
8772
|
-
var _ref4 = _asyncToGenerator(
|
|
8312
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
8773
8313
|
var canEntryObject, _canEntryObject$error, messageInfo;
|
|
8774
8314
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
8775
8315
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -8852,10 +8392,10 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8852
8392
|
var newColumns = arr.map(function (col) {
|
|
8853
8393
|
return _objectSpread2({}, col);
|
|
8854
8394
|
});
|
|
8855
|
-
var
|
|
8395
|
+
var _handleIndex = function handleIndex(arr, indexArr) {
|
|
8856
8396
|
var i = indexArr.shift();
|
|
8857
8397
|
if (indexArr.length > 0) {
|
|
8858
|
-
|
|
8398
|
+
_handleIndex(arr[i].children, indexArr);
|
|
8859
8399
|
} else {
|
|
8860
8400
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
8861
8401
|
width: size.width
|
|
@@ -8863,17 +8403,17 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8863
8403
|
handleAntdColumnsSpecialParams(arr[i]);
|
|
8864
8404
|
}
|
|
8865
8405
|
};
|
|
8866
|
-
|
|
8406
|
+
_handleIndex(newColumns, _toConsumableArray(index));
|
|
8867
8407
|
callback(newColumns);
|
|
8868
8408
|
};
|
|
8869
8409
|
};
|
|
8870
|
-
var
|
|
8410
|
+
var _handleColumns = function handleColumns(arr, indexArr, callback) {
|
|
8871
8411
|
arr.forEach(function (item, index) {
|
|
8872
8412
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
8873
8413
|
return i || i === 0;
|
|
8874
8414
|
});
|
|
8875
8415
|
if (noEmptyArray$1(item.children)) {
|
|
8876
|
-
|
|
8416
|
+
_handleColumns(item.children, indexArrInside);
|
|
8877
8417
|
} else {
|
|
8878
8418
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
8879
8419
|
item.onHeaderCell = function (column) {
|
|
@@ -8889,7 +8429,7 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
8889
8429
|
handleAntdColumnsSpecialParams(item);
|
|
8890
8430
|
return _objectSpread2({}, item);
|
|
8891
8431
|
});
|
|
8892
|
-
|
|
8432
|
+
_handleColumns(showSelectedCol, [], function (res) {
|
|
8893
8433
|
return setShowColumnsCallback(res);
|
|
8894
8434
|
});
|
|
8895
8435
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -9172,6 +8712,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9172
8712
|
hiddenFields = _ref$hiddenFields === void 0 ? [] : _ref$hiddenFields;
|
|
9173
8713
|
// 默认type === 'supplier' 供应商选择器
|
|
9174
8714
|
var requestConfig = _objectSpread2({
|
|
8715
|
+
init: true,
|
|
9175
8716
|
url: "".concat(prefixUrl.selectPrefix, "/supplier"),
|
|
9176
8717
|
filter: 'qp-name,code-orGroup,like',
|
|
9177
8718
|
otherParams: _objectSpread2({
|
|
@@ -9203,7 +8744,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9203
8744
|
});
|
|
9204
8745
|
};
|
|
9205
8746
|
// 格式化树选择器数据源
|
|
9206
|
-
var
|
|
8747
|
+
var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
|
|
9207
8748
|
var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
|
|
9208
8749
|
return {
|
|
9209
8750
|
title: treeDataItem[resKeyValue[1]],
|
|
@@ -9213,7 +8754,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9213
8754
|
isLeaf: !haveChildren,
|
|
9214
8755
|
disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
|
|
9215
8756
|
children: haveChildren ? treeDataItem.children.map(function (i) {
|
|
9216
|
-
return
|
|
8757
|
+
return _mapSearchTree(i, resKeyValue, disabledJudge);
|
|
9217
8758
|
}) : []
|
|
9218
8759
|
};
|
|
9219
8760
|
};
|
|
@@ -9227,7 +8768,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9227
8768
|
disabledJudge = false;
|
|
9228
8769
|
}
|
|
9229
8770
|
var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
|
|
9230
|
-
return
|
|
8771
|
+
return _mapSearchTree(ites, resKeyValue, disabledJudge);
|
|
9231
8772
|
}) || [];
|
|
9232
8773
|
changeSearchForm[changePosition].field.props.treeData = formatData;
|
|
9233
8774
|
};
|
|
@@ -9465,7 +9006,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9465
9006
|
// 商品选择器sku
|
|
9466
9007
|
if (type === 'skuCommodity') {
|
|
9467
9008
|
requestConfig = _objectSpread2({
|
|
9468
|
-
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/
|
|
9009
|
+
url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/v3"),
|
|
9469
9010
|
filter: 'skuCodeAndSkuName',
|
|
9470
9011
|
searchStartLength: 4,
|
|
9471
9012
|
mappingTextField: 'name',
|
|
@@ -9548,12 +9089,6 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9548
9089
|
}
|
|
9549
9090
|
}
|
|
9550
9091
|
}
|
|
9551
|
-
}, {
|
|
9552
|
-
name: 'UNIQUE_SPEC',
|
|
9553
|
-
label: '属性',
|
|
9554
|
-
field: {
|
|
9555
|
-
type: 'proppertySelector'
|
|
9556
|
-
}
|
|
9557
9092
|
}];
|
|
9558
9093
|
Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
|
|
9559
9094
|
pageSize: 5000,
|
|
@@ -9960,6 +9495,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9960
9495
|
}]
|
|
9961
9496
|
}, selectConfigProps);
|
|
9962
9497
|
requestConfig = _objectSpread2({
|
|
9498
|
+
init: true,
|
|
9963
9499
|
url: "".concat(prefixUrl.selectPrefix, "/skuPropertyValue/list"),
|
|
9964
9500
|
filter: 'qp-value-like',
|
|
9965
9501
|
mappingTextField: 'value',
|
|
@@ -10882,6 +10418,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10882
10418
|
}]
|
|
10883
10419
|
}, selectConfigProps);
|
|
10884
10420
|
requestConfig = _objectSpread2({
|
|
10421
|
+
init: true,
|
|
10885
10422
|
url: "".concat(prefixUrl.selectPrefix, "/inventoryOrg"),
|
|
10886
10423
|
filter: 'qp-name,code-orGroup,like',
|
|
10887
10424
|
mappingTextField: 'name',
|
|
@@ -10907,6 +10444,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10907
10444
|
}]
|
|
10908
10445
|
}, selectConfigProps);
|
|
10909
10446
|
requestConfig = _objectSpread2({
|
|
10447
|
+
init: true,
|
|
10910
10448
|
url: "".concat(prefixUrl.selectPrefix, "/company"),
|
|
10911
10449
|
filter: 'qp-name,code-orGroup,like',
|
|
10912
10450
|
mappingTextField: 'name',
|
|
@@ -10932,6 +10470,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10932
10470
|
}]
|
|
10933
10471
|
}, selectConfigProps);
|
|
10934
10472
|
requestConfig = _objectSpread2({
|
|
10473
|
+
init: true,
|
|
10935
10474
|
url: "".concat(prefixUrl.selectPrefix, "/platCompany"),
|
|
10936
10475
|
filter: 'qp-name,socialCreditCode-orGroup,like',
|
|
10937
10476
|
mappingTextField: 'name',
|
|
@@ -10957,6 +10496,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10957
10496
|
}]
|
|
10958
10497
|
}, selectConfigProps);
|
|
10959
10498
|
requestConfig = _objectSpread2({
|
|
10499
|
+
init: true,
|
|
10960
10500
|
url: "".concat(prefixUrl.selectPrefix, "/employee/v2"),
|
|
10961
10501
|
filter: 'qp-employeeNumber,name-orGroup,like',
|
|
10962
10502
|
mappingTextField: 'name',
|
|
@@ -11050,6 +10590,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11050
10590
|
}]
|
|
11051
10591
|
}, selectConfigProps);
|
|
11052
10592
|
requestConfig = _objectSpread2({
|
|
10593
|
+
init: true,
|
|
11053
10594
|
url: "".concat(prefixUrl.selectPrefix, "/employee/pageList/v2"),
|
|
11054
10595
|
filter: 'qp-username,name-orGroup,like',
|
|
11055
10596
|
mappingTextField: 'name',
|
|
@@ -11192,6 +10733,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11192
10733
|
});
|
|
11193
10734
|
var logisCompanyCodeSingleSearchName = isLogisCompanyCodeSingleSearch ? 'qp-logisCompanyCode-eq' : 'qp-logisCompanyCode-in';
|
|
11194
10735
|
requestConfig = _objectSpread2({
|
|
10736
|
+
init: true,
|
|
11195
10737
|
url: "".concat(prefixUrl.selectPrefix, "/deliveryMode"),
|
|
11196
10738
|
filter: 'qp-name,code-orGroup,like',
|
|
11197
10739
|
mappingTextField: 'name',
|
|
@@ -11328,6 +10870,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11328
10870
|
}]
|
|
11329
10871
|
}, selectConfigProps);
|
|
11330
10872
|
requestConfig = _objectSpread2({
|
|
10873
|
+
init: true,
|
|
11331
10874
|
url: "".concat(prefixUrl.selectPrefix, "/ruleTemplate"),
|
|
11332
10875
|
filter: 'qp-name,code-orGroup,like',
|
|
11333
10876
|
mappingTextField: 'name',
|
|
@@ -11399,6 +10942,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11399
10942
|
}]
|
|
11400
10943
|
}, selectConfigProps);
|
|
11401
10944
|
requestConfig = _objectSpread2({
|
|
10945
|
+
init: true,
|
|
11402
10946
|
url: "".concat(prefixUrl.selectPrefix, "/role"),
|
|
11403
10947
|
filter: 'qp-name,code-orGroup,like',
|
|
11404
10948
|
mappingTextField: 'name',
|
|
@@ -11495,6 +11039,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11495
11039
|
}]
|
|
11496
11040
|
}, selectConfigProps);
|
|
11497
11041
|
requestConfig = _objectSpread2({
|
|
11042
|
+
init: true,
|
|
11498
11043
|
url: "".concat(prefixUrl.selectPrefix, "/channelInfo"),
|
|
11499
11044
|
filter: 'qp-name,code-orGroup,like',
|
|
11500
11045
|
mappingTextField: 'name',
|
|
@@ -11582,6 +11127,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11582
11127
|
}]
|
|
11583
11128
|
}, selectConfigProps);
|
|
11584
11129
|
requestConfig = _objectSpread2({
|
|
11130
|
+
init: true,
|
|
11585
11131
|
url: "".concat(prefixUrl.selectPrefix, "/orgViewNode/common/pageList"),
|
|
11586
11132
|
filter: 'qp-name-like',
|
|
11587
11133
|
mappingTextField: 'name',
|
|
@@ -11710,6 +11256,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11710
11256
|
}]
|
|
11711
11257
|
}, selectConfigProps);
|
|
11712
11258
|
requestConfig = _objectSpread2({
|
|
11259
|
+
init: true,
|
|
11713
11260
|
url: "".concat(prefixUrl.selectPrefix, "/person"),
|
|
11714
11261
|
filter: 'qp-code,name-orGroup,like',
|
|
11715
11262
|
mappingTextField: 'name',
|
|
@@ -11845,6 +11392,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11845
11392
|
}]
|
|
11846
11393
|
}, selectConfigProps);
|
|
11847
11394
|
requestConfig = _objectSpread2({
|
|
11395
|
+
init: true,
|
|
11848
11396
|
url: "".concat(prefixUrl.selectPrefix, "/priceType"),
|
|
11849
11397
|
filter: 'qp-code,name-orGroup,like',
|
|
11850
11398
|
mappingTextField: 'name',
|
|
@@ -13283,7 +12831,7 @@ var CommodityEntry = function CommodityEntry(props) {
|
|
|
13283
12831
|
};
|
|
13284
12832
|
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
|
|
13285
12833
|
onClick: handleShowModal
|
|
13286
|
-
}, buttonProps), buttonName), modalProps.visible && (
|
|
12834
|
+
}, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
|
|
13287
12835
|
onOk: handleOk,
|
|
13288
12836
|
onCancel: handleCancel,
|
|
13289
12837
|
destroyOnClose: true,
|
|
@@ -13347,7 +12895,7 @@ function getStorageVale(storageKeyString) {
|
|
|
13347
12895
|
return "";
|
|
13348
12896
|
}
|
|
13349
12897
|
|
|
13350
|
-
var _excluded$
|
|
12898
|
+
var _excluded$6 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
|
|
13351
12899
|
var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
13352
12900
|
var _useState = useState([]),
|
|
13353
12901
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -13389,7 +12937,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13389
12937
|
} : _props$style,
|
|
13390
12938
|
getTreeData = props.getTreeData,
|
|
13391
12939
|
disabled = props.disabled,
|
|
13392
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
12940
|
+
restProps = _objectWithoutProperties(props, _excluded$6);
|
|
13393
12941
|
var url = remoteSource.url,
|
|
13394
12942
|
headers = remoteSource.headers,
|
|
13395
12943
|
_remoteSource$paramsK = remoteSource.paramsKey,
|
|
@@ -13402,7 +12950,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13402
12950
|
treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
|
|
13403
12951
|
_remoteSource$special = remoteSource.specialBracket,
|
|
13404
12952
|
specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
|
|
13405
|
-
var
|
|
12953
|
+
var _mapSearchTree = function mapSearchTree(treeDataItem) {
|
|
13406
12954
|
var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
|
|
13407
12955
|
var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
|
|
13408
12956
|
return {
|
|
@@ -13414,7 +12962,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13414
12962
|
isLeaf: !haveChildren,
|
|
13415
12963
|
disabled: isDisabled(haveChildren, isRoot),
|
|
13416
12964
|
children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
|
|
13417
|
-
return
|
|
12965
|
+
return _mapSearchTree(i);
|
|
13418
12966
|
}) : []
|
|
13419
12967
|
};
|
|
13420
12968
|
};
|
|
@@ -13432,8 +12980,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13432
12980
|
var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
|
|
13433
12981
|
requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
|
|
13434
12982
|
headers: headers
|
|
13435
|
-
}).then(
|
|
13436
|
-
var _ref = _asyncToGenerator(
|
|
12983
|
+
}).then(/*#__PURE__*/function () {
|
|
12984
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
|
|
13437
12985
|
var _ctx$form;
|
|
13438
12986
|
var resData, coverData, data, dataList;
|
|
13439
12987
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -13460,7 +13008,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13460
13008
|
case 9:
|
|
13461
13009
|
dataList = data && Array.isArray(data) ? data : data && [data] || [];
|
|
13462
13010
|
coverData = dataList.length && dataList.map(function (ites) {
|
|
13463
|
-
return
|
|
13011
|
+
return _mapSearchTree(ites);
|
|
13464
13012
|
}) || [];
|
|
13465
13013
|
case 11:
|
|
13466
13014
|
_context.next = 14;
|
|
@@ -13498,11 +13046,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13498
13046
|
return _formatResult;
|
|
13499
13047
|
}
|
|
13500
13048
|
};
|
|
13501
|
-
var
|
|
13049
|
+
var _parallelData = function parallelData(data, result) {
|
|
13502
13050
|
data.forEach(function (i) {
|
|
13503
13051
|
result.push(i);
|
|
13504
13052
|
if (i[treeChildrenRoom]) {
|
|
13505
|
-
|
|
13053
|
+
_parallelData(i[treeChildrenRoom], result);
|
|
13506
13054
|
}
|
|
13507
13055
|
});
|
|
13508
13056
|
return result;
|
|
@@ -13542,7 +13090,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13542
13090
|
var _ctx$form2;
|
|
13543
13091
|
var handleData = formatData(data);
|
|
13544
13092
|
// 获取选中树节点当条数据,并返回给调用业务
|
|
13545
|
-
var parallelTreeData =
|
|
13093
|
+
var parallelTreeData = _parallelData(treeData, []);
|
|
13546
13094
|
var currentItem = getSelectItem(parallelTreeData, data);
|
|
13547
13095
|
onChange(handleData, data, currentItem, parallelTreeData);
|
|
13548
13096
|
onChangeName && onChangeName(dataName);
|
|
@@ -13585,7 +13133,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13585
13133
|
var getShowStr = function getShowStr() {
|
|
13586
13134
|
var isMultiple = multiple || treeCheckable;
|
|
13587
13135
|
var kongValue = '无';
|
|
13588
|
-
var parallelTreeData =
|
|
13136
|
+
var parallelTreeData = _parallelData(treeData, []);
|
|
13589
13137
|
var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
|
|
13590
13138
|
if (isMultiple) {
|
|
13591
13139
|
return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
|
|
@@ -13597,7 +13145,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13597
13145
|
var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
|
|
13598
13146
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
13599
13147
|
className: 'tree_search_select'
|
|
13600
|
-
}, isShouldShowStr ? (
|
|
13148
|
+
}, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
|
|
13601
13149
|
title: getShowStr(),
|
|
13602
13150
|
style: {
|
|
13603
13151
|
overflow: 'hidden',
|
|
@@ -13605,7 +13153,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
13605
13153
|
whiteSpace: 'nowrap'
|
|
13606
13154
|
},
|
|
13607
13155
|
className: 'search_select_show'
|
|
13608
|
-
}, getShowStr())) : (
|
|
13156
|
+
}, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
13609
13157
|
treeCheckable: treeCheckable,
|
|
13610
13158
|
maxTagCount: maxTagCount,
|
|
13611
13159
|
showSearch: showSearch,
|
|
@@ -13774,8 +13322,8 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React$1.memo(BusinessTreeSearchSel
|
|
|
13774
13322
|
return true;
|
|
13775
13323
|
});
|
|
13776
13324
|
|
|
13777
|
-
var css_248z$
|
|
13778
|
-
styleInject(css_248z$
|
|
13325
|
+
var css_248z$9 = ".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";
|
|
13326
|
+
styleInject(css_248z$9);
|
|
13779
13327
|
|
|
13780
13328
|
var index$2 = (function (props) {
|
|
13781
13329
|
var _props$formStatusMapp = props.formStatusMapping,
|
|
@@ -13802,7 +13350,7 @@ var index$2 = (function (props) {
|
|
|
13802
13350
|
} : {}
|
|
13803
13351
|
}, item.text)), /*#__PURE__*/React$1.createElement("div", {
|
|
13804
13352
|
className: 'status-label-operate'
|
|
13805
|
-
}, item.isDone ? (
|
|
13353
|
+
}, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
|
|
13806
13354
|
title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
|
|
13807
13355
|
}, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
|
|
13808
13356
|
style: {
|
|
@@ -13812,10 +13360,10 @@ var index$2 = (function (props) {
|
|
|
13812
13360
|
}));
|
|
13813
13361
|
});
|
|
13814
13362
|
|
|
13815
|
-
var css_248z$
|
|
13816
|
-
styleInject(css_248z$
|
|
13363
|
+
var css_248z$a = ".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";
|
|
13364
|
+
styleInject(css_248z$a);
|
|
13817
13365
|
|
|
13818
|
-
var _excluded$
|
|
13366
|
+
var _excluded$7 = ["children", "titleExtra", "title", "extra", "bordered"],
|
|
13819
13367
|
_excluded2$3 = ["children"];
|
|
13820
13368
|
var Field = function Field(_ref) {
|
|
13821
13369
|
var children = _ref.children,
|
|
@@ -13823,7 +13371,7 @@ var Field = function Field(_ref) {
|
|
|
13823
13371
|
title = _ref.title,
|
|
13824
13372
|
extra = _ref.extra,
|
|
13825
13373
|
bordered = _ref.bordered,
|
|
13826
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13374
|
+
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
13827
13375
|
var _React$useState = React$1.useState(true),
|
|
13828
13376
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
13829
13377
|
fieldGroupVisible = _React$useState2[0],
|
|
@@ -13947,10 +13495,10 @@ var ExportIcon = function ExportIcon(_ref) {
|
|
|
13947
13495
|
})));
|
|
13948
13496
|
};
|
|
13949
13497
|
|
|
13950
|
-
var css_248z$
|
|
13951
|
-
styleInject(css_248z$
|
|
13498
|
+
var css_248z$b = ".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";
|
|
13499
|
+
styleInject(css_248z$b);
|
|
13952
13500
|
|
|
13953
|
-
var _excluded$
|
|
13501
|
+
var _excluded$8 = ["className", "style"];
|
|
13954
13502
|
var Search$1 = Input.Search;
|
|
13955
13503
|
var DragHandle$1 = SortableHandle(function () {
|
|
13956
13504
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
@@ -14368,7 +13916,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14368
13916
|
_this.DraggableBodyRow = function (_ref2) {
|
|
14369
13917
|
var className = _ref2.className,
|
|
14370
13918
|
style = _ref2.style,
|
|
14371
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
13919
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$8);
|
|
14372
13920
|
var sortDataSource = _this.state.sortDataSource;
|
|
14373
13921
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
14374
13922
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -14583,7 +14131,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14583
14131
|
style: {
|
|
14584
14132
|
width: 525
|
|
14585
14133
|
}
|
|
14586
|
-
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (
|
|
14134
|
+
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
|
14587
14135
|
checked: !dataSource.some(function (item) {
|
|
14588
14136
|
if (item.hidden) return true;
|
|
14589
14137
|
return false;
|
|
@@ -14621,13 +14169,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14621
14169
|
_this2.onChange(e, item.title);
|
|
14622
14170
|
}
|
|
14623
14171
|
}, item.title);
|
|
14624
|
-
}), !!seatchDataSource.length && (
|
|
14172
|
+
}), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
|
|
14625
14173
|
style: {
|
|
14626
14174
|
width: '144px'
|
|
14627
14175
|
}
|
|
14628
|
-
})), !seatchDataSource.length && (
|
|
14176
|
+
})), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
14629
14177
|
className: 'sort_table_column_all_empty'
|
|
14630
|
-
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (
|
|
14178
|
+
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
14631
14179
|
className: 'sort_table_column_special'
|
|
14632
14180
|
}, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
|
|
14633
14181
|
className: 'sort_table_column_all'
|
|
@@ -14700,8 +14248,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14700
14248
|
}]);
|
|
14701
14249
|
}(React$1.Component);
|
|
14702
14250
|
|
|
14703
|
-
var css_248z$
|
|
14704
|
-
styleInject(css_248z$
|
|
14251
|
+
var css_248z$c = ".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";
|
|
14252
|
+
styleInject(css_248z$c);
|
|
14705
14253
|
|
|
14706
14254
|
//表格底部 金额总计
|
|
14707
14255
|
var TableSumComponent = (function (_ref) {
|
|
@@ -14722,7 +14270,7 @@ var TableSumComponent = (function (_ref) {
|
|
|
14722
14270
|
}));
|
|
14723
14271
|
});
|
|
14724
14272
|
|
|
14725
|
-
var _excluded$
|
|
14273
|
+
var _excluded$9 = ["onResize", "width"],
|
|
14726
14274
|
_excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
14727
14275
|
var Text = Typography.Text;
|
|
14728
14276
|
var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -14806,10 +14354,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14806
14354
|
var newColumns = _this.state.showColumns.map(function (col) {
|
|
14807
14355
|
return _objectSpread2({}, col);
|
|
14808
14356
|
});
|
|
14809
|
-
var
|
|
14357
|
+
var _handleIndex = function handleIndex(arr, indexArr) {
|
|
14810
14358
|
var i = indexArr.shift();
|
|
14811
14359
|
if (indexArr.length > 0) {
|
|
14812
|
-
|
|
14360
|
+
_handleIndex(arr[i].children, indexArr);
|
|
14813
14361
|
} else {
|
|
14814
14362
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
14815
14363
|
width: size.width
|
|
@@ -14817,7 +14365,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14817
14365
|
handleBssulaColumnsSpecialParams(arr[i]);
|
|
14818
14366
|
}
|
|
14819
14367
|
};
|
|
14820
|
-
|
|
14368
|
+
_handleIndex(newColumns, _toConsumableArray(index));
|
|
14821
14369
|
_this.setState({
|
|
14822
14370
|
showColumns: _toConsumableArray(newColumns)
|
|
14823
14371
|
});
|
|
@@ -14826,7 +14374,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14826
14374
|
_this.ResizeableTitle = function (props) {
|
|
14827
14375
|
var onResize = props.onResize,
|
|
14828
14376
|
width = props.width,
|
|
14829
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
14377
|
+
restProps = _objectWithoutProperties(props, _excluded$9);
|
|
14830
14378
|
var _useState = useState(width),
|
|
14831
14379
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14832
14380
|
innerWidth = _useState2[0],
|
|
@@ -14858,7 +14406,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14858
14406
|
};
|
|
14859
14407
|
setIsResizing(true);
|
|
14860
14408
|
document.addEventListener('mousemove', handleMouseMove);
|
|
14861
|
-
document.addEventListener('mouseup',
|
|
14409
|
+
document.addEventListener('mouseup', _handleMouseUp);
|
|
14862
14410
|
};
|
|
14863
14411
|
var handleMouseMove = function handleMouseMove(e) {
|
|
14864
14412
|
e.stopPropagation();
|
|
@@ -14874,9 +14422,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14874
14422
|
dom.style.top = "".concat(e.clientY - 20, "px");
|
|
14875
14423
|
}
|
|
14876
14424
|
};
|
|
14877
|
-
var
|
|
14425
|
+
var _handleMouseUp = function handleMouseUp(e) {
|
|
14878
14426
|
document.removeEventListener('mousemove', handleMouseMove);
|
|
14879
|
-
document.removeEventListener('mouseup',
|
|
14427
|
+
document.removeEventListener('mouseup', _handleMouseUp);
|
|
14880
14428
|
setIsResizing(false);
|
|
14881
14429
|
};
|
|
14882
14430
|
var handleresize = function handleresize(e, data, title) {
|
|
@@ -14997,13 +14545,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
14997
14545
|
showSummary = summary;
|
|
14998
14546
|
}
|
|
14999
14547
|
}
|
|
15000
|
-
var
|
|
14548
|
+
var _handleColumns = function handleColumns(arr, indexArr) {
|
|
15001
14549
|
arr.forEach(function (item, index) {
|
|
15002
14550
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
15003
14551
|
return i || i === 0;
|
|
15004
14552
|
});
|
|
15005
14553
|
if (noEmptyArray$1(item.children)) {
|
|
15006
|
-
|
|
14554
|
+
_handleColumns(item.children, indexArrInside);
|
|
15007
14555
|
} else {
|
|
15008
14556
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
15009
14557
|
item.onHeaderCell = function (column) {
|
|
@@ -15019,7 +14567,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
15019
14567
|
handleBssulaColumnsSpecialParams(item);
|
|
15020
14568
|
return _objectSpread2({}, item);
|
|
15021
14569
|
});
|
|
15022
|
-
|
|
14570
|
+
_handleColumns(showCol, []);
|
|
15023
14571
|
if (dynamicColumns.length) {
|
|
15024
14572
|
showCol = this.handledynamicColumns(showCol);
|
|
15025
14573
|
}
|
|
@@ -15060,14 +14608,14 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
|
|
|
15060
14608
|
cell: this.ResizeableTitle
|
|
15061
14609
|
}
|
|
15062
14610
|
}
|
|
15063
|
-
}, otherTableInfo)), Array.isArray(summary) && (
|
|
14611
|
+
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
|
|
15064
14612
|
summary: summary
|
|
15065
14613
|
})));
|
|
15066
14614
|
}
|
|
15067
14615
|
}]);
|
|
15068
14616
|
}(React$1.Component);
|
|
15069
14617
|
|
|
15070
|
-
var _excluded$
|
|
14618
|
+
var _excluded$a = ["onResize", "width"],
|
|
15071
14619
|
_excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
|
|
15072
14620
|
var Text$1 = Typography.Text;
|
|
15073
14621
|
var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
@@ -15157,10 +14705,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
15157
14705
|
var newColumns = _this.state.showColumns.map(function (col) {
|
|
15158
14706
|
return _objectSpread2({}, col);
|
|
15159
14707
|
});
|
|
15160
|
-
var
|
|
14708
|
+
var _handleIndex = function handleIndex(arr, indexArr) {
|
|
15161
14709
|
var i = indexArr.shift();
|
|
15162
14710
|
if (indexArr.length > 0) {
|
|
15163
|
-
|
|
14711
|
+
_handleIndex(arr[i].children, indexArr);
|
|
15164
14712
|
} else {
|
|
15165
14713
|
arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
|
|
15166
14714
|
width: size.width
|
|
@@ -15168,7 +14716,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
15168
14716
|
handleAntdColumnsSpecialParams(arr[i]);
|
|
15169
14717
|
}
|
|
15170
14718
|
};
|
|
15171
|
-
|
|
14719
|
+
_handleIndex(newColumns, _toConsumableArray(index));
|
|
15172
14720
|
_this.setState({
|
|
15173
14721
|
showColumns: _toConsumableArray(newColumns)
|
|
15174
14722
|
});
|
|
@@ -15177,7 +14725,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
15177
14725
|
_this.ResizeableTitle = function (props) {
|
|
15178
14726
|
var onResize = props.onResize,
|
|
15179
14727
|
width = props.width,
|
|
15180
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
14728
|
+
restProps = _objectWithoutProperties(props, _excluded$a);
|
|
15181
14729
|
if (!width) {
|
|
15182
14730
|
return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
|
|
15183
14731
|
}
|
|
@@ -15244,13 +14792,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
15244
14792
|
showSummary = summary;
|
|
15245
14793
|
}
|
|
15246
14794
|
}
|
|
15247
|
-
var
|
|
14795
|
+
var _handleColumns = function handleColumns(arr, indexArr) {
|
|
15248
14796
|
arr.forEach(function (item, index) {
|
|
15249
14797
|
var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
|
|
15250
14798
|
return i || i === 0;
|
|
15251
14799
|
});
|
|
15252
14800
|
if (noEmptyArray$1(item.children)) {
|
|
15253
|
-
|
|
14801
|
+
_handleColumns(item.children, indexArrInside);
|
|
15254
14802
|
} else {
|
|
15255
14803
|
item.width = item.width || getItemDefaultWidth$2(item);
|
|
15256
14804
|
item.onHeaderCell = function (column) {
|
|
@@ -15266,7 +14814,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
15266
14814
|
handleAntdColumnsSpecialParams(item);
|
|
15267
14815
|
return _objectSpread2({}, item);
|
|
15268
14816
|
});
|
|
15269
|
-
|
|
14817
|
+
_handleColumns(showCol, []);
|
|
15270
14818
|
if (dynamicColumns.length) {
|
|
15271
14819
|
showCol = this.handledynamicColumns(showCol);
|
|
15272
14820
|
}
|
|
@@ -15306,7 +14854,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
|
|
|
15306
14854
|
cell: this.ResizeableTitle
|
|
15307
14855
|
}
|
|
15308
14856
|
}
|
|
15309
|
-
}, otherTableInfo)), Array.isArray(summary) && (
|
|
14857
|
+
}, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
|
|
15310
14858
|
summary: summary
|
|
15311
14859
|
})));
|
|
15312
14860
|
}
|
|
@@ -15366,20 +14914,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
|
|
|
15366
14914
|
};
|
|
15367
14915
|
var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
|
|
15368
14916
|
var routerMap = {};
|
|
15369
|
-
var
|
|
14917
|
+
var _flattenMenuData2 = function flattenMenuData(data, parent) {
|
|
15370
14918
|
var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
|
|
15371
14919
|
data.forEach(function (menuItem) {
|
|
15372
14920
|
var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
|
|
15373
14921
|
nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
|
|
15374
14922
|
});
|
|
15375
14923
|
if (newMenuItem.children) {
|
|
15376
|
-
|
|
14924
|
+
_flattenMenuData2(newMenuItem.children, newMenuItem);
|
|
15377
14925
|
}
|
|
15378
14926
|
// Reduce memory usage
|
|
15379
14927
|
routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
|
|
15380
14928
|
});
|
|
15381
14929
|
};
|
|
15382
|
-
|
|
14930
|
+
_flattenMenuData2(menuData, {});
|
|
15383
14931
|
return routerMap;
|
|
15384
14932
|
};
|
|
15385
14933
|
// mode类型判断
|
|
@@ -15440,8 +14988,8 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
|
|
|
15440
14988
|
return undefined;
|
|
15441
14989
|
};
|
|
15442
14990
|
|
|
15443
|
-
var css_248z$
|
|
15444
|
-
styleInject(css_248z$
|
|
14991
|
+
var css_248z$d = ".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";
|
|
14992
|
+
styleInject(css_248z$d);
|
|
15445
14993
|
|
|
15446
14994
|
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";
|
|
15447
14995
|
|
|
@@ -15455,15 +15003,15 @@ var deleteIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
|
|
|
15455
15003
|
|
|
15456
15004
|
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";
|
|
15457
15005
|
|
|
15458
|
-
var css_248z$
|
|
15459
|
-
styleInject(css_248z$
|
|
15006
|
+
var css_248z$e = "";
|
|
15007
|
+
styleInject(css_248z$e);
|
|
15460
15008
|
|
|
15461
|
-
var _excluded$
|
|
15009
|
+
var _excluded$b = ["message", "type"];
|
|
15462
15010
|
var CommonAlert = (function (props) {
|
|
15463
15011
|
var message = props.message,
|
|
15464
15012
|
_props$type = props.type,
|
|
15465
15013
|
type = _props$type === void 0 ? 'info' : _props$type,
|
|
15466
|
-
reset = _objectWithoutProperties(props, _excluded$
|
|
15014
|
+
reset = _objectWithoutProperties(props, _excluded$b);
|
|
15467
15015
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
15468
15016
|
style: {
|
|
15469
15017
|
width: '100%',
|
|
@@ -15484,7 +15032,7 @@ var CommonAlert = (function (props) {
|
|
|
15484
15032
|
}, reset)));
|
|
15485
15033
|
});
|
|
15486
15034
|
|
|
15487
|
-
var _excluded$
|
|
15035
|
+
var _excluded$c = ["children"];
|
|
15488
15036
|
var iconMap = {
|
|
15489
15037
|
edit: /*#__PURE__*/React$1.createElement("img", {
|
|
15490
15038
|
src: editIcon
|
|
@@ -15506,7 +15054,7 @@ var index$3 = (function (props) {
|
|
|
15506
15054
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15507
15055
|
id = _useState2[0];
|
|
15508
15056
|
var children = props.children,
|
|
15509
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15057
|
+
restProps = _objectWithoutProperties(props, _excluded$c);
|
|
15510
15058
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
15511
15059
|
id: id,
|
|
15512
15060
|
className: 'detail_page_wrapper'
|
|
@@ -15705,7 +15253,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15705
15253
|
display: 'flex',
|
|
15706
15254
|
gap: '8px'
|
|
15707
15255
|
}
|
|
15708
|
-
}, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (
|
|
15256
|
+
}, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
|
|
15709
15257
|
title: "\u53D6\u6D88\u5168\u5C4F"
|
|
15710
15258
|
}, /*#__PURE__*/React$1.createElement("img", {
|
|
15711
15259
|
onClick: function onClick() {
|
|
@@ -15713,7 +15261,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15713
15261
|
},
|
|
15714
15262
|
width: 24,
|
|
15715
15263
|
src: scanning
|
|
15716
|
-
}))) : (
|
|
15264
|
+
}))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
|
|
15717
15265
|
title: "\u5168\u5C4F"
|
|
15718
15266
|
}, /*#__PURE__*/React$1.createElement("img", {
|
|
15719
15267
|
onClick: function onClick() {
|
|
@@ -15721,7 +15269,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15721
15269
|
},
|
|
15722
15270
|
width: 24,
|
|
15723
15271
|
src: quanping
|
|
15724
|
-
}))))) : null)), alertProps && (
|
|
15272
|
+
}))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
|
|
15725
15273
|
}, function (prevProps, nextProps) {
|
|
15726
15274
|
if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
|
|
15727
15275
|
return false;
|
|
@@ -15729,10 +15277,10 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15729
15277
|
return true;
|
|
15730
15278
|
});
|
|
15731
15279
|
|
|
15732
|
-
var css_248z$
|
|
15733
|
-
styleInject(css_248z$
|
|
15280
|
+
var css_248z$f = ".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";
|
|
15281
|
+
styleInject(css_248z$f);
|
|
15734
15282
|
|
|
15735
|
-
var _excluded$
|
|
15283
|
+
var _excluded$d = ["children"];
|
|
15736
15284
|
var index$4 = (function (props) {
|
|
15737
15285
|
var _useLocation = useLocation(),
|
|
15738
15286
|
pathname = _useLocation.pathname;
|
|
@@ -15740,7 +15288,7 @@ var index$4 = (function (props) {
|
|
|
15740
15288
|
_useState2 = _slicedToArray(_useState, 1),
|
|
15741
15289
|
id = _useState2[0];
|
|
15742
15290
|
var children = props.children,
|
|
15743
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
15291
|
+
restProps = _objectWithoutProperties(props, _excluded$d);
|
|
15744
15292
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
15745
15293
|
id: id,
|
|
15746
15294
|
className: 'home_page_wrapper'
|
|
@@ -15806,7 +15354,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15806
15354
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
15807
15355
|
className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
|
|
15808
15356
|
}, item));
|
|
15809
|
-
}))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (
|
|
15357
|
+
}))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
|
|
15810
15358
|
}, function (prevProps, nextProps) {
|
|
15811
15359
|
if (prevProps.title !== nextProps.title) {
|
|
15812
15360
|
return false;
|
|
@@ -15814,10 +15362,10 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
15814
15362
|
return true;
|
|
15815
15363
|
});
|
|
15816
15364
|
|
|
15817
|
-
var css_248z$
|
|
15818
|
-
styleInject(css_248z$
|
|
15365
|
+
var css_248z$g = ".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";
|
|
15366
|
+
styleInject(css_248z$g);
|
|
15819
15367
|
|
|
15820
|
-
var _excluded$
|
|
15368
|
+
var _excluded$e = ["className", "style"];
|
|
15821
15369
|
var DragHandle$2 = SortableHandle(function () {
|
|
15822
15370
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
15823
15371
|
width: 25,
|
|
@@ -16255,7 +15803,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16255
15803
|
_this.DraggableBodyRow = function (_ref2) {
|
|
16256
15804
|
var className = _ref2.className,
|
|
16257
15805
|
style = _ref2.style,
|
|
16258
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
15806
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$e);
|
|
16259
15807
|
var sortDataSource = _this.state.sortDataSource;
|
|
16260
15808
|
// function findIndex base on Table rowKey props and should always be a right array index
|
|
16261
15809
|
var index = sortDataSource.findIndex(function (x) {
|
|
@@ -16446,7 +15994,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16446
15994
|
});
|
|
16447
15995
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
16448
15996
|
className: 'sort_table_wrapper'
|
|
16449
|
-
}, visible && (
|
|
15997
|
+
}, visible && (/*#__PURE__*/React$1.createElement(Modal, {
|
|
16450
15998
|
title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
|
|
16451
15999
|
wrapClassName: 'sort_table_wrapper',
|
|
16452
16000
|
width: 810,
|
|
@@ -16497,7 +16045,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16497
16045
|
width: 525,
|
|
16498
16046
|
height: 24
|
|
16499
16047
|
}
|
|
16500
|
-
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (
|
|
16048
|
+
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
|
16501
16049
|
checked: !dataSource.some(function (item) {
|
|
16502
16050
|
if (item.hidden) return true;
|
|
16503
16051
|
return false;
|
|
@@ -16551,13 +16099,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16551
16099
|
_this2.onChange(e, item.title);
|
|
16552
16100
|
}
|
|
16553
16101
|
}, item.title);
|
|
16554
|
-
}), !!seatchDataSource.length && (
|
|
16102
|
+
}), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
|
|
16555
16103
|
style: {
|
|
16556
16104
|
width: '144px'
|
|
16557
16105
|
}
|
|
16558
|
-
})), !seatchDataSource.length && (
|
|
16106
|
+
})), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
16559
16107
|
className: 'sort_table_column_all_empty'
|
|
16560
|
-
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (
|
|
16108
|
+
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
16561
16109
|
className: 'sort_table_column_special'
|
|
16562
16110
|
}, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
|
|
16563
16111
|
className: 'sort_table_column_all'
|
|
@@ -16625,7 +16173,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16625
16173
|
}]);
|
|
16626
16174
|
}(React$1.Component);
|
|
16627
16175
|
|
|
16628
|
-
var _excluded$
|
|
16176
|
+
var _excluded$f = ["className", "style"];
|
|
16629
16177
|
var DragHandle$3 = SortableHandle(function () {
|
|
16630
16178
|
return /*#__PURE__*/React$1.createElement("img", {
|
|
16631
16179
|
width: 25,
|
|
@@ -16878,7 +16426,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
16878
16426
|
_this.DraggableBodyRow = function (_ref2) {
|
|
16879
16427
|
var className = _ref2.className,
|
|
16880
16428
|
style = _ref2.style,
|
|
16881
|
-
restProps = _objectWithoutProperties(_ref2, _excluded$
|
|
16429
|
+
restProps = _objectWithoutProperties(_ref2, _excluded$f);
|
|
16882
16430
|
var sortDataSource = _this.state.sortDataSource;
|
|
16883
16431
|
var index = sortDataSource.findIndex(function (x) {
|
|
16884
16432
|
return x.name === restProps['data-row-key'];
|
|
@@ -17031,7 +16579,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
17031
16579
|
});
|
|
17032
16580
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
17033
16581
|
className: 'sort_table_wrapper'
|
|
17034
|
-
}, visible && (
|
|
16582
|
+
}, visible && (/*#__PURE__*/React$1.createElement(Modal, {
|
|
17035
16583
|
title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
|
|
17036
16584
|
wrapClassName: 'sort_table_wrapper',
|
|
17037
16585
|
width: 820,
|
|
@@ -17076,7 +16624,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
17076
16624
|
style: {
|
|
17077
16625
|
width: 525
|
|
17078
16626
|
}
|
|
17079
|
-
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (
|
|
16627
|
+
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
|
17080
16628
|
checked: !dataSource.some(function (item) {
|
|
17081
16629
|
if (item.hidden) return true;
|
|
17082
16630
|
return false;
|
|
@@ -17112,11 +16660,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
17112
16660
|
_this2.onChange(e, item.name);
|
|
17113
16661
|
}
|
|
17114
16662
|
}, item.label);
|
|
17115
|
-
}), !!newSearchSource.length && (
|
|
16663
|
+
}), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
|
|
17116
16664
|
style: {
|
|
17117
16665
|
width: '144px'
|
|
17118
16666
|
}
|
|
17119
|
-
})), !newSearchSource.length && (
|
|
16667
|
+
})), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
|
|
17120
16668
|
className: 'sort_table_column_all_empty'
|
|
17121
16669
|
}, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
|
|
17122
16670
|
className: 'sort_table_content_wrapper'
|
|
@@ -17174,16 +16722,16 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
|
|
|
17174
16722
|
}]);
|
|
17175
16723
|
}(React$1.Component);
|
|
17176
16724
|
|
|
17177
|
-
var css_248z$
|
|
17178
|
-
styleInject(css_248z$
|
|
16725
|
+
var css_248z$h = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
|
|
16726
|
+
styleInject(css_248z$h);
|
|
17179
16727
|
|
|
17180
|
-
var _excluded$
|
|
16728
|
+
var _excluded$g = ["onResize", "width"];
|
|
17181
16729
|
var MemoQueryTable = /*#__PURE__*/React$1.memo(QueryTable);
|
|
17182
16730
|
var Text$2 = Typography.Text;
|
|
17183
16731
|
var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
17184
16732
|
var onResize = props.onResize,
|
|
17185
16733
|
width = props.width,
|
|
17186
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
16734
|
+
restProps = _objectWithoutProperties(props, _excluded$g);
|
|
17187
16735
|
var _useState = useState(width),
|
|
17188
16736
|
_useState2 = _slicedToArray(_useState, 2),
|
|
17189
16737
|
innerWidth = _useState2[0],
|
|
@@ -17215,7 +16763,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
|
17215
16763
|
};
|
|
17216
16764
|
setIsResizing(true);
|
|
17217
16765
|
document.addEventListener('mousemove', handleMouseMove);
|
|
17218
|
-
document.addEventListener('mouseup',
|
|
16766
|
+
document.addEventListener('mouseup', _handleMouseUp);
|
|
17219
16767
|
};
|
|
17220
16768
|
var handleMouseMove = function handleMouseMove(e) {
|
|
17221
16769
|
e.stopPropagation();
|
|
@@ -17231,9 +16779,9 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
|
17231
16779
|
dom.style.top = "".concat(e.clientY - 20, "px");
|
|
17232
16780
|
}
|
|
17233
16781
|
};
|
|
17234
|
-
var
|
|
16782
|
+
var _handleMouseUp = function handleMouseUp(e) {
|
|
17235
16783
|
document.removeEventListener('mousemove', handleMouseMove);
|
|
17236
|
-
document.removeEventListener('mouseup',
|
|
16784
|
+
document.removeEventListener('mouseup', _handleMouseUp);
|
|
17237
16785
|
setIsResizing(false);
|
|
17238
16786
|
};
|
|
17239
16787
|
var handleresize = function handleresize(e, data, title) {
|
|
@@ -17644,7 +17192,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17644
17192
|
actionsRender = actionsRender.concat([{
|
|
17645
17193
|
type: 'text',
|
|
17646
17194
|
props: {
|
|
17647
|
-
children: (
|
|
17195
|
+
children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
|
|
17648
17196
|
request: {
|
|
17649
17197
|
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),
|
|
17650
17198
|
params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
|
|
@@ -17890,7 +17438,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17890
17438
|
datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
|
|
17891
17439
|
bsTableCode: bsTableCode,
|
|
17892
17440
|
onlyModal: true
|
|
17893
|
-
}), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && (
|
|
17441
|
+
}), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && (/*#__PURE__*/React$1.createElement(SortableTable$1, {
|
|
17894
17442
|
ref: exportTableRef,
|
|
17895
17443
|
setShowColumns: setShowExportColumns,
|
|
17896
17444
|
setInitialTableInfo: setInitialTableInfo,
|
|
@@ -17901,8 +17449,8 @@ var BsSulaQueryTable = (function (props) {
|
|
|
17901
17449
|
})));
|
|
17902
17450
|
});
|
|
17903
17451
|
|
|
17904
|
-
var css_248z$
|
|
17905
|
-
styleInject(css_248z$
|
|
17452
|
+
var css_248z$i = ".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";
|
|
17453
|
+
styleInject(css_248z$i);
|
|
17906
17454
|
|
|
17907
17455
|
var cache = {};
|
|
17908
17456
|
var cacheLimit = 10000;
|
|
@@ -17983,11 +17531,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
|
|
|
17983
17531
|
var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
|
|
17984
17532
|
var resultList = [];
|
|
17985
17533
|
var newRouter = cloneDeep(router);
|
|
17986
|
-
var
|
|
17534
|
+
var _deep = function deep(router) {
|
|
17987
17535
|
if (router && Array.isArray(router)) {
|
|
17988
17536
|
router.forEach(function (item) {
|
|
17989
17537
|
if (item.children && Array.isArray(item.children)) {
|
|
17990
|
-
|
|
17538
|
+
_deep(item.children);
|
|
17991
17539
|
} else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
|
|
17992
17540
|
return d === item.code;
|
|
17993
17541
|
})) {
|
|
@@ -18001,10 +17549,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
|
|
|
18001
17549
|
resultList.push(_objectSpread2({}, router));
|
|
18002
17550
|
}
|
|
18003
17551
|
};
|
|
18004
|
-
|
|
17552
|
+
_deep(newRouter);
|
|
18005
17553
|
callBack([].concat(resultList));
|
|
18006
17554
|
};
|
|
18007
|
-
var
|
|
17555
|
+
var _setMenuTreeData = function setMenuTreeData(routesData) {
|
|
18008
17556
|
var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
|
|
18009
17557
|
var _loop = function _loop(i) {
|
|
18010
17558
|
if (routesData[i].hideInMenu) {
|
|
@@ -18018,7 +17566,7 @@ var setMenuTreeData = function setMenuTreeData(routesData) {
|
|
|
18018
17566
|
return 0; // continue
|
|
18019
17567
|
}
|
|
18020
17568
|
if (routesData[i].children) {
|
|
18021
|
-
|
|
17569
|
+
_setMenuTreeData(routesData[i].children);
|
|
18022
17570
|
}
|
|
18023
17571
|
},
|
|
18024
17572
|
_ret;
|
|
@@ -18039,16 +17587,16 @@ var setLoginOutPath = function setLoginOutPath() {
|
|
|
18039
17587
|
};
|
|
18040
17588
|
var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
|
|
18041
17589
|
var routerMap = {};
|
|
18042
|
-
var
|
|
17590
|
+
var _flattenMenuData = function flattenMenuData(data) {
|
|
18043
17591
|
data.forEach(function (menuItem) {
|
|
18044
17592
|
if (menuItem.children) {
|
|
18045
|
-
|
|
17593
|
+
_flattenMenuData(menuItem.children);
|
|
18046
17594
|
}
|
|
18047
17595
|
// Reduce memory usage
|
|
18048
17596
|
routerMap[menuItem.path] = menuItem;
|
|
18049
17597
|
});
|
|
18050
17598
|
};
|
|
18051
|
-
|
|
17599
|
+
_flattenMenuData(menuData);
|
|
18052
17600
|
return routerMap;
|
|
18053
17601
|
};
|
|
18054
17602
|
var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
|
|
@@ -18158,8 +17706,8 @@ var AllFunc = function AllFunc(props) {
|
|
|
18158
17706
|
})))));
|
|
18159
17707
|
};
|
|
18160
17708
|
|
|
18161
|
-
var css_248z$
|
|
18162
|
-
styleInject(css_248z$
|
|
17709
|
+
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.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";
|
|
17710
|
+
styleInject(css_248z$j);
|
|
18163
17711
|
|
|
18164
17712
|
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";
|
|
18165
17713
|
|
|
@@ -18194,7 +17742,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
18194
17742
|
sethomepageData(homepageDataList);
|
|
18195
17743
|
setroutesData(routesDataList);
|
|
18196
17744
|
}, []);
|
|
18197
|
-
var
|
|
17745
|
+
var _renderChildItem = function renderChildItem(child) {
|
|
18198
17746
|
if (!child.hideInMenu && child.children) {
|
|
18199
17747
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
|
|
18200
17748
|
style: {
|
|
@@ -18204,7 +17752,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
18204
17752
|
}, formatMessage({
|
|
18205
17753
|
id: "".concat(child.locale)
|
|
18206
17754
|
})), child.children.map(function (menuItem) {
|
|
18207
|
-
return
|
|
17755
|
+
return _renderChildItem(menuItem);
|
|
18208
17756
|
}));
|
|
18209
17757
|
} else if (!child.hideInMenu && child.path) {
|
|
18210
17758
|
return /*#__PURE__*/React$1.createElement(List.Item, {
|
|
@@ -18239,7 +17787,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
18239
17787
|
className: 'drawerWarp'
|
|
18240
17788
|
}, homepageData && homepageData.filter(function (d) {
|
|
18241
17789
|
return !d.hideInMenu;
|
|
18242
|
-
}).length > 0 && (
|
|
17790
|
+
}).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
|
|
18243
17791
|
className: classNames('allFunsList', 'allFunsListWarp'),
|
|
18244
17792
|
dataSource: homepageData,
|
|
18245
17793
|
renderItem: function renderItem(child) {
|
|
@@ -18274,7 +17822,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
18274
17822
|
bordered: true,
|
|
18275
17823
|
dataSource: item.children,
|
|
18276
17824
|
renderItem: function renderItem(child) {
|
|
18277
|
-
return
|
|
17825
|
+
return _renderChildItem(child);
|
|
18278
17826
|
}
|
|
18279
17827
|
});
|
|
18280
17828
|
})));
|
|
@@ -18334,7 +17882,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
18334
17882
|
src: allfunc
|
|
18335
17883
|
})), /*#__PURE__*/React$1.createElement("span", {
|
|
18336
17884
|
className: 'btnSpan2'
|
|
18337
|
-
}, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (
|
|
17885
|
+
}, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
|
|
18338
17886
|
style: {
|
|
18339
17887
|
left: isDrawer ? 140 : 0,
|
|
18340
17888
|
top: 50
|
|
@@ -18367,8 +17915,8 @@ var i18n = {
|
|
|
18367
17915
|
}
|
|
18368
17916
|
};
|
|
18369
17917
|
|
|
18370
|
-
var css_248z$
|
|
18371
|
-
styleInject(css_248z$
|
|
17918
|
+
var css_248z$k = ".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";
|
|
17919
|
+
styleInject(css_248z$k);
|
|
18372
17920
|
|
|
18373
17921
|
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";
|
|
18374
17922
|
|
|
@@ -18380,7 +17928,7 @@ function outLogin(_x) {
|
|
|
18380
17928
|
return _outLogin.apply(this, arguments);
|
|
18381
17929
|
}
|
|
18382
17930
|
function _outLogin() {
|
|
18383
|
-
_outLogin = _asyncToGenerator(
|
|
17931
|
+
_outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
18384
17932
|
var res;
|
|
18385
17933
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
18386
17934
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -18522,7 +18070,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
|
|
|
18522
18070
|
});
|
|
18523
18071
|
};
|
|
18524
18072
|
var loginOut = /*#__PURE__*/function () {
|
|
18525
|
-
var _ref2 = _asyncToGenerator(
|
|
18073
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
18526
18074
|
var sessionId;
|
|
18527
18075
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
18528
18076
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -18626,7 +18174,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
|
|
|
18626
18174
|
marginRight: '0px'
|
|
18627
18175
|
},
|
|
18628
18176
|
src: './xialajiantou-new.svg'
|
|
18629
|
-
}))))), loginModalParams.visible && (
|
|
18177
|
+
}))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
|
|
18630
18178
|
};
|
|
18631
18179
|
|
|
18632
18180
|
// -- 查询店铺 --
|
|
@@ -18634,7 +18182,7 @@ function getStoreByName(_x) {
|
|
|
18634
18182
|
return _getStoreByName.apply(this, arguments);
|
|
18635
18183
|
}
|
|
18636
18184
|
function _getStoreByName() {
|
|
18637
|
-
_getStoreByName = _asyncToGenerator(
|
|
18185
|
+
_getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
18638
18186
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
18639
18187
|
while (1) switch (_context.prev = _context.next) {
|
|
18640
18188
|
case 0:
|
|
@@ -18702,7 +18250,7 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18702
18250
|
return _fetchUserList.apply(this, arguments);
|
|
18703
18251
|
}
|
|
18704
18252
|
function _fetchUserList() {
|
|
18705
|
-
_fetchUserList = _asyncToGenerator(
|
|
18253
|
+
_fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
|
|
18706
18254
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
18707
18255
|
while (1) switch (_context3.prev = _context3.next) {
|
|
18708
18256
|
case 0:
|
|
@@ -18750,7 +18298,7 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18750
18298
|
return debounce$1(loadOptions, debounceTimeout);
|
|
18751
18299
|
}, [debounceTimeout, key]);
|
|
18752
18300
|
var changeInput = /*#__PURE__*/function () {
|
|
18753
|
-
var _ref = _asyncToGenerator(
|
|
18301
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
|
|
18754
18302
|
var res;
|
|
18755
18303
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
18756
18304
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -18772,7 +18320,7 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18772
18320
|
};
|
|
18773
18321
|
}();
|
|
18774
18322
|
useEffect(function () {
|
|
18775
|
-
_asyncToGenerator(
|
|
18323
|
+
_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
18776
18324
|
var res;
|
|
18777
18325
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
18778
18326
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -18898,8 +18446,8 @@ var ChooseStore = function ChooseStore(props) {
|
|
|
18898
18446
|
}))))));
|
|
18899
18447
|
};
|
|
18900
18448
|
|
|
18901
|
-
var css_248z$
|
|
18902
|
-
styleInject(css_248z$
|
|
18449
|
+
var css_248z$l = ".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";
|
|
18450
|
+
styleInject(css_248z$l);
|
|
18903
18451
|
|
|
18904
18452
|
var judgeIsEmpty$2 = function judgeIsEmpty(value) {
|
|
18905
18453
|
if (value == null || value == undefined || String(value).trim() == '') {
|
|
@@ -18937,7 +18485,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18937
18485
|
var resultList = [];
|
|
18938
18486
|
var newRouter = cloneDeep$1(router);
|
|
18939
18487
|
var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
|
|
18940
|
-
var
|
|
18488
|
+
var _deep = function deep(router) {
|
|
18941
18489
|
if (router && Array.isArray(router)) {
|
|
18942
18490
|
router.forEach(function (item) {
|
|
18943
18491
|
if (item.routes && Array.isArray(item.routes)) {
|
|
@@ -18947,7 +18495,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18947
18495
|
d.nameEdit = true;
|
|
18948
18496
|
}
|
|
18949
18497
|
});
|
|
18950
|
-
|
|
18498
|
+
_deep(item.routes);
|
|
18951
18499
|
} else if (!item.hideInMenu && (name ? formatMessage({
|
|
18952
18500
|
id: "menu.".concat(item.name)
|
|
18953
18501
|
}).indexOf(name) !== -1 : true)) {
|
|
@@ -18966,7 +18514,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
18966
18514
|
}));
|
|
18967
18515
|
}
|
|
18968
18516
|
};
|
|
18969
|
-
|
|
18517
|
+
_deep(newRouter);
|
|
18970
18518
|
setroutesData([].concat(resultList));
|
|
18971
18519
|
};
|
|
18972
18520
|
var renderLineStyl = function renderLineStyl(name) {
|
|
@@ -19048,22 +18596,22 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
19048
18596
|
},
|
|
19049
18597
|
title: item.fullPathName
|
|
19050
18598
|
}, renderLineStyl(item.fullPathName));
|
|
19051
|
-
}))))), showSelectStore && (
|
|
18599
|
+
}))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
|
|
19052
18600
|
employeeCode: employeeCode
|
|
19053
18601
|
})), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
|
|
19054
18602
|
};
|
|
19055
18603
|
|
|
19056
18604
|
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";
|
|
19057
18605
|
|
|
19058
|
-
var css_248z$
|
|
19059
|
-
styleInject(css_248z$
|
|
18606
|
+
var css_248z$m = ".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";
|
|
18607
|
+
styleInject(css_248z$m);
|
|
19060
18608
|
|
|
19061
18609
|
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";
|
|
19062
18610
|
|
|
19063
18611
|
var TreeNode = Tree.TreeNode;
|
|
19064
18612
|
var Search$2 = Input.Search;
|
|
19065
18613
|
var dataList = [];
|
|
19066
|
-
var
|
|
18614
|
+
var _generateList = function generateList(data) {
|
|
19067
18615
|
for (var i = 0; i < data.length; i++) {
|
|
19068
18616
|
var node = data[i];
|
|
19069
18617
|
var path = node.path,
|
|
@@ -19073,11 +18621,11 @@ var generateList = function generateList(data) {
|
|
|
19073
18621
|
name: name
|
|
19074
18622
|
});
|
|
19075
18623
|
if (node.children) {
|
|
19076
|
-
|
|
18624
|
+
_generateList(node.children);
|
|
19077
18625
|
}
|
|
19078
18626
|
}
|
|
19079
18627
|
};
|
|
19080
|
-
var
|
|
18628
|
+
var _getParentKey = function getParentKey(path, tree) {
|
|
19081
18629
|
var parentKey;
|
|
19082
18630
|
for (var i = 0; i < tree.length; i++) {
|
|
19083
18631
|
var node = tree[i];
|
|
@@ -19086,8 +18634,8 @@ var getParentKey = function getParentKey(path, tree) {
|
|
|
19086
18634
|
return item.path === path;
|
|
19087
18635
|
})) {
|
|
19088
18636
|
parentKey = node.path;
|
|
19089
|
-
} else if (
|
|
19090
|
-
parentKey =
|
|
18637
|
+
} else if (_getParentKey(path, node.children)) {
|
|
18638
|
+
parentKey = _getParentKey(path, node.children);
|
|
19091
18639
|
}
|
|
19092
18640
|
}
|
|
19093
18641
|
}
|
|
@@ -19118,7 +18666,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19118
18666
|
var treeData = _this.state.treeData;
|
|
19119
18667
|
var expandedKeys = dataList.map(function (item) {
|
|
19120
18668
|
if (item.name.indexOf(value) > -1) {
|
|
19121
|
-
return
|
|
18669
|
+
return _getParentKey(item.path, treeData);
|
|
19122
18670
|
}
|
|
19123
18671
|
return null;
|
|
19124
18672
|
}).filter(function (item, i, self) {
|
|
@@ -19132,22 +18680,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19132
18680
|
};
|
|
19133
18681
|
_this.getPathList = function (originData) {
|
|
19134
18682
|
var pathList = [];
|
|
19135
|
-
var
|
|
18683
|
+
var _getList = function getList(data) {
|
|
19136
18684
|
if (Array.isArray(data)) {
|
|
19137
18685
|
data.forEach(function (item) {
|
|
19138
18686
|
pathList.push(item.path);
|
|
19139
18687
|
if (item.children) {
|
|
19140
|
-
|
|
18688
|
+
_getList(item.children);
|
|
19141
18689
|
}
|
|
19142
18690
|
});
|
|
19143
18691
|
} else {
|
|
19144
18692
|
pathList.push(data.path);
|
|
19145
18693
|
if (data.children) {
|
|
19146
|
-
|
|
18694
|
+
_getList(data.children);
|
|
19147
18695
|
}
|
|
19148
18696
|
}
|
|
19149
18697
|
};
|
|
19150
|
-
|
|
18698
|
+
_getList(originData);
|
|
19151
18699
|
return pathList;
|
|
19152
18700
|
};
|
|
19153
18701
|
_this.handleAdd2Menu = function (path) {
|
|
@@ -19156,18 +18704,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19156
18704
|
customerMenuData = _this$props.customerMenuData,
|
|
19157
18705
|
setCustomerMenuData = _this$props.setCustomerMenuData;
|
|
19158
18706
|
var filterItem;
|
|
19159
|
-
var
|
|
18707
|
+
var _filterMenuItem = function filterMenuItem(menuData) {
|
|
19160
18708
|
menuData.forEach(function (item) {
|
|
19161
18709
|
if (item.path === path) {
|
|
19162
18710
|
filterItem = _objectSpread2({}, item);
|
|
19163
18711
|
return;
|
|
19164
18712
|
}
|
|
19165
18713
|
if (item.children) {
|
|
19166
|
-
|
|
18714
|
+
_filterMenuItem(item.children);
|
|
19167
18715
|
}
|
|
19168
18716
|
});
|
|
19169
18717
|
};
|
|
19170
|
-
|
|
18718
|
+
_filterMenuItem(treeData);
|
|
19171
18719
|
var addPathList = _this.getPathList(filterItem);
|
|
19172
18720
|
var oldPathList = _this.getPathList(customerMenuData);
|
|
19173
18721
|
var isRepet = false;
|
|
@@ -19197,8 +18745,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19197
18745
|
return item.path === '/';
|
|
19198
18746
|
})) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
|
|
19199
18747
|
var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
|
|
19200
|
-
|
|
19201
|
-
|
|
18748
|
+
_setMenuTreeData(routesData);
|
|
18749
|
+
_generateList(routesData);
|
|
19202
18750
|
this.setState({
|
|
19203
18751
|
treeData: routesData
|
|
19204
18752
|
});
|
|
@@ -19212,16 +18760,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19212
18760
|
expandedKeys = _this$state.expandedKeys,
|
|
19213
18761
|
autoExpandParent = _this$state.autoExpandParent,
|
|
19214
18762
|
treeData = _this$state.treeData;
|
|
19215
|
-
var
|
|
18763
|
+
var _loop = function loop(data) {
|
|
19216
18764
|
return data.map(function (item) {
|
|
19217
18765
|
var index = item.name.indexOf(searchValue);
|
|
19218
18766
|
var beforeStr = item.name.substr(0, index);
|
|
19219
18767
|
var afterStr = item.name.substr(index + searchValue.length);
|
|
19220
|
-
var name = index > -1 ? (
|
|
18768
|
+
var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
|
|
19221
18769
|
style: {
|
|
19222
18770
|
color: '#f50'
|
|
19223
18771
|
}
|
|
19224
|
-
}, searchValue), afterStr)) : (
|
|
18772
|
+
}, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
|
|
19225
18773
|
if (item.children && item.children.length) {
|
|
19226
18774
|
return /*#__PURE__*/React$1.createElement(TreeNode, {
|
|
19227
18775
|
path: item.path,
|
|
@@ -19243,7 +18791,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19243
18791
|
width: 18,
|
|
19244
18792
|
src: arrowRight
|
|
19245
18793
|
}))))
|
|
19246
|
-
},
|
|
18794
|
+
}, _loop(item.children));
|
|
19247
18795
|
}
|
|
19248
18796
|
return /*#__PURE__*/React$1.createElement(TreeNode, {
|
|
19249
18797
|
path: item.path,
|
|
@@ -19293,7 +18841,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19293
18841
|
onExpand: this.onExpand,
|
|
19294
18842
|
expandedKeys: expandedKeys,
|
|
19295
18843
|
autoExpandParent: autoExpandParent
|
|
19296
|
-
},
|
|
18844
|
+
}, _loop(treeData))));
|
|
19297
18845
|
}
|
|
19298
18846
|
}]);
|
|
19299
18847
|
}(React$1.Component);
|
|
@@ -19326,24 +18874,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19326
18874
|
var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
|
|
19327
18875
|
var dragObj;
|
|
19328
18876
|
var finalDropItem;
|
|
19329
|
-
var
|
|
18877
|
+
var _loop = function loop(data, path, callback) {
|
|
19330
18878
|
for (var i = 0; i < data.length; i++) {
|
|
19331
18879
|
if (data[i].path === path) {
|
|
19332
18880
|
return callback(data[i], i, data);
|
|
19333
18881
|
}
|
|
19334
18882
|
if (data[i].children) {
|
|
19335
|
-
|
|
18883
|
+
_loop(data[i].children, path, callback);
|
|
19336
18884
|
}
|
|
19337
18885
|
}
|
|
19338
18886
|
};
|
|
19339
18887
|
var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
|
|
19340
|
-
|
|
18888
|
+
_loop(data, dragKey, function (item, index, arr) {
|
|
19341
18889
|
arr.splice(index, 1);
|
|
19342
18890
|
dragObj = item;
|
|
19343
18891
|
});
|
|
19344
18892
|
if (!info.dropToGap) {
|
|
19345
18893
|
// Drop on the content
|
|
19346
|
-
|
|
18894
|
+
_loop(data, dropKey, function (item) {
|
|
19347
18895
|
item.children = item.children || [];
|
|
19348
18896
|
item.children.unshift(dragObj);
|
|
19349
18897
|
finalDropItem = _objectSpread2({}, item);
|
|
@@ -19354,7 +18902,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19354
18902
|
// Is expanded
|
|
19355
18903
|
dropPosition === 1 // On the bottom gap
|
|
19356
18904
|
) {
|
|
19357
|
-
|
|
18905
|
+
_loop(data, dropKey, function (item) {
|
|
19358
18906
|
item.children = item.children || [];
|
|
19359
18907
|
item.children.unshift(dragObj);
|
|
19360
18908
|
finalDropItem = _objectSpread2({}, item);
|
|
@@ -19362,7 +18910,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19362
18910
|
} else {
|
|
19363
18911
|
var ar;
|
|
19364
18912
|
var i;
|
|
19365
|
-
|
|
18913
|
+
_loop(data, dropKey, function (item, index, arr) {
|
|
19366
18914
|
ar = arr;
|
|
19367
18915
|
i = index;
|
|
19368
18916
|
});
|
|
@@ -19401,17 +18949,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19401
18949
|
title: '编辑名称',
|
|
19402
18950
|
callBack: function callBack(newName) {
|
|
19403
18951
|
var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
|
|
19404
|
-
var
|
|
18952
|
+
var _editTreeDataName = function editTreeDataName(oldTreeData) {
|
|
19405
18953
|
oldTreeData.forEach(function (treeItem) {
|
|
19406
18954
|
if (treeItem.path === item.path) {
|
|
19407
18955
|
treeItem.name = newName;
|
|
19408
18956
|
}
|
|
19409
18957
|
if (treeItem.children) {
|
|
19410
|
-
|
|
18958
|
+
_editTreeDataName(treeItem.children);
|
|
19411
18959
|
}
|
|
19412
18960
|
});
|
|
19413
18961
|
};
|
|
19414
|
-
|
|
18962
|
+
_editTreeDataName(oldTreeData);
|
|
19415
18963
|
_this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
|
|
19416
18964
|
_this.setState({
|
|
19417
18965
|
modalInfo: {
|
|
@@ -19456,7 +19004,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19456
19004
|
title: '新增子目录',
|
|
19457
19005
|
callBack: function callBack(newName) {
|
|
19458
19006
|
var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
|
|
19459
|
-
var
|
|
19007
|
+
var _addChildFolder = function addChildFolder(oldTreeData) {
|
|
19460
19008
|
oldTreeData.forEach(function (treeItem) {
|
|
19461
19009
|
if (treeItem.path === item.path) {
|
|
19462
19010
|
treeItem.children ? treeItem.children.push({
|
|
@@ -19468,11 +19016,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19468
19016
|
}];
|
|
19469
19017
|
}
|
|
19470
19018
|
if (treeItem.children) {
|
|
19471
|
-
|
|
19019
|
+
_addChildFolder(treeItem.children);
|
|
19472
19020
|
}
|
|
19473
19021
|
});
|
|
19474
19022
|
};
|
|
19475
|
-
|
|
19023
|
+
_addChildFolder(oldTreeData);
|
|
19476
19024
|
_this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
|
|
19477
19025
|
_this.setState({
|
|
19478
19026
|
modalInfo: {
|
|
@@ -19531,7 +19079,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19531
19079
|
var _this$state = this.state,
|
|
19532
19080
|
modalInfo = _this$state.modalInfo,
|
|
19533
19081
|
checkedKeys = _this$state.checkedKeys;
|
|
19534
|
-
var
|
|
19082
|
+
var _loop2 = function loop(data) {
|
|
19535
19083
|
return data.map(function (item) {
|
|
19536
19084
|
if (item.children && item.children.length) {
|
|
19537
19085
|
return /*#__PURE__*/React$1.createElement(TreeNode$1, {
|
|
@@ -19548,7 +19096,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19548
19096
|
e.stopPropagation();
|
|
19549
19097
|
}
|
|
19550
19098
|
}, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
|
|
19551
|
-
},
|
|
19099
|
+
}, _loop2(item.children));
|
|
19552
19100
|
}
|
|
19553
19101
|
return /*#__PURE__*/React$1.createElement(TreeNode$1, {
|
|
19554
19102
|
path: item.path,
|
|
@@ -19627,7 +19175,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
|
|
|
19627
19175
|
children: 'children'
|
|
19628
19176
|
},
|
|
19629
19177
|
onDrop: this.onDrop
|
|
19630
|
-
},
|
|
19178
|
+
}, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
|
|
19631
19179
|
width: 600,
|
|
19632
19180
|
bodyStyle: {
|
|
19633
19181
|
paddingTop: '32px',
|
|
@@ -19683,8 +19231,8 @@ var MenuSetting = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19683
19231
|
}));
|
|
19684
19232
|
});
|
|
19685
19233
|
|
|
19686
|
-
var css_248z$
|
|
19687
|
-
styleInject(css_248z$
|
|
19234
|
+
var css_248z$n = ".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";
|
|
19235
|
+
styleInject(css_248z$n);
|
|
19688
19236
|
|
|
19689
19237
|
var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
19690
19238
|
var isCollapse = _ref.isCollapse,
|
|
@@ -19740,7 +19288,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19740
19288
|
pathname: item.path
|
|
19741
19289
|
});
|
|
19742
19290
|
};
|
|
19743
|
-
var
|
|
19291
|
+
var _getMenuDom = function getMenuDom(menuData) {
|
|
19744
19292
|
return menuData.map(function (item) {
|
|
19745
19293
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
19746
19294
|
style: {
|
|
@@ -19755,7 +19303,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19755
19303
|
fontWeight: item.children || !item.component ? 'bolder' : '400',
|
|
19756
19304
|
paddingLeft: '4px'
|
|
19757
19305
|
}
|
|
19758
|
-
}, item.name), !!item.children && !!item.children.length &&
|
|
19306
|
+
}, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
|
|
19759
19307
|
});
|
|
19760
19308
|
};
|
|
19761
19309
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -19781,7 +19329,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19781
19329
|
style: {
|
|
19782
19330
|
paddingLeft: '5px'
|
|
19783
19331
|
}
|
|
19784
|
-
}, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (
|
|
19332
|
+
}, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
|
|
19785
19333
|
style: {
|
|
19786
19334
|
left: isDrawer ? 140 : 0
|
|
19787
19335
|
},
|
|
@@ -19802,7 +19350,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19802
19350
|
visible: isDrawer
|
|
19803
19351
|
}, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
|
|
19804
19352
|
className: 'menu_title_line'
|
|
19805
|
-
}, "\u81EA\u5B9A\u4E49\u83DC\u5355"),
|
|
19353
|
+
}, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
|
|
19806
19354
|
title: /*#__PURE__*/React$1.createElement("span", {
|
|
19807
19355
|
style: {
|
|
19808
19356
|
fontWeight: '600',
|
|
@@ -19820,8 +19368,8 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19820
19368
|
})));
|
|
19821
19369
|
});
|
|
19822
19370
|
|
|
19823
|
-
var css_248z$
|
|
19824
|
-
styleInject(css_248z$
|
|
19371
|
+
var css_248z$o = ".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";
|
|
19372
|
+
styleInject(css_248z$o);
|
|
19825
19373
|
|
|
19826
19374
|
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=";
|
|
19827
19375
|
|
|
@@ -19876,7 +19424,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19876
19424
|
return item.path === '/';
|
|
19877
19425
|
})) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
|
|
19878
19426
|
var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
|
|
19879
|
-
|
|
19427
|
+
_setMenuTreeData(routesData);
|
|
19880
19428
|
routesData.forEach(function (item) {
|
|
19881
19429
|
if (item.children) {
|
|
19882
19430
|
routesDataList.push(item);
|
|
@@ -19906,7 +19454,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19906
19454
|
setHeight(clientHeight - 190);
|
|
19907
19455
|
setDrawHeight(clientHeight - 70);
|
|
19908
19456
|
};
|
|
19909
|
-
var
|
|
19457
|
+
var _renderChildItem = function renderChildItem(child) {
|
|
19910
19458
|
if (!child.hideInMenu && child.children) {
|
|
19911
19459
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
|
|
19912
19460
|
style: {
|
|
@@ -19916,7 +19464,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
19916
19464
|
}, formatMessage({
|
|
19917
19465
|
id: "".concat(child.locale)
|
|
19918
19466
|
})), child.children.map(function (menuItem) {
|
|
19919
|
-
return
|
|
19467
|
+
return _renderChildItem(menuItem);
|
|
19920
19468
|
}));
|
|
19921
19469
|
} else if (!child.hideInMenu && child.path) {
|
|
19922
19470
|
return /*#__PURE__*/React$1.createElement(List.Item, {
|
|
@@ -20058,7 +19606,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
20058
19606
|
onMenuClick(e, item);
|
|
20059
19607
|
}
|
|
20060
19608
|
}, item.name);
|
|
20061
|
-
}))), !!SearhData.length ? (
|
|
19609
|
+
}))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
|
|
20062
19610
|
className: 'search_menu_content'
|
|
20063
19611
|
}, SearhData.map(function (item) {
|
|
20064
19612
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -20067,7 +19615,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
20067
19615
|
},
|
|
20068
19616
|
key: item.path
|
|
20069
19617
|
}, item.name);
|
|
20070
|
-
}))) : (
|
|
19618
|
+
}))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
20071
19619
|
style: {
|
|
20072
19620
|
height: "".concat(rightMenuHeight, "px"),
|
|
20073
19621
|
overflowY: 'scroll',
|
|
@@ -20079,7 +19627,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
20079
19627
|
className: 'drawerWarp_right'
|
|
20080
19628
|
}, homepageData && homepageData.filter(function (d) {
|
|
20081
19629
|
return !d.hideInMenu;
|
|
20082
|
-
}).length > 0 && (
|
|
19630
|
+
}).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
|
|
20083
19631
|
className: classNames('allFunsList', 'allFunsListWarp'),
|
|
20084
19632
|
dataSource: homepageData,
|
|
20085
19633
|
renderItem: function renderItem(child) {
|
|
@@ -20120,7 +19668,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
20120
19668
|
bordered: true,
|
|
20121
19669
|
dataSource: item.children,
|
|
20122
19670
|
renderItem: function renderItem(child) {
|
|
20123
|
-
return
|
|
19671
|
+
return _renderChildItem(child);
|
|
20124
19672
|
}
|
|
20125
19673
|
});
|
|
20126
19674
|
})), /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -20236,8 +19784,8 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
20236
19784
|
})));
|
|
20237
19785
|
};
|
|
20238
19786
|
|
|
20239
|
-
var css_248z$
|
|
20240
|
-
styleInject(css_248z$
|
|
19787
|
+
var css_248z$p = ".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";
|
|
19788
|
+
styleInject(css_248z$p);
|
|
20241
19789
|
|
|
20242
19790
|
/*
|
|
20243
19791
|
* @Date: 2022-04-01 15:42:51
|
|
@@ -20260,7 +19808,7 @@ var NoFoundPage = function NoFoundPage(props) {
|
|
|
20260
19808
|
}));
|
|
20261
19809
|
};
|
|
20262
19810
|
|
|
20263
|
-
var _excluded$
|
|
19811
|
+
var _excluded$h = ["route"];
|
|
20264
19812
|
var TabPane = Tabs.TabPane;
|
|
20265
19813
|
var getId = function getId(str) {
|
|
20266
19814
|
// 找到最后一个 / 的位置
|
|
@@ -20278,10 +19826,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
|
|
|
20278
19826
|
var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
|
|
20279
19827
|
var menuKeys = [];
|
|
20280
19828
|
var docsId = [];
|
|
20281
|
-
var
|
|
19829
|
+
var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
|
|
20282
19830
|
data.forEach(function (item) {
|
|
20283
19831
|
if (item.children && item.children.length > 0) {
|
|
20284
|
-
|
|
19832
|
+
_getLimitedMenuKeys(item.children);
|
|
20285
19833
|
} else {
|
|
20286
19834
|
var originPath = item.path.replace(/^\/\w+\//, '/');
|
|
20287
19835
|
menuKeys.push(originPath);
|
|
@@ -20292,7 +19840,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
|
|
|
20292
19840
|
});
|
|
20293
19841
|
};
|
|
20294
19842
|
try {
|
|
20295
|
-
|
|
19843
|
+
_getLimitedMenuKeys(limitedMenuData);
|
|
20296
19844
|
} catch (e) {}
|
|
20297
19845
|
return {
|
|
20298
19846
|
menuKeys: menuKeys,
|
|
@@ -20526,10 +20074,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20526
20074
|
return (node.path || '').includes('all-general-documents');
|
|
20527
20075
|
};
|
|
20528
20076
|
// 递归获取树列表
|
|
20529
|
-
var
|
|
20077
|
+
var _getTreeList = function getTreeList(data) {
|
|
20530
20078
|
data.forEach(function (node) {
|
|
20531
20079
|
if (node.routes && node.routes.length > 0) {
|
|
20532
|
-
|
|
20080
|
+
_getTreeList(node.routes);
|
|
20533
20081
|
return;
|
|
20534
20082
|
}
|
|
20535
20083
|
// todo:暂时处理非wujie环境不做404管控
|
|
@@ -20560,7 +20108,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20560
20108
|
}
|
|
20561
20109
|
});
|
|
20562
20110
|
};
|
|
20563
|
-
|
|
20111
|
+
_getTreeList(treeData);
|
|
20564
20112
|
return treeList;
|
|
20565
20113
|
};
|
|
20566
20114
|
_this.getDictionarySource = function (dicCode) {
|
|
@@ -21189,7 +20737,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21189
20737
|
updateState = _ref8.updateState;
|
|
21190
20738
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
21191
20739
|
className: "tab_title_content"
|
|
21192
|
-
}, item.tab, item.key !== '/' && (
|
|
20740
|
+
}, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
|
|
21193
20741
|
info: item,
|
|
21194
20742
|
operateFun: _this3.operateFun,
|
|
21195
20743
|
listenRouterState: listenRouterState
|
|
@@ -21201,7 +20749,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21201
20749
|
}); // 添加数据大屏
|
|
21202
20750
|
var _this$props3 = this.props,
|
|
21203
20751
|
route = _this$props3.route,
|
|
21204
|
-
restPrpos = _objectWithoutProperties(_this$props3, _excluded$
|
|
20752
|
+
restPrpos = _objectWithoutProperties(_this$props3, _excluded$h);
|
|
21205
20753
|
var exist = route.routes.find(function (route) {
|
|
21206
20754
|
return route.path === '/homePage/data-show';
|
|
21207
20755
|
});
|
|
@@ -21325,7 +20873,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21325
20873
|
};
|
|
21326
20874
|
}
|
|
21327
20875
|
var OperationsSlot = {
|
|
21328
|
-
left: (
|
|
20876
|
+
left: (/*#__PURE__*/React$1.createElement("div", {
|
|
21329
20877
|
className: 'tab_left_operate'
|
|
21330
20878
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
21331
20879
|
onClick: function onClick() {
|
|
@@ -21341,7 +20889,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21341
20889
|
_this3.setTabNavTransLate(-100);
|
|
21342
20890
|
}
|
|
21343
20891
|
}, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
|
|
21344
|
-
right: (
|
|
20892
|
+
right: (/*#__PURE__*/React$1.createElement("div", {
|
|
21345
20893
|
style: {
|
|
21346
20894
|
opacity: this.state.isSlider ? 1 : 0.5
|
|
21347
20895
|
},
|
|
@@ -21439,7 +20987,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21439
20987
|
onMouseLeave: function onMouseLeave() {
|
|
21440
20988
|
_this3.setShowMenu(false);
|
|
21441
20989
|
}
|
|
21442
|
-
}, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (
|
|
20990
|
+
}, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
|
|
21443
20991
|
style: {
|
|
21444
20992
|
position: 'absolute',
|
|
21445
20993
|
top: '14px',
|
|
@@ -21458,7 +21006,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21458
21006
|
postMenuData: function postMenuData(menus) {
|
|
21459
21007
|
return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
|
|
21460
21008
|
},
|
|
21461
|
-
links: [!this.state.collapse ? (
|
|
21009
|
+
links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
|
|
21462
21010
|
ref: this.allFunc,
|
|
21463
21011
|
itemPath: itemPath,
|
|
21464
21012
|
handleClose: this.handleClose,
|
|
@@ -21476,7 +21024,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
21476
21024
|
},
|
|
21477
21025
|
menu: {
|
|
21478
21026
|
request: function () {
|
|
21479
|
-
var _request = _asyncToGenerator(
|
|
21027
|
+
var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
21480
21028
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
21481
21029
|
while (1) switch (_context.prev = _context.next) {
|
|
21482
21030
|
case 0:
|
|
@@ -21611,7 +21159,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
21611
21159
|
getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
|
|
21612
21160
|
timeFormat = _this$props4.timeFormat,
|
|
21613
21161
|
transparentProps = _this$props4.transparentProps;
|
|
21614
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.isNotFound ? (
|
|
21162
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.isNotFound ? (/*#__PURE__*/React$1.createElement(NoFoundPage, null)) : /*#__PURE__*/React$1.createElement(item.content, _objectSpread2(_objectSpread2(_objectSpread2({
|
|
21615
21163
|
getDictionarySource: getDictionarySource,
|
|
21616
21164
|
getDictionaryTextByValue: getDictionaryTextByValue,
|
|
21617
21165
|
timeFormat: timeFormat
|
|
@@ -21635,12 +21183,12 @@ var index$5 = (function (props) {
|
|
|
21635
21183
|
});
|
|
21636
21184
|
|
|
21637
21185
|
// @ts-nocheck
|
|
21638
|
-
var
|
|
21186
|
+
var _getAllColumns = function getAllColumns(columns) {
|
|
21639
21187
|
var result = [];
|
|
21640
21188
|
columns.forEach(function (column) {
|
|
21641
21189
|
if (column.children) {
|
|
21642
21190
|
result.push(column);
|
|
21643
|
-
result.push.apply(result,
|
|
21191
|
+
result.push.apply(result, _getAllColumns(column.children));
|
|
21644
21192
|
} else {
|
|
21645
21193
|
result.push(column);
|
|
21646
21194
|
}
|
|
@@ -21649,7 +21197,7 @@ var getAllColumns = function getAllColumns(columns) {
|
|
|
21649
21197
|
};
|
|
21650
21198
|
var convertToRows = function convertToRows(originColumns) {
|
|
21651
21199
|
var maxLevel = 1;
|
|
21652
|
-
var
|
|
21200
|
+
var _traverse = function traverse(column, parent) {
|
|
21653
21201
|
if (parent) {
|
|
21654
21202
|
column.level = parent.level + 1;
|
|
21655
21203
|
if (maxLevel < column.level) {
|
|
@@ -21659,7 +21207,7 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
21659
21207
|
if (column.children) {
|
|
21660
21208
|
var colSpan = 0;
|
|
21661
21209
|
column.children.forEach(function (subColumn) {
|
|
21662
|
-
|
|
21210
|
+
_traverse(subColumn, column);
|
|
21663
21211
|
colSpan += subColumn.colSpan;
|
|
21664
21212
|
});
|
|
21665
21213
|
column.colSpan = colSpan;
|
|
@@ -21669,13 +21217,13 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
21669
21217
|
};
|
|
21670
21218
|
originColumns.forEach(function (column) {
|
|
21671
21219
|
column.level = 1;
|
|
21672
|
-
|
|
21220
|
+
_traverse(column);
|
|
21673
21221
|
});
|
|
21674
21222
|
var rows = [];
|
|
21675
21223
|
for (var i = 0; i < maxLevel; i++) {
|
|
21676
21224
|
rows.push([]);
|
|
21677
21225
|
}
|
|
21678
|
-
var allColumns =
|
|
21226
|
+
var allColumns = _getAllColumns(originColumns);
|
|
21679
21227
|
allColumns.forEach(function (column) {
|
|
21680
21228
|
if (!column.children) {
|
|
21681
21229
|
column.rowSpan = maxLevel - column.level + 1;
|
|
@@ -21715,7 +21263,7 @@ var convertToRows = function convertToRows(originColumns) {
|
|
|
21715
21263
|
};
|
|
21716
21264
|
var headersToRows = function headersToRows(originColumns) {
|
|
21717
21265
|
var maxLevel = 1;
|
|
21718
|
-
var
|
|
21266
|
+
var _traverse2 = function traverse(column, parent) {
|
|
21719
21267
|
if (parent) {
|
|
21720
21268
|
//计算当前元素属于第几个层级
|
|
21721
21269
|
column.level = parent.level + 1;
|
|
@@ -21728,7 +21276,7 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21728
21276
|
var colSpan = 0;
|
|
21729
21277
|
column.children.forEach(function (subColumn) {
|
|
21730
21278
|
//进行递归
|
|
21731
|
-
|
|
21279
|
+
_traverse2(subColumn, column);
|
|
21732
21280
|
colSpan += subColumn.colSpan;
|
|
21733
21281
|
});
|
|
21734
21282
|
column.colSpan = colSpan;
|
|
@@ -21738,14 +21286,14 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21738
21286
|
};
|
|
21739
21287
|
originColumns.forEach(function (column) {
|
|
21740
21288
|
column.level = 1;
|
|
21741
|
-
|
|
21289
|
+
_traverse2(column);
|
|
21742
21290
|
});
|
|
21743
21291
|
var rows = [];
|
|
21744
21292
|
var lastData = [];
|
|
21745
21293
|
for (var i = 0; i < maxLevel; i++) {
|
|
21746
21294
|
rows.push([]);
|
|
21747
21295
|
}
|
|
21748
|
-
var allColumns =
|
|
21296
|
+
var allColumns = _getAllColumns(originColumns);
|
|
21749
21297
|
allColumns.forEach(function (column) {
|
|
21750
21298
|
if (!column.children) {
|
|
21751
21299
|
column.rowSpan = maxLevel - column.level + 1;
|
|
@@ -21761,8 +21309,8 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
21761
21309
|
};
|
|
21762
21310
|
};
|
|
21763
21311
|
|
|
21764
|
-
var css_248z$
|
|
21765
|
-
styleInject(css_248z$
|
|
21312
|
+
var css_248z$q = ".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";
|
|
21313
|
+
styleInject(css_248z$q);
|
|
21766
21314
|
|
|
21767
21315
|
var useSticky = function useSticky(sticky) {
|
|
21768
21316
|
var _ref = _typeof(sticky) === 'object' ? sticky : {},
|
|
@@ -22174,10 +21722,10 @@ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
22174
21722
|
}))))));
|
|
22175
21723
|
});
|
|
22176
21724
|
|
|
22177
|
-
var _excluded$
|
|
21725
|
+
var _excluded$i = ["children"];
|
|
22178
21726
|
var Drawer = (function (props) {
|
|
22179
21727
|
var children = props.children,
|
|
22180
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
21728
|
+
restProps = _objectWithoutProperties(props, _excluded$i);
|
|
22181
21729
|
return /*#__PURE__*/React$1.createElement(Drawer$1, _objectSpread2({
|
|
22182
21730
|
mask: true,
|
|
22183
21731
|
closable: false,
|
|
@@ -27762,7 +27310,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
|
|
|
27762
27310
|
}
|
|
27763
27311
|
return lineStart <= highLightLine && lineEnd >= highLightLine;
|
|
27764
27312
|
};
|
|
27765
|
-
var
|
|
27313
|
+
var _hasHighLightChildren = function hasHighLightChildren() {
|
|
27766
27314
|
var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
27767
27315
|
var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
|
|
27768
27316
|
var children = hightLightData.children,
|
|
@@ -27773,7 +27321,7 @@ var hasHighLightChildren = function hasHighLightChildren() {
|
|
|
27773
27321
|
lineEnd = _loc2[2];
|
|
27774
27322
|
if (children) {
|
|
27775
27323
|
return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
|
|
27776
|
-
return
|
|
27324
|
+
return _hasHighLightChildren(v, highLightLine);
|
|
27777
27325
|
});
|
|
27778
27326
|
}
|
|
27779
27327
|
return lineStart <= highLightLine && lineEnd >= highLightLine;
|
|
@@ -27785,7 +27333,7 @@ function createHighLightTreeData(treeData, highLightLine) {
|
|
|
27785
27333
|
var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
|
|
27786
27334
|
data.forEach(function (node) {
|
|
27787
27335
|
if (!node) return;
|
|
27788
|
-
node.toggled =
|
|
27336
|
+
node.toggled = _hasHighLightChildren(node, highLightLine);
|
|
27789
27337
|
node.active = isHightLight(node, highLightLine);
|
|
27790
27338
|
if (node.children) {
|
|
27791
27339
|
if (node.active) {
|
|
@@ -27997,8 +27545,8 @@ var nameRender = (function (data) {
|
|
|
27997
27545
|
}, " ");
|
|
27998
27546
|
});
|
|
27999
27547
|
|
|
28000
|
-
var css_248z$
|
|
28001
|
-
styleInject(css_248z$
|
|
27548
|
+
var css_248z$r = ".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";
|
|
27549
|
+
styleInject(css_248z$r);
|
|
28002
27550
|
|
|
28003
27551
|
function parseData(data) {
|
|
28004
27552
|
var res;
|
|
@@ -28209,8 +27757,8 @@ function registerSuggestions(monaco) {
|
|
|
28209
27757
|
});
|
|
28210
27758
|
}
|
|
28211
27759
|
|
|
28212
|
-
var css_248z$
|
|
28213
|
-
styleInject(css_248z$
|
|
27760
|
+
var css_248z$s = ":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";
|
|
27761
|
+
styleInject(css_248z$s);
|
|
28214
27762
|
|
|
28215
27763
|
var Title = Typography.Title;
|
|
28216
27764
|
var STRTEMP = 'const config = ';
|
|
@@ -28404,7 +27952,7 @@ var Editor = (function (props) {
|
|
|
28404
27952
|
}, [shallowHeight]);
|
|
28405
27953
|
var hasConfigTree = type !== 'editor';
|
|
28406
27954
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
28407
|
-
className: isFull ? css_248z$
|
|
27955
|
+
className: isFull ? css_248z$s.editorWrapper : ''
|
|
28408
27956
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
28409
27957
|
style: {
|
|
28410
27958
|
overflow: 'hidden'
|
|
@@ -28472,7 +28020,7 @@ var Editor = (function (props) {
|
|
|
28472
28020
|
})), hasConfigTree && /*#__PURE__*/React$1.createElement(Col, {
|
|
28473
28021
|
span: 8
|
|
28474
28022
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
28475
|
-
className: css_248z$
|
|
28023
|
+
className: css_248z$s.title
|
|
28476
28024
|
}, "\u5C5E\u6027\u8282\u70B9\u6811"), /*#__PURE__*/React$1.createElement(ConfigTree, {
|
|
28477
28025
|
style: {
|
|
28478
28026
|
height: 'calc(100vh - 300px)',
|
|
@@ -29216,7 +28764,7 @@ var valueType = {
|
|
|
29216
28764
|
};
|
|
29217
28765
|
|
|
29218
28766
|
var getDynamicDict = /*#__PURE__*/function () {
|
|
29219
|
-
var _ref = _asyncToGenerator(
|
|
28767
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
|
|
29220
28768
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
29221
28769
|
while (1) switch (_context.prev = _context.next) {
|
|
29222
28770
|
case 0:
|
|
@@ -29284,7 +28832,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
29284
28832
|
value: false
|
|
29285
28833
|
}];
|
|
29286
28834
|
var ref = useRef();
|
|
29287
|
-
useMount(
|
|
28835
|
+
useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
29288
28836
|
var _ref$current, source;
|
|
29289
28837
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
29290
28838
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -29398,7 +28946,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
29398
28946
|
source: {
|
|
29399
28947
|
relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
|
|
29400
28948
|
type: function () {
|
|
29401
|
-
var _type = _asyncToGenerator(
|
|
28949
|
+
var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
|
|
29402
28950
|
var form, values, name, relates, source;
|
|
29403
28951
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
29404
28952
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -29878,7 +29426,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
29878
29426
|
source: {
|
|
29879
29427
|
relates: ['choiceType', 'inputType'],
|
|
29880
29428
|
type: function () {
|
|
29881
|
-
var _type2 = _asyncToGenerator(
|
|
29429
|
+
var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
|
|
29882
29430
|
var values, name, form, source;
|
|
29883
29431
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
29884
29432
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -30100,7 +29648,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
30100
29648
|
width: 900,
|
|
30101
29649
|
maskClosable: false,
|
|
30102
29650
|
onOk: function () {
|
|
30103
|
-
var _onOk = _asyncToGenerator(
|
|
29651
|
+
var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
30104
29652
|
var _ref$current4, _res$editableStatus;
|
|
30105
29653
|
var res, _res$defaultValue;
|
|
30106
29654
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
@@ -30172,7 +29720,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
30172
29720
|
}()
|
|
30173
29721
|
}), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
|
|
30174
29722
|
ref: ref
|
|
30175
|
-
})), maintainOptionsModal.visible && (
|
|
29723
|
+
})), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
|
|
30176
29724
|
};
|
|
30177
29725
|
|
|
30178
29726
|
// @ts-nocheck
|
|
@@ -30353,8 +29901,8 @@ var FieldsSettingsTable = (function (props) {
|
|
|
30353
29901
|
})), fieldsModify.visible && /*#__PURE__*/React$1.createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
|
|
30354
29902
|
});
|
|
30355
29903
|
|
|
30356
|
-
var css_248z$
|
|
30357
|
-
styleInject(css_248z$
|
|
29904
|
+
var css_248z$t = ".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";
|
|
29905
|
+
styleInject(css_248z$t);
|
|
30358
29906
|
|
|
30359
29907
|
function iterFileds(fields) {
|
|
30360
29908
|
var filedsValue = [];
|
|
@@ -30786,7 +30334,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30786
30334
|
return setVisible(false);
|
|
30787
30335
|
},
|
|
30788
30336
|
className: 'customFieldsDrawer'
|
|
30789
|
-
}, detailTablesSetting.length == 0 && (
|
|
30337
|
+
}, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
|
|
30790
30338
|
style: {
|
|
30791
30339
|
display: 'flex'
|
|
30792
30340
|
}
|
|
@@ -30795,13 +30343,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30795
30343
|
flex: 1,
|
|
30796
30344
|
width: 500
|
|
30797
30345
|
}
|
|
30798
|
-
}, isEmpty(moduleParams) ? (
|
|
30346
|
+
}, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
|
|
30799
30347
|
style: {
|
|
30800
30348
|
padding: "10px 0",
|
|
30801
30349
|
fontSize: "16px",
|
|
30802
30350
|
fontWeight: "bolder"
|
|
30803
30351
|
}
|
|
30804
|
-
}, "\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")) : (
|
|
30352
|
+
}, "\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$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
|
|
30805
30353
|
style: {
|
|
30806
30354
|
flex: 1
|
|
30807
30355
|
}
|
|
@@ -30810,7 +30358,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30810
30358
|
onRun: onClickRun,
|
|
30811
30359
|
value: jsonEditorVal,
|
|
30812
30360
|
shallowHeight: height
|
|
30813
|
-
})))), detailTablesSetting.length > 0 && (
|
|
30361
|
+
})))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
|
|
30814
30362
|
defaultActiveKey: activeKey,
|
|
30815
30363
|
onChange: function onChange(v) {
|
|
30816
30364
|
return setActiveKey(v);
|
|
@@ -30827,13 +30375,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30827
30375
|
flex: 1,
|
|
30828
30376
|
width: 500
|
|
30829
30377
|
}
|
|
30830
|
-
}, isEmpty(moduleParams) ? (
|
|
30378
|
+
}, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
|
|
30831
30379
|
style: {
|
|
30832
30380
|
padding: "10px 0",
|
|
30833
30381
|
fontSize: "16px",
|
|
30834
30382
|
fontWeight: "bolder"
|
|
30835
30383
|
}
|
|
30836
|
-
}, "\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")) : (
|
|
30384
|
+
}, "\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$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
|
|
30837
30385
|
style: {
|
|
30838
30386
|
flex: 1
|
|
30839
30387
|
}
|
|
@@ -30855,13 +30403,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
30855
30403
|
flex: 1,
|
|
30856
30404
|
width: 500
|
|
30857
30405
|
}
|
|
30858
|
-
}, !tablesConfigParams[k.tableCode] ? (
|
|
30406
|
+
}, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
|
|
30859
30407
|
style: {
|
|
30860
30408
|
padding: "10px 0",
|
|
30861
30409
|
fontSize: "16px",
|
|
30862
30410
|
fontWeight: "bolder"
|
|
30863
30411
|
}
|
|
30864
|
-
}, "\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")) : (
|
|
30412
|
+
}, "\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$1.createElement(FieldsSettingsTable, _objectSpread2({}, tablesConfigParams[k.tableCode])))), /*#__PURE__*/React$1.createElement("div", {
|
|
30865
30413
|
style: {
|
|
30866
30414
|
flex: 1
|
|
30867
30415
|
}
|
|
@@ -30956,7 +30504,7 @@ var formatListName = function formatListName(list, columns) {
|
|
|
30956
30504
|
});
|
|
30957
30505
|
};
|
|
30958
30506
|
|
|
30959
|
-
var _excluded$
|
|
30507
|
+
var _excluded$j = ["sorter"];
|
|
30960
30508
|
/**
|
|
30961
30509
|
* 删掉查询条件的qp- 和 -eq等
|
|
30962
30510
|
* @param {object} data
|
|
@@ -31007,7 +30555,7 @@ function getMetaData(_x) {
|
|
|
31007
30555
|
|
|
31008
30556
|
// 获取数据
|
|
31009
30557
|
function _getMetaData() {
|
|
31010
|
-
_getMetaData = _asyncToGenerator(
|
|
30558
|
+
_getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
|
|
31011
30559
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31012
30560
|
while (1) switch (_context.prev = _context.next) {
|
|
31013
30561
|
case 0:
|
|
@@ -31039,7 +30587,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
|
|
|
31039
30587
|
var _requestConfig$method;
|
|
31040
30588
|
var params = _ref.params;
|
|
31041
30589
|
var sorter = params.sorter,
|
|
31042
|
-
paramsTemp = _objectWithoutProperties(params, _excluded$
|
|
30590
|
+
paramsTemp = _objectWithoutProperties(params, _excluded$j);
|
|
31043
30591
|
var queryParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, requestConfig.params), requestConfig.body), _.omit(paramsTemp, ['filters', 'current'])), (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.filters) || {}), {
|
|
31044
30592
|
currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
|
|
31045
30593
|
});
|
|
@@ -31229,7 +30777,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
31229
30777
|
tableState = _useState4[0],
|
|
31230
30778
|
setTableState = _useState4[1];
|
|
31231
30779
|
var handleOpen = /*#__PURE__*/function () {
|
|
31232
|
-
var _ref = _asyncToGenerator(
|
|
30780
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
31233
30781
|
var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
|
|
31234
30782
|
var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
|
|
31235
30783
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -31548,7 +31096,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
31548
31096
|
destroyOnClose: true
|
|
31549
31097
|
}, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
|
|
31550
31098
|
ref: queryTableRef
|
|
31551
|
-
}, config)), (props === null || props === void 0 ? void 0 : (_props$selectProps4 = props.selectProps) === null || _props$selectProps4 === void 0 ? void 0 : _props$selectProps4.multipleForQuery) && !isView && (
|
|
31099
|
+
}, 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$1.createElement(Row, {
|
|
31552
31100
|
justify: "center",
|
|
31553
31101
|
style: {
|
|
31554
31102
|
marginBottom: 30,
|
|
@@ -31664,7 +31212,7 @@ var CustomSelector = (function (props) {
|
|
|
31664
31212
|
var _props$ctx7;
|
|
31665
31213
|
return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
|
|
31666
31214
|
}
|
|
31667
|
-
})), showType === 'modalTable' && (
|
|
31215
|
+
})), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
|
|
31668
31216
|
type: "primary",
|
|
31669
31217
|
style: {
|
|
31670
31218
|
width: '30px',
|
|
@@ -31750,7 +31298,7 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
31750
31298
|
_useState2 = _slicedToArray(_useState, 2),
|
|
31751
31299
|
handSource = _useState2[0],
|
|
31752
31300
|
setHandSource = _useState2[1];
|
|
31753
|
-
useEffect(
|
|
31301
|
+
useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
31754
31302
|
var resData, data;
|
|
31755
31303
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31756
31304
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -31894,15 +31442,15 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
31894
31442
|
});
|
|
31895
31443
|
};
|
|
31896
31444
|
|
|
31897
|
-
var css_248z$
|
|
31898
|
-
styleInject(css_248z$
|
|
31445
|
+
var css_248z$u = ".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";
|
|
31446
|
+
styleInject(css_248z$u);
|
|
31899
31447
|
|
|
31900
31448
|
// 查询规则对象属性thresholdList
|
|
31901
31449
|
function getRegularThresholdRange(_x) {
|
|
31902
31450
|
return _getRegularThresholdRange.apply(this, arguments);
|
|
31903
31451
|
}
|
|
31904
31452
|
function _getRegularThresholdRange() {
|
|
31905
|
-
_getRegularThresholdRange = _asyncToGenerator(
|
|
31453
|
+
_getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
31906
31454
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31907
31455
|
while (1) switch (_context.prev = _context.next) {
|
|
31908
31456
|
case 0:
|
|
@@ -32056,7 +31604,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
32056
31604
|
};
|
|
32057
31605
|
//规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
|
|
32058
31606
|
_this.getRegularThresholdRange = /*#__PURE__*/function () {
|
|
32059
|
-
var _ref = _asyncToGenerator(
|
|
31607
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
|
|
32060
31608
|
var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
|
|
32061
31609
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
32062
31610
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -33001,7 +32549,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33001
32549
|
isAll: true,
|
|
33002
32550
|
needNameAndCode: true,
|
|
33003
32551
|
notChangeOnSelect: true,
|
|
33004
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(
|
|
32552
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
33005
32553
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
33006
32554
|
while (1) switch (_context2.prev = _context2.next) {
|
|
33007
32555
|
case 0:
|
|
@@ -33050,7 +32598,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33050
32598
|
isAll: true,
|
|
33051
32599
|
needNameAndCode: true,
|
|
33052
32600
|
notChangeOnSelect: true,
|
|
33053
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(
|
|
32601
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
33054
32602
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
33055
32603
|
while (1) switch (_context3.prev = _context3.next) {
|
|
33056
32604
|
case 0:
|
|
@@ -33101,7 +32649,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
33101
32649
|
isAll: true,
|
|
33102
32650
|
needNameAndCode: true,
|
|
33103
32651
|
notChangeOnSelect: true,
|
|
33104
|
-
initRequestSource: /*#__PURE__*/_asyncToGenerator(
|
|
32652
|
+
initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
33105
32653
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
33106
32654
|
while (1) switch (_context4.prev = _context4.next) {
|
|
33107
32655
|
case 0:
|
|
@@ -34800,7 +34348,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
34800
34348
|
style: {
|
|
34801
34349
|
marginLeft: '10px'
|
|
34802
34350
|
},
|
|
34803
|
-
className: css_248z$
|
|
34351
|
+
className: css_248z$u.rule_field_style
|
|
34804
34352
|
}, this.renderConditionField());
|
|
34805
34353
|
}
|
|
34806
34354
|
}]);
|
|
@@ -35065,7 +34613,7 @@ var App$1 = function App(_ref) {
|
|
|
35065
34613
|
borderRadius: '5px',
|
|
35066
34614
|
cursor: 'pointer'
|
|
35067
34615
|
}
|
|
35068
|
-
}, isStaticNumber ? (
|
|
34616
|
+
}, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
|
|
35069
34617
|
autoFocus: true,
|
|
35070
34618
|
onClick: function onClick(e) {
|
|
35071
34619
|
return e.stopPropagation();
|
|
@@ -35241,7 +34789,7 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
|
|
|
35241
34789
|
disabled = _this$props.disabled;
|
|
35242
34790
|
return /*#__PURE__*/React$1.createElement("div", null, ruleTypeData.map(function (i) {
|
|
35243
34791
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
35244
|
-
className: css_248z$
|
|
34792
|
+
className: css_248z$u.action_list_item
|
|
35245
34793
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
35246
34794
|
onClick: function onClick() {
|
|
35247
34795
|
return handleOperatingAction(i.code, 'view');
|
|
@@ -35352,7 +34900,7 @@ function RenderCompItem(props) {
|
|
|
35352
34900
|
dictData = _useState2[0],
|
|
35353
34901
|
setDictData = _useState2[1];
|
|
35354
34902
|
var getDictData = /*#__PURE__*/function () {
|
|
35355
|
-
var _ref = _asyncToGenerator(
|
|
34903
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
35356
34904
|
var _data$map;
|
|
35357
34905
|
var data;
|
|
35358
34906
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -35394,7 +34942,7 @@ function RenderCompItem(props) {
|
|
|
35394
34942
|
var style2 = {
|
|
35395
34943
|
width: '100px'
|
|
35396
34944
|
};
|
|
35397
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && (
|
|
34945
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && (/*#__PURE__*/React$1.createElement(Input, {
|
|
35398
34946
|
disabled: disabled,
|
|
35399
34947
|
allowClear: true,
|
|
35400
34948
|
onClear: function onClear() {
|
|
@@ -35405,7 +34953,7 @@ function RenderCompItem(props) {
|
|
|
35405
34953
|
onBlur: function onBlur(e) {
|
|
35406
34954
|
handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
|
|
35407
34955
|
}
|
|
35408
|
-
})) || 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) && (
|
|
34956
|
+
})) || 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$1.createElement(InputNumber, {
|
|
35409
34957
|
disabled: disabled,
|
|
35410
34958
|
// max={Number.MAX_SAFE_INTEGER}
|
|
35411
34959
|
max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
|
|
@@ -35418,7 +34966,7 @@ function RenderCompItem(props) {
|
|
|
35418
34966
|
onChange: function onChange(value) {
|
|
35419
34967
|
handleEdit(ites.code, value);
|
|
35420
34968
|
}
|
|
35421
|
-
})) || 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) && (
|
|
34969
|
+
})) || 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$1.createElement(DatePicker, {
|
|
35422
34970
|
showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
|
|
35423
34971
|
format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
|
|
35424
34972
|
disabled: disabled,
|
|
@@ -35428,7 +34976,7 @@ function RenderCompItem(props) {
|
|
|
35428
34976
|
onChange: function onChange(value, dateString) {
|
|
35429
34977
|
handleEdit(ites.code, dateString);
|
|
35430
34978
|
}
|
|
35431
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && (
|
|
34979
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && (/*#__PURE__*/React$1.createElement(RangePicker$1, {
|
|
35432
34980
|
showTime: true,
|
|
35433
34981
|
disabled: disabled,
|
|
35434
34982
|
defaultValue: ites.defaultValue,
|
|
@@ -35437,7 +34985,7 @@ function RenderCompItem(props) {
|
|
|
35437
34985
|
onChange: function onChange(value, timeString) {
|
|
35438
34986
|
handleEdit(ites.code, timeString);
|
|
35439
34987
|
}
|
|
35440
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && (
|
|
34988
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && (/*#__PURE__*/React$1.createElement(Switch, {
|
|
35441
34989
|
disabled: disabled,
|
|
35442
34990
|
defaultChecked: !!ites.defaultValue,
|
|
35443
34991
|
style: style2,
|
|
@@ -35445,7 +34993,7 @@ function RenderCompItem(props) {
|
|
|
35445
34993
|
onChange: function onChange(value) {
|
|
35446
34994
|
handleEdit(ites.code, value);
|
|
35447
34995
|
}
|
|
35448
|
-
})) || 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 && (
|
|
34996
|
+
})) || 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$1.createElement(Select, _objectSpread2(_objectSpread2({
|
|
35449
34997
|
disabled: disabled,
|
|
35450
34998
|
allowClear: true,
|
|
35451
34999
|
showArrow: true
|
|
@@ -35463,7 +35011,7 @@ function RenderCompItem(props) {
|
|
|
35463
35011
|
key: it,
|
|
35464
35012
|
value: it
|
|
35465
35013
|
}, ites.enumeration[it]);
|
|
35466
|
-
}))) || 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 && (
|
|
35014
|
+
}))) || 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$1.createElement(InnerSelect, {
|
|
35467
35015
|
disabled: disabled,
|
|
35468
35016
|
inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
|
|
35469
35017
|
defaultValue: ites.defaultValue,
|
|
@@ -35473,7 +35021,7 @@ function RenderCompItem(props) {
|
|
|
35473
35021
|
handleEdit(ites.code, value);
|
|
35474
35022
|
},
|
|
35475
35023
|
dictionaryCode: ites.dictionaryCode
|
|
35476
|
-
})) || 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 && (
|
|
35024
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35477
35025
|
selectBusinessType: "physicalWarehouse",
|
|
35478
35026
|
selectProps: _objectSpread2({
|
|
35479
35027
|
style: styleCommon,
|
|
@@ -35495,7 +35043,7 @@ function RenderCompItem(props) {
|
|
|
35495
35043
|
getPopupContainer: function getPopupContainer() {
|
|
35496
35044
|
return document.body;
|
|
35497
35045
|
}
|
|
35498
|
-
})) || 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 && (
|
|
35046
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35499
35047
|
selectBusinessType: "realWarehouse",
|
|
35500
35048
|
selectProps: _objectSpread2({
|
|
35501
35049
|
style: styleCommon,
|
|
@@ -35517,7 +35065,7 @@ function RenderCompItem(props) {
|
|
|
35517
35065
|
getPopupContainer: function getPopupContainer() {
|
|
35518
35066
|
return document.body;
|
|
35519
35067
|
}
|
|
35520
|
-
})) || 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 && (
|
|
35068
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35521
35069
|
selectBusinessType: "virtualWarehouse",
|
|
35522
35070
|
selectProps: _objectSpread2({
|
|
35523
35071
|
style: styleCommon,
|
|
@@ -35539,7 +35087,7 @@ function RenderCompItem(props) {
|
|
|
35539
35087
|
getPopupContainer: function getPopupContainer() {
|
|
35540
35088
|
return document.body;
|
|
35541
35089
|
}
|
|
35542
|
-
})) || 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 && (
|
|
35090
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35543
35091
|
selectBusinessType: "channelWarehouse",
|
|
35544
35092
|
selectProps: _objectSpread2({
|
|
35545
35093
|
style: styleCommon,
|
|
@@ -35561,7 +35109,7 @@ function RenderCompItem(props) {
|
|
|
35561
35109
|
getPopupContainer: function getPopupContainer() {
|
|
35562
35110
|
return document.body;
|
|
35563
35111
|
}
|
|
35564
|
-
})) || 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 && (
|
|
35112
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35565
35113
|
selectBusinessType: "spuCommodity",
|
|
35566
35114
|
selectProps: _objectSpread2({
|
|
35567
35115
|
style: styleCommon,
|
|
@@ -35582,7 +35130,7 @@ function RenderCompItem(props) {
|
|
|
35582
35130
|
getPopupContainer: function getPopupContainer() {
|
|
35583
35131
|
return document.body;
|
|
35584
35132
|
}
|
|
35585
|
-
})) || 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 && (
|
|
35133
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35586
35134
|
selectBusinessType: "skuCommodity",
|
|
35587
35135
|
selectProps: _objectSpread2({
|
|
35588
35136
|
style: styleCommon,
|
|
@@ -35603,13 +35151,13 @@ function RenderCompItem(props) {
|
|
|
35603
35151
|
getPopupContainer: function getPopupContainer() {
|
|
35604
35152
|
return document.body;
|
|
35605
35153
|
}
|
|
35606
|
-
})) || 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 && (
|
|
35154
|
+
})) || 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$1.createElement(BsCascader, {
|
|
35607
35155
|
disabled: disabled,
|
|
35608
35156
|
isAll: true,
|
|
35609
35157
|
needNameAndCode: true,
|
|
35610
35158
|
notChangeOnSelect: true,
|
|
35611
35159
|
initRequestSource: function () {
|
|
35612
|
-
var _initRequestSource = _asyncToGenerator(
|
|
35160
|
+
var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
35613
35161
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
35614
35162
|
while (1) switch (_context2.prev = _context2.next) {
|
|
35615
35163
|
case 0:
|
|
@@ -35651,7 +35199,7 @@ function RenderCompItem(props) {
|
|
|
35651
35199
|
getPopupContainer: function getPopupContainer() {
|
|
35652
35200
|
return document.body;
|
|
35653
35201
|
}
|
|
35654
|
-
})) || 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 && (
|
|
35202
|
+
})) || 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$1.createElement(BusinessTreeSearchSelect$1, {
|
|
35655
35203
|
disabled: disabled,
|
|
35656
35204
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35657
35205
|
businessType: "department",
|
|
@@ -35664,7 +35212,7 @@ function RenderCompItem(props) {
|
|
|
35664
35212
|
getPopupContainer: function getPopupContainer() {
|
|
35665
35213
|
return document.body;
|
|
35666
35214
|
}
|
|
35667
|
-
})) || 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 && (
|
|
35215
|
+
})) || 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$1.createElement(BusinessTreeSearchSelect$1, {
|
|
35668
35216
|
disabled: disabled,
|
|
35669
35217
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35670
35218
|
businessType: "purchase-organization",
|
|
@@ -35677,7 +35225,7 @@ function RenderCompItem(props) {
|
|
|
35677
35225
|
getPopupContainer: function getPopupContainer() {
|
|
35678
35226
|
return document.body;
|
|
35679
35227
|
}
|
|
35680
|
-
})) || 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 && (
|
|
35228
|
+
})) || 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$1.createElement(BusinessTreeSearchSelect$1, {
|
|
35681
35229
|
disabled: disabled,
|
|
35682
35230
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35683
35231
|
businessType: "sales-organization",
|
|
@@ -35690,7 +35238,7 @@ function RenderCompItem(props) {
|
|
|
35690
35238
|
getPopupContainer: function getPopupContainer() {
|
|
35691
35239
|
return document.body;
|
|
35692
35240
|
}
|
|
35693
|
-
})) || 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 && (
|
|
35241
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35694
35242
|
selectBusinessType: "supplier2",
|
|
35695
35243
|
selectProps: _objectSpread2({
|
|
35696
35244
|
style: styleCommon,
|
|
@@ -35711,7 +35259,7 @@ function RenderCompItem(props) {
|
|
|
35711
35259
|
getPopupContainer: function getPopupContainer() {
|
|
35712
35260
|
return document.body;
|
|
35713
35261
|
}
|
|
35714
|
-
})) || 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 && (
|
|
35262
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35715
35263
|
selectBusinessType: "customer2",
|
|
35716
35264
|
selectProps: _objectSpread2({
|
|
35717
35265
|
style: styleCommon,
|
|
@@ -35732,7 +35280,7 @@ function RenderCompItem(props) {
|
|
|
35732
35280
|
getPopupContainer: function getPopupContainer() {
|
|
35733
35281
|
return document.body;
|
|
35734
35282
|
}
|
|
35735
|
-
})) || 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 && (
|
|
35283
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35736
35284
|
selectBusinessType: "shopFile2",
|
|
35737
35285
|
selectProps: _objectSpread2({
|
|
35738
35286
|
style: styleCommon,
|
|
@@ -35753,7 +35301,7 @@ function RenderCompItem(props) {
|
|
|
35753
35301
|
getPopupContainer: function getPopupContainer() {
|
|
35754
35302
|
return document.body;
|
|
35755
35303
|
}
|
|
35756
|
-
})) || 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 && (
|
|
35304
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35757
35305
|
selectBusinessType: "employee2",
|
|
35758
35306
|
selectProps: _objectSpread2({
|
|
35759
35307
|
style: styleCommon,
|
|
@@ -35774,7 +35322,7 @@ function RenderCompItem(props) {
|
|
|
35774
35322
|
getPopupContainer: function getPopupContainer() {
|
|
35775
35323
|
return document.body;
|
|
35776
35324
|
}
|
|
35777
|
-
})) || 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 && (
|
|
35325
|
+
})) || 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$1.createElement(BusinessTreeSearchSelect$1, {
|
|
35778
35326
|
disabled: disabled,
|
|
35779
35327
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35780
35328
|
businessType: "stock-organization",
|
|
@@ -35787,7 +35335,7 @@ function RenderCompItem(props) {
|
|
|
35787
35335
|
getPopupContainer: function getPopupContainer() {
|
|
35788
35336
|
return document.body;
|
|
35789
35337
|
}
|
|
35790
|
-
})) || 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 && (
|
|
35338
|
+
})) || 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$1.createElement(BusinessTreeSearchSelect$1, {
|
|
35791
35339
|
disabled: disabled,
|
|
35792
35340
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35793
35341
|
businessType: "settle-organization",
|
|
@@ -35800,7 +35348,7 @@ function RenderCompItem(props) {
|
|
|
35800
35348
|
getPopupContainer: function getPopupContainer() {
|
|
35801
35349
|
return document.body;
|
|
35802
35350
|
}
|
|
35803
|
-
})) || 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 && (
|
|
35351
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35804
35352
|
selectBusinessType: "deliveryMode",
|
|
35805
35353
|
selectProps: _objectSpread2({
|
|
35806
35354
|
style: styleCommon,
|
|
@@ -35821,7 +35369,7 @@ function RenderCompItem(props) {
|
|
|
35821
35369
|
getPopupContainer: function getPopupContainer() {
|
|
35822
35370
|
return document.body;
|
|
35823
35371
|
}
|
|
35824
|
-
})) || 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 && (
|
|
35372
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35825
35373
|
selectBusinessType: "role",
|
|
35826
35374
|
selectProps: _objectSpread2({
|
|
35827
35375
|
style: styleCommon,
|
|
@@ -35842,7 +35390,7 @@ function RenderCompItem(props) {
|
|
|
35842
35390
|
getPopupContainer: function getPopupContainer() {
|
|
35843
35391
|
return document.body;
|
|
35844
35392
|
}
|
|
35845
|
-
})) || 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 && (
|
|
35393
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
35846
35394
|
selectBusinessType: "brand",
|
|
35847
35395
|
selectProps: _objectSpread2({
|
|
35848
35396
|
style: styleCommon,
|
|
@@ -35863,7 +35411,7 @@ function RenderCompItem(props) {
|
|
|
35863
35411
|
getPopupContainer: function getPopupContainer() {
|
|
35864
35412
|
return document.body;
|
|
35865
35413
|
}
|
|
35866
|
-
})) || 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 && (
|
|
35414
|
+
})) || 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$1.createElement(BusinessTreeSearchSelect$1, {
|
|
35867
35415
|
disabled: disabled,
|
|
35868
35416
|
treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
|
|
35869
35417
|
businessType: "background-category",
|
|
@@ -35876,7 +35424,7 @@ function RenderCompItem(props) {
|
|
|
35876
35424
|
getPopupContainer: function getPopupContainer() {
|
|
35877
35425
|
return document.body;
|
|
35878
35426
|
}
|
|
35879
|
-
})) || 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 && (
|
|
35427
|
+
})) || 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$1.createElement(CustomSelector, {
|
|
35880
35428
|
selectProps: _objectSpread2(_objectSpread2({
|
|
35881
35429
|
style: styleCommon,
|
|
35882
35430
|
placeholder: '请选择'
|
|
@@ -35899,7 +35447,7 @@ function RenderCompItem(props) {
|
|
|
35899
35447
|
onChange: function onChange(value) {
|
|
35900
35448
|
handleEdit(ites.code, value);
|
|
35901
35449
|
}
|
|
35902
|
-
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (
|
|
35450
|
+
})) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
|
|
35903
35451
|
style: {
|
|
35904
35452
|
display: 'flex'
|
|
35905
35453
|
}
|
|
@@ -36411,7 +35959,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
36411
35959
|
queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
|
|
36412
35960
|
queryIdentifyType = 'dynamicDictCodeIdentify';
|
|
36413
35961
|
}
|
|
36414
|
-
var parallelTreeData =
|
|
35962
|
+
var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
|
|
36415
35963
|
var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
|
|
36416
35964
|
var _i$key;
|
|
36417
35965
|
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);
|
|
@@ -37188,8 +36736,8 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
37188
36736
|
}]);
|
|
37189
36737
|
}(Component);
|
|
37190
36738
|
|
|
37191
|
-
var css_248z$
|
|
37192
|
-
styleInject(css_248z$
|
|
36739
|
+
var css_248z$v = ".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";
|
|
36740
|
+
styleInject(css_248z$v);
|
|
37193
36741
|
|
|
37194
36742
|
var formatOperationList = function formatOperationList(data) {
|
|
37195
36743
|
var _result$find;
|
|
@@ -37338,13 +36886,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
|
|
|
37338
36886
|
var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
|
|
37339
36887
|
// 处理对象-设置了必填-规则实例保存时数据必填校验
|
|
37340
36888
|
if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
|
|
37341
|
-
var list =
|
|
36889
|
+
var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
|
|
37342
36890
|
var requiredList = list.filter(function (c) {
|
|
37343
36891
|
return c.required == 1;
|
|
37344
36892
|
}) || []; // 获取对象属性为true的集合
|
|
37345
36893
|
(requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
|
|
37346
36894
|
var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
|
|
37347
|
-
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) ?
|
|
36895
|
+
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];
|
|
37348
36896
|
(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) {
|
|
37349
36897
|
if (requiredList.some(function (r) {
|
|
37350
36898
|
return r.id === e.elementId;
|
|
@@ -37922,18 +37470,18 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37922
37470
|
return /*#__PURE__*/React$1.createElement(Spin, {
|
|
37923
37471
|
spinning: loading
|
|
37924
37472
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
37925
|
-
className: css_248z$
|
|
37473
|
+
className: css_248z$v.base_rule
|
|
37926
37474
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
37927
|
-
className: css_248z$
|
|
37475
|
+
className: css_248z$v.base_rule_content
|
|
37928
37476
|
}, /*#__PURE__*/React$1.createElement("p", {
|
|
37929
|
-
className: css_248z$
|
|
37477
|
+
className: css_248z$v.base_rule_line_title
|
|
37930
37478
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
37931
|
-
className: css_248z$
|
|
37479
|
+
className: css_248z$v.rule_title
|
|
37932
37480
|
}, (_handleDiff = handleDiff()) === null || _handleDiff === void 0 ? void 0 : _handleDiff.title), /*#__PURE__*/React$1.createElement("p", {
|
|
37933
37481
|
style: {
|
|
37934
37482
|
float: 'right'
|
|
37935
37483
|
}
|
|
37936
|
-
})), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (
|
|
37484
|
+
})), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
|
|
37937
37485
|
onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
|
|
37938
37486
|
ruleGroupInfo: {
|
|
37939
37487
|
ruleGroupList: ruleGroupList,
|
|
@@ -37951,7 +37499,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37951
37499
|
callBack: function callBack(newData) {
|
|
37952
37500
|
upDateData(newData);
|
|
37953
37501
|
}
|
|
37954
|
-
}))) : (
|
|
37502
|
+
}))) : (/*#__PURE__*/React$1.createElement("div", {
|
|
37955
37503
|
style: {
|
|
37956
37504
|
padding: 20
|
|
37957
37505
|
}
|
|
@@ -38178,17 +37726,17 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
38178
37726
|
})));
|
|
38179
37727
|
});
|
|
38180
37728
|
|
|
38181
|
-
var css_248z$
|
|
38182
|
-
styleInject(css_248z$
|
|
37729
|
+
var css_248z$w = ".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";
|
|
37730
|
+
styleInject(css_248z$w);
|
|
38183
37731
|
|
|
38184
|
-
var _excluded$
|
|
37732
|
+
var _excluded$k = ["titleExtra", "header", "showArrow"];
|
|
38185
37733
|
var Panel = Collapse.Panel;
|
|
38186
37734
|
var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
38187
37735
|
var titleExtra = _ref.titleExtra,
|
|
38188
37736
|
header = _ref.header,
|
|
38189
37737
|
_ref$showArrow = _ref.showArrow,
|
|
38190
37738
|
showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
|
|
38191
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
37739
|
+
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
38192
37740
|
var renderHeader = function renderHeader() {
|
|
38193
37741
|
return /*#__PURE__*/React$1.createElement(Space, {
|
|
38194
37742
|
align: "center"
|
|
@@ -38212,11 +37760,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
|
|
|
38212
37760
|
}), props.children);
|
|
38213
37761
|
};
|
|
38214
37762
|
|
|
38215
|
-
var _excluded$
|
|
37763
|
+
var _excluded$l = ["children", "bordered"];
|
|
38216
37764
|
var ExtendedCollapse = function ExtendedCollapse(props) {
|
|
38217
37765
|
var children = props.children,
|
|
38218
37766
|
bordered = props.bordered,
|
|
38219
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
37767
|
+
restProps = _objectWithoutProperties(props, _excluded$l);
|
|
38220
37768
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
38221
37769
|
className: classNames({
|
|
38222
37770
|
'bs-collapse-wrap': true,
|
|
@@ -38230,9 +37778,9 @@ var index$8 = Object.assign(ExtendedCollapse, {
|
|
|
38230
37778
|
Board: ExtendedPanel
|
|
38231
37779
|
});
|
|
38232
37780
|
|
|
38233
|
-
var css_248z$
|
|
37781
|
+
var css_248z$x = ".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";
|
|
38234
37782
|
var styles = {"paragraphCopyWrapper":"index-module_paragraphCopyWrapper__3rGOI","paragraphCopyLabel":"index-module_paragraphCopyLabel__1Qb8u","paragraphCopy":"index-module_paragraphCopy__1y7Jo"};
|
|
38235
|
-
styleInject(css_248z$
|
|
37783
|
+
styleInject(css_248z$x);
|
|
38236
37784
|
|
|
38237
37785
|
var Paragraph = Typography.Paragraph;
|
|
38238
37786
|
var Section = function Section(_ref) {
|
|
@@ -38326,4 +37874,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
|
|
|
38326
37874
|
}, children));
|
|
38327
37875
|
};
|
|
38328
37876
|
|
|
38329
|
-
export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier,
|
|
37877
|
+
export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, _coverToParallel as coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, _formatter as formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
|