(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["resources"],{ /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/company/index.vue?vue&type=script&lang=js": /*!********************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/company/index.vue?vue&type=script&lang=js ***! \********************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _api_tenant_content_follow_controller__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/api/tenant-content-follow-controller */ "./src/api/tenant-content-follow-controller.js"); /* harmony default export */ __webpack_exports__["default"] = ({ name: "OverlayCompany", props: { info: { type: Object }, returnWin: { type: Object } }, computed: { isFollowed() { //是否关注 return this.info.followed; } }, data() { return { isPhone: false }; }, methods: { /** * @关注公司 */ followCompany(companyId) { Object(_api_tenant_content_follow_controller__WEBPACK_IMPORTED_MODULE_0__["follow"])("Company", companyId).then(() => { this.$message({ type: "success", message: "关注成功!" }); this.info.followed = true; }); }, /** * @取消关注保安员 */ unFollowCompany(companyId) { this.$confirm("是否取消关注状态", "提示", { confirmButtonText: "取消关注", customClass: "del-model", type: "warning" }).then(() => { Object(_api_tenant_content_follow_controller__WEBPACK_IMPORTED_MODULE_0__["unFollow"])("Company", companyId); this.info.followed = false; }).catch(() => {}); }, /** * @返回保安员 */ onClickEmployee(info) { this.$bus.$emit("click-employee", { info, infoType: "company" }); }, /** * @返回驻勤点 */ onClickStation(info) { this.$bus.$emit("click-station", { info, infoType: "company" }); }, /** * @返回电子围栏 */ onClickRail(info) { this.$bus.$emit("click-rail", { info, infoType: "company" }); }, /** * @点击驻勤点人个数 */ clickCompanyStations(info, infoType) { this.$bus.$emit("click-companyStations", { info, infoType }); }, onClickExam(info, infoType) { this.$bus.$emit("click-exam", info, infoType); }, onClickExamSite(info, infoType) { this.$bus.$emit("click-examSite", info, infoType); } } }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/companyStations/index.vue?vue&type=script&lang=js": /*!****************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/companyStations/index.vue?vue&type=script&lang=js ***! \****************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ({ name: "OverlayCompanyStations", props: { info: { type: Object }, returnWin: { type: Object } }, computed: {}, data() { return { isPhone: false, isIdCardNo: false, currentEmployee: {} }; }, methods: { /** * @跳转驻勤点 */ clickStation(info, infoType) { this.$bus.$emit("click-station", { info, infoType }); }, /** * 复制信息 */ copy(message) { var aux = document.createElement("input"); aux.setAttribute("value", message); document.body.appendChild(aux); aux.select(); document.execCommand("copy"); document.body.removeChild(aux); this.$message({ message: "复制成功", type: "success" }); }, closePopover(index) { console.log(this.$refs); this.$refs["popoverRef_" + index][0].doClose(); }, onClickCompany(info, infoType) { console.log("click-company-" + infoType, info); this.$bus.$emit("click-company", { info, infoType }); } } }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/device/index.vue?vue&type=script&lang=js": /*!*******************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/device/index.vue?vue&type=script&lang=js ***! \*******************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ({ name: "OverlayDevice", props: { info: { type: Object }, returnWin: { type: Object } }, data() { return {}; }, methods: { /** * @返回保安员 */ onClickEmployee(info) { this.$bus.$emit("click-employee", { info, infoType: "company" }); }, /** * @返回驻勤点 */ onClickStation(info) { this.$bus.$emit("click-station", { info, infoType: "company" }); } } }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/employee/index.vue?vue&type=script&lang=js": /*!*********************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/employee/index.vue?vue&type=script&lang=js ***! \*********************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _api_tenant_content_follow_controller__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/api/tenant-content-follow-controller */ "./src/api/tenant-content-follow-controller.js"); /* harmony default export */ __webpack_exports__["default"] = ({ name: "OverlayEmployee", props: { info: { type: Object }, returnWin: { type: Object } }, computed: { isFollowed() { //是否关注 return this.info.followed; }, // isSecurityAndPopulation() { // //是否既是保安员,又是社会力量 // if (Object.prototype.hasOwnProperty.call(this.info, "resourceTypes")) { // return this.info.resourceTypes.length === 2; // } else { // return false; // } // }, isSecurity() { //是否保安员 if (Object.prototype.hasOwnProperty.call(this.info, "resourceTypes")) { return this.info.resourceTypes.includes("Security"); } else { return false; } }, isProprietor() { //是否甲方管理员 if (Object.prototype.hasOwnProperty.call(this.info, "resourceTypes")) { return this.info.resourceTypes.includes("Proprietor"); } else { return false; } } }, data() { return { platform: localStorage.getItem("platform") || "1", isPhone: false, isContact: false, isIdCardNo: false, stationTypeNameMap: { Security: "驻勤点", Population: "社区警务" }, peopleType: "" // isFollowed: this.info.followed, //是否关注 }; }, watch: { // "info.followed"(val) { // this.isFollowed = val; // }, }, methods: { resetVisible() { this.isPhone = false; this.isIdCardNo = false; this.isContact = false; }, onClickEmployee() {}, /** * @跳转公司 */ clickCompany(info, infoType) { this.$bus.$emit("click-company", { info, infoType }); // 对应父组件 resource/index.vue eventBusBinding 方法中 this.$bus.$on("click-company", this.showCompanyInfo) }, /** * @点击驻勤点人员,显示驻勤人员信息 */ clickStationEmployees(info) { console.log(info); }, /** * @跳转驻勤点 */ clickStation(info, infoType) { this.$bus.$emit("click-station", { info, infoType }); }, /** * @关注保安员 */ followEmployee(employeeId) { Object(_api_tenant_content_follow_controller__WEBPACK_IMPORTED_MODULE_0__["follow"])("Employee", employeeId).then(() => { this.$message({ type: "success", message: "关注成功!" }); this.info.followed = true; }); }, /** * @取消关注保安员 */ unFollowEmployee(employeeId) { this.$confirm("是否取消关注状态", "提示", { confirmButtonText: "取消关注", customClass: "del-model", type: "warning" }).then(() => { Object(_api_tenant_content_follow_controller__WEBPACK_IMPORTED_MODULE_0__["unFollow"])("Employee", employeeId); this.info.followed = false; }).catch(() => {}); }, /** * @复制保安员名称和身份证号 */ copy(message) { var aux = document.createElement("input"); aux.setAttribute("value", message); document.body.appendChild(aux); aux.select(); document.execCommand("copy"); document.body.removeChild(aux); this.$message({ message: "复制成功", type: "success" }); } } }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/rail/index.vue?vue&type=script&lang=js": /*!*****************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/rail/index.vue?vue&type=script&lang=js ***! \*****************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ({ name: "OverlayRail", props: { info: { type: Object }, returnWin: { type: Object } }, data() { return { typeList: [{ id: "Exit", name: "离开告警" }, { id: "Enter", name: "进入告警" } // { // id: "Access", // name: "进出告警", // }, ] }; }, methods: { /* @点击驻勤人数 */ clickStationEmployees(info, infoType) { info["longitude"] = info.locationValue.geos[0].lon; info["latitude"] = info.locationValue.geos[0].lat; this.$bus.$emit("click-stationEmployees", { info, infoType }); }, /** * @跳转公司 */ clickCompany(info, infoType) { this.$bus.$emit("click-company", { info, infoType }); // 对应父组件 resource/index.vue eventBusBinding 方法中 this.$bus.$on("click-company", this.showCompanyInfo) } } }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/station/index.vue?vue&type=script&lang=js": /*!********************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/station/index.vue?vue&type=script&lang=js ***! \********************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _api_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/api/common */ "./src/api/common.js"); /* harmony import */ var _api_tenant_content_follow_controller__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/api/tenant-content-follow-controller */ "./src/api/tenant-content-follow-controller.js"); /* harmony default export */ __webpack_exports__["default"] = ({ name: "OverlayStation", props: { info: { type: Object }, returnWin: { type: Object }, readonly: Boolean }, computed: { isSecurityAndPopulation() { //是否既是驻勤点,又是社区警务 if (Object.prototype.hasOwnProperty.call(this.info, "resourceTypes")) { return this.info.resourceTypes.length === 2; } else { return false; } }, resourceType() { if (Object.prototype.hasOwnProperty.call(this.info, "resourceTypes")) { return this.info.resourceTypes[0]; } else { return ""; } }, stationTypeName() { const { resourceTypes } = this.info; if (resourceTypes) { if (resourceTypes.length === 2) { return this.stationTypeNameMap["Security"]; } else { return this.stationTypeNameMap[resourceTypes[0]]; } } else { return ""; } }, employeeTypeName() { const { resourceTypes } = this.info; if (resourceTypes) { if (resourceTypes.length === 2) { return this.employeeTypeNameMap["Security"]; } else { return this.employeeTypeNameMap[resourceTypes[0]]; } } else { return ""; } }, name() { var _this$info; return ((_this$info = this.info) === null || _this$info === void 0 ? void 0 : _this$info.name) || ""; }, companyName() { var _this$info2; return ((_this$info2 = this.info) === null || _this$info2 === void 0 ? void 0 : _this$info2.companyName) || ""; }, companyNameSlice() { return Object(_api_common__WEBPACK_IMPORTED_MODULE_0__["textSlice"])(this.companyName); //多出部分省略号显示 }, principalName() { var _this$info3; return ((_this$info3 = this.info) === null || _this$info3 === void 0 ? void 0 : _this$info3.principalName) || ""; }, principalContact() { var _this$info4; return ((_this$info4 = this.info) === null || _this$info4 === void 0 ? void 0 : _this$info4.principalContact) || ""; }, serviceScope() { var _this$info5; return ((_this$info5 = this.info) === null || _this$info5 === void 0 ? void 0 : _this$info5.serviceScope) || ""; }, superviseDepartName() { var _this$info6; return ((_this$info6 = this.info) === null || _this$info6 === void 0 ? void 0 : _this$info6.superviseDepartName) || ""; }, superviseDepartNameSlice() { var _this$info7; return ((_this$info7 = this.info) === null || _this$info7 === void 0 ? void 0 : _this$info7.superviseDepartNameSlice) || ""; }, address() { var _this$info8; return ((_this$info8 = this.info) === null || _this$info8 === void 0 ? void 0 : _this$info8.address) || ""; }, addressSlice() { var _this$info9; return ((_this$info9 = this.info) === null || _this$info9 === void 0 ? void 0 : _this$info9.addressSlice) || ""; }, countOfSecurityMan() { var _this$info10; return (_this$info10 = this.info) === null || _this$info10 === void 0 ? void 0 : _this$info10.countOfSecurityMan; }, //社区警务人数 countOfCommunityUser() { var _this$info11; return (_this$info11 = this.info) === null || _this$info11 === void 0 ? void 0 : _this$info11.countOfCommunityUser; }, stationTypes() { var _this$info12; return ((_this$info12 = this.info) === null || _this$info12 === void 0 ? void 0 : _this$info12.stationTypes) || []; }, isFollowed() { //是否关注 return this.info.followed; } }, data() { return { isPhone: false, stationTypeNameMap: { Security: "驻勤点", Population: "社区警务" }, employeeTypeNameMap: { Security: "保安员", Population: "社会力量" } }; }, watch: {}, methods: { onClickEmployee(info) { console.log("onClickEmployee", info); this.$bus.$emit("click-employee", { info, infoType: "station" }); }, /** * @返回驻勤点列表 */ onClickCompanyStations(info) { console.log("onClickCompanyStations", info); this.$bus.$emit("click-companyStations", { info, infoType: "station" }); }, /** * @跳转公司 */ clickCompany(info, infoType, employeeInfo) { var _this$returnWin; if (((_this$returnWin = this.returnWin) === null || _this$returnWin === void 0 ? void 0 : _this$returnWin.infoType) !== "employee") { employeeInfo = undefined; } this.$bus.$emit("click-company", { info, infoType, employeeInfo }); // 对应父组件 resource/index.vue eventBusBinding 方法中 this.$bus.$on("click-company", this.showCompanyInfo) }, /** * @点击驻勤人数 */ clickStationEmployees(info, infoType, employeeInfo) { var _this$returnWin2; if (((_this$returnWin2 = this.returnWin) === null || _this$returnWin2 === void 0 ? void 0 : _this$returnWin2.infoType) !== "employee") { employeeInfo = undefined; } this.$bus.$emit("click-stationEmployees", { info, infoType, employeeInfo }); }, /** * @关注驻勤点 */ followStation(stationId) { Object(_api_tenant_content_follow_controller__WEBPACK_IMPORTED_MODULE_1__["follow"])("Station", stationId).then(() => { this.$message({ type: "success", message: "关注成功!" }); this.info.followed = true; }); }, /** * @取消关注保安员 */ unFollowStation(stationId) { this.$confirm("是否取消关注状态", "提示", { confirmButtonText: "取消关注", customClass: "del-model", type: "warning" }).then(() => { Object(_api_tenant_content_follow_controller__WEBPACK_IMPORTED_MODULE_1__["unFollow"])("Station", stationId); this.info.followed = false; }).catch(() => {}); }, copy(message) { var aux = document.createElement("input"); aux.setAttribute("value", message); document.body.appendChild(aux); aux.select(); document.execCommand("copy"); document.body.removeChild(aux); this.$message({ message: "复制成功", type: "success" }); } } }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/stationEmployees/index.vue?vue&type=script&lang=js": /*!*****************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/stationEmployees/index.vue?vue&type=script&lang=js ***! \*****************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _api_employee_controller__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/api/employee-controller */ "./src/api/employee-controller.js"); /* harmony default export */ __webpack_exports__["default"] = ({ name: "OverlayStationEmployees", props: { info: { type: Object }, returnWin: { type: Object } }, computed: {}, data() { return { isPhone: false, isIdCardNo: false, currentEmployee: {}, deskTypes: localStorage.getItem("platform") === "2" ? ["Proprietor"] : localStorage.getItem("platform") === "3" ? ["TemporarySecurity"] : ["Normal"] }; }, methods: { /** * @返回驻勤点 */ onClickStation(info) { this.$bus.$emit("click-station", { info, infoType: "stationEmployees" }); }, /** * @返回电子围栏 */ onClickRail(info) { this.$bus.$emit("click-rail", { info, infoType: "stationEmployees" }); }, /** * @跳转考场 */ onClickExam(info) { console.log("clickExam", info); this.$bus.$emit("click-exam", info, "stationEmployees"); // 对应父组件 resource/index.vue eventBusBinding 方法中 this.$bus.$on("click-company", this.showCompanyInfo) }, /** * 复制信息 */ copy(message) { var aux = document.createElement("input"); aux.setAttribute("value", message); document.body.appendChild(aux); aux.select(); document.execCommand("copy"); document.body.removeChild(aux); this.$message({ message: "复制成功", type: "success" }); }, changeEmployee(employeeId) { Object(_api_employee_controller__WEBPACK_IMPORTED_MODULE_0__["getEmployeeDetail"])(employeeId, this.deskTypes[0]).then(res => { // res["companyNameSlice"] = textSlice(res.companyName); //多出部分省略号显示 this.currentEmployee = res; }).catch(err => { console.log(err); }); }, closePopover(index) { console.log(this.$refs); this.$refs["popoverRef_" + index][0].doClose(); } } }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/resourceSearch/index.vue?vue&type=script&lang=js": /*!****************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/resourceSearch/index.vue?vue&type=script&lang=js ***! \****************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "./node_modules/core-js/modules/esnext.iterator.constructor.js"); /* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "./node_modules/core-js/modules/esnext.iterator.filter.js"); /* harmony import */ var core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "./node_modules/core-js/modules/esnext.iterator.map.js"); /* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _riophae_vue_treeselect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @riophae/vue-treeselect */ "./node_modules/@riophae/vue-treeselect/dist/vue-treeselect.cjs.js"); /* harmony import */ var _riophae_vue_treeselect__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_riophae_vue_treeselect__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _riophae_vue_treeselect_dist_vue_treeselect_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @riophae/vue-treeselect/dist/vue-treeselect.css */ "./node_modules/@riophae/vue-treeselect/dist/vue-treeselect.css"); /* harmony import */ var _riophae_vue_treeselect_dist_vue_treeselect_css__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_riophae_vue_treeselect_dist_vue_treeselect_css__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var _api_employee_controller__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/api/employee-controller */ "./src/api/employee-controller.js"); /* harmony import */ var _api_exam_site_room_controller__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/api/exam-site-room-controller */ "./src/api/exam-site-room-controller.js"); /* harmony import */ var _api_company_controller__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/api/company-controller */ "./src/api/company-controller.js"); /* harmony import */ var _api_security_station_controller__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/api/security-station-controller */ "./src/api/security-station-controller.js"); /* harmony import */ var _api_departs_controller__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/api/departs-controller */ "./src/api/departs-controller.js"); /* harmony import */ var _api_resource_controller__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/api/resource-controller */ "./src/api/resource-controller.js"); /* harmony import */ var _api_security_station_rails_controller__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/api/security-station-rails-controller */ "./src/api/security-station-rails-controller.js"); /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! lodash */ "./node_modules/lodash/lodash.js"); /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_12__); /* harmony import */ var _components_StationTypesForm_index_vue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/components/StationTypesForm/index.vue */ "./src/components/StationTypesForm/index.vue"); // import {mapGetters} from "vuex"; /* harmony default export */ __webpack_exports__["default"] = ({ name: "resourceSearch", components: { treeSelect: (_riophae_vue_treeselect__WEBPACK_IMPORTED_MODULE_3___default()), stationTypesForm: _components_StationTypesForm_index_vue__WEBPACK_IMPORTED_MODULE_13__["default"] }, data() { return { platform: localStorage.getItem("platform") || "1", deskTypes: localStorage.getItem("platform") === "2" ? ["Proprietor"] : localStorage.getItem("platform") === "3" ? ["TemporarySecurity"] : ["Normal"], isCompany: false, isIndeterminate: false, isIndeterminatePro: false, checkAll: false, checkAllPro: false, companyTypes: [], securityTypes: [], securityTypesCode: [], proprietorTypes: [], proprietorTypesCode: [], deviceTypes: [], resourceTypes: [], activeType: "", filterShow: false, isSecurity: false, //当前用户角色是否为治安市局/分局 isPopulationTeam: false, //当前用户角色是否为人口总队市局/分局 isPoliceStation: false, //当前用户角色是否为派出所 isSupervision: false, //是否监管端 显示辖区:企业账号进来不展示【辖区】筛选项:false,只有监管账号进来才展示:true isProprietor: false, //是否内保单位 isShowDevice: false, //是否可用智能设备 isShowExam: false, //是否可用考场 stationTypes: [], departs: [], normalizer(node) { if (node.children && !node.children.length) { delete node.children; } return { id: node.code, label: node.name, children: node.children, // isDisabled: !node.selectable, isDisabled: false }; }, normalizer1(node) { if (node.children && !node.children.length) { delete node.children; } return { id: node.code, label: node.name, children: node.children }; }, total: 0, //总数 onDuty: 0, //在岗 noDuty: 0, //离岗 noActivation: 0, //未激活 noLonLat: 0, //无坐标数 onExam: 0, //启用总数 noExam: 0, //禁用总数 formCompany: { institutional: [], type: 1, depart: null, superviseDepartIds: [] }, formEmployee: { resourceType: 1, type: 1, status: 1, depart: null, superviseDepartIds: [] }, formDevice: { focus: null, type: null }, formStation: { resourceType: 1, type: 1, stationType: [], depart: null, superviseDepartIds: [] }, formSecurityStationRail: { depart: null, superviseDepartIds: [] }, formExam: { type: 1, status: 1, examTaking: 1, depart: null, superviseDepartIds: [] }, loading: false }; }, computed: { filterText() { return this.filterShow ? "收起" : "筛选"; } }, methods: { handleCheckChange(val) { this.formStation.stationType = val; }, handleCheckAllChange(val) { this.formStation.stationType = val ? this.stationTypes.map(x => x.code) : []; this.isIndeterminate = false; }, handleCheckedCitiesChange(value) { let checkedCount = value.length; this.checkAll = checkedCount === this.stationTypes.length; this.isIndeterminate = checkedCount > 0 && checkedCount < this.stationTypes.length; }, handleCheckAllChangePro(val) { this.formCompany.institutional = val ? this.proprietorTypes.map(x => x.code) : []; this.isIndeterminatePro = false; }, handleCheckedCitiesChangePro(value) { let checkedCount = value.length; this.checkAllPro = checkedCount === this.proprietorTypes.length; this.isIndeterminatePro = checkedCount > 0 && checkedCount < this.proprietorTypes.length; }, async init() { this.stationTypes = await Object(_api_security_station_controller__WEBPACK_IMPORTED_MODULE_8__["getAllStationTypes"])({ deskTypes: [] }); //获取驻勤点信息 console.log("stationTypes", this.stationTypes); this.companyTypes = await Object(_api_resource_controller__WEBPACK_IMPORTED_MODULE_10__["getOrganizationType"])(); // 获取企业类型 {code,name} this.securityTypes = this.companyTypes.filter(item => item.category === "Security"); this.securityTypesCode = this.securityTypes.map(item => { return item.code; }); this.proprietorTypes = this.companyTypes.filter(item => item.category === "Proprietor"); this.proprietorTypesCode = this.proprietorTypes.map(item => { return item.code; }); console.log("proprietorTypes", this.proprietorTypes.map(item => { return item.code; })); this.deviceTypes = await Object(_api_resource_controller__WEBPACK_IMPORTED_MODULE_10__["getDeviceType"])(); // 获取设备类型 {code,name} console.log("deviceTypes", this.deviceTypes); this.departs = await Object(_api_departs_controller__WEBPACK_IMPORTED_MODULE_9__["getDeparts"])({ deskTypes: this.deskTypes }); // 获取辖区树 console.log("departs", this.departs); //判断是否显示辖区 // let accountType = ""; // let deviceDeskServiceScopes = []; const userInfo = localStorage.getItem("userInfo"); if (userInfo) { this.isSupervision = JSON.parse(userInfo).superviseDesk; //判断身份 ture:监管账户;false:企业账户 this.isCompany = JSON.parse(userInfo).role === "Company" || JSON.parse(userInfo).role === "Proprietor"; this.isSecurity = JSON.parse(userInfo).role === "Urban" || JSON.parse(userInfo).role === "SubUrb"; this.isPopulationTeam = JSON.parse(userInfo).role === "PopulationUrban" || JSON.parse(userInfo).role === "PopulationSubUrb"; this.isPoliceStation = JSON.parse(userInfo).role === "PopulationPoliceStation" || JSON.parse(userInfo).role === "PoliceStation"; this.isProprietor = JSON.parse(userInfo).role === "Proprietor"; //是否内保单位 if (this.isPopulationTeam || this.isPoliceStation) { //如果用户角色是人口总队 PopulationUrban 人口市局 PopulationSubUrb 人口分局 PopulationPoliceStation 人口派出所 PoliceStation 派出所 if (this.platform === "1") { this.resourceTypes = [{ name: "企业", value: "1" }, { name: "人员", value: "2" }, { name: "执勤点", value: "3" }, { name: "智能设备", value: "5" }, { name: "电子围栏", value: "6" }, { name: "考场", value: "7" }]; } else { this.resourceTypes = [{ name: "人员", value: "2" }, { name: "驻勤点", value: "3" }, { name: "内保单位", value: "4" }, { name: "智能设备", value: "5" }, { name: "电子围栏", value: "6" }]; } } else if (this.isProprietor || this.platform === "2") { this.resourceTypes = [{ name: "人员", value: "2" }, { name: "驻勤点", value: "3" }, { name: "内保单位", value: "4" }, { name: "智能设备", value: "5" }, { name: "电子围栏", value: "6" }]; } else { this.resourceTypes = [{ name: "企业", value: "1" }, { name: "保安员", value: "2" }, { name: "驻勤点", value: "3" }, { name: "智能设备", value: "5" }, { name: "电子围栏", value: "6" }, { name: "考场", value: "7" }]; } this.isShowDevice = ["TLK_DMT1", //测试环境使用 "TLK_DMT347", //测试环境使用 "__yUx7oCr0CPEjfFd0T1K", "__Ovmh5cBQhH9e6IJtWlz", "O7f4fVUf"].includes(JSON.parse(userInfo).organizationId); this.isShowExam = ["TLK_DMT1", //测试环境使用 "TLK_DMT347", //测试环境使用 "__l4j8hCF7xNmFSRfeQb0", "7JXUKfBb", "O7f4fVUf", "09T9dNBG", "VxPArVQC", "__iZjB3As6MOfttXkZTXo"].includes(JSON.parse(userInfo).organizationId); } }, // 切换搜索类型 switchType(type) { this.activeType = type; this.filterShow = true; this.$emit("switchType", this.activeType); this.$emit("clearMap"); this.total = 0; this.onDuty = 0; this.noDuty = 0; this.noActivation = 0; this.noLonLat = 0; this.onExam = 0; this.noExam = 0; if (this.isSupervision) { //监管调度 } else { //企业调度 if (type == 1) { this.filterShow = false; this.searchCompany(); } } }, // 显示筛选条件 showFilter() { this.filterShow = true; }, // 收起筛选条件 hideFilter() { this.filterShow = false; }, // 搜企业 searchCompany() { var institutional = []; console.log("institutional", this.formCompany.institutional); if (this.formCompany.institutional.length === 0) { institutional = this.securityTypesCode; } else { institutional = [this.formCompany.institutional + ""]; } this.loading = true; Object(_api_company_controller__WEBPACK_IMPORTED_MODULE_7__["getCompanys"])({ institutionals: institutional, superviseDepartIds: this.formCompany.superviseDepartIds, deskTypes: this.isCompany ? ["Normal", "Proprietor"] : this.deskTypes, searchModel: "SecurityResource" }).then(res => { console.log(res); this.$emit("searchCompany", res); }).catch(err => { this.$emit("searchCompany", []); this.$message.error(err); }).finally(() => { this.loading = false; }); }, // 搜保安员 searchEmployee() { if (this.isSupervision && !this.formEmployee.depart) { this.$message({ message: "请选择辖区", type: "warning" }); return; } var resourceTypes = null; if (this.formEmployee.resourceType == "2") { resourceTypes = ["Security"]; } else if (this.formEmployee.resourceType == "3") { resourceTypes = ["Population"]; } else if (this.formEmployee.resourceType == "4") { resourceTypes = ["Population", "Security"]; } else if (this.formEmployee.resourceType == "5") { resourceTypes = ["ProfessionalPopulation"]; } else if (this.formEmployee.resourceType == "6") { resourceTypes = ["Proprietor"]; } var followed = null; if (this.formEmployee.type == "2") { followed = true; } else if (this.formEmployee.type == "3") { followed = false; } var onDuty = null; if (this.formEmployee.status == "2") { onDuty = true; } else if (this.formEmployee.status == "3") { onDuty = false; } this.loading = true; Object(_api_employee_controller__WEBPACK_IMPORTED_MODULE_5__["getEmployees"])({ pageIndex: 1, pageSize: 5000, followed: followed, onDuty: onDuty, resourceTypes: resourceTypes, superviseDepartIds: this.formEmployee.superviseDepartIds, searchModel: "SecurityResource", deskTypes: this.isCompany ? ["Normal", "Proprietor"] : this.deskTypes }).then(res => { console.log(res); this.$emit("searchEmployee", res); }).catch(err => { this.$emit("searchEmployee", []); this.$message.error(err); }).finally(() => { this.loading = false; }); }, //设置保安员人数 setEmployeeNum(onDuty, noDuty, noActivation) { this.total = onDuty + noDuty + noActivation; this.onDuty = onDuty; this.noDuty = noDuty; this.noActivation = noActivation; }, // 搜驻勤点 searchStation() { //指挥调度搜索驻勤点 let resourceType = null; if (this.isPopulationTeam || this.isPoliceStation) { //如果是人口总队 if (this.formStation.resourceType === 2) { resourceType = "Security"; } else if (this.formStation.resourceType === 3) { resourceType = "Population"; } } else { resourceType = "Security"; } let followed = null; if (this.formStation.type === 2) { followed = true; } else if (this.formStation.type === 3) { followed = false; } // var stationType = []; // if (this.formStation.stationType !== 0) { // stationType.push(this.formStation.stationType + ""); // } this.loading = true; Object(_api_security_station_controller__WEBPACK_IMPORTED_MODULE_8__["getStations"])({ pageIndex: 1, pageSize: 5, followed: followed, resourceType: resourceType, stationTypes: resourceType !== "Population" ? this.formStation.stationType : [], superviseDepartIds: this.formStation.superviseDepartIds, searchModel: "SecurityResource", deskTypes: this.isCompany ? ["Normal", "Proprietor"] : this.deskTypes }).then(res => { res["stationTypes"] = this.stationTypes; console.log(res); this.$emit("searchStation", res); }).catch(err => { this.$emit("searchStation", []); this.$message.error(err); }).finally(() => { this.loading = false; }); }, // 搜内保单位 searchProprietor() { //安保调度搜索内保单位 var institutional = this.proprietorTypesCode; if (this.formCompany.institutional && this.formCompany.institutional.length > 0) { institutional = this.formCompany.institutional; } var followed = null; if (this.formCompany.type == "2") { followed = true; } else if (this.formCompany.type == "3") { followed = false; } this.loading = true; Object(_api_company_controller__WEBPACK_IMPORTED_MODULE_7__["getCompanys"])({ pageIndex: 1, pageSize: 5, institutionals: institutional, followed: followed, superviseDepartIds: this.formCompany.superviseDepartIds, deskTypes: this.isCompany ? ["Normal", "Proprietor"] : this.deskTypes, searchModel: "SecurityResource" }).then(res => { this.$emit("searchCompany", res, "Proprietor"); }).catch(err => { this.$emit("searchCompany", []); this.$message.error(err); }).finally(() => { this.loading = false; }); }, //设置驻勤点数 setStationNum(total, noLonLat) { this.total = total; this.noLonLat = noLonLat; }, //设置企业数 setCompanyNum(total, noLonLat) { this.total = total; this.noLonLat = noLonLat; }, //设置考场数 setExamNum(onExam, noExam) { this.total = onExam + noExam; this.onExam = onExam; this.noExam = noExam; }, // 搜智能设备 searchDevice() {}, // 搜电子围栏 searchRail() { this.loading = true; Object(_api_security_station_rails_controller__WEBPACK_IMPORTED_MODULE_11__["searchRail"])({ pageIndex: 1, pageSize: 50, superviseDepartIds: this.formSecurityStationRail.superviseDepartIds, searchModel: "SecurityResource" }).then(res => { console.log("searchRail", res); if (res) { console.log(res); this.$emit("searchRail", res); } }).catch(err => { this.$emit("searchRail", []); this.$message.error(err); }).finally(() => { this.loading = false; }); }, // 搜考场 searchExamSiteRooms() { var followed = null; if (this.formExam.type == "2") { followed = true; } else if (this.formExam.type == "3") { followed = false; } //考场状态 var status = null; if (this.formExam.status == "2") { status = true; } else if (this.formExam.status == "3") { status = false; } //考试状态 var examTaking = null; if (this.formExam.examTaking == "2") { examTaking = true; } else if (this.formExam.examTaking == "3") { examTaking = false; } this.loading = true; Object(_api_exam_site_room_controller__WEBPACK_IMPORTED_MODULE_6__["getExamSiteRooms"])({ pageIndex: 1, pageSize: 5, forExport: false, followed: followed, status: status, examTaking: examTaking, superviseDepartIds: this.formExam.superviseDepartIds, searchModel: "SecurityResource" }).then(res => { console.log(res); this.$emit("searchExam", res); }).catch(err => { this.$emit("searchExam", []); this.$message.error(err); }).finally(() => { this.loading = false; }); }, onSelectEmployeeDeparts(node) { var _node$children; console.log(node); if ((node === null || node === void 0 || (_node$children = node.children) === null || _node$children === void 0 ? void 0 : _node$children.length) > 0) { const getTail = item => item.children && item.children.length > 0 ? item.children.map(m => getTail(m)) : [item]; const result = lodash__WEBPACK_IMPORTED_MODULE_12___default.a.flattenDeep(node.children.map(m => [m, ...getTail(m)])); console.log(" log result", result); this.formEmployee.superviseDepartIds = [node.code, ...result.map(x => x.code)]; } else { this.formEmployee.superviseDepartIds = [node.code]; } }, onSelectCompanyDeparts(node) { var _node$children2; if ((node === null || node === void 0 || (_node$children2 = node.children) === null || _node$children2 === void 0 ? void 0 : _node$children2.length) > 0) { const getTail = item => item.children && item.children.length > 0 ? item.children.map(m => getTail(m)) : [item]; const result = lodash__WEBPACK_IMPORTED_MODULE_12___default.a.flattenDeep(node.children.map(m => [m, ...getTail(m)])); console.log("resource log result", result); this.formCompany.superviseDepartIds = [node.code, ...result.map(x => x.code)]; } else { this.formCompany.superviseDepartIds = [node.code]; } }, onSelectStationDepart(node) { var _node$children3; if ((node === null || node === void 0 || (_node$children3 = node.children) === null || _node$children3 === void 0 ? void 0 : _node$children3.length) > 0) { const getTail = item => item.children && item.children.length > 0 ? item.children.map(m => getTail(m)) : [item]; const result = lodash__WEBPACK_IMPORTED_MODULE_12___default.a.flattenDeep(node.children.map(m => [m, ...getTail(m)])); console.log(" log result", result); this.formStation.superviseDepartIds = [node.code, ...result.map(x => x.code)]; } else { this.formStation.superviseDepartIds = [node.code]; } }, onSelectRailDepart(node) { var _node$children4; if ((node === null || node === void 0 || (_node$children4 = node.children) === null || _node$children4 === void 0 ? void 0 : _node$children4.length) > 0) { const getTail = item => item.children && item.children.length > 0 ? item.children.map(m => getTail(m)) : [item]; const result = lodash__WEBPACK_IMPORTED_MODULE_12___default.a.flattenDeep(node.children.map(m => [m, ...getTail(m)])); console.log(" log result", result); this.formSecurityStationRail.superviseDepartIds = [node.code, ...result.map(x => x.code)]; } else { this.formSecurityStationRail.superviseDepartIds = [node.code]; } }, onSelectExamDepart(node) { var _node$children5; console.log(node); if ((node === null || node === void 0 || (_node$children5 = node.children) === null || _node$children5 === void 0 ? void 0 : _node$children5.length) > 0) { const getTail = item => item.children && item.children.length > 0 ? item.children.map(m => getTail(m)) : [item]; const result = lodash__WEBPACK_IMPORTED_MODULE_12___default.a.flattenDeep(node.children.map(m => [m, ...getTail(m)])); console.log(" log result", result); this.formExam.superviseDepartIds = [node.code, ...result.map(x => x.code)]; } else { this.formExam.superviseDepartIds = [node.code]; } } }, mounted() { this.init(); } }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/components/electronicFence.vue?vue&type=script&lang=js": /*!***************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/components/electronicFence.vue?vue&type=script&lang=js ***! \***************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ "./node_modules/core-js/modules/es.array.push.js"); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "./node_modules/core-js/modules/esnext.iterator.constructor.js"); /* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "./node_modules/core-js/modules/esnext.iterator.find.js"); /* harmony import */ var core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "./node_modules/core-js/modules/esnext.iterator.for-each.js"); /* harmony import */ var core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _components_common_selfTable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/common/selfTable */ "./src/components/common/selfTable.vue"); /* harmony import */ var _api_security_station_rails_controller__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/api/security-station-rails-controller */ "./src/api/security-station-rails-controller.js"); // import { parseTime } from "@/utils/index"; /* harmony default export */ __webpack_exports__["default"] = ({ name: "trajectory", components: { selfTable: _components_common_selfTable__WEBPACK_IMPORTED_MODULE_4__["default"] }, props: { info: { type: Object, default() { return {}; } }, searchModel: { type: String, default() { return "Search"; } } }, data() { return { columns: [{ prop: "railName", label: "围栏名称", width: 110 }, { prop: "stationName", label: "所属驻勤点", width: 150 }, { prop: "ruleTypeText", label: "围栏类型", width: 70 }, { prop: "time", label: "生效时间" }], tableData: [], stationForRail: {}, multipleSelection: [], originData: [], // 后台返回的原始数据 fenceKey: "" // 查询条件 }; }, methods: { selectionChange(list) { this.multipleSelection = list; }, searchFence() {}, edit() { if (this.multipleSelection.length === 1) { let params = this.originData.find(item => { return item.id === this.multipleSelection[0].railId; }); let paramIndex = this.originData.findIndex(item => { return item.id === this.multipleSelection[0].railId; }); let emitData = { data: params, index: paramIndex }; this.$emit("electronicFenceEdit", emitData); } else if (this.multipleSelection.length === 0) { this.$message({ message: "请先选择一条数据", type: "error" }); } else { this.$message({ message: "只能选中一条数据进行编辑", type: "error" }); } }, addElectronic() { this.$emit("addElectronic"); }, del() { if (this.multipleSelection.length === 1) { let params = this.originData.find(item => { return item.id === this.multipleSelection[0].railId; }); let paramIndex = this.originData.findIndex(item => { return item.id === this.multipleSelection[0].railId; }); let emitData = { data: params, index: paramIndex }; this.$emit("del", emitData); } else if (this.multipleSelection.length === 0) { this.$message({ message: "请先选择一条数据", type: "error" }); } else { this.$message({ message: "只能选中一条数据进行编辑", type: "error" }); } }, cancel() { this.$emit("cancel"); }, getRails() { Object(_api_security_station_rails_controller__WEBPACK_IMPORTED_MODULE_5__["searchRail"])({ pageIndex: 0, pageSize: 0, searchModel: "Search", keyWord: this.fenceKey }).then(res => { console.log("searchRail", res); if (res) { this.tableData = []; this.originData = res; res.forEach(rail => { this.tableData.push({ railId: rail.id, railName: rail.name, stationName: rail.stationName, ruleType: rail.ruleType, ruleTypeText: rail.ruleTypeText, // time: rail.beginTime.slice(11, 16) + "-" + rail.endTime.slice(11, 16) time: rail.beginTime + "-" + rail.endTime }); }); } }).catch(err => { console.log(err); }); } }, mounted() { this.getRails(); } }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/components/electronicFenceEdit.vue?vue&type=script&lang=js": /*!*******************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/components/electronicFenceEdit.vue?vue&type=script&lang=js ***! \*******************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _api_security_station_rails_controller__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/api/security-station-rails-controller */ "./src/api/security-station-rails-controller.js"); // import { parseTime } from "@/utils/index"; // import selfTable from "@/components/common/selfTable"; // import { nanoid } from "nanoid"; /* harmony default export */ __webpack_exports__["default"] = ({ name: "trajectory", components: { // selfTable, }, props: { stationId: String, info: { type: Object, default() { return {}; } }, electronicFenceInfo: { type: Object, default() { return {}; } }, map: { type: Object, default() { return null; } } }, watch: { info: { handler(newVal) { console.log("newVal", newVal); if (Object.keys(newVal).length !== 0) { this.form.stationId = newVal.stationId; this.form.peopleNum = newVal.countOfSecurityMan; if (Object.keys(this.electronicFenceInfo).length === 0) { this.form.stationName = newVal.name; } } }, immediate: true, deep: true }, electronicFenceInfo: { handler(newVal) { console.log("electronicFenceInfo", newVal); if (newVal && Object.keys(newVal).length !== 0) { let deepVal = JSON.parse(JSON.stringify(newVal)); this.form.stationName = deepVal.stationName; this.form.id = deepVal.id; this.form.name = deepVal.name; this.form.ruleType = deepVal.ruleType; this.form.shapeType = deepVal.shapeType; this.form.shapedLocation = deepVal.shapedLocation; this.form.stationId = deepVal.stationId; this.form.peopleNum = deepVal.countOfSecurityMan; this.form.time = deepVal.time; this.form.note = deepVal.note; // if (deepVal.shapeType === "Circle") { // this.setCircle(deepVal.shapedLocation); // } else if (deepVal.shapeType === "Crib") { // this.setRectangle(deepVal.shapedLocation); // } else if (deepVal.shapeType === "Polygon") { // this.setPolygon(deepVal.shapedLocation); // } // this.form = newVal this.isAdd = false; } else { this.isAdd = true; this.reset(); } }, immediate: true, deep: true } }, data() { return { isAdd: false, columns: [{ prop: "peopleType", label: "成员类型" }, { prop: "name", label: "成员名称" }], tableData: [{ id: 1, peopleType: "保安员", name: "张三" }, { id: 2, peopleType: "负责人", name: "张三" }], typeList: [{ id: "Exit", name: "离开告警" }, { id: "Enter", name: "进入告警" } // { // id: "Access", // name: "进出告警", // }, ], areaList: [{ id: "Crib", icon: __webpack_require__(/*! @/assets/images/mapToolbar/electronicFence/框选.png */ "./src/assets/images/mapToolbar/electronicFence/框选.png"), name: "框形选择" }, { id: "Circle", icon: __webpack_require__(/*! @/assets/images/mapToolbar/electronicFence/圈选.png */ "./src/assets/images/mapToolbar/electronicFence/圈选.png"), name: "圆形选择" }, { id: "Polygon", icon: __webpack_require__(/*! @/assets/images/mapToolbar/electronicFence/多边形选择.png */ "./src/assets/images/mapToolbar/electronicFence/多边形选择.png"), name: "多边形选择" }], form: { id: "", name: "", ruleType: "Exit", stationId: "", stationName: "", organizationId: "", peopleNum: "", time: "", note: "", shapeType: "", peopleList: [], shapedLocation: { geos: [], radius: "" } }, Circle: null, mousetool: null }; }, methods: { //关联驻勤点 relationStation() { this.$emit("relationStation", this.info); }, openPeopleNum() { console.log("openPeopleNum", this.info); console.log("openPeopleNum", this.electronicFenceInfo); this.$emit("openPeopleNum", this.form.stationId, this.form.stationName); }, changeAreaType(id) { let that = this; this.form.shapeType = id; if (this.mouseTool) { this.mouseTool.close(true); } this.$emit("cleanFigure"); if (id === "Circle") { that.drawCircle(); } else if (id === "Crib") { that.drawRectangle(); } else if (id === "Polygon") { that.drawPolygon(); } }, drawPolygon() { // todo: draw Polygon this.$emit("draw", "Polygon"); }, drawCircle() { // todo: draw Circle this.$emit("draw", "Circle"); }, drawRectangle() { // todo: draw Rectangle this.$emit("draw", "Rectangle"); }, setCircle(data) { // todo: set circle console.log(data); }, setRectangle(data) { console.log(data.geos); }, setPolygon(data) { console.log(data.geos); }, cancel() { if (this.mouseTool) { this.mouseTool.close(true); } this.$emit("cancel"); }, updateGeometry({ geos, radius }) { this.form.shapedLocation = { geos, radius }; console.log(this.form.shapedLocation); }, updateStation(station) { console.log("updateStation", station); this.form.stationName = station.stationName; this.form.peopleNum = station.countOfSecurityMan; this.form.stationId = station.stationId; this.form.organizationId = station.organizationId; }, reset() { console.log("reset", this.stationId); console.log("reset", this.form); this.form.id = ""; this.form.name = ""; this.form.ruleType = "Exit"; this.form.time = []; this.form.note = ""; this.form.shapeType = ""; this.form.stationName = ""; this.form.peopleNum = ""; this.form.shapedLocation = { geos: [], radius: "" }; this.$emit("cleanFigure"); }, saveRail() { if (!this.form.name) { this.$message({ message: "请输入围栏名称", type: "warning" }); return; } if (!this.form.time[0] && !this.form.time[1]) { this.$message({ message: "请输入时间范围", type: "warning" }); return; } if (this.form.shapedLocation.geos.length === 0) { this.$message({ message: "请选择围栏区域", type: "warning" }); return; } let params = { name: this.form.name, ruleType: this.form.ruleType, shapeType: this.form.shapeType, stationId: this.form.stationId, organizationId: this.form.organizationId, // id: this.form.id || nanoid(), id: this.form.id, note: this.form.note, beginTime: this.form.time[0], endTime: this.form.time[1], shapedLocation: this.form.shapedLocation }; if (this.isAdd) { Object(_api_security_station_rails_controller__WEBPACK_IMPORTED_MODULE_0__["createRail"])(params).then(res => { console.log("saveRail", res); if (this.mouseTool) { this.mouseTool.close(true); } this.$message({ message: "新增成功", type: "success" }); this.$emit("cancel"); }).catch(err => { console.log(err); }); } else { Object(_api_security_station_rails_controller__WEBPACK_IMPORTED_MODULE_0__["updateRail"])(params).then(res => { console.log("updateRail", res); if (this.mouseTool) { this.mouseTool.close(true); } this.$message({ message: "修改成功", type: "success" }); this.$emit("cancel"); }).catch(err => { console.log(err); }); } }, setForm({ shapedLocation, shapeType }) { this.form.shapedLocation = { ...{}, ...shapedLocation }; this.form.shapeType = shapeType; } } }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/components/electronicFencePeople.vue?vue&type=script&lang=js": /*!*********************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/components/electronicFencePeople.vue?vue&type=script&lang=js ***! \*********************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ "./node_modules/core-js/modules/es.array.push.js"); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony default export */ __webpack_exports__["default"] = ({ name: "electronicFencePeople", props: { list: { type: Array, default() { return {}; } }, stationName: { type: String, default() { return ""; } } }, watch: { list: { handler(newVal) { if (newVal.length !== 0) { this.peoPleList = []; for (let i = 0; i < newVal.length; i++) { newVal[i].isPhone = false; this.peoPleList.push(newVal[i]); } } }, immediate: true, deep: true } }, data() { return { peoPleList: [], stationForRail: {} }; }, methods: { changeIsphone(index) { console.log(this.peoPleList[index]); let indexObj = JSON.parse(JSON.stringify(this.peoPleList[index])); indexObj.isPhone = !indexObj.isPhone; this.$set(this.peoPleList, index, indexObj); }, cancel() { this.$emit("cancel"); } }, mounted() {} }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/components/electronicFenceStation.vue?vue&type=script&lang=js": /*!**********************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/components/electronicFenceStation.vue?vue&type=script&lang=js ***! \**********************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ "./node_modules/core-js/modules/es.array.push.js"); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "./node_modules/core-js/modules/esnext.iterator.constructor.js"); /* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "./node_modules/core-js/modules/esnext.iterator.find.js"); /* harmony import */ var core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "./node_modules/core-js/modules/esnext.iterator.for-each.js"); /* harmony import */ var core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _components_common_selfTable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/common/selfTable */ "./src/components/common/selfTable.vue"); /* harmony import */ var _api_security_station_controller__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/api/security-station-controller */ "./src/api/security-station-controller.js"); // import { parseTime } from "@/utils/index"; /* harmony default export */ __webpack_exports__["default"] = ({ name: "electronicFenceStation", components: { selfTable: _components_common_selfTable__WEBPACK_IMPORTED_MODULE_4__["default"] }, props: { info: { type: Object, default() { return {}; } }, electronicFenceInfo: { type: Object } }, data() { return { platform: localStorage.getItem("platform") || "1", deskTypes: localStorage.getItem("platform") === "1" ? ["Normal"] : ["Proprietor"], isCompany: false, columns: [{ prop: "stationName", label: "驻勤点名称", width: 250 }, { prop: "stationType", label: "驻勤点类型", width: 200 }, { prop: "principalName", label: "负责人", width: 80 }, { prop: "countOfSecurityMan", label: "驻勤人数" }], tableData: [], stationForRail: {}, selectionRow: null, originData: [], // 后台返回的原始数据 stationKey: "", //查询条件 stationTypes: [] //驻勤点类型 }; }, watch: { electronicFenceInfo: { handler() { console.log("stations", this.electronicFenceInfo); const row = this.tableData.find(row => row.stationName === this.electronicFenceInfo.stationName); this.$refs.table.table.setCurrentRow(row); }, deep: true, immediate: false } }, methods: { async init() { const userInfo = localStorage.getItem("userInfo"); let userInfoJson; if (userInfo) { userInfoJson = JSON.parse(userInfo); } if (userInfoJson) { //判断是否是企业或内保单位 if (userInfoJson.role === "Company" || userInfoJson.role === "Proprietor") { this.isCompany = true; } } }, selectionChange(val) { this.selectionRow = val; }, searchStation() { Object(_api_security_station_controller__WEBPACK_IMPORTED_MODULE_5__["getStations"])({ searchModel: "Name", deskTypes: this.isCompany ? ["Normal", "Proprietor"] : this.deskTypes, keyword: this.stationKey, pageIndex: 1, pageSize: 1000 }).then(res => { console.log("stations", res); console.log("stationTypes", this.stationTypes); if (res) { this.tableData = []; this.originData = res; res.forEach(station => { const stationType = this.stationTypes.find(t => t.code === station.stationTypes[0]); this.tableData.push({ stationId: station.id, stationName: station.name, organizationId: station.organizationId, stationType: stationType ? stationType.name : "", principalName: station.principalName, countOfSecurityMan: station.countOfSecurityMan }); }); } }).catch(err => { console.log(err); }); }, cancel() { this.$emit("cancel"); }, reset() { this.stationKey = ""; }, relationConfirm() { this.$emit("relation", this.selectionRow); } }, async mounted() { this.stationTypes = await Object(_api_security_station_controller__WEBPACK_IMPORTED_MODULE_5__["getAllStationTypes"])({ deskTypes: [] }); //获取驻勤点信息 this.searchStation(); this.init(); } }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/index.vue?vue&type=script&lang=js": /*!******************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/index.vue?vue&type=script&lang=js ***! \******************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ "./node_modules/core-js/modules/es.array.push.js"); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "./node_modules/core-js/modules/esnext.iterator.constructor.js"); /* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "./node_modules/core-js/modules/esnext.iterator.find.js"); /* harmony import */ var core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "./node_modules/core-js/modules/esnext.iterator.for-each.js"); /* harmony import */ var core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "./node_modules/core-js/modules/esnext.iterator.map.js"); /* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var v_ol_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! v-ol-map */ "./node_modules/v-ol-map/lib/ol-map.umd.js"); /* harmony import */ var v_ol_map__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(v_ol_map__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var v_ol_map_lib_v_ol_map_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! v-ol-map/lib/v-ol-map.css */ "./node_modules/v-ol-map/lib/v-ol-map.css"); /* harmony import */ var v_ol_map_lib_v_ol_map_css__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(v_ol_map_lib_v_ol_map_css__WEBPACK_IMPORTED_MODULE_6__); /* harmony import */ var _components_resourceSearch_index_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/components/resourceSearch/index.vue */ "./src/components/resourceSearch/index.vue"); /* harmony import */ var _components_mapToolbar_index_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/components/mapToolbar/index.vue */ "./src/components/mapToolbar/index.vue"); /* harmony import */ var _api_security_station_controller__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/api/security-station-controller */ "./src/api/security-station-controller.js"); /* harmony import */ var _api_company_controller__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/api/company-controller */ "./src/api/company-controller.js"); /* harmony import */ var _api_employee_controller__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/api/employee-controller */ "./src/api/employee-controller.js"); /* harmony import */ var _api_exam_site_room_controller__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/api/exam-site-room-controller */ "./src/api/exam-site-room-controller.js"); /* harmony import */ var _components_mapOverlay_employee__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/components/mapOverlay/employee */ "./src/components/mapOverlay/employee/index.vue"); /* harmony import */ var _components_mapOverlay_station__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/components/mapOverlay/station */ "./src/components/mapOverlay/station/index.vue"); /* harmony import */ var _components_mapOverlay_stationEmployees__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/components/mapOverlay/stationEmployees */ "./src/components/mapOverlay/stationEmployees/index.vue"); /* harmony import */ var _components_mapOverlay_companyStations__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/components/mapOverlay/companyStations */ "./src/components/mapOverlay/companyStations/index.vue"); /* harmony import */ var _components_mapOverlay_company__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/components/mapOverlay/company */ "./src/components/mapOverlay/company/index.vue"); /* harmony import */ var _components_mapOverlay_device__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/components/mapOverlay/device */ "./src/components/mapOverlay/device/index.vue"); /* harmony import */ var _components_mapOverlay_rail__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/components/mapOverlay/rail */ "./src/components/mapOverlay/rail/index.vue"); /* harmony import */ var _components_mapOverlay_exam__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/components/mapOverlay/exam */ "./src/components/mapOverlay/exam/index.vue"); /* harmony import */ var _components_mapOverlay_examSite__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/components/mapOverlay/examSite */ "./src/components/mapOverlay/examSite/index.vue"); /* harmony import */ var _components_electronicFence_vue__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./components/electronicFence.vue */ "./src/views/resources/components/electronicFence.vue"); /* harmony import */ var _components_electronicFenceEdit_vue__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./components/electronicFenceEdit.vue */ "./src/views/resources/components/electronicFenceEdit.vue"); /* harmony import */ var _components_electronicFencePeople_vue__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./components/electronicFencePeople.vue */ "./src/views/resources/components/electronicFencePeople.vue"); /* harmony import */ var _components_electronicFenceStation_vue__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./components/electronicFenceStation.vue */ "./src/views/resources/components/electronicFenceStation.vue"); /* harmony import */ var _api_security_station_rails_controller__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @/api/security-station-rails-controller */ "./src/api/security-station-rails-controller.js"); /* harmony import */ var _api_common__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @/api/common */ "./src/api/common.js"); /* harmony import */ var _pikaz_location__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @pikaz/location */ "./node_modules/@pikaz/location/lib/pikazLocation.js"); /* harmony import */ var _pikaz_location__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(_pikaz_location__WEBPACK_IMPORTED_MODULE_28__); /* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js"); /* harmony import */ var _api_tenant_user_controller__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @/api/tenant-user-controller */ "./src/api/tenant-user-controller.js"); // import _ from "lodash"; /* harmony default export */ __webpack_exports__["default"] = ({ name: "resources", components: { VMap: v_ol_map__WEBPACK_IMPORTED_MODULE_5__["VMap"], VTile: v_ol_map__WEBPACK_IMPORTED_MODULE_5__["VTile"], VVector: v_ol_map__WEBPACK_IMPORTED_MODULE_5__["VVector"], VOverlay: v_ol_map__WEBPACK_IMPORTED_MODULE_5__["VOverlay"], VDraw: v_ol_map__WEBPACK_IMPORTED_MODULE_5__["VDraw"], VHeatmap: v_ol_map__WEBPACK_IMPORTED_MODULE_5__["VHeatmap"], VSuperCluster: v_ol_map__WEBPACK_IMPORTED_MODULE_5__["VSuperCluster"], OverlayEmployee: _components_mapOverlay_employee__WEBPACK_IMPORTED_MODULE_13__["default"], OverlayStation: _components_mapOverlay_station__WEBPACK_IMPORTED_MODULE_14__["default"], OverlayCompany: _components_mapOverlay_company__WEBPACK_IMPORTED_MODULE_17__["default"], OverlayStationEmployees: _components_mapOverlay_stationEmployees__WEBPACK_IMPORTED_MODULE_15__["default"], OverlayCompanyStations: _components_mapOverlay_companyStations__WEBPACK_IMPORTED_MODULE_16__["default"], OverlayDevice: _components_mapOverlay_device__WEBPACK_IMPORTED_MODULE_18__["default"], OverlayRail: _components_mapOverlay_rail__WEBPACK_IMPORTED_MODULE_19__["default"], OverlayExam: _components_mapOverlay_exam__WEBPACK_IMPORTED_MODULE_20__["default"], OverlayExamSite: _components_mapOverlay_examSite__WEBPACK_IMPORTED_MODULE_21__["default"], resourceSearch: _components_resourceSearch_index_vue__WEBPACK_IMPORTED_MODULE_7__["default"], mapToolbar: _components_mapToolbar_index_vue__WEBPACK_IMPORTED_MODULE_8__["default"], electronicFenceDialog: _components_electronicFence_vue__WEBPACK_IMPORTED_MODULE_22__["default"], electronicFenceEditDialog: _components_electronicFenceEdit_vue__WEBPACK_IMPORTED_MODULE_23__["default"], electronicFenceStationDialog: _components_electronicFenceStation_vue__WEBPACK_IMPORTED_MODULE_25__["default"], electronicFencePeople: _components_electronicFencePeople_vue__WEBPACK_IMPORTED_MODULE_24__["default"] }, data() { return { platform: localStorage.getItem("platform") || "1", deskTypes: localStorage.getItem("platform") === "2" ? ["Proprietor"] : localStorage.getItem("platform") === "3" ? ["TemporarySecurity"] : ["Normal"], isCompany: false, centerPoint: [], isElectronicFencePeople: false, electronicFencePeopleList: [], peopleStationName: "", isElectronicFenceEditDialog: false, isElectronicFenceStationDialog: false, isElectronicFenceDialog: false, delElectronicIndex: null, electronicFenceInfo: {}, view: { city: "厦门", zoom: 12, maxZoom: 19 }, tileType: "GD", interactions: { DragRotateAndZoom: true, doubleClickZoom: false }, controls: { zoom: true, zoomOptions: { className: "ol-zoom-custom" } // rotate: true, // rotateOptions: { // className: "ol-rotate-custom", // }, }, type: 1, resTypeList: [{ name: "企业", value: 0 }, { name: "保安员", value: 1 }, { name: "驻勤点", value: 2 }, { name: "智能设备", value: 3 }, { name: "电子围栏", value: 4 }], // mapToolList: ["tile", "fence"], activeType: "", featuresStation: [], layers: { // 保安员 employeeLayer: { features: [], cluster: { maxZoom: 18, radius: 150, style: { circle: { radius: 50, fill: { color: "#0E71FF" } }, text: { font: "22px Source Han Sans CN-Medium, Source Han Sans CN", fill: { color: "#FFFFFF" } } } }, overlay: { position: undefined, offset: [0, -36] } }, // 驻勤点 stationLayer: { features: [], cluster: { maxZoom: 18, radius: 150, style: { circle: { radius: 50, fill: { color: "#0E71FF" } }, text: { font: "22px Source Han Sans CN-Medium, Source Han Sans CN", fill: { color: "#FFFFFF" } } } }, overlay: { position: undefined, offset: [0, -36] } }, // 驻勤点人员 stationEmployeesLayer: { features: [], overlay: { position: undefined, offset: [0, -36] } }, // 内保单位驻勤点 companyStationsLayer: { features: [], overlay: { position: undefined, offset: [0, -36] } }, // 企业 companyLayer: { features: [], cluster: { distance: 110, style: { circle: { radius: 50, fill: { color: "#0E71FF" } }, text: { font: "22px Source Han Sans CN-Medium, Source Han Sans CN", fill: { color: "#FFFFFF" } } } }, overlay: { position: undefined, offset: [0, -36] } }, // 电子围栏 railLayer: { features: [], cluster: { distance: 110, style: { circle: { radius: 50, fill: { color: "#0E71FF" } }, text: { font: "22px Source Han Sans CN-Medium, Source Han Sans CN", fill: { color: "#FFFFFF" } } } }, style: { fill: { color: "rgba(230,162,60,0.2)" }, stroke: { color: "#E6A23C", width: 2 } }, overlay: { position: undefined, offset: [0, -36] } }, // 智能设备 deviceLayer: { features: [], overlay: { position: undefined, offset: [0, -36] } }, // 考场 examLayer: { features: [], cluster: { maxZoom: 18, radius: 150, style: { circle: { radius: 50, fill: { color: "#0E71FF" } }, text: { font: "22px Source Han Sans CN-Medium, Source Han Sans CN", fill: { color: "#FFFFFF" } } } }, overlay: { position: undefined, offset: [0, -36] } }, // 考试点 examSiteLayer: { features: [], overlay: { position: undefined, offset: [0, -36] } } }, info: {}, returnWin: {}, drawType: "", // showHeatmap: false, mapToolList: ["tile", "resource", "fence"], mapToolDisableList: [], showRailInfoFromList: false, stationTypes: [] }; }, computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_29__["mapGetters"])(["showHeatmap"]) // mapToolDisableList() { // if (this.activeType === "2") { // return ["resource"]; // } else { // return []; // } // }, }, methods: { async init() { const userInfo = localStorage.getItem("userInfo"); let userInfoJson; if (userInfo) { userInfoJson = JSON.parse(userInfo); } else { Object(_api_tenant_user_controller__WEBPACK_IMPORTED_MODULE_30__["getCurrentUser"])().then(async response => { userInfoJson = JSON.stringify(response); }); } if (userInfoJson) { if (userInfoJson.role === "Company" || userInfoJson.role === "Proprietor") { this.isCompany = true; } //如果是企业账户,不显示电子围栏图标 if (!userInfoJson.superviseDesk) { //判断身份 ture:监管账户;false:企业账户 this.mapToolList = ["tile", "resource"]; } let orgLongitude = userInfoJson.orgLongitude; let orgLatitude = userInfoJson.orgLatitude; if (orgLongitude && orgLatitude) { //判断是否有经纬度 this.centerPoint = [Number(orgLongitude), Number(orgLatitude)]; this.$refs.map.panTo({ center: this.centerPoint }); } else { const company = await Object(_api_company_controller__WEBPACK_IMPORTED_MODULE_10__["getCompanyDetail"])(userInfoJson.organizationId); if (company) { if (company.longitude && company.latitude) { this.centerPoint = [company.longitude, company.latitude]; this.$refs.map.panTo({ center: this.centerPoint }); } } } } }, onDraw(evt) { console.log("onDraw", evt); }, hideFenceTable() { this.isElectronicFenceEditDialog = false; this.isElectronicFenceStationDialog = false; this.isElectronicFenceDialog = false; }, /** * @搜索框保安员搜索结果回调 * @param data */ onSearchEmployee(data) { console.log("onSearchEmployee", data); // console.time("tiemopera") // let dataArr = []; // for(var i=0;i<6000;i++){ // dataArr = [...dataArr, ...data]; // } // console.timeEnd("tiemopera") this.layers.employeeLayer.features = []; this.clearMap(); this.hideFenceTable(); let onDuty = 0; //在岗人数 let noDuty = 0; //离岗人数 let noActivation = 0; //未激活数 if (data) { data.forEach(item => { let feature; let employeeIcon = __webpack_require__(/*! @/assets/images/mapSearch/在岗_保安员.png */ "./src/assets/images/mapSearch/在岗_保安员.png"); if (item.dutyStatus === "None") { noActivation++; } if (item.dutyStatus === "SignOut") { noDuty++; } if (item.dutyStatus === "SignIn") { onDuty++; //在岗 if (item.rts.includes("Proprietor")) { employeeIcon = __webpack_require__(/*! @/assets/images/mapSearch/保卫管理员.png */ "./src/assets/images/mapSearch/保卫管理员.png"); } else if (item.rts.includes("Security") && !item.rts.includes("Population")) { employeeIcon = __webpack_require__(/*! @/assets/images/mapSearch/在岗_保安员.png */ "./src/assets/images/mapSearch/在岗_保安员.png"); } else if (item.rts.includes("Population") && !item.rts.includes("Security")) { employeeIcon = __webpack_require__(/*! @/assets/images/mapSearch/社会力量.png */ "./src/assets/images/mapSearch/社会力量.png"); } else if (item.rts.includes("Security") && item.rts.includes("Population")) { employeeIcon = __webpack_require__(/*! @/assets/images/mapSearch/兼职社会力量(部分保安员).png */ "./src/assets/images/mapSearch/兼职社会力量(部分保安员).png"); } feature = { coordinates: [Number(item.longitude), Number(item.latitude)], convert: "gd-84", style: { icon: { src: employeeIcon // scale: 0.5, } }, props: item }; } else { feature = { coordinates: [Number(item.longitude), Number(item.latitude)], convert: "gd-84", style: { icon: { src: __webpack_require__(/*! @/assets/images/mapSearch/离岗_保安员.png */ "./src/assets/images/mapSearch/离岗_保安员.png") // scale: 0.5, } }, props: item }; } if (item.dutyStatus !== "None" && item.longitude && item.latitude) { this.layers.employeeLayer.features.push(feature); } }); } this.setCenterAfterSearch(); console.log(this.layers.employeeLayer.features); this.$refs.search.setEmployeeNum(onDuty, noDuty, noActivation); }, /** * @安保员图层点击事件 * @param evt * @param feature */ clickEmployee(evt, feature) { if (feature) { console.log(feature); const isCluster = feature.get("cluster"); // const employees = feature.get("features"); if (!isCluster) { // const employee = employees[0]; const info = feature.get("props"); this.showEmployeeInfo({ info }); } else { // 如果是聚合点就下钻一级 const zoom = this.$refs.map.map.getView().getZoom() + 4; const center = evt.coordinate; this.$refs.map.panTo({ zoom, center }); } this.$refs.search.hideFilter(); } }, /** * @安保员详情 * @param info * @param infoType */ showEmployeeInfo({ info, infoType }) { Object(_api_employee_controller__WEBPACK_IMPORTED_MODULE_11__["getEmployeeDetail"])(info.id, this.deskTypes[0]).then(res => { res["nameSlice"] = res.name.slice(-2); res["companyNameSlice"] = Object(_api_common__WEBPACK_IMPORTED_MODULE_27__["textSlice"])(res.companyName); //多出部分省略号显示 res["securityStationNameSlice"] = Object(_api_common__WEBPACK_IMPORTED_MODULE_27__["textSlice"])(res.securityStationName); //多出部分省略号显示 console.log("employee", res); //如果是甲方管理员 if (res.resourceTypes.includes("Proprietor")) { res.proprietorCompanyId = res.organizationId; res.proprietorCompanyName = res.companyName; } console.log("employee", info); this.info = { ...{}, ...res }; if (infoType) { this.clearMap(); this.hideFenceTable(); this.returnWin = { info, infoType }; var iconUrl = __webpack_require__(/*! @/assets/images/mapSearch/在岗_保安员.png */ "./src/assets/images/mapSearch/在岗_保安员.png"); if (info.dutyStatus === "SignIn") { if (info.resourceTypes.includes("Proprietor")) { iconUrl = __webpack_require__(/*! @/assets/images/mapSearch/保卫管理员.png */ "./src/assets/images/mapSearch/保卫管理员.png"); } else if (info.resourceTypes.includes("Security") && !info.resourceTypes.includes("Population")) { iconUrl = __webpack_require__(/*! @/assets/images/mapSearch/在岗_保安员.png */ "./src/assets/images/mapSearch/在岗_保安员.png"); } else if (info.resourceTypes.includes("Population") && !info.resourceTypes.includes("Security")) { iconUrl = __webpack_require__(/*! @/assets/images/mapSearch/社会力量.png */ "./src/assets/images/mapSearch/社会力量.png"); } else if (info.resourceTypes.includes("Security") && info.resourceTypes.includes("Population")) { iconUrl = __webpack_require__(/*! @/assets/images/mapSearch/兼职社会力量(部分保安员).png */ "./src/assets/images/mapSearch/兼职社会力量(部分保安员).png"); } } else { iconUrl = __webpack_require__(/*! @/assets/images/mapSearch/离岗_保安员.png */ "./src/assets/images/mapSearch/离岗_保安员.png"); } this.layers.employeeLayer.features = [{ coordinates: [Number(info.longitude), Number(info.latitude)], convert: "gd-84", style: { icon: { src: iconUrl // scale: 0.5, } }, props: info }]; } /** * @弹框位置转高德转84 */ this.layers.employeeLayer.overlay.position = v_ol_map__WEBPACK_IMPORTED_MODULE_5__["utils"].convertCoordinate([Number(res.longitude), Number(res.latitude)], "gd-84"); this.$refs.map.panTo({ // zoom: 13, // flyZoom: 8, center: this.layers.employeeLayer.overlay.position }); }).catch(err => { console.log(err); }); }, /** * @搜索框驻勤点搜索结果回调 * @param data */ onSearchStation(data) { console.log("onSearchStation", data); this.layers.stationLayer.features = []; this.clearMap(); this.hideFenceTable(); let noLonLat = 0; //无坐标数 let stationIcon = ""; if (data) { let stationTypes = data.stationTypes; data.forEach(item => { if (item.longitude && item.latitude) { let scaleNum = 0.5; if (item.stationTypes && item.stationTypes.length > 0) { //如果有驻勤点类型 const stationType = stationTypes.find(t => t.code === item.stationTypes[0]); if (item.rts.includes("Security")) { //[Population,Security] 这种情况默认显示驻勤点 if (stationType && stationType.mapIcon) { stationIcon = stationType.mapIcon; } else { stationIcon = __webpack_require__(/*! @/assets/images/mapSearch/驻勤点.png */ "./src/assets/images/mapSearch/驻勤点.png"); } } else { stationIcon = __webpack_require__(/*! @/assets/images/mapSearch/社区警务.png */ "./src/assets/images/mapSearch/社区警务.png"); scaleNum = 1; } } else { //没有驻勤点类型,当成是社区警务 stationIcon = __webpack_require__(/*! @/assets/images/mapSearch/社区警务.png */ "./src/assets/images/mapSearch/社区警务.png"); scaleNum = 1; } this.layers.stationLayer.features.push({ coordinates: [Number(item.longitude), Number(item.latitude)], convert: "gd-84", style: { icon: { src: stationIcon, scale: scaleNum } }, props: item }); } else { noLonLat++; } }); console.log(this.layers.stationLayer.features); this.$refs.search.setStationNum(data.length, noLonLat); } this.setCenterAfterSearch(); }, /** * @驻勤点图层点击事件 * 1、先判断点击位置是否有驻勤点 * 2、获取点属性id * 3、通过id查找驻勤点详情 * 4、把详情放到info变量用来展现详情(showStationInfo) * 5、把经纬度赋值给position属性展示弹框 * @param evt * @param feature */ clickStation(evt, feature) { if (feature) { const isCluster = feature.get("cluster"); if (!isCluster) { const info = feature.get("props"); console.log("clickStationInfo", info); this.showStationInfo({ info }); } else { // 如果是聚合点就下钻一级 const zoom = this.$refs.map.map.getView().getZoom() + 4; const center = evt.coordinate; this.$refs.map.panTo({ zoom, center }); } this.$refs.search.hideFilter(); } }, /** * @驻勤点详情 * @param info * @param infoType */ showStationInfo({ info, infoType }) { console.log("showStationInfo-" + infoType, info); console.log("showStationInfo-returnWin", this.returnWin); var stationId = info.id; if (info.securityStationId) { stationId = info.securityStationId; } Object(_api_security_station_controller__WEBPACK_IMPORTED_MODULE_9__["getStationDetail"])(stationId).then(res => { console.log("station", res); res["superviseDepartNameSlice"] = Object(_api_common__WEBPACK_IMPORTED_MODULE_27__["textSlice"])(res.superviseDepartName); //多出部分省略号显示 res["addressSlice"] = Object(_api_common__WEBPACK_IMPORTED_MODULE_27__["textSlice"])(res.address); //多出部分省略号显示 this.info = { ...{}, ...res }; if (infoType) { this.clearMap(); this.hideFenceTable(); this.returnWin = { info, infoType }; console.log("returnWin", this.returnWin); let stationIcon = ""; //如果有驻勤点类型 let scaleNum = 0.5; if (res.resourceTypes && res.resourceTypes.length > 0) { if (res.resourceTypes.includes("Security")) { //[Population,Security] 这种情况默认显示驻勤点 if (res.stationTypes && res.stationTypes.length > 0) { stationIcon = res.stationTypes[0].mapIcon; } else { stationIcon = __webpack_require__(/*! @/assets/images/mapSearch/驻勤点.png */ "./src/assets/images/mapSearch/驻勤点.png"); scaleNum = 1; } } else { stationIcon = __webpack_require__(/*! @/assets/images/mapSearch/社区警务.png */ "./src/assets/images/mapSearch/社区警务.png"); scaleNum = 1; } } else { stationIcon = __webpack_require__(/*! @/assets/images/mapSearch/社区警务.png */ "./src/assets/images/mapSearch/社区警务.png"); scaleNum = 1; } this.layers.stationLayer.features = [{ coordinates: [Number(res.longitude), Number(res.latitude)], convert: "gd-84", style: { icon: { src: stationIcon, scale: scaleNum } }, props: info }]; } /** * @弹框位置转高德转84 */ this.layers.stationLayer.overlay.position = v_ol_map__WEBPACK_IMPORTED_MODULE_5__["utils"].convertCoordinate([Number(res.longitude), Number(res.latitude)], "gd-84"); this.$refs.map.panTo({ // zoom: 13, // flyZoom: 8, center: this.layers.stationLayer.overlay.position }); }).catch(err => { console.log(err); }); }, /** * @驻勤点人员图层点击事件 * @param evt * @param feature */ clickStationEmployees(evt, feature) { if (feature) { console.log("clickStationEmployees-feature", feature); const stations = feature.get("features"); if (stations && stations.length === 1) { const station = stations[0]; const info = station.get("props"); this.showStationEmployeesInfo({ info }); } else { if (feature.get("props")) { const info = feature.get("props"); this.showStationEmployeesInfo({ info }); } else { // 如果是聚合点就下钻一级 const zoom = this.$refs.map.map.getView().getZoom() + 4; const center = evt.coordinate; this.$refs.map.panTo({ zoom, center }); } } } }, /** * @内保单位驻勤点图层点击事件 * @param evt * @param feature */ clickCompanyStations(evt, feature) { if (feature) { console.log("clickCompanyStations-feature", feature); const companys = feature.get("features"); if (companys && companys.length === 1) { const company = companys[0]; const info = company.get("props"); this.showCompanyStationsInfo({ info }); } else { if (feature.get("props")) { const info = feature.get("props"); this.showCompanyStationsInfo({ info }); } else { // 如果是聚合点就下钻一级 const zoom = this.$refs.map.map.getView().getZoom() + 4; const center = evt.coordinate; this.$refs.map.panTo({ zoom, center }); } } } }, /** * @驻勤点人员详情 * @param info * @param infoType */ showStationEmployeesInfo({ info, infoType, employeeInfo }) { console.log("showStationEmployeesInfo-" + infoType, info); console.log("===employeeInfo===", employeeInfo); let stationId = info.id; if (infoType === "rail") { stationId = info.stationId; } let params = { pageIndex: 1, pageSize: 5000, securityStationIds: [stationId + ""], searchModel: "SecurityStation", deskTypes: this.isCompany ? ["Normal", "Proprietor"] : this.deskTypes }; if (infoType === "station" && info.resourceTypes.length === 1 && info.resourceTypes[0] === "Population") { //如果是社会力量,传一个resourceType = Population params = { pageIndex: 1, pageSize: 5000, securityStationIds: [stationId + ""], resourceType: "Population", searchModel: "SecurityStation", deskTypes: this.isCompany ? ["Normal", "Proprietor"] : this.deskTypes }; } if (infoType === "exam") { //如果是考场查询监考老师 params = { pageIndex: 1, pageSize: 5000, examSiteRoomId: info.id + "", searchModel: "ExamSiteRoom", deskTypes: this.isCompany ? ["Normal", "Proprietor"] : this.deskTypes }; } Object(_api_employee_controller__WEBPACK_IMPORTED_MODULE_11__["getEmployees"])(params).then(res => { console.log("stationEmployees", res); console.log("station", info); const stationEmployees = [...res].sort(function (x, y) { // true values first return x.stationResponsible === y.stationResponsible ? 0 : x.stationResponsible ? -1 : 1; }); info["stationEmployees"] = stationEmployees.map(x => { return { ...x, isPhone: false, isIdCardNo: false }; }); if (!info.employee && employeeInfo) { info["employee"] = employeeInfo; } this.info = { ...{}, ...info }; console.log("info", this.info); if (infoType) { this.clearMap(); this.hideFenceTable(); this.returnWin = { info, infoType }; this.layers.stationEmployeesLayer.features = [{ coordinates: [Number(info.longitude), Number(info.latitude)], convert: "gd-84", style: { icon: { src: __webpack_require__(/*! @/assets/images/mapSearch/在岗_保安员.png */ "./src/assets/images/mapSearch/在岗_保安员.png") } }, props: info }]; if (infoType === "rail") { info["name"] = info.stationName; } } /** * @弹框位置转高德转84 */ this.layers.stationEmployeesLayer.overlay.position = v_ol_map__WEBPACK_IMPORTED_MODULE_5__["utils"].convertCoordinate([Number(info.longitude), Number(info.latitude)], "gd-84"); this.$refs.map.panTo({ // zoom: 13, // flyZoom: 8, center: this.layers.stationEmployeesLayer.overlay.position }); }).catch(err => { console.log(err); }); }, /** * @内保单位驻勤点详情 * @param info * @param infoType */ showCompanyStationsInfo({ info, infoType }) { console.log("showCompanyStationsInfo-" + infoType, info); let companyId = info.id; if (infoType === "station") { companyId = info.proprietorCompanyId; info["companyName"] = info.proprietorCompanyName; } else { info["companyName"] = info.name; } Object(_api_security_station_controller__WEBPACK_IMPORTED_MODULE_9__["getStations"])({ pageIndex: 1, pageSize: 1000, searchModel: "Organization", organizationId: companyId, deskTypes: this.isCompany ? ["Normal", "Proprietor"] : this.deskTypes }).then(res => { console.log("companyStations", res); console.log("company", info); info["companyStations"] = res.map(x => { return { ...x, isPhone: false }; }); this.info = { ...{}, ...info }; console.log("info", this.info); if (infoType) { this.clearMap(); this.hideFenceTable(); this.returnWin = { info, infoType }; this.layers.companyStationsLayer.features = [{ coordinates: [Number(info.longitude), Number(info.latitude)], convert: "gd-84", style: { icon: { src: __webpack_require__(/*! @/assets/images/mapSearch/内保单位公司.png */ "./src/assets/images/mapSearch/内保单位公司.png") } }, props: info }]; } /** * @弹框位置转高德转84 */ this.layers.companyStationsLayer.overlay.position = v_ol_map__WEBPACK_IMPORTED_MODULE_5__["utils"].convertCoordinate([Number(info.longitude), Number(info.latitude)], "gd-84"); this.$refs.map.panTo({ // zoom: 13, // flyZoom: 8, center: this.layers.companyStationsLayer.overlay.position }); }).catch(err => { console.log(err); }); }, switchType(type) { this.activeType = type; if (this.activeType !== "2") { this.mapToolDisableList = ["resource"]; } else { this.mapToolDisableList = []; } console.log("mapToolDisableList", this.mapToolDisableList); this.hideFenceTable(); }, /** * @搜索框企业搜索结果回调 * @param data */ onSearchCompany(data, isProprietor) { console.log("onSearchCompany", data); this.layers.companyLayer.features = []; this.clearMap(); this.hideFenceTable(); let noLonLat = 0; //无坐标数 if (data) { let companyIcon = __webpack_require__(/*! @/assets/images/mapSearch/公司.png */ "./src/assets/images/mapSearch/公司.png"); if (isProprietor && isProprietor === "Proprietor") { companyIcon = __webpack_require__(/*! @/assets/images/mapSearch/内保单位公司.png */ "./src/assets/images/mapSearch/内保单位公司.png"); } data.forEach(item => { if (item.longitude && item.latitude) { this.layers.companyLayer.features.push({ coordinates: [Number(item.longitude), Number(item.latitude)], convert: "gd-84", style: { icon: { src: companyIcon } }, props: item }); } else { noLonLat++; } }); console.log(this.layers.companyLayer.features); this.$refs.search.setCompanyNum(data.length, noLonLat); } this.setCenterAfterSearch(); }, /** * @企业图层点击事件 * @param evt * @param feature */ clickCompany(evt, feature) { if (feature) { console.log(feature); const features = feature.get("features"); if (features && features.length === 1) { const company = features[0]; const info = company.get("props"); console.log(info); this.showCompanyInfo({ info }); } else { // 如果是聚合点就下钻一级 const zoom = this.$refs.map.map.getView().getZoom() + 4; const center = evt.coordinate; this.$refs.map.panTo({ zoom, center }); } this.$refs.search.hideFilter(); } }, /** * @企业详情 * @param info * @param infoType */ showCompanyInfo({ info, infoType, employeeInfo }) { console.log("showCompanyInfo-" + infoType, info); let companyId = info.id; if (infoType === "companyStations") { if (info.proprietorCompanyId) { companyId = info.proprietorCompanyId; } else { companyId = info.id; } } else if (infoType === "rail" || infoType === "station" || infoType === "employee" || infoType === "exam" || infoType === "examSite") { companyId = info.organizationId; } Object(_api_company_controller__WEBPACK_IMPORTED_MODULE_10__["getCompanyDetail"])(companyId).then(company => { company["registerAddressSlice"] = Object(_api_common__WEBPACK_IMPORTED_MODULE_27__["textSlice"])(company.registerAddress); company["platform"] = this.platform; console.log("company", company); console.log("employeeInfo", employeeInfo); if (!info.employee && employeeInfo) { info["employee"] = employeeInfo; } this.info = { ...{}, ...company }; let companyIcon = __webpack_require__(/*! @/assets/images/mapSearch/公司.png */ "./src/assets/images/mapSearch/公司.png"); if (company.resourceTypes.includes("Proprietor")) { companyIcon = __webpack_require__(/*! @/assets/images/mapSearch/内保单位公司.png */ "./src/assets/images/mapSearch/内保单位公司.png"); } if (infoType) { this.clearMap(); this.hideFenceTable(); this.returnWin = { info, infoType }; this.layers.companyLayer.features = [{ coordinates: [Number(company.longitude), Number(company.latitude)], convert: "gd-84", style: { icon: { src: companyIcon } }, props: company }]; } /** * @弹框位置转高德转84 */ this.layers.companyLayer.overlay.position = v_ol_map__WEBPACK_IMPORTED_MODULE_5__["utils"].convertCoordinate([Number(company.longitude), Number(company.latitude)], "gd-84"); this.$refs.map.panTo({ // zoom: 13, // flyZoom: 8, center: this.layers.companyLayer.overlay.position }); }).catch(err => { console.log(err); }); }, /** * @搜索框智能设备搜索结果回调 * @param data */ onSearchDevice(data) { console.log("onSearchDevice", data); this.clearMap(); this.hideFenceTable(); this.layers.deviceLayer.features = data.map(feature => { return { coordinates: [Number(feature.longitude), Number(feature.latitude)], convert: "gd-84", style: { icon: { src: __webpack_require__(/*! @/assets/images/mapSearch/智能设备.png */ "./src/assets/images/mapSearch/智能设备.png") } }, props: feature }; }); console.log(this.layers.deviceLayer.features); }, /** * @智能设备图层点击事件 * @param evt * @param feature */ clickDevice(evt, feature) { if (feature) { console.log(feature); const features = feature.get("features"); if (features && features.length === 1) { const device = features[0]; const info = device.get("props"); console.log(info); this.showDeviceInfo({ info }); } else { // 如果是聚合点就下钻一级 const zoom = this.$refs.map.map.getView().getZoom() + 4; const center = evt.coordinate; this.$refs.map.panTo({ zoom, center }); } this.$refs.search.hideFilter(); } }, /** * @智能设备详情 * @param info * @param infoType */ showDeviceInfo({ info, infoType }) { console.log(info, infoType); }, /** * @搜索框电子围栏搜索结果回调 * @param data */ onSearchRail(data) { console.log("onSearchRail", data); this.clearMap(); this.hideFenceTable(); this.layers.railLayer.cluster = { distance: 110, style: { circle: { radius: 50, fill: { color: "#0E71FF" } }, text: { font: "22px Source Han Sans CN-Medium, Source Han Sans CN", fill: { color: "#FFFFFF" } } } }; this.layers.railLayer.features = data.map(feature => { console.log("railFeature", feature); if (feature.shapeType === "Circle") { //圆形 } else if (feature.shapeType === "Crib") { //方形 } return { coordinates: [Number(feature.shapedLocation.geos[0].lon), Number(feature.shapedLocation.geos[0].lat)], convert: "gd-84", style: { icon: { src: __webpack_require__(/*! @/assets/images/mapSearch/电子围栏map.png */ "./src/assets/images/mapSearch/电子围栏map.png") } }, props: feature }; }); console.log(this.layers.railLayer.features); this.setCenterAfterSearch(); }, /** * @电子围栏图层点击事件 * @param evt * @param feature */ clickRail(evt, feature) { if (feature) { console.log(feature); const rails = feature.get("features"); if (rails && rails.length === 1) { this.showRailInfoFromList = false; const rail = rails[0]; const info = rail.get("props"); console.log("clickRailInfo", info); this.showRailInfo({ info }); } else { if (feature.get("props")) { this.showRailInfoFromList = false; const info = feature.get("props"); console.log("clickRailInfo", info); this.showRailInfo({ info }); } else { // 如果是聚合点就下钻一级 const zoom = this.$refs.map.map.getView().getZoom() + 1; const center = evt.coordinate; this.$refs.map.panTo({ zoom, center }); } } this.$refs.search.hideFilter(); } }, /** * @电子围栏详情 * @param info * @param infoType */ showRailInfo({ info, infoType }) { // this.layers.railLayer.features = []; Object(_api_security_station_rails_controller__WEBPACK_IMPORTED_MODULE_26__["getRailDetail"])(info.id).then(res => { console.log("railres", res); console.log("railinfo", info); res["id"] = info.id; //后端传值有问题 // res["name"] = info.name; //后端传值有问题 res["shapedLocation"] = info.shapedLocation; //后端传值有问题 res["companyNameSlice"] = Object(_api_common__WEBPACK_IMPORTED_MODULE_27__["textSlice"])(res.companyName); //多出部分省略号显示 this.info = { ...{}, ...res }; if (infoType) { this.clearMap(); this.hideFenceTable(); this.returnWin = { info, infoType }; } if (res.railShapeType === "Circle") { console.log("Circle", res.shapedLocation); const feature = { type: "circle", // center: [118.051876, 24.607453], // radius: 272, convert: "gd-84", center: [res.shapedLocation.geos[0].lon, res.shapedLocation.geos[0].lat], radius: res.shapedLocation.radius, props: info }; console.log(feature); this.layers.railLayer.cluster = false; this.layers.railLayer.features = [feature]; } else if (res.railShapeType === "Crib" || res.railShapeType === "Polygon") { const coordinates = res.shapedLocation.geos.map(x => { return [x.lon, x.lat]; }); this.layers.railLayer.cluster = false; this.layers.railLayer.features = [{ type: "polygon", convert: "gd-84", coordinates, props: info }]; } }).catch(err => { console.log(err); }); }, onRailLayerChange(features) { console.log(features); if (features && features.length === 1) { const feature = features[0]; const type = feature.get("type"); if (type && !this.showRailInfoFromList) { console.log(type); if (type === "polygon" || type === "Polygon") { const geometry = feature.get("geometry"); // const view = this.$refs.map.map.getView(); // view.fit(geometry, { // duration: 1000, // }); const result = this.$refs.map.calculateCenter(geometry); const { center } = result; // console.log(coordinates) /** * @弹框位置转高德转84 */ this.layers.railLayer.overlay.position = center; } else if (type === "circle" || type === "Circle") { const geometry = feature.get("geometry"); // const view = this.$refs.map.map.getView(); // view.fit(geometry, { // duration: 1000, // }); this.layers.railLayer.overlay.position = geometry.getCenter(); } } } }, /** * @搜索框考场搜索结果回调 * @param data */ onSearchExam(data) { console.log("onSearchExam", data); this.layers.examLayer.features = []; this.clearMap(); this.hideFenceTable(); let onExam = 0; //启用总数 let noExam = 0; //禁用总数 if (data) { data.forEach(item => { let feature; feature = { coordinates: [Number(item.longitude), Number(item.latitude)], convert: "gd-84", style: { icon: { src: __webpack_require__(/*! @/assets/images/mapSearch/考场.png */ "./src/assets/images/mapSearch/考场.png") // scale: 0.5, } }, props: item }; if (item.status === true) { onExam++; //启用 } else { noExam++; } if (item.longitude && item.latitude) { this.layers.examLayer.features.push(feature); } }); } this.setCenterAfterSearch(); console.log(this.layers.examLayer.features); this.$refs.search.setExamNum(onExam, noExam); }, /** * @考场图层点击事件 * @param evt * @param feature */ clickExam(evt, feature) { if (feature) { console.log(feature); const isCluster = feature.get("cluster"); if (!isCluster) { const info = feature.get("props"); this.showExamInfo(info); } else { // 如果是聚合点就下钻一级 const zoom = this.$refs.map.map.getView().getZoom() + 4; const center = evt.coordinate; this.$refs.map.panTo({ zoom, center }); } this.$refs.search.hideFilter(); } }, /** * @考场详情 * @param info * @param infoType */ showExamInfo(info, infoType) { console.log("examInfo_" + infoType, info); Object(_api_exam_site_room_controller__WEBPACK_IMPORTED_MODULE_12__["getExamSiteRoomDetail"])(info.id).then(res => { res["companyNameSlice"] = Object(_api_common__WEBPACK_IMPORTED_MODULE_27__["textSlice"])(res.companyName); //多出部分省略号显示 this.info = { ...{}, ...res }; if (infoType) { this.clearMap(); this.hideFenceTable(); this.returnWin = { info, infoType }; this.layers.examLayer.features = [{ coordinates: [Number(info.longitude), Number(info.latitude)], convert: "gd-84", style: { icon: { src: __webpack_require__(/*! @/assets/images/mapSearch/考场.png */ "./src/assets/images/mapSearch/考场.png") // scale: 0.5, } }, props: info }]; } /** * @弹框位置转高德转84 */ this.layers.examLayer.overlay.position = v_ol_map__WEBPACK_IMPORTED_MODULE_5__["utils"].convertCoordinate([Number(res.longitude), Number(res.latitude)], "gd-84"); this.$refs.map.panTo({ // zoom: 13, // flyZoom: 8, center: this.layers.examLayer.overlay.position }); }).catch(err => { console.log(err); }); }, /** * @考试点图层点击事件 * @param evt * @param feature */ clickExamSite(evt, feature) { if (feature) { console.log(feature); const features = feature.get("features"); if (features && features.length === 1) { const examSite = features[0]; const info = examSite.get("props"); console.log(info); this.showExamSiteInfo({ info }); } else { // 如果是聚合点就下钻一级 const zoom = this.$refs.map.map.getView().getZoom() + 4; const center = evt.coordinate; this.$refs.map.panTo({ zoom, center }); } this.$refs.search.hideFilter(); } }, /** * @考试点信息 * @param info * @param infoType */ showExamSiteInfo(info, infoType) { console.log("examSiteInfo_" + infoType, info); let examSiteId = info.examSiteId; if (infoType === "examSite") { examSiteId = info.id; } Object(_api_exam_site_room_controller__WEBPACK_IMPORTED_MODULE_12__["getExamSiteDetail"])(examSiteId).then(res => { console.log("examSite", res); res["companyNameSlice"] = Object(_api_common__WEBPACK_IMPORTED_MODULE_27__["textSlice"])(res.companyName); //多出部分省略号显示 res["addressSlice"] = Object(_api_common__WEBPACK_IMPORTED_MODULE_27__["textSlice"])(res.address); //多出部分省略号显示 this.info = { ...{}, ...res }; if (infoType) { this.clearMap(); this.hideFenceTable(); this.returnWin = { info, infoType }; this.layers.examSiteLayer.features = [{ coordinates: [Number(res.longitude), Number(res.latitude)], convert: "gd-84", style: { icon: { src: __webpack_require__(/*! @/assets/images/mapSearch/考试点.png */ "./src/assets/images/mapSearch/考试点.png") } }, props: info }]; } /** * @弹框位置转高德转84 */ this.layers.examSiteLayer.overlay.position = v_ol_map__WEBPACK_IMPORTED_MODULE_5__["utils"].convertCoordinate([Number(res.longitude), Number(res.latitude)], "gd-84"); this.$refs.map.panTo({ // zoom: 13, // flyZoom: 8, center: this.layers.examSiteLayer.overlay.position }); }).catch(err => { console.log(err); }); }, /** * @安保员弹框点击关闭 */ closeEmployeeInfo() { this.returnWin = {}; this.layers.employeeLayer.overlay.position = undefined; this.$refs.employeeOverlay.resetVisible(); }, /** * @驻勤点弹框点击关闭 */ closeStationInfo() { this.returnWin = {}; this.layers.stationLayer.overlay.position = undefined; }, /** * @内保单位弹框点击关闭 */ closeCompanyStationsInfo() { this.returnWin = {}; this.layers.companyStationsLayer.overlay.position = undefined; }, /** * @驻勤点人数弹框点击关闭 */ closeStationEmployeesInfo() { this.returnWin = {}; this.layers.stationEmployeesLayer.overlay.position = undefined; }, /** * @企业弹框点击关闭 */ closeCompanyInfo() { this.returnWin = {}; this.layers.companyLayer.overlay.position = undefined; }, /** * @智能设备弹框点击关闭 */ closeDeviceInfo() { this.returnWin = {}; this.layers.deviceLayer.overlay.position = undefined; }, /** * @考场弹框点击关闭 */ closeExamInfo() { this.returnWin = {}; this.layers.examLayer.overlay.position = undefined; }, /** * @考试点弹框点击关闭 */ closeExamSiteInfo() { this.returnWin = {}; this.layers.examSiteLayer.overlay.position = undefined; }, /** * @电子围栏弹框点击关闭 */ closeRailInfo() { this.returnWin = {}; this.layers.railLayer.overlay.position = undefined; // this.clearMap(); }, /** * @搜索后定位中心点 */ setCenterAfterSearch() { if (this.centerPoint && this.centerPoint.length != 0) { this.$refs.map.panTo({ zoom: 12, center: this.centerPoint }); } }, /** * @注册显示弹框类事件 */ eventBusBinding() { this.$bus.$on("click-employee", this.showEmployeeInfo); // 显示保安员弹框 this.$bus.$on("click-company", this.showCompanyInfo); // 显示公司弹框 this.$bus.$on("click-station", this.showStationInfo); // 显示驻勤点弹框 this.$bus.$on("click-stationEmployees", this.showStationEmployeesInfo); // 显示驻勤点人员 this.$bus.$on("click-companyStations", this.showCompanyStationsInfo); // 显示驻勤点 this.$bus.$on("click-rail", this.showRailInfo); // 显示电子围栏 this.$bus.$on("click-exam", this.showExamInfo); // 显示考场信息 this.$bus.$on("click-examSite", this.showExamSiteInfo); // 显示考试点信息 }, /** * @清空地图 */ clearMap(exclude = []) { for (let layersKey in this.layers) { if (!exclude.includes(layersKey)) { this.layers[layersKey].features = []; } } this.$refs.map.closeOverlays(); }, onChangeLayer(type) { // console.log("onChangeLayer", type); if (type.indexOf("default") > -1) { this.tileType = "GD"; } else { this.tileType = "GD_IMG"; } }, /** * @电子围栏列表 */ setFence() { this.isElectronicFenceDialog = true; }, /** * @生成安保员热力图 */ setHeatmap() { this.$store.commit("TOGGLE_SHOW_HEATMAP"); this.$refs.search.searchEmployee(); }, electronicFenceCancel() { this.isElectronicFenceDialog = false; }, /** * @关闭驻勤点人员 */ electronicFencePeopleCancel() { this.isElectronicFencePeople = false; }, /** * @关联驻勤点 */ relationStationFn(info) { this.isElectronicFenceStationDialog = true; this.info = { ...this.info, ...info }; }, electronicFenceStationCancel() { this.isElectronicFenceStationDialog = false; this.cleanDrawFigure(); }, async setRelatedStation(val) { this.isElectronicFenceStationDialog = false; console.log(val); this.$refs.electronicFenceEdit.updateStation(val); // 显示关联的驻勤点 const situation = await Object(_api_security_station_controller__WEBPACK_IMPORTED_MODULE_9__["getStationDetail"])(val.stationId); console.log("situation", situation); this.layers.stationLayer.features = [situation].map(feature => { return { coordinates: [Number(feature.longitude), Number(feature.latitude)], convert: "gd-84", style: { icon: { src: feature.stationTypes[0].mapIcon, scale: 0.5 } }, props: feature }; }); this.$refs.map.panTo({ // zoom: 13, // flyZoom: 8, center: [Number(situation.longitude), Number(situation.latitude)] }); }, /** * @新增电子围栏 */ addElectronic() { this.isElectronicFenceEditDialog = true; this.isElectronicFenceDialog = false; this.electronicFenceInfo = JSON.parse(JSON.stringify(this.info)); this.electronicFenceInfo = {}; }, delElectronic(data) { console.log(data); let params = { id: data.data.id }; Object(_api_security_station_rails_controller__WEBPACK_IMPORTED_MODULE_26__["deleteRail"])(params).then(res => { console.log("deleteRail", res); this.$refs["electronicFence"].getRails(); this.$message({ message: "删除成功", type: "success" }); }).catch(err => { console.log(err); }); }, /** * @编辑某条电子围栏 * @param data */ async electronicFenceEditFn({ data }) { console.log("编辑某条电子围栏", data); this.showRailInfoFromList = true; // 显示关联的驻勤点 const situation = await Object(_api_security_station_controller__WEBPACK_IMPORTED_MODULE_9__["getStationDetail"])(data.stationId); console.log(situation); this.layers.stationLayer.features = [situation].map(feature => { return { coordinates: [Number(feature.longitude), Number(feature.latitude)], convert: "gd-84", style: { icon: { src: feature.stationTypes[0].mapIcon, scale: 0.5 } }, props: feature }; }); // this.map.clearMap(); this.isElectronicFenceDialog = false; this.electronicFenceInfo = JSON.parse(JSON.stringify(data)); this.electronicFenceInfo.time = [this.electronicFenceInfo.beginTime, this.electronicFenceInfo.endTime]; this.electronicFenceInfo.countOfSecurityMan = situation.countOfSecurityMan; const rail = await Object(_api_security_station_rails_controller__WEBPACK_IMPORTED_MODULE_26__["getRailDetail"])(data.id); this.info = { ...rail, ...this.electronicFenceInfo }; // 弹框信息 console.log(this.info); this.isElectronicFenceEditDialog = true; // 显示可编辑围栏区域 this.showMapEditor(data); }, showMapEditor({ shapeType, shapedLocation }) { switch (shapeType) { case "Circle": // 圆 this.showCircleEditor(shapedLocation); break; case "Polygon": this.showPolygonEditor(shapedLocation); break; case "Crib": this.showCribEditor(shapedLocation); break; } }, showPolygonEditor({ geos }) { let list = geos.map(item => [item.lon, item.lat]); console.log(list); this.layers.railLayer.features = [{ type: "polygon", coordinates: list, style: this.layers.railLayer.style, convert: "gd-84" }]; this.$refs.map.flyTo({ zoom: 13, flyZoom: 8, center: list[0] }); console.log(this.layers.railLayer.features); }, showCribEditor({ geos }) { let list = geos.map(item => [item.lon, item.lat]); console.log(list); this.layers.railLayer.features = [{ type: "polygon", coordinates: list, style: this.layers.railLayer.style, convert: "gd-84" }]; this.$refs.map.flyTo({ zoom: 13, flyZoom: 8, center: list[0] }); console.log(this.layers.railLayer.features); }, showCircleEditor({ geos, radius }) { const [center] = geos.map(item => [item.lon, item.lat]); console.log(center); this.layers.railLayer.features = [{ type: "Circle", center, radius, style: this.layers.railLayer.style, convert: "gd-84" }]; this.$refs.map.flyTo({ zoom: 13, // flyZoom: 8, center }); }, electronicFenceEditCancel() { this.isElectronicFenceEditDialog = false; this.cleanDrawFigure(); }, openPeopleNumFn(id, stationName) { this.electronicFencePeopleList = []; this.isElectronicFencePeople = true; this.peopleStationName = stationName; Object(_api_employee_controller__WEBPACK_IMPORTED_MODULE_11__["getEmployees"])({ pageIndex: 1, pageSize: 5000, securityStationIds: [id + ""], searchModel: "SecurityStation", deskTypes: this.isCompany ? ["Normal", "Proprietor"] : this.deskTypes }).then(res => { this.electronicFencePeopleList = res; }); }, cleanDrawFigure() { this.drawType = ""; }, drawRail(type) { console.log("drawRail", type); // this.layers.railLayer.features = [] this.drawType = type; }, drawend(evt, map) { const { feature } = evt; console.log(this.drawType); this.layers.railLayer.features = []; // 清空上一个电子围栏 const geometry = feature.getGeometry(); if (this.drawType === "Rectangle" || this.drawType === "Polygon") { const [coordinates] = geometry.getCoordinates(); const convertCoordinates = coordinates.map(coordinate => { return v_ol_map__WEBPACK_IMPORTED_MODULE_5__["utils"].convertCoordinate(coordinate, "84-gd"); }); console.log(coordinates); console.log(convertCoordinates); const params = { geos: convertCoordinates.map(item => { return { lon: item[0], lat: item[1] }; }) }; console.log(params); this.$refs.electronicFenceEdit.updateGeometry(params); } else if (this.drawType === "Circle") { const center = geometry.getCenter(); console.log(center); const geoRadius = geometry.getRadius(); // 半径 const metersPerUnit = map.getView().getProjection().getMetersPerUnit(); // 半径以米为单位 const radius = (geoRadius * metersPerUnit).toFixed(2); console.log(radius); const convertCoordinates = v_ol_map__WEBPACK_IMPORTED_MODULE_5__["utils"].convertCoordinate(center, "84-gd"); const params = { geos: [{ lon: convertCoordinates[0], lat: convertCoordinates[1] }], radius }; console.log(params); this.$refs.electronicFenceEdit.updateGeometry(params); } } }, mounted() { this.eventBusBinding(); // ip定位 Object(_pikaz_location__WEBPACK_IMPORTED_MODULE_28__["getIpLocation"])().then(res => { console.log(res); const { city } = res; this.view.city = city; }).catch(err => { console.log(err); }); this.init(); } }); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/company/index.vue?vue&type=template&id=164dba56&scoped=true": /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/company/index.vue?vue&type=template&id=164dba56&scoped=true ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm$returnWin, _vm$returnWin2, _vm$returnWin3, _vm$returnWin4, _vm$returnWin5, _vm$returnWin6, _vm$returnWin7, _vm$returnWin8, _vm$returnWin9, _vm$returnWin10, _vm$returnWin11; var _vm = this, _c = _vm._self._c; return _c("div", { staticClass: "infoWin" }, [_c("div", { staticClass: "header-new" }, [_c("img", { staticClass: "header-img", attrs: { src: _vm.info.platform === "2" ? __webpack_require__(/*! @/assets/images/mapSearch/内保单位.png */ "./src/assets/images/mapSearch/内保单位.png") : __webpack_require__(/*! @/assets/images/mapSearch/搜地址.png */ "./src/assets/images/mapSearch/搜地址.png"), alt: "" } }), _vm._v(_vm._s(_vm.info.name) + " "), !_vm.isFollowed ? _c("el-button", { staticClass: "follow-btn", attrs: { type: "primary", plain: "", size: "mini" }, on: { click: function ($event) { return _vm.followCompany(_vm.info.id); } } }, [_vm._v(" 关注 ")]) : _vm._e(), _vm.isFollowed ? _c("el-button", { staticClass: "follow-btn", attrs: { type: "primary", plain: "", size: "mini" }, on: { click: function ($event) { return _vm.unFollowCompany(_vm.info.id); } } }, [_vm._v(" 取消关注 ")]) : _vm._e()], 1), ((_vm$returnWin = _vm.returnWin) === null || _vm$returnWin === void 0 ? void 0 : _vm$returnWin.infoType) === "station" ? _c("div", { staticClass: "back", on: { click: function ($event) { return _vm.onClickStation(_vm.returnWin.info); } } }, [_vm._v("< 返回驻勤点信息")]) : _vm._e(), ((_vm$returnWin2 = _vm.returnWin) === null || _vm$returnWin2 === void 0 ? void 0 : _vm$returnWin2.infoType) === "employee" ? _c("div", { staticClass: "back", on: { click: function ($event) { return _vm.onClickEmployee(_vm.returnWin.info); } } }, [_vm._v("< 返回保安员信息")]) : _vm._e(), ((_vm$returnWin3 = _vm.returnWin) === null || _vm$returnWin3 === void 0 ? void 0 : _vm$returnWin3.infoType) === "rail" ? _c("div", { staticClass: "back", on: { click: function ($event) { return _vm.onClickRail(_vm.returnWin.info); } } }, [_vm._v("< 返回电子围栏信息")]) : _vm._e(), ((_vm$returnWin4 = _vm.returnWin) === null || _vm$returnWin4 === void 0 ? void 0 : _vm$returnWin4.infoType) === "exam" ? _c("div", { staticClass: "back", on: { click: function ($event) { return _vm.onClickExam(_vm.returnWin.info, "exam"); } } }, [_vm._v("< 返回考场信息")]) : _vm._e(), ((_vm$returnWin5 = _vm.returnWin) === null || _vm$returnWin5 === void 0 ? void 0 : _vm$returnWin5.infoType) === "examSite" ? _c("div", { staticClass: "back", on: { click: function ($event) { return _vm.onClickExamSite(_vm.returnWin.info, "examSite"); } } }, [_vm._v(" < 返回考试点信息 ")]) : _vm._e(), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v(_vm._s(_vm.info.platform === "1" ? "法定代表人" : "负责人员") + ":")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.info.legal))])]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("联系方式:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.isPhone ? _vm.info.legalContact : "***********") + " "), _vm.isPhone ? _c("span", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); _vm.isPhone = !_vm.isPhone; } } }, [_vm._v("隐藏")]) : _vm._e(), !_vm.isPhone ? _c("span", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); _vm.isPhone = !_vm.isPhone; } } }, [_vm._v("显示")]) : _vm._e()])]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v(_vm._s(_vm.info.platform === "1" ? "注册地址" : "内保单位地址") + ":")]), _c("el-tooltip", { attrs: { effect: "dark", content: _vm.info.registerAddress, placement: "top" } }, [_c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.info.registerAddressSlice) + " ")])])], 1), _vm.info.platform === "2" ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("内保单位监督机构:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.info.superviseDepartName))])]) : _vm._e(), _vm.info.platform === "2" ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("驻勤点个数:")]), _c("div", { staticClass: "content-new-value active", on: { click: function ($event) { return _vm.clickCompanyStations(_vm.info, "company"); } } }, [_vm._v(" " + _vm._s(_vm.info.countOfActivityStation) + " ")])]) : _vm._e(), _vm.info.platform === "1" && ((_vm$returnWin6 = _vm.returnWin) === null || _vm$returnWin6 === void 0 ? void 0 : _vm$returnWin6.infoType) !== "exam" && ((_vm$returnWin7 = _vm.returnWin) === null || _vm$returnWin7 === void 0 ? void 0 : _vm$returnWin7.infoType) !== "examSite" ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("保安员数:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.info.countOfSecurityMan))])]) : _vm._e(), _vm.info.platform === "1" && ((_vm$returnWin8 = _vm.returnWin) === null || _vm$returnWin8 === void 0 ? void 0 : _vm$returnWin8.infoType) !== "exam" && ((_vm$returnWin9 = _vm.returnWin) === null || _vm$returnWin9 === void 0 ? void 0 : _vm$returnWin9.infoType) !== "examSite" ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("企业类型:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.info.institutionalName))])]) : _vm._e(), _vm.info.platform === "2" ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("内保单位类型:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.info.institutionalName) + " ")])]) : _vm._e(), _vm.info.platform === "2" ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("甲方管理员人数:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.info.countOfMan) + " ")])]) : _vm._e(), ((_vm$returnWin10 = _vm.returnWin) === null || _vm$returnWin10 === void 0 ? void 0 : _vm$returnWin10.infoType) === "exam" || ((_vm$returnWin11 = _vm.returnWin) === null || _vm$returnWin11 === void 0 ? void 0 : _vm$returnWin11.infoType) === "examSite" ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("考场数:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.info.countOfExamSiteRooms) + " ")])]) : _vm._e()]); }; var staticRenderFns = []; render._withStripped = true; /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/companyStations/index.vue?vue&type=template&id=c8147018&scoped=true": /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/companyStations/index.vue?vue&type=template&id=c8147018&scoped=true ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm = this, _c = _vm._self._c; return _c("div", { staticClass: "infoWin" }, [_c("div", { staticClass: "header-new" }, [_c("img", { staticClass: "header-img", attrs: { src: __webpack_require__(/*! @/assets/images/mapSearch/内保单位.png */ "./src/assets/images/mapSearch/内保单位.png"), alt: "" } }), _vm._v(_vm._s(_vm.info.companyName) + " ")]), _c("div", { staticClass: "back", on: { click: function ($event) { return _vm.onClickCompany(_vm.returnWin.info, "companyStations"); } } }, [_vm._v("< 返回内保单位")]), _c("div", { staticClass: "info-window-companyStations-station" }, _vm._l(_vm.info.companyStations, function (item, index) { return _c("div", { key: index, staticStyle: { "border-bottom": "1px solid #bdcfde", "margin-top": "16px" } }, [_vm._m(0, true), _c("div", { staticClass: "circle-detail", on: { click: function ($event) { return _vm.clickStation(item, "companyStations"); } } }, [_c("div", { staticClass: "detail-item" }, [_vm._v(_vm._s(item.name))]), _c("div", { staticClass: "detail-item" }, [_vm._v("负责人员:" + _vm._s(item.principalName))]), _c("div", { staticClass: "detail-item" }, [_c("div", { staticClass: "detail-item-label" }, [_vm._v("联系方式:")]), _c("div", { staticClass: "detail-item-value" }, [_vm._v(" " + _vm._s(item.isPhone ? item.principalContact : "***********") + " ")]), _c("span", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); item.isPhone = !item.isPhone; } } }, [_vm._v(_vm._s(item.isPhone ? "隐藏" : "显示"))])])])]); }), 0)]); }; var staticRenderFns = [function () { var _vm = this, _c = _vm._self._c; return _c("div", { staticClass: "circle-style" }, [_c("img", { staticClass: "header-img", attrs: { src: __webpack_require__(/*! @/assets/images/mapSearch/驻勤点备份.png */ "./src/assets/images/mapSearch/驻勤点备份.png"), alt: "" } })]); }]; render._withStripped = true; /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/device/index.vue?vue&type=template&id=041e76d4&scoped=true": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/device/index.vue?vue&type=template&id=041e76d4&scoped=true ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm = this, _c = _vm._self._c; return _c("div", { staticClass: "infoWin" }, [_c("div", { staticClass: "header-new" }, [_c("img", { staticClass: "header-img", attrs: { src: __webpack_require__(/*! @/assets/images/mapSearch/智能对讲终端.png */ "./src/assets/images/mapSearch/智能对讲终端.png"), alt: "" } }), _vm._v(_vm._s(_vm.info.name) + " ")]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("设备号码:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.info.legal))])]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("设备类型:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.info.countOfActivityStation) + " ")])]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("保安员:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.info.countOfActivityStation) + " ")])]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("设备状态:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.info.countOfActivityStation) + " ")])]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("所属驻勤点:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.info.countOfActivityStation) + " ")])])]); }; var staticRenderFns = []; render._withStripped = true; /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/employee/index.vue?vue&type=template&id=9a17f728&scoped=true": /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/employee/index.vue?vue&type=template&id=9a17f728&scoped=true ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm$info; var _vm = this, _c = _vm._self._c; return _c("div", { staticClass: "infoWin" }, [_c("div", { staticClass: "header-new" }, [_c("div", { staticClass: "photo" }, [_vm._v(_vm._s(_vm.info.nameSlice))]), _c("el-tooltip", { staticClass: "box-item", attrs: { "popper-class": "item-light-tooltip-el", effect: "light", placement: "top" } }, [_c("div", { staticClass: "slot-style", attrs: { slot: "content" }, slot: "content" }, [_c("div", { staticStyle: { cursor: "pointer" }, on: { click: function ($event) { return _vm.copy(_vm.info.name); } } }, [_vm._v("复制")])]), _c("div", { staticStyle: { cursor: "pointer", float: "left", height: "30px", "line-height": "30px" } }, [_vm._v(" " + _vm._s(_vm.info.name) + "(" + _vm._s(_vm.info.dutyStatusText) + ") ")])]), !_vm.isFollowed ? _c("el-button", { staticClass: "follow-btn", attrs: { type: "primary", plain: "", size: "mini" }, on: { click: function ($event) { return _vm.followEmployee(_vm.info.id); } } }, [_vm._v(" 关注 ")]) : _vm._e(), _vm.isFollowed ? _c("el-button", { staticClass: "follow-btn", attrs: { type: "primary", plain: "", size: "mini" }, on: { click: function ($event) { return _vm.unFollowEmployee(_vm.info.id); } } }, [_vm._v(" 取消关注 ")]) : _vm._e()], 1), _vm.platform === "2" ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("所属内保单位:")]), _c("el-tooltip", { attrs: { effect: "dark", content: _vm.info.proprietorCompanyName, placement: "top" } }, [_c("div", { staticClass: "content-new-value active", on: { click: function ($event) { return _vm.clickCompany(_vm.info, "employee", "Proprietor"); } } }, [_vm._v(" " + _vm._s(_vm.info.proprietorCompanyName) + " ")])])], 1) : _vm._e(), !((_vm$info = _vm.info) !== null && _vm$info !== void 0 && (_vm$info = _vm$info.resourceTypes) !== null && _vm$info !== void 0 && _vm$info.includes("Proprietor")) ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("所属公司:")]), _c("el-tooltip", { attrs: { effect: "dark", content: _vm.info.companyName, placement: "top" } }, [_vm.isSecurity && _vm.info.institutional !== "0104" ? _c("div", { staticClass: "content-new-value active", on: { click: function ($event) { return _vm.clickCompany(_vm.info, "employee"); } } }, [_vm._v(" " + _vm._s(_vm.info.companyNameSlice) + " ")]) : _vm._e(), !_vm.isSecurity || _vm.info.institutional === "0104" ? _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.info.companyNameSlice + (_vm.info.institutional === "0104" ? "/自招" : "")) + " ")]) : _vm._e()])], 1) : _vm._e(), _c("div", { staticClass: "content-new" }, [_c("el-tooltip", { staticClass: "box-item", attrs: { "popper-class": "item-light-tooltip-el", effect: "light", placement: "top" } }, [_c("div", { staticClass: "slot-style", attrs: { slot: "content" }, slot: "content" }, [_c("div", { staticStyle: { cursor: "pointer" }, on: { click: function ($event) { return _vm.copy(_vm.info.securityStationName); } } }, [_vm._v("复制")])]), _c("div", { staticClass: "content-new-label", staticStyle: { cursor: "pointer" } }, [_vm._v(" 所属" + _vm._s(_vm.isSecurity || _vm.isProprietor ? "驻勤点" : "社区警务") + ": ")])]), _c("el-tooltip", { attrs: { effect: "dark", content: _vm.info.securityStationName, placement: "top" } }, [_c("div", { staticClass: "content-new-value active", on: { click: function ($event) { return _vm.clickStation(_vm.info, "employee"); } } }, [_vm._v(" " + _vm._s(_vm.info.securityStationNameSlice) + " ")])])], 1), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("证件号码:")]), _c("div", { staticClass: "content-new-value" }, [_c("el-tooltip", { staticClass: "box-item", attrs: { "popper-class": "item-light-tooltip-el", effect: "light", placement: "top" } }, [_c("div", { staticClass: "slot-style", attrs: { slot: "content" }, slot: "content" }, [_c("div", { staticStyle: { cursor: "pointer" }, on: { click: function ($event) { return _vm.copy(_vm.info.idCardNo); } } }, [_vm._v("复制")])]), _c("div", { staticStyle: { cursor: "pointer", float: "left", height: "30px", "line-height": "30px" } }, [_vm._v(" " + _vm._s(_vm.isIdCardNo ? _vm.info.idCardNo : "***************") + " ")])]), _vm.isIdCardNo ? _c("div", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); _vm.isIdCardNo = !_vm.isIdCardNo; } } }, [_vm._v("隐藏")]) : _vm._e(), !_vm.isIdCardNo ? _c("div", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); _vm.isIdCardNo = !_vm.isIdCardNo; } } }, [_vm._v("显示")]) : _vm._e()], 1)]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("联系方式:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.isContact ? _vm.info.contact : "***********") + " "), _vm.isContact ? _c("div", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); _vm.isContact = !_vm.isContact; } } }, [_vm._v("隐藏")]) : _vm._e(), !_vm.isContact ? _c("div", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); _vm.isContact = !_vm.isContact; } } }, [_vm._v("显示")]) : _vm._e()])]), _vm.isSecurity || _vm.isProprietor ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("实名认证:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.info.authenticatedStatusText))])]) : _vm._e(), _vm.isSecurity || _vm.isProprietor ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("持证情况:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.info.certificateSituation))])]) : _vm._e(), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("人员类型:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.info.occupationType) + " ")])])]); }; var staticRenderFns = []; render._withStripped = true; /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/rail/index.vue?vue&type=template&id=34d825d0&scoped=true": /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/rail/index.vue?vue&type=template&id=34d825d0&scoped=true ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm = this, _c = _vm._self._c; return _c("div", { staticClass: "infoWin" }, [_c("div", { staticClass: "header-new" }, [_c("img", { staticClass: "header-img", attrs: { src: __webpack_require__(/*! @/assets/images/mapSearch/电子围栏.png */ "./src/assets/images/mapSearch/电子围栏.png"), alt: "" } }), _vm._v(_vm._s(_vm.info.name))]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("生效时间:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.info.beginTime) + "-" + _vm._s(_vm.info.endTime))])]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("围栏类型:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.info.ruleTypeText))])]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("驻勤人员:")]), _c("div", { staticClass: "content-new-value active", on: { click: function ($event) { return _vm.clickStationEmployees(_vm.info, "rail"); } } }, [_vm._v(" " + _vm._s(_vm.info.countOfSecurityMan) + " ")])]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("所属单位:")]), _c("el-tooltip", { attrs: { effect: "dark", content: _vm.info.companyName, placement: "top" } }, [_c("div", { staticClass: "content-new-value active", on: { click: function ($event) { return _vm.clickCompany(_vm.info, "rail"); } } }, [_vm._v(_vm._s(_vm.info.companyName))])])], 1), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("所属驻勤点:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.info.stationName))])]), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("创建人员:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.info.principalName || _vm.info.creator))])])]); }; var staticRenderFns = []; render._withStripped = true; /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/station/index.vue?vue&type=template&id=6316a268&scoped=true": /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/station/index.vue?vue&type=template&id=6316a268&scoped=true ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm$returnWin, _vm$returnWin2, _vm$returnWin4; var _vm = this, _c = _vm._self._c; return _c("div", { staticClass: "infoWin" }, [_c("div", { staticClass: "header-new" }, [_c("img", { staticClass: "header-img", attrs: { src: __webpack_require__(/*! @/assets/images/mapSearch/驻勤点备份.png */ "./src/assets/images/mapSearch/驻勤点备份.png"), alt: "" } }), _c("div", { staticClass: "header-details" }, [_c("el-tooltip", { staticClass: "box-item", attrs: { "popper-class": "item-light-tooltip-el", effect: "light", placement: "top" } }, [_c("div", { staticClass: "slot-style", attrs: { slot: "content" }, slot: "content" }, [_c("div", { staticStyle: { cursor: "pointer" }, on: { click: function ($event) { return _vm.copy(_vm.info.name); } } }, [_vm._v("复制")])]), _c("div", { staticStyle: { cursor: "pointer", float: "left" } }, [_vm._v(_vm._s(_vm.name))])]), _c("div", { staticStyle: { float: "left" } }, [!_vm.isFollowed ? _c("el-button", { staticClass: "follow-btn", attrs: { type: "primary", plain: "", size: "mini", disabled: _vm.readonly }, on: { click: function ($event) { return _vm.followStation(_vm.info.id); } } }, [_vm._v(" 关注 ")]) : _vm._e(), _vm.isFollowed ? _c("el-button", { staticClass: "follow-btn", attrs: { type: "primary", plain: "", size: "mini", disabled: _vm.readonly }, on: { click: function ($event) { return _vm.unFollowStation(_vm.info.id); } } }, [_vm._v(" 取消关注 ")]) : _vm._e()], 1)], 1)]), ((_vm$returnWin = _vm.returnWin) === null || _vm$returnWin === void 0 ? void 0 : _vm$returnWin.infoType) === "employee" ? _c("div", { staticClass: "back", on: { click: function ($event) { return _vm.onClickEmployee(_vm.returnWin.info); } } }, [_vm._v(" < 返回" + _vm._s(_vm.employeeTypeName) + "信息 ")]) : ((_vm$returnWin2 = _vm.returnWin) === null || _vm$returnWin2 === void 0 || (_vm$returnWin2 = _vm$returnWin2.info) === null || _vm$returnWin2 === void 0 ? void 0 : _vm$returnWin2.employee) !== undefined ? _c("div", { staticClass: "back", on: { click: function ($event) { var _vm$returnWin3; return _vm.onClickEmployee((_vm$returnWin3 = _vm.returnWin) === null || _vm$returnWin3 === void 0 || (_vm$returnWin3 = _vm$returnWin3.info) === null || _vm$returnWin3 === void 0 ? void 0 : _vm$returnWin3.employee); } } }, [_vm._v(" < 返回" + _vm._s(_vm.employeeTypeName) + "信息 ")]) : _vm._e(), ((_vm$returnWin4 = _vm.returnWin) === null || _vm$returnWin4 === void 0 ? void 0 : _vm$returnWin4.infoType) === "companyStations" ? _c("div", { staticClass: "back", on: { click: function ($event) { return _vm.onClickCompanyStations(_vm.info); } } }, [_vm._v(" < 返回驻勤点列表 ")]) : _vm._e(), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("公司名称:")]), _c("el-tooltip", { attrs: { effect: "dark", content: _vm.companyName, placement: "top" } }, [_vm.isSecurityAndPopulation || _vm.resourceType === "Security" ? _c("div", { staticClass: "content-new-value active", on: { click: function ($event) { var _vm$returnWin5; return _vm.clickCompany(_vm.info, "station", (_vm$returnWin5 = _vm.returnWin) === null || _vm$returnWin5 === void 0 ? void 0 : _vm$returnWin5.info); } } }, [_vm._v(" " + _vm._s(_vm.companyNameSlice) + " ")]) : _vm._e(), _vm.resourceType === "Population" ? _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.companyNameSlice) + " ")]) : _vm._e()])], 1), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("负责人员:")]), _c("el-tooltip", { staticClass: "box-item", attrs: { "popper-class": "item-light-tooltip-el", effect: "light", placement: "top" } }, [_c("div", { staticClass: "slot-style", attrs: { slot: "content" }, slot: "content" }, [_c("div", { staticStyle: { cursor: "pointer" }, on: { click: function ($event) { return _vm.copy(_vm.info.principalName); } } }, [_vm._v("复制")])]), _c("div", { staticClass: "content-new-value", staticStyle: { cursor: "pointer" } }, [_vm._v(_vm._s(_vm.principalName))])])], 1), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("联系方式:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.isPhone ? _vm.principalContact : "***********") + " "), _vm.isPhone ? _c("span", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); _vm.isPhone = !_vm.isPhone; } } }, [_vm._v("隐藏")]) : _vm._e(), !_vm.isPhone ? _c("span", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); _vm.isPhone = !_vm.isPhone; } } }, [_vm._v("显示")]) : _vm._e()])]), _vm.isSecurityAndPopulation || _vm.resourceType === "Security" ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("服务对象名称:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.serviceScope))])]) : _vm._e(), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v(_vm._s(_vm.stationTypeName) + "监管机构:")]), _c("el-tooltip", { attrs: { effect: "dark", content: _vm.superviseDepartName, placement: "top" } }, [_c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.superviseDepartNameSlice) + " ")])])], 1), _c("div", { staticClass: "content-new" }, [_c("el-tooltip", { staticClass: "box-item", attrs: { "popper-class": "item-light-tooltip-el", effect: "light", placement: "top" } }, [_c("div", { staticClass: "slot-style", attrs: { slot: "content" }, slot: "content" }, [_c("div", { staticStyle: { cursor: "pointer" }, on: { click: function ($event) { return _vm.copy(_vm.info.address); } } }, [_vm._v("复制")])]), _c("div", { staticClass: "content-new-label", staticStyle: { cursor: "pointer" } }, [_vm._v(_vm._s(_vm.stationTypeName) + "地址:")])]), _c("el-tooltip", { attrs: { effect: "dark", content: _vm.address, placement: "top" } }, [_c("div", { staticClass: "content-new-value" }, [_vm._v(_vm._s(_vm.addressSlice))])])], 1), _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v(_vm._s(_vm.stationTypeName) + "人数:")]), _c("div", { staticClass: "content-new-value active", on: { click: function ($event) { var _vm$returnWin6; return _vm.clickStationEmployees(_vm.info, "station", (_vm$returnWin6 = _vm.returnWin) === null || _vm$returnWin6 === void 0 ? void 0 : _vm$returnWin6.info); } } }, [_vm._v(" " + _vm._s(_vm.isSecurityAndPopulation ? _vm.countOfSecurityMan : _vm.resourceType === "Security" ? _vm.countOfSecurityMan : _vm.countOfCommunityUser) + " ")])]), _vm.isSecurityAndPopulation || _vm.resourceType === "Security" ? _c("div", { staticClass: "content-new" }, [_c("div", { staticClass: "content-new-label" }, [_vm._v("驻勤点类型:")]), _c("div", { staticClass: "content-new-value" }, [_vm._v(" " + _vm._s(_vm.stationTypes && _vm.stationTypes.length > 0 ? _vm.stationTypes[0].name : "") + " ")])]) : _vm._e()]); }; var staticRenderFns = []; render._withStripped = true; /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/stationEmployees/index.vue?vue&type=template&id=74940baf&scoped=true": /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/stationEmployees/index.vue?vue&type=template&id=74940baf&scoped=true ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm$returnWin, _vm$returnWin2, _vm$returnWin3, _vm$returnWin4, _vm$returnWin5; var _vm = this, _c = _vm._self._c; return _c("div", { staticClass: "infoWin" }, [_c("div", { staticClass: "header-new" }, [_c("img", { staticClass: "header-img", attrs: { src: __webpack_require__(/*! @/assets/images/mapSearch/驻勤点备份.png */ "./src/assets/images/mapSearch/驻勤点备份.png"), alt: "" } }), _vm._v(_vm._s(_vm.info.name))]), ((_vm$returnWin = _vm.returnWin) === null || _vm$returnWin === void 0 ? void 0 : _vm$returnWin.infoType) === "rail" ? _c("div", { staticClass: "back", on: { click: function ($event) { return _vm.onClickRail(_vm.returnWin.info); } } }, [_vm._v("< 返回电子围栏信息")]) : _vm._e(), ((_vm$returnWin2 = _vm.returnWin) === null || _vm$returnWin2 === void 0 ? void 0 : _vm$returnWin2.infoType) === "exam" ? _c("div", { staticClass: "back", on: { click: function ($event) { return _vm.onClickExam(_vm.returnWin.info); } } }, [_vm._v("< 返回考场信息")]) : _vm._e(), ((_vm$returnWin3 = _vm.returnWin) === null || _vm$returnWin3 === void 0 ? void 0 : _vm$returnWin3.infoType) === "station" ? _c("div", { staticClass: "back", on: { click: function ($event) { return _vm.onClickStation(_vm.returnWin.info); } } }, [_vm._v(" < 返回" + _vm._s(((_vm$returnWin4 = _vm.returnWin) === null || _vm$returnWin4 === void 0 || (_vm$returnWin4 = _vm$returnWin4.info) === null || _vm$returnWin4 === void 0 ? void 0 : _vm$returnWin4.resourceTypes.length) === 2 ? "驻勤点" : ((_vm$returnWin5 = _vm.returnWin) === null || _vm$returnWin5 === void 0 || (_vm$returnWin5 = _vm$returnWin5.info) === null || _vm$returnWin5 === void 0 ? void 0 : _vm$returnWin5.resourceTypes[0]) === "Security" ? "驻勤点" : "社区警务") + "信息 ")]) : _vm._e(), _c("div", { staticClass: "info-window-stationEmployees-people" }, _vm._l(_vm.info.stationEmployees, function (item, index) { var _vm$returnWin6; return _c("div", { key: index, staticStyle: { "border-bottom": "1px solid #bdcfde", "margin-top": "16px" } }, [_c("el-popover", { ref: "popoverRef_" + index, refInFor: true, attrs: { placement: "top", width: "300", trigger: "click" } }, [_c("div", [_c("div", { staticStyle: { width: "100%", height: "60px", "border-bottom": "1px solid #bdcfde" } }, [_c("div", { staticClass: "circle-style" }, [_vm._v(_vm._s(item.name.slice(-2)))]), _c("div", { staticStyle: { "line-height": "45px", "padding-left": "6px", float: "left" } }, [_vm._v(_vm._s(item.name) + "(" + _vm._s(item.dutyStatusText) + ")")]), _c("div", { staticStyle: { float: "right" } }, [_c("i", { staticClass: "el-icon-close", staticStyle: { cursor: "pointer" }, on: { click: function ($event) { return _vm.closePopover(index); } } })])]), _c("div", { staticStyle: { "font-size": "12px", color: "#5e5e5e", "padding-top": "7px" } }, [_vm._v("所属公司:" + _vm._s(_vm.currentEmployee.companyName))]), _c("div", { staticStyle: { "font-size": "12px", color: "#5e5e5e", "padding-top": "7px" } }, [_vm._v(" 所属驻勤点:" + _vm._s(_vm.currentEmployee.securityStationName) + " ")]), _c("div", { staticStyle: { "font-size": "12px", color: "#5e5e5e", "padding-top": "7px" } }, [_vm._v("证件号码:" + _vm._s(_vm.currentEmployee.idCardNo))]), _c("div", { staticStyle: { "font-size": "12px", color: "#5e5e5e", "padding-top": "7px" } }, [_vm._v("联系方式:" + _vm._s(_vm.currentEmployee.contact))]), _c("div", { staticStyle: { "font-size": "12px", color: "#5e5e5e", "padding-top": "7px" } }, [_vm._v(" 实名认证:" + _vm._s(_vm.currentEmployee.authenticatedStatusText) + " ")]), _c("div", { staticStyle: { "font-size": "12px", color: "#5e5e5e", "padding-top": "7px" } }, [_vm._v(" 持证情况:" + _vm._s(_vm.currentEmployee.certificateSituation) + " ")])]), _c("div", { staticClass: "circle-style", staticStyle: { cursor: "pointer" }, attrs: { slot: "reference" }, on: { click: function ($event) { return _vm.changeEmployee(item.id); } }, slot: "reference" }, [_vm._v(" " + _vm._s(item.name.slice(-2)) + " ")])]), _c("div", { staticClass: "circle-detail" }, [_c("div", { staticClass: "detail-item" }, [_c("div", { staticClass: "detail-item-label" }), _c("el-tooltip", { staticClass: "box-item", attrs: { "popper-class": "item-light-tooltip-el", effect: "light", placement: "top" } }, [_c("div", { staticClass: "slot-style", attrs: { slot: "content" }, slot: "content" }, [_c("div", { staticStyle: { cursor: "pointer" }, on: { click: function ($event) { return _vm.copy(item.name); } } }, [_vm._v("复制")])]), _c("div", { staticClass: "detail-item-value", staticStyle: { cursor: "pointer" } }, [_vm._v(" " + _vm._s(item.name)), item.stationResponsible ? _c("span", [_vm._v("(负责人)")]) : _vm._e()])])], 1), ((_vm$returnWin6 = _vm.returnWin) === null || _vm$returnWin6 === void 0 ? void 0 : _vm$returnWin6.infoType) !== "exam" ? _c("div", { staticClass: "detail-item" }, [_c("div", { staticClass: "detail-item-label" }, [_vm._v("证件号码:")]), _c("el-tooltip", { staticClass: "box-item", attrs: { "popper-class": "item-light-tooltip-el", effect: "light", placement: "top" } }, [_c("div", { staticClass: "slot-style", attrs: { slot: "content" }, slot: "content" }, [_c("div", { staticStyle: { cursor: "pointer" }, on: { click: function ($event) { return _vm.copy(item.idCardNo); } } }, [_vm._v("复制")])]), _c("div", { staticClass: "detail-item-value", staticStyle: { cursor: "pointer" } }, [_vm._v(" " + _vm._s(item.isIdCardNo ? item.idCardNo : "***********") + " ")])]), _c("span", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); item.isIdCardNo = !item.isIdCardNo; } } }, [_vm._v(_vm._s(item.isIdCardNo ? "隐藏" : "显示"))])], 1) : _vm._e(), _c("div", { staticClass: "detail-item" }, [_c("div", { staticClass: "detail-item-label" }, [_vm._v("联系方式:")]), _c("div", { staticClass: "detail-item-value" }, [_vm._v(" " + _vm._s(item.isPhone ? item.contact : "***********") + " ")]), _c("span", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); item.isPhone = !item.isPhone; } } }, [_vm._v(_vm._s(item.isPhone ? "隐藏" : "显示"))])]), _c("div", { staticClass: "detail-item" }, [_c("div", { staticClass: "detail-item-label" }, [_vm._v("在岗情况:")]), _c("div", { staticClass: "detail-item-value" }, [_vm._v(_vm._s(item.dutyStatusText))])])])], 1); }), 0)]); }; var staticRenderFns = []; render._withStripped = true; /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/resourceSearch/index.vue?vue&type=template&id=74342c69&scoped=true": /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/resourceSearch/index.vue?vue&type=template&id=74342c69&scoped=true ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm = this, _c = _vm._self._c; return _c("div", { staticClass: "resource-search" }, [_c("div", { staticClass: "resource-type" }, _vm._l(_vm.resourceTypes, function (item) { return _c("div", { key: item.value, staticClass: "resource-type-item", class: [item.value === _vm.activeType ? "resource-type-item-active" : "", item.value == 5 && !_vm.isShowDevice ? "resource-type-item-disabled" : "", item.value == 7 && !_vm.isShowExam ? "resource-type-item-disabled" : ""], on: { click: function ($event) { return _vm.switchType(item.value); } } }, [_c("i", { staticClass: "icon", class: "icon-" + item.value }), _c("span", { staticClass: "name" }, [_vm._v(_vm._s(item.name))])]); }), 0), _vm.activeType === "1" && _vm.filterShow ? _c("div", { staticClass: "filter-content" }, [_c("el-form", { staticClass: "filter-form", attrs: { model: _vm.formCompany } }, [_vm.isSecurity || _vm.isPoliceStation ? _c("el-form-item", { staticStyle: { "padding-top": "3px" }, attrs: { label: "企业类型" } }, [_c("el-radio-group", { model: { value: _vm.formCompany.institutional, callback: function ($$v) { _vm.$set(_vm.formCompany, "institutional", $$v); }, expression: "formCompany.institutional" } }, [_c("el-radio", { staticStyle: { "padding-top": "8px" }, attrs: { label: "" } }, [_vm._v("全部")]), _vm._l(_vm.securityTypes, function (item) { return _c("el-radio", { key: item.code, staticStyle: { "padding-top": "8px" }, attrs: { label: item.code } }, [_vm._v(_vm._s(item.name))]); })], 2)], 1) : _vm._e(), _vm.isSecurity || _vm.isPoliceStation || _vm.isPopulationTeam ? _c("el-form-item", { staticStyle: { "padding-top": "6px" }, attrs: { label: "辖区" } }, [_c("tree-select", { staticClass: "tree-select", attrs: { options: _vm.departs, placeholder: "请选择", normalizer: _vm.normalizer1, noOptionsText: "无数据", noResultsText: "无数据" }, on: { select: _vm.onSelectCompanyDeparts }, model: { value: _vm.formCompany.depart, callback: function ($$v) { _vm.$set(_vm.formCompany, "depart", $$v); }, expression: "formCompany.depart" } })], 1) : _vm._e(), _c("el-form-item", { staticClass: "center is-last" }, [_c("el-button", { directives: [{ name: "loading", rawName: "v-loading", value: _vm.loading, expression: "loading" }], staticClass: "btn-full", attrs: { type: "primary", disabled: _vm.loading, "element-loading-spinner": "el-icon-loading" }, on: { click: _vm.searchCompany } }, [_vm._v(" 搜索 ")])], 1)], 1)], 1) : _vm._e(), _vm.activeType === "2" && _vm.filterShow ? _c("div", { staticClass: "filter-content" }, [_c("el-form", { staticClass: "filter-form", attrs: { model: _vm.formEmployee } }, [_vm.isPoliceStation ? _c("el-form-item", { staticStyle: { "padding-top": "6px" }, attrs: { label: "类型" } }, [_c("el-radio-group", { staticClass: "multi-row-radio", model: { value: _vm.formEmployee.resourceType, callback: function ($$v) { _vm.$set(_vm.formEmployee, "resourceType", $$v); }, expression: "formEmployee.resourceType" } }, [_c("el-radio", { attrs: { label: 1 } }, [_vm._v("全选")]), _c("el-radio", { attrs: { label: 2 } }, [_vm._v("保安员")]), _vm.platform === "1" ? _c("el-radio", { attrs: { label: 3 } }, [_vm._v("全部社会力量")]) : _vm._e(), _vm.platform === "1" ? _c("el-radio", { attrs: { label: 4 } }, [_vm._v("兼职社会力量(部分保安员)")]) : _vm._e(), _vm.platform === "1" ? _c("el-radio", { staticStyle: { "padding-top": "10px", "margin-bottom": "0" }, attrs: { label: 5 } }, [_vm._v("全职社会力量")]) : _vm._e(), _vm.platform === "2" ? _c("el-radio", { staticStyle: { "padding-top": "10px", "margin-bottom": "0" }, attrs: { label: 6 } }, [_vm._v("甲方管理员")]) : _vm._e(), _c("el-radio", { staticStyle: { "padding-top": "10px", "margin-bottom": "0" }, attrs: { label: 7, disabled: "" } }, [_vm._v("智能设备持有人")])], 1)], 1) : _vm._e(), _vm.isSecurity || _vm.isPoliceStation || _vm.isPopulationTeam || _vm.isCompany ? _c("el-form-item", { staticStyle: { "padding-top": "6px" }, attrs: { label: "关注类型" } }, [_c("el-radio-group", { model: { value: _vm.formEmployee.type, callback: function ($$v) { _vm.$set(_vm.formEmployee, "type", $$v); }, expression: "formEmployee.type" } }, [_c("el-radio", { attrs: { label: 1 } }, [_vm._v("全部")]), _c("el-radio", { attrs: { label: 2 } }, [_vm._v("已关注")]), _c("el-radio", { attrs: { label: 3 } }, [_vm._v("未关注")])], 1)], 1) : _vm._e(), _vm.isSecurity || _vm.isPoliceStation || _vm.isPopulationTeam || _vm.isCompany ? _c("el-form-item", { staticStyle: { "padding-top": "6px" }, attrs: { label: "在岗状态" } }, [_c("el-radio-group", { model: { value: _vm.formEmployee.status, callback: function ($$v) { _vm.$set(_vm.formEmployee, "status", $$v); }, expression: "formEmployee.status" } }, [_c("el-radio", { attrs: { label: 1 } }, [_vm._v("全部")]), _c("el-radio", { attrs: { label: 2 } }, [_vm._v("在岗")]), _c("el-radio", { attrs: { label: 3 } }, [_vm._v("离岗")])], 1)], 1) : _vm._e(), _vm.isSecurity || _vm.isPoliceStation || _vm.isPopulationTeam ? _c("el-form-item", { staticStyle: { "padding-top": "6px" }, attrs: { label: "辖区" } }, [_c("tree-select", { staticClass: "tree-select", attrs: { options: _vm.departs, placeholder: "请选择", normalizer: _vm.normalizer, noOptionsText: "无数据", noResultsText: "无数据", flat: true }, on: { select: _vm.onSelectEmployeeDeparts }, model: { value: _vm.formEmployee.depart, callback: function ($$v) { _vm.$set(_vm.formEmployee, "depart", $$v); }, expression: "formEmployee.depart" } })], 1) : _vm._e(), _c("el-form-item", { staticClass: "center is-last" }, [_c("el-button", { directives: [{ name: "loading", rawName: "v-loading", value: _vm.loading, expression: "loading" }], staticClass: "btn-full", attrs: { type: "primary", disabled: _vm.loading, "element-loading-spinner": "el-icon-loading" }, on: { click: function ($event) { $event.preventDefault(); return _vm.searchEmployee(false); } } }, [_vm._v(" 搜索 ")])], 1)], 1)], 1) : _vm._e(), _vm.activeType === "3" && _vm.filterShow ? _c("div", { staticClass: "filter-content" }, [_c("el-form", { staticClass: "filter-form", attrs: { model: _vm.formStation } }, [_vm.formStation.resourceType === 1 || _vm.formStation.resourceType === 2 ? _c("station-types-form", { attrs: { "station-types": _vm.stationTypes, "is-security": _vm.isSecurity, "is-company": _vm.isCompany, "is-police-station": _vm.isPoliceStation }, on: { handleCheckChange: _vm.handleCheckChange } }) : _vm._e(), _vm.platform === "1" && (_vm.isPoliceStation || _vm.isPopulationTeam) ? _c("el-form-item", { staticStyle: { "padding-top": "3px" }, attrs: { label: "类型" } }, [_c("el-radio-group", { model: { value: _vm.formStation.resourceType, callback: function ($$v) { _vm.$set(_vm.formStation, "resourceType", $$v); }, expression: "formStation.resourceType" } }, [_c("el-radio", { attrs: { label: 1 } }, [_vm._v("全部")]), _c("el-radio", { attrs: { label: 2 } }, [_vm._v("驻勤点")]), _c("el-radio", { attrs: { label: 3 } }, [_vm._v("社区警务")])], 1)], 1) : _vm._e(), _vm.isSecurity || _vm.isPoliceStation || _vm.isPopulationTeam || _vm.isCompany ? _c("el-form-item", { staticStyle: { "padding-top": "3px" }, attrs: { label: "关注类型" } }, [_c("el-radio-group", { model: { value: _vm.formStation.type, callback: function ($$v) { _vm.$set(_vm.formStation, "type", $$v); }, expression: "formStation.type" } }, [_c("el-radio", { attrs: { label: 1 } }, [_vm._v("全部")]), _c("el-radio", { attrs: { label: 2 } }, [_vm._v("已关注")]), _c("el-radio", { attrs: { label: 3 } }, [_vm._v("未关注")])], 1)], 1) : _vm._e(), _vm.isSecurity || _vm.isPoliceStation || _vm.isPopulationTeam ? _c("el-form-item", { staticStyle: { "padding-top": "3px" }, attrs: { label: "辖区" } }, [_c("tree-select", { staticClass: "tree-select", attrs: { options: _vm.departs, placeholder: "请选择", normalizer: _vm.normalizer1, noOptionsText: "无数据", noResultsText: "无数据" }, on: { select: _vm.onSelectStationDepart }, model: { value: _vm.formStation.depart, callback: function ($$v) { _vm.$set(_vm.formStation, "depart", $$v); }, expression: "formStation.depart" } })], 1) : _vm._e(), _c("el-form-item", { staticClass: "center is-last" }, [_c("el-button", { directives: [{ name: "loading", rawName: "v-loading", value: _vm.loading, expression: "loading" }], staticClass: "btn-full", attrs: { type: "primary", disabled: _vm.loading, "element-loading-spinner": "el-icon-loading" }, on: { click: _vm.searchStation } }, [_vm._v(" 搜索 ")])], 1)], 1)], 1) : _vm._e(), _vm.activeType === "4" && _vm.platform === "2" && _vm.filterShow ? _c("div", { staticClass: "filter-content" }, [_c("el-form", { staticClass: "filter-form", attrs: { model: _vm.formCompany } }, [_vm.platform === "2" && _vm.isPoliceStation ? _c("el-form-item", { staticStyle: { "padding-top": "3px" }, attrs: { label: "内保单位类型" } }, [_c("el-checkbox", { attrs: { indeterminate: _vm.isIndeterminatePro }, on: { change: _vm.handleCheckAllChangePro }, model: { value: _vm.checkAllPro, callback: function ($$v) { _vm.checkAllPro = $$v; }, expression: "checkAllPro" } }, [_vm._v("全选")]), _c("el-checkbox-group", { on: { change: _vm.handleCheckedCitiesChangePro }, model: { value: _vm.formCompany.institutional, callback: function ($$v) { _vm.$set(_vm.formCompany, "institutional", $$v); }, expression: "formCompany.institutional" } }, [_c("el-row", _vm._l(_vm.proprietorTypes, function (item) { return _c("el-col", { key: item.code, staticStyle: { "padding-top": "10px" }, attrs: { span: 8 } }, [_c("el-checkbox", { attrs: { label: item.code } }, [_c("span", { staticStyle: { "font-size": "12px", "padding-left": "2px" } }, [_vm._v(_vm._s(item.name))])])], 1); }), 1)], 1)], 1) : _vm._e(), _c("el-form-item", { staticStyle: { "padding-top": "3px" }, attrs: { label: "关注类型" } }, [_c("el-radio-group", { model: { value: _vm.formCompany.type, callback: function ($$v) { _vm.$set(_vm.formCompany, "type", $$v); }, expression: "formCompany.type" } }, [_c("el-radio", { attrs: { label: 1 } }, [_vm._v("全部")]), _c("el-radio", { attrs: { label: 2 } }, [_vm._v("已关注")]), _c("el-radio", { attrs: { label: 3 } }, [_vm._v("未关注")])], 1)], 1), _vm.isPoliceStation || !_vm.isProprietor ? _c("el-form-item", { staticStyle: { "padding-top": "3px" }, attrs: { label: "辖区" } }, [_c("tree-select", { staticClass: "tree-select", attrs: { options: _vm.departs, placeholder: "请选择", normalizer: _vm.normalizer1, noOptionsText: "无数据", noResultsText: "无数据" }, on: { select: _vm.onSelectCompanyDeparts }, model: { value: _vm.formCompany.depart, callback: function ($$v) { _vm.$set(_vm.formCompany, "depart", $$v); }, expression: "formCompany.depart" } })], 1) : _vm._e(), _c("el-form-item", { staticClass: "center is-last" }, [_c("el-button", { directives: [{ name: "loading", rawName: "v-loading", value: _vm.loading, expression: "loading" }], staticClass: "btn-full", attrs: { type: "primary", disabled: _vm.loading, "element-loading-spinner": "el-icon-loading" }, on: { click: _vm.searchProprietor } }, [_vm._v(" 搜索 ")])], 1)], 1)], 1) : _vm._e(), _vm.activeType === "5" && _vm.filterShow ? _c("div", { staticClass: "filter-content" }, [_c("el-form", { staticClass: "filter-form", attrs: { model: _vm.formDevice } }, [_c("el-form-item", { staticStyle: { "padding-top": "6px" }, attrs: { label: "关注类型" } }, [_c("el-radio-group", { model: { value: _vm.formDevice.focus, callback: function ($$v) { _vm.$set(_vm.formDevice, "focus", $$v); }, expression: "formDevice.focus" } }, [_c("el-radio", { attrs: { label: 1 } }, [_vm._v("全部")]), _c("el-radio", { attrs: { label: 2 } }, [_vm._v("已关注")]), _c("el-radio", { attrs: { label: 3 } }, [_vm._v("未关注")])], 1)], 1), _c("el-form-item", { staticStyle: { "padding-top": "6px" }, attrs: { label: "设备类型" } }, [_c("el-radio-group", { model: { value: _vm.formDevice.type, callback: function ($$v) { _vm.$set(_vm.formDevice, "type", $$v); }, expression: "formDevice.type" } }, [_c("el-radio", { attrs: { label: 1 } }, [_vm._v("全部")]), _vm._l(_vm.deviceTypes, function (item) { return _c("el-radio", { key: item.code, attrs: { label: item.code } }, [_vm._v(_vm._s(item.name))]); })], 2)], 1), _c("el-form-item", { staticClass: "center is-last" }, [_c("el-button", { directives: [{ name: "loading", rawName: "v-loading", value: _vm.loading, expression: "loading" }], staticClass: "btn-full", attrs: { type: "primary", disabled: _vm.loading, "element-loading-spinner": "el-icon-loading" }, on: { click: _vm.searchDevice } }, [_vm._v(" 搜索 ")])], 1)], 1)], 1) : _vm._e(), _vm.activeType === "6" && _vm.filterShow ? _c("div", { staticClass: "filter-content" }, [_c("el-form", { staticClass: "filter-form", attrs: { model: _vm.formSecurityStationRail } }, [_vm.isSupervision ? _c("el-form-item", { staticStyle: { "padding-top": "6px" }, attrs: { label: "辖区" } }, [_c("tree-select", { staticClass: "tree-select", attrs: { options: _vm.departs, placeholder: "请选择", normalizer: _vm.normalizer1, noOptionsText: "无数据", noResultsText: "无数据" }, on: { select: _vm.onSelectRailDepart }, model: { value: _vm.formSecurityStationRail.depart, callback: function ($$v) { _vm.$set(_vm.formSecurityStationRail, "depart", $$v); }, expression: "formSecurityStationRail.depart" } })], 1) : _vm._e(), _c("el-form-item", { staticClass: "center is-last" }, [_c("el-button", { directives: [{ name: "loading", rawName: "v-loading", value: _vm.loading, expression: "loading" }], staticClass: "btn-full", attrs: { type: "primary", disabled: _vm.loading, "element-loading-spinner": "el-icon-loading" }, on: { click: _vm.searchRail } }, [_vm._v(" 搜索 ")])], 1)], 1)], 1) : _vm._e(), _vm.activeType === "7" && _vm.filterShow ? _c("div", { staticClass: "filter-content" }, [_c("el-form", { staticClass: "filter-form", attrs: { model: _vm.formExam } }, [_c("el-form-item", { staticStyle: { "padding-top": "6px" }, attrs: { label: "关注类型" } }, [_c("el-radio-group", { model: { value: _vm.formExam.type, callback: function ($$v) { _vm.$set(_vm.formExam, "type", $$v); }, expression: "formExam.type" } }, [_c("el-radio", { attrs: { label: 1 } }, [_vm._v("全部")]), _c("el-radio", { attrs: { label: 2 } }, [_vm._v("已关注")]), _c("el-radio", { attrs: { label: 3 } }, [_vm._v("未关注")])], 1)], 1), _c("el-form-item", { staticStyle: { "padding-top": "6px" }, attrs: { label: "考场状态" } }, [_c("el-radio-group", { model: { value: _vm.formExam.status, callback: function ($$v) { _vm.$set(_vm.formExam, "status", $$v); }, expression: "formExam.status" } }, [_c("el-radio", { attrs: { label: 1 } }, [_vm._v("全部")]), _c("el-radio", { attrs: { label: 2 } }, [_vm._v("启用")]), _c("el-radio", { attrs: { label: 3 } }, [_vm._v("禁用")])], 1)], 1), _c("el-form-item", { staticStyle: { "padding-top": "6px" }, attrs: { label: "考试状态" } }, [_c("el-radio-group", { model: { value: _vm.formExam.examTaking, callback: function ($$v) { _vm.$set(_vm.formExam, "examTaking", $$v); }, expression: "formExam.examTaking" } }, [_c("el-radio", { attrs: { label: 1 } }, [_vm._v("全部")]), _c("el-radio", { attrs: { label: 2 } }, [_vm._v("考试中")]), _c("el-radio", { attrs: { label: 3 } }, [_vm._v("无考试")])], 1)], 1), _vm.isSupervision ? _c("el-form-item", { staticStyle: { "padding-top": "6px" }, attrs: { label: "辖区" } }, [_c("tree-select", { staticClass: "tree-select", attrs: { options: _vm.departs, placeholder: "请选择", normalizer: _vm.normalizer1, noOptionsText: "无数据", noResultsText: "无数据" }, on: { select: _vm.onSelectExamDepart }, model: { value: _vm.formExam.depart, callback: function ($$v) { _vm.$set(_vm.formExam, "depart", $$v); }, expression: "formExam.depart" } })], 1) : _vm._e(), _c("el-form-item", { staticClass: "center is-last" }, [_c("el-button", { directives: [{ name: "loading", rawName: "v-loading", value: _vm.loading, expression: "loading" }], staticClass: "btn-full", attrs: { type: "primary", disabled: _vm.loading, "element-loading-spinner": "el-icon-loading" }, on: { click: function ($event) { $event.preventDefault(); return _vm.searchExamSiteRooms(false); } } }, [_vm._v(" 搜索 ")])], 1)], 1)], 1) : _vm._e(), _vm.activeType && _vm.activeType !== "1" ? _c("div", { staticClass: "filter-bar", on: { click: function ($event) { _vm.filterShow = !_vm.filterShow; } } }, [_c("span", { staticClass: "text" }, [_vm._v(_vm._s(_vm.filterText))]), _c("i", { staticClass: "arrow", class: "arrow-" + (_vm.filterShow ? "up" : "down") })]) : _vm._e(), _vm.activeType && _vm.activeType !== "5" && _vm.activeType !== "6" ? _c("div", { staticClass: "total" }, [_c("span", { staticClass: "label" }, [_vm._v("总数")]), _c("span", { staticClass: "value" }, [_vm._v(_vm._s(_vm.total))]), _vm.activeType === "2" ? _c("span", { staticClass: "label label-green" }, [_vm._v("在岗数")]) : _vm._e(), _vm.activeType === "2" ? _c("span", { staticClass: "value value-on" }, [_vm._v(_vm._s(_vm.onDuty))]) : _vm._e(), _vm.activeType === "2" ? _c("span", { staticClass: "label label-gray" }, [_vm._v("离岗数")]) : _vm._e(), _vm.activeType === "2" ? _c("span", { staticClass: "value value-off" }, [_vm._v(_vm._s(_vm.noDuty))]) : _vm._e(), _vm.activeType === "2" ? _c("span", { staticClass: "label label-gray" }, [_vm._v("未激活数")]) : _vm._e(), _vm.activeType === "2" ? _c("span", { staticClass: "value value-off" }, [_vm._v(_vm._s(_vm.noActivation))]) : _vm._e(), _vm.activeType === "1" || _vm.activeType === "3" ? _c("span", { staticClass: "label label-gray" }, [_vm._v("无坐标数")]) : _vm._e(), _vm.activeType === "1" || _vm.activeType === "3" ? _c("span", { staticClass: "value value-off" }, [_vm._v(_vm._s(_vm.noLonLat))]) : _vm._e(), _vm.activeType === "7" ? _c("span", { staticClass: "label label-green" }, [_vm._v("启用总数")]) : _vm._e(), _vm.activeType === "7" ? _c("span", { staticClass: "value value-on" }, [_vm._v(_vm._s(_vm.onExam))]) : _vm._e(), _vm.activeType === "7" ? _c("span", { staticClass: "label label-gray" }, [_vm._v("禁用总数")]) : _vm._e(), _vm.activeType === "7" ? _c("span", { staticClass: "value value-off" }, [_vm._v(_vm._s(_vm.noExam))]) : _vm._e()]) : _vm._e()]); }; var staticRenderFns = []; render._withStripped = true; /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/components/electronicFence.vue?vue&type=template&id=ef6eef40&scoped=true": /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/components/electronicFence.vue?vue&type=template&id=ef6eef40&scoped=true ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm = this, _c = _vm._self._c; return _c("transition", { attrs: { name: "slide-fade" } }, [_c("div", { directives: [{ name: "drag", rawName: "v-drag" }], staticClass: "station-types" }, [_c("div", { staticClass: "header" }, [_c("span", { staticClass: "title" }, [_vm._v("电子围栏列表")]), _c("i", { staticClass: "el-icon-close", on: { click: _vm.cancel } })]), _c("div", { staticClass: "content" }, [_c("el-input", { staticStyle: { width: "300px" }, attrs: { size: "small", placeholder: "请输入名称" }, model: { value: _vm.fenceKey, callback: function ($$v) { _vm.fenceKey = $$v; }, expression: "fenceKey" } }), _c("el-button", { staticStyle: { "margin-left": "10px" }, attrs: { type: "primary" }, on: { click: _vm.getRails } }, [_vm._v("查询")]), _c("selfTable", { attrs: { columns: _vm.columns, dataList: _vm.tableData, index: true, indexLabel: "序号", maxHeight: "260", hasPage: false, selection: true }, on: { selectionChange: _vm.selectionChange } }, [_vm._v(" //使用插槽,使用的2.6之前的语法 ")])], 1), _c("div", { staticClass: "footer" }, [_c("div", { staticClass: "footer-left" }, [_c("el-button", { attrs: { type: "primary" }, on: { click: _vm.edit } }, [_vm._v("编辑")]), _c("el-button", { staticClass: "del", attrs: { plain: "" }, on: { click: _vm.del } }, [_vm._v("删除")])], 1), _c("div", { staticClass: "footer-right" }, [_c("el-button", { attrs: { type: "success" }, on: { click: _vm.addElectronic } }, [_vm._v("新增电子围栏")])], 1)])])]); }; var staticRenderFns = []; render._withStripped = true; /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/components/electronicFenceEdit.vue?vue&type=template&id=2f88218a&scoped=true": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/components/electronicFenceEdit.vue?vue&type=template&id=2f88218a&scoped=true ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm = this, _c = _vm._self._c; return _c("transition", { attrs: { name: "slide-fade" } }, [_c("div", { directives: [{ name: "drag", rawName: "v-drag" }], staticClass: "station-types" }, [_c("div", { staticClass: "header" }, [_c("span", { staticClass: "title" }, [_vm._v("电子围栏信息")]), _c("i", { staticClass: "el-icon-close", on: { click: _vm.cancel } })]), _c("div", { staticClass: "content" }, [_c("el-form", { ref: "form", attrs: { model: _vm.form, "label-width": "70px" } }, [_c("el-row", [_c("el-col", { attrs: { span: 12 } }, [_c("el-form-item", { attrs: { label: "围栏名称" } }, [_c("el-input", { attrs: { size: "small" }, model: { value: _vm.form.name, callback: function ($$v) { _vm.$set(_vm.form, "name", $$v); }, expression: "form.name" } })], 1)], 1), _c("el-col", { attrs: { span: 12 } }, [_c("el-form-item", { attrs: { label: "围栏类型" } }, [_c("el-select", { attrs: { placeholder: "请选择围栏类型", size: "small" }, model: { value: _vm.form.ruleType, callback: function ($$v) { _vm.$set(_vm.form, "ruleType", $$v); }, expression: "form.ruleType" } }, _vm._l(_vm.typeList, function (item, i) { return _c("el-option", { key: i, attrs: { value: item.id, label: item.name } }); }), 1)], 1)], 1)], 1), _c("el-row", [_c("el-col", { attrs: { span: 16 } }, [_c("el-form-item", { attrs: { label: "所属驻勤点", "label-width": "100px" } }, [_c("el-input", { attrs: { size: "small", readonly: true }, model: { value: _vm.form.stationName, callback: function ($$v) { _vm.$set(_vm.form, "stationName", $$v); }, expression: "form.stationName" } })], 1)], 1), _c("el-col", { attrs: { span: 8 } }, [_c("el-form-item", { attrs: { "label-width": "20px" } }, [!_vm.stationId ? _c("el-button", { attrs: { plain: "", type: "primary" }, on: { click: _vm.relationStation } }, [_vm._v("关联驻勤点")]) : _vm._e()], 1)], 1)], 1), _c("el-row", [_c("el-col", { attrs: { span: 24 } }, [_c("el-form-item", { attrs: { label: "时间范围" } }, [_c("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: "datetimerange", "range-separator": "至", "start-placeholder": "开始日期", "end-placeholder": "结束日期", "value-format": "yyyy-MM-dd HH:mm:ss", size: "small" }, model: { value: _vm.form.time, callback: function ($$v) { _vm.$set(_vm.form, "time", $$v); }, expression: "form.time" } })], 1)], 1)], 1), _c("el-row", [_c("el-col", { attrs: { span: 24 } }, [_c("el-form-item", { attrs: { label: "备注" } }, [_c("el-input", { staticStyle: { width: "100%" }, attrs: { type: "textarea", rows: 2, size: "small" }, model: { value: _vm.form.note, callback: function ($$v) { _vm.$set(_vm.form, "note", $$v); }, expression: "form.note" } })], 1)], 1)], 1), _c("el-row", [_c("el-col", { attrs: { span: 24 } }, [_c("el-form-item", { attrs: { label: "选择区域" } }, [_c("div", { staticClass: "areaContent" }, _vm._l(_vm.areaList, function (item, i) { return _c("div", { key: i, staticClass: "areaContent-block", class: _vm.form.shapeType === item.id ? "areaContent-block-active" : "", on: { click: function ($event) { return _vm.changeAreaType(item.id); } } }, [_c("div", { staticClass: "areaContent-block-img" }, [_c("img", { attrs: { src: item.icon, alt: "" } })]), _c("div", { staticClass: "areaContent-block-text" }, [_vm._v(" " + _vm._s(item.name) + " ")])]); }), 0)])], 1)], 1), _c("el-row", [_c("el-col", { attrs: { span: 24 } }, [_c("el-form-item", { attrs: { label: "驻勤人员" } }, [_c("div", { staticClass: "peopleNum", on: { click: _vm.openPeopleNum } }, [_vm._v(_vm._s(_vm.form.peopleNum) + "人")])])], 1)], 1)], 1)], 1), _c("div", { staticClass: "footer" }, [_c("div", { staticClass: "footer-left" }), _c("div", { staticClass: "footer-right" }, [_c("el-button", { attrs: { plain: "", type: "primary" }, on: { click: _vm.cancel } }, [_vm._v("取消")]), _c("el-button", { attrs: { plain: "", type: "primary" }, on: { click: _vm.reset } }, [_vm._v("重置")]), _c("el-button", { attrs: { type: "success" }, on: { click: _vm.saveRail } }, [_vm._v("保存电子围栏")])], 1)])])]); }; var staticRenderFns = []; render._withStripped = true; /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/components/electronicFencePeople.vue?vue&type=template&id=f4457ce2&scoped=true": /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/components/electronicFencePeople.vue?vue&type=template&id=f4457ce2&scoped=true ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm = this, _c = _vm._self._c; return _c("transition", { attrs: { name: "slide-fade" } }, [_c("div", { directives: [{ name: "drag", rawName: "v-drag" }], staticClass: "station-types" }, [_c("div", { staticClass: "header" }, [_c("div", { staticClass: "title" }, [_c("div", { staticClass: "title-icon" }), _c("div", { staticClass: "title-name" }, [_vm._v(" " + _vm._s(_vm.stationName) + " ")])]), _c("i", { staticClass: "el-icon-close", on: { click: _vm.cancel } })]), _c("div", { staticClass: "content" }, _vm._l(_vm.peoPleList, function (item, index) { return _c("div", { key: index, staticStyle: { "border-bottom": "1px solid #bdcfde", "margin-top": "16px" } }, [_c("div", { staticClass: "circle-style" }, [_vm._v(_vm._s(item.name.substring(0, 2)))]), _c("div", { staticClass: "circle-detail" }, [_c("div", { staticClass: "detail-item" }, [_vm._v(_vm._s(item.name))]), _c("div", { staticClass: "detail-item" }, [_c("div", { staticClass: "detail-item-label" }, [_vm._v("联系方式:")]), _c("div", { staticClass: "detail-item-value" }, [_vm._v(" " + _vm._s(item.isPhone ? item.contact : "***********") + " ")]), item.isPhone ? _c("span", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); return _vm.changeIsphone(index); } } }, [_vm._v("隐藏")]) : _vm._e(), !item.isPhone ? _c("span", { staticClass: "hide-show", on: { click: function ($event) { $event.stopPropagation(); return _vm.changeIsphone(index); } } }, [_vm._v("显示")]) : _vm._e()]), _c("div", { staticClass: "detail-item" }, [_c("div", { staticClass: "detail-item-label" }, [_vm._v("在岗情况:")]), _c("div", { staticClass: "detail-item-value" }, [_vm._v(_vm._s(item.dutyStatusText))])])])]); }), 0)])]); }; var staticRenderFns = []; render._withStripped = true; /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/components/electronicFenceStation.vue?vue&type=template&id=3e503ae4&scoped=true": /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/components/electronicFenceStation.vue?vue&type=template&id=3e503ae4&scoped=true ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm = this, _c = _vm._self._c; return _c("transition", { attrs: { name: "slide-fade" } }, [_c("div", { directives: [{ name: "drag", rawName: "v-drag" }], staticClass: "station-types" }, [_c("div", { staticClass: "header" }, [_c("span", { staticClass: "title" }, [_vm._v("关联驻勤点")]), _c("i", { staticClass: "el-icon-close", on: { click: _vm.cancel } })]), _c("div", { staticClass: "content" }, [_c("el-input", { staticStyle: { width: "300px" }, attrs: { size: "small", placeholder: "请输入驻勤点名称" }, model: { value: _vm.stationKey, callback: function ($$v) { _vm.stationKey = $$v; }, expression: "stationKey" } }), _c("el-button", { staticStyle: { "margin-left": "10px" }, attrs: { type: "primary" }, on: { click: _vm.searchStation } }, [_vm._v("查询")]), _c("selfTable", { ref: "table", attrs: { columns: _vm.columns, dataList: _vm.tableData, index: true, indexLabel: "序号", maxHeight: "270", hasPage: false, "highlight-current-row": "" }, on: { currentChange: _vm.selectionChange } }, [_vm._v(" //使用插槽,使用的2.6之前的语法 ")])], 1), _c("div", { staticClass: "footer" }, [_c("div", { staticClass: "footer-right" }, [_c("el-button", { attrs: { type: "primary" }, on: { click: _vm.cancel } }, [_vm._v("取消")]), _c("el-button", { attrs: { plain: "" }, on: { click: _vm.reset } }, [_vm._v("重置")]), _c("el-button", { attrs: { type: "success" }, on: { click: _vm.relationConfirm } }, [_vm._v("确认关联")])], 1)])])]); }; var staticRenderFns = []; render._withStripped = true; /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"229e1c69-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/index.vue?vue&type=template&id=104bd93e&scoped=true": /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"229e1c69-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/index.vue?vue&type=template&id=104bd93e&scoped=true ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); var render = function render() { var _vm = this, _c = _vm._self._c; return _c("div", { staticClass: "page" }, [_c("resource-search", { ref: "search", attrs: { mode: "resource" }, on: { switchType: _vm.switchType, searchCompany: _vm.onSearchCompany, searchStation: _vm.onSearchStation, searchEmployee: _vm.onSearchEmployee, searchDevice: _vm.onSearchDevice, searchRail: _vm.onSearchRail, searchExam: _vm.onSearchExam, clearMap: _vm.clearMap } }), _c("map-toolbar", { attrs: { "show-list": _vm.mapToolList, "disable-list": _vm.mapToolDisableList }, on: { fence: _vm.setFence, heatmap: _vm.setHeatmap, clearMap: _vm.clearMap, changeLayer: _vm.onChangeLayer } }), _c("v-map", { ref: "map", staticClass: "map", attrs: { view: _vm.view, interactions: _vm.interactions, controls: _vm.controls }, on: { contextmenu: function ($event) { $event.preventDefault(); }, draw: _vm.onDraw } }, [_c("v-tile", { attrs: { "tile-type": _vm.tileType, "z-index": 0 } }), _c("v-super-cluster", { ref: "employeeLayer", attrs: { "layer-id": "employeeLayer", features: _vm.layers.employeeLayer.features, cluster: _vm.layers.employeeLayer.cluster, visible: !_vm.showHeatmap, "z-index": 2 }, on: { singleclick: _vm.clickEmployee } }), _c("v-heatmap", { attrs: { features: _vm.layers.employeeLayer.features, visible: _vm.showHeatmap, "z-index": 2 } }), _c("v-super-cluster", { ref: "stationLayer", attrs: { "layer-id": "stationLayer", features: _vm.layers.stationLayer.features, cluster: _vm.layers.stationLayer.cluster, "z-index": 2 }, on: { singleclick: _vm.clickStation } }), _c("v-vector", { ref: "stationEmployeesLayer", attrs: { "layer-id": "stationEmployeesLayer", features: _vm.layers.stationEmployeesLayer.features, "z-index": 2 }, on: { singleclick: _vm.clickStationEmployees } }), _c("v-vector", { ref: "companyStationsLayer", attrs: { "layer-id": "companyStationsLayer", features: _vm.layers.companyStationsLayer.features, "z-index": 2 }, on: { singleclick: _vm.clickCompanyStations } }), _c("v-vector", { ref: "companyLayer", attrs: { "layer-id": "companyLayer", features: _vm.layers.companyLayer.features, cluster: _vm.layers.companyLayer.cluster, "z-index": 2 }, on: { singleclick: _vm.clickCompany } }), _c("v-vector", { ref: "deviceLayer", attrs: { "layer-id": "deviceLayer", "feature-style": _vm.layers.deviceLayer.style, features: _vm.layers.deviceLayer.features, "z-index": 2 } }), _c("v-super-cluster", { ref: "examLayer", attrs: { "layer-id": "examLayer", features: _vm.layers.examLayer.features, cluster: _vm.layers.examLayer.cluster, "z-index": 2 }, on: { singleclick: _vm.clickExam } }), _c("v-vector", { ref: "examSiteLayer", attrs: { "layer-id": "examSiteLayer", features: _vm.layers.examSiteLayer.features, "z-index": 2 }, on: { singleclick: _vm.clickExamSite } }), _c("v-vector", { ref: "railLayer", attrs: { "layer-id": "railLayer", "feature-style": _vm.layers.railLayer.style, features: _vm.layers.railLayer.features, "z-index": 2 }, on: { singleclick: _vm.clickRail, change: _vm.onRailLayerChange } }), _c("v-draw", { ref: "drawLayer", attrs: { type: _vm.drawType, "feature-style": _vm.layers.railLayer.style, "end-right": true, clear: true, "z-index": 3, "draw-once": "", editable: "" }, on: { drawend: _vm.drawend } }), _c("v-overlay", { attrs: { position: _vm.layers.employeeLayer.overlay.position, "class-name": ["info-window", "info-window-common", "info-window-employee-res"], positioning: "bottom-center", offset: _vm.layers.employeeLayer.overlay.offset } }, [_c("a", { staticClass: "close", on: { click: function ($event) { $event.stopPropagation(); return _vm.closeEmployeeInfo.apply(null, arguments); } } }, [_vm._v("×")]), _c("overlay-employee", { ref: "employeeOverlay", attrs: { info: _vm.info } })], 1), _c("v-overlay", { attrs: { position: _vm.layers.stationLayer.overlay.position, "class-name": ["info-window", "info-window-common", "info-window-station"], positioning: "bottom-center", offset: _vm.layers.stationLayer.overlay.offset } }, [_c("a", { staticClass: "close", on: { click: function ($event) { $event.stopPropagation(); return _vm.closeStationInfo.apply(null, arguments); } } }, [_vm._v("×")]), _c("overlay-station", { attrs: { info: _vm.info, "return-win": _vm.returnWin } })], 1), _c("v-overlay", { attrs: { position: _vm.layers.stationEmployeesLayer.overlay.position, "class-name": ["info-window", "info-window-common", "info-window-stationEmployees"], positioning: "bottom-center", offset: _vm.layers.stationEmployeesLayer.overlay.offset } }, [_c("a", { staticClass: "close", on: { click: function ($event) { $event.stopPropagation(); return _vm.closeStationEmployeesInfo.apply(null, arguments); } } }, [_vm._v("×")]), _c("overlay-stationEmployees", { attrs: { info: _vm.info, "return-win": _vm.returnWin } })], 1), _c("v-overlay", { attrs: { position: _vm.layers.companyStationsLayer.overlay.position, "class-name": ["info-window", "info-window-common", "info-window-companyStations"], positioning: "bottom-center", offset: _vm.layers.companyStationsLayer.overlay.offset } }, [_c("a", { staticClass: "close", on: { click: function ($event) { $event.stopPropagation(); return _vm.closeCompanyStationsInfo.apply(null, arguments); } } }, [_vm._v("×")]), _c("overlay-companyStations", { attrs: { info: _vm.info, "return-win": _vm.returnWin } })], 1), _c("v-overlay", { attrs: { position: _vm.layers.companyLayer.overlay.position, "class-name": ["info-window", "info-window-common", "info-window-company"], positioning: "bottom-center", offset: _vm.layers.companyLayer.overlay.offset } }, [_c("a", { staticClass: "close", on: { click: function ($event) { $event.stopPropagation(); return _vm.closeCompanyInfo.apply(null, arguments); } } }, [_vm._v("×")]), _c("overlay-company", { attrs: { info: _vm.info, "return-win": _vm.returnWin }, on: { "click-exam": _vm.showExamInfo } })], 1), _c("v-overlay", { attrs: { position: _vm.layers.deviceLayer.overlay.position, "class-name": ["info-window", "info-window-common", "info-window-device"], positioning: "bottom-center", offset: _vm.layers.deviceLayer.overlay.offset } }, [_c("a", { staticClass: "close", on: { click: function ($event) { $event.stopPropagation(); return _vm.closeDeviceInfo.apply(null, arguments); } } }, [_vm._v("×")]), _c("overlay-device", { attrs: { info: _vm.info, "return-win": _vm.returnWin } })], 1), _c("v-overlay", { attrs: { position: _vm.layers.railLayer.overlay.position, "class-name": ["info-window", "info-window-common", "info-window-rail"], positioning: "bottom-center", offset: _vm.layers.railLayer.overlay.offset } }, [_c("a", { staticClass: "close", on: { click: function ($event) { $event.stopPropagation(); return _vm.closeRailInfo.apply(null, arguments); } } }, [_vm._v("×")]), _c("overlay-rail", { attrs: { info: _vm.info, "return-win": _vm.returnWin } })], 1), _c("v-overlay", { attrs: { position: _vm.layers.examLayer.overlay.position, "class-name": ["info-window", "info-window-common", "info-window-exam"], positioning: "bottom-center", offset: _vm.layers.examLayer.overlay.offset } }, [_c("a", { staticClass: "close", on: { click: function ($event) { $event.stopPropagation(); return _vm.closeExamInfo.apply(null, arguments); } } }, [_vm._v("×")]), _c("overlay-exam", { attrs: { info: _vm.info, "return-win": _vm.returnWin }, on: { "click-examSite": _vm.showExamSiteInfo } })], 1), _c("v-overlay", { attrs: { position: _vm.layers.examSiteLayer.overlay.position, "class-name": ["info-window", "info-window-common", "info-window-examSite"], positioning: "bottom-center", offset: _vm.layers.examSiteLayer.overlay.offset } }, [_c("a", { staticClass: "close", on: { click: function ($event) { $event.stopPropagation(); return _vm.closeExamSiteInfo.apply(null, arguments); } } }, [_vm._v("×")]), _c("overlay-exam-site", { attrs: { info: _vm.info, "return-win": _vm.returnWin }, on: { "click-exam": _vm.showExamInfo } })], 1)], 1), _vm.isElectronicFenceDialog ? _c("electronic-fence-dialog", { ref: "electronicFence", attrs: { info: _vm.info }, on: { cancel: _vm.electronicFenceCancel, addElectronic: _vm.addElectronic, electronicFenceEdit: _vm.electronicFenceEditFn, del: _vm.delElectronic } }) : _vm._e(), _c("electronic-fence-edit-dialog", { directives: [{ name: "show", rawName: "v-show", value: _vm.isElectronicFenceEditDialog, expression: "isElectronicFenceEditDialog" }], ref: "electronicFenceEdit", attrs: { info: _vm.info, "electronic-fence-info": _vm.electronicFenceInfo }, on: { openPeopleNum: _vm.openPeopleNumFn, relationStation: _vm.relationStationFn, cancel: _vm.electronicFenceEditCancel, cleanFigure: _vm.cleanDrawFigure, draw: _vm.drawRail } }), _vm.isElectronicFencePeople ? _c("electronic-fence-people", { attrs: { list: _vm.electronicFencePeopleList, "station-name": _vm.peopleStationName }, on: { cancel: _vm.electronicFencePeopleCancel } }) : _vm._e(), _c("electronic-fence-station-dialog", { directives: [{ name: "show", rawName: "v-show", value: _vm.isElectronicFenceStationDialog, expression: "isElectronicFenceStationDialog" }], ref: "electronicFenceStation", attrs: { info: _vm.info, "electronic-fence-info": _vm.electronicFenceInfo }, on: { relation: _vm.setRelatedStation, cancel: _vm.electronicFenceStationCancel } })], 1); }; var staticRenderFns = []; render._withStripped = true; /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/companyStations/index.vue?vue&type=style&index=0&id=c8147018&scoped=true&lang=scss": /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/companyStations/index.vue?vue&type=style&index=0&id=c8147018&scoped=true&lang=scss ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); exports = ___CSS_LOADER_API_IMPORT___(false); // Module exports.push([module.i, ".circle-style[data-v-c8147018] {\n float: left;\n}\n.circle-style .header-img[data-v-c8147018] {\n width: 2.34375vw;\n height: 2.34375vw;\n}\n.circle-detail[data-v-c8147018] {\n margin-left: 4.375vw;\n cursor: pointer;\n}\n.circle-detail .detail-item[data-v-c8147018] {\n display: flex;\n align-items: center;\n color: #000000;\n font-size: 0.72917vw;\n}\n.circle-detail .detail-item[data-v-c8147018]:nth-last-child(1) {\n margin-bottom: 0.72917vw;\n}\n.circle-detail .detail-item .detail-item-label[data-v-c8147018] {\n color: #000000;\n}\n.circle-detail .detail-item .detail-item-value[data-v-c8147018] {\n float: left;\n}\n.circle-detail .detail-item img[data-v-c8147018] {\n width: 0.83333vw;\n height: 0.83333vw;\n cursor: pointer;\n margin-left: 0.41667vw;\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/employee/index.vue?vue&type=style&index=0&id=9a17f728&scoped=true&lang=scss": /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/employee/index.vue?vue&type=style&index=0&id=9a17f728&scoped=true&lang=scss ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); exports = ___CSS_LOADER_API_IMPORT___(false); // Module exports.push([module.i, ".header-new .photo[data-v-9a17f728] {\n width: 3.64583vw;\n height: 3.64583vw;\n background: #0e71ff;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 0.72917vw;\n color: #fff;\n margin-left: 0.52083vw;\n margin-right: 0.52083vw;\n float: left;\n}\n.follow-btn[data-v-9a17f728] {\n margin-left: 0.3125vw;\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/station/index.vue?vue&type=style&index=0&id=6316a268&scoped=true&lang=scss": /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/station/index.vue?vue&type=style&index=0&id=6316a268&scoped=true&lang=scss ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); exports = ___CSS_LOADER_API_IMPORT___(false); // Module exports.push([module.i, ".follow-btn[data-v-6316a268] {\n margin-left: 0.3125vw;\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/stationEmployees/index.vue?vue&type=style&index=0&id=74940baf&scoped=true&lang=scss": /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/stationEmployees/index.vue?vue&type=style&index=0&id=74940baf&scoped=true&lang=scss ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); exports = ___CSS_LOADER_API_IMPORT___(false); // Module exports.push([module.i, ".circle-style[data-v-74940baf] {\n width: 3.125vw;\n height: 3.125vw;\n background: #0e71ff;\n border-radius: 1.5625vw 1.5625vw 1.5625vw 1.5625vw;\n opacity: 1;\n font-size: 0.72917vw;\n font-weight: 400;\n color: #ffffff;\n float: left;\n text-align: center;\n line-height: 3.125vw;\n}\n.circle-detail[data-v-74940baf] {\n margin-left: 4.375vw;\n}\n.circle-detail .detail-item[data-v-74940baf] {\n display: flex;\n align-items: center;\n color: #000000;\n font-size: 0.72917vw;\n}\n.circle-detail .detail-item[data-v-74940baf]:nth-last-child(1) {\n margin-bottom: 0.72917vw;\n}\n.circle-detail .detail-item .detail-item-label[data-v-74940baf] {\n color: #000000;\n}\n.circle-detail .detail-item .detail-item-value[data-v-74940baf] {\n float: left;\n}\n.circle-detail .detail-item img[data-v-74940baf] {\n width: 0.83333vw;\n height: 0.83333vw;\n cursor: pointer;\n margin-left: 0.41667vw;\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/resourceSearch/index.vue?vue&type=style&index=0&id=74342c69&scoped=true&lang=scss": /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/resourceSearch/index.vue?vue&type=style&index=0&id=74342c69&scoped=true&lang=scss ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js"); var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! @/assets/images/mapSearch/搜地址.png */ "./src/assets/images/mapSearch/搜地址.png"); var ___CSS_LOADER_URL_IMPORT_1___ = __webpack_require__(/*! @/assets/images/mapSearch/保安人员.png */ "./src/assets/images/mapSearch/保安人员.png"); var ___CSS_LOADER_URL_IMPORT_2___ = __webpack_require__(/*! @/assets/images/mapSearch/驻勤点备份.png */ "./src/assets/images/mapSearch/驻勤点备份.png"); var ___CSS_LOADER_URL_IMPORT_3___ = __webpack_require__(/*! @/assets/images/mapSearch/内保单位.png */ "./src/assets/images/mapSearch/内保单位.png"); var ___CSS_LOADER_URL_IMPORT_4___ = __webpack_require__(/*! @/assets/images/mapSearch/智能对讲终端.png */ "./src/assets/images/mapSearch/智能对讲终端.png"); var ___CSS_LOADER_URL_IMPORT_5___ = __webpack_require__(/*! @/assets/images/mapSearch/电子围栏.png */ "./src/assets/images/mapSearch/电子围栏.png"); var ___CSS_LOADER_URL_IMPORT_6___ = __webpack_require__(/*! @/assets/images/mapSearch/搜考场.png */ "./src/assets/images/mapSearch/搜考场.png"); var ___CSS_LOADER_URL_IMPORT_7___ = __webpack_require__(/*! @/assets/images/mapSearch/24px展开.png */ "./src/assets/images/mapSearch/24px展开.png"); var ___CSS_LOADER_URL_IMPORT_8___ = __webpack_require__(/*! @/assets/images/mapSearch/24px展开-2.png */ "./src/assets/images/mapSearch/24px展开-2.png"); exports = ___CSS_LOADER_API_IMPORT___(false); var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___); var ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_3___); var ___CSS_LOADER_URL_REPLACEMENT_4___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_4___); var ___CSS_LOADER_URL_REPLACEMENT_5___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_5___); var ___CSS_LOADER_URL_REPLACEMENT_6___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_6___); var ___CSS_LOADER_URL_REPLACEMENT_7___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_7___); var ___CSS_LOADER_URL_REPLACEMENT_8___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_8___); // Module exports.push([module.i, "@charset \"UTF-8\";\n.resource-search[data-v-74342c69] {\n position: absolute;\n top: 0.67708vw;\n left: 1.77083vw;\n width: 30.625vw;\n background: #ffffff;\n box-shadow: 0 0.10417vw 0.52083vw 0 rgba(0, 0, 0, 0.2);\n border-radius: 0.20833vw 0.20833vw 0.20833vw 0.20833vw;\n z-index: 2;\n}\n.resource-search .resource-type[data-v-74342c69] {\n width: 100%;\n padding: 0.41667vw 0.625vw 0.72917vw 0.625vw;\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n}\n.resource-search .resource-type-item[data-v-74342c69] {\n width: 4.89583vw;\n height: 4.89583vw;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n padding: 0.46875vw 0 0.57292vw 0;\n cursor: pointer;\n}\n.resource-search .resource-type-item-active[data-v-74342c69] {\n background: #f2f2f2;\n}\n.resource-search .resource-type-item-disabled[data-v-74342c69] {\n pointer-events: none;\n opacity: 0.3;\n}\n.resource-search .resource-type-item .icon[data-v-74342c69] {\n display: block;\n}\n.resource-search .resource-type-item .icon-1[data-v-74342c69] {\n width: 1.97917vw;\n height: 2.03125vw;\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat;\n background-size: 100% 100%;\n}\n.resource-search .resource-type-item .icon-2[data-v-74342c69] {\n width: 2.1875vw;\n height: 2.23958vw;\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat;\n background-size: 100% 100%;\n}\n.resource-search .resource-type-item .icon-3[data-v-74342c69] {\n width: 2.1875vw;\n height: 2.1875vw;\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") no-repeat;\n background-size: 100% 100%;\n}\n.resource-search .resource-type-item .icon-4[data-v-74342c69] {\n width: 2.29167vw;\n height: 2.29167vw;\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_3___ + ") no-repeat;\n background-size: 100% 100%;\n}\n.resource-search .resource-type-item .icon-5[data-v-74342c69] {\n width: 2.29167vw;\n height: 2.29167vw;\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_4___ + ") no-repeat;\n background-size: 100% 100%;\n}\n.resource-search .resource-type-item .icon-6[data-v-74342c69] {\n width: 2.29167vw;\n height: 2.29167vw;\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_5___ + ") no-repeat;\n background-size: 100% 100%;\n}\n.resource-search .resource-type-item .icon-7[data-v-74342c69] {\n width: 2.1875vw;\n height: 2.1875vw;\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_6___ + ") no-repeat;\n background-size: 100% 100%;\n}\n.resource-search .resource-type-item .name[data-v-74342c69] {\n font-size: 0.72917vw;\n font-weight: 400;\n color: #000000;\n line-height: 0.88542vw;\n}\n.resource-search .filter-content[data-v-74342c69] {\n padding: 0 0.78125vw;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .el-form-item {\n width: 100%;\n border-top: 1px solid #eeeeee;\n margin-bottom: 0.52083vw;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .el-form-item.is-last {\n border-top: 0;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .el-form-item.center {\n width: 100%;\n display: flex;\n justify-content: center;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .el-form-item.center .btn-full {\n width: 22.29167vw;\n height: 2.03125vw;\n line-height: 0.52083vw;\n background: #0e71ff;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .el-form-item.center .btn-full:hover, .resource-search .filter-content[data-v-74342c69] .filter-form .el-form-item.center .btn-full:active {\n background: #569bff;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .el-form-item.center .btn-full .el-loading-spinner {\n margin-top: 0;\n transform: translate(-1.35417vw, -0.3125vw);\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .el-form-item.center .btn-full .el-loading-spinner i {\n color: #fff;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .el-form-item__label {\n border-left: 0.20833vw solid #0e71ff;\n height: 1.04167vw;\n width: 100%;\n padding-left: 0.625vw;\n font-size: 0.72917vw;\n font-weight: 400;\n color: #000000;\n line-height: 0.9375vw;\n display: flex;\n align-items: center;\n margin-bottom: 0.52083vw;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .el-form-item__content {\n padding-left: 0.20833vw;\n line-height: 1;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .type-icon {\n width: 0.83333vw;\n height: 0.83333vw;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .tree-select {\n padding-top: 0.3125vw;\n width: 24.84375vw;\n font-size: 0.72917vw;\n line-height: 1.82292vw;\n color: #606266;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .tree-select .vue-treeselect__placeholder {\n line-height: 1.82292vw;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .tree-select .vue-treeselect__control {\n height: 1.82292vw !important;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .tree-select .vue-treeselect__placeholder,\n.resource-search .filter-content[data-v-74342c69] .filter-form .tree-select .vue-treeselect__single-value {\n line-height: 1.82292vw;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .el-checkbox-group .el-row {\n overflow-y: auto;\n overflow-x: hidden;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .el-checkbox-group .el-row .el-checkbox {\n line-height: 1;\n}\n.resource-search .filter-content[data-v-74342c69] .filter-form .multi-row-radio .el-radio {\n margin-bottom: 0.52083vw;\n}\n.resource-search .filter-content .filter-item[data-v-74342c69] {\n padding-top: 0.83333vw;\n width: 100%;\n border-top: 1px solid #eeeeee;\n}\n.resource-search .filter-bar[data-v-74342c69] {\n width: 30.625vw;\n height: 1.25vw;\n background: #ffffff;\n border-radius: 0 0 0.20833vw 0.20833vw;\n opacity: 1;\n border-top: 0.10417vw solid #e1e1e1;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.resource-search .filter-bar .arrow[data-v-74342c69] {\n display: block;\n width: 1.25vw;\n height: 1.25vw;\n}\n.resource-search .filter-bar .arrow-down[data-v-74342c69] {\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_7___ + ") no-repeat;\n background-size: 100% 100%;\n}\n.resource-search .filter-bar .arrow-up[data-v-74342c69] {\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_8___ + ") no-repeat;\n background-size: 100% 100%;\n}\n.resource-search .filter-bar .text[data-v-74342c69] {\n font-size: 0.72917vw;\n font-weight: 400;\n color: #666666;\n line-height: 0.98958vw;\n margin-right: 0.83333vw;\n}\n.resource-search .total[data-v-74342c69] {\n position: absolute;\n right: -0.83333vw;\n top: 0;\n min-width: 7.91667vw;\n height: 3.125vw;\n background: rgba(255, 255, 255, 0.8);\n transform: translate(100%, 0);\n border-radius: 0.20833vw;\n border-left: 0.20833vw solid #0e70ff;\n padding: 0 0.625vw;\n display: flex;\n align-items: center;\n}\n.resource-search .total .label[data-v-74342c69] {\n height: 1.5625vw;\n font-size: 0.72917vw;\n font-weight: 400;\n color: #333333;\n display: flex;\n align-items: center;\n word-wrap: normal;\n white-space: nowrap;\n}\n.resource-search .total .label[data-v-74342c69]::before {\n content: \"\";\n display: block;\n width: 0.41667vw;\n height: 0.41667vw;\n background: #0e70ff;\n border-radius: 50%;\n margin-right: 0.10417vw;\n}\n.resource-search .total .label-green[data-v-74342c69]::before {\n background: #60da84;\n}\n.resource-search .total .label-gray[data-v-74342c69]::before {\n background: #999999;\n}\n.resource-search .total .label-green[data-v-74342c69], .resource-search .total .label-gray[data-v-74342c69] {\n margin-left: 0.52083vw;\n padding-left: 0.83333vw;\n border-left: 0.10417vw solid #b2cce4;\n}\n.resource-search .total .value[data-v-74342c69] {\n font-size: 1.25vw;\n font-weight: 500;\n color: #000000;\n margin-left: 0.41667vw;\n word-wrap: normal;\n white-space: nowrap;\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/components/electronicFence.vue?vue&type=style&index=0&id=ef6eef40&lang=scss&scoped=true": /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/components/electronicFence.vue?vue&type=style&index=0&id=ef6eef40&lang=scss&scoped=true ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js"); var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! @/assets/images/mapSearch/驻勤点类型.png */ "./src/assets/images/mapSearch/驻勤点类型.png"); exports = ___CSS_LOADER_API_IMPORT___(false); var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); // Module exports.push([module.i, "@charset \"UTF-8\";\n.station-types[data-v-ef6eef40] {\n width: 57.29167vw;\n height: 31.77083vw;\n background: #ffffff;\n box-shadow: 0px 0.10417vw 0.20833vw 0px rgba(0, 0, 0, 0.1);\n border-radius: 0.20833vw 0.20833vw 0.41667vw 0.41667vw;\n border: 0.10417vw solid #3e8dff;\n position: absolute;\n top: 50%;\n right: 10%;\n transform: translateY(-50%);\n padding: 0 1.25vw;\n z-index: 999;\n}\n.station-types .header[data-v-ef6eef40] {\n height: 2.8125vw;\n border-bottom: 1px solid #bdcfde;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 1.25vw;\n}\n.station-types .header .title[data-v-ef6eef40] {\n font-size: 0.83333vw;\n font-weight: 500;\n color: #333333;\n}\n.station-types .header i[data-v-ef6eef40] {\n cursor: pointer;\n font-size: 0.83333vw;\n color: #999999;\n}\n.station-types .content .top[data-v-ef6eef40] {\n display: flex;\n align-items: stretch;\n justify-content: flex-start;\n margin: 0.83333vw 0 0.98958vw 0;\n}\n.station-types .content .top .location[data-v-ef6eef40] {\n width: 1.14583vw;\n height: 1.14583vw;\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat;\n background-size: 100% 100%;\n margin-right: 0.41667vw;\n}\n.station-types .content .top .title[data-v-ef6eef40] {\n font-size: 0.83333vw;\n font-weight: 500;\n color: #0e71ff;\n}\n.station-types .content .type-icon[data-v-ef6eef40] {\n width: 0.83333vw;\n height: 0.83333vw;\n}\n.station-types .content .el-col[data-v-ef6eef40] {\n margin-bottom: 1.25vw;\n}\n.station-types .content[data-v-ef6eef40] .el-radio {\n display: flex;\n align-items: center;\n}\n.station-types .content[data-v-ef6eef40] .el-radio .el-radio__label {\n display: flex;\n align-items: center;\n padding-left: 0.41667vw;\n font-size: 0.83333vw;\n color: #666666;\n}\n.station-types .content .btn-row[data-v-ef6eef40] {\n display: flex;\n align-items: center;\n}\n.station-types .content .btn-row-btn[data-v-ef6eef40] {\n width: 1.97917vw;\n height: 1.97917vw;\n line-height: 1.97917vw;\n text-align: center;\n border-radius: 0.20833vw;\n border: 1px solid #d9d9d9;\n}\n.station-types .content .btn-row-btnAc[data-v-ef6eef40] {\n background: rgba(22, 119, 255, 0.1);\n border-radius: 0.20833vw;\n border: 1px solid #1677ff;\n}\n.station-types .content .btn-row-btnSelf[data-v-ef6eef40] {\n width: 3.64583vw;\n height: 1.97917vw;\n}\n.station-types .content .btn-row-btnSelf[data-v-ef6eef40] .el-input {\n width: 3.64583vw;\n height: 1.97917vw;\n line-height: 1.97917vw;\n font-weight: 500;\n color: #666666;\n font-size: 0.72917vw;\n}\n.station-types .content .btn-row-btnSelf[data-v-ef6eef40] .el-input__inner {\n border: 0;\n}\n.station-types .footer[data-v-ef6eef40] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 1.04167vw;\n}\n.station-types .footer-left .del[data-v-ef6eef40] {\n color: rgb(255, 77, 79);\n background-color: #ffffff;\n border-color: rgb(255, 77, 79);\n}\n.station-types .footer-left .del[data-v-ef6eef40]:hover {\n color: #ffffff;\n background-color: rgb(255, 77, 79);\n border-color: rgb(255, 77, 79);\n}\n.station-types .footer-left .del[data-v-ef6eef40]:focus {\n color: #ffffff;\n background-color: rgb(255, 77, 79);\n border-color: rgb(255, 77, 79);\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/components/electronicFenceEdit.vue?vue&type=style&index=0&id=2f88218a&lang=scss&scoped=true": /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/components/electronicFenceEdit.vue?vue&type=style&index=0&id=2f88218a&lang=scss&scoped=true ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js"); var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! @/assets/images/mapSearch/驻勤点类型.png */ "./src/assets/images/mapSearch/驻勤点类型.png"); exports = ___CSS_LOADER_API_IMPORT___(false); var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); // Module exports.push([module.i, "@charset \"UTF-8\";\n.station-types[data-v-2f88218a] {\n width: 35.41667vw;\n background: #ffffff;\n box-shadow: 0 0.10417vw 0.20833vw 0 rgba(0, 0, 0, 0.1);\n border-radius: 0.20833vw 0.20833vw 0.41667vw 0.41667vw;\n border: 0.10417vw solid #3e8dff;\n position: absolute;\n top: 50%;\n right: 10%;\n transform: translateY(-50%);\n padding: 0 1.25vw;\n z-index: 999;\n}\n.station-types .header[data-v-2f88218a] {\n height: 2.8125vw;\n border-bottom: 1px solid #bdcfde;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 1.25vw;\n}\n.station-types .header .title[data-v-2f88218a] {\n font-size: 0.83333vw;\n font-weight: 500;\n color: #333333;\n}\n.station-types .header i[data-v-2f88218a] {\n cursor: pointer;\n font-size: 0.83333vw;\n color: #999999;\n}\n.station-types .content[data-v-2f88218a] {\n border-bottom: 1px solid #bdcfde;\n}\n.station-types .content .top[data-v-2f88218a] {\n display: flex;\n align-items: stretch;\n justify-content: flex-start;\n margin: 0.83333vw 0 0.98958vw 0;\n}\n.station-types .content .top .location[data-v-2f88218a] {\n width: 1.14583vw;\n height: 1.14583vw;\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat;\n background-size: 100% 100%;\n margin-right: 0.41667vw;\n}\n.station-types .content .top .title[data-v-2f88218a] {\n font-size: 0.83333vw;\n font-weight: 500;\n color: #0e71ff;\n}\n.station-types .content .type-icon[data-v-2f88218a] {\n width: 0.83333vw;\n height: 0.83333vw;\n}\n.station-types .content[data-v-2f88218a] .el-radio {\n display: flex;\n align-items: center;\n}\n.station-types .content[data-v-2f88218a] .el-radio .el-radio__label {\n display: flex;\n align-items: center;\n padding-left: 0.41667vw;\n font-size: 0.83333vw;\n color: #666666;\n}\n.station-types .content .areaContent[data-v-2f88218a] {\n display: flex;\n align-items: center;\n}\n.station-types .content .areaContent-block[data-v-2f88218a] {\n width: 6.66667vw;\n height: 1.66667vw;\n line-height: 1.66667vw;\n border-radius: 0.3125vw;\n opacity: 1;\n border: 1px solid #d9d9d9;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 0.52083vw;\n cursor: pointer;\n}\n.station-types .content .areaContent-block[data-v-2f88218a]:nth-child(3) {\n margin-right: 0;\n}\n.station-types .content .areaContent-block-img[data-v-2f88218a] {\n width: 1.25vw;\n height: 1.25vw;\n}\n.station-types .content .areaContent-block-img img[data-v-2f88218a] {\n width: 100%;\n height: 100%;\n}\n.station-types .content .areaContent-block-text[data-v-2f88218a] {\n margin-left: 0.41667vw;\n color: #333333;\n font-size: 0.72917vw;\n}\n.station-types .content .areaContent-block-active[data-v-2f88218a] {\n background: rgba(14, 113, 255, 0.1);\n border: 1px solid #0e71ff;\n}\n.station-types .content .peopleNum[data-v-2f88218a] {\n width: 2.60417vw;\n font-size: 0.72917vw;\n color: #0e70ff;\n text-decoration: underline;\n cursor: pointer;\n}\n.station-types .content .btnContent[data-v-2f88218a] {\n display: flex;\n align-items: center;\n}\n.station-types .content .btnContent-block[data-v-2f88218a] {\n width: 6.66667vw;\n height: 1.66667vw;\n line-height: 1.66667vw;\n border-radius: 0.3125vw;\n opacity: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 0.52083vw;\n cursor: pointer;\n color: #333333;\n font-size: 0.72917vw;\n}\n.station-types .content .btnContent-block[data-v-2f88218a]:nth-child(3) {\n margin-right: 0;\n}\n.station-types .content .btnContent .success[data-v-2f88218a] {\n color: #00b40c;\n border: 1px solid #00b40c;\n}\n.station-types .content .btnContent .success[data-v-2f88218a]:hover {\n color: #ffffff;\n background: #00b40c;\n}\n.station-types .content .btnContent .primary[data-v-2f88218a] {\n color: #1677ff;\n border: 1px solid #1677ff;\n}\n.station-types .content .btnContent .primary[data-v-2f88218a]:hover {\n color: #ffffff;\n background: #1677ff;\n}\n.station-types .content .btnContent .danger[data-v-2f88218a] {\n background: #ff4d4f;\n color: #ffffff;\n border: 1px solid #ff4d4f;\n}\n.station-types .content .btn-row[data-v-2f88218a] {\n display: flex;\n align-items: center;\n}\n.station-types .content .btn-row-btn[data-v-2f88218a] {\n width: 1.97917vw;\n height: 1.97917vw;\n line-height: 1.97917vw;\n text-align: center;\n border-radius: 0.20833vw;\n border: 1px solid #d9d9d9;\n}\n.station-types .content .btn-row-btnAc[data-v-2f88218a] {\n background: rgba(22, 119, 255, 0.1);\n border-radius: 0.20833vw;\n border: 1px solid #1677ff;\n}\n.station-types .content .btn-row-btnSelf[data-v-2f88218a] {\n width: 3.64583vw;\n height: 1.97917vw;\n}\n.station-types .content .btn-row-btnSelf[data-v-2f88218a] .el-input {\n width: 3.64583vw;\n height: 1.97917vw;\n line-height: 1.97917vw;\n font-weight: 500;\n color: #666666;\n font-size: 0.72917vw;\n}\n.station-types .content .btn-row-btnSelf[data-v-2f88218a] .el-input__inner {\n border: 0;\n}\n.station-types .footer[data-v-2f88218a] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 1.04167vw;\n margin-bottom: 1.04167vw;\n}\n.station-types .footer-left .del[data-v-2f88218a] {\n color: rgb(255, 77, 79);\n background-color: #ffffff;\n border-color: rgb(255, 77, 79);\n}\n.station-types .footer-left .del[data-v-2f88218a]:hover {\n color: #ffffff;\n background-color: rgb(255, 77, 79);\n border-color: rgb(255, 77, 79);\n}\n.station-types .footer-left .del[data-v-2f88218a]:focus {\n background-color: rgb(255, 77, 79);\n border-color: rgb(255, 77, 79);\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/components/electronicFencePeople.vue?vue&type=style&index=0&id=f4457ce2&lang=scss&scoped=true": /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/components/electronicFencePeople.vue?vue&type=style&index=0&id=f4457ce2&lang=scss&scoped=true ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js"); var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! @/assets/images/mapSearch/驻勤点备份.png */ "./src/assets/images/mapSearch/驻勤点备份.png"); exports = ___CSS_LOADER_API_IMPORT___(false); var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); // Module exports.push([module.i, "@charset \"UTF-8\";\n.station-types[data-v-f4457ce2] {\n width: 19.27083vw;\n background: #ffffff;\n box-shadow: 0px 0.10417vw 0.20833vw 0px rgba(0, 0, 0, 0.1);\n border-radius: 0.20833vw 0.20833vw 0.41667vw 0.41667vw;\n position: absolute;\n top: 50%;\n right: calc(10% + 28.90625vw);\n transform: translateY(-50%);\n padding: 0 1.25vw;\n z-index: 999;\n}\n.station-types .header[data-v-f4457ce2] {\n border-bottom: 1px solid #bdcfde;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 1.25vw;\n padding: 0.83333vw 0;\n}\n.station-types .header .title[data-v-f4457ce2] {\n display: flex;\n align-items: center;\n}\n.station-types .header .title-icon[data-v-f4457ce2] {\n width: 1.97917vw;\n height: 1.97917vw;\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat;\n background-size: 100% 100%;\n margin-right: 0.41667vw;\n}\n.station-types .header .title-name[data-v-f4457ce2] {\n font-size: 0.83333vw;\n font-weight: 500;\n color: #333333;\n}\n.station-types .header i[data-v-f4457ce2] {\n cursor: pointer;\n font-size: 0.83333vw;\n color: #999999;\n}\n.station-types .content[data-v-f4457ce2] {\n height: 15.625vw;\n overflow-y: auto;\n}\n.station-types .content .top[data-v-f4457ce2] {\n display: flex;\n align-items: stretch;\n justify-content: flex-start;\n margin: 0.83333vw 0 0.98958vw 0;\n}\n.station-types .content .top .location[data-v-f4457ce2] {\n width: 1.14583vw;\n height: 1.14583vw;\n}\n.station-types .content .top .title[data-v-f4457ce2] {\n font-size: 0.83333vw;\n font-weight: 500;\n color: #0e71ff;\n}\n.station-types .content .type-icon[data-v-f4457ce2] {\n width: 0.83333vw;\n height: 0.83333vw;\n}\n.station-types .content .el-col[data-v-f4457ce2] {\n margin-bottom: 1.25vw;\n}\n.station-types .content[data-v-f4457ce2] .el-radio {\n display: flex;\n align-items: center;\n}\n.station-types .content[data-v-f4457ce2] .el-radio .el-radio__label {\n display: flex;\n align-items: center;\n padding-left: 0.41667vw;\n font-size: 0.83333vw;\n color: #666666;\n}\n.station-types .circle-style[data-v-f4457ce2] {\n width: 3.125vw;\n height: 3.125vw;\n background: #0e71ff;\n border-radius: 1.5625vw 1.5625vw 1.5625vw 1.5625vw;\n opacity: 1;\n font-size: 0.72917vw;\n font-weight: 400;\n color: #ffffff;\n float: left;\n text-align: center;\n line-height: 3.125vw;\n}\n.station-types .circle-detail[data-v-f4457ce2] {\n margin-left: 3.38542vw;\n}\n.station-types .circle-detail .detail-item[data-v-f4457ce2] {\n display: flex;\n align-items: center;\n color: #000000;\n font-size: 0.72917vw;\n}\n.station-types .circle-detail .detail-item[data-v-f4457ce2]:nth-last-child(1) {\n margin-bottom: 0.72917vw;\n}\n.station-types .circle-detail .detail-item .detail-item-label[data-v-f4457ce2] {\n color: #000000;\n}\n.station-types .circle-detail .detail-item img[data-v-f4457ce2] {\n width: 0.83333vw;\n height: 0.83333vw;\n cursor: pointer;\n margin-left: 0.41667vw;\n}\n.hide-show[data-v-f4457ce2] {\n font-size: 0.625vw;\n font-family: PingFang SC-Regular, PingFang SC;\n font-weight: 400;\n color: #0e70ff;\n cursor: pointer;\n padding-left: 0.26042vw;\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/components/electronicFenceStation.vue?vue&type=style&index=0&id=3e503ae4&lang=scss&scoped=true": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/components/electronicFenceStation.vue?vue&type=style&index=0&id=3e503ae4&lang=scss&scoped=true ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js"); var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! @/assets/images/mapSearch/驻勤点类型.png */ "./src/assets/images/mapSearch/驻勤点类型.png"); exports = ___CSS_LOADER_API_IMPORT___(false); var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); // Module exports.push([module.i, "@charset \"UTF-8\";\n.station-types[data-v-3e503ae4] {\n width: 55.41667vw;\n height: 31.77083vw;\n background: #ffffff;\n box-shadow: 0px 0.10417vw 0.20833vw 0px rgba(0, 0, 0, 0.1);\n border-radius: 0.20833vw 0.20833vw 0.41667vw 0.41667vw;\n border: 0.10417vw solid #3e8dff;\n position: absolute;\n top: 50%;\n right: 10%;\n transform: translateY(-50%);\n padding: 0 1.25vw;\n z-index: 999;\n}\n.station-types .header[data-v-3e503ae4] {\n height: 2.8125vw;\n border-bottom: 1px solid #bdcfde;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 1.25vw;\n}\n.station-types .header .title[data-v-3e503ae4] {\n font-size: 0.83333vw;\n font-weight: 500;\n color: #333333;\n}\n.station-types .header i[data-v-3e503ae4] {\n cursor: pointer;\n font-size: 0.83333vw;\n color: #999999;\n}\n.station-types .content .top[data-v-3e503ae4] {\n display: flex;\n align-items: stretch;\n justify-content: flex-start;\n margin: 0.83333vw 0 0.98958vw 0;\n}\n.station-types .content .top .location[data-v-3e503ae4] {\n width: 1.14583vw;\n height: 1.14583vw;\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat;\n background-size: 100% 100%;\n margin-right: 0.41667vw;\n}\n.station-types .content .top .title[data-v-3e503ae4] {\n font-size: 0.83333vw;\n font-weight: 500;\n color: #0e71ff;\n}\n.station-types .content .type-icon[data-v-3e503ae4] {\n width: 0.83333vw;\n height: 0.83333vw;\n}\n.station-types .content .el-col[data-v-3e503ae4] {\n margin-bottom: 1.25vw;\n}\n.station-types .content[data-v-3e503ae4] .el-radio {\n display: flex;\n align-items: center;\n}\n.station-types .content[data-v-3e503ae4] .el-radio .el-radio__label {\n display: flex;\n align-items: center;\n padding-left: 0.41667vw;\n font-size: 0.83333vw;\n color: #666666;\n}\n.station-types .content .btn-row[data-v-3e503ae4] {\n display: flex;\n align-items: center;\n}\n.station-types .content .btn-row-btn[data-v-3e503ae4] {\n width: 1.97917vw;\n height: 1.97917vw;\n line-height: 1.97917vw;\n text-align: center;\n border-radius: 0.20833vw;\n border: 1px solid #d9d9d9;\n}\n.station-types .content .btn-row-btnAc[data-v-3e503ae4] {\n background: rgba(22, 119, 255, 0.1);\n border-radius: 0.20833vw;\n border: 1px solid #1677ff;\n}\n.station-types .content .btn-row-btnSelf[data-v-3e503ae4] {\n width: 3.64583vw;\n height: 1.97917vw;\n}\n.station-types .content .btn-row-btnSelf[data-v-3e503ae4] .el-input {\n width: 3.64583vw;\n height: 1.97917vw;\n line-height: 1.97917vw;\n font-weight: 500;\n color: #666666;\n font-size: 0.72917vw;\n}\n.station-types .content .btn-row-btnSelf[data-v-3e503ae4] .el-input__inner {\n border: 0;\n}\n.station-types .footer[data-v-3e503ae4] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 1.04167vw;\n}\n.station-types .footer-left .del[data-v-3e503ae4] {\n color: rgb(255, 77, 79);\n background-color: #ffffff;\n border-color: rgb(255, 77, 79);\n}\n.station-types .footer-left .del[data-v-3e503ae4]:hover {\n color: #ffffff;\n background-color: rgb(255, 77, 79);\n border-color: rgb(255, 77, 79);\n}\n.station-types .footer-left .del[data-v-3e503ae4]:focus {\n color: #ffffff;\n background-color: rgb(255, 77, 79);\n border-color: rgb(255, 77, 79);\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/resources/index.vue?vue&type=style&index=0&id=104bd93e&scoped=true&lang=scss": /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/resources/index.vue?vue&type=style&index=0&id=104bd93e&scoped=true&lang=scss ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js"); var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! @/assets/images/mapToolbar/旋转视角.png */ "./src/assets/images/mapToolbar/旋转视角.png"); exports = ___CSS_LOADER_API_IMPORT___(false); var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); // Module exports.push([module.i, "@charset \"UTF-8\";\n.page[data-v-104bd93e] {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.page .map[data-v-104bd93e] {\n z-index: 1;\n}\n.page .map-search[data-v-104bd93e] {\n z-index: 2;\n}\n[data-v-104bd93e] .ol-zoom-custom {\n width: 2.34375vw;\n height: 4.6875vw;\n background: #ffffff;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n bottom: 6.25vw;\n left: 2.08333vw;\n border-radius: 0.20833vw;\n box-shadow: 0 0 0.15625vw rgba(0, 0, 0, 0.5);\n}\n[data-v-104bd93e] .ol-zoom-custom button {\n margin: 0;\n width: 2.34375vw;\n height: 2.34375vw;\n}\n[data-v-104bd93e] .ol-zoom-custom button.ol-zoom-custom-in {\n font-size: 1.5625vw;\n}\n[data-v-104bd93e] .ol-zoom-custom button.ol-zoom-custom-out {\n font-size: 1.5625vw;\n}\n[data-v-104bd93e] .ol-zoom-custom button:hover {\n outline: none;\n}\n[data-v-104bd93e] .ol-zoom-custom:after {\n content: \" \";\n width: 1.5625vw;\n height: 0;\n border: 1px solid #bdcfde;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, 0);\n}\n[data-v-104bd93e] .ol-rotate-custom {\n bottom: 1.04167vw;\n left: 0.52083vw;\n background: transparent;\n}\n[data-v-104bd93e] .ol-rotate-custom button {\n width: 4.79167vw;\n height: 4.79167vw;\n background: transparent;\n}\n[data-v-104bd93e] .ol-rotate-custom button span {\n width: 100%;\n height: 100%;\n background: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat;\n background-size: 100% 100%;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n color: transparent;\n}\n[data-v-104bd93e] .ol-rotate-custom button:hover {\n outline: none;\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/mapOverlay/companyStations/index.vue?vue&type=style&index=0&id=c8147018&scoped=true&lang=scss": /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-style-loader??ref--9-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mapOverlay/companyStations/index.vue?vue&type=style&index=0&id=c8147018&scoped=true&lang=scss ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a