@scenetechnology/cj_iview_table 0.0.17 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -184,6 +184,26 @@ module.exports = getBuiltIn('document', 'documentElement');
184
184
  module.exports = {};
185
185
 
186
186
 
187
+ /***/ }),
188
+
189
+ /***/ 507:
190
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
191
+
192
+ "use strict";
193
+
194
+ var call = __webpack_require__(9565);
195
+
196
+ module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
197
+ var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
198
+ var next = record.next;
199
+ var step, result;
200
+ while (!(step = call(next, iterator)).done) {
201
+ result = fn(step.value);
202
+ if (result !== undefined) return result;
203
+ }
204
+ };
205
+
206
+
187
207
  /***/ }),
188
208
 
189
209
  /***/ 616:
@@ -440,6 +460,24 @@ var uncurryThis = __webpack_require__(9504);
440
460
  module.exports = uncurryThis({}.isPrototypeOf);
441
461
 
442
462
 
463
+ /***/ }),
464
+
465
+ /***/ 1698:
466
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
467
+
468
+ "use strict";
469
+
470
+ var $ = __webpack_require__(6518);
471
+ var union = __webpack_require__(4204);
472
+ var setMethodAcceptSetLike = __webpack_require__(4916);
473
+
474
+ // `Set.prototype.union` method
475
+ // https://tc39.es/ecma262/#sec-set.prototype.union
476
+ $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
477
+ union: union
478
+ });
479
+
480
+
443
481
  /***/ }),
444
482
 
445
483
  /***/ 1701:
@@ -666,6 +704,28 @@ module.exports = Object.create || function create(O, Properties) {
666
704
  };
667
705
 
668
706
 
707
+ /***/ }),
708
+
709
+ /***/ 2475:
710
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
711
+
712
+ "use strict";
713
+
714
+ var $ = __webpack_require__(6518);
715
+ var isSupersetOf = __webpack_require__(8527);
716
+ var setMethodAcceptSetLike = __webpack_require__(4916);
717
+
718
+ var INCORRECT = !setMethodAcceptSetLike('isSupersetOf', function (result) {
719
+ return !result;
720
+ });
721
+
722
+ // `Set.prototype.isSupersetOf` method
723
+ // https://tc39.es/ecma262/#sec-set.prototype.issupersetof
724
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
725
+ isSupersetOf: isSupersetOf
726
+ });
727
+
728
+
669
729
  /***/ }),
670
730
 
671
731
  /***/ 2489:
@@ -18137,6 +18197,40 @@ module.exports = function (key) {
18137
18197
  };
18138
18198
 
18139
18199
 
18200
+ /***/ }),
18201
+
18202
+ /***/ 3440:
18203
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18204
+
18205
+ "use strict";
18206
+
18207
+ var aSet = __webpack_require__(7080);
18208
+ var SetHelpers = __webpack_require__(4402);
18209
+ var clone = __webpack_require__(9286);
18210
+ var size = __webpack_require__(5170);
18211
+ var getSetRecord = __webpack_require__(3789);
18212
+ var iterateSet = __webpack_require__(8469);
18213
+ var iterateSimple = __webpack_require__(507);
18214
+
18215
+ var has = SetHelpers.has;
18216
+ var remove = SetHelpers.remove;
18217
+
18218
+ // `Set.prototype.difference` method
18219
+ // https://github.com/tc39/proposal-set-methods
18220
+ module.exports = function difference(other) {
18221
+ var O = aSet(this);
18222
+ var otherRec = getSetRecord(other);
18223
+ var result = clone(O);
18224
+ if (size(O) <= otherRec.size) iterateSet(O, function (e) {
18225
+ if (otherRec.includes(e)) remove(result, e);
18226
+ });
18227
+ else iterateSimple(otherRec.getIterator(), function (e) {
18228
+ if (has(O, e)) remove(result, e);
18229
+ });
18230
+ return result;
18231
+ };
18232
+
18233
+
18140
18234
  /***/ }),
18141
18235
 
18142
18236
  /***/ 3579:
@@ -18165,6 +18259,37 @@ $({ target: 'Iterator', proto: true, real: true }, {
18165
18259
  });
18166
18260
 
18167
18261
 
18262
+ /***/ }),
18263
+
18264
+ /***/ 3650:
18265
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18266
+
18267
+ "use strict";
18268
+
18269
+ var aSet = __webpack_require__(7080);
18270
+ var SetHelpers = __webpack_require__(4402);
18271
+ var clone = __webpack_require__(9286);
18272
+ var getSetRecord = __webpack_require__(3789);
18273
+ var iterateSimple = __webpack_require__(507);
18274
+
18275
+ var add = SetHelpers.add;
18276
+ var has = SetHelpers.has;
18277
+ var remove = SetHelpers.remove;
18278
+
18279
+ // `Set.prototype.symmetricDifference` method
18280
+ // https://github.com/tc39/proposal-set-methods
18281
+ module.exports = function symmetricDifference(other) {
18282
+ var O = aSet(this);
18283
+ var keysIter = getSetRecord(other).getIterator();
18284
+ var result = clone(O);
18285
+ iterateSimple(keysIter, function (e) {
18286
+ if (has(O, e)) remove(result, e);
18287
+ else add(result, e);
18288
+ });
18289
+ return result;
18290
+ };
18291
+
18292
+
18168
18293
  /***/ }),
18169
18294
 
18170
18295
  /***/ 3706:
@@ -18215,6 +18340,100 @@ module.exports = !fails(function () {
18215
18340
  });
18216
18341
 
18217
18342
 
18343
+ /***/ }),
18344
+
18345
+ /***/ 3789:
18346
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18347
+
18348
+ "use strict";
18349
+
18350
+ var aCallable = __webpack_require__(9306);
18351
+ var anObject = __webpack_require__(8551);
18352
+ var call = __webpack_require__(9565);
18353
+ var toIntegerOrInfinity = __webpack_require__(1291);
18354
+ var getIteratorDirect = __webpack_require__(1767);
18355
+
18356
+ var INVALID_SIZE = 'Invalid size';
18357
+ var $RangeError = RangeError;
18358
+ var $TypeError = TypeError;
18359
+ var max = Math.max;
18360
+
18361
+ var SetRecord = function (set, intSize) {
18362
+ this.set = set;
18363
+ this.size = max(intSize, 0);
18364
+ this.has = aCallable(set.has);
18365
+ this.keys = aCallable(set.keys);
18366
+ };
18367
+
18368
+ SetRecord.prototype = {
18369
+ getIterator: function () {
18370
+ return getIteratorDirect(anObject(call(this.keys, this.set)));
18371
+ },
18372
+ includes: function (it) {
18373
+ return call(this.has, this.set, it);
18374
+ }
18375
+ };
18376
+
18377
+ // `GetSetRecord` abstract operation
18378
+ // https://tc39.es/proposal-set-methods/#sec-getsetrecord
18379
+ module.exports = function (obj) {
18380
+ anObject(obj);
18381
+ var numSize = +obj.size;
18382
+ // NOTE: If size is undefined, then numSize will be NaN
18383
+ // eslint-disable-next-line no-self-compare -- NaN check
18384
+ if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
18385
+ var intSize = toIntegerOrInfinity(numSize);
18386
+ if (intSize < 0) throw new $RangeError(INVALID_SIZE);
18387
+ return new SetRecord(obj, intSize);
18388
+ };
18389
+
18390
+
18391
+ /***/ }),
18392
+
18393
+ /***/ 3838:
18394
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18395
+
18396
+ "use strict";
18397
+
18398
+ var aSet = __webpack_require__(7080);
18399
+ var size = __webpack_require__(5170);
18400
+ var iterate = __webpack_require__(8469);
18401
+ var getSetRecord = __webpack_require__(3789);
18402
+
18403
+ // `Set.prototype.isSubsetOf` method
18404
+ // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf
18405
+ module.exports = function isSubsetOf(other) {
18406
+ var O = aSet(this);
18407
+ var otherRec = getSetRecord(other);
18408
+ if (size(O) > otherRec.size) return false;
18409
+ return iterate(O, function (e) {
18410
+ if (!otherRec.includes(e)) return false;
18411
+ }, true) !== false;
18412
+ };
18413
+
18414
+
18415
+ /***/ }),
18416
+
18417
+ /***/ 3853:
18418
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
18419
+
18420
+ "use strict";
18421
+
18422
+ var $ = __webpack_require__(6518);
18423
+ var isDisjointFrom = __webpack_require__(4449);
18424
+ var setMethodAcceptSetLike = __webpack_require__(4916);
18425
+
18426
+ var INCORRECT = !setMethodAcceptSetLike('isDisjointFrom', function (result) {
18427
+ return !result;
18428
+ });
18429
+
18430
+ // `Set.prototype.isDisjointFrom` method
18431
+ // https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
18432
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
18433
+ isDisjointFrom: isDisjointFrom
18434
+ });
18435
+
18436
+
18218
18437
  /***/ }),
18219
18438
 
18220
18439
  /***/ 4055:
@@ -18298,6 +18517,32 @@ module.exports = function (it) {
18298
18517
  };
18299
18518
 
18300
18519
 
18520
+ /***/ }),
18521
+
18522
+ /***/ 4204:
18523
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18524
+
18525
+ "use strict";
18526
+
18527
+ var aSet = __webpack_require__(7080);
18528
+ var add = (__webpack_require__(4402).add);
18529
+ var clone = __webpack_require__(9286);
18530
+ var getSetRecord = __webpack_require__(3789);
18531
+ var iterateSimple = __webpack_require__(507);
18532
+
18533
+ // `Set.prototype.union` method
18534
+ // https://github.com/tc39/proposal-set-methods
18535
+ module.exports = function union(other) {
18536
+ var O = aSet(this);
18537
+ var keysIter = getSetRecord(other).getIterator();
18538
+ var result = clone(O);
18539
+ iterateSimple(keysIter, function (it) {
18540
+ add(result, it);
18541
+ });
18542
+ return result;
18543
+ };
18544
+
18545
+
18301
18546
  /***/ }),
18302
18547
 
18303
18548
  /***/ 4209:
@@ -18358,6 +18603,58 @@ module.exports = Array.isArray || function isArray(argument) {
18358
18603
  };
18359
18604
 
18360
18605
 
18606
+ /***/ }),
18607
+
18608
+ /***/ 4402:
18609
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18610
+
18611
+ "use strict";
18612
+
18613
+ var uncurryThis = __webpack_require__(9504);
18614
+
18615
+ // eslint-disable-next-line es/no-set -- safe
18616
+ var SetPrototype = Set.prototype;
18617
+
18618
+ module.exports = {
18619
+ // eslint-disable-next-line es/no-set -- safe
18620
+ Set: Set,
18621
+ add: uncurryThis(SetPrototype.add),
18622
+ has: uncurryThis(SetPrototype.has),
18623
+ remove: uncurryThis(SetPrototype['delete']),
18624
+ proto: SetPrototype
18625
+ };
18626
+
18627
+
18628
+ /***/ }),
18629
+
18630
+ /***/ 4449:
18631
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18632
+
18633
+ "use strict";
18634
+
18635
+ var aSet = __webpack_require__(7080);
18636
+ var has = (__webpack_require__(4402).has);
18637
+ var size = __webpack_require__(5170);
18638
+ var getSetRecord = __webpack_require__(3789);
18639
+ var iterateSet = __webpack_require__(8469);
18640
+ var iterateSimple = __webpack_require__(507);
18641
+ var iteratorClose = __webpack_require__(9539);
18642
+
18643
+ // `Set.prototype.isDisjointFrom` method
18644
+ // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom
18645
+ module.exports = function isDisjointFrom(other) {
18646
+ var O = aSet(this);
18647
+ var otherRec = getSetRecord(other);
18648
+ if (size(O) <= otherRec.size) return iterateSet(O, function (e) {
18649
+ if (otherRec.includes(e)) return false;
18650
+ }, true) !== false;
18651
+ var iterator = otherRec.getIterator();
18652
+ return iterateSimple(iterator, function (e) {
18653
+ if (has(O, e)) return iteratorClose(iterator, 'normal', false);
18654
+ }) !== false;
18655
+ };
18656
+
18657
+
18361
18658
  /***/ }),
18362
18659
 
18363
18660
  /***/ 4495:
@@ -18533,6 +18830,90 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
18533
18830
  };
18534
18831
 
18535
18832
 
18833
+ /***/ }),
18834
+
18835
+ /***/ 4916:
18836
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18837
+
18838
+ "use strict";
18839
+
18840
+ var getBuiltIn = __webpack_require__(7751);
18841
+
18842
+ var createSetLike = function (size) {
18843
+ return {
18844
+ size: size,
18845
+ has: function () {
18846
+ return false;
18847
+ },
18848
+ keys: function () {
18849
+ return {
18850
+ next: function () {
18851
+ return { done: true };
18852
+ }
18853
+ };
18854
+ }
18855
+ };
18856
+ };
18857
+
18858
+ var createSetLikeWithInfinitySize = function (size) {
18859
+ return {
18860
+ size: size,
18861
+ has: function () {
18862
+ return true;
18863
+ },
18864
+ keys: function () {
18865
+ throw new Error('e');
18866
+ }
18867
+ };
18868
+ };
18869
+
18870
+ module.exports = function (name, callback) {
18871
+ var Set = getBuiltIn('Set');
18872
+ try {
18873
+ new Set()[name](createSetLike(0));
18874
+ try {
18875
+ // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it
18876
+ // https://github.com/tc39/proposal-set-methods/pull/88
18877
+ new Set()[name](createSetLike(-1));
18878
+ return false;
18879
+ } catch (error2) {
18880
+ if (!callback) return true;
18881
+ // early V8 implementation bug
18882
+ // https://issues.chromium.org/issues/351332634
18883
+ try {
18884
+ new Set()[name](createSetLikeWithInfinitySize(-Infinity));
18885
+ return false;
18886
+ } catch (error) {
18887
+ var set = new Set();
18888
+ set.add(1);
18889
+ set.add(2);
18890
+ return callback(set[name](createSetLikeWithInfinitySize(Infinity)));
18891
+ }
18892
+ }
18893
+ } catch (error) {
18894
+ return false;
18895
+ }
18896
+ };
18897
+
18898
+
18899
+ /***/ }),
18900
+
18901
+ /***/ 5024:
18902
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
18903
+
18904
+ "use strict";
18905
+
18906
+ var $ = __webpack_require__(6518);
18907
+ var symmetricDifference = __webpack_require__(3650);
18908
+ var setMethodAcceptSetLike = __webpack_require__(4916);
18909
+
18910
+ // `Set.prototype.symmetricDifference` method
18911
+ // https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
18912
+ $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, {
18913
+ symmetricDifference: symmetricDifference
18914
+ });
18915
+
18916
+
18536
18917
  /***/ }),
18537
18918
 
18538
18919
  /***/ 5031:
@@ -18556,6 +18937,21 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
18556
18937
  };
18557
18938
 
18558
18939
 
18940
+ /***/ }),
18941
+
18942
+ /***/ 5170:
18943
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18944
+
18945
+ "use strict";
18946
+
18947
+ var uncurryThisAccessor = __webpack_require__(6706);
18948
+ var SetHelpers = __webpack_require__(4402);
18949
+
18950
+ module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) {
18951
+ return set.size;
18952
+ };
18953
+
18954
+
18559
18955
  /***/ }),
18560
18956
 
18561
18957
  /***/ 5397:
@@ -18607,6 +19003,28 @@ module.exports = function (key, value) {
18607
19003
  };
18608
19004
 
18609
19005
 
19006
+ /***/ }),
19007
+
19008
+ /***/ 5876:
19009
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
19010
+
19011
+ "use strict";
19012
+
19013
+ var $ = __webpack_require__(6518);
19014
+ var isSubsetOf = __webpack_require__(3838);
19015
+ var setMethodAcceptSetLike = __webpack_require__(4916);
19016
+
19017
+ var INCORRECT = !setMethodAcceptSetLike('isSubsetOf', function (result) {
19018
+ return result;
19019
+ });
19020
+
19021
+ // `Set.prototype.isSubsetOf` method
19022
+ // https://tc39.es/ecma262/#sec-set.prototype.issubsetof
19023
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
19024
+ isSubsetOf: isSubsetOf
19025
+ });
19026
+
19027
+
18610
19028
  /***/ }),
18611
19029
 
18612
19030
  /***/ 5917:
@@ -18837,6 +19255,24 @@ module.exports = DESCRIPTORS ? function (object, key, value) {
18837
19255
  };
18838
19256
 
18839
19257
 
19258
+ /***/ }),
19259
+
19260
+ /***/ 6706:
19261
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19262
+
19263
+ "use strict";
19264
+
19265
+ var uncurryThis = __webpack_require__(9504);
19266
+ var aCallable = __webpack_require__(9306);
19267
+
19268
+ module.exports = function (object, key, method) {
19269
+ try {
19270
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
19271
+ return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
19272
+ } catch (error) { /* empty */ }
19273
+ };
19274
+
19275
+
18840
19276
  /***/ }),
18841
19277
 
18842
19278
  /***/ 6801:
@@ -19048,6 +19484,22 @@ module.exports = fails(function () {
19048
19484
  } : $Object;
19049
19485
 
19050
19486
 
19487
+ /***/ }),
19488
+
19489
+ /***/ 7080:
19490
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19491
+
19492
+ "use strict";
19493
+
19494
+ var has = (__webpack_require__(4402).has);
19495
+
19496
+ // Perform ? RequireInternalSlot(M, [[SetData]])
19497
+ module.exports = function (it) {
19498
+ has(it);
19499
+ return it;
19500
+ };
19501
+
19502
+
19051
19503
  /***/ }),
19052
19504
 
19053
19505
  /***/ 7347:
@@ -19148,6 +19600,28 @@ var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED,
19148
19600
  });
19149
19601
 
19150
19602
 
19603
+ /***/ }),
19604
+
19605
+ /***/ 7642:
19606
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
19607
+
19608
+ "use strict";
19609
+
19610
+ var $ = __webpack_require__(6518);
19611
+ var difference = __webpack_require__(3440);
19612
+ var setMethodAcceptSetLike = __webpack_require__(4916);
19613
+
19614
+ var INCORRECT = !setMethodAcceptSetLike('difference', function (result) {
19615
+ return result.size === 0;
19616
+ });
19617
+
19618
+ // `Set.prototype.difference` method
19619
+ // https://tc39.es/ecma262/#sec-set.prototype.difference
19620
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
19621
+ difference: difference
19622
+ });
19623
+
19624
+
19151
19625
  /***/ }),
19152
19626
 
19153
19627
  /***/ 7657:
@@ -19268,6 +19742,32 @@ module.exports = function (namespace, method) {
19268
19742
  };
19269
19743
 
19270
19744
 
19745
+ /***/ }),
19746
+
19747
+ /***/ 8004:
19748
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
19749
+
19750
+ "use strict";
19751
+
19752
+ var $ = __webpack_require__(6518);
19753
+ var fails = __webpack_require__(9039);
19754
+ var intersection = __webpack_require__(8750);
19755
+ var setMethodAcceptSetLike = __webpack_require__(4916);
19756
+
19757
+ var INCORRECT = !setMethodAcceptSetLike('intersection', function (result) {
19758
+ return result.size === 2 && result.has(1) && result.has(2);
19759
+ }) || fails(function () {
19760
+ // eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
19761
+ return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
19762
+ });
19763
+
19764
+ // `Set.prototype.intersection` method
19765
+ // https://tc39.es/ecma262/#sec-set.prototype.intersection
19766
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
19767
+ intersection: intersection
19768
+ });
19769
+
19770
+
19271
19771
  /***/ }),
19272
19772
 
19273
19773
  /***/ 8014:
@@ -19387,6 +19887,36 @@ module.exports = function (name) {
19387
19887
  };
19388
19888
 
19389
19889
 
19890
+ /***/ }),
19891
+
19892
+ /***/ 8318:
19893
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19894
+
19895
+ "use strict";
19896
+ module.exports = __webpack_require__.p + "img/kong_icon.459aaab5.png";
19897
+
19898
+ /***/ }),
19899
+
19900
+ /***/ 8469:
19901
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19902
+
19903
+ "use strict";
19904
+
19905
+ var uncurryThis = __webpack_require__(9504);
19906
+ var iterateSimple = __webpack_require__(507);
19907
+ var SetHelpers = __webpack_require__(4402);
19908
+
19909
+ var Set = SetHelpers.Set;
19910
+ var SetPrototype = SetHelpers.proto;
19911
+ var forEach = uncurryThis(SetPrototype.forEach);
19912
+ var keys = uncurryThis(SetPrototype.keys);
19913
+ var next = keys(new Set()).next;
19914
+
19915
+ module.exports = function (set, fn, interruptible) {
19916
+ return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
19917
+ };
19918
+
19919
+
19390
19920
  /***/ }),
19391
19921
 
19392
19922
  /***/ 8480:
@@ -19407,6 +19937,33 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
19407
19937
  };
19408
19938
 
19409
19939
 
19940
+ /***/ }),
19941
+
19942
+ /***/ 8527:
19943
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19944
+
19945
+ "use strict";
19946
+
19947
+ var aSet = __webpack_require__(7080);
19948
+ var has = (__webpack_require__(4402).has);
19949
+ var size = __webpack_require__(5170);
19950
+ var getSetRecord = __webpack_require__(3789);
19951
+ var iterateSimple = __webpack_require__(507);
19952
+ var iteratorClose = __webpack_require__(9539);
19953
+
19954
+ // `Set.prototype.isSupersetOf` method
19955
+ // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf
19956
+ module.exports = function isSupersetOf(other) {
19957
+ var O = aSet(this);
19958
+ var otherRec = getSetRecord(other);
19959
+ if (size(O) < otherRec.size) return false;
19960
+ var iterator = otherRec.getIterator();
19961
+ return iterateSimple(iterator, function (e) {
19962
+ if (!has(O, e)) return iteratorClose(iterator, 'normal', false);
19963
+ }) !== false;
19964
+ };
19965
+
19966
+
19410
19967
  /***/ }),
19411
19968
 
19412
19969
  /***/ 8551:
@@ -19481,6 +20038,45 @@ module.exports = [
19481
20038
  ];
19482
20039
 
19483
20040
 
20041
+ /***/ }),
20042
+
20043
+ /***/ 8750:
20044
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
20045
+
20046
+ "use strict";
20047
+
20048
+ var aSet = __webpack_require__(7080);
20049
+ var SetHelpers = __webpack_require__(4402);
20050
+ var size = __webpack_require__(5170);
20051
+ var getSetRecord = __webpack_require__(3789);
20052
+ var iterateSet = __webpack_require__(8469);
20053
+ var iterateSimple = __webpack_require__(507);
20054
+
20055
+ var Set = SetHelpers.Set;
20056
+ var add = SetHelpers.add;
20057
+ var has = SetHelpers.has;
20058
+
20059
+ // `Set.prototype.intersection` method
20060
+ // https://github.com/tc39/proposal-set-methods
20061
+ module.exports = function intersection(other) {
20062
+ var O = aSet(this);
20063
+ var otherRec = getSetRecord(other);
20064
+ var result = new Set();
20065
+
20066
+ if (size(O) > otherRec.size) {
20067
+ iterateSimple(otherRec.getIterator(), function (e) {
20068
+ if (has(O, e)) add(result, e);
20069
+ });
20070
+ } else {
20071
+ iterateSet(O, function (e) {
20072
+ if (otherRec.includes(e)) add(result, e);
20073
+ });
20074
+ }
20075
+
20076
+ return result;
20077
+ };
20078
+
20079
+
19484
20080
  /***/ }),
19485
20081
 
19486
20082
  /***/ 8773:
@@ -19537,6 +20133,28 @@ module.exports = function (exec) {
19537
20133
  };
19538
20134
 
19539
20135
 
20136
+ /***/ }),
20137
+
20138
+ /***/ 9286:
20139
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
20140
+
20141
+ "use strict";
20142
+
20143
+ var SetHelpers = __webpack_require__(4402);
20144
+ var iterate = __webpack_require__(8469);
20145
+
20146
+ var Set = SetHelpers.Set;
20147
+ var add = SetHelpers.add;
20148
+
20149
+ module.exports = function (set) {
20150
+ var result = new Set();
20151
+ iterate(set, function (it) {
20152
+ add(result, it);
20153
+ });
20154
+ return result;
20155
+ };
20156
+
20157
+
19540
20158
  /***/ }),
19541
20159
 
19542
20160
  /***/ 9297:
@@ -19969,7 +20587,7 @@ if (typeof window !== 'undefined') {
19969
20587
  // Indicate to webpack that this file can be concatenated
19970
20588
  /* harmony default export */ var setPublicPath = (null);
19971
20589
 
19972
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=template&id=32801b01&scoped=true
20590
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=template&id=2a98d2a4&scoped=true
19973
20591
  var render = function render() {
19974
20592
  var _vm = this,
19975
20593
  _c = _vm._self._c;
@@ -20029,7 +20647,50 @@ var render = function render() {
20029
20647
  "value": _vm.getStringValue(option)
20030
20648
  }
20031
20649
  }, [_vm._v(_vm._s(option.name || option.text || option.unit_name || option.label || option.month))]);
20032
- }), 1)] : _vm._e(), item.valueType === 'date' || item.valueType === 'daterange' || item.valueType === 'datetime' || item.valueType === 'datetimerange' || item.valueType == 'year' ? [_c('DatePicker', {
20650
+ }), 1)] : _vm._e(), item.valueType === 'person' ? [_c('Select', {
20651
+ staticClass: "personSelect",
20652
+ staticStyle: {
20653
+ "width": "100%"
20654
+ },
20655
+ attrs: {
20656
+ "transfer": "",
20657
+ "value": _vm.filterForm[_vm.formKey(item)] || item.defaultValue,
20658
+ "filterable": "",
20659
+ "clearable": !item.multiple,
20660
+ "multiple": item.multiple,
20661
+ "placeholder": `请选择${item.filterLable || item.title}`,
20662
+ "max-tag-count": 1
20663
+ },
20664
+ on: {
20665
+ "on-change": function ($event) {
20666
+ _vm.changeSelect($event, _vm.formKey(item), item);
20667
+ }
20668
+ }
20669
+ }, _vm._l(_vm.personList, function (option, indexOption) {
20670
+ return _c('Option', {
20671
+ key: indexOption,
20672
+ attrs: {
20673
+ "value": _vm.getStringValue(option),
20674
+ "label": option.name
20675
+ }
20676
+ }, [_vm._v(_vm._s(option.name || option.text || option.unit_name || option.label || option.month)), _c('span', {
20677
+ staticStyle: {
20678
+ "float": "right",
20679
+ "margin-right": "13px",
20680
+ "color": "#ccc"
20681
+ }
20682
+ }, [_vm._v(_vm._s(option.department_name) + _vm._s(option.department_name ? ' / ' : '') + _vm._s(option.department_item_name))])]);
20683
+ }), 1), _c('img', {
20684
+ staticClass: "person_icon",
20685
+ attrs: {
20686
+ "src": _vm.person_icon
20687
+ },
20688
+ on: {
20689
+ "click": function ($event) {
20690
+ return _vm.choosePerson(item);
20691
+ }
20692
+ }
20693
+ })] : _vm._e(), item.valueType === 'date' || item.valueType === 'daterange' || item.valueType === 'datetime' || item.valueType === 'datetimerange' || item.valueType == 'year' ? [_c('DatePicker', {
20033
20694
  ref: "element",
20034
20695
  refInFor: true,
20035
20696
  staticStyle: {
@@ -20348,7 +21009,17 @@ var render = function render() {
20348
21009
  attrs: {
20349
21010
  "viewList": _vm.viewList
20350
21011
  }
20351
- })], 2);
21012
+ }), _vm.initShow ? _c('org-picker', {
21013
+ ref: "orgPicker",
21014
+ attrs: {
21015
+ "type": "user",
21016
+ "multiple": true,
21017
+ "selected": _vm.all_names
21018
+ },
21019
+ on: {
21020
+ "ok": _vm.selected
21021
+ }
21022
+ }) : _vm._e()], 2);
20352
21023
  };
20353
21024
  var staticRenderFns = [];
20354
21025
 
@@ -20366,6 +21037,20 @@ var es_iterator_for_each = __webpack_require__(7588);
20366
21037
  var es_iterator_map = __webpack_require__(1701);
20367
21038
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
20368
21039
  var es_iterator_some = __webpack_require__(3579);
21040
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.difference.v2.js
21041
+ var es_set_difference_v2 = __webpack_require__(7642);
21042
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.intersection.v2.js
21043
+ var es_set_intersection_v2 = __webpack_require__(8004);
21044
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-disjoint-from.v2.js
21045
+ var es_set_is_disjoint_from_v2 = __webpack_require__(3853);
21046
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-subset-of.v2.js
21047
+ var es_set_is_subset_of_v2 = __webpack_require__(5876);
21048
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-superset-of.v2.js
21049
+ var es_set_is_superset_of_v2 = __webpack_require__(2475);
21050
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.symmetric-difference.v2.js
21051
+ var es_set_symmetric_difference_v2 = __webpack_require__(5024);
21052
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.union.v2.js
21053
+ var es_set_union_v2 = __webpack_require__(1698);
20369
21054
  ;// ./src/libs/util.js
20370
21055
  const getToken = () => {
20371
21056
  let token=''
@@ -20376,6 +21061,16 @@ const getToken = () => {
20376
21061
  }
20377
21062
  if (token) return token
20378
21063
  else return false
21064
+ }
21065
+ function getCjosToken(){
21066
+ let result
21067
+ if (localStorage.getItem('is_root') === 'true'||localStorage.getItem('is_root') === 'false'){
21068
+ result=encodeURIComponent(getToken())
21069
+ // console.log('999999',result)
21070
+ }else{
21071
+ result=''
21072
+ }
21073
+ return result
20379
21074
  }
20380
21075
  ;// ./node_modules/axios/lib/helpers/bind.js
20381
21076
 
@@ -24564,8 +25259,46 @@ const getUserQuery = (data) => {
24564
25259
  method: 'post'
24565
25260
  })
24566
25261
  }
24567
-
24568
-
25262
+ const indexPerson = (data) => {
25263
+ return api_request.request({
25264
+ url: config.baseUrl.simp+ 'Person/index',
25265
+ data,
25266
+ method: 'post'
25267
+ })
25268
+ }
25269
+
25270
+
25271
+ function getDepartmentOrganization (param) {
25272
+ return api_request.request({
25273
+ url: config.baseUrl.simp+ `Department/Organization`,
25274
+ method: 'get',
25275
+ params: param
25276
+ })
25277
+ }
25278
+
25279
+ function getDepartmentOrganizationRead (param) {
25280
+ return api_request.request({
25281
+ url: config.baseUrl.simp+ `Department/Organization_read`,
25282
+ method: 'get',
25283
+ params: param
25284
+ })
25285
+ }
25286
+
25287
+ function getDepartmentSearch (param) {
25288
+ return api_request.request({
25289
+ url: config.baseUrl.simp+ `Department/search`,
25290
+ method: 'get',
25291
+ params: param
25292
+ })
25293
+ }
25294
+
25295
+ function getPersonSearch (param) {
25296
+ return api_request.request({
25297
+ url: config.baseUrl.simp+ `Person/search`,
25298
+ method: 'get',
25299
+ params: param
25300
+ })
25301
+ }
24569
25302
  ;// ./src/assets/images/table_no_flod.png
24570
25303
  var table_no_flod_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAAACJfM0wAAAAAXNSR0IArs4c6QAAAh1JREFUOE+dlMtu00AYhc9vKxvkBwDEEgFvgERXKRepkYBmWWCPEBIo8sRcCpIF5ZYZOxJ5gRYkWLAp3bULEAIkXgFYtzxAYwgLz5CJZqKpsTHprJzR78+fzxyHAKDb7c4BuJ7n+fM0Tb/ovf0sxthVACcbjcYt0gDG2CaAc+NnZES0wDn/OCuYMXYfwANz300LbgN4A8AfP2dIRK1Z4AXotu/7pyZgvcIwXCKilxaulFpIkuRTnXkYhveI6KGZ2yaiJuf8+xS8H3gRKqWcT9P0m2btAZu8LwF4UWfOGFsGsGJNXWgpuAS+q5RqubEUoDtSyqY1tdH9ZexkfpmI1oz5rmnL5/+BTo0ZYzfGAH0AK0IIXgUH8AqA7qpeO57nzfd6va/6RxzHB7Ise617DKBl67YB4LweUEotJ0ny2MIZY1cArBpzu10G3VBKnTaMaxNwp9M56vv+BwCHzZ13hRBPKuA/PM9ruqbD4fAtgDNmfjMIggvTjKMoOi6lfPcP+EUAbSJ6pHtqX78EuhjH8WjP4dXB3Y/FZLqulDprTfM8b/f7/V+ldTPw9wAOTQaI7nDOn84CrexxEQ7gthDimXP6rulWnueL1rS2x2XwIAgGWZbVQiuNnR6fICJ9oJNYAOj/gWPmutS01rgA15kfdHLeCoKgHcfxTzd797ryk3aHwjDU5hZeC62NwoVHUXREKTU3Go3WB4PB7ypTu/8HEL0+yS21nGMAAAAASUVORK5CYII=";
24571
25304
  ;// ./src/assets/images/table_flod.png
@@ -26203,6 +26936,730 @@ var view_edit_component = normalizeComponent(
26203
26936
  )
26204
26937
 
26205
26938
  /* harmony default export */ var view_edit = (view_edit_component.exports);
26939
+ ;// ./src/assets/images/person.png
26940
+ var person_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ4IDc5LjE2NDAzNiwgMjAxOS8wOC8xMy0wMTowNjo1NyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIxLjAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjA0QzkyQkY4M0M2QjExRjA5MjY0OTFGMkQ1MDY4REQ0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjA0QzkyQkY5M0M2QjExRjA5MjY0OTFGMkQ1MDY4REQ0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDRDOTJCRjYzQzZCMTFGMDkyNjQ5MUYyRDUwNjhERDQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDRDOTJCRjczQzZCMTFGMDkyNjQ5MUYyRDUwNjhERDQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7dfkw4AAAI7ElEQVR42uxdTW8U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";
26941
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/common/OrgPicker.vue?vue&type=template&id=15886242&scoped=true
26942
+ var OrgPickervue_type_template_id_15886242_scoped_true_render = function render() {
26943
+ var _vm = this,
26944
+ _c = _vm._self._c;
26945
+ return _c('Modal', {
26946
+ attrs: {
26947
+ "closeFree": "",
26948
+ "width": "616px",
26949
+ "title": _vm.title
26950
+ },
26951
+ on: {
26952
+ "on-ok": _vm.selectOk,
26953
+ "on-cancel": _vm.cancelModal
26954
+ },
26955
+ model: {
26956
+ value: _vm.visible,
26957
+ callback: function ($$v) {
26958
+ _vm.visible = $$v;
26959
+ },
26960
+ expression: "visible"
26961
+ }
26962
+ }, [_c('div', {
26963
+ staticClass: "picker"
26964
+ }, [_c('div', {
26965
+ staticClass: "candidate"
26966
+ }, [_c('Spin', {
26967
+ directives: [{
26968
+ name: "show",
26969
+ rawName: "v-show",
26970
+ value: _vm.loading,
26971
+ expression: "loading"
26972
+ }],
26973
+ attrs: {
26974
+ "fix": ""
26975
+ }
26976
+ }, [_c('Icon', {
26977
+ staticClass: "demo-spin-icon-load",
26978
+ attrs: {
26979
+ "type": "ios-loading",
26980
+ "size": "18"
26981
+ }
26982
+ }), _c('div', [_vm._v("Loading")])], 1), _c('div', {
26983
+ staticStyle: {
26984
+ "padding": "5px 10px"
26985
+ }
26986
+ }, [_c('Input', {
26987
+ staticStyle: {
26988
+ "width": "95%"
26989
+ },
26990
+ attrs: {
26991
+ "clearable": "",
26992
+ "placeholder": _vm.type == 'dept' ? '搜索部门' : '搜索人员',
26993
+ "icon": "md-search"
26994
+ },
26995
+ on: {
26996
+ "on-change": _vm.searchUser
26997
+ },
26998
+ model: {
26999
+ value: _vm.search,
27000
+ callback: function ($$v) {
27001
+ _vm.search = $$v;
27002
+ },
27003
+ expression: "search"
27004
+ }
27005
+ }), _c('div', {
27006
+ directives: [{
27007
+ name: "show",
27008
+ rawName: "v-show",
27009
+ value: !_vm.showUsers,
27010
+ expression: "!showUsers"
27011
+ }]
27012
+ }, [_c('ellipsis', {
27013
+ staticStyle: {
27014
+ "height": "22px",
27015
+ "color": "#8c8c8c",
27016
+ "padding": "5px 0 0",
27017
+ "font-size": "13px"
27018
+ },
27019
+ attrs: {
27020
+ "hoverTip": "",
27021
+ "row": 1,
27022
+ "content": _vm.deptStackStr
27023
+ }
27024
+ }, [_c('Icon', {
27025
+ staticStyle: {
27026
+ "vertical-align": "text-bottom"
27027
+ },
27028
+ attrs: {
27029
+ "slot": "pre",
27030
+ "type": "ios-home",
27031
+ "size": "18"
27032
+ },
27033
+ slot: "pre"
27034
+ })], 1), _c('div', {
27035
+ staticStyle: {
27036
+ "margin-top": "5px"
27037
+ }
27038
+ }, [_c('Checkbox', {
27039
+ attrs: {
27040
+ "disabled": !_vm.multiple
27041
+ },
27042
+ on: {
27043
+ "on-change": _vm.handleCheckAllChange
27044
+ },
27045
+ model: {
27046
+ value: _vm.checkAll,
27047
+ callback: function ($$v) {
27048
+ _vm.checkAll = $$v;
27049
+ },
27050
+ expression: "checkAll"
27051
+ }
27052
+ }, [_vm._v(_vm._s(_vm.type == 'user' && _vm.multiple ? '全选人员' : '全选'))]), _c('span', {
27053
+ directives: [{
27054
+ name: "show",
27055
+ rawName: "v-show",
27056
+ value: _vm.deptStack.length > 0,
27057
+ expression: "deptStack.length > 0"
27058
+ }],
27059
+ staticClass: "top-dept",
27060
+ on: {
27061
+ "click": _vm.beforeNode
27062
+ }
27063
+ }, [_vm._v("上一级")])], 1)], 1)], 1), _c('div', {
27064
+ staticClass: "org-items"
27065
+ }, [_c('div', {
27066
+ directives: [{
27067
+ name: "show",
27068
+ rawName: "v-show",
27069
+ value: _vm.orgs.length === 0,
27070
+ expression: "orgs.length === 0"
27071
+ }],
27072
+ staticClass: "msgCard",
27073
+ staticStyle: {
27074
+ "text-align": "center"
27075
+ }
27076
+ }, [_c('img', {
27077
+ staticStyle: {
27078
+ "width": "200px",
27079
+ "height": "200px",
27080
+ "margin": "0 auto"
27081
+ },
27082
+ attrs: {
27083
+ "src": _vm.kongIconSrc
27084
+ }
27085
+ })]), _vm._l(_vm.orgs, function (org, index) {
27086
+ return _c('div', {
27087
+ key: index,
27088
+ class: _vm.orgItemClass(org),
27089
+ on: {
27090
+ "click": function ($event) {
27091
+ return _vm.selectChange(org);
27092
+ }
27093
+ }
27094
+ }, [_c('Checkbox', {
27095
+ attrs: {
27096
+ "disabled": _vm.disableDept(org)
27097
+ },
27098
+ nativeOn: {
27099
+ "click": function ($event) {
27100
+ $event.preventDefault();
27101
+ return _vm.handleClick.apply(null, arguments);
27102
+ }
27103
+ },
27104
+ model: {
27105
+ value: org.selected,
27106
+ callback: function ($$v) {
27107
+ _vm.$set(org, "selected", $$v);
27108
+ },
27109
+ expression: "org.selected"
27110
+ }
27111
+ }), org.type === 'dept' ? _c('div', [_c('Icon', {
27112
+ attrs: {
27113
+ "type": "md-folder-open"
27114
+ }
27115
+ }), _c('span', {
27116
+ staticClass: "name overTetx",
27117
+ staticStyle: {
27118
+ "vertical-align": "bottom"
27119
+ },
27120
+ attrs: {
27121
+ "title": org.name
27122
+ }
27123
+ }, [_vm._v(_vm._s(org.name))]), _c('span', {
27124
+ class: `next-dept${org.selected ? '-disable' : ''}`,
27125
+ on: {
27126
+ "click": function ($event) {
27127
+ $event.stopPropagation();
27128
+ org.selected ? '' : _vm.nextNode(org);
27129
+ }
27130
+ }
27131
+ }, [_c('Icon', {
27132
+ attrs: {
27133
+ "type": "md-git-network"
27134
+ }
27135
+ }), _vm._v("下级 ")], 1)], 1) : org.type === 'user' ? _c('div', {
27136
+ staticStyle: {
27137
+ "display": "flex",
27138
+ "align-items": "center"
27139
+ }
27140
+ }, [_vm.isNotEmpty(org.avatar) ? _c('Avatar', {
27141
+ attrs: {
27142
+ "size": "large",
27143
+ "src": _vm.mapUrl + org.avatar
27144
+ }
27145
+ }) : _c('span', {
27146
+ staticClass: "avatar"
27147
+ }, [_vm._v(_vm._s(_vm.getShortName(org.name)))]), _c('span', {
27148
+ staticClass: "name"
27149
+ }, [_vm._v(_vm._s(org.name))])], 1) : _c('div', {
27150
+ staticStyle: {
27151
+ "display": "inline-block"
27152
+ }
27153
+ }, [_c('i', {
27154
+ staticClass: "iconfont icon-bumen"
27155
+ }), _c('span', {
27156
+ staticClass: "name"
27157
+ }, [_vm._v(_vm._s(org.name))])])], 1);
27158
+ })], 2)], 1), _c('div', {
27159
+ staticClass: "selected"
27160
+ }, [_c('div', {
27161
+ staticClass: "count"
27162
+ }, [_c('span', [_vm._v("已选 " + _vm._s(_vm.select.length) + " 项")]), _c('span', {
27163
+ on: {
27164
+ "click": _vm.clearSelected
27165
+ }
27166
+ }, [_vm._v("清空")])]), _c('div', {
27167
+ staticClass: "org-items",
27168
+ staticStyle: {
27169
+ "height": "350px"
27170
+ }
27171
+ }, [_c('div', {
27172
+ directives: [{
27173
+ name: "show",
27174
+ rawName: "v-show",
27175
+ value: _vm.select.length === 0,
27176
+ expression: "select.length === 0"
27177
+ }],
27178
+ staticClass: "msgCard",
27179
+ staticStyle: {
27180
+ "text-align": "center"
27181
+ }
27182
+ }, [_c('img', {
27183
+ staticStyle: {
27184
+ "width": "200px",
27185
+ "height": "200px",
27186
+ "margin": "0 auto"
27187
+ },
27188
+ attrs: {
27189
+ "src": _vm.kongIconSrc
27190
+ }
27191
+ })]), _vm._l(_vm.select, function (org, index) {
27192
+ return _c('div', {
27193
+ key: index,
27194
+ class: _vm.orgItemClass(org)
27195
+ }, [org.type === 'dept' ? _c('div', [_c('Icon', {
27196
+ attrs: {
27197
+ "type": "md-folder-open"
27198
+ }
27199
+ }), _c('span', {
27200
+ staticClass: "name",
27201
+ staticStyle: {
27202
+ "position": "static"
27203
+ }
27204
+ }, [_vm._v(_vm._s(org.name))])], 1) : org.type === 'user' ? _c('div', {
27205
+ staticStyle: {
27206
+ "display": "flex",
27207
+ "align-items": "center"
27208
+ }
27209
+ }, [_vm.isNotEmpty(org.avatar) ? _c('Avatar', {
27210
+ attrs: {
27211
+ "size": "large",
27212
+ "src": _vm.mapUrl + org.avatar
27213
+ }
27214
+ }) : _c('span', {
27215
+ staticClass: "avatar"
27216
+ }, [_vm._v(_vm._s(_vm.getShortName(org.name)))]), _c('span', {
27217
+ staticClass: "name"
27218
+ }, [_vm._v(_vm._s(org.name))])], 1) : _c('div', [_c('i', {
27219
+ staticClass: "iconfont icon-bumen"
27220
+ }), _c('span', {
27221
+ staticClass: "name"
27222
+ }, [_vm._v(_vm._s(org.name))])]), _c('Icon', {
27223
+ staticClass: "closeStyle",
27224
+ attrs: {
27225
+ "type": "md-close"
27226
+ },
27227
+ on: {
27228
+ "click": function ($event) {
27229
+ return _vm.noSelected(index);
27230
+ }
27231
+ }
27232
+ })], 1);
27233
+ })], 2)])])]);
27234
+ };
27235
+ var OrgPickervue_type_template_id_15886242_scoped_true_staticRenderFns = [];
27236
+
27237
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/common/OrgPicker.vue?vue&type=script&lang=js
27238
+
27239
+
27240
+
27241
+
27242
+
27243
+
27244
+
27245
+
27246
+
27247
+
27248
+
27249
+
27250
+
27251
+ // 修改为使用require动态导入图片,解决线上路径问题
27252
+ // import kong_icon from '@/assets/images/kong_icon.png'
27253
+ /* harmony default export */ var OrgPickervue_type_script_lang_js = ({
27254
+ name: 'OrgPicker',
27255
+ components: {},
27256
+ props: {
27257
+ title: {
27258
+ default: '请选择',
27259
+ type: String
27260
+ },
27261
+ type: {
27262
+ default: 'org',
27263
+ // org选择部门/人员 user-选人 dept-选部门 role-选角色
27264
+ type: String
27265
+ },
27266
+ multiple: {
27267
+ // 是否多选
27268
+ default: false,
27269
+ type: Boolean
27270
+ },
27271
+ selected: {
27272
+ default: () => {
27273
+ return [];
27274
+ },
27275
+ type: Array
27276
+ }
27277
+ },
27278
+ data() {
27279
+ return {
27280
+ // 使用require动态导入图片
27281
+ kongIconSrc: __webpack_require__(8318),
27282
+ mapUrl: config.mapUrl,
27283
+ visible: false,
27284
+ loading: false,
27285
+ checkAll: false,
27286
+ nowDeptId: null,
27287
+ isIndeterminate: false,
27288
+ searchUsers: [],
27289
+ nodes: [],
27290
+ select: [],
27291
+ search: '',
27292
+ deptStack: [],
27293
+ curNode: null,
27294
+ initShow: false
27295
+ };
27296
+ },
27297
+ computed: {
27298
+ deptStackStr() {
27299
+ return String(this.deptStack.map(v => v.name)).replaceAll(',', ' > ');
27300
+ },
27301
+ orgs() {
27302
+ return !this.search || this.search.trim() === '' ? this.nodes : this.searchUsers;
27303
+ },
27304
+ showUsers() {
27305
+ return this.search || this.search.trim() !== '';
27306
+ }
27307
+ },
27308
+ methods: {
27309
+ isNotEmpty(obj) {
27310
+ return obj !== undefined && obj !== null && obj !== '' && obj !== 'null';
27311
+ },
27312
+ show() {
27313
+ this.visible = true;
27314
+ this.init();
27315
+ this.getOrgList();
27316
+ },
27317
+ orgItemClass(org) {
27318
+ return {
27319
+ 'org-item': true,
27320
+ 'org-dept-item': org.type === 'dept',
27321
+ 'org-user-item': org.type === 'user',
27322
+ 'org-role-item': org.type === 'role'
27323
+ };
27324
+ },
27325
+ disableDept(node) {
27326
+ return this.type === 'user' && node.type === 'dept';
27327
+ },
27328
+ getOrgList(deptId = 0) {
27329
+ this.loading = true;
27330
+ let data = {
27331
+ id: this.curNode ? this.curNode.id : 0,
27332
+ // simp_token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3IiOiJhZG1pbiIsInB3ZCI6IjJkZjE0OTRiMTY4Mzc1ZDNmYjcwNGZjYjAxMTEwM2U2In0.to8D-j_i5G5R4mbf4vnqdfiHOKMTE8T2ACnoBYN4LAU",
27333
+ // project_id: '3',
27334
+ simp_token: getToken(),
27335
+ cjos_token: getCjosToken(),
27336
+ project_id: JSON.parse(localStorage.getItem('selectedProject')).id,
27337
+ page: 1,
27338
+ rows: 99999
27339
+ };
27340
+ if (!this.curNode) {
27341
+ getDepartmentOrganization(data).then(res => {
27342
+ if (res.data.code == 200) {
27343
+ if (this.type == 'dept') {
27344
+ if (Array.isArray(res.data.data)) {
27345
+ res.data.data = res.data.data.filter((item, index) => {
27346
+ if (item.type == 'dept') {
27347
+ return item;
27348
+ }
27349
+ });
27350
+ this.nodes = res.data.data;
27351
+ }
27352
+ } else {
27353
+ if (Array.isArray(res.data.data)) {
27354
+ this.nodes = res.data.data;
27355
+ }
27356
+ }
27357
+ this.selectToLeft();
27358
+ this.loading = false;
27359
+ }
27360
+ }).catch(res => {});
27361
+ } else {
27362
+ this.clickRead(this.curNode);
27363
+ }
27364
+
27365
+ // getOrgTree({deptId: this.nowDeptId, type: this.type}).then(rsp => {
27366
+ // this.loading = false
27367
+ // this.nodes = rsp.data
27368
+ // this.selectToLeft()
27369
+ // }).catch(err => {
27370
+ // this.loading = false
27371
+ // this.$message.error(err.response.data)
27372
+ // })
27373
+ },
27374
+ clickRead(row) {
27375
+ let data = {
27376
+ type: '1',
27377
+ id: row.id,
27378
+ // simp_token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3IiOiIxMzY0MTUwMDAzMiIsInB3ZCI6InF3ZTEyMyIsIm5iZiI6MTcxOTYyNzY2NSwiZXhwIjoxNzE5Njg1MjY1fQ.omeeUT4TUqoauTh7R-oO-FIrdMueORuERlANp1mCoPI"
27379
+ simp_token: getToken(),
27380
+ cjos_token: getCjosToken(),
27381
+ project_id: JSON.parse(localStorage.getItem('selectedProject')).id
27382
+ };
27383
+ getDepartmentOrganizationRead(data).then(res => {
27384
+ console.log(res.data.data, 'res.data.data');
27385
+ if (this.type == 'dept') {
27386
+ if (Array.isArray(res.data.data)) {
27387
+ res.data.data = res.data.data.filter((item, index) => {
27388
+ if (item.type == 'dept') {
27389
+ return item;
27390
+ }
27391
+ });
27392
+ }
27393
+ this.nodes = res.data.data;
27394
+ } else {
27395
+ this.nodes = res.data.data;
27396
+ }
27397
+ this.selectToLeft();
27398
+ // if (res.data.code == 200) {
27399
+ // if (Array.isArray(res.data.data)) {
27400
+ // res.data = res.data.data.filter((item, index) => {
27401
+ // if (item.type == 'dept') {
27402
+ // return item
27403
+ // }
27404
+ // })
27405
+ // console.log(res,'res.data.data');
27406
+ this.loading = false;
27407
+ // }
27408
+ // }
27409
+ }).catch(res => {});
27410
+ },
27411
+ getShortName(name) {
27412
+ if (name) {
27413
+ return name.length > 2 ? name.substring(1, 3) : name;
27414
+ }
27415
+ return '**';
27416
+ },
27417
+ searchUser() {
27418
+ if (this.type == 'user' || this.type == 'role') {
27419
+ let userName = this.search.trim();
27420
+ this.searchUsers = [];
27421
+ this.loading = true;
27422
+ getPersonSearch({
27423
+ keyword: userName,
27424
+ simp_token: getToken(),
27425
+ cjos_token: getCjosToken(),
27426
+ project_id: JSON.parse(localStorage.getItem('selectedProject')).id
27427
+ }).then(rsp => {
27428
+ this.loading = false;
27429
+ this.searchUsers = rsp.data.data;
27430
+ this.selectToLeft();
27431
+ }).catch(err => {
27432
+ this.loading = false;
27433
+ this.$message.error('接口异常');
27434
+ });
27435
+ } else if (this.type == 'dept') {
27436
+ let userName = this.search.trim();
27437
+ this.searchUsers = [];
27438
+ this.loading = true;
27439
+ getDepartmentSearch({
27440
+ keyword: userName,
27441
+ simp_token: getToken(),
27442
+ cjos_token: getCjosToken(),
27443
+ project_id: JSON.parse(localStorage.getItem('selectedProject')).id
27444
+ }).then(rsp => {
27445
+ this.loading = false;
27446
+ this.searchUsers = rsp.data.data;
27447
+ this.selectToLeft();
27448
+ }).catch(err => {
27449
+ this.loading = false;
27450
+ this.$message.error('接口异常');
27451
+ });
27452
+ }
27453
+ },
27454
+ selectToLeft() {
27455
+ let checkAllNum = 0;
27456
+ // this.checkAll = false
27457
+ let nodes = this.search.trim() === '' ? this.nodes : this.searchUsers;
27458
+ nodes.forEach(node => {
27459
+ for (let i = 0; i < this.select.length; i++) {
27460
+ if (this.select[i].id === node.id) {
27461
+ checkAllNum++;
27462
+ node.selected = true;
27463
+ break;
27464
+ } else {
27465
+ node.selected = false;
27466
+ }
27467
+ }
27468
+ });
27469
+ if (this.select.length == 0 || this.nodes.length == 0) {
27470
+ this.checkAll = false;
27471
+ } else if (checkAllNum == this.nodes.length) {
27472
+ this.checkAll = true;
27473
+ } else {
27474
+ this.checkAll = false;
27475
+ }
27476
+ },
27477
+ handleClick(event) {
27478
+ // 阻止默认行为,即不切换选中状态
27479
+ event.preventDefault();
27480
+ },
27481
+ selectChange(node) {
27482
+ if (node.selected) {
27483
+ this.checkAll = false;
27484
+ for (let i = 0; i < this.select.length; i++) {
27485
+ if (this.select[i].id === node.id) {
27486
+ this.select.splice(i, 1);
27487
+ break;
27488
+ }
27489
+ }
27490
+ node.selected = false;
27491
+ } else if (!this.disableDept(node)) {
27492
+ node.selected = true;
27493
+ let nodes = this.search.trim() === '' ? this.nodes : this.searchUsers;
27494
+ if (!this.multiple) {
27495
+ nodes.forEach(nd => {
27496
+ if (node.id !== nd.id) {
27497
+ nd.selected = false;
27498
+ }
27499
+ });
27500
+ }
27501
+ if (node.type === 'dept') {
27502
+ if (!this.multiple) {
27503
+ this.select = [node];
27504
+ } else {
27505
+ this.select.unshift(node);
27506
+ }
27507
+ } else {
27508
+ if (!this.multiple) {
27509
+ this.select = [node];
27510
+ } else {
27511
+ this.select.push(node);
27512
+ }
27513
+ }
27514
+ }
27515
+ },
27516
+ boxEvent(org) {
27517
+ // org.selected = !org.selected
27518
+ },
27519
+ noSelected(index) {
27520
+ this.curNode = null;
27521
+ // this.select = []
27522
+ let nodes = this.nodes;
27523
+ for (let f = 0; f < 2; f++) {
27524
+ for (let i = 0; i < nodes.length; i++) {
27525
+ if (nodes[i].id === this.select[index].id) {
27526
+ nodes[i].selected = false;
27527
+ this.checkAll = false;
27528
+ break;
27529
+ }
27530
+ }
27531
+ nodes = this.searchUsers;
27532
+ }
27533
+ this.select.splice(index, 1);
27534
+ },
27535
+ handleCheckAllChange() {
27536
+ this.nodes.forEach(node => {
27537
+ if (this.checkAll) {
27538
+ if (!node.selected && !this.disableDept(node)) {
27539
+ node.selected = true;
27540
+ this.select.push(node);
27541
+ }
27542
+ } else {
27543
+ node.selected = false;
27544
+ for (let i = 0; i < this.select.length; i++) {
27545
+ if (this.select[i].id === node.id) {
27546
+ this.select.splice(i, 1);
27547
+ break;
27548
+ }
27549
+ }
27550
+ }
27551
+ });
27552
+ },
27553
+ nextNode(node) {
27554
+ this.curNode = node;
27555
+ this.nowDeptId = node.id;
27556
+ this.deptStack.push(node);
27557
+ this.getOrgList(this.nowDeptId);
27558
+ },
27559
+ beforeNode() {
27560
+ if (this.deptStack.length === 0) {
27561
+ return;
27562
+ }
27563
+ if (this.deptStack.length < 2) {
27564
+ // this.nowDeptId = null
27565
+ this.curNode = null;
27566
+ } else {
27567
+ // this.nowDeptId = this.deptStack[this.deptStack.length - 2].id
27568
+ this.curNode = this.deptStack[this.deptStack.length - 2];
27569
+ }
27570
+ this.deptStack.splice(this.deptStack.length - 1, 1);
27571
+ this.getOrgList();
27572
+ },
27573
+ recover() {
27574
+ this.curNode = null;
27575
+ this.select = [];
27576
+ this.search = '';
27577
+ this.nodes.forEach(nd => nd.selected = false);
27578
+ },
27579
+ selectOk() {
27580
+ console.log(this.select, 'selectselect');
27581
+ // if(this.select.length > 20){
27582
+ // this.$message.info("人员不能超过20人,请重新选择");
27583
+ // return
27584
+ // }
27585
+ // this.select = []
27586
+ this.$emit('ok', Object.assign([], this.select.map(v => {
27587
+ // v.avatar = undefined
27588
+ return v;
27589
+ })));
27590
+ this.visible = false;
27591
+ this.recover();
27592
+ },
27593
+ cancelModal() {
27594
+ this.curNode = null;
27595
+ this.select = [];
27596
+ this.recover();
27597
+ this.visible = false;
27598
+ },
27599
+ clearSelected() {
27600
+ this.$Modal.confirm({
27601
+ title: '提示',
27602
+ content: '<p>您确定要清空已选中的项?</p>',
27603
+ onOk: () => {
27604
+ this.checkAll = false;
27605
+ this.recover();
27606
+ },
27607
+ onCancel: () => {
27608
+ // this.$Message.info('取消');
27609
+ }
27610
+ });
27611
+ },
27612
+ close() {
27613
+ this.curNode = null;
27614
+ this.select = [];
27615
+ this.$emit('close');
27616
+ this.recover();
27617
+ },
27618
+ init() {
27619
+ this.checkAll = false;
27620
+ this.nowDeptId = null;
27621
+ this.deptStack = [];
27622
+ this.nodes = [];
27623
+ if (this.initShow) {} else {
27624
+ this.selected = [];
27625
+ }
27626
+ setTimeout(() => {
27627
+ this.select = Object.assign([], this.selected);
27628
+ this.selectToLeft();
27629
+ }, 100);
27630
+
27631
+ // this.select = []
27632
+ }
27633
+ }
27634
+ });
27635
+ ;// ./packages/common/OrgPicker.vue?vue&type=script&lang=js
27636
+ /* harmony default export */ var common_OrgPickervue_type_script_lang_js = (OrgPickervue_type_script_lang_js);
27637
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/common/OrgPicker.vue?vue&type=style&index=0&id=15886242&prod&lang=less&scoped=true
27638
+ // extracted by mini-css-extract-plugin
27639
+
27640
+ ;// ./packages/common/OrgPicker.vue?vue&type=style&index=0&id=15886242&prod&lang=less&scoped=true
27641
+
27642
+ ;// ./packages/common/OrgPicker.vue
27643
+
27644
+
27645
+
27646
+ ;
27647
+
27648
+
27649
+ /* normalize component */
27650
+
27651
+ var OrgPicker_component = normalizeComponent(
27652
+ common_OrgPickervue_type_script_lang_js,
27653
+ OrgPickervue_type_template_id_15886242_scoped_true_render,
27654
+ OrgPickervue_type_template_id_15886242_scoped_true_staticRenderFns,
27655
+ false,
27656
+ null,
27657
+ "15886242",
27658
+ null
27659
+
27660
+ )
27661
+
27662
+ /* harmony default export */ var OrgPicker = (OrgPicker_component.exports);
26206
27663
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=script&lang=js
26207
27664
 
26208
27665
 
@@ -26223,6 +27680,22 @@ var view_edit_component = normalizeComponent(
26223
27680
 
26224
27681
 
26225
27682
 
27683
+
27684
+
27685
+
27686
+
27687
+
27688
+
27689
+
27690
+
27691
+
27692
+
27693
+
27694
+
27695
+
27696
+
27697
+
27698
+
26226
27699
 
26227
27700
 
26228
27701
 
@@ -26233,7 +27706,8 @@ var view_edit_component = normalizeComponent(
26233
27706
  components: {
26234
27707
  tableSetting: table_setting,
26235
27708
  saveViewModal: save_view_modal,
26236
- viewEdit: view_edit
27709
+ viewEdit: view_edit,
27710
+ OrgPicker: OrgPicker
26237
27711
  },
26238
27712
  props: {
26239
27713
  customPath: {
@@ -26320,6 +27794,7 @@ var view_edit_component = normalizeComponent(
26320
27794
  },
26321
27795
  data() {
26322
27796
  return {
27797
+ person_icon: person_namespaceObject,
26323
27798
  viewSaveIcon: view_save_icon_namespaceObject,
26324
27799
  viewSettingIcon: view_setting_icon_namespaceObject,
26325
27800
  table_no_flod: table_no_flod_namespaceObject,
@@ -26355,7 +27830,13 @@ var view_edit_component = normalizeComponent(
26355
27830
  current: 1,
26356
27831
  pageSize: 10,
26357
27832
  total: 0
26358
- }
27833
+ },
27834
+ personList: [],
27835
+ initShow: true,
27836
+ all_names: [],
27837
+ personObj: {},
27838
+ person_ids: [],
27839
+ currentFilterItem: null
26359
27840
  };
26360
27841
  },
26361
27842
  computed: {
@@ -27002,6 +28483,10 @@ var view_edit_component = normalizeComponent(
27002
28483
  this.$set(this.filterForm, key, e);
27003
28484
  }
27004
28485
  });
28486
+ // if(item.valueType=='person'){
28487
+ // console.log(e,this.all_names,'888888888888888888888')
28488
+
28489
+ // }
27005
28490
  },
27006
28491
  sortAndFilterColumns(a, b, keepAction = true) {
27007
28492
  // 1. 过滤:只保留 b 数组中存在的 title,以及 "操作" 列(如果 keepAction 为 true)和 type 为 "selection" 的列
@@ -27050,6 +28535,22 @@ var view_edit_component = normalizeComponent(
27050
28535
  }
27051
28536
  });
27052
28537
  },
28538
+ getPerson() {
28539
+ let obj = {
28540
+ project_id: JSON.parse(localStorage.getItem('selectedProject')).id,
28541
+ simp_token: getToken(),
28542
+ rows: 3000,
28543
+ page: 1
28544
+ };
28545
+ indexPerson(obj).then(res => {
28546
+ let datas = res.data;
28547
+ if (datas.code == 200) {
28548
+ this.personList = datas.data.rows;
28549
+ } else {
28550
+ this.$Message.error(datas.msg);
28551
+ }
28552
+ });
28553
+ },
27053
28554
  handleGetUserQuery() {
27054
28555
  let route_path = '';
27055
28556
  if (this.customPath || this.$route && this.$route.path) {
@@ -27112,6 +28613,87 @@ var view_edit_component = normalizeComponent(
27112
28613
  this.$parent.doJlMsg(item, e); //两个select之间的级联方法,需要在父容器定义,多个情况自己定义变量区分
27113
28614
  } else this.$set(this.filterForm, key, e);
27114
28615
  });
28616
+ },
28617
+ choosePerson(item) {
28618
+ // 检查filterForm是否有对应的key,如果没有则初始化为空数组
28619
+ if (!this.filterForm[this.formKey(item)]) {
28620
+ this.$set(this.filterForm, this.formKey(item), []);
28621
+ }
28622
+
28623
+ // 确保all_names已初始化
28624
+ if (!this.all_names) {
28625
+ this.all_names = [];
28626
+ }
28627
+
28628
+ // 将array1转换为Set以便快速查找
28629
+ const idsToKeep = new Set(this.filterForm[this.formKey(item)] || []);
28630
+ // 过滤array2,只保留id在array1中的对象
28631
+ const filteredArray2 = this.all_names.filter(item => idsToKeep.has(item.id));
28632
+ this.all_names = filteredArray2;
28633
+
28634
+ // 1. 获取数组2的所有ID
28635
+ const array2Ids = new Set(this.all_names.map(item => item.id));
28636
+ // 2. 找出数组1中有但数组2中没有的ID
28637
+ const missingIds = (this.filterForm[this.formKey(item)] || []).filter(id => !array2Ids.has(id));
28638
+ if (missingIds.length > 0) {
28639
+ missingIds.forEach((item, index) => {
28640
+ this.personList.forEach((it, idx) => {
28641
+ if (it.id == item) {
28642
+ let obj = {
28643
+ "id": item,
28644
+ "name": it.name,
28645
+ "app_avatar": it.app_avatar,
28646
+ "type": "user",
28647
+ "avatar": it.avatar,
28648
+ "count": 0,
28649
+ "selected": true
28650
+ };
28651
+ this.all_names.push(obj);
28652
+ }
28653
+ });
28654
+ });
28655
+ }
28656
+ console.log(missingIds, 'missingIds');
28657
+ this.initShow = true;
28658
+ this.currentFilterItem = item; // 保存当前操作的筛选项
28659
+ this.$nextTick(() => {
28660
+ this.$refs.orgPicker.initShow = true;
28661
+ this.$refs.orgPicker.show();
28662
+ });
28663
+ },
28664
+ selected(e) {
28665
+ console.log("选择的人", e);
28666
+ this.person_ids = [];
28667
+ this.personObj = [];
28668
+ let names = [];
28669
+ let departs = [];
28670
+ if (e.length > 0) {
28671
+ e.forEach(item => {
28672
+ this.person_ids.push(item.id);
28673
+ names.push(item.name);
28674
+ });
28675
+ }
28676
+ this.names = names.join("、");
28677
+ this.all_names = e;
28678
+
28679
+ // 将选择的人员ID赋值给对应的表单项
28680
+ if (this.currentFilterItem) {
28681
+ this.filterForm[this.formKey(this.currentFilterItem)] = this.person_ids;
28682
+ }
28683
+ if (names.length > 0) {
28684
+ let obj = {
28685
+ departName: "人员",
28686
+ names: names
28687
+ };
28688
+ this.personObj.push(obj);
28689
+ }
28690
+ if (departs.length > 0) {
28691
+ let obj = {
28692
+ departName: "部门",
28693
+ names: departs
28694
+ };
28695
+ this.personObj.push(obj);
28696
+ }
27115
28697
  }
27116
28698
  },
27117
28699
  created() {
@@ -27120,6 +28702,7 @@ var view_edit_component = normalizeComponent(
27120
28702
  mounted() {
27121
28703
  this.handleGetUserQueryView();
27122
28704
  this.handleGetUserQuery();
28705
+ this.getPerson();
27123
28706
  if (window.$wujie) {
27124
28707
  window.$wujie.bus.$on('window-resize', () => {
27125
28708
  this.$nextTick(() => {
@@ -27133,15 +28716,15 @@ var view_edit_component = normalizeComponent(
27133
28716
  });
27134
28717
  ;// ./packages/components/index.vue?vue&type=script&lang=js
27135
28718
  /* harmony default export */ var packages_componentsvue_type_script_lang_js = (componentsvue_type_script_lang_js);
27136
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=style&index=0&id=32801b01&prod&scoped=true&lang=less
28719
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=style&index=0&id=2a98d2a4&prod&scoped=true&lang=less
27137
28720
  // extracted by mini-css-extract-plugin
27138
28721
 
27139
- ;// ./packages/components/index.vue?vue&type=style&index=0&id=32801b01&prod&scoped=true&lang=less
28722
+ ;// ./packages/components/index.vue?vue&type=style&index=0&id=2a98d2a4&prod&scoped=true&lang=less
27140
28723
 
27141
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=style&index=1&id=32801b01&prod&lang=css
28724
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=style&index=1&id=2a98d2a4&prod&lang=css
27142
28725
  // extracted by mini-css-extract-plugin
27143
28726
 
27144
- ;// ./packages/components/index.vue?vue&type=style&index=1&id=32801b01&prod&lang=css
28727
+ ;// ./packages/components/index.vue?vue&type=style&index=1&id=2a98d2a4&prod&lang=css
27145
28728
 
27146
28729
  ;// ./packages/components/index.vue
27147
28730
 
@@ -27159,7 +28742,7 @@ var components_component = normalizeComponent(
27159
28742
  staticRenderFns,
27160
28743
  false,
27161
28744
  null,
27162
- "32801b01",
28745
+ "2a98d2a4",
27163
28746
  null
27164
28747
 
27165
28748
  )