sd-prison-select 1.0.13 → 1.0.15

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.
@@ -0,0 +1,1275 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory();
4
+ else if(typeof define === 'function' && define.amd)
5
+ define("gs-user-selector", [], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["gs-user-selector"] = factory();
8
+ else
9
+ root["gs-user-selector"] = factory();
10
+ })(typeof self !== 'undefined' ? self : this, function() {
11
+ return /******/ (function(modules) { // webpackBootstrap
12
+ /******/ // The module cache
13
+ /******/ var installedModules = {};
14
+ /******/
15
+ /******/ // The require function
16
+ /******/ function __webpack_require__(moduleId) {
17
+ /******/
18
+ /******/ // Check if module is in cache
19
+ /******/ if(installedModules[moduleId]) {
20
+ /******/ return installedModules[moduleId].exports;
21
+ /******/ }
22
+ /******/ // Create a new module (and put it into the cache)
23
+ /******/ var module = installedModules[moduleId] = {
24
+ /******/ i: moduleId,
25
+ /******/ l: false,
26
+ /******/ exports: {}
27
+ /******/ };
28
+ /******/
29
+ /******/ // Execute the module function
30
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
+ /******/
32
+ /******/ // Flag the module as loaded
33
+ /******/ module.l = true;
34
+ /******/
35
+ /******/ // Return the exports of the module
36
+ /******/ return module.exports;
37
+ /******/ }
38
+ /******/
39
+ /******/
40
+ /******/ // expose the modules object (__webpack_modules__)
41
+ /******/ __webpack_require__.m = modules;
42
+ /******/
43
+ /******/ // expose the module cache
44
+ /******/ __webpack_require__.c = installedModules;
45
+ /******/
46
+ /******/ // define getter function for harmony exports
47
+ /******/ __webpack_require__.d = function(exports, name, getter) {
48
+ /******/ if(!__webpack_require__.o(exports, name)) {
49
+ /******/ Object.defineProperty(exports, name, {
50
+ /******/ configurable: false,
51
+ /******/ enumerable: true,
52
+ /******/ get: getter
53
+ /******/ });
54
+ /******/ }
55
+ /******/ };
56
+ /******/
57
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
58
+ /******/ __webpack_require__.n = function(module) {
59
+ /******/ var getter = module && module.__esModule ?
60
+ /******/ function getDefault() { return module['default']; } :
61
+ /******/ function getModuleExports() { return module; };
62
+ /******/ __webpack_require__.d(getter, 'a', getter);
63
+ /******/ return getter;
64
+ /******/ };
65
+ /******/
66
+ /******/ // Object.prototype.hasOwnProperty.call
67
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
68
+ /******/
69
+ /******/ // __webpack_public_path__
70
+ /******/ __webpack_require__.p = "/dist/";
71
+ /******/
72
+ /******/ // Load entry module and return exports
73
+ /******/ return __webpack_require__(__webpack_require__.s = 1);
74
+ /******/ })
75
+ /************************************************************************/
76
+ /******/ ([
77
+ /* 0 */
78
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
79
+
80
+ "use strict";
81
+ //
82
+ //
83
+ //
84
+ //
85
+ //
86
+ //
87
+ //
88
+ //
89
+ //
90
+ //
91
+ //
92
+ //
93
+ //
94
+ //
95
+ //
96
+ //
97
+ //
98
+ //
99
+ //
100
+ //
101
+ //
102
+ //
103
+ //
104
+ //
105
+ //
106
+ //
107
+ //
108
+ //
109
+ //
110
+ //
111
+ //
112
+ //
113
+ //
114
+ //
115
+ //
116
+ //
117
+ //
118
+ //
119
+ //
120
+ //
121
+ //
122
+ //
123
+ //
124
+ //
125
+ //
126
+ //
127
+ //
128
+ //
129
+ //
130
+ //
131
+ //
132
+ //
133
+ //
134
+ //
135
+ //
136
+ //
137
+ //
138
+ //
139
+ //
140
+ //
141
+ //
142
+ //
143
+ //
144
+ //
145
+ //
146
+ //
147
+ //
148
+ //
149
+ //
150
+ //
151
+ //
152
+ //
153
+ //
154
+ //
155
+ //
156
+ //
157
+ //
158
+ //
159
+ //
160
+ //
161
+ //
162
+ //
163
+ //
164
+ //
165
+ //
166
+ //
167
+ //
168
+ //
169
+ //
170
+ //
171
+ //
172
+ //
173
+ //
174
+ //
175
+ //
176
+ //
177
+ //
178
+ //
179
+ //
180
+ //
181
+ //
182
+ //
183
+ //
184
+ //
185
+ //
186
+ //
187
+
188
+ /* harmony default export */ __webpack_exports__["a"] = ({
189
+ name: 'user-selector',
190
+ props: {
191
+ // 选择框的值
192
+ value: {
193
+ type: String,
194
+ default: ''
195
+ },
196
+ text: {
197
+ type: String,
198
+ default: ''
199
+ },
200
+ tit: {
201
+ type: String,
202
+ default: '民警选择'
203
+ },
204
+ // 页面上放置返回内容的id(id或loginId或idCard)
205
+ idField: String,
206
+ // 返回字段,结合idField使用(id或loginId或idCard)
207
+ // 例如返回身份证展示在页面上:<input :id="test" value="" />,则idField为test,returnField为idCard
208
+ returnField: {
209
+ type: String,
210
+ default: 'idCard'
211
+ },
212
+ button: {
213
+ type: String,
214
+ default: '选 择'
215
+ },
216
+ // 数量表达式(对选择人数的限制,例如num>2,num3)
217
+ numExp: {
218
+ type: String,
219
+ default: ''
220
+ },
221
+ orgCode: {
222
+ type: String,
223
+ default: ''
224
+ },
225
+ bindEvent: {
226
+ type: Boolean,
227
+ default: true
228
+ },
229
+ // 不满足数量表达式时的提示信息
230
+ msg: String,
231
+ disabled: {
232
+ type: Boolean,
233
+ default: false
234
+ },
235
+ // 当传入显示文本为空时,默认是否查询显示文本内容
236
+ defaultSearchText: {
237
+ type: Boolean,
238
+ default: false
239
+ },
240
+ orgChange: {
241
+ type: Boolean,
242
+ default: true
243
+ },
244
+ // 是否默认全选单位
245
+ defaultSelectAll: {
246
+ type: Boolean,
247
+ default: false
248
+ },
249
+ // 岗位
250
+ post: {
251
+ type: String,
252
+ default: ''
253
+ },
254
+ // 是否可选择岗位
255
+ selectPost: {
256
+ type: Boolean,
257
+ default: false
258
+ },
259
+ // 岗位多选
260
+ multiPost: {
261
+ type: Boolean,
262
+ default: true
263
+ }
264
+ },
265
+ data: function data() {
266
+ return {
267
+ title: '用户选择',
268
+ modal: false,
269
+ showmModal: false,
270
+ // 单位编号(修改后id保存的其实就是code的值,后台只需维护一个字段,前端this.$store.state.common.orgCode依然保存的是单位编号)
271
+ orgId: '',
272
+ // 查询条件(姓名、登录名、身份证号等)
273
+ condition: '',
274
+ // 是否包含其他单位
275
+ hasOthers: false,
276
+ // 左侧已选民警身份证号数组
277
+ selectedIdCardArr: [],
278
+ // 右侧已选列表
279
+ selectedList: [],
280
+ // 左侧可选民警列表
281
+ policeList: [],
282
+ // 民警缓存,用于本地筛选
283
+ policeCache: [],
284
+ reference: null,
285
+ timer: null,
286
+ isSensitiveDataEncrypt: serverConfig.isSensitiveDataEncrypt,
287
+ sensitiveDataEncryptMethod: serverConfig.sensitiveDataEncryptMethod,
288
+ sensitiveDataProp: serverConfig.sensitiveDataProp,
289
+ checkAll: false,
290
+ postCode: this.post
291
+ };
292
+ },
293
+
294
+ watch: {
295
+ value: function value(_value) {
296
+ // 获取左侧民警数据
297
+ this.getPoliceData();
298
+ // 初始化已选择民警
299
+ this.getPoliceByFieldData(_value);
300
+ },
301
+ selectedList: {
302
+ handler: function handler(newvalue, oldvalue) {
303
+ if (newvalue.length == 0) {
304
+ this.checkAll = false;
305
+ } else if (newvalue.length > 0 && newvalue.length == this.policeList.length) {
306
+ this.checkAll = true;
307
+ } else {
308
+ this.checkAll = false;
309
+ }
310
+ },
311
+
312
+ deep: true,
313
+ immediate: true
314
+ }
315
+ },
316
+ mounted: function mounted() {
317
+ if (this.bindEvent && this.$slots.func) {
318
+ this.reference = this.$slots.func[0].elm;
319
+ this.reference.addEventListener('click', this.openDialog);
320
+ }
321
+ },
322
+ beforeDestroy: function beforeDestroy() {
323
+ if (this.reference) {
324
+ this.reference.removeEventListener('click', this.changeVisiable, false);
325
+ }
326
+ },
327
+
328
+ methods: {
329
+ orgAll: function orgAll(val) {
330
+ this.searchData();
331
+ },
332
+ openDialog: function openDialog() {
333
+ if (this.defaultSelectAll) this.hasOthers = true;
334
+ this.orgId = this.orgCode ? this.orgCode : this.$store.state.common.orgCode;
335
+ // 获取左侧民警数据
336
+ this.getPoliceData();
337
+ // 初始化已选择民警
338
+ this.getPoliceByFieldData(this.value);
339
+ this.showmModal = true;
340
+ this.modal = true;
341
+ },
342
+ clearData: function clearData() {
343
+ this.$emit('input', '');
344
+ this.$emit('update:text', '');
345
+ this.$emit('onClear');
346
+ },
347
+
348
+ // 民警数据解密
349
+ decrypt: function decrypt(userList) {
350
+ var userListUncode = userList;
351
+ // 加密的属性
352
+ var propList = this.sensitiveDataProp.split(',');
353
+ var _iteratorNormalCompletion = true;
354
+ var _didIteratorError = false;
355
+ var _iteratorError = undefined;
356
+
357
+ try {
358
+ for (var _iterator = userListUncode[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
359
+ var user = _step.value;
360
+ var _iteratorNormalCompletion2 = true;
361
+ var _didIteratorError2 = false;
362
+ var _iteratorError2 = undefined;
363
+
364
+ try {
365
+ for (var _iterator2 = propList[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
366
+ var prop = _step2.value;
367
+
368
+ if (prop in user) {
369
+ // 加密方式判断
370
+ if (this.sensitiveDataEncryptMethod == "base64") {
371
+ user[prop] = decodeURIComponent(atob(user[prop]));
372
+ }
373
+ }
374
+ }
375
+ } catch (err) {
376
+ _didIteratorError2 = true;
377
+ _iteratorError2 = err;
378
+ } finally {
379
+ try {
380
+ if (!_iteratorNormalCompletion2 && _iterator2.return) {
381
+ _iterator2.return();
382
+ }
383
+ } finally {
384
+ if (_didIteratorError2) {
385
+ throw _iteratorError2;
386
+ }
387
+ }
388
+ }
389
+ }
390
+ } catch (err) {
391
+ _didIteratorError = true;
392
+ _iteratorError = err;
393
+ } finally {
394
+ try {
395
+ if (!_iteratorNormalCompletion && _iterator.return) {
396
+ _iterator.return();
397
+ }
398
+ } finally {
399
+ if (_didIteratorError) {
400
+ throw _iteratorError;
401
+ }
402
+ }
403
+ }
404
+
405
+ return userListUncode;
406
+ },
407
+
408
+ // 获取民警数据
409
+ getPoliceData: function getPoliceData() {
410
+ var _this2 = this;
411
+
412
+ var orgId = this.orgId;
413
+ // 查询全部
414
+ if (this.hasOthers) {
415
+ orgId = '';
416
+ }
417
+ this.policeList = [];
418
+ // 查询服务获取民警列表
419
+ this.$store.dispatch('postRequest', {
420
+ url: '/bsp-uac/uac/user/getOptionalPolice', params: { orgId: orgId, condition: this.condition, post: this.postCode }
421
+ }).then(function (d) {
422
+ if (d.success) {
423
+ if (_this2.isSensitiveDataEncrypt) {
424
+ d.data = _this2.decrypt(d.data);
425
+ }
426
+ d.data.forEach(function (item) {
427
+ item.keyId = '' + item.idCard + item.orgId;
428
+ });
429
+ _this2.policeList = d.data;
430
+ _this2.policeCache = d.data;
431
+ _this2.selectedIdCardArr = [];
432
+ if (_this2.selectedList.length > 0) {
433
+ var _iteratorNormalCompletion3 = true;
434
+ var _didIteratorError3 = false;
435
+ var _iteratorError3 = undefined;
436
+
437
+ try {
438
+ for (var _iterator3 = _this2.selectedList[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {
439
+ var i = _step3.value;
440
+
441
+ if (_this2.isSensitiveDataEncrypt) {
442
+ _this2.selectedIdCardArr.push(decodeURIComponent(atob(i.idCard)) + i.orgId);
443
+ } else {
444
+ var obj = '' + i.idCard + i.orgId;
445
+ _this2.selectedIdCardArr.push(obj);
446
+ }
447
+ }
448
+ // console.log(this.selectedIdCardArr,'this.selectedIdCardArr')
449
+ } catch (err) {
450
+ _didIteratorError3 = true;
451
+ _iteratorError3 = err;
452
+ } finally {
453
+ try {
454
+ if (!_iteratorNormalCompletion3 && _iterator3.return) {
455
+ _iterator3.return();
456
+ }
457
+ } finally {
458
+ if (_didIteratorError3) {
459
+ throw _iteratorError3;
460
+ }
461
+ }
462
+ }
463
+ }
464
+ } else {
465
+ console.log(d.msg);
466
+ }
467
+ });
468
+ },
469
+
470
+ // 根据字段初始值获取民警信息
471
+ getPoliceByFieldData: function getPoliceByFieldData(data) {
472
+ var _this3 = this;
473
+
474
+ var _this = this;
475
+ if (data == '') {
476
+ this.selectedIdCardArr = [];
477
+ this.selectedList = [];
478
+ return false;
479
+ }
480
+
481
+ this.$store.dispatch('postRequest', { url: '/bsp-uac/uac/user/getByFieldData', params: { field: this.returnField, value: data } }).then(function (d) {
482
+ if (d.success) {
483
+ // 渲染右侧列表
484
+ d.data.forEach(function (item, index) {
485
+ item.keyId = '' + item.idCard + _this3.orgCode;
486
+ });
487
+ _this.selectedList = d.data;
488
+ _this3.selectedIdCardArr = [];
489
+ if (_this3.policeList.length > 0) {
490
+ var _iteratorNormalCompletion4 = true;
491
+ var _didIteratorError4 = false;
492
+ var _iteratorError4 = undefined;
493
+
494
+ try {
495
+ for (var _iterator4 = _this3.selectedList[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {
496
+ var i = _step4.value;
497
+
498
+ if (_this3.isSensitiveDataEncrypt) {
499
+ _this3.selectedIdCardArr.push(decodeURIComponent(atob(i.idCard)) + i.orgId);
500
+ } else {
501
+ var obj = '' + i.idCard + i.orgId;
502
+ _this3.selectedIdCardArr.push(obj);
503
+ }
504
+ }
505
+ } catch (err) {
506
+ _didIteratorError4 = true;
507
+ _iteratorError4 = err;
508
+ } finally {
509
+ try {
510
+ if (!_iteratorNormalCompletion4 && _iterator4.return) {
511
+ _iterator4.return();
512
+ }
513
+ } finally {
514
+ if (_didIteratorError4) {
515
+ throw _iteratorError4;
516
+ }
517
+ }
518
+ }
519
+ }
520
+
521
+ // 渲染左侧选中状态
522
+ setTimeout(function () {}, 1000);
523
+
524
+ // 渲染左侧选中状态
525
+ // if (_this.selectedList != undefined && _this.selectedList != null) {
526
+ // this.selectedIdCardArr = []
527
+ // _this.selectedList.forEach((item, index) => {
528
+ // this.selectedIdCardArr.push(item.keyId)
529
+ // /* let idx = this.selectedIdCardArr.indexOf(item.idCard)
530
+ // if(idx === -1){
531
+ // this.selectedIdCardArr.push(item.idCard)
532
+ // } */
533
+ // if (!this.text && this.defaultSearchText) {
534
+ // let names = []
535
+ // let ids = []
536
+ // this.selectedList.forEach(item => {
537
+ // names.push(item.name)
538
+ // ids.push(item[this.returnField])
539
+ // })
540
+
541
+ // let textValue = names.join(',')
542
+ // this.$emit('update:text', textValue)
543
+ // }
544
+ // })
545
+ // }
546
+ } else {
547
+ _this3.$Modal.warning({
548
+ title: '温馨提示',
549
+ content: d.msg
550
+ });
551
+ }
552
+ });
553
+ },
554
+
555
+ // keyUp监听
556
+ onKeyUp: function onKeyUp() {
557
+ var _this = this;
558
+ var oldValue = _this.condition;
559
+ if (_this.timer) {
560
+ clearInterval(_this.timer);
561
+ }
562
+
563
+ _this.timer = setInterval(function () {
564
+ if (oldValue === _this.condition) {
565
+ _this.searchData();
566
+ clearInterval(_this.timer);
567
+ }
568
+ }, 500);
569
+ },
570
+
571
+ // 改变单位
572
+ changeOrg: function changeOrg() {
573
+ this.condition = '';
574
+ this.getPoliceData();
575
+ },
576
+
577
+ // 改变岗位
578
+ changePost: function changePost() {
579
+ this.condition = '';
580
+ this.getPoliceData();
581
+ },
582
+
583
+ // 搜索
584
+ searchData: function searchData() {
585
+ if (this.hasOthers) {
586
+ // 从服务器查询
587
+ this.getPoliceData();
588
+ } else {
589
+ // 从缓存中查询
590
+ this.policeList = [];
591
+
592
+ for (var i = 0; i < this.policeCache.length; i++) {
593
+ var condition = this.condition;
594
+ if (condition != '') {
595
+ if (this.policeCache[i].name.indexOf(condition) != -1 || this.policeCache[i].loginId.indexOf(condition) != -1 || this.policeCache[i].idCard.toUpperCase().indexOf(condition.toUpperCase()) != -1) {
596
+ this.policeList.push(this.policeCache[i]);
597
+ // break;
598
+ }
599
+ } else {
600
+ this.getPoliceData();
601
+ break;
602
+ }
603
+ }
604
+ }
605
+ },
606
+
607
+ // 左侧民警选择事件
608
+ selectPolice: function selectPolice(index, item) {
609
+ var idx = this.selectedIdCardArr.indexOf(item.keyId);
610
+ if (idx != -1) {
611
+ this.selectedIdCardArr.splice(idx, 1);
612
+ this.selectedList = this.selectedList.filter(function (obj) {
613
+ return obj.keyId !== item.keyId;
614
+ });
615
+ if (this.selectedList.length == 0) {
616
+ return false;
617
+ }
618
+ } else {
619
+ if (this.numExp === 'num==1') {
620
+ this.selectedIdCardArr = [];
621
+ this.selectedList = [];
622
+ }
623
+ this.selectedIdCardArr.push(item.keyId);
624
+
625
+ if (this.isSensitiveDataEncrypt) {
626
+ item.idCard = window.btoa(unescape(encodeURIComponent(item.idCard)));
627
+ }
628
+ // 添加到右侧已选列表
629
+ this.selectedList.push(item);
630
+ }
631
+ },
632
+
633
+ // 右侧删除事件
634
+ cancelSelected: function cancelSelected(item, index) {
635
+ // this.$set(item,'idCardOrgid',item.idCard+item.orgId)
636
+ var idx = this.selectedIdCardArr.indexOf(item.keyId);
637
+ if (idx != -1) {
638
+ this.selectedIdCardArr.splice(idx, 1);
639
+ this.selectedList.splice(index, 1);
640
+ } else {
641
+ var ids = this.selectedList.findIndex(function (ele) {
642
+ return item.keyId === ele.keyId;
643
+ });
644
+ this.selectedList.splice(ids, 1);
645
+ }
646
+ this.checkAll = false;
647
+ },
648
+
649
+ // 对话框确定事件
650
+ ok: function ok() {
651
+ var _this4 = this;
652
+
653
+ // 是否选择人员
654
+ // if (this.selectedList.length == 0) {
655
+ // this.$Modal.warning({
656
+ // title: '温馨提示',
657
+ // content: this.msg
658
+ // });
659
+ // return false
660
+ // }
661
+
662
+ // 人数条件判断
663
+ var num = this.selectedList.length;
664
+ if (this.selectedList.length == 0 || this.numExp && !eval(this.numExp)) {
665
+ this.$Modal.warning({
666
+ title: '温馨提示',
667
+ content: this.msg
668
+ });
669
+ return false;
670
+ }
671
+
672
+ var names = [];
673
+ var ids = [];
674
+ this.selectedList.forEach(function (item) {
675
+ names.push(item.name);
676
+ ids.push(item[_this4.returnField]);
677
+ });
678
+ this.$emit('input', ids.join(','));
679
+ var textValue = names.join(',');
680
+ this.$emit('update:text', textValue);
681
+ this.$emit('onSelect', this.selectedList);
682
+ this.cancel();
683
+ },
684
+
685
+ // 对话框取消事件
686
+ cancel: function cancel(bool) {
687
+ this.modal = false;
688
+ this.selectedIdCardArr = [];
689
+ this.selectedList = [];
690
+ if (bool) this.$emit('onCancel');
691
+ },
692
+ focus: function focus() {
693
+ this.$refs['input'].focus();
694
+ },
695
+
696
+ // 左侧民警选择事件(全选/反选)
697
+ selectPoliceAll: function selectPoliceAll(index, item, checkAll) {
698
+ var idx = this.selectedIdCardArr.indexOf(item.keyId);
699
+ if (idx != -1) {
700
+ if (!checkAll) {
701
+ this.selectedIdCardArr.splice(idx, 1);
702
+ this.selectedList = this.selectedList.filter(function (obj) {
703
+ return obj.keyId !== item.keyId;
704
+ });
705
+ if (this.selectedList.length == 0) {
706
+ return false;
707
+ }
708
+ }
709
+ } else {
710
+ if (this.numExp === 'num==1') {
711
+ this.selectedIdCardArr = [];
712
+ this.selectedList = [];
713
+ }
714
+ this.selectedIdCardArr.push(item.keyId);
715
+
716
+ if (this.isSensitiveDataEncrypt) {
717
+ item.idCard = window.btoa(unescape(encodeURIComponent(item.idCard)));
718
+ }
719
+ // 添加到右侧已选列表
720
+ this.selectedList.push(item);
721
+ }
722
+ },
723
+ handleAllChecked: function handleAllChecked() {
724
+ var _this5 = this;
725
+
726
+ this.checkAll = !this.checkAll;
727
+ this.policeList.forEach(function (item, index) {
728
+ _this5.selectPoliceAll(index, item, _this5.checkAll);
729
+ });
730
+ }
731
+ }
732
+
733
+ });
734
+
735
+ /***/ }),
736
+ /* 1 */
737
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
738
+
739
+ "use strict";
740
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
741
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__user_selector__ = __webpack_require__(2);
742
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "userSelector", function() { return __WEBPACK_IMPORTED_MODULE_0__user_selector__["a"]; });
743
+
744
+
745
+ var Plugin = {
746
+ install: function install(Vue) {
747
+ Vue.component('user-selector', __WEBPACK_IMPORTED_MODULE_0__user_selector__["a" /* default */]);
748
+ }
749
+ };
750
+
751
+ /* harmony default export */ __webpack_exports__["default"] = (Plugin);
752
+
753
+ /***/ }),
754
+ /* 2 */
755
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
756
+
757
+ "use strict";
758
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_user_selector_vue__ = __webpack_require__(0);
759
+ /* unused harmony namespace reexport */
760
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c8dbda5c_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_user_selector_vue__ = __webpack_require__(9);
761
+ function injectStyle (ssrContext) {
762
+ __webpack_require__(3)
763
+ }
764
+ var normalizeComponent = __webpack_require__(8)
765
+ /* script */
766
+
767
+
768
+ /* template */
769
+
770
+ /* template functional */
771
+ var __vue_template_functional__ = false
772
+ /* styles */
773
+ var __vue_styles__ = injectStyle
774
+ /* scopeId */
775
+ var __vue_scopeId__ = "data-v-c8dbda5c"
776
+ /* moduleIdentifier (server only) */
777
+ var __vue_module_identifier__ = null
778
+ var Component = normalizeComponent(
779
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_user_selector_vue__["a" /* default */],
780
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c8dbda5c_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_user_selector_vue__["a" /* default */],
781
+ __vue_template_functional__,
782
+ __vue_styles__,
783
+ __vue_scopeId__,
784
+ __vue_module_identifier__
785
+ )
786
+
787
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
788
+
789
+
790
+ /***/ }),
791
+ /* 3 */
792
+ /***/ (function(module, exports, __webpack_require__) {
793
+
794
+ // style-loader: Adds some css to the DOM by adding a <style> tag
795
+
796
+ // load the styles
797
+ var content = __webpack_require__(4);
798
+ if(typeof content === 'string') content = [[module.i, content, '']];
799
+ if(content.locals) module.exports = content.locals;
800
+ // add the styles to the DOM
801
+ var update = __webpack_require__(6)("0ae7f6df", content, true);
802
+
803
+ /***/ }),
804
+ /* 4 */
805
+ /***/ (function(module, exports, __webpack_require__) {
806
+
807
+ exports = module.exports = __webpack_require__(5)(false);
808
+ // imports
809
+
810
+
811
+ // module
812
+ exports.push([module.i, "[data-v-c8dbda5c].ivu-input:hover{border:1px solid #cee0f0}[data-v-c8dbda5c].ivu-input:focus{border:1px solid #2b5fd9;box-shadow:none}[data-v-c8dbda5c].user-selector-modal .ivu-modal-header{padding:0!important}[data-v-c8dbda5c].user-selector-modal .ivu-modal-body{height:550px;padding:16px!important}[data-v-c8dbda5c].user-selector-modal .ivu-modal-footer{height:50px;line-height:50px;background:#f7faff;padding:0 18px}[data-v-c8dbda5c].user-selector-modal .ivu-modal-footer .ivu-btn>span{font-size:16px}[data-v-c8dbda5c].user-selector-modal .ivu-input{font-size:16px;height:32px;line-height:1.5}[data-v-c8dbda5c].user-selector-modal .ivu-checkbox-wrapper.ivu-checkbox-large{font-size:16px}[data-v-c8dbda5c].user-selector-input .ivu-input-icon{right:66px;font-size:20px}[data-v-c8dbda5c].user-selector-input .ivu-input{font-size:16px}[data-v-c8dbda5c].user-selector-modal .ivu-icon-ios-close{font-size:32px;line-height:40px}[data-v-c8dbda5c].user-selector-input .ivu-input-search{font-size:15px;padding:0!important;width:70px;max-width:70px}.user-selector-modal .bsp-warp[data-v-c8dbda5c]{width:100%;height:100%;color:#333}.user-selector-modal .bsp-user-search-box[data-v-c8dbda5c]{display:flex;box-sizing:border-box;padding-left:5px}.user-selector-modal .bsp-user-search-box>input[data-v-c8dbda5c]{margin-left:0;font-size:16px;width:38%;height:30px;border:1px solid #e1e1e1;padding-left:10px;border-radius:2px}div.v-selectpage div.sp-input-container div.sp-input[data-v-c8dbda5c]{font-size:16px}.user-selector-modal .bsp-user-search-box>label[data-v-c8dbda5c]{font-size:16px;line-height:30px;margin:0 10px}[data-v-c8dbda5c].user-selector-modal .ivu-input{height:30px;line-height:30px}.user-selector-modal .bsp-user-Chebox[data-v-c8dbda5c]{line-height:30px;padding:0 0 0 16px}.user-selector-modal .bsp-user-center-in[data-v-c8dbda5c]{margin:10px 0 0}.user-selector-modal .bsp-user-lt_center[data-v-c8dbda5c]{width:100%;border-radius:2px}.user-selector-modal .bsp-user-lt_center>ul[data-v-c8dbda5c]{list-style:none;height:433px;overflow:auto;border:1px solid #cee0f0;border-top:none}.user-selector-modal .bsp-user-lt_center .cli[data-v-c8dbda5c],.user-selector-modal .bsp-user-lt_center_center .cli[data-v-c8dbda5c]{display:flex;justify-content:space-between;align-items:center;height:36px;line-height:36px;box-sizing:border-box;background-size:16px;cursor:pointer;position:relative}.user-selector-modal .bsp-user-lt_center .cli[data-v-c8dbda5c]{padding:22px 40px 22px 10px}.user-selector-modal .bsp-user-lt_center_center .cli[data-v-c8dbda5c]{padding:22px 10px}.user-selector-modal .bsp-user-lt_center .cli[data-v-c8dbda5c]{background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAA4ElEQVQ4je3VsWrCYBTF8f/3WRJBTWJCXVpwEl2z1d36TNIHCH2m1r1O7qVLBzsaxUYIEZNyIwURh37NmvMAP85dzlXLzy3AAHgGJoCDWXbAHJiFffdDwCGwuOs2vaBt0dDKSDvmBesk42uTSrOHGyC695vebcc2LHaKFOg5NkrhreI00nKm37L+hZ1HrgOmAjqmZ16LVqXR1pWli9RgDdbgX8GdTFDV5EVpJALO4/2hMrhOSuNFBnYEvMkmBi0Lbbg8uQzsPmMVlwM7/n0BstoR8Ah0DMt9A6/AU9h3338A7TA+NnRfwIoAAAAASUVORK5CYII=\") no-repeat 96%;background-size:18px}.user-selector-modal .bsp-user-lt_center .cli.active[data-v-c8dbda5c]{background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABeklEQVQ4ja3U3ytDcRjH8fc5+RXapoxFSrKIe60lSpILUpPQLswF90palJEa7l240FZSygUlN0YUpUm51OQfIIn9yOWmZ2abOrNs53P5/Z7n1fN8zzlfpXPqEcAKbAD9gIH/JQKcA27gqQRoA4KA6Z/QT6QBB9AH2FTAWwSWHTG8ampMvTKgFnBmf6Va1RFLpiDQNVjD7XYrC5Pm4sGpwRrmJ8xUVag4eoz5wfJShZaGMk3M2W9ifjzT1d7Ze37Q527i2NvM+qwFNWt3tNeI21mHoqSwwDtbh29/g/KwtfG7u2G7gdVpS3JtpNuAx1Wfxg4uw2zuv2pOIb9eInthyG7AO2NBTRUHHz7paq9Md3t0HWbZ90IiocVpjHxyE2HFnymwdWQw2fP4c2OaoOTwKsza7u/C07soizvPxOO5MUlJrg05J0VRmBur5eI+luwsH4bWGRYbNXWf6ZWYgHI56pWAgEvAhw6iGEsChuTrkJcLRAuApEZqbUDoC8xYY482/HjCAAAAAElFTkSuQmCC\") no-repeat 96%;background-size:18px}.user-selector-modal .bsp-user-lt_center_center .cli .btn-icon[data-v-c8dbda5c]{display:inline-block;width:25px;height:25px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAABiklEQVQ4jY2UP08CQRTEfxwgoUAKCxrBwgYsSTRqA1FptUGpNbHw01jaaWUswMLaBDUmRv0CUBgbaCwsUCPyx2DeZU/21r3IJJvszXsz2Z3d29Dh2QMWlIBtYB1IA32gBdwCVeDSlESM7yxwBBQNPqpqMvaBa+AAaHoNjtZcAB4tJjYUVW/BNMoBF0BiAhMPCaXJekYh4BhI6l1TkfAfpYUTzYl4OCrQZb1ayGeolBaIx8YRyly4Yn7ONBPthhhVdDYWDZNJJZlJximv5VwDGTIXLp2adnsM7MjxPwHzOq8LXztdl/Pm51dNPr8GptGzo+6JD93ekFq94QrF4B8TwaxjY4MwGo0Ca2LUNklza97KvMwsaIvRnRm2biJb1LcpNUvYdTE61Zne4JvWy9uvieSlZyY16TFQlVMLqVX57pJcvv7QL7BxgPz1K7IiSXAPeNOrFoGN6wC74uGdWgPYBN5tSQbgA9hSWt/ffwMsAfcTmEjPotK4MM9S3pdV9bCVAx62mnrYxpcK+AFqcJJFhDD72QAAAABJRU5ErkJggg==\") no-repeat 96%;background-size:20px}.user-selector-modal .bsp-user-lt_center .cli[data-v-c8dbda5c]:hover{background-color:#f0f5ff}.user-selector-modal .bsp-user-lt_center_center[data-v-c8dbda5c]{width:100%;background:#fafbff}.user-selector-modal .bsp-user-lt_center_center .bsp-user-lt_center_ul[data-v-c8dbda5c]{list-style:none;height:433px;overflow:auto;border:1px solid #cee0f0;border-top:none}.user-selector-modal .bsp-user-loginId[data-v-c8dbda5c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 10px;width:70px;font-size:16px}.user-selector-modal .bsp-user-name[data-v-c8dbda5c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:80px;font-size:16px}.user-selector-modal .bsp-user-orgId[data-v-c8dbda5c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:200px;font-size:16px}.user-selector-modal .bsp-user-btn[data-v-c8dbda5c]{text-align:right}.user-selector-modal .bsp-user-btn button[data-v-c8dbda5c]{padding:4px 30px;margin:0 5px;outline:none;border:none;background:#0ea7e0;color:#fff;cursor:pointer;border-radius:2px}.user-selector-modal .btn button.no[data-v-c8dbda5c]{background:none;border:1px solid #ddd;color:#666}.user-selector-modal .btn button[data-v-c8dbda5c]:hover{opacity:.9}.user-selector-modal .flow-modal-title[data-v-c8dbda5c]{height:40px;background:#2b5fda;width:100%;text-indent:1em;color:#fff;line-height:40px}.cancle_btn[data-v-c8dbda5c]{min-width:60px;height:30px;background:#fff;border:1px solid #2b5fd9;color:#2b5fd9;border-radius:2px}.sure_btn[data-v-c8dbda5c]{min-width:60px;height:30px;background:#2b5fd9;border-radius:2px}.bsp-user-lt_center_ul[data-v-c8dbda5c]::-webkit-scrollbar,.bsp-user-lt_ul[data-v-c8dbda5c]::-webkit-scrollbar{width:10px;height:10px}.bsp-user-lt_center_ul[data-v-c8dbda5c]::-webkit-scrollbar-thumb,.bsp-user-lt_ul[data-v-c8dbda5c]::-webkit-scrollbar-thumb{border-radius:3px;background:#b7c7dd}.bsp-user-lt_center_ul[data-v-c8dbda5c]::-webkit-scrollbar-track,.bsp-user-lt_ul[data-v-c8dbda5c]::-webkit-scrollbar-track{border-radius:3px;background:#ededed}table[data-v-c8dbda5c]{border-collapse:collapse;border-spacing:0}td[data-v-c8dbda5c]{border:1px solid #cee0f0}.postName[data-v-c8dbda5c]{width:100px}.textOverflow[data-v-c8dbda5c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}", ""]);
813
+
814
+ // exports
815
+
816
+
817
+ /***/ }),
818
+ /* 5 */
819
+ /***/ (function(module, exports) {
820
+
821
+ /*
822
+ MIT License http://www.opensource.org/licenses/mit-license.php
823
+ Author Tobias Koppers @sokra
824
+ */
825
+ // css base code, injected by the css-loader
826
+ module.exports = function(useSourceMap) {
827
+ var list = [];
828
+
829
+ // return the list of modules as css string
830
+ list.toString = function toString() {
831
+ return this.map(function (item) {
832
+ var content = cssWithMappingToString(item, useSourceMap);
833
+ if(item[2]) {
834
+ return "@media " + item[2] + "{" + content + "}";
835
+ } else {
836
+ return content;
837
+ }
838
+ }).join("");
839
+ };
840
+
841
+ // import a list of modules into the list
842
+ list.i = function(modules, mediaQuery) {
843
+ if(typeof modules === "string")
844
+ modules = [[null, modules, ""]];
845
+ var alreadyImportedModules = {};
846
+ for(var i = 0; i < this.length; i++) {
847
+ var id = this[i][0];
848
+ if(typeof id === "number")
849
+ alreadyImportedModules[id] = true;
850
+ }
851
+ for(i = 0; i < modules.length; i++) {
852
+ var item = modules[i];
853
+ // skip already imported module
854
+ // this implementation is not 100% perfect for weird media query combinations
855
+ // when a module is imported multiple times with different media queries.
856
+ // I hope this will never occur (Hey this way we have smaller bundles)
857
+ if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
858
+ if(mediaQuery && !item[2]) {
859
+ item[2] = mediaQuery;
860
+ } else if(mediaQuery) {
861
+ item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
862
+ }
863
+ list.push(item);
864
+ }
865
+ }
866
+ };
867
+ return list;
868
+ };
869
+
870
+ function cssWithMappingToString(item, useSourceMap) {
871
+ var content = item[1] || '';
872
+ var cssMapping = item[3];
873
+ if (!cssMapping) {
874
+ return content;
875
+ }
876
+
877
+ if (useSourceMap && typeof btoa === 'function') {
878
+ var sourceMapping = toComment(cssMapping);
879
+ var sourceURLs = cssMapping.sources.map(function (source) {
880
+ return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
881
+ });
882
+
883
+ return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
884
+ }
885
+
886
+ return [content].join('\n');
887
+ }
888
+
889
+ // Adapted from convert-source-map (MIT)
890
+ function toComment(sourceMap) {
891
+ // eslint-disable-next-line no-undef
892
+ var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
893
+ var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
894
+
895
+ return '/*# ' + data + ' */';
896
+ }
897
+
898
+
899
+ /***/ }),
900
+ /* 6 */
901
+ /***/ (function(module, exports, __webpack_require__) {
902
+
903
+ /*
904
+ MIT License http://www.opensource.org/licenses/mit-license.php
905
+ Author Tobias Koppers @sokra
906
+ Modified by Evan You @yyx990803
907
+ */
908
+
909
+ var hasDocument = typeof document !== 'undefined'
910
+
911
+ if (typeof DEBUG !== 'undefined' && DEBUG) {
912
+ if (!hasDocument) {
913
+ throw new Error(
914
+ 'vue-style-loader cannot be used in a non-browser environment. ' +
915
+ "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
916
+ ) }
917
+ }
918
+
919
+ var listToStyles = __webpack_require__(7)
920
+
921
+ /*
922
+ type StyleObject = {
923
+ id: number;
924
+ parts: Array<StyleObjectPart>
925
+ }
926
+
927
+ type StyleObjectPart = {
928
+ css: string;
929
+ media: string;
930
+ sourceMap: ?string
931
+ }
932
+ */
933
+
934
+ var stylesInDom = {/*
935
+ [id: number]: {
936
+ id: number,
937
+ refs: number,
938
+ parts: Array<(obj?: StyleObjectPart) => void>
939
+ }
940
+ */}
941
+
942
+ var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
943
+ var singletonElement = null
944
+ var singletonCounter = 0
945
+ var isProduction = false
946
+ var noop = function () {}
947
+
948
+ // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
949
+ // tags it will allow on a page
950
+ var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
951
+
952
+ module.exports = function (parentId, list, _isProduction) {
953
+ isProduction = _isProduction
954
+
955
+ var styles = listToStyles(parentId, list)
956
+ addStylesToDom(styles)
957
+
958
+ return function update (newList) {
959
+ var mayRemove = []
960
+ for (var i = 0; i < styles.length; i++) {
961
+ var item = styles[i]
962
+ var domStyle = stylesInDom[item.id]
963
+ domStyle.refs--
964
+ mayRemove.push(domStyle)
965
+ }
966
+ if (newList) {
967
+ styles = listToStyles(parentId, newList)
968
+ addStylesToDom(styles)
969
+ } else {
970
+ styles = []
971
+ }
972
+ for (var i = 0; i < mayRemove.length; i++) {
973
+ var domStyle = mayRemove[i]
974
+ if (domStyle.refs === 0) {
975
+ for (var j = 0; j < domStyle.parts.length; j++) {
976
+ domStyle.parts[j]()
977
+ }
978
+ delete stylesInDom[domStyle.id]
979
+ }
980
+ }
981
+ }
982
+ }
983
+
984
+ function addStylesToDom (styles /* Array<StyleObject> */) {
985
+ for (var i = 0; i < styles.length; i++) {
986
+ var item = styles[i]
987
+ var domStyle = stylesInDom[item.id]
988
+ if (domStyle) {
989
+ domStyle.refs++
990
+ for (var j = 0; j < domStyle.parts.length; j++) {
991
+ domStyle.parts[j](item.parts[j])
992
+ }
993
+ for (; j < item.parts.length; j++) {
994
+ domStyle.parts.push(addStyle(item.parts[j]))
995
+ }
996
+ if (domStyle.parts.length > item.parts.length) {
997
+ domStyle.parts.length = item.parts.length
998
+ }
999
+ } else {
1000
+ var parts = []
1001
+ for (var j = 0; j < item.parts.length; j++) {
1002
+ parts.push(addStyle(item.parts[j]))
1003
+ }
1004
+ stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
1005
+ }
1006
+ }
1007
+ }
1008
+
1009
+ function createStyleElement () {
1010
+ var styleElement = document.createElement('style')
1011
+ styleElement.type = 'text/css'
1012
+ head.appendChild(styleElement)
1013
+ return styleElement
1014
+ }
1015
+
1016
+ function addStyle (obj /* StyleObjectPart */) {
1017
+ var update, remove
1018
+ var styleElement = document.querySelector('style[data-vue-ssr-id~="' + obj.id + '"]')
1019
+
1020
+ if (styleElement) {
1021
+ if (isProduction) {
1022
+ // has SSR styles and in production mode.
1023
+ // simply do nothing.
1024
+ return noop
1025
+ } else {
1026
+ // has SSR styles but in dev mode.
1027
+ // for some reason Chrome can't handle source map in server-rendered
1028
+ // style tags - source maps in <style> only works if the style tag is
1029
+ // created and inserted dynamically. So we remove the server rendered
1030
+ // styles and inject new ones.
1031
+ styleElement.parentNode.removeChild(styleElement)
1032
+ }
1033
+ }
1034
+
1035
+ if (isOldIE) {
1036
+ // use singleton mode for IE9.
1037
+ var styleIndex = singletonCounter++
1038
+ styleElement = singletonElement || (singletonElement = createStyleElement())
1039
+ update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
1040
+ remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
1041
+ } else {
1042
+ // use multi-style-tag mode in all other cases
1043
+ styleElement = createStyleElement()
1044
+ update = applyToTag.bind(null, styleElement)
1045
+ remove = function () {
1046
+ styleElement.parentNode.removeChild(styleElement)
1047
+ }
1048
+ }
1049
+
1050
+ update(obj)
1051
+
1052
+ return function updateStyle (newObj /* StyleObjectPart */) {
1053
+ if (newObj) {
1054
+ if (newObj.css === obj.css &&
1055
+ newObj.media === obj.media &&
1056
+ newObj.sourceMap === obj.sourceMap) {
1057
+ return
1058
+ }
1059
+ update(obj = newObj)
1060
+ } else {
1061
+ remove()
1062
+ }
1063
+ }
1064
+ }
1065
+
1066
+ var replaceText = (function () {
1067
+ var textStore = []
1068
+
1069
+ return function (index, replacement) {
1070
+ textStore[index] = replacement
1071
+ return textStore.filter(Boolean).join('\n')
1072
+ }
1073
+ })()
1074
+
1075
+ function applyToSingletonTag (styleElement, index, remove, obj) {
1076
+ var css = remove ? '' : obj.css
1077
+
1078
+ if (styleElement.styleSheet) {
1079
+ styleElement.styleSheet.cssText = replaceText(index, css)
1080
+ } else {
1081
+ var cssNode = document.createTextNode(css)
1082
+ var childNodes = styleElement.childNodes
1083
+ if (childNodes[index]) styleElement.removeChild(childNodes[index])
1084
+ if (childNodes.length) {
1085
+ styleElement.insertBefore(cssNode, childNodes[index])
1086
+ } else {
1087
+ styleElement.appendChild(cssNode)
1088
+ }
1089
+ }
1090
+ }
1091
+
1092
+ function applyToTag (styleElement, obj) {
1093
+ var css = obj.css
1094
+ var media = obj.media
1095
+ var sourceMap = obj.sourceMap
1096
+
1097
+ if (media) {
1098
+ styleElement.setAttribute('media', media)
1099
+ }
1100
+
1101
+ if (sourceMap) {
1102
+ // https://developer.chrome.com/devtools/docs/javascript-debugging
1103
+ // this makes source maps inside style tags work properly in Chrome
1104
+ css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
1105
+ // http://stackoverflow.com/a/26603875
1106
+ css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
1107
+ }
1108
+
1109
+ if (styleElement.styleSheet) {
1110
+ styleElement.styleSheet.cssText = css
1111
+ } else {
1112
+ while (styleElement.firstChild) {
1113
+ styleElement.removeChild(styleElement.firstChild)
1114
+ }
1115
+ styleElement.appendChild(document.createTextNode(css))
1116
+ }
1117
+ }
1118
+
1119
+
1120
+ /***/ }),
1121
+ /* 7 */
1122
+ /***/ (function(module, exports) {
1123
+
1124
+ /**
1125
+ * Translates the list format produced by css-loader into something
1126
+ * easier to manipulate.
1127
+ */
1128
+ module.exports = function listToStyles (parentId, list) {
1129
+ var styles = []
1130
+ var newStyles = {}
1131
+ for (var i = 0; i < list.length; i++) {
1132
+ var item = list[i]
1133
+ var id = item[0]
1134
+ var css = item[1]
1135
+ var media = item[2]
1136
+ var sourceMap = item[3]
1137
+ var part = {
1138
+ id: parentId + ':' + i,
1139
+ css: css,
1140
+ media: media,
1141
+ sourceMap: sourceMap
1142
+ }
1143
+ if (!newStyles[id]) {
1144
+ styles.push(newStyles[id] = { id: id, parts: [part] })
1145
+ } else {
1146
+ newStyles[id].parts.push(part)
1147
+ }
1148
+ }
1149
+ return styles
1150
+ }
1151
+
1152
+
1153
+ /***/ }),
1154
+ /* 8 */
1155
+ /***/ (function(module, exports) {
1156
+
1157
+ /* globals __VUE_SSR_CONTEXT__ */
1158
+
1159
+ // IMPORTANT: Do NOT use ES2015 features in this file.
1160
+ // This module is a runtime utility for cleaner component module output and will
1161
+ // be included in the final webpack user bundle.
1162
+
1163
+ module.exports = function normalizeComponent (
1164
+ rawScriptExports,
1165
+ compiledTemplate,
1166
+ functionalTemplate,
1167
+ injectStyles,
1168
+ scopeId,
1169
+ moduleIdentifier /* server only */
1170
+ ) {
1171
+ var esModule
1172
+ var scriptExports = rawScriptExports = rawScriptExports || {}
1173
+
1174
+ // ES6 modules interop
1175
+ var type = typeof rawScriptExports.default
1176
+ if (type === 'object' || type === 'function') {
1177
+ esModule = rawScriptExports
1178
+ scriptExports = rawScriptExports.default
1179
+ }
1180
+
1181
+ // Vue.extend constructor export interop
1182
+ var options = typeof scriptExports === 'function'
1183
+ ? scriptExports.options
1184
+ : scriptExports
1185
+
1186
+ // render functions
1187
+ if (compiledTemplate) {
1188
+ options.render = compiledTemplate.render
1189
+ options.staticRenderFns = compiledTemplate.staticRenderFns
1190
+ options._compiled = true
1191
+ }
1192
+
1193
+ // functional template
1194
+ if (functionalTemplate) {
1195
+ options.functional = true
1196
+ }
1197
+
1198
+ // scopedId
1199
+ if (scopeId) {
1200
+ options._scopeId = scopeId
1201
+ }
1202
+
1203
+ var hook
1204
+ if (moduleIdentifier) { // server build
1205
+ hook = function (context) {
1206
+ // 2.3 injection
1207
+ context =
1208
+ context || // cached call
1209
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
1210
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
1211
+ // 2.2 with runInNewContext: true
1212
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
1213
+ context = __VUE_SSR_CONTEXT__
1214
+ }
1215
+ // inject component styles
1216
+ if (injectStyles) {
1217
+ injectStyles.call(this, context)
1218
+ }
1219
+ // register component module identifier for async chunk inferrence
1220
+ if (context && context._registeredComponents) {
1221
+ context._registeredComponents.add(moduleIdentifier)
1222
+ }
1223
+ }
1224
+ // used by ssr in case component is cached and beforeCreate
1225
+ // never gets called
1226
+ options._ssrRegister = hook
1227
+ } else if (injectStyles) {
1228
+ hook = injectStyles
1229
+ }
1230
+
1231
+ if (hook) {
1232
+ var functional = options.functional
1233
+ var existing = functional
1234
+ ? options.render
1235
+ : options.beforeCreate
1236
+
1237
+ if (!functional) {
1238
+ // inject component registration as beforeCreate hook
1239
+ options.beforeCreate = existing
1240
+ ? [].concat(existing, hook)
1241
+ : [hook]
1242
+ } else {
1243
+ // for template-only hot-reload because in that case the render fn doesn't
1244
+ // go through the normalizer
1245
+ options._injectStyles = hook
1246
+ // register for functioal component in vue file
1247
+ options.render = function renderWithStyleInjection (h, context) {
1248
+ hook.call(context)
1249
+ return existing(h, context)
1250
+ }
1251
+ }
1252
+ }
1253
+
1254
+ return {
1255
+ esModule: esModule,
1256
+ exports: scriptExports,
1257
+ options: options
1258
+ }
1259
+ }
1260
+
1261
+
1262
+ /***/ }),
1263
+ /* 9 */
1264
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1265
+
1266
+ "use strict";
1267
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[(_vm.$slots.func)?_vm._t("func"):_c('Input',{ref:"input",staticClass:"user-selector-input",attrs:{"disabled":_vm.disabled,"readonly":"","clearable":"","search":"","enter-button":_vm.button,"placeholder":""},on:{"on-clear":_vm.clearData,"on-search":_vm.openDialog},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}),_vm._v(" "),_c('div',[(_vm.showmModal)?_c('Modal',{attrs:{"class-name":"user-selector-modal","width":"1100","title":_vm.title,"closable":false,"mask-closable":false},on:{"on-cancel":_vm.cancel},model:{value:(_vm.modal),callback:function ($$v) {_vm.modal=$$v},expression:"modal"}},[_c('div',{staticClass:"flow-modal-title",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"17px"}},[_vm._v(_vm._s(_vm.tit))]),_vm._v(" "),_c('span',{staticStyle:{"position":"absolute","right":"6px","cursor":"pointer"},on:{"click":function($event){return _vm.cancel(true)}}},[_c('i',{staticClass:"ivu-icon ivu-icon-ios-close"})])]),_vm._v(" "),[_c('div',{staticClass:"bsp-warp"},[_c('div',{staticClass:"pos-box"},[_c('div',[_c('div',{staticClass:"bsp-user-search-box"},[_c('label',[_vm._v("机构单位: ")]),_vm._v(" "),_c('div',{staticClass:"dicgrid"},[_c('s-dicgrid',{ref:"dicGrid",staticStyle:{"width":"300px"},attrs:{"clear":false,"dicName":"ZD_ORG_ID","disabled":!_vm.orgChange || _vm.hasOthers == true},on:{"change":_vm.changeOrg},model:{value:(_vm.orgId),callback:function ($$v) {_vm.orgId=$$v},expression:"orgId"}})],1),_vm._v(" "),_c('div',{staticClass:"bsp-user-Chebox"},[(_vm.orgChange)?_c('Checkbox',{attrs:{"size":"large"},on:{"on-change":_vm.orgAll},model:{value:(_vm.hasOthers),callback:function ($$v) {_vm.hasOthers=$$v},expression:"hasOthers"}},[_vm._v("机构全选")]):_vm._e()],1),_vm._v(" "),(_vm.selectPost)?[_c('label',[_vm._v(" 岗位: ")]),_vm._v(" "),_c('div',{staticClass:"post-dic",staticStyle:{"width":"430px"}},[_c('s-dicgrid',{ref:"post",attrs:{"isSearch":false,"multiple":_vm.multiPost,"dicName":"ZD_POST"},on:{"change":_vm.changePost},model:{value:(_vm.postCode),callback:function ($$v) {_vm.postCode=$$v},expression:"postCode"}})],1)]:_vm._e()],2),_vm._v(" "),_c('div',{staticClass:"bsp-user-center-in"},[_c('table',{staticStyle:{"border-width":"0px"}},[_c('tr',[_c('td',{staticStyle:{"border-bottom":"none","display":"flex","justify-content":"space-between","align-items":"center","padding":"0px 17px","width":"476px","height":"40px","line-height":"40px","background":"#F2F6FC"}},[_c('p',{staticStyle:{"font-size":"16px","font-weight":"bold","color":"#333"}},[_vm._v("用户列表")]),_vm._v(" "),_c('div',{staticStyle:{"width":"300px"}},[_c('Input',{attrs:{"type":"text","suffix":"ios-search","placeholder":"请输入姓名、警号或身份证查询","clearable":""},on:{"on-keyup":_vm.onKeyUp,"on-enter":_vm.searchData,"on-clear":_vm.searchData},model:{value:(_vm.condition),callback:function ($$v) {_vm.condition=$$v},expression:"condition"}})],1)]),_vm._v(" "),_c('td',{staticStyle:{"border-width":"0px","min-width":"16px"}}),_vm._v(" "),_c('td',{staticStyle:{"box-sizing":"border-box","width":"476px"}},[_c('div',{staticStyle:{"height":"40px","line-height":"40px","background":"#F2F6FC","color":"#333","font-size":"16px","font-weight":"bold","padding-left":"17px"}},[_vm._v("\n 已选用户")])])]),_vm._v(" "),_c('tr',[_c('td',{staticStyle:{"width":"476px","border-width":"0px","text-align":"left","background":"#FFFFFF"}},[_c('div',{staticClass:"bsp-user-lt_center"},[_c('ul',{staticClass:"bsp-user-lt_ul"},_vm._l((_vm.policeList),function(item,index){return _c('li',{key:index + 'AA',staticClass:"cli",class:{ active: _vm.selectedIdCardArr.indexOf(item.keyId) != -1 },on:{"click":function($event){return _vm.selectPolice(index, item)}}},[_c('div',{staticClass:"bsp-user-name",attrs:{"title":item.name}},[_vm._v(_vm._s(item.name))]),_vm._v(" "),_c('div',{staticClass:"bsp-user-loginId",attrs:{"title":item.loginId}},[_vm._v(_vm._s(item.loginId))]),_vm._v(" "),_c('div',{staticClass:"bsp-user-orgId",attrs:{"title":item.orgName}},[_vm._v(_vm._s(item.orgName))]),_vm._v(" "),_c('div',{staticClass:"postName textOverflow",attrs:{"title":item.postName}},[_vm._v(_vm._s(item.postName))])])}),0)])]),_vm._v(" "),_c('td',{staticStyle:{"border-width":"0px","min-width":"16px"}}),_vm._v(" "),_c('td',{staticStyle:{"width":"491px","border-width":"0px","text-align":"left"}},[_c('div',{staticClass:"bsp-user-lt_center_center"},[_c('ul',{staticClass:"bsp-user-lt_center_ul"},_vm._l((_vm.selectedList),function(item,index){return _c('li',{key:item.loginId + item.idCard,staticClass:"cli"},[_c('div',{staticClass:"bsp-user-name",attrs:{"title":item.orgName}},[_vm._v(_vm._s(item.name))]),_vm._v(" "),_c('div',{staticClass:"bsp-user-loginId",attrs:{"title":item.orgName}},[_vm._v(_vm._s(item.loginId))]),_vm._v(" "),_c('div',{staticClass:"bsp-user-orgId"},[_vm._v(_vm._s(item.orgName))]),_vm._v(" "),_c('div',{staticClass:"postName textOverflow",attrs:{"title":item.postName}},[_vm._v(_vm._s(item.postName))]),_vm._v(" "),_c('div',{staticClass:"btn-icon",on:{"click":function($event){return _vm.cancelSelected(item, index)}}})])}),0)])])])])])])])])],_vm._v(" "),_c('div',{staticStyle:{"display":"flex","justify-content":"space-between"},attrs:{"slot":"footer"},slot:"footer"},[(_vm.numExp !== 'num==1')?_c('div',[_c('Checkbox',{nativeOn:{"click":function($event){$event.preventDefault();return _vm.handleAllChecked.apply(null, arguments)}},model:{value:(_vm.checkAll),callback:function ($$v) {_vm.checkAll=$$v},expression:"checkAll"}},[_vm._v("用户全选/反选")])],1):_vm._e(),_vm._v(" "),_c('div',[_c('Button',{staticClass:"cancle_btn",on:{"click":function($event){return _vm.cancel(true)}}},[_vm._v("取  消")]),_vm._v(" "),_c('Button',{staticClass:"sure_btn",attrs:{"type":"primary"},on:{"click":_vm.ok}},[_vm._v("确  认")])],1)])],2):_vm._e()],1)],2)}
1268
+ var staticRenderFns = []
1269
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
1270
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
1271
+
1272
+ /***/ })
1273
+ /******/ ]);
1274
+ });
1275
+ //# sourceMappingURL=gs-user-selector.js.map