sd-prison-select 1.0.25 → 1.0.27
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 +13 -7
- package/dist/sd-prison-select.js.map +1 -1
- package/package.json +2 -2
- package/dist/sd-data-grid.js +0 -16410
- package/dist/sd-data-grid.js.map +0 -1
package/dist/sd-prison-select.js
CHANGED
|
@@ -386,8 +386,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
386
386
|
openRoom: function openRoom(item, index) {
|
|
387
387
|
if (this.openCurRoom == index) {
|
|
388
388
|
this.openCurRoom = 0;
|
|
389
|
+
this.page.areaCode = '';
|
|
390
|
+
this.page.roomCode = '';
|
|
391
|
+
this.getUserData();
|
|
389
392
|
} else {
|
|
390
393
|
this.openCurRoom = index;
|
|
394
|
+
this.page.areaCode = item.areaCode;
|
|
395
|
+
this.page.roomCode = '';
|
|
396
|
+
this.getUserData();
|
|
391
397
|
}
|
|
392
398
|
if (item.areaName == '全部') {
|
|
393
399
|
this.page.areaCode = '';
|
|
@@ -713,7 +719,7 @@ var Plugin = {
|
|
|
713
719
|
"use strict";
|
|
714
720
|
/* 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);
|
|
715
721
|
/* unused harmony namespace reexport */
|
|
716
|
-
/* harmony import */ var
|
|
722
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4c9e834e_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);
|
|
717
723
|
function injectStyle (ssrContext) {
|
|
718
724
|
__webpack_require__(3)
|
|
719
725
|
}
|
|
@@ -728,12 +734,12 @@ var __vue_template_functional__ = false
|
|
|
728
734
|
/* styles */
|
|
729
735
|
var __vue_styles__ = injectStyle
|
|
730
736
|
/* scopeId */
|
|
731
|
-
var __vue_scopeId__ = "data-v-
|
|
737
|
+
var __vue_scopeId__ = "data-v-4c9e834e"
|
|
732
738
|
/* moduleIdentifier (server only) */
|
|
733
739
|
var __vue_module_identifier__ = null
|
|
734
740
|
var Component = normalizeComponent(
|
|
735
741
|
__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 */],
|
|
736
|
-
|
|
742
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4c9e834e_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 */],
|
|
737
743
|
__vue_template_functional__,
|
|
738
744
|
__vue_styles__,
|
|
739
745
|
__vue_scopeId__,
|
|
@@ -754,7 +760,7 @@ var content = __webpack_require__(4);
|
|
|
754
760
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
755
761
|
if(content.locals) module.exports = content.locals;
|
|
756
762
|
// add the styles to the DOM
|
|
757
|
-
var update = __webpack_require__(6)("
|
|
763
|
+
var update = __webpack_require__(6)("145fbdc5", content, true);
|
|
758
764
|
|
|
759
765
|
/***/ }),
|
|
760
766
|
/* 4 */
|
|
@@ -765,7 +771,7 @@ exports = module.exports = __webpack_require__(5)(false);
|
|
|
765
771
|
|
|
766
772
|
|
|
767
773
|
// module
|
|
768
|
-
exports.push([module.i, ".prison-select[data-v-
|
|
774
|
+
exports.push([module.i, ".prison-select[data-v-4c9e834e]{display:flex;width:100%;font-family:MicrosoftYaHei;font-weight:400;font-size:16px;color:#00244a}.prison-select .com-prison-scrollbar[data-v-4c9e834e]::-webkit-scrollbar{width:4px!important}.prison-select .prison-select-left[data-v-4c9e834e]{width:15%;max-height:600px;overflow-y:overlay;padding:0 10px}.prison-select .prison-select-left .roomNameWrap .roomName[data-v-4c9e834e]{color:#415060;font-size:16px;text-indent:38px;line-height:32px;cursor:pointer}.prison-select .prison-select-left .roomNameWrap .roomName[data-v-4c9e834e]:hover{background:#e9edf5}.prison-select .prison-select-left .roomNameWrap .roomName[data-v-4c9e834e]:last-of-type{border-bottom:1px solid #e9edf5}.prison-select .prison-select-left .prison-select-left-child.active[data-v-4c9e834e]{color:#027bff!important;background:#e8f7ff;border-radius:4px}.prison-select .prison-select-left .prison-select-left-child[data-v-4c9e834e]{width:100%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9edf5;padding:10px 12px;cursor:pointer;font-size:17px}.prison-select .prison-select-left .prison-select-left-child[data-v-4c9e834e]:hover{color:#027bff}.prison-select .prison-select-left .prison-select-left-child .prison-select-left-childDiv[data-v-4c9e834e]{background:#e9edf5;display:flex;align-items:center;justify-content:center;border-radius:6px;margin-right:10px}.prison-select .prison-select-left-child[data-v-4c9e834e]:last-of-type{border-bottom:none}.prison-select .prison-select-center[data-v-4c9e834e]{width:85%;border-right:1px solid #e9edf5;border-left:1px solid #e9edf5}.prison-select .prison-select-center .search-top[data-v-4c9e834e]{display:flex;padding:0 16px 16px;align-items:center;border-bottom:1px solid #e9edf5;justify-content:space-between}.prison-select .prison-select-center .search-top .search-top-left[data-v-4c9e834e]{display:flex;align-items:center}.prison-select .prison-select-center .prison-select-btm[data-v-4c9e834e]{display:flex}.prison-select .prison-select-center .prison-select-btm-left[data-v-4c9e834e]{width:85%}.prison-select .prison-select-center .prison-select-right[data-v-4c9e834e]{width:15%;border-left:1px solid #e9edf5;padding:10px 0 10px 10px}.prison-select .prison-select-center .prison-select-right .prison-select-right-title[data-v-4c9e834e]{border-left:4px solid #2b5fda;padding-left:10px;margin:10px 0}.prison-select .prison-select-center .prison-select-right .selectedUseWrap[data-v-4c9e834e]{width:100%;height:580px;overflow-y:visible;overflow-x:hidden;padding-right:8px}.prison-select .prison-select-center .prison-select-right .selectedUseWrap .selectedUse[data-v-4c9e834e]{width:100%;padding:6px;background:#f3f6fd;font-size:14px;border-radius:4px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.prison-select .prison-select-center .prison-select-right .selectedUseWrap .selectedUse .selectedUseImg[data-v-4c9e834e]{width:40px;height:40px;margin-right:5px}.prison-select .prison-select-center .prison-select-right .selectedUseWrap .selectedUse .selectedUseInfo .xm[data-v-4c9e834e]{font-weight:700;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.prison-select .prison-select-center .prison-select-right .selectedUseWrap .selectedUse .selectedUseInfo .roomName[data-v-4c9e834e]{color:#2b3646}.use-form-title[data-v-4c9e834e]{display:flex;min-width:46px;font-size:16px}.use-list[data-v-4c9e834e]{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;overflow-x:hidden}.use-list .use-list-box[data-v-4c9e834e]{width:32%;height:210px;border:2px solid #c9ddf0;border-radius:8px;margin:0 10px 10px 0;padding:8px;box-shadow:0 2px 6px 1px rgba(0,34,84,.12);cursor:pointer;position:relative}.use-list .use-list-box[data-v-4c9e834e]:hover{border:2px solid #007eff}.user-flex[data-v-4c9e834e]{display:flex;align-items:center}.user-flex-sm[data-v-4c9e834e]{display:flex;position:relative;width:100%}.user-flex-sm .user-img[data-v-4c9e834e]{display:flex;flex-direction:column;align-items:center;margin-right:10px}.user-flex-sm .user-img img[data-v-4c9e834e]{width:104px;height:134px;border:4px solid;border-image:linear-gradient(180deg,#f3f6fd,#f3f6fd) 1;border-radius:6px;position:relative}.user-flex-sm .user-img-1[data-v-4c9e834e]{border-image:linear-gradient(180deg,#f56262,#f53f3f) 1!important}.user-flex-sm .user-img-2[data-v-4c9e834e]{border-image:linear-gradient(180deg,#ffd966,#fb3) 1!important}.user-flex-sm .user-img-3[data-v-4c9e834e]{border-image:linear-gradient(180deg,#4dd96e,#24b446) 1!important}.user-flex-sm .user-img-4[data-v-4c9e834e]{border-image:linear-gradient(180deg,#325cfc,#0034fc) 1!important}.user-flex-sm .user-img .fx[data-v-4c9e834e]{border-radius:0 0 6px 6px;color:#fff;font-weight:400;font-size:14px;padding:0 8px;text-align:center;margin-top:-4px;z-index:99;height:20px;line-height:20px}.user-flex-sm .user-img .user-fx-1[data-v-4c9e834e]{background:#f53f3f}.user-flex-sm .user-img .user-fx-2[data-v-4c9e834e]{background:#fb3}.user-flex-sm .user-img .user-fx-3[data-v-4c9e834e]{background:#24b446}.user-flex-sm .user-img .user-fx-4[data-v-4c9e834e]{background:#0034fc}.user-flex-sm .userAge[data-v-4c9e834e]{font-size:16px;color:#415060;margin-top:4px}.user-flex-sm .user-roomName[data-v-4c9e834e]{font-size:16px;font-weight:700;margin-top:4px}.user-flex-sm .user-cwh img[data-v-4c9e834e]{width:16px;height:16px}.user-flex-sm .user-cwh p[data-v-4c9e834e]{margin-left:8px;color:#415060}.user-flex-sm .user-flex-top[data-v-4c9e834e]{justify-content:space-between}.user-flex-sm .user-flex-top .userName[data-v-4c9e834e]{margin-right:5px;font-weight:700;font-size:18px;color:#00244a}.tab-class[data-v-4c9e834e]{padding:0 6px;border-radius:4px;margin-right:4px}.tab-box-flex[data-v-4c9e834e]{display:flex;flex-wrap:wrap}.tab-box-flex span[data-v-4c9e834e]{margin-bottom:5px}.ivu-btn[data-v-4c9e834e]{font-family:MicrosoftYaHei;font-weight:400;font-size:16px}.grayBg[data-v-4c9e834e]{background:#daebfa;padding:3px 6px;border-radius:4px}.fontType[data-v-4c9e834e]{font-style:normal;font-size:18px}.redColor[data-v-4c9e834e]{color:red}.blueColor[data-v-4c9e834e]{color:#3473ca}.ZS[data-v-4c9e834e]{background-color:#2b5fda;color:#e9edf5;padding:2px 6px;border-radius:4px;position:absolute;right:0}.user-flex .rybh[data-v-4c9e834e]{font-size:14px;display:flex;align-items:center;width:100%}.userName[data-v-4c9e834e]{font-size:18px}.userName01[data-v-4c9e834e]{color:#f53f3f}.userName02[data-v-4c9e834e]{color:#fb3}.userName03[data-v-4c9e834e]{color:#24b446}.userName04[data-v-4c9e834e]{color:#0034fc}.user-number[data-v-4c9e834e]{font-size:26px;font-weight:700;width:52px;height:51px;position:relative;text-align:center;line-height:60px;color:#fff}.user-number .circle[data-v-4c9e834e]{position:absolute;left:9px;top:-1px;width:31px;height:13px;border-radius:0 0 40px 40px;background-color:#fff}.user-number01[data-v-4c9e834e]{border:1px solid #f53f3f;background:#f53f3f}.user-number01 .circle[data-v-4c9e834e]{border-right:1px solid #f53f3f;border-bottom:1px solid #f53f3f;border-left:1px solid #f53f3f}.user-number02[data-v-4c9e834e]{border:1px solid #fb3;background:#fb3}.user-number02 .circle[data-v-4c9e834e]{border-right:1px solid #fb3;border-bottom:1px solid #fb3;border-left:1px solid #fb3}.user-number03[data-v-4c9e834e]{border:1px solid #24b446;background:#24b446}.user-number03 .circle[data-v-4c9e834e]{border-right:1px solid #24b446;border-bottom:1px solid #24b446;border-left:1px solid #24b446}.user-number04[data-v-4c9e834e]{border:1px solid #0034fc;background:#0034fc}.user-number04 .circle[data-v-4c9e834e]{border-right:1px solid #0034fc;border-bottom:1px solid #0034fc;border-left:1px solid #0034fc}.zgWrap[data-v-4c9e834e]{margin-top:3px;border-top:1px dashed #e9edf5;padding-top:8px}.use-list-box.checked[data-v-4c9e834e]{border-color:#027bff!important}.checkedIcon[data-v-4c9e834e]{position:absolute;left:4px;top:0}.pageWrap[data-v-4c9e834e]{display:flex;justify-content:flex-end;padding:0 16px 6px 0;margin-top:10px;width:100%}.pageWrap/deep/.ivu-page-item-active[data-v-4c9e834e]{border-color:#3491fa!important;background-color:#3491fa!important}.pageWrap/deep/.ivu-page-item[data-v-4c9e834e]:hover{background-color:#e8f7ff!important;border-color:#dcdee2!important}.pageWrap/deep/.ivu-page-item:hover a[data-v-4c9e834e]{color:#515a6e}.pageWrap/deep/.ivu-page-next[data-v-4c9e834e]:hover{background-color:#e8f7ff!important;border-color:#dcdee2!important}.pageWrap/deep/.ivu-page-next:hover a[data-v-4c9e834e]{color:#515a6e}.pageWrap/deep/.ivu-page-prev[data-v-4c9e834e]:hover{background-color:#e8f7ff!important;border-color:#dcdee2!important}.pageWrap/deep/.ivu-page-prev:hover a[data-v-4c9e834e]{color:#515a6e}.pageWrap/deep/.ivu-select-selection[data-v-4c9e834e]:hover{background-color:#e8f7ff!important;border-color:#dcdee2!important}.pageWrap/deep/.ivu-select-selection[data-v-4c9e834e]:focus{border-color:#dcdee2!important}.pageWrap/deep/.ivu-select-item-selected[data-v-4c9e834e]{color:#3491fa}.pageWrap/deep/.ivu-page-options-elevator input[data-v-4c9e834e]:hover{background-color:#e8f7ff!important;border-color:#dcdee2!important}.pageWrap/deep/.ivu-page-options-elevator input[data-v-4c9e834e]:focus{border-color:#dcdee2!important}.prison-select-left-child:first-of-type .jsName[data-v-4c9e834e]{font-size:18px}.userXb[data-v-4c9e834e]{position:absolute;right:10px}.noData[data-v-4c9e834e]{font-size:16px;margin:40% 0}.noData[data-v-4c9e834e],.noUseData[data-v-4c9e834e]{text-align:center;font-family:MicrosoftYaHei;font-weight:400;color:#a2acc6}.noUseData[data-v-4c9e834e]{font-size:20px;margin:10% auto}.rybhZs[data-v-4c9e834e]{width:65%;display:inline-block;text-overflow:ellipsis;overflow:hidden;word-break:break-all;white-space:nowrap}.roomName.active[data-v-4c9e834e]{color:#027bff!important}", ""]);
|
|
769
775
|
|
|
770
776
|
// exports
|
|
771
777
|
|
|
@@ -1226,8 +1232,8 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHIAAACNCAMAAABc
|
|
|
1226
1232
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1227
1233
|
|
|
1228
1234
|
"use strict";
|
|
1229
|
-
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 com-prison-scrollbar"},_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":"81%","display":"flex","align-items":"center"}},[_c('div',{staticClass:"prison-select-left-childDiv"},[(item.areaName == '全部')?_c('img',{staticStyle:{"width":"16px","height":"16px"},attrs:{"src":__webpack_require__(11)}}):_c('img',{staticStyle:{"width":"16px","height":"16px"},attrs:{"src":__webpack_require__(12)}})]),_vm._v(" "),_c('span',{staticClass:"jsName",style:({ 'color': item.areaName != '全部' ? '' : '#3398fe', })},[_vm._v(_vm._s(item.areaName))])]),_vm._v(" "),(item.areaName != '全部')?_c('Icon',{staticStyle:{"color":"#5F709A"},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',{staticClass:"search-top"},[_c('div',{staticClass:"search-top-left"},[_c('span',{staticClass:"use-form-title"},[_vm._v("姓 名:")]),_vm._v(" "),_c('Input',{staticStyle:{"width":"160px","height":"30px"},on:{"input":_vm.search,"on-change":_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('span',{staticClass:"use-form-title"},[_vm._v(" 衣服号:")]),_vm._v(" "),_c('Input',{staticStyle:{"width":"100px","height":"30px"},model:{value:(_vm.page.sbfh),callback:function ($$v) {_vm.$set(_vm.page, "sbfh", $$v)},expression:"page.sbfh"}})],1),_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)]),_vm._v(" "),_c('div',{staticClass:"prison-select-btm"},[_c('div',{staticClass:"prison-select-btm-left"},[(_vm.userList && _vm.userList.length > 0)?_c('div',{staticClass:"use-list com-prison-scrollbar"},_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-sm"},[_c('div',{staticClass:"user-img"},[_c('img',{class:'user-img-' + item.fxdj,attrs:{"src":item.frontPhoto ? _vm.http + item.frontPhoto : _vm.defaultImg}}),_vm._v(" "),_c('div',{staticClass:"fx",class:[item.fxdjName ? 'user-fx-' + item.fxdj : '']},[_vm._v(_vm._s(item.fxdjName))])]),_vm._v(" "),_c('div',{staticStyle:{"width":"100%"}},[_c('div',{staticClass:"user-flex user-flex-top",staticStyle:{"width":"100%"}},[_c('div',{style:(item.sbfbsName?'width:70%':'width:100%')},[_c('div',{staticClass:"user-flex"},[_c('p',{staticClass:"userName textOverflow",style:(item.jfcs && _vm.serverConfig.jfcsShow?'width:40%':'width:50%'),attrs:{"title":item.xm}},[_vm._v(_vm._s(item.xm))]),_vm._v(" "),(item.jfcs && _vm.serverConfig.jfcsShow)?_c('Tag',{attrs:{"color":"warning"}},[_vm._v(_vm._s('拒服药'+item.jfcs+'次'))]):_vm._e()],1),_vm._v(" "),_c('p',{staticClass:"userAge"},[_c('img',{attrs:{"src":item.xb == '1' ? _vm.men : _vm.women}}),(item.age || item.zjhm)?_c('span',[_vm._v(_vm._s(item.age ? item.age :
|
|
1230
|
-
_vm.calculateAgeFromID(item.zjhm))+"岁")]):_c('span',[_vm._v("年龄未知")]),_vm._v("-"),_c('span',[_vm._v(_vm._s(item.mzName))])]),_vm._v(" "),_c('p',{staticClass:"user-roomName redColor"},[_vm._v(_vm._s(item.roomName))])]),_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(" "),_c('div',{staticClass:"user-flex user-cwh"},[_c('img',{attrs:{"src":__webpack_require__(13)}}),_vm._v(" "),_c('p',[_vm._v(_vm._s(item.cwh || '--'))])]),_vm._v(" "),_c('div',{staticClass:"user-flex user-cwh"},[_c('img',{attrs:{"src":__webpack_require__(14)}}),_vm._v(" "),_c('p',[_vm._v(_vm._s(item.zjhm || '--'))])]),_vm._v(" "),_c('Poptip',{attrs:{"placement":"bottom","width":"
|
|
1235
|
+
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 com-prison-scrollbar"},_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":"81%","display":"flex","align-items":"center"}},[_c('div',{staticClass:"prison-select-left-childDiv"},[(item.areaName == '全部')?_c('img',{staticStyle:{"width":"16px","height":"16px"},attrs:{"src":__webpack_require__(11)}}):_c('img',{staticStyle:{"width":"16px","height":"16px"},attrs:{"src":__webpack_require__(12)}})]),_vm._v(" "),_c('span',{staticClass:"jsName textOverflow",style:({ 'color': item.areaName != '全部' ? '' : '#3398fe', }),attrs:{"title":item.areaName}},[_vm._v(_vm._s(item.areaName))])]),_vm._v(" "),(item.areaName != '全部')?_c('Icon',{staticStyle:{"color":"#5F709A"},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',{staticClass:"search-top"},[_c('div',{staticClass:"search-top-left"},[_c('span',{staticClass:"use-form-title"},[_vm._v("姓 名:")]),_vm._v(" "),_c('Input',{staticStyle:{"width":"160px","height":"30px"},on:{"input":_vm.search,"on-change":_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('span',{staticClass:"use-form-title"},[_vm._v(" 衣服号:")]),_vm._v(" "),_c('Input',{staticStyle:{"width":"100px","height":"30px"},model:{value:(_vm.page.sbfh),callback:function ($$v) {_vm.$set(_vm.page, "sbfh", $$v)},expression:"page.sbfh"}})],1),_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)]),_vm._v(" "),_c('div',{staticClass:"prison-select-btm"},[_c('div',{staticClass:"prison-select-btm-left"},[(_vm.userList && _vm.userList.length > 0)?_c('div',{staticClass:"use-list com-prison-scrollbar"},_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-sm"},[_c('div',{staticClass:"user-img"},[_c('img',{class:'user-img-' + item.fxdj,attrs:{"src":item.frontPhoto ? _vm.http + item.frontPhoto : _vm.defaultImg}}),_vm._v(" "),_c('div',{staticClass:"fx",class:[item.fxdjName ? 'user-fx-' + item.fxdj : '']},[_vm._v(_vm._s(item.fxdjName))])]),_vm._v(" "),_c('div',{staticStyle:{"width":"100%"}},[_c('div',{staticClass:"user-flex user-flex-top",staticStyle:{"width":"100%"}},[_c('div',{style:(item.sbfbsName?'width:70%':'width:100%')},[_c('div',{staticClass:"user-flex"},[_c('p',{staticClass:"userName textOverflow",style:(item.jfcs && _vm.serverConfig.jfcsShow?'width:40%':'width:50%'),attrs:{"title":item.xm}},[_vm._v(_vm._s(item.xm))]),_vm._v(" "),(item.jfcs && _vm.serverConfig.jfcsShow)?_c('Tag',{attrs:{"color":"warning"}},[_vm._v(_vm._s('拒服药'+item.jfcs+'次'))]):_vm._e()],1),_vm._v(" "),_c('p',{staticClass:"userAge"},[_c('img',{attrs:{"src":item.xb == '1' ? _vm.men : _vm.women}}),(item.age || item.zjhm)?_c('span',[_vm._v(_vm._s(item.age ? item.age :
|
|
1236
|
+
_vm.calculateAgeFromID(item.zjhm))+"岁")]):_c('span',[_vm._v("年龄未知")]),_vm._v("-"),_c('span',[_vm._v(_vm._s(item.mzName))])]),_vm._v(" "),_c('p',{staticClass:"user-roomName redColor"},[_vm._v(_vm._s(item.roomName))])]),_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(" "),_c('div',{staticClass:"user-flex user-cwh"},[_c('img',{attrs:{"src":__webpack_require__(13)}}),_vm._v(" "),_c('p',[_vm._v(_vm._s(item.cwh || '--'))])]),_vm._v(" "),_c('div',{staticClass:"user-flex user-cwh"},[_c('img',{attrs:{"src":__webpack_require__(14)}}),_vm._v(" "),_c('p',[_vm._v(_vm._s(item.zjhm || '--'))])]),_vm._v(" "),_c('Poptip',{attrs:{"placement":"bottom","width":"600","trigger":"hover"}},[(item.tagDOList)?_c('div',{staticClass:"user-flex user-cwh textOverflow",staticStyle:{"width":"100%"}},_vm._l((item.tagDOList),function(ele,index){return (index<4)?_c('span',{key:index,staticClass:"tab-class",style:(("color:" + (_vm.hexToRgba(ele.tagColor,1)) + ";background:" + (_vm.hexToRgba(ele.tagColor,0.2))))},[_vm._v(_vm._s(ele.tagAbbreviation))]):_vm._e()}),0):_vm._e(),_vm._v(" "),_c('div',{staticClass:"tab-box-flex",attrs:{"slot":"content"},slot:"content"},_vm._l((item.tagDOList),function(ele,index){return _c('span',{key:index,staticClass:"tab-class",style:(("color:" + (_vm.hexToRgba(ele.tagColor,1)) + ";background:" + (_vm.hexToRgba(ele.tagColor,0.2))))},[_vm._v(_vm._s(ele.tagName))])}),0)])],1)]),_vm._v(" "),_c('div',{staticClass:"user-flex",staticStyle:{"margin-top":"5px"}},[_c('span',{staticStyle:{"color":"#8D99A5"}},[_vm._v("人员编号:")]),_vm._v(" "),_c('span',{staticStyle:{"color":"#415060"}},[_vm._v(_vm._s(item.rybh))])]),_vm._v(" "),(item.checked)?_c('Checkbox',{staticClass:"checkedIcon",model:{value:(item.checked),callback:function ($$v) {_vm.$set(item, "checked", $$v)},expression:"item.checked"}}):_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,"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"},[(_vm.checkedUse && _vm.checkedUse.length > 0)?_c('div',{staticClass:"selectedUseWrap com-prison-scrollbar"},[_vm._l((_vm.checkedUse),function(item,index){return _c('div',{key:index + 'userList',staticClass:"selectedUse"},[_c('div',{staticStyle:{"display":"flex"}},[(item.xb == '1')?_c('img',{staticClass:"selectedUseImg",attrs:{"src":__webpack_require__(15),"alt":""}}):_c('img',{staticClass:"selectedUseImg",attrs:{"src":__webpack_require__(16),"alt":""}}),_vm._v(" "),_c('div',{staticClass:"selectedUseInfo"},[_c('p',{staticClass:"xm"},[_vm._v(_vm._s(item.xm))]),_vm._v(" "),_c('p',{staticClass:"roomName"},[_vm._v(_vm._s(item.roomName))])])]),_vm._v(" "),_c('Icon',{staticStyle:{"cursor":"pointer"},attrs:{"type":"md-close-circle","size":20,"color":"#C9CDD4"},on:{"click":function($event){return _vm.cancalSelect(item, index)}}})],1)})],2):_c('p',{staticClass:"noData"},[_vm._v("暂未选择人员")])])])])])}
|
|
1231
1237
|
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__(17)}}),_vm._v(" "),_c('p',{staticClass:"noUseData"},[_vm._v("暂无人员数据")])])}]
|
|
1232
1238
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
1233
1239
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|