sd-data-grid 1.2.53 → 1.2.55

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