sd-data-grid 1.2.51 → 1.2.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/gs-user-selector.js
CHANGED
|
@@ -184,10 +184,17 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
184
184
|
//
|
|
185
185
|
//
|
|
186
186
|
//
|
|
187
|
+
//
|
|
188
|
+
//
|
|
187
189
|
|
|
188
190
|
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
189
191
|
name: 'user-selector',
|
|
190
192
|
props: {
|
|
193
|
+
// 禁止选择人员
|
|
194
|
+
disabledCard: {
|
|
195
|
+
type: String,
|
|
196
|
+
default: ''
|
|
197
|
+
},
|
|
191
198
|
// 选择框的值
|
|
192
199
|
value: {
|
|
193
200
|
type: String,
|
|
@@ -309,6 +316,27 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
309
316
|
}
|
|
310
317
|
},
|
|
311
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
|
+
|
|
312
340
|
deep: true,
|
|
313
341
|
immediate: true
|
|
314
342
|
}
|
|
@@ -329,13 +357,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
329
357
|
orgAll: function orgAll(val) {
|
|
330
358
|
this.searchData();
|
|
331
359
|
},
|
|
332
|
-
openDialog: function openDialog() {
|
|
360
|
+
openDialog: function openDialog(data, tag) {
|
|
333
361
|
if (this.defaultSelectAll) this.hasOthers = true;
|
|
334
362
|
this.orgId = this.orgCode ? this.orgCode : this.$store.state.common.orgCode;
|
|
335
363
|
// 获取左侧民警数据
|
|
336
364
|
this.getPoliceData();
|
|
337
365
|
// 初始化已选择民警
|
|
338
|
-
this.
|
|
366
|
+
var openData = !tag ? data : this.value || data;
|
|
367
|
+
this.getPoliceByFieldData(openData);
|
|
339
368
|
this.showmModal = true;
|
|
340
369
|
this.modal = true;
|
|
341
370
|
},
|
|
@@ -407,7 +436,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
407
436
|
|
|
408
437
|
// 获取民警数据
|
|
409
438
|
getPoliceData: function getPoliceData() {
|
|
410
|
-
var
|
|
439
|
+
var _this3 = this;
|
|
411
440
|
|
|
412
441
|
var orgId = this.orgId;
|
|
413
442
|
// 查询全部
|
|
@@ -420,29 +449,29 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
420
449
|
url: '/bsp-uac/uac/user/getOptionalPolice', params: { orgId: orgId, condition: this.condition, post: this.postCode }
|
|
421
450
|
}).then(function (d) {
|
|
422
451
|
if (d.success) {
|
|
423
|
-
if (
|
|
424
|
-
d.data =
|
|
452
|
+
if (_this3.isSensitiveDataEncrypt) {
|
|
453
|
+
d.data = _this3.decrypt(d.data);
|
|
425
454
|
}
|
|
426
455
|
d.data.forEach(function (item) {
|
|
427
456
|
item.keyId = '' + item.idCard + item.orgId;
|
|
428
457
|
});
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
if (
|
|
458
|
+
_this3.policeList = d.data;
|
|
459
|
+
_this3.policeCache = d.data;
|
|
460
|
+
_this3.selectedIdCardArr = [];
|
|
461
|
+
if (_this3.selectedList.length > 0) {
|
|
433
462
|
var _iteratorNormalCompletion3 = true;
|
|
434
463
|
var _didIteratorError3 = false;
|
|
435
464
|
var _iteratorError3 = undefined;
|
|
436
465
|
|
|
437
466
|
try {
|
|
438
|
-
for (var _iterator3 =
|
|
467
|
+
for (var _iterator3 = _this3.selectedList[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {
|
|
439
468
|
var i = _step3.value;
|
|
440
469
|
|
|
441
|
-
if (
|
|
442
|
-
|
|
470
|
+
if (_this3.isSensitiveDataEncrypt) {
|
|
471
|
+
_this3.selectedIdCardArr.push(decodeURIComponent(atob(i.idCard)) + i.orgId);
|
|
443
472
|
} else {
|
|
444
473
|
var obj = '' + i.idCard + i.orgId;
|
|
445
|
-
|
|
474
|
+
_this3.selectedIdCardArr.push(obj);
|
|
446
475
|
}
|
|
447
476
|
}
|
|
448
477
|
// console.log(this.selectedIdCardArr,'this.selectedIdCardArr')
|
|
@@ -469,37 +498,37 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
469
498
|
|
|
470
499
|
// 根据字段初始值获取民警信息
|
|
471
500
|
getPoliceByFieldData: function getPoliceByFieldData(data) {
|
|
472
|
-
var
|
|
501
|
+
var _this4 = this;
|
|
473
502
|
|
|
474
503
|
var _this = this;
|
|
475
|
-
if (data
|
|
504
|
+
if (!data) {
|
|
476
505
|
this.selectedIdCardArr = [];
|
|
477
506
|
this.selectedList = [];
|
|
478
|
-
return
|
|
507
|
+
return;
|
|
479
508
|
}
|
|
480
509
|
|
|
481
510
|
this.$store.dispatch('postRequest', { url: '/bsp-uac/uac/user/getByFieldData', params: { field: this.returnField, value: data } }).then(function (d) {
|
|
482
511
|
if (d.success) {
|
|
483
512
|
// 渲染右侧列表
|
|
484
513
|
d.data.forEach(function (item, index) {
|
|
485
|
-
item.keyId = '' + item.idCard +
|
|
514
|
+
item.keyId = '' + item.idCard + _this4.orgId;
|
|
486
515
|
});
|
|
487
516
|
_this.selectedList = d.data;
|
|
488
|
-
|
|
489
|
-
if (
|
|
517
|
+
_this4.selectedIdCardArr = [];
|
|
518
|
+
if (_this4.policeList.length > 0) {
|
|
490
519
|
var _iteratorNormalCompletion4 = true;
|
|
491
520
|
var _didIteratorError4 = false;
|
|
492
521
|
var _iteratorError4 = undefined;
|
|
493
522
|
|
|
494
523
|
try {
|
|
495
|
-
for (var _iterator4 =
|
|
524
|
+
for (var _iterator4 = _this4.selectedList[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {
|
|
496
525
|
var i = _step4.value;
|
|
497
526
|
|
|
498
|
-
if (
|
|
499
|
-
|
|
527
|
+
if (_this4.isSensitiveDataEncrypt) {
|
|
528
|
+
_this4.selectedIdCardArr.push(decodeURIComponent(atob(i.idCard)) + i.orgId);
|
|
500
529
|
} else {
|
|
501
530
|
var obj = '' + i.idCard + i.orgId;
|
|
502
|
-
|
|
531
|
+
_this4.selectedIdCardArr.push(obj);
|
|
503
532
|
}
|
|
504
533
|
}
|
|
505
534
|
} catch (err) {
|
|
@@ -544,7 +573,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
544
573
|
// })
|
|
545
574
|
// }
|
|
546
575
|
} else {
|
|
547
|
-
|
|
576
|
+
_this4.$Modal.warning({
|
|
548
577
|
title: '温馨提示',
|
|
549
578
|
content: d.msg
|
|
550
579
|
});
|
|
@@ -604,8 +633,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
604
633
|
}
|
|
605
634
|
},
|
|
606
635
|
|
|
607
|
-
// 左侧民警选择事件
|
|
636
|
+
// 左侧民警选择事件ss
|
|
608
637
|
selectPolice: function selectPolice(index, item) {
|
|
638
|
+
if (item.disabled) {
|
|
639
|
+
return;
|
|
640
|
+
}
|
|
609
641
|
var idx = this.selectedIdCardArr.indexOf(item.keyId);
|
|
610
642
|
if (idx != -1) {
|
|
611
643
|
this.selectedIdCardArr.splice(idx, 1);
|
|
@@ -632,6 +664,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
632
664
|
|
|
633
665
|
// 右侧删除事件
|
|
634
666
|
cancelSelected: function cancelSelected(item, index) {
|
|
667
|
+
// console.log(this.selectedIdCardArr, item, index, 'this.selectedIdCardArr')
|
|
635
668
|
// this.$set(item,'idCardOrgid',item.idCard+item.orgId)
|
|
636
669
|
var idx = this.selectedIdCardArr.indexOf(item.keyId);
|
|
637
670
|
if (idx != -1) {
|
|
@@ -648,7 +681,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
648
681
|
|
|
649
682
|
// 对话框确定事件
|
|
650
683
|
ok: function ok() {
|
|
651
|
-
var
|
|
684
|
+
var _this5 = this;
|
|
652
685
|
|
|
653
686
|
// 是否选择人员
|
|
654
687
|
// if (this.selectedList.length == 0) {
|
|
@@ -673,7 +706,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
673
706
|
var ids = [];
|
|
674
707
|
this.selectedList.forEach(function (item) {
|
|
675
708
|
names.push(item.name);
|
|
676
|
-
ids.push(item[
|
|
709
|
+
ids.push(item[_this5.returnField]);
|
|
677
710
|
});
|
|
678
711
|
this.$emit('input', ids.join(','));
|
|
679
712
|
var textValue = names.join(',');
|
|
@@ -721,11 +754,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
721
754
|
}
|
|
722
755
|
},
|
|
723
756
|
handleAllChecked: function handleAllChecked() {
|
|
724
|
-
var
|
|
757
|
+
var _this6 = this;
|
|
725
758
|
|
|
726
759
|
this.checkAll = !this.checkAll;
|
|
727
760
|
this.policeList.forEach(function (item, index) {
|
|
728
|
-
|
|
761
|
+
_this6.selectPoliceAll(index, item, _this6.checkAll);
|
|
729
762
|
});
|
|
730
763
|
}
|
|
731
764
|
}
|
|
@@ -757,7 +790,7 @@ var Plugin = {
|
|
|
757
790
|
"use strict";
|
|
758
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);
|
|
759
792
|
/* unused harmony namespace reexport */
|
|
760
|
-
/* harmony import */ var
|
|
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);
|
|
761
794
|
function injectStyle (ssrContext) {
|
|
762
795
|
__webpack_require__(3)
|
|
763
796
|
}
|
|
@@ -772,12 +805,12 @@ var __vue_template_functional__ = false
|
|
|
772
805
|
/* styles */
|
|
773
806
|
var __vue_styles__ = injectStyle
|
|
774
807
|
/* scopeId */
|
|
775
|
-
var __vue_scopeId__ = "data-v-
|
|
808
|
+
var __vue_scopeId__ = "data-v-0fc04cd3"
|
|
776
809
|
/* moduleIdentifier (server only) */
|
|
777
810
|
var __vue_module_identifier__ = null
|
|
778
811
|
var Component = normalizeComponent(
|
|
779
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 */],
|
|
780
|
-
|
|
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 */],
|
|
781
814
|
__vue_template_functional__,
|
|
782
815
|
__vue_styles__,
|
|
783
816
|
__vue_scopeId__,
|
|
@@ -798,7 +831,7 @@ var content = __webpack_require__(4);
|
|
|
798
831
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
799
832
|
if(content.locals) module.exports = content.locals;
|
|
800
833
|
// add the styles to the DOM
|
|
801
|
-
var update = __webpack_require__(6)("
|
|
834
|
+
var update = __webpack_require__(6)("6ff4119c", content, true);
|
|
802
835
|
|
|
803
836
|
/***/ }),
|
|
804
837
|
/* 4 */
|
|
@@ -809,7 +842,7 @@ exports = module.exports = __webpack_require__(5)(false);
|
|
|
809
842
|
|
|
810
843
|
|
|
811
844
|
// module
|
|
812
|
-
exports.push([module.i, "[data-v-
|
|
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}", ""]);
|
|
813
846
|
|
|
814
847
|
// exports
|
|
815
848
|
|
|
@@ -1264,7 +1297,7 @@ module.exports = function normalizeComponent (
|
|
|
1264
1297
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1265
1298
|
|
|
1266
1299
|
"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":"
|
|
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)}
|
|
1268
1301
|
var staticRenderFns = []
|
|
1269
1302
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
1270
1303
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|