sd-prison-select 1.0.12 → 1.0.14
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/sd-prison-select.js +33 -9
- package/dist/sd-prison-select.js.map +1 -1
- package/dist/sd-room-select.js +1027 -0
- package/dist/sd-room-select.js.map +1 -0
- package/package.json +1 -1
package/dist/sd-prison-select.js
CHANGED
|
@@ -182,6 +182,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
182
182
|
//
|
|
183
183
|
//
|
|
184
184
|
//
|
|
185
|
+
//
|
|
186
|
+
//
|
|
187
|
+
//
|
|
188
|
+
//
|
|
189
|
+
//
|
|
190
|
+
//
|
|
185
191
|
|
|
186
192
|
|
|
187
193
|
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
@@ -206,6 +212,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
206
212
|
selectUseIds: {
|
|
207
213
|
type: String, // 已选择人员
|
|
208
214
|
default: '' // '7aaf5d9403bc11f08fec0242ac110002,7aaf581a03bc11f08fec0242ac110002'
|
|
215
|
+
},
|
|
216
|
+
roomCode: {
|
|
217
|
+
type: String, // 监室编号
|
|
218
|
+
default: ''
|
|
209
219
|
}
|
|
210
220
|
},
|
|
211
221
|
watch: {
|
|
@@ -238,6 +248,16 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
238
248
|
}
|
|
239
249
|
},
|
|
240
250
|
|
|
251
|
+
deep: true,
|
|
252
|
+
immediate: true
|
|
253
|
+
},
|
|
254
|
+
roomCode: {
|
|
255
|
+
handler: function handler(n, o) {
|
|
256
|
+
if (n) {
|
|
257
|
+
this.getJqData();
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
|
|
241
261
|
deep: true,
|
|
242
262
|
immediate: true
|
|
243
263
|
}
|
|
@@ -340,7 +360,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
340
360
|
this.spinShow = true;
|
|
341
361
|
item ? this.page.areaCode = item.areaCode : '';
|
|
342
362
|
ele ? this.page.roomCode = ele.roomCode : '';
|
|
343
|
-
|
|
363
|
+
if (this.roomCode) {
|
|
364
|
+
this.page.roomCode = this.roomCode.split(',')[0];
|
|
365
|
+
this.openCurRoom = 1;
|
|
366
|
+
}
|
|
344
367
|
// 控制全选按钮显示:当选择了具体监室且不是"全部"且为多选模式时显示
|
|
345
368
|
if (item && ele && item.areaName !== '全部' && this.isMultiple) {
|
|
346
369
|
this.showSelectAllBtn = true;
|
|
@@ -356,7 +379,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
356
379
|
}
|
|
357
380
|
var params = {
|
|
358
381
|
areaId: this.page.areaCode,
|
|
359
|
-
jsh: this.page.roomCode,
|
|
382
|
+
jsh: this.page.roomCode || (this.roomCode ? this.roomCode.split(',')[0] : ''),
|
|
360
383
|
ryzt: this.ryzt,
|
|
361
384
|
rssj: this.page.rssj,
|
|
362
385
|
xm: this.page.xm,
|
|
@@ -441,7 +464,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
441
464
|
var _this5 = this;
|
|
442
465
|
|
|
443
466
|
var params = {
|
|
444
|
-
orgCode: this.$store.state.common.orgCode // '110000113',//
|
|
467
|
+
orgCode: this.$store.state.common.orgCode, // '110000113',//
|
|
468
|
+
roomCodes: this.roomCode
|
|
445
469
|
};
|
|
446
470
|
this.$store.dispatch('authGetRequest', {
|
|
447
471
|
url: '/acp-com/base/area/getAreaListByOrgCode',
|
|
@@ -637,7 +661,7 @@ var Plugin = {
|
|
|
637
661
|
"use strict";
|
|
638
662
|
/* 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_index_vue__ = __webpack_require__(0);
|
|
639
663
|
/* unused harmony namespace reexport */
|
|
640
|
-
/* harmony import */ var
|
|
664
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_292676fc_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_index_vue__ = __webpack_require__(10);
|
|
641
665
|
function injectStyle (ssrContext) {
|
|
642
666
|
__webpack_require__(3)
|
|
643
667
|
}
|
|
@@ -652,12 +676,12 @@ var __vue_template_functional__ = false
|
|
|
652
676
|
/* styles */
|
|
653
677
|
var __vue_styles__ = injectStyle
|
|
654
678
|
/* scopeId */
|
|
655
|
-
var __vue_scopeId__ =
|
|
679
|
+
var __vue_scopeId__ = "data-v-292676fc"
|
|
656
680
|
/* moduleIdentifier (server only) */
|
|
657
681
|
var __vue_module_identifier__ = null
|
|
658
682
|
var Component = normalizeComponent(
|
|
659
683
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_index_vue__["a" /* default */],
|
|
660
|
-
|
|
684
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_292676fc_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_index_vue__["a" /* default */],
|
|
661
685
|
__vue_template_functional__,
|
|
662
686
|
__vue_styles__,
|
|
663
687
|
__vue_scopeId__,
|
|
@@ -678,7 +702,7 @@ var content = __webpack_require__(4);
|
|
|
678
702
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
679
703
|
if(content.locals) module.exports = content.locals;
|
|
680
704
|
// add the styles to the DOM
|
|
681
|
-
var update = __webpack_require__(6)("
|
|
705
|
+
var update = __webpack_require__(6)("1b342045", content, true);
|
|
682
706
|
|
|
683
707
|
/***/ }),
|
|
684
708
|
/* 4 */
|
|
@@ -689,7 +713,7 @@ exports = module.exports = __webpack_require__(5)(false);
|
|
|
689
713
|
|
|
690
714
|
|
|
691
715
|
// module
|
|
692
|
-
exports.push([module.i, ".prison-select{display:flex;width:100%;font-family:MicrosoftYaHei;font-weight:400;font-size:16px;color:#00244a}.prison-select .prison-select-left{width:17%;max-height:500px;overflow-y:overlay}.prison-select .prison-select-left .roomNameWrap .roomName{color:#252525;font-size:16px;text-indent:60px;line-height:32px;cursor:pointer}.prison-select .prison-select-left .roomNameWrap .roomName:hover{background:#f1f9fa}.prison-select .prison-select-left .roomNameWrap .roomName:last-of-type{border-bottom:1px solid #f1f9fa}.prison-select .prison-select-left .prison-select-left-child.active{color:#027bff!important}.prison-select .prison-select-left .prison-select-left-child{width:100%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f9fa;padding:7px 0;cursor:pointer;font-size:17px}.prison-select .prison-select-left .prison-select-left-child:hover{color:#027bff}.prison-select .prison-select-left .prison-select-left-child .prison-select-left-childDiv{height:50px;width:50px;background:#f1f9fa;display:flex;align-items:center;justify-content:center;border-radius:6px;margin-right:10px}.prison-select .prison-select-left-child:last-of-type{border-bottom:none}.prison-select .prison-select-center{width:70%;border-right:1px solid #f1f9fa;border-left:1px solid #f1f9fa}.prison-select .prison-select-center .use-list{border-top:1px solid #f1f9fa}.prison-select .prison-select-right{width:13%;border-left:1px solid #f1f9fa}.prison-select .prison-select-right .prison-select-right-title{border-left:4px solid #2b5fda;padding-left:10px;margin:10px 0}.prison-select .prison-select-right .selectedUseWrap{text-align:center;width:100%;height:580px;overflow-y:visible;overflow-x:hidden;padding-right:10px}.prison-select .prison-select-right .selectedUseWrap .selectedUse{width:100%;padding:6px 1px;background:#73b4f8;font-size:14px;margin:0 4% 10px;border-radius:4px}.use-form-title
|
|
716
|
+
exports.push([module.i, ".prison-select[data-v-292676fc]{display:flex;width:100%;font-family:MicrosoftYaHei;font-weight:400;font-size:16px;color:#00244a}.prison-select .prison-select-left[data-v-292676fc]{width:17%;max-height:500px;overflow-y:overlay}.prison-select .prison-select-left .roomNameWrap .roomName[data-v-292676fc]{color:#252525;font-size:16px;text-indent:60px;line-height:32px;cursor:pointer}.prison-select .prison-select-left .roomNameWrap .roomName[data-v-292676fc]:hover{background:#f1f9fa}.prison-select .prison-select-left .roomNameWrap .roomName[data-v-292676fc]:last-of-type{border-bottom:1px solid #f1f9fa}.prison-select .prison-select-left .prison-select-left-child.active[data-v-292676fc]{color:#027bff!important}.prison-select .prison-select-left .prison-select-left-child[data-v-292676fc]{width:100%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f9fa;padding:7px 0;cursor:pointer;font-size:17px}.prison-select .prison-select-left .prison-select-left-child[data-v-292676fc]:hover{color:#027bff}.prison-select .prison-select-left .prison-select-left-child .prison-select-left-childDiv[data-v-292676fc]{height:50px;width:50px;background:#f1f9fa;display:flex;align-items:center;justify-content:center;border-radius:6px;margin-right:10px}.prison-select .prison-select-left-child[data-v-292676fc]:last-of-type{border-bottom:none}.prison-select .prison-select-center[data-v-292676fc]{width:70%;border-right:1px solid #f1f9fa;border-left:1px solid #f1f9fa}.prison-select .prison-select-center .use-list[data-v-292676fc]{border-top:1px solid #f1f9fa}.prison-select .prison-select-right[data-v-292676fc]{width:13%;border-left:1px solid #f1f9fa}.prison-select .prison-select-right .prison-select-right-title[data-v-292676fc]{border-left:4px solid #2b5fda;padding-left:10px;margin:10px 0}.prison-select .prison-select-right .selectedUseWrap[data-v-292676fc]{text-align:center;width:100%;height:580px;overflow-y:visible;overflow-x:hidden;padding-right:10px}.prison-select .prison-select-right .selectedUseWrap .selectedUse[data-v-292676fc]{width:100%;padding:6px 1px;background:#73b4f8;font-size:14px;margin:0 4% 10px;border-radius:4px}.use-form-title[data-v-292676fc]{display:flex;min-width:46px;font-size:16px}.use-list[data-v-292676fc]{width:100%;display:flex;padding:16px 0 0 10px;flex-wrap:wrap;font-family:MicrosoftYaHei;font-weight:400;font-size:16px;color:#00244a;height:525px;overflow-y:auto}.use-list .use-list-box[data-v-292676fc]{width:32%;height:210px;border:1px solid #c9ddf0;border-radius:6px;margin:0 10px 10px 0;padding:10px;box-shadow:0 6px 14px 1px rgba(7,31,88,.1);cursor:pointer;position:relative}.use-list .use-list-box[data-v-292676fc]:hover{border:1px solid #2390ff}.user-flex[data-v-292676fc]{display:flex;align-items:center;justify-content:space-between}.user-flex-sm[data-v-292676fc]{display:flex;align-items:center;position:relative;width:100%}.ivu-btn[data-v-292676fc]{font-family:MicrosoftYaHei;font-weight:400;font-size:16px}.grayBg[data-v-292676fc]{background:#daebfa;padding:3px 6px;border-radius:4px}.fontType[data-v-292676fc]{font-style:normal;font-size:18px}.redColor[data-v-292676fc]{color:red}.blueColor[data-v-292676fc]{color:#3473ca}.ZS[data-v-292676fc]{background-color:#2b5fda;color:#f1f9fa;padding:2px 6px;border-radius:4px;position:absolute;right:0}.user-flex .rybh[data-v-292676fc]{font-size:14px;display:flex;align-items:center;width:100%}.userName[data-v-292676fc]{font-size:18px}.userName01[data-v-292676fc]{color:#ed4014}.userName02[data-v-292676fc]{color:#f90}.userName03[data-v-292676fc]{color:#19be6b}.userName04[data-v-292676fc]{color:#2db7f5}.user-number[data-v-292676fc]{font-size:30px;font-weight:700;width:52px;height:51px;position:relative;text-align:center;line-height:60px}.user-number .circle[data-v-292676fc]{position:absolute;left:9px;top:-1px;width:31px;height:13px;border-radius:0 0 40px 40px;background-color:#fff}.user-number01[data-v-292676fc]{border:1px solid #ed4014;background:#ed4014}.user-number01 .circle[data-v-292676fc]{border-right:1px solid #ed4014;border-bottom:1px solid #ed4014;border-left:1px solid #ed4014}.user-number02[data-v-292676fc]{border:1px solid #f90;background:#f90}.user-number02 .circle[data-v-292676fc]{border-right:1px solid #f90;border-bottom:1px solid #f90;border-left:1px solid #f90}.user-number03[data-v-292676fc]{border:1px solid #19be6b;background:#19be6b}.user-number03 .circle[data-v-292676fc]{border-right:1px solid #19be6b;border-bottom:1px solid #19be6b;border-left:1px solid #19be6b}.user-number04[data-v-292676fc]{border:1px solid #2db7f5;background:#2db7f5}.user-number04 .circle[data-v-292676fc]{border-right:1px solid #2db7f5;border-bottom:1px solid #2db7f5;border-left:1px solid #2db7f5}.zgWrap[data-v-292676fc]{margin-top:3px;border-top:1px dashed #f1f9fa;padding-top:8px}.use-list-box.checked[data-v-292676fc]{border-color:#027bff!important}.checkedIcon[data-v-292676fc]{position:absolute;left:-4px;top:-4px}.pageWrap[data-v-292676fc]{display:flex;justify-content:flex-end;padding:0 16px 6px 0;margin-top:6px;width:100%}.prison-select-left-child:first-of-type .jsName[data-v-292676fc]{font-size:18px}.userXb[data-v-292676fc]{position:absolute;right:10px}.noData[data-v-292676fc]{font-size:16px;margin:40% 0}.noData[data-v-292676fc],.noUseData[data-v-292676fc]{text-align:center;font-family:MicrosoftYaHei;font-weight:400;color:#a2acc6}.noUseData[data-v-292676fc]{font-size:20px;margin:10% auto}.rybhZs[data-v-292676fc]{width:65%;display:inline-block;text-overflow:ellipsis;overflow:hidden;word-break:break-all;white-space:nowrap}.roomName.active[data-v-292676fc]{color:#027bff!important}", ""]);
|
|
693
717
|
|
|
694
718
|
// exports
|
|
695
719
|
|
|
@@ -1150,7 +1174,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHIAAACNCAMAAABc
|
|
|
1150
1174
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1151
1175
|
|
|
1152
1176
|
"use strict";
|
|
1153
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"prison-select"},[_c('div',{staticClass:"prison-select-left"},_vm._l((_vm.jsData),function(item,index){return _c('div',{key:index},[_c('div',{class:['prison-select-left-child', _vm.openCurRoom == index ? 'active' : ''],on:{"click":function($event){return _vm.openRoom(item, index)}}},[_c('div',{staticStyle:{"width":"70%","display":"flex","align-items":"center"}},[_c('div',{staticClass:"prison-select-left-childDiv"},[(item.areaName == '全部')?_c('img',{staticStyle:{"width":"36px","height":"36px"},attrs:{"src":__webpack_require__(11)}}):_c('Icon',{attrs:{"type":"ios-calculator","size":40,"color":"#027bff"}})],1),_vm._v(" "),_c('span',{staticClass:"jsName",style:({ 'color': item.areaName != '全部' ? '' : '#3398fe', })},[_vm._v(_vm._s(item.areaName))])]),_vm._v(" "),(item.areaName != '全部')?_c('Icon',{staticStyle:{"padding-right":"10px"},attrs:{"type":_vm.openCurRoom == index ? 'ios-arrow-down' : 'ios-arrow-forward',"size":20}}):_vm._e()],1),_vm._v(" "),(_vm.openCurRoom == index)?_c('div',{staticClass:"roomNameWrap"},_vm._l((item.children),function(ele,i){return _c('p',{key:i + 'areaName',class:['roomName', _vm.page.roomCode == ele.roomCode ? 'active' : ''],on:{"click":function($event){return _vm.getUserData(item, ele)}}},[_vm._v(_vm._s(ele.roomName))])}),0):_vm._e()])}),0),_vm._v(" "),_c('div',{staticClass:"prison-select-center"},[_c('div',{staticStyle:{"display":"flex","padding":"0 16px 16px 16px","align-items":"center"}},[_c('span',{staticClass:"use-form-title"},[_vm._v("姓 名:")]),_vm._v(" "),_c('Input',{staticStyle:{"width":"160px","height":"30px"},on:{"input":_vm.search},model:{value:(_vm.page.xm),callback:function ($$v) {_vm.$set(_vm.page, "xm", $$v)},expression:"page.xm"}}),_vm._v(" "),_c('span',{staticClass:"use-form-title",staticStyle:{"width":"90px"}},[_vm._v(" 入所时间:")]),_vm._v(" "),_c('el-date-picker',{staticStyle:{"width":"380px"},attrs:{"size":"small","type":"datetimerange","format":"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","placeholder":"请选择"},model:{value:(_vm.page.rssj),callback:function ($$v) {_vm.$set(_vm.page, "rssj", $$v)},expression:"page.rssj"}}),_vm._v(" "),_c('div',[_vm._v("\n "),_c('Button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")]),_vm._v("\n "),_c('Button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.search}},[_vm._v("搜索")]),_vm._v("\n "),(_vm.showSelectAllBtn)?_c('Button',{attrs:{"type":"success","size":"small"},on:{"click":_vm.selectAllInRoom}},[_vm._v("全选")]):_vm._e()],1)],1),_vm._v(" "),(_vm.userList && _vm.userList.length > 0)?_c('div',{staticClass:"use-list"},_vm._l((_vm.userList),function(item,index){return _c('div',{key:index,class:['use-list-box', item.checked ? 'checked' : ''],on:{"click":function($event){return _vm.selectCur(item)}}},[_c('div',{staticClass:"user-flex"},[_c('p',{staticClass:"rybh"},[_vm._v("人员编号:"),_c('span',{staticClass:"rybhZs",attrs:{"title":item.rybh}},[_vm._v(_vm._s(item.rybh))])]),_c('span',{staticClass:"userXb"},[_c('img',{attrs:{"src":item.xb == '1' ? _vm.men : _vm.women}})])]),_vm._v(" "),_c('div',{staticClass:"user-flex-sm"},[_c('img',{staticStyle:{"width":"88px","height":"110px","margin-right":"10px"},attrs:{"src":item.frontPhoto ? _vm.http + item.frontPhoto : _vm.defaultImg}}),_vm._v(" "),_c('div',{staticStyle:{"width":"100%"}},[_c('p',{staticClass:"user-flex-sm"},[_c('span',[_c('i',{staticClass:"fontType redColor"},[_vm._v(_vm._s(item.roomName))])]),_c('span',{staticClass:"ZS"},[_vm._v(_vm._s(item.ryztName))])]),_vm._v(" "),_c('p',[_c('span',[_vm._v("铺位号:"),_c('i',{staticClass:"fontType blueColor"},[_vm._v(_vm._s(item.cwh))])]),_c('span',{})]),_vm._v(" "),_c('div',{staticClass:"user-flex"},[_c('div',[_c('p',[_c('span',{staticClass:"userName"},[_vm._v(_vm._s(item.xm))])]),_vm._v(" "),_c('p',[(item.age || item.zjhm)?_c('span',[_vm._v(_vm._s(item.age ? item.age : _vm.calculateAgeFromID(item.zjhm))+"岁")]):_c('span',[_vm._v("年龄未知")]),_vm._v("-"),_c('span',[_vm._v(_vm._s(item.mzName))])])]),_vm._v(" "),(item.zzczjg)?_c('div',[_c('p',{staticClass:"grayBg"},[_vm._v(_vm._s(item.zzczjg))])]):_vm._e()
|
|
1177
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"prison-select"},[_c('div',{staticClass:"prison-select-left"},_vm._l((_vm.jsData),function(item,index){return _c('div',{key:index},[_c('div',{class:['prison-select-left-child', _vm.openCurRoom == index ? 'active' : ''],on:{"click":function($event){return _vm.openRoom(item, index)}}},[_c('div',{staticStyle:{"width":"70%","display":"flex","align-items":"center"}},[_c('div',{staticClass:"prison-select-left-childDiv"},[(item.areaName == '全部')?_c('img',{staticStyle:{"width":"36px","height":"36px"},attrs:{"src":__webpack_require__(11)}}):_c('Icon',{attrs:{"type":"ios-calculator","size":40,"color":"#027bff"}})],1),_vm._v(" "),_c('span',{staticClass:"jsName",style:({ 'color': item.areaName != '全部' ? '' : '#3398fe', })},[_vm._v(_vm._s(item.areaName))])]),_vm._v(" "),(item.areaName != '全部')?_c('Icon',{staticStyle:{"padding-right":"10px"},attrs:{"type":_vm.openCurRoom == index ? 'ios-arrow-down' : 'ios-arrow-forward',"size":20}}):_vm._e()],1),_vm._v(" "),(_vm.openCurRoom == index)?_c('div',{staticClass:"roomNameWrap"},_vm._l((item.children),function(ele,i){return _c('p',{key:i + 'areaName',class:['roomName', _vm.page.roomCode == ele.roomCode ? 'active' : ''],on:{"click":function($event){return _vm.getUserData(item, ele)}}},[_vm._v(_vm._s(ele.roomName))])}),0):_vm._e()])}),0),_vm._v(" "),_c('div',{staticClass:"prison-select-center"},[_c('div',{staticStyle:{"display":"flex","padding":"0 16px 16px 16px","align-items":"center"}},[_c('span',{staticClass:"use-form-title"},[_vm._v("姓 名:")]),_vm._v(" "),_c('Input',{staticStyle:{"width":"160px","height":"30px"},on:{"input":_vm.search},model:{value:(_vm.page.xm),callback:function ($$v) {_vm.$set(_vm.page, "xm", $$v)},expression:"page.xm"}}),_vm._v(" "),_c('span',{staticClass:"use-form-title",staticStyle:{"width":"90px"}},[_vm._v(" 入所时间:")]),_vm._v(" "),_c('el-date-picker',{staticStyle:{"width":"380px"},attrs:{"size":"small","type":"datetimerange","format":"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","placeholder":"请选择"},model:{value:(_vm.page.rssj),callback:function ($$v) {_vm.$set(_vm.page, "rssj", $$v)},expression:"page.rssj"}}),_vm._v(" "),_c('div',[_vm._v("\n "),_c('Button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重置")]),_vm._v("\n "),_c('Button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.search}},[_vm._v("搜索")]),_vm._v("\n "),(_vm.showSelectAllBtn)?_c('Button',{attrs:{"type":"success","size":"small"},on:{"click":_vm.selectAllInRoom}},[_vm._v("全选")]):_vm._e()],1)],1),_vm._v(" "),(_vm.userList && _vm.userList.length > 0)?_c('div',{staticClass:"use-list"},_vm._l((_vm.userList),function(item,index){return _c('div',{key:index,class:['use-list-box', item.checked ? 'checked' : ''],on:{"click":function($event){return _vm.selectCur(item)}}},[_c('div',{staticClass:"user-flex"},[_c('p',{staticClass:"rybh"},[_vm._v("人员编号:"),_c('span',{staticClass:"rybhZs",attrs:{"title":item.rybh}},[_vm._v(_vm._s(item.rybh))])]),_c('span',{staticClass:"userXb"},[_c('img',{attrs:{"src":item.xb == '1' ? _vm.men : _vm.women}})])]),_vm._v(" "),_c('div',{staticClass:"user-flex-sm"},[_c('img',{staticStyle:{"width":"88px","height":"110px","margin-right":"10px"},attrs:{"src":item.frontPhoto ? _vm.http + item.frontPhoto : _vm.defaultImg}}),_vm._v(" "),_c('div',{staticStyle:{"width":"100%"}},[_c('p',{staticClass:"user-flex-sm"},[_c('span',[_c('i',{staticClass:"fontType redColor"},[_vm._v(_vm._s(item.roomName))])]),_c('span',{staticClass:"ZS"},[_vm._v(_vm._s(item.ryztName))])]),_vm._v(" "),_c('p',[_c('span',[_vm._v("铺位号:"),_c('i',{staticClass:"fontType blueColor"},[_vm._v(_vm._s(item.cwh))])]),_c('span',{})]),_vm._v(" "),_c('div',{staticClass:"user-flex"},[_c('div',[_c('p',[_c('span',{staticClass:"userName",class:'userName' + item.sbfbs},[_vm._v(_vm._s(item.xm))])]),_vm._v(" "),_c('p',[(item.age || item.zjhm)?_c('span',[_vm._v(_vm._s(item.age ? item.age : _vm.calculateAgeFromID(item.zjhm))+"岁")]):_c('span',[_vm._v("年龄未知")]),_vm._v("-"),_c('span',[_vm._v(_vm._s(item.mzName))])])]),_vm._v(" "),(item.sbfbsName)?_c('div',{staticClass:"user-number",class:'user-number' + item.sbfbs},[_vm._v("\n "+_vm._s(item.sbfh)+"\n "),_c('div',{staticClass:"circle"})]):_vm._e()]),_vm._v(" "),(item.zzczjg)?_c('div',[_c('p',{staticClass:"grayBg"},[_vm._v(_vm._s(item.zzczjg))])]):_vm._e(),_vm._v(" "),_c('p',[_vm._v(_vm._s(item.zjhm))])]),_vm._v(" "),_c('div')]),_vm._v(" "),_c('div',{staticClass:"user-flex zgWrap"},[(item.bar)?_c('div',[_c('span',{staticClass:"grayBg"},[_vm._v("主管")]),_vm._v(" "+_vm._s(item.zgmjName))]):_vm._e(),_vm._v(" "),(item.xg)?_c('div',[_c('span',{staticClass:"grayBg"},[_vm._v("协管")]),_vm._v(" "+_vm._s(item.xg))]):_vm._e()]),_vm._v(" "),(item.checked)?_c('Icon',{staticClass:"checkedIcon",attrs:{"type":"md-checkmark-circle","size":26,"color":"#027bff"}}):_vm._e(),_vm._v(" "),(_vm.spinShow)?_c('Spin',{attrs:{"size":"large","fix":""}}):_vm._e()],1)}),0):_c('div',{staticClass:"use-list"},[_vm._m(0)]),_vm._v(" "),_c('div',{staticClass:"pageWrap"},[_c('Page',{staticClass:"pageWrap",attrs:{"total":_vm.total,"size":"small","show-elevator":"","show-sizer":"","page-size-opts":_vm.pageSizeOpts,"show-total":"","page-size":_vm.page.pageSize,"current":_vm.page.pageNo},on:{"on-prev":_vm.getNo,"on-next":_vm.getNo,"on-change":_vm.getNo,"on-page-size-change":_vm.getSize}})],1)]),_vm._v(" "),_c('div',{staticClass:"prison-select-right"},[_c('p',{staticClass:"prison-select-right-title"},[_vm._v("已选择人员("+_vm._s(_vm.checkedUse.length)+")")]),_vm._v(" "),(_vm.checkedUse && _vm.checkedUse.length > 0)?_c('div',{staticClass:"selectedUseWrap"},[_vm._l((_vm.checkedUse),function(item,index){return _c('p',{key:index + 'userList',staticClass:"selectedUse"},[_c('span',[_vm._v(_vm._s(item.roomName))]),_vm._v(" | "),_c('span',[_vm._v(_vm._s(item.xm))]),_vm._v(" \n "),_c('Icon',{staticStyle:{"cursor":"pointer"},attrs:{"type":"md-close-circle","size":20,"color":"red"},on:{"click":function($event){return _vm.cancalSelect(item, index)}}})],1)})],2):_c('p',{staticClass:"noData"},[_vm._v("暂未选择人员")])])])}
|
|
1154
1178
|
var staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{"margin":"auto"}},[_c('img',{attrs:{"src":__webpack_require__(12)}}),_vm._v(" "),_c('p',{staticClass:"noUseData"},[_vm._v("暂无人员数据")])])}]
|
|
1155
1179
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
1156
1180
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|