@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.
@@ -174,6 +174,26 @@ module.exports = getBuiltIn('document', 'documentElement');
174
174
  module.exports = {};
175
175
 
176
176
 
177
+ /***/ }),
178
+
179
+ /***/ 507:
180
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
181
+
182
+ "use strict";
183
+
184
+ var call = __webpack_require__(9565);
185
+
186
+ module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
187
+ var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
188
+ var next = record.next;
189
+ var step, result;
190
+ while (!(step = call(next, iterator)).done) {
191
+ result = fn(step.value);
192
+ if (result !== undefined) return result;
193
+ }
194
+ };
195
+
196
+
177
197
  /***/ }),
178
198
 
179
199
  /***/ 616:
@@ -430,6 +450,24 @@ var uncurryThis = __webpack_require__(9504);
430
450
  module.exports = uncurryThis({}.isPrototypeOf);
431
451
 
432
452
 
453
+ /***/ }),
454
+
455
+ /***/ 1698:
456
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
457
+
458
+ "use strict";
459
+
460
+ var $ = __webpack_require__(6518);
461
+ var union = __webpack_require__(4204);
462
+ var setMethodAcceptSetLike = __webpack_require__(4916);
463
+
464
+ // `Set.prototype.union` method
465
+ // https://tc39.es/ecma262/#sec-set.prototype.union
466
+ $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
467
+ union: union
468
+ });
469
+
470
+
433
471
  /***/ }),
434
472
 
435
473
  /***/ 1701:
@@ -656,6 +694,28 @@ module.exports = Object.create || function create(O, Properties) {
656
694
  };
657
695
 
658
696
 
697
+ /***/ }),
698
+
699
+ /***/ 2475:
700
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
701
+
702
+ "use strict";
703
+
704
+ var $ = __webpack_require__(6518);
705
+ var isSupersetOf = __webpack_require__(8527);
706
+ var setMethodAcceptSetLike = __webpack_require__(4916);
707
+
708
+ var INCORRECT = !setMethodAcceptSetLike('isSupersetOf', function (result) {
709
+ return !result;
710
+ });
711
+
712
+ // `Set.prototype.isSupersetOf` method
713
+ // https://tc39.es/ecma262/#sec-set.prototype.issupersetof
714
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
715
+ isSupersetOf: isSupersetOf
716
+ });
717
+
718
+
659
719
  /***/ }),
660
720
 
661
721
  /***/ 2489:
@@ -18127,6 +18187,40 @@ module.exports = function (key) {
18127
18187
  };
18128
18188
 
18129
18189
 
18190
+ /***/ }),
18191
+
18192
+ /***/ 3440:
18193
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18194
+
18195
+ "use strict";
18196
+
18197
+ var aSet = __webpack_require__(7080);
18198
+ var SetHelpers = __webpack_require__(4402);
18199
+ var clone = __webpack_require__(9286);
18200
+ var size = __webpack_require__(5170);
18201
+ var getSetRecord = __webpack_require__(3789);
18202
+ var iterateSet = __webpack_require__(8469);
18203
+ var iterateSimple = __webpack_require__(507);
18204
+
18205
+ var has = SetHelpers.has;
18206
+ var remove = SetHelpers.remove;
18207
+
18208
+ // `Set.prototype.difference` method
18209
+ // https://github.com/tc39/proposal-set-methods
18210
+ module.exports = function difference(other) {
18211
+ var O = aSet(this);
18212
+ var otherRec = getSetRecord(other);
18213
+ var result = clone(O);
18214
+ if (size(O) <= otherRec.size) iterateSet(O, function (e) {
18215
+ if (otherRec.includes(e)) remove(result, e);
18216
+ });
18217
+ else iterateSimple(otherRec.getIterator(), function (e) {
18218
+ if (has(O, e)) remove(result, e);
18219
+ });
18220
+ return result;
18221
+ };
18222
+
18223
+
18130
18224
  /***/ }),
18131
18225
 
18132
18226
  /***/ 3579:
@@ -18155,6 +18249,37 @@ $({ target: 'Iterator', proto: true, real: true }, {
18155
18249
  });
18156
18250
 
18157
18251
 
18252
+ /***/ }),
18253
+
18254
+ /***/ 3650:
18255
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18256
+
18257
+ "use strict";
18258
+
18259
+ var aSet = __webpack_require__(7080);
18260
+ var SetHelpers = __webpack_require__(4402);
18261
+ var clone = __webpack_require__(9286);
18262
+ var getSetRecord = __webpack_require__(3789);
18263
+ var iterateSimple = __webpack_require__(507);
18264
+
18265
+ var add = SetHelpers.add;
18266
+ var has = SetHelpers.has;
18267
+ var remove = SetHelpers.remove;
18268
+
18269
+ // `Set.prototype.symmetricDifference` method
18270
+ // https://github.com/tc39/proposal-set-methods
18271
+ module.exports = function symmetricDifference(other) {
18272
+ var O = aSet(this);
18273
+ var keysIter = getSetRecord(other).getIterator();
18274
+ var result = clone(O);
18275
+ iterateSimple(keysIter, function (e) {
18276
+ if (has(O, e)) remove(result, e);
18277
+ else add(result, e);
18278
+ });
18279
+ return result;
18280
+ };
18281
+
18282
+
18158
18283
  /***/ }),
18159
18284
 
18160
18285
  /***/ 3706:
@@ -18205,6 +18330,100 @@ module.exports = !fails(function () {
18205
18330
  });
18206
18331
 
18207
18332
 
18333
+ /***/ }),
18334
+
18335
+ /***/ 3789:
18336
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18337
+
18338
+ "use strict";
18339
+
18340
+ var aCallable = __webpack_require__(9306);
18341
+ var anObject = __webpack_require__(8551);
18342
+ var call = __webpack_require__(9565);
18343
+ var toIntegerOrInfinity = __webpack_require__(1291);
18344
+ var getIteratorDirect = __webpack_require__(1767);
18345
+
18346
+ var INVALID_SIZE = 'Invalid size';
18347
+ var $RangeError = RangeError;
18348
+ var $TypeError = TypeError;
18349
+ var max = Math.max;
18350
+
18351
+ var SetRecord = function (set, intSize) {
18352
+ this.set = set;
18353
+ this.size = max(intSize, 0);
18354
+ this.has = aCallable(set.has);
18355
+ this.keys = aCallable(set.keys);
18356
+ };
18357
+
18358
+ SetRecord.prototype = {
18359
+ getIterator: function () {
18360
+ return getIteratorDirect(anObject(call(this.keys, this.set)));
18361
+ },
18362
+ includes: function (it) {
18363
+ return call(this.has, this.set, it);
18364
+ }
18365
+ };
18366
+
18367
+ // `GetSetRecord` abstract operation
18368
+ // https://tc39.es/proposal-set-methods/#sec-getsetrecord
18369
+ module.exports = function (obj) {
18370
+ anObject(obj);
18371
+ var numSize = +obj.size;
18372
+ // NOTE: If size is undefined, then numSize will be NaN
18373
+ // eslint-disable-next-line no-self-compare -- NaN check
18374
+ if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
18375
+ var intSize = toIntegerOrInfinity(numSize);
18376
+ if (intSize < 0) throw new $RangeError(INVALID_SIZE);
18377
+ return new SetRecord(obj, intSize);
18378
+ };
18379
+
18380
+
18381
+ /***/ }),
18382
+
18383
+ /***/ 3838:
18384
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18385
+
18386
+ "use strict";
18387
+
18388
+ var aSet = __webpack_require__(7080);
18389
+ var size = __webpack_require__(5170);
18390
+ var iterate = __webpack_require__(8469);
18391
+ var getSetRecord = __webpack_require__(3789);
18392
+
18393
+ // `Set.prototype.isSubsetOf` method
18394
+ // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf
18395
+ module.exports = function isSubsetOf(other) {
18396
+ var O = aSet(this);
18397
+ var otherRec = getSetRecord(other);
18398
+ if (size(O) > otherRec.size) return false;
18399
+ return iterate(O, function (e) {
18400
+ if (!otherRec.includes(e)) return false;
18401
+ }, true) !== false;
18402
+ };
18403
+
18404
+
18405
+ /***/ }),
18406
+
18407
+ /***/ 3853:
18408
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
18409
+
18410
+ "use strict";
18411
+
18412
+ var $ = __webpack_require__(6518);
18413
+ var isDisjointFrom = __webpack_require__(4449);
18414
+ var setMethodAcceptSetLike = __webpack_require__(4916);
18415
+
18416
+ var INCORRECT = !setMethodAcceptSetLike('isDisjointFrom', function (result) {
18417
+ return !result;
18418
+ });
18419
+
18420
+ // `Set.prototype.isDisjointFrom` method
18421
+ // https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
18422
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
18423
+ isDisjointFrom: isDisjointFrom
18424
+ });
18425
+
18426
+
18208
18427
  /***/ }),
18209
18428
 
18210
18429
  /***/ 4055:
@@ -18288,6 +18507,32 @@ module.exports = function (it) {
18288
18507
  };
18289
18508
 
18290
18509
 
18510
+ /***/ }),
18511
+
18512
+ /***/ 4204:
18513
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18514
+
18515
+ "use strict";
18516
+
18517
+ var aSet = __webpack_require__(7080);
18518
+ var add = (__webpack_require__(4402).add);
18519
+ var clone = __webpack_require__(9286);
18520
+ var getSetRecord = __webpack_require__(3789);
18521
+ var iterateSimple = __webpack_require__(507);
18522
+
18523
+ // `Set.prototype.union` method
18524
+ // https://github.com/tc39/proposal-set-methods
18525
+ module.exports = function union(other) {
18526
+ var O = aSet(this);
18527
+ var keysIter = getSetRecord(other).getIterator();
18528
+ var result = clone(O);
18529
+ iterateSimple(keysIter, function (it) {
18530
+ add(result, it);
18531
+ });
18532
+ return result;
18533
+ };
18534
+
18535
+
18291
18536
  /***/ }),
18292
18537
 
18293
18538
  /***/ 4209:
@@ -18348,6 +18593,58 @@ module.exports = Array.isArray || function isArray(argument) {
18348
18593
  };
18349
18594
 
18350
18595
 
18596
+ /***/ }),
18597
+
18598
+ /***/ 4402:
18599
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18600
+
18601
+ "use strict";
18602
+
18603
+ var uncurryThis = __webpack_require__(9504);
18604
+
18605
+ // eslint-disable-next-line es/no-set -- safe
18606
+ var SetPrototype = Set.prototype;
18607
+
18608
+ module.exports = {
18609
+ // eslint-disable-next-line es/no-set -- safe
18610
+ Set: Set,
18611
+ add: uncurryThis(SetPrototype.add),
18612
+ has: uncurryThis(SetPrototype.has),
18613
+ remove: uncurryThis(SetPrototype['delete']),
18614
+ proto: SetPrototype
18615
+ };
18616
+
18617
+
18618
+ /***/ }),
18619
+
18620
+ /***/ 4449:
18621
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18622
+
18623
+ "use strict";
18624
+
18625
+ var aSet = __webpack_require__(7080);
18626
+ var has = (__webpack_require__(4402).has);
18627
+ var size = __webpack_require__(5170);
18628
+ var getSetRecord = __webpack_require__(3789);
18629
+ var iterateSet = __webpack_require__(8469);
18630
+ var iterateSimple = __webpack_require__(507);
18631
+ var iteratorClose = __webpack_require__(9539);
18632
+
18633
+ // `Set.prototype.isDisjointFrom` method
18634
+ // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom
18635
+ module.exports = function isDisjointFrom(other) {
18636
+ var O = aSet(this);
18637
+ var otherRec = getSetRecord(other);
18638
+ if (size(O) <= otherRec.size) return iterateSet(O, function (e) {
18639
+ if (otherRec.includes(e)) return false;
18640
+ }, true) !== false;
18641
+ var iterator = otherRec.getIterator();
18642
+ return iterateSimple(iterator, function (e) {
18643
+ if (has(O, e)) return iteratorClose(iterator, 'normal', false);
18644
+ }) !== false;
18645
+ };
18646
+
18647
+
18351
18648
  /***/ }),
18352
18649
 
18353
18650
  /***/ 4495:
@@ -18523,6 +18820,90 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
18523
18820
  };
18524
18821
 
18525
18822
 
18823
+ /***/ }),
18824
+
18825
+ /***/ 4916:
18826
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18827
+
18828
+ "use strict";
18829
+
18830
+ var getBuiltIn = __webpack_require__(7751);
18831
+
18832
+ var createSetLike = function (size) {
18833
+ return {
18834
+ size: size,
18835
+ has: function () {
18836
+ return false;
18837
+ },
18838
+ keys: function () {
18839
+ return {
18840
+ next: function () {
18841
+ return { done: true };
18842
+ }
18843
+ };
18844
+ }
18845
+ };
18846
+ };
18847
+
18848
+ var createSetLikeWithInfinitySize = function (size) {
18849
+ return {
18850
+ size: size,
18851
+ has: function () {
18852
+ return true;
18853
+ },
18854
+ keys: function () {
18855
+ throw new Error('e');
18856
+ }
18857
+ };
18858
+ };
18859
+
18860
+ module.exports = function (name, callback) {
18861
+ var Set = getBuiltIn('Set');
18862
+ try {
18863
+ new Set()[name](createSetLike(0));
18864
+ try {
18865
+ // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it
18866
+ // https://github.com/tc39/proposal-set-methods/pull/88
18867
+ new Set()[name](createSetLike(-1));
18868
+ return false;
18869
+ } catch (error2) {
18870
+ if (!callback) return true;
18871
+ // early V8 implementation bug
18872
+ // https://issues.chromium.org/issues/351332634
18873
+ try {
18874
+ new Set()[name](createSetLikeWithInfinitySize(-Infinity));
18875
+ return false;
18876
+ } catch (error) {
18877
+ var set = new Set();
18878
+ set.add(1);
18879
+ set.add(2);
18880
+ return callback(set[name](createSetLikeWithInfinitySize(Infinity)));
18881
+ }
18882
+ }
18883
+ } catch (error) {
18884
+ return false;
18885
+ }
18886
+ };
18887
+
18888
+
18889
+ /***/ }),
18890
+
18891
+ /***/ 5024:
18892
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
18893
+
18894
+ "use strict";
18895
+
18896
+ var $ = __webpack_require__(6518);
18897
+ var symmetricDifference = __webpack_require__(3650);
18898
+ var setMethodAcceptSetLike = __webpack_require__(4916);
18899
+
18900
+ // `Set.prototype.symmetricDifference` method
18901
+ // https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
18902
+ $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, {
18903
+ symmetricDifference: symmetricDifference
18904
+ });
18905
+
18906
+
18526
18907
  /***/ }),
18527
18908
 
18528
18909
  /***/ 5031:
@@ -18546,6 +18927,21 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
18546
18927
  };
18547
18928
 
18548
18929
 
18930
+ /***/ }),
18931
+
18932
+ /***/ 5170:
18933
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18934
+
18935
+ "use strict";
18936
+
18937
+ var uncurryThisAccessor = __webpack_require__(6706);
18938
+ var SetHelpers = __webpack_require__(4402);
18939
+
18940
+ module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) {
18941
+ return set.size;
18942
+ };
18943
+
18944
+
18549
18945
  /***/ }),
18550
18946
 
18551
18947
  /***/ 5397:
@@ -18597,6 +18993,28 @@ module.exports = function (key, value) {
18597
18993
  };
18598
18994
 
18599
18995
 
18996
+ /***/ }),
18997
+
18998
+ /***/ 5876:
18999
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
19000
+
19001
+ "use strict";
19002
+
19003
+ var $ = __webpack_require__(6518);
19004
+ var isSubsetOf = __webpack_require__(3838);
19005
+ var setMethodAcceptSetLike = __webpack_require__(4916);
19006
+
19007
+ var INCORRECT = !setMethodAcceptSetLike('isSubsetOf', function (result) {
19008
+ return result;
19009
+ });
19010
+
19011
+ // `Set.prototype.isSubsetOf` method
19012
+ // https://tc39.es/ecma262/#sec-set.prototype.issubsetof
19013
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
19014
+ isSubsetOf: isSubsetOf
19015
+ });
19016
+
19017
+
18600
19018
  /***/ }),
18601
19019
 
18602
19020
  /***/ 5917:
@@ -18827,6 +19245,24 @@ module.exports = DESCRIPTORS ? function (object, key, value) {
18827
19245
  };
18828
19246
 
18829
19247
 
19248
+ /***/ }),
19249
+
19250
+ /***/ 6706:
19251
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19252
+
19253
+ "use strict";
19254
+
19255
+ var uncurryThis = __webpack_require__(9504);
19256
+ var aCallable = __webpack_require__(9306);
19257
+
19258
+ module.exports = function (object, key, method) {
19259
+ try {
19260
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
19261
+ return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
19262
+ } catch (error) { /* empty */ }
19263
+ };
19264
+
19265
+
18830
19266
  /***/ }),
18831
19267
 
18832
19268
  /***/ 6801:
@@ -19038,6 +19474,22 @@ module.exports = fails(function () {
19038
19474
  } : $Object;
19039
19475
 
19040
19476
 
19477
+ /***/ }),
19478
+
19479
+ /***/ 7080:
19480
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19481
+
19482
+ "use strict";
19483
+
19484
+ var has = (__webpack_require__(4402).has);
19485
+
19486
+ // Perform ? RequireInternalSlot(M, [[SetData]])
19487
+ module.exports = function (it) {
19488
+ has(it);
19489
+ return it;
19490
+ };
19491
+
19492
+
19041
19493
  /***/ }),
19042
19494
 
19043
19495
  /***/ 7347:
@@ -19138,6 +19590,28 @@ var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED,
19138
19590
  });
19139
19591
 
19140
19592
 
19593
+ /***/ }),
19594
+
19595
+ /***/ 7642:
19596
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
19597
+
19598
+ "use strict";
19599
+
19600
+ var $ = __webpack_require__(6518);
19601
+ var difference = __webpack_require__(3440);
19602
+ var setMethodAcceptSetLike = __webpack_require__(4916);
19603
+
19604
+ var INCORRECT = !setMethodAcceptSetLike('difference', function (result) {
19605
+ return result.size === 0;
19606
+ });
19607
+
19608
+ // `Set.prototype.difference` method
19609
+ // https://tc39.es/ecma262/#sec-set.prototype.difference
19610
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
19611
+ difference: difference
19612
+ });
19613
+
19614
+
19141
19615
  /***/ }),
19142
19616
 
19143
19617
  /***/ 7657:
@@ -19258,6 +19732,32 @@ module.exports = function (namespace, method) {
19258
19732
  };
19259
19733
 
19260
19734
 
19735
+ /***/ }),
19736
+
19737
+ /***/ 8004:
19738
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
19739
+
19740
+ "use strict";
19741
+
19742
+ var $ = __webpack_require__(6518);
19743
+ var fails = __webpack_require__(9039);
19744
+ var intersection = __webpack_require__(8750);
19745
+ var setMethodAcceptSetLike = __webpack_require__(4916);
19746
+
19747
+ var INCORRECT = !setMethodAcceptSetLike('intersection', function (result) {
19748
+ return result.size === 2 && result.has(1) && result.has(2);
19749
+ }) || fails(function () {
19750
+ // eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
19751
+ return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
19752
+ });
19753
+
19754
+ // `Set.prototype.intersection` method
19755
+ // https://tc39.es/ecma262/#sec-set.prototype.intersection
19756
+ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
19757
+ intersection: intersection
19758
+ });
19759
+
19760
+
19261
19761
  /***/ }),
19262
19762
 
19263
19763
  /***/ 8014:
@@ -19377,6 +19877,36 @@ module.exports = function (name) {
19377
19877
  };
19378
19878
 
19379
19879
 
19880
+ /***/ }),
19881
+
19882
+ /***/ 8318:
19883
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19884
+
19885
+ "use strict";
19886
+ module.exports = __webpack_require__.p + "img/kong_icon.459aaab5.png";
19887
+
19888
+ /***/ }),
19889
+
19890
+ /***/ 8469:
19891
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19892
+
19893
+ "use strict";
19894
+
19895
+ var uncurryThis = __webpack_require__(9504);
19896
+ var iterateSimple = __webpack_require__(507);
19897
+ var SetHelpers = __webpack_require__(4402);
19898
+
19899
+ var Set = SetHelpers.Set;
19900
+ var SetPrototype = SetHelpers.proto;
19901
+ var forEach = uncurryThis(SetPrototype.forEach);
19902
+ var keys = uncurryThis(SetPrototype.keys);
19903
+ var next = keys(new Set()).next;
19904
+
19905
+ module.exports = function (set, fn, interruptible) {
19906
+ return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
19907
+ };
19908
+
19909
+
19380
19910
  /***/ }),
19381
19911
 
19382
19912
  /***/ 8480:
@@ -19397,6 +19927,33 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
19397
19927
  };
19398
19928
 
19399
19929
 
19930
+ /***/ }),
19931
+
19932
+ /***/ 8527:
19933
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19934
+
19935
+ "use strict";
19936
+
19937
+ var aSet = __webpack_require__(7080);
19938
+ var has = (__webpack_require__(4402).has);
19939
+ var size = __webpack_require__(5170);
19940
+ var getSetRecord = __webpack_require__(3789);
19941
+ var iterateSimple = __webpack_require__(507);
19942
+ var iteratorClose = __webpack_require__(9539);
19943
+
19944
+ // `Set.prototype.isSupersetOf` method
19945
+ // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf
19946
+ module.exports = function isSupersetOf(other) {
19947
+ var O = aSet(this);
19948
+ var otherRec = getSetRecord(other);
19949
+ if (size(O) < otherRec.size) return false;
19950
+ var iterator = otherRec.getIterator();
19951
+ return iterateSimple(iterator, function (e) {
19952
+ if (!has(O, e)) return iteratorClose(iterator, 'normal', false);
19953
+ }) !== false;
19954
+ };
19955
+
19956
+
19400
19957
  /***/ }),
19401
19958
 
19402
19959
  /***/ 8551:
@@ -19471,6 +20028,45 @@ module.exports = [
19471
20028
  ];
19472
20029
 
19473
20030
 
20031
+ /***/ }),
20032
+
20033
+ /***/ 8750:
20034
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
20035
+
20036
+ "use strict";
20037
+
20038
+ var aSet = __webpack_require__(7080);
20039
+ var SetHelpers = __webpack_require__(4402);
20040
+ var size = __webpack_require__(5170);
20041
+ var getSetRecord = __webpack_require__(3789);
20042
+ var iterateSet = __webpack_require__(8469);
20043
+ var iterateSimple = __webpack_require__(507);
20044
+
20045
+ var Set = SetHelpers.Set;
20046
+ var add = SetHelpers.add;
20047
+ var has = SetHelpers.has;
20048
+
20049
+ // `Set.prototype.intersection` method
20050
+ // https://github.com/tc39/proposal-set-methods
20051
+ module.exports = function intersection(other) {
20052
+ var O = aSet(this);
20053
+ var otherRec = getSetRecord(other);
20054
+ var result = new Set();
20055
+
20056
+ if (size(O) > otherRec.size) {
20057
+ iterateSimple(otherRec.getIterator(), function (e) {
20058
+ if (has(O, e)) add(result, e);
20059
+ });
20060
+ } else {
20061
+ iterateSet(O, function (e) {
20062
+ if (otherRec.includes(e)) add(result, e);
20063
+ });
20064
+ }
20065
+
20066
+ return result;
20067
+ };
20068
+
20069
+
19474
20070
  /***/ }),
19475
20071
 
19476
20072
  /***/ 8773:
@@ -19527,6 +20123,28 @@ module.exports = function (exec) {
19527
20123
  };
19528
20124
 
19529
20125
 
20126
+ /***/ }),
20127
+
20128
+ /***/ 9286:
20129
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
20130
+
20131
+ "use strict";
20132
+
20133
+ var SetHelpers = __webpack_require__(4402);
20134
+ var iterate = __webpack_require__(8469);
20135
+
20136
+ var Set = SetHelpers.Set;
20137
+ var add = SetHelpers.add;
20138
+
20139
+ module.exports = function (set) {
20140
+ var result = new Set();
20141
+ iterate(set, function (it) {
20142
+ add(result, it);
20143
+ });
20144
+ return result;
20145
+ };
20146
+
20147
+
19530
20148
  /***/ }),
19531
20149
 
19532
20150
  /***/ 9297:
@@ -19959,7 +20577,7 @@ if (typeof window !== 'undefined') {
19959
20577
  // Indicate to webpack that this file can be concatenated
19960
20578
  /* harmony default export */ var setPublicPath = (null);
19961
20579
 
19962
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
20580
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
19963
20581
  var render = function render() {
19964
20582
  var _vm = this,
19965
20583
  _c = _vm._self._c;
@@ -20019,7 +20637,50 @@ var render = function render() {
20019
20637
  "value": _vm.getStringValue(option)
20020
20638
  }
20021
20639
  }, [_vm._v(_vm._s(option.name || option.text || option.unit_name || option.label || option.month))]);
20022
- }), 1)] : _vm._e(), item.valueType === 'date' || item.valueType === 'daterange' || item.valueType === 'datetime' || item.valueType === 'datetimerange' || item.valueType == 'year' ? [_c('DatePicker', {
20640
+ }), 1)] : _vm._e(), item.valueType === 'person' ? [_c('Select', {
20641
+ staticClass: "personSelect",
20642
+ staticStyle: {
20643
+ "width": "100%"
20644
+ },
20645
+ attrs: {
20646
+ "transfer": "",
20647
+ "value": _vm.filterForm[_vm.formKey(item)] || item.defaultValue,
20648
+ "filterable": "",
20649
+ "clearable": !item.multiple,
20650
+ "multiple": item.multiple,
20651
+ "placeholder": `请选择${item.filterLable || item.title}`,
20652
+ "max-tag-count": 1
20653
+ },
20654
+ on: {
20655
+ "on-change": function ($event) {
20656
+ _vm.changeSelect($event, _vm.formKey(item), item);
20657
+ }
20658
+ }
20659
+ }, _vm._l(_vm.personList, function (option, indexOption) {
20660
+ return _c('Option', {
20661
+ key: indexOption,
20662
+ attrs: {
20663
+ "value": _vm.getStringValue(option),
20664
+ "label": option.name
20665
+ }
20666
+ }, [_vm._v(_vm._s(option.name || option.text || option.unit_name || option.label || option.month)), _c('span', {
20667
+ staticStyle: {
20668
+ "float": "right",
20669
+ "margin-right": "13px",
20670
+ "color": "#ccc"
20671
+ }
20672
+ }, [_vm._v(_vm._s(option.department_name) + _vm._s(option.department_name ? ' / ' : '') + _vm._s(option.department_item_name))])]);
20673
+ }), 1), _c('img', {
20674
+ staticClass: "person_icon",
20675
+ attrs: {
20676
+ "src": _vm.person_icon
20677
+ },
20678
+ on: {
20679
+ "click": function ($event) {
20680
+ return _vm.choosePerson(item);
20681
+ }
20682
+ }
20683
+ })] : _vm._e(), item.valueType === 'date' || item.valueType === 'daterange' || item.valueType === 'datetime' || item.valueType === 'datetimerange' || item.valueType == 'year' ? [_c('DatePicker', {
20023
20684
  ref: "element",
20024
20685
  refInFor: true,
20025
20686
  staticStyle: {
@@ -20338,7 +20999,17 @@ var render = function render() {
20338
20999
  attrs: {
20339
21000
  "viewList": _vm.viewList
20340
21001
  }
20341
- })], 2);
21002
+ }), _vm.initShow ? _c('org-picker', {
21003
+ ref: "orgPicker",
21004
+ attrs: {
21005
+ "type": "user",
21006
+ "multiple": true,
21007
+ "selected": _vm.all_names
21008
+ },
21009
+ on: {
21010
+ "ok": _vm.selected
21011
+ }
21012
+ }) : _vm._e()], 2);
20342
21013
  };
20343
21014
  var staticRenderFns = [];
20344
21015
 
@@ -20356,6 +21027,20 @@ var es_iterator_for_each = __webpack_require__(7588);
20356
21027
  var es_iterator_map = __webpack_require__(1701);
20357
21028
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
20358
21029
  var es_iterator_some = __webpack_require__(3579);
21030
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.difference.v2.js
21031
+ var es_set_difference_v2 = __webpack_require__(7642);
21032
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.intersection.v2.js
21033
+ var es_set_intersection_v2 = __webpack_require__(8004);
21034
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-disjoint-from.v2.js
21035
+ var es_set_is_disjoint_from_v2 = __webpack_require__(3853);
21036
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-subset-of.v2.js
21037
+ var es_set_is_subset_of_v2 = __webpack_require__(5876);
21038
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-superset-of.v2.js
21039
+ var es_set_is_superset_of_v2 = __webpack_require__(2475);
21040
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.symmetric-difference.v2.js
21041
+ var es_set_symmetric_difference_v2 = __webpack_require__(5024);
21042
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.union.v2.js
21043
+ var es_set_union_v2 = __webpack_require__(1698);
20359
21044
  ;// ./src/libs/util.js
20360
21045
  const getToken = () => {
20361
21046
  let token=''
@@ -20366,6 +21051,16 @@ const getToken = () => {
20366
21051
  }
20367
21052
  if (token) return token
20368
21053
  else return false
21054
+ }
21055
+ function getCjosToken(){
21056
+ let result
21057
+ if (localStorage.getItem('is_root') === 'true'||localStorage.getItem('is_root') === 'false'){
21058
+ result=encodeURIComponent(getToken())
21059
+ // console.log('999999',result)
21060
+ }else{
21061
+ result=''
21062
+ }
21063
+ return result
20369
21064
  }
20370
21065
  ;// ./node_modules/axios/lib/helpers/bind.js
20371
21066
 
@@ -24554,8 +25249,46 @@ const getUserQuery = (data) => {
24554
25249
  method: 'post'
24555
25250
  })
24556
25251
  }
24557
-
24558
-
25252
+ const indexPerson = (data) => {
25253
+ return api_request.request({
25254
+ url: config.baseUrl.simp+ 'Person/index',
25255
+ data,
25256
+ method: 'post'
25257
+ })
25258
+ }
25259
+
25260
+
25261
+ function getDepartmentOrganization (param) {
25262
+ return api_request.request({
25263
+ url: config.baseUrl.simp+ `Department/Organization`,
25264
+ method: 'get',
25265
+ params: param
25266
+ })
25267
+ }
25268
+
25269
+ function getDepartmentOrganizationRead (param) {
25270
+ return api_request.request({
25271
+ url: config.baseUrl.simp+ `Department/Organization_read`,
25272
+ method: 'get',
25273
+ params: param
25274
+ })
25275
+ }
25276
+
25277
+ function getDepartmentSearch (param) {
25278
+ return api_request.request({
25279
+ url: config.baseUrl.simp+ `Department/search`,
25280
+ method: 'get',
25281
+ params: param
25282
+ })
25283
+ }
25284
+
25285
+ function getPersonSearch (param) {
25286
+ return api_request.request({
25287
+ url: config.baseUrl.simp+ `Person/search`,
25288
+ method: 'get',
25289
+ params: param
25290
+ })
25291
+ }
24559
25292
  ;// ./src/assets/images/table_no_flod.png
24560
25293
  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=";
24561
25294
  ;// ./src/assets/images/table_flod.png
@@ -26193,6 +26926,730 @@ var view_edit_component = normalizeComponent(
26193
26926
  )
26194
26927
 
26195
26928
  /* harmony default export */ var view_edit = (view_edit_component.exports);
26929
+ ;// ./src/assets/images/person.png
26930
+ var person_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ4IDc5LjE2NDAzNiwgMjAxOS8wOC8xMy0wMTowNjo1NyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIxLjAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjA0QzkyQkY4M0M2QjExRjA5MjY0OTFGMkQ1MDY4REQ0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjA0QzkyQkY5M0M2QjExRjA5MjY0OTFGMkQ1MDY4REQ0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDRDOTJCRjYzQzZCMTFGMDkyNjQ5MUYyRDUwNjhERDQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDRDOTJCRjczQzZCMTFGMDkyNjQ5MUYyRDUwNjhERDQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7dfkw4AAAI7ElEQVR42uxdTW8U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";
26931
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
26932
+ var OrgPickervue_type_template_id_15886242_scoped_true_render = function render() {
26933
+ var _vm = this,
26934
+ _c = _vm._self._c;
26935
+ return _c('Modal', {
26936
+ attrs: {
26937
+ "closeFree": "",
26938
+ "width": "616px",
26939
+ "title": _vm.title
26940
+ },
26941
+ on: {
26942
+ "on-ok": _vm.selectOk,
26943
+ "on-cancel": _vm.cancelModal
26944
+ },
26945
+ model: {
26946
+ value: _vm.visible,
26947
+ callback: function ($$v) {
26948
+ _vm.visible = $$v;
26949
+ },
26950
+ expression: "visible"
26951
+ }
26952
+ }, [_c('div', {
26953
+ staticClass: "picker"
26954
+ }, [_c('div', {
26955
+ staticClass: "candidate"
26956
+ }, [_c('Spin', {
26957
+ directives: [{
26958
+ name: "show",
26959
+ rawName: "v-show",
26960
+ value: _vm.loading,
26961
+ expression: "loading"
26962
+ }],
26963
+ attrs: {
26964
+ "fix": ""
26965
+ }
26966
+ }, [_c('Icon', {
26967
+ staticClass: "demo-spin-icon-load",
26968
+ attrs: {
26969
+ "type": "ios-loading",
26970
+ "size": "18"
26971
+ }
26972
+ }), _c('div', [_vm._v("Loading")])], 1), _c('div', {
26973
+ staticStyle: {
26974
+ "padding": "5px 10px"
26975
+ }
26976
+ }, [_c('Input', {
26977
+ staticStyle: {
26978
+ "width": "95%"
26979
+ },
26980
+ attrs: {
26981
+ "clearable": "",
26982
+ "placeholder": _vm.type == 'dept' ? '搜索部门' : '搜索人员',
26983
+ "icon": "md-search"
26984
+ },
26985
+ on: {
26986
+ "on-change": _vm.searchUser
26987
+ },
26988
+ model: {
26989
+ value: _vm.search,
26990
+ callback: function ($$v) {
26991
+ _vm.search = $$v;
26992
+ },
26993
+ expression: "search"
26994
+ }
26995
+ }), _c('div', {
26996
+ directives: [{
26997
+ name: "show",
26998
+ rawName: "v-show",
26999
+ value: !_vm.showUsers,
27000
+ expression: "!showUsers"
27001
+ }]
27002
+ }, [_c('ellipsis', {
27003
+ staticStyle: {
27004
+ "height": "22px",
27005
+ "color": "#8c8c8c",
27006
+ "padding": "5px 0 0",
27007
+ "font-size": "13px"
27008
+ },
27009
+ attrs: {
27010
+ "hoverTip": "",
27011
+ "row": 1,
27012
+ "content": _vm.deptStackStr
27013
+ }
27014
+ }, [_c('Icon', {
27015
+ staticStyle: {
27016
+ "vertical-align": "text-bottom"
27017
+ },
27018
+ attrs: {
27019
+ "slot": "pre",
27020
+ "type": "ios-home",
27021
+ "size": "18"
27022
+ },
27023
+ slot: "pre"
27024
+ })], 1), _c('div', {
27025
+ staticStyle: {
27026
+ "margin-top": "5px"
27027
+ }
27028
+ }, [_c('Checkbox', {
27029
+ attrs: {
27030
+ "disabled": !_vm.multiple
27031
+ },
27032
+ on: {
27033
+ "on-change": _vm.handleCheckAllChange
27034
+ },
27035
+ model: {
27036
+ value: _vm.checkAll,
27037
+ callback: function ($$v) {
27038
+ _vm.checkAll = $$v;
27039
+ },
27040
+ expression: "checkAll"
27041
+ }
27042
+ }, [_vm._v(_vm._s(_vm.type == 'user' && _vm.multiple ? '全选人员' : '全选'))]), _c('span', {
27043
+ directives: [{
27044
+ name: "show",
27045
+ rawName: "v-show",
27046
+ value: _vm.deptStack.length > 0,
27047
+ expression: "deptStack.length > 0"
27048
+ }],
27049
+ staticClass: "top-dept",
27050
+ on: {
27051
+ "click": _vm.beforeNode
27052
+ }
27053
+ }, [_vm._v("上一级")])], 1)], 1)], 1), _c('div', {
27054
+ staticClass: "org-items"
27055
+ }, [_c('div', {
27056
+ directives: [{
27057
+ name: "show",
27058
+ rawName: "v-show",
27059
+ value: _vm.orgs.length === 0,
27060
+ expression: "orgs.length === 0"
27061
+ }],
27062
+ staticClass: "msgCard",
27063
+ staticStyle: {
27064
+ "text-align": "center"
27065
+ }
27066
+ }, [_c('img', {
27067
+ staticStyle: {
27068
+ "width": "200px",
27069
+ "height": "200px",
27070
+ "margin": "0 auto"
27071
+ },
27072
+ attrs: {
27073
+ "src": _vm.kongIconSrc
27074
+ }
27075
+ })]), _vm._l(_vm.orgs, function (org, index) {
27076
+ return _c('div', {
27077
+ key: index,
27078
+ class: _vm.orgItemClass(org),
27079
+ on: {
27080
+ "click": function ($event) {
27081
+ return _vm.selectChange(org);
27082
+ }
27083
+ }
27084
+ }, [_c('Checkbox', {
27085
+ attrs: {
27086
+ "disabled": _vm.disableDept(org)
27087
+ },
27088
+ nativeOn: {
27089
+ "click": function ($event) {
27090
+ $event.preventDefault();
27091
+ return _vm.handleClick.apply(null, arguments);
27092
+ }
27093
+ },
27094
+ model: {
27095
+ value: org.selected,
27096
+ callback: function ($$v) {
27097
+ _vm.$set(org, "selected", $$v);
27098
+ },
27099
+ expression: "org.selected"
27100
+ }
27101
+ }), org.type === 'dept' ? _c('div', [_c('Icon', {
27102
+ attrs: {
27103
+ "type": "md-folder-open"
27104
+ }
27105
+ }), _c('span', {
27106
+ staticClass: "name overTetx",
27107
+ staticStyle: {
27108
+ "vertical-align": "bottom"
27109
+ },
27110
+ attrs: {
27111
+ "title": org.name
27112
+ }
27113
+ }, [_vm._v(_vm._s(org.name))]), _c('span', {
27114
+ class: `next-dept${org.selected ? '-disable' : ''}`,
27115
+ on: {
27116
+ "click": function ($event) {
27117
+ $event.stopPropagation();
27118
+ org.selected ? '' : _vm.nextNode(org);
27119
+ }
27120
+ }
27121
+ }, [_c('Icon', {
27122
+ attrs: {
27123
+ "type": "md-git-network"
27124
+ }
27125
+ }), _vm._v("下级 ")], 1)], 1) : org.type === 'user' ? _c('div', {
27126
+ staticStyle: {
27127
+ "display": "flex",
27128
+ "align-items": "center"
27129
+ }
27130
+ }, [_vm.isNotEmpty(org.avatar) ? _c('Avatar', {
27131
+ attrs: {
27132
+ "size": "large",
27133
+ "src": _vm.mapUrl + org.avatar
27134
+ }
27135
+ }) : _c('span', {
27136
+ staticClass: "avatar"
27137
+ }, [_vm._v(_vm._s(_vm.getShortName(org.name)))]), _c('span', {
27138
+ staticClass: "name"
27139
+ }, [_vm._v(_vm._s(org.name))])], 1) : _c('div', {
27140
+ staticStyle: {
27141
+ "display": "inline-block"
27142
+ }
27143
+ }, [_c('i', {
27144
+ staticClass: "iconfont icon-bumen"
27145
+ }), _c('span', {
27146
+ staticClass: "name"
27147
+ }, [_vm._v(_vm._s(org.name))])])], 1);
27148
+ })], 2)], 1), _c('div', {
27149
+ staticClass: "selected"
27150
+ }, [_c('div', {
27151
+ staticClass: "count"
27152
+ }, [_c('span', [_vm._v("已选 " + _vm._s(_vm.select.length) + " 项")]), _c('span', {
27153
+ on: {
27154
+ "click": _vm.clearSelected
27155
+ }
27156
+ }, [_vm._v("清空")])]), _c('div', {
27157
+ staticClass: "org-items",
27158
+ staticStyle: {
27159
+ "height": "350px"
27160
+ }
27161
+ }, [_c('div', {
27162
+ directives: [{
27163
+ name: "show",
27164
+ rawName: "v-show",
27165
+ value: _vm.select.length === 0,
27166
+ expression: "select.length === 0"
27167
+ }],
27168
+ staticClass: "msgCard",
27169
+ staticStyle: {
27170
+ "text-align": "center"
27171
+ }
27172
+ }, [_c('img', {
27173
+ staticStyle: {
27174
+ "width": "200px",
27175
+ "height": "200px",
27176
+ "margin": "0 auto"
27177
+ },
27178
+ attrs: {
27179
+ "src": _vm.kongIconSrc
27180
+ }
27181
+ })]), _vm._l(_vm.select, function (org, index) {
27182
+ return _c('div', {
27183
+ key: index,
27184
+ class: _vm.orgItemClass(org)
27185
+ }, [org.type === 'dept' ? _c('div', [_c('Icon', {
27186
+ attrs: {
27187
+ "type": "md-folder-open"
27188
+ }
27189
+ }), _c('span', {
27190
+ staticClass: "name",
27191
+ staticStyle: {
27192
+ "position": "static"
27193
+ }
27194
+ }, [_vm._v(_vm._s(org.name))])], 1) : org.type === 'user' ? _c('div', {
27195
+ staticStyle: {
27196
+ "display": "flex",
27197
+ "align-items": "center"
27198
+ }
27199
+ }, [_vm.isNotEmpty(org.avatar) ? _c('Avatar', {
27200
+ attrs: {
27201
+ "size": "large",
27202
+ "src": _vm.mapUrl + org.avatar
27203
+ }
27204
+ }) : _c('span', {
27205
+ staticClass: "avatar"
27206
+ }, [_vm._v(_vm._s(_vm.getShortName(org.name)))]), _c('span', {
27207
+ staticClass: "name"
27208
+ }, [_vm._v(_vm._s(org.name))])], 1) : _c('div', [_c('i', {
27209
+ staticClass: "iconfont icon-bumen"
27210
+ }), _c('span', {
27211
+ staticClass: "name"
27212
+ }, [_vm._v(_vm._s(org.name))])]), _c('Icon', {
27213
+ staticClass: "closeStyle",
27214
+ attrs: {
27215
+ "type": "md-close"
27216
+ },
27217
+ on: {
27218
+ "click": function ($event) {
27219
+ return _vm.noSelected(index);
27220
+ }
27221
+ }
27222
+ })], 1);
27223
+ })], 2)])])]);
27224
+ };
27225
+ var OrgPickervue_type_template_id_15886242_scoped_true_staticRenderFns = [];
27226
+
27227
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
27228
+
27229
+
27230
+
27231
+
27232
+
27233
+
27234
+
27235
+
27236
+
27237
+
27238
+
27239
+
27240
+
27241
+ // 修改为使用require动态导入图片,解决线上路径问题
27242
+ // import kong_icon from '@/assets/images/kong_icon.png'
27243
+ /* harmony default export */ var OrgPickervue_type_script_lang_js = ({
27244
+ name: 'OrgPicker',
27245
+ components: {},
27246
+ props: {
27247
+ title: {
27248
+ default: '请选择',
27249
+ type: String
27250
+ },
27251
+ type: {
27252
+ default: 'org',
27253
+ // org选择部门/人员 user-选人 dept-选部门 role-选角色
27254
+ type: String
27255
+ },
27256
+ multiple: {
27257
+ // 是否多选
27258
+ default: false,
27259
+ type: Boolean
27260
+ },
27261
+ selected: {
27262
+ default: () => {
27263
+ return [];
27264
+ },
27265
+ type: Array
27266
+ }
27267
+ },
27268
+ data() {
27269
+ return {
27270
+ // 使用require动态导入图片
27271
+ kongIconSrc: __webpack_require__(8318),
27272
+ mapUrl: config.mapUrl,
27273
+ visible: false,
27274
+ loading: false,
27275
+ checkAll: false,
27276
+ nowDeptId: null,
27277
+ isIndeterminate: false,
27278
+ searchUsers: [],
27279
+ nodes: [],
27280
+ select: [],
27281
+ search: '',
27282
+ deptStack: [],
27283
+ curNode: null,
27284
+ initShow: false
27285
+ };
27286
+ },
27287
+ computed: {
27288
+ deptStackStr() {
27289
+ return String(this.deptStack.map(v => v.name)).replaceAll(',', ' > ');
27290
+ },
27291
+ orgs() {
27292
+ return !this.search || this.search.trim() === '' ? this.nodes : this.searchUsers;
27293
+ },
27294
+ showUsers() {
27295
+ return this.search || this.search.trim() !== '';
27296
+ }
27297
+ },
27298
+ methods: {
27299
+ isNotEmpty(obj) {
27300
+ return obj !== undefined && obj !== null && obj !== '' && obj !== 'null';
27301
+ },
27302
+ show() {
27303
+ this.visible = true;
27304
+ this.init();
27305
+ this.getOrgList();
27306
+ },
27307
+ orgItemClass(org) {
27308
+ return {
27309
+ 'org-item': true,
27310
+ 'org-dept-item': org.type === 'dept',
27311
+ 'org-user-item': org.type === 'user',
27312
+ 'org-role-item': org.type === 'role'
27313
+ };
27314
+ },
27315
+ disableDept(node) {
27316
+ return this.type === 'user' && node.type === 'dept';
27317
+ },
27318
+ getOrgList(deptId = 0) {
27319
+ this.loading = true;
27320
+ let data = {
27321
+ id: this.curNode ? this.curNode.id : 0,
27322
+ // simp_token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3IiOiJhZG1pbiIsInB3ZCI6IjJkZjE0OTRiMTY4Mzc1ZDNmYjcwNGZjYjAxMTEwM2U2In0.to8D-j_i5G5R4mbf4vnqdfiHOKMTE8T2ACnoBYN4LAU",
27323
+ // project_id: '3',
27324
+ simp_token: getToken(),
27325
+ cjos_token: getCjosToken(),
27326
+ project_id: JSON.parse(localStorage.getItem('selectedProject')).id,
27327
+ page: 1,
27328
+ rows: 99999
27329
+ };
27330
+ if (!this.curNode) {
27331
+ getDepartmentOrganization(data).then(res => {
27332
+ if (res.data.code == 200) {
27333
+ if (this.type == 'dept') {
27334
+ if (Array.isArray(res.data.data)) {
27335
+ res.data.data = res.data.data.filter((item, index) => {
27336
+ if (item.type == 'dept') {
27337
+ return item;
27338
+ }
27339
+ });
27340
+ this.nodes = res.data.data;
27341
+ }
27342
+ } else {
27343
+ if (Array.isArray(res.data.data)) {
27344
+ this.nodes = res.data.data;
27345
+ }
27346
+ }
27347
+ this.selectToLeft();
27348
+ this.loading = false;
27349
+ }
27350
+ }).catch(res => {});
27351
+ } else {
27352
+ this.clickRead(this.curNode);
27353
+ }
27354
+
27355
+ // getOrgTree({deptId: this.nowDeptId, type: this.type}).then(rsp => {
27356
+ // this.loading = false
27357
+ // this.nodes = rsp.data
27358
+ // this.selectToLeft()
27359
+ // }).catch(err => {
27360
+ // this.loading = false
27361
+ // this.$message.error(err.response.data)
27362
+ // })
27363
+ },
27364
+ clickRead(row) {
27365
+ let data = {
27366
+ type: '1',
27367
+ id: row.id,
27368
+ // simp_token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3IiOiIxMzY0MTUwMDAzMiIsInB3ZCI6InF3ZTEyMyIsIm5iZiI6MTcxOTYyNzY2NSwiZXhwIjoxNzE5Njg1MjY1fQ.omeeUT4TUqoauTh7R-oO-FIrdMueORuERlANp1mCoPI"
27369
+ simp_token: getToken(),
27370
+ cjos_token: getCjosToken(),
27371
+ project_id: JSON.parse(localStorage.getItem('selectedProject')).id
27372
+ };
27373
+ getDepartmentOrganizationRead(data).then(res => {
27374
+ console.log(res.data.data, 'res.data.data');
27375
+ if (this.type == 'dept') {
27376
+ if (Array.isArray(res.data.data)) {
27377
+ res.data.data = res.data.data.filter((item, index) => {
27378
+ if (item.type == 'dept') {
27379
+ return item;
27380
+ }
27381
+ });
27382
+ }
27383
+ this.nodes = res.data.data;
27384
+ } else {
27385
+ this.nodes = res.data.data;
27386
+ }
27387
+ this.selectToLeft();
27388
+ // if (res.data.code == 200) {
27389
+ // if (Array.isArray(res.data.data)) {
27390
+ // res.data = res.data.data.filter((item, index) => {
27391
+ // if (item.type == 'dept') {
27392
+ // return item
27393
+ // }
27394
+ // })
27395
+ // console.log(res,'res.data.data');
27396
+ this.loading = false;
27397
+ // }
27398
+ // }
27399
+ }).catch(res => {});
27400
+ },
27401
+ getShortName(name) {
27402
+ if (name) {
27403
+ return name.length > 2 ? name.substring(1, 3) : name;
27404
+ }
27405
+ return '**';
27406
+ },
27407
+ searchUser() {
27408
+ if (this.type == 'user' || this.type == 'role') {
27409
+ let userName = this.search.trim();
27410
+ this.searchUsers = [];
27411
+ this.loading = true;
27412
+ getPersonSearch({
27413
+ keyword: userName,
27414
+ simp_token: getToken(),
27415
+ cjos_token: getCjosToken(),
27416
+ project_id: JSON.parse(localStorage.getItem('selectedProject')).id
27417
+ }).then(rsp => {
27418
+ this.loading = false;
27419
+ this.searchUsers = rsp.data.data;
27420
+ this.selectToLeft();
27421
+ }).catch(err => {
27422
+ this.loading = false;
27423
+ this.$message.error('接口异常');
27424
+ });
27425
+ } else if (this.type == 'dept') {
27426
+ let userName = this.search.trim();
27427
+ this.searchUsers = [];
27428
+ this.loading = true;
27429
+ getDepartmentSearch({
27430
+ keyword: userName,
27431
+ simp_token: getToken(),
27432
+ cjos_token: getCjosToken(),
27433
+ project_id: JSON.parse(localStorage.getItem('selectedProject')).id
27434
+ }).then(rsp => {
27435
+ this.loading = false;
27436
+ this.searchUsers = rsp.data.data;
27437
+ this.selectToLeft();
27438
+ }).catch(err => {
27439
+ this.loading = false;
27440
+ this.$message.error('接口异常');
27441
+ });
27442
+ }
27443
+ },
27444
+ selectToLeft() {
27445
+ let checkAllNum = 0;
27446
+ // this.checkAll = false
27447
+ let nodes = this.search.trim() === '' ? this.nodes : this.searchUsers;
27448
+ nodes.forEach(node => {
27449
+ for (let i = 0; i < this.select.length; i++) {
27450
+ if (this.select[i].id === node.id) {
27451
+ checkAllNum++;
27452
+ node.selected = true;
27453
+ break;
27454
+ } else {
27455
+ node.selected = false;
27456
+ }
27457
+ }
27458
+ });
27459
+ if (this.select.length == 0 || this.nodes.length == 0) {
27460
+ this.checkAll = false;
27461
+ } else if (checkAllNum == this.nodes.length) {
27462
+ this.checkAll = true;
27463
+ } else {
27464
+ this.checkAll = false;
27465
+ }
27466
+ },
27467
+ handleClick(event) {
27468
+ // 阻止默认行为,即不切换选中状态
27469
+ event.preventDefault();
27470
+ },
27471
+ selectChange(node) {
27472
+ if (node.selected) {
27473
+ this.checkAll = false;
27474
+ for (let i = 0; i < this.select.length; i++) {
27475
+ if (this.select[i].id === node.id) {
27476
+ this.select.splice(i, 1);
27477
+ break;
27478
+ }
27479
+ }
27480
+ node.selected = false;
27481
+ } else if (!this.disableDept(node)) {
27482
+ node.selected = true;
27483
+ let nodes = this.search.trim() === '' ? this.nodes : this.searchUsers;
27484
+ if (!this.multiple) {
27485
+ nodes.forEach(nd => {
27486
+ if (node.id !== nd.id) {
27487
+ nd.selected = false;
27488
+ }
27489
+ });
27490
+ }
27491
+ if (node.type === 'dept') {
27492
+ if (!this.multiple) {
27493
+ this.select = [node];
27494
+ } else {
27495
+ this.select.unshift(node);
27496
+ }
27497
+ } else {
27498
+ if (!this.multiple) {
27499
+ this.select = [node];
27500
+ } else {
27501
+ this.select.push(node);
27502
+ }
27503
+ }
27504
+ }
27505
+ },
27506
+ boxEvent(org) {
27507
+ // org.selected = !org.selected
27508
+ },
27509
+ noSelected(index) {
27510
+ this.curNode = null;
27511
+ // this.select = []
27512
+ let nodes = this.nodes;
27513
+ for (let f = 0; f < 2; f++) {
27514
+ for (let i = 0; i < nodes.length; i++) {
27515
+ if (nodes[i].id === this.select[index].id) {
27516
+ nodes[i].selected = false;
27517
+ this.checkAll = false;
27518
+ break;
27519
+ }
27520
+ }
27521
+ nodes = this.searchUsers;
27522
+ }
27523
+ this.select.splice(index, 1);
27524
+ },
27525
+ handleCheckAllChange() {
27526
+ this.nodes.forEach(node => {
27527
+ if (this.checkAll) {
27528
+ if (!node.selected && !this.disableDept(node)) {
27529
+ node.selected = true;
27530
+ this.select.push(node);
27531
+ }
27532
+ } else {
27533
+ node.selected = false;
27534
+ for (let i = 0; i < this.select.length; i++) {
27535
+ if (this.select[i].id === node.id) {
27536
+ this.select.splice(i, 1);
27537
+ break;
27538
+ }
27539
+ }
27540
+ }
27541
+ });
27542
+ },
27543
+ nextNode(node) {
27544
+ this.curNode = node;
27545
+ this.nowDeptId = node.id;
27546
+ this.deptStack.push(node);
27547
+ this.getOrgList(this.nowDeptId);
27548
+ },
27549
+ beforeNode() {
27550
+ if (this.deptStack.length === 0) {
27551
+ return;
27552
+ }
27553
+ if (this.deptStack.length < 2) {
27554
+ // this.nowDeptId = null
27555
+ this.curNode = null;
27556
+ } else {
27557
+ // this.nowDeptId = this.deptStack[this.deptStack.length - 2].id
27558
+ this.curNode = this.deptStack[this.deptStack.length - 2];
27559
+ }
27560
+ this.deptStack.splice(this.deptStack.length - 1, 1);
27561
+ this.getOrgList();
27562
+ },
27563
+ recover() {
27564
+ this.curNode = null;
27565
+ this.select = [];
27566
+ this.search = '';
27567
+ this.nodes.forEach(nd => nd.selected = false);
27568
+ },
27569
+ selectOk() {
27570
+ console.log(this.select, 'selectselect');
27571
+ // if(this.select.length > 20){
27572
+ // this.$message.info("人员不能超过20人,请重新选择");
27573
+ // return
27574
+ // }
27575
+ // this.select = []
27576
+ this.$emit('ok', Object.assign([], this.select.map(v => {
27577
+ // v.avatar = undefined
27578
+ return v;
27579
+ })));
27580
+ this.visible = false;
27581
+ this.recover();
27582
+ },
27583
+ cancelModal() {
27584
+ this.curNode = null;
27585
+ this.select = [];
27586
+ this.recover();
27587
+ this.visible = false;
27588
+ },
27589
+ clearSelected() {
27590
+ this.$Modal.confirm({
27591
+ title: '提示',
27592
+ content: '<p>您确定要清空已选中的项?</p>',
27593
+ onOk: () => {
27594
+ this.checkAll = false;
27595
+ this.recover();
27596
+ },
27597
+ onCancel: () => {
27598
+ // this.$Message.info('取消');
27599
+ }
27600
+ });
27601
+ },
27602
+ close() {
27603
+ this.curNode = null;
27604
+ this.select = [];
27605
+ this.$emit('close');
27606
+ this.recover();
27607
+ },
27608
+ init() {
27609
+ this.checkAll = false;
27610
+ this.nowDeptId = null;
27611
+ this.deptStack = [];
27612
+ this.nodes = [];
27613
+ if (this.initShow) {} else {
27614
+ this.selected = [];
27615
+ }
27616
+ setTimeout(() => {
27617
+ this.select = Object.assign([], this.selected);
27618
+ this.selectToLeft();
27619
+ }, 100);
27620
+
27621
+ // this.select = []
27622
+ }
27623
+ }
27624
+ });
27625
+ ;// ./packages/common/OrgPicker.vue?vue&type=script&lang=js
27626
+ /* harmony default export */ var common_OrgPickervue_type_script_lang_js = (OrgPickervue_type_script_lang_js);
27627
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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
27628
+ // extracted by mini-css-extract-plugin
27629
+
27630
+ ;// ./packages/common/OrgPicker.vue?vue&type=style&index=0&id=15886242&prod&lang=less&scoped=true
27631
+
27632
+ ;// ./packages/common/OrgPicker.vue
27633
+
27634
+
27635
+
27636
+ ;
27637
+
27638
+
27639
+ /* normalize component */
27640
+
27641
+ var OrgPicker_component = normalizeComponent(
27642
+ common_OrgPickervue_type_script_lang_js,
27643
+ OrgPickervue_type_template_id_15886242_scoped_true_render,
27644
+ OrgPickervue_type_template_id_15886242_scoped_true_staticRenderFns,
27645
+ false,
27646
+ null,
27647
+ "15886242",
27648
+ null
27649
+
27650
+ )
27651
+
27652
+ /* harmony default export */ var OrgPicker = (OrgPicker_component.exports);
26196
27653
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
26197
27654
 
26198
27655
 
@@ -26213,6 +27670,22 @@ var view_edit_component = normalizeComponent(
26213
27670
 
26214
27671
 
26215
27672
 
27673
+
27674
+
27675
+
27676
+
27677
+
27678
+
27679
+
27680
+
27681
+
27682
+
27683
+
27684
+
27685
+
27686
+
27687
+
27688
+
26216
27689
 
26217
27690
 
26218
27691
 
@@ -26223,7 +27696,8 @@ var view_edit_component = normalizeComponent(
26223
27696
  components: {
26224
27697
  tableSetting: table_setting,
26225
27698
  saveViewModal: save_view_modal,
26226
- viewEdit: view_edit
27699
+ viewEdit: view_edit,
27700
+ OrgPicker: OrgPicker
26227
27701
  },
26228
27702
  props: {
26229
27703
  customPath: {
@@ -26310,6 +27784,7 @@ var view_edit_component = normalizeComponent(
26310
27784
  },
26311
27785
  data() {
26312
27786
  return {
27787
+ person_icon: person_namespaceObject,
26313
27788
  viewSaveIcon: view_save_icon_namespaceObject,
26314
27789
  viewSettingIcon: view_setting_icon_namespaceObject,
26315
27790
  table_no_flod: table_no_flod_namespaceObject,
@@ -26345,7 +27820,13 @@ var view_edit_component = normalizeComponent(
26345
27820
  current: 1,
26346
27821
  pageSize: 10,
26347
27822
  total: 0
26348
- }
27823
+ },
27824
+ personList: [],
27825
+ initShow: true,
27826
+ all_names: [],
27827
+ personObj: {},
27828
+ person_ids: [],
27829
+ currentFilterItem: null
26349
27830
  };
26350
27831
  },
26351
27832
  computed: {
@@ -26992,6 +28473,10 @@ var view_edit_component = normalizeComponent(
26992
28473
  this.$set(this.filterForm, key, e);
26993
28474
  }
26994
28475
  });
28476
+ // if(item.valueType=='person'){
28477
+ // console.log(e,this.all_names,'888888888888888888888')
28478
+
28479
+ // }
26995
28480
  },
26996
28481
  sortAndFilterColumns(a, b, keepAction = true) {
26997
28482
  // 1. 过滤:只保留 b 数组中存在的 title,以及 "操作" 列(如果 keepAction 为 true)和 type 为 "selection" 的列
@@ -27040,6 +28525,22 @@ var view_edit_component = normalizeComponent(
27040
28525
  }
27041
28526
  });
27042
28527
  },
28528
+ getPerson() {
28529
+ let obj = {
28530
+ project_id: JSON.parse(localStorage.getItem('selectedProject')).id,
28531
+ simp_token: getToken(),
28532
+ rows: 3000,
28533
+ page: 1
28534
+ };
28535
+ indexPerson(obj).then(res => {
28536
+ let datas = res.data;
28537
+ if (datas.code == 200) {
28538
+ this.personList = datas.data.rows;
28539
+ } else {
28540
+ this.$Message.error(datas.msg);
28541
+ }
28542
+ });
28543
+ },
27043
28544
  handleGetUserQuery() {
27044
28545
  let route_path = '';
27045
28546
  if (this.customPath || this.$route && this.$route.path) {
@@ -27102,6 +28603,87 @@ var view_edit_component = normalizeComponent(
27102
28603
  this.$parent.doJlMsg(item, e); //两个select之间的级联方法,需要在父容器定义,多个情况自己定义变量区分
27103
28604
  } else this.$set(this.filterForm, key, e);
27104
28605
  });
28606
+ },
28607
+ choosePerson(item) {
28608
+ // 检查filterForm是否有对应的key,如果没有则初始化为空数组
28609
+ if (!this.filterForm[this.formKey(item)]) {
28610
+ this.$set(this.filterForm, this.formKey(item), []);
28611
+ }
28612
+
28613
+ // 确保all_names已初始化
28614
+ if (!this.all_names) {
28615
+ this.all_names = [];
28616
+ }
28617
+
28618
+ // 将array1转换为Set以便快速查找
28619
+ const idsToKeep = new Set(this.filterForm[this.formKey(item)] || []);
28620
+ // 过滤array2,只保留id在array1中的对象
28621
+ const filteredArray2 = this.all_names.filter(item => idsToKeep.has(item.id));
28622
+ this.all_names = filteredArray2;
28623
+
28624
+ // 1. 获取数组2的所有ID
28625
+ const array2Ids = new Set(this.all_names.map(item => item.id));
28626
+ // 2. 找出数组1中有但数组2中没有的ID
28627
+ const missingIds = (this.filterForm[this.formKey(item)] || []).filter(id => !array2Ids.has(id));
28628
+ if (missingIds.length > 0) {
28629
+ missingIds.forEach((item, index) => {
28630
+ this.personList.forEach((it, idx) => {
28631
+ if (it.id == item) {
28632
+ let obj = {
28633
+ "id": item,
28634
+ "name": it.name,
28635
+ "app_avatar": it.app_avatar,
28636
+ "type": "user",
28637
+ "avatar": it.avatar,
28638
+ "count": 0,
28639
+ "selected": true
28640
+ };
28641
+ this.all_names.push(obj);
28642
+ }
28643
+ });
28644
+ });
28645
+ }
28646
+ console.log(missingIds, 'missingIds');
28647
+ this.initShow = true;
28648
+ this.currentFilterItem = item; // 保存当前操作的筛选项
28649
+ this.$nextTick(() => {
28650
+ this.$refs.orgPicker.initShow = true;
28651
+ this.$refs.orgPicker.show();
28652
+ });
28653
+ },
28654
+ selected(e) {
28655
+ console.log("选择的人", e);
28656
+ this.person_ids = [];
28657
+ this.personObj = [];
28658
+ let names = [];
28659
+ let departs = [];
28660
+ if (e.length > 0) {
28661
+ e.forEach(item => {
28662
+ this.person_ids.push(item.id);
28663
+ names.push(item.name);
28664
+ });
28665
+ }
28666
+ this.names = names.join("、");
28667
+ this.all_names = e;
28668
+
28669
+ // 将选择的人员ID赋值给对应的表单项
28670
+ if (this.currentFilterItem) {
28671
+ this.filterForm[this.formKey(this.currentFilterItem)] = this.person_ids;
28672
+ }
28673
+ if (names.length > 0) {
28674
+ let obj = {
28675
+ departName: "人员",
28676
+ names: names
28677
+ };
28678
+ this.personObj.push(obj);
28679
+ }
28680
+ if (departs.length > 0) {
28681
+ let obj = {
28682
+ departName: "部门",
28683
+ names: departs
28684
+ };
28685
+ this.personObj.push(obj);
28686
+ }
27105
28687
  }
27106
28688
  },
27107
28689
  created() {
@@ -27110,6 +28692,7 @@ var view_edit_component = normalizeComponent(
27110
28692
  mounted() {
27111
28693
  this.handleGetUserQueryView();
27112
28694
  this.handleGetUserQuery();
28695
+ this.getPerson();
27113
28696
  if (window.$wujie) {
27114
28697
  window.$wujie.bus.$on('window-resize', () => {
27115
28698
  this.$nextTick(() => {
@@ -27123,15 +28706,15 @@ var view_edit_component = normalizeComponent(
27123
28706
  });
27124
28707
  ;// ./packages/components/index.vue?vue&type=script&lang=js
27125
28708
  /* harmony default export */ var packages_componentsvue_type_script_lang_js = (componentsvue_type_script_lang_js);
27126
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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
28709
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.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
27127
28710
  // extracted by mini-css-extract-plugin
27128
28711
 
27129
- ;// ./packages/components/index.vue?vue&type=style&index=0&id=32801b01&prod&scoped=true&lang=less
28712
+ ;// ./packages/components/index.vue?vue&type=style&index=0&id=2a98d2a4&prod&scoped=true&lang=less
27130
28713
 
27131
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.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
28714
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.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
27132
28715
  // extracted by mini-css-extract-plugin
27133
28716
 
27134
- ;// ./packages/components/index.vue?vue&type=style&index=1&id=32801b01&prod&lang=css
28717
+ ;// ./packages/components/index.vue?vue&type=style&index=1&id=2a98d2a4&prod&lang=css
27135
28718
 
27136
28719
  ;// ./packages/components/index.vue
27137
28720
 
@@ -27149,7 +28732,7 @@ var components_component = normalizeComponent(
27149
28732
  staticRenderFns,
27150
28733
  false,
27151
28734
  null,
27152
- "32801b01",
28735
+ "2a98d2a4",
27153
28736
  null
27154
28737
 
27155
28738
  )