UNPKG

sd-room-select

Version:
1,168 lines (1,056 loc) 79.7 kB
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define("sd-prison-select", [], factory); else if(typeof exports === 'object') exports["sd-prison-select"] = factory(); else root["sd-prison-select"] = factory(); })(typeof self !== 'undefined' ? self : this, function() { return /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = "/dist/"; /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 1); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ __webpack_exports__["a"] = ({ props: { ryzt: { type: String, // 是否查询所有人员 default: 'ALL' }, limit: { // 是否多选 type: Number, default: 999999 }, isMultiple: { // 是否多选 type: Boolean, default: true }, bjgrylx: { type: String, // 是否查询人员类型 default: '' }, // selectUseIds: { type: String, // 已选择人员 default: '' // '7aaf5d9403bc11f08fec0242ac110002,7aaf581a03bc11f08fec0242ac110002' } }, watch: { userList: { handler: function handler(n, o) { var _this = this; if (n && n.length > 0) { // const uniqueArr =this.checkedUse.filter((item, index) => this.checkedUse.findIndex(i => i.jgrybm === item.jgrybm) === index) // this.checkedUse=uniqueArr if (this.checkedUse && this.checkedUse.length > 0) { this.checkedUse.forEach(function (item, j) { n.forEach(function (ele, i) { if (item.jgrybm == ele.jgrybm) { _this.$set(_this.userList[i], 'checked', true); } }); }); } } }, deep: true, immediate: true }, selectUseIds: { handler: function handler(n, o) { if (n) { this.getAllUserData(); } }, deep: true, immediate: true } }, data: function data() { return { spinShow: false, defaultImg: __webpack_require__(9), http: serverConfig.severHttp, men: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEKADAAQAAAABAAAAEAAAAAA0VXHyAAABjklEQVQ4EcVSsUoDQRB9c3eJQbAwn6BFKlNYqAFtLQ0mGLERsRQLjZXaWgqxSilil4gJaa2FoEUKray1TgRFwuVux9nlclxiTCU4sLezM2/evZld4L+NxgnIV3iLoVIDGMvyYOGqlqc3HXcGkkMHRXwMxtxAWCmQMI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RnBpBirL7Tj1Uv6+ZqGFO7vOM+4WAJJEc5bmv1wM/9x8FaCPfyom4gr3LkTklMlKRbe5kkg0rqvOvz2eRX3V/LngHpeWkFKJkiGAAAAAASUVORK5CYII=', openCurRoom: 1, jsData: [], total: 0, page: { pageNo: 1, pageSize: 9, xm: '', rssj: [] }, userList: [], checkedUse: [], curRoom: '', pageSizeOpts: [9, 18, 27, 45, 72], showSelectAllBtn: false, // 控制全选按钮显示 currentRoomInfo: null // 存储当前选中的监室信息 }; }, mounted: function mounted() { this.getJqData(); // this.getAllUserData() }, methods: { calculateAgeFromID: function calculateAgeFromID(id) { if (id) { if (id.length && id.length !== 18) { return ''; } // Extract the birth date from the ID (yyyyMMdd format) var birthDateString = id.substring(6, 14); // Extracts yyyyMMdd var _ref = [birthDateString.substring(0, 4), birthDateString.substring(4, 6), birthDateString.substring(6, 8)], year = _ref[0], month = _ref[1], day = _ref[2]; // Create a Date object for the birth date var birthDate = new Date(year, month - 1, day); // Month is 0-based in JavaScript // Calculate the age var today = new Date(); var age = today.getFullYear() - birthDate.getFullYear(); var m = today.getMonth() - birthDate.getMonth(); if (m < 0 || m === 0 && today.getDate() < birthDate.getDate()) { age--; // Adjust if the current date is before the birthday this year } return age; } else { return null; } }, reset: function reset() { this.$set(this.page, 'xm', ''); this.$set(this.page, 'rssj', []); this.getUserData(); }, getNo: function getNo(pageNo) { // console.log(this.page,pageNo,'search') this.$set(this.page, 'pageNo', pageNo); this.getUserData(); }, getSize: function getSize(pageSize) { // console.log(this.page,'search') this.$set(this.page, 'pageSize', pageSize); this.getUserData(); }, search: function search() { // console.log(this.page,'search') this.getUserData(); }, openRoom: function openRoom(item, index) { if (this.openCurRoom == index) { this.openCurRoom = 0; } else { this.openCurRoom = index; } if (item.areaName == '全部') { this.page.areaCode = ''; this.page.roomCode = ''; this.page.pageNo = 1; this.page.pageSize = 9; // 隐藏全选按钮 this.showSelectAllBtn = false; this.currentRoomInfo = null; this.getUserData(); } }, getUserData: function getUserData(item, ele) { var _this2 = this; this.spinShow = true; item ? this.page.areaCode = item.areaCode : ''; ele ? this.page.roomCode = ele.roomCode : ''; // 控制全选按钮显示:当选择了具体监室且不是"全部"且为多选模式时显示 if (item && ele && item.areaName !== '全部' && this.isMultiple) { this.showSelectAllBtn = true; this.currentRoomInfo = { item: item, ele: ele }; } else { this.showSelectAllBtn = false; this.currentRoomInfo = null; } if (item && ele) { this.page.pageNo = 1; this.page.pageSize = 9; } var params = { areaId: this.page.areaCode, jsh: this.page.roomCode, ryzt: this.ryzt, rssj: this.page.rssj, xm: this.page.xm, pageNo: this.page.pageNo, pageSize: this.page.pageSize, // orgCode:this.$store.state.common.orgCode, bjgrylx: this.bjgrylx // '110000113',// }; this.$store.dispatch('authPostRequest', { url: '/acp-com/base/pm/prisoner/getPrisonerSelectCompoment', params: params }).then(function (resp) { if (resp.code == 0) { _this2.userList = resp.data.list; _this2.total = resp.data.total; _this2.spinShow = false; // this.checkedUse=[] if (_this2.selectUseIds && _this2.userList && _this2.userList.length > 0) { var selectUseIdsArr = _this2.selectUseIds.split(','); _this2.userList.forEach(function (item) { _this2.$set(item, 'checked', false); selectUseIdsArr.forEach(function (ele) { if (item.jgrybm == ele) { _this2.$set(item, 'checked', true); return; } }); }); } } else { _this2.$Notice.error({ title: '错误提示', desc: resp.msg }); _this2.spinShow = false; } }); }, getAllUserData: function getAllUserData() { var _this3 = this; var params = { jgrybm: this.selectUseIds, ryzt: this.ryzt }; this.$store.dispatch('getRequest', { url: '/acp-com/base/pm/prisoner/getPrisonerListByJgrybm', params: params }).then(function (resp) { if (resp.code == 0) { // this.checkedUse=resp.data _this3.$set(_this3, 'checkedUse', resp.data); } else { _this3.$Notice.error({ title: '错误提示', desc: resp.msg }); // this.spinShow=false } }); }, getPrisonerSelectCompomenOne: function getPrisonerSelectCompomenOne(jgrybm) { var _this4 = this; var params = { jgrybm: jgrybm, ryzt: this.ryzt }; this.$store.dispatch('authGetRequest', { url: '/acp-com/base/pm/prisoner/getPrisonerSelectCompomenOne', params: params }).then(function (resp) { if (resp.code == 0) {} else { _this4.$Notice.error({ title: '错误提示', desc: resp.msg }); } }); }, getJqData: function getJqData() { var _this5 = this; var params = { orgCode: this.$store.state.common.orgCode // '110000113',// }; this.$store.dispatch('authGetRequest', { url: '/acp-com/base/area/getAreaListByOrgCode', params: params }).then(function (resp) { if (resp.code == 0) { _this5.jsData = resp.data; var all = { areaCode: 'all', areaName: '全部' }; _this5.jsData.unshift(all); // if (this.jsData && this.jsData.length>1 && this.jsData[1].children) { // this.getUserData(this.jsData[1], this.jsData[1].children[0]) // } else { // this.openCurRoom = 0 // this.getUserData() // } _this5.openCurRoom = 0; _this5.getUserData(); } else { _this5.$Notice.error({ title: '错误提示', desc: resp.msg }); } }); }, selectCur: function selectCur(item) { var _this6 = this; // console.log(item,'selectCur') if (this.limit == this.checkedUse.length) { this.$Notice.warning({ title: '温馨提示', desc: '当前最多可选' + this.limit + '人员' }); return; } if (!this.isMultiple) { this.checkedUse = []; this.userList.forEach(function (ele) { _this6.$set(ele, 'checked', false); }); } if (this.userList.length > 0) { this.userList.forEach(function (ele) { if (ele.jgrybm == item.jgrybm) { _this6.$set(ele, 'checked', !ele.checked); if (ele.checked) { _this6.checkedUse.push(ele); } else { _this6.checkedUse.forEach(function (item, i) { if (item.jgrybm == ele.jgrybm) { _this6.checkedUse.splice(i, 1); } }); } } }); } }, cancalSelect: function cancalSelect(item, index) { var _this7 = this; if (this.userList.length > 0) { this.userList.forEach(function (ele) { if (ele.jgrybm == item.jgrybm) { _this7.$set(ele, 'checked', false); } }); } this.checkedUse.splice(index, 1); }, // 监室全选功能 selectAllInRoom: function selectAllInRoom() { var _this8 = this; if (!this.currentRoomInfo) { this.$Notice.warning({ title: '温馨提示', desc: '请先选择监室' }); return; } var _currentRoomInfo = this.currentRoomInfo, item = _currentRoomInfo.item, ele = _currentRoomInfo.ele; this.spinShow = true; var params = { areaId: item.areaCode, jsh: ele.roomCode, ryzt: this.ryzt, rssj: this.page.rssj, xm: this.page.xm, pageNo: 1, pageSize: 999, // 设置大的pageSize获取所有数据 bjgrylx: this.bjgrylx }; this.$store.dispatch('authPostRequest', { url: '/acp-com/base/pm/prisoner/getPrisonerSelectCompoment', params: params }).then(function (resp) { if (resp.code == 0) { var allRoomUsers = resp.data.list || []; // 检查选择人员数量限制 var newSelectCount = allRoomUsers.filter(function (user) { return !_this8.checkedUse.some(function (checked) { return checked.jgrybm === user.jgrybm; }); }).length; if (_this8.checkedUse.length + newSelectCount > _this8.limit) { _this8.$Notice.warning({ title: '温馨提示', desc: '\u5F53\u524D\u6700\u591A\u53EF\u9009' + _this8.limit + '\u4EBA\u5458\uFF0C\u76D1\u5BA4\u5171\u6709' + allRoomUsers.length + '\u4EBA\uFF0C\u5DF2\u9009' + _this8.checkedUse.length + '\u4EBA\uFF0C\u65E0\u6CD5\u5168\u9009' }); _this8.spinShow = false; return; } // 将监室所有人员添加到已选择列表(去重) allRoomUsers.forEach(function (user) { var isAlreadySelected = _this8.checkedUse.some(function (checked) { return checked.jgrybm === user.jgrybm; }); if (!isAlreadySelected) { _this8.checkedUse.push(user); } }); // 更新当前页面显示的用户选中状态 if (_this8.userList && _this8.userList.length > 0) { _this8.userList.forEach(function (user) { var isSelected = _this8.checkedUse.some(function (checked) { return checked.jgrybm === user.jgrybm; }); _this8.$set(user, 'checked', isSelected); }); } /* this.$Notice.success({ title: '成功提示', desc: `已选择监室【${ele.roomName}】的所有${allRoomUsers.length}名人员` }) */ _this8.spinShow = false; } else { _this8.$Notice.error({ title: '错误提示', desc: resp.msg }); _this8.spinShow = false; } }).catch(function () { _this8.$Notice.error({ title: '错误提示', desc: '获取监室人员数据失败' }); _this8.spinShow = false; }); } } }); /***/ }), /* 1 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__index_vue__ = __webpack_require__(2); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "prisonSelect", function() { return __WEBPACK_IMPORTED_MODULE_0__index_vue__["a"]; }); var Plugin = { install: function install(Vue) { Vue.component('prison-select', __WEBPACK_IMPORTED_MODULE_0__index_vue__["a" /* default */]); } }; /* harmony default export */ __webpack_exports__["default"] = (Plugin); /***/ }), /* 2 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* 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); /* unused harmony namespace reexport */ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_0b2b0987_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); function injectStyle (ssrContext) { __webpack_require__(3) } var normalizeComponent = __webpack_require__(8) /* script */ /* template */ /* template functional */ var __vue_template_functional__ = false /* styles */ var __vue_styles__ = injectStyle /* scopeId */ var __vue_scopeId__ = "data-v-0b2b0987" /* moduleIdentifier (server only) */ var __vue_module_identifier__ = null var Component = normalizeComponent( __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 */], __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_0b2b0987_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 */], __vue_template_functional__, __vue_styles__, __vue_scopeId__, __vue_module_identifier__ ) /* harmony default export */ __webpack_exports__["a"] = (Component.exports); /***/ }), /* 3 */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(4); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var update = __webpack_require__(6)("7c4ec7e2", content, true); /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(5)(false); // imports // module exports.push([module.i, ".prison-select[data-v-0b2b0987]{display:flex;width:100%;font-family:MicrosoftYaHei;font-weight:400;font-size:16px;color:#00244a}.prison-select .prison-select-left[data-v-0b2b0987]{width:17%;max-height:500px;overflow-y:overlay}.prison-select .prison-select-left .roomNameWrap .roomName[data-v-0b2b0987]{color:#252525;font-size:16px;text-indent:60px;line-height:32px;cursor:pointer}.prison-select .prison-select-left .roomNameWrap .roomName[data-v-0b2b0987]:hover{background:#f1f9fa}.prison-select .prison-select-left .roomNameWrap .roomName[data-v-0b2b0987]:last-of-type{border-bottom:1px solid #f1f9fa}.prison-select .prison-select-left .prison-select-left-child.active[data-v-0b2b0987]{color:#027bff!important}.prison-select .prison-select-left .prison-select-left-child[data-v-0b2b0987]{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-0b2b0987]:hover{color:#027bff}.prison-select .prison-select-left .prison-select-left-child .prison-select-left-childDiv[data-v-0b2b0987]{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-0b2b0987]:last-of-type{border-bottom:none}.prison-select .prison-select-center[data-v-0b2b0987]{width:70%;border-right:1px solid #f1f9fa;border-left:1px solid #f1f9fa}.prison-select .prison-select-center .use-list[data-v-0b2b0987]{border-top:1px solid #f1f9fa}.prison-select .prison-select-right[data-v-0b2b0987]{width:13%;border-left:1px solid #f1f9fa}.prison-select .prison-select-right .prison-select-right-title[data-v-0b2b0987]{border-left:4px solid #2b5fda;padding-left:10px;margin:10px 0}.prison-select .prison-select-right .selectedUseWrap[data-v-0b2b0987]{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-0b2b0987]{width:100%;padding:6px 1px;background:#73b4f8;font-size:14px;margin:0 4% 10px;border-radius:4px}.use-form-title[data-v-0b2b0987]{display:flex;min-width:46px;font-size:16px}.use-list[data-v-0b2b0987]{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-0b2b0987]{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-0b2b0987]:hover{border:1px solid #2390ff}.user-flex[data-v-0b2b0987]{display:flex;align-items:center;justify-content:space-between}.user-flex-sm[data-v-0b2b0987]{display:flex;align-items:center;position:relative;width:100%}.ivu-btn[data-v-0b2b0987]{font-family:MicrosoftYaHei;font-weight:400;font-size:16px}.grayBg[data-v-0b2b0987]{background:#daebfa;padding:3px 6px;border-radius:4px;margin-top:-6px}.fontType[data-v-0b2b0987]{font-style:normal;font-size:18px}.redColor[data-v-0b2b0987]{color:red}.blueColor[data-v-0b2b0987]{color:#3473ca}.ZS[data-v-0b2b0987]{background-color:#2b5fda;color:#f1f9fa;padding:2px 6px;border-radius:4px;position:absolute;right:0}.user-flex .rybh[data-v-0b2b0987]{font-size:14px;display:flex;align-items:center;width:100%}.userName[data-v-0b2b0987]{font-size:18px}.zgWrap[data-v-0b2b0987]{margin-top:3px;border-top:1px dashed #f1f9fa;padding-top:8px}.use-list-box.checked[data-v-0b2b0987]{border-color:#027bff!important}.checkedIcon[data-v-0b2b0987]{position:absolute;left:-4px;top:-4px}.pageWrap[data-v-0b2b0987]{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-0b2b0987]{font-size:18px}.userXb[data-v-0b2b0987]{position:absolute;right:10px}.noData[data-v-0b2b0987]{font-size:16px;margin:40% 0}.noData[data-v-0b2b0987],.noUseData[data-v-0b2b0987]{text-align:center;font-family:MicrosoftYaHei;font-weight:400;color:#a2acc6}.noUseData[data-v-0b2b0987]{font-size:20px;margin:10% auto}.rybhZs[data-v-0b2b0987]{width:65%;display:inline-block;text-overflow:ellipsis;overflow:hidden;word-break:break-all;white-space:nowrap}.roomName.active[data-v-0b2b0987]{color:#027bff!important}", ""]); // exports /***/ }), /* 5 */ /***/ (function(module, exports) { /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ // css base code, injected by the css-loader module.exports = function(useSourceMap) { var list = []; // return the list of modules as css string list.toString = function toString() { return this.map(function (item) { var content = cssWithMappingToString(item, useSourceMap); if(item[2]) { return "@media " + item[2] + "{" + content + "}"; } else { return content; } }).join(""); }; // import a list of modules into the list list.i = function(modules, mediaQuery) { if(typeof modules === "string") modules = [[null, modules, ""]]; var alreadyImportedModules = {}; for(var i = 0; i < this.length; i++) { var id = this[i][0]; if(typeof id === "number") alreadyImportedModules[id] = true; } for(i = 0; i < modules.length; i++) { var item = modules[i]; // skip already imported module // this implementation is not 100% perfect for weird media query combinations // when a module is imported multiple times with different media queries. // I hope this will never occur (Hey this way we have smaller bundles) if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) { if(mediaQuery && !item[2]) { item[2] = mediaQuery; } else if(mediaQuery) { item[2] = "(" + item[2] + ") and (" + mediaQuery + ")"; } list.push(item); } } }; return list; }; function cssWithMappingToString(item, useSourceMap) { var content = item[1] || ''; var cssMapping = item[3]; if (!cssMapping) { return content; } if (useSourceMap && typeof btoa === 'function') { var sourceMapping = toComment(cssMapping); var sourceURLs = cssMapping.sources.map(function (source) { return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */' }); return [content].concat(sourceURLs).concat([sourceMapping]).join('\n'); } return [content].join('\n'); } // Adapted from convert-source-map (MIT) function toComment(sourceMap) { // eslint-disable-next-line no-undef var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))); var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64; return '/*# ' + data + ' */'; } /***/ }), /* 6 */ /***/ (function(module, exports, __webpack_require__) { /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra Modified by Evan You @yyx990803 */ var hasDocument = typeof document !== 'undefined' if (typeof DEBUG !== 'undefined' && DEBUG) { if (!hasDocument) { throw new Error( 'vue-style-loader cannot be used in a non-browser environment. ' + "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment." ) } } var listToStyles = __webpack_require__(7) /* type StyleObject = { id: number; parts: Array<StyleObjectPart> } type StyleObjectPart = { css: string; media: string; sourceMap: ?string } */ var stylesInDom = {/* [id: number]: { id: number, refs: number, parts: Array<(obj?: StyleObjectPart) => void> } */} var head = hasDocument && (document.head || document.getElementsByTagName('head')[0]) var singletonElement = null var singletonCounter = 0 var isProduction = false var noop = function () {} // Force single-tag solution on IE6-9, which has a hard limit on the # of <style> // tags it will allow on a page var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase()) module.exports = function (parentId, list, _isProduction) { isProduction = _isProduction var styles = listToStyles(parentId, list) addStylesToDom(styles) return function update (newList) { var mayRemove = [] for (var i = 0; i < styles.length; i++) { var item = styles[i] var domStyle = stylesInDom[item.id] domStyle.refs-- mayRemove.push(domStyle) } if (newList) { styles = listToStyles(parentId, newList) addStylesToDom(styles) } else { styles = [] } for (var i = 0; i < mayRemove.length; i++) { var domStyle = mayRemove[i] if (domStyle.refs === 0) { for (var j = 0; j < domStyle.parts.length; j++) { domStyle.parts[j]() } delete stylesInDom[domStyle.id] } } } } function addStylesToDom (styles /* Array<StyleObject> */) { for (var i = 0; i < styles.length; i++) { var item = styles[i] var domStyle = stylesInDom[item.id] if (domStyle) { domStyle.refs++ for (var j = 0; j < domStyle.parts.length; j++) { domStyle.parts[j](item.parts[j]) } for (; j < item.parts.length; j++) { domStyle.parts.push(addStyle(item.parts[j])) } if (domStyle.parts.length > item.parts.length) { domStyle.parts.length = item.parts.length } } else { var parts = [] for (var j = 0; j < item.parts.length; j++) { parts.push(addStyle(item.parts[j])) } stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts } } } } function createStyleElement () { var styleElement = document.createElement('style') styleElement.type = 'text/css' head.appendChild(styleElement) return styleElement } function addStyle (obj /* StyleObjectPart */) { var update, remove var styleElement = document.querySelector('style[data-vue-ssr-id~="' + obj.id + '"]') if (styleElement) { if (isProduction) { // has SSR styles and in production mode. // simply do nothing. return noop } else { // has SSR styles but in dev mode. // for some reason Chrome can't handle source map in server-rendered // style tags - source maps in <style> only works if the style tag is // created and inserted dynamically. So we remove the server rendered // styles and inject new ones. styleElement.parentNode.removeChild(styleElement) } } if (isOldIE) { // use singleton mode for IE9. var styleIndex = singletonCounter++ styleElement = singletonElement || (singletonElement = createStyleElement()) update = applyToSingletonTag.bind(null, styleElement, styleIndex, false) remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true) } else { // use multi-style-tag mode in all other cases styleElement = createStyleElement() update = applyToTag.bind(null, styleElement) remove = function () { styleElement.parentNode.removeChild(styleElement) } } update(obj) return function updateStyle (newObj /* StyleObjectPart */) { if (newObj) { if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) { return } update(obj = newObj) } else { remove() } } } var replaceText = (function () { var textStore = [] return function (index, replacement) { textStore[index] = replacement return textStore.filter(Boolean).join('\n') } })() function applyToSingletonTag (styleElement, index, remove, obj) { var css = remove ? '' : obj.css if (styleElement.styleSheet) { styleElement.styleSheet.cssText = replaceText(index, css) } else { var cssNode = document.createTextNode(css) var childNodes = styleElement.childNodes if (childNodes[index]) styleElement.removeChild(childNodes[index]) if (childNodes.length) { styleElement.insertBefore(cssNode, childNodes[index]) } else { styleElement.appendChild(cssNode) } } } function applyToTag (styleElement, obj) { var css = obj.css var media = obj.media var sourceMap = obj.sourceMap if (media) { styleElement.setAttribute('media', media) } if (sourceMap) { // https://developer.chrome.com/devtools/docs/javascript-debugging // this makes source maps inside style tags work properly in Chrome css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */' // http://stackoverflow.com/a/26603875 css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */' } if (styleElement.styleSheet) { styleElement.styleSheet.cssText = css } else { while (styleElement.firstChild) { styleElement.removeChild(styleElement.firstChild) } styleElement.appendChild(document.createTextNode(css)) } } /***/ }), /* 7 */ /***/ (function(module, exports) { /** * Translates the list format produced by css-loader into something * easier to manipulate. */ module.exports = function listToStyles (parentId, list) { var styles = [] var newStyles = {} for (var i = 0; i < list.length; i++) { var item = list[i] var id = item[0] var css = item[1] var media = item[2] var sourceMap = item[3] var part = { id: parentId + ':' + i, css: css, media: media, sourceMap: sourceMap } if (!newStyles[id]) { styles.push(newStyles[id] = { id: id, parts: [part] }) } else { newStyles[id].parts.push(part) } } return styles } /***/ }), /* 8 */ /***/ (function(module, exports) { /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file. // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. module.exports = function normalizeComponent ( rawScriptExports, compiledTemplate, functionalTemplate, injectStyles, scopeId, moduleIdentifier /* server only */ ) { var esModule var scriptExports = rawScriptExports = rawScriptExports || {} // ES6 modules interop var type = typeof rawScriptExports.default if (type === 'object' || type === 'function') { esModule = rawScriptExports scriptExports = rawScriptExports.default } // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (compiledTemplate) { options.render = compiledTemplate.render options.staticRenderFns = compiledTemplate.staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = injectStyles } if (hook) { var functional = options.functional var existing = functional ? options.render : options.beforeCreate if (!functional) { // inject component registration as beforeCreate hook options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } else { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file options.render = function renderWithStyleInjection (h, context) { hook.call(context) return existing(h, context) } } } return { esModule: esModule, exports: scriptExports, options: options } } /***/ }), /* 9 */ /***/ (function(module, exports) { module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHIAAACNCAMAAABcx96DAAACl1BMVEUAAADd6PLg6/Th7PTL1uXM1+XM1+bN2OfO2ObQ2+jS3erV3+vZ4+/c5vDd5/Le5/Pe6PPf6fTg6fXg6vXh6vXh6/Xc5/Lf6vTg6/XL1eTL1eXL1uTL1uXM1eTM1eXM1uXM1ubM1+XM1+bN1uXN1ubN1+XN1+bN2ObO1+bO2ObO2OfO2efP2ObP2OfP2ebP2efP2ejQ2OfQ2ebQ2efQ2ejQ2ufQ2ujR2ejR2ufR2ujR2unR2+jR2+nS2ujS2unS2+jS2+nS3OnT2+jT2+nT2+rT3OjT3OnT3OrT3enT3erT3evU3OnU3enU3erU3urV3OrV3erV3evV3urV3uvV3+vW3erW3urW3uvW3+vW3+zX3uvX3+vX3+zX4OzX4e3Y3+zY4OzY4O3Y4ezY4e3Z4O3Z4ezZ4e3Z4e7Z4u3a4e3a4e7a4u3a4u7a4+7a5PDb4u3b4u7b4u/b4+7c4+7c4+/c5O7c5O/d5O/d5PDd5e/d5fDd5vHe5PDe5fDe5vHe5/Le6P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TvuKhd3f+S+/OvbH/vwh3asx70fvb/gt3vvKh877rnvg+/HDff/AzUuw43h3ehKAAAAAElFTkSuQmCC" /***/ }), /* 10 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; 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()]),_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("暂未选择人员")])])])} 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("暂无人员数据")])])}] var esExports = { render: render, staticRenderFns: staticRenderFns } /* harmony default export */ __webpack_exports__["a"] = (esExports); /***/ }), /* 11 */ /***/ (function(module, exports) { module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAFTElEQVRoQ+2bXWwUVRTHf7Mzu2Vr0aAptBiqAolGjR9gYngQId0HE30hGpUHwK+ggKAJiQ8622U/IIpPCG2JSRH1QQ0aX0yQpIQqkqgJDyAxasAoBsGaagjY7XZn9prZdswyO7udr/1Qd9925t5z/7+5596zc+5ZSQgh8z/6SC3gOsy2/Ao/IiH0DIvqMNwVQ9R1hpU4u4VgQ6kCCQa0DFvqBV4X4GiS+yfzHK4GFQnTm03wWa3Bawq8coDo5+cYRSJ6BYggW/xuvQ7jy+cz78jG6fs1oK8ZsBJnWAhWWDWHZR6aSPKpcX1WggfyOp9Y20gwomWI1YCXwIEjfWzQC+wug5D4UEvzuB2EovKBgIet92SJ5yfT7A0SPDDgrgw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2BuKKyV8Azhn0J9mgZXnS6NyhxdgnBJmt7SWJESzur65rxQLzUeLXUjZuSh7YEjyLQcyln+ev2JEtzeb4qezCC7PLrmeumcs8VsDlglaKWscFVdAdV1DKdNLjQsKIWGzcvq46ddtX9WmbKbb1+FJUhgU3ZksSglmazV7ueZrhss5iqf+6xXg+0ME1wVt9um6B3xR4IsDFilTDmr/QQqoYZV7TGRhn0XwA8FZfGeV8IHvESZhoObAqoWD6s8ODENg4Z7SqWD7sIM00DbAhxXSDuIcw0FbCDMPaP3v/EXwCchDHJZ5hpyhm2DWNG+UIAYeZfAexWZJDtAw9LQYqrha2/AfhIeGrsXhzJAAAAAElFTkSuQmCC" /***/ }), /* 12 */ /***/ (function(module, exports) { module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAC+CAYAAABEf9Z3AAAAAXNSR0IArs4c6QAAIABJREFUeF7tvQl8HNd5J/i996r6wkmAIACSAAFKtCSLJEiRIkCKPhhbtiNbkp1YjL2xEyeZySazuTe/STLZ31qZZI6d385MMpndSTKzM3YyM0mkjBNJjh1JduiDokASFAkSukyRBAgQPEASJM4+qt6381V1dVd3V3dX391glU0BqHrH97736l/f9b7HwLvWBAdeHh9vapEtPw+MPQrAbkgJ3zj4yMA318TgvEF4HKgQB1iF2vWarSIHjo1P/joD9j4pERhD5JwjItD/ADv5rx3o61utIjleVx4HGoYDHgA2zFQ5E/ra6UtfYsAe5pyhJMxDRA5AKIggAejWgd1b/kmDD9Mj3+NARTjgAWBF2Fq9Rl8fv/zbBuDR/+miXzjJfgB0nxARGKwO7xz499WjyuvJ40BjcMADwMaYJ0cqT0xcfhR0eFSCBEPttQDPwEFISoIIOLyj7/9r4KFWnPTX3ri4hYH8SiAY+DAx8vLlGfjMJ0a896PinK9tB94EA8DY2IU2XVV30lTEOKzOvt13+vBhptd2avL3/vobUx/lCt8AhH26boAeiYJCcNR1UyzkcWlwZGjLX+Vv8d4pMXr6wi8rqvgNv8/fKw35GcH8CTB38xYsLS3f/ewTB9rvHY7cmyO95wFwbGw2JP3RXRoACFQQNA1QIOoglh4b6p+