(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0f54ec09"],{"5b41":function(t,e,n){"use strict";n.d(e,"e",(function(){return a})),n.d(e,"l",(function(){return c})),n.d(e,"d",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"i",(function(){return s})),n.d(e,"h",(function(){return u})),n.d(e,"w",(function(){return l})),n.d(e,"u",(function(){return f})),n.d(e,"v",(function(){return p})),n.d(e,"k",(function(){return m})),n.d(e,"o",(function(){return d})),n.d(e,"p",(function(){return h})),n.d(e,"f",(function(){return b})),n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return v})),n.d(e,"n",(function(){return j})),n.d(e,"r",(function(){return k})),n.d(e,"s",(function(){return w})),n.d(e,"m",(function(){return x})),n.d(e,"t",(function(){return D})),n.d(e,"g",(function(){return A})),n.d(e,"q",(function(){return y})),n.d(e,"j",(function(){return O}));var r=n("22b6"),a=function(t){return Object(r.b)("xmgl/company/getComapnyStatisticsList",t)},c=function(t){return Object(r.b)("/xmgl/workerInfo/getWorkerStatisticsCount",t,"aa")},i=function(t){return Object(r.b)("xmgl/company/getComapnyParentName",t)},o=function(t){return Object(r.b)("xmgl/company/editCompanyBySn",t)},s=function(t){return Object(r.b)("xmgl/projectDevStatistics/getProjectDevStatisticsCount",t)},u=function(t){return Object(r.b)("xmgl/project/getProjectByNumber",t)},l=function(t){return Object(r.b)("xmgl/workerSafeEducation/selectWorkerSafeEducationStatistics",t)},f=function(t){return Object(r.b)("xmgl/workerBlacklist/selectWorkerBlacklistStatistics",t)},p=function(t){return Object(r.b)("xmgl/workerInfo/selectWorkerManageStatistics",t)},m=function(t){return Object(r.b)("xmgl/workerAttendance/getWorkerDayAttendanceTotalCount",t)},d=function(t){return Object(r.b)("xmgl/environmentDev/selectEnvironmentDevStatistics",t)},h=function(t){return Object(r.b)("xmgl/environmentAlarm/selectHistoryEnvironmentAlarmList",t)},b=function(t){return Object(r.b)("xmgl/notice/list",t)},g=function(t){return Object(r.b)("xmgl/notice/cleanAllNotice",t)},v=function(t){return Object(r.b)("xmgl/notice/delete",t)},j=function(t){return Object(r.b)("xmgl/projectDevStatistics/selectDevStatisticsCount",t)},k=function(t){return Object(r.b)("xmgl/projectDevStatistics/selectTowerAndLifterStatisticsCount",t)},w=function(t){return Object(r.b)("xmgl/projectDevStatistics/selectUfaceDevStatisticsCount",t)},x=function(t){return Object(r.b)("xmgl/environmentDev/selectCurrentDayEnvironmentDevStatistics",t)},D=function(t){return Object(r.b)("xmgl/videoItem/selectDevStatisticsCount",t)},A=function(t){return Object(r.b)("xmgl/operationLog/list",t)},y=function(t){return Object(r.b)("xmgl/project/selectProjectInfoListPage",t)},O=function(t){return Object(r.b)("xmgl/projectEnterprise/selectList",t)}},"786b":function(t,e,n){},"99af":function(t,e,n){"use strict";var r=n("23e7"),a=n("d039"),c=n("e8b5"),i=n("861d"),o=n("7b0b"),s=n("50c4"),u=n("8418"),l=n("65f0"),f=n("1dde"),p=n("b622"),m=n("2d00"),d=p("isConcatSpreadable"),h=9007199254740991,b="Maximum allowed index exceeded",g=m>=51||!a((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),v=f("concat"),j=function(t){if(!i(t))return!1;var e=t[d];return void 0!==e?!!e:c(t)};r({target:"Array",proto:!0,forced:!g||!v},{concat:function(t){var e,n,r,a,c,i=o(this),f=l(i,0),p=0;for(e=-1,r=arguments.length;eh)throw TypeError(b);for(n=0;n=h)throw TypeError(b);u(f,p++,c)}return f.length=p,f}})},"9ce5":function(t,e,n){"use strict";n.d(e,"d",(function(){return a})),n.d(e,"b",(function(){return c})),n.d(e,"f",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"e",(function(){return s})),n.d(e,"a",(function(){return u}));var r=n("22b6"),a=function(t){return Object(r.b)("xmgl/project/getProjectInfoBySn",t)},c=function(t){return Object(r.b)("xmgl/project/edit",t)},i=function(t){return Object(r.b)("xmgl/project/sendProjectInfo",t)},o=function(t){return Object(r.b)("xmgl/projectConfig/getProjectConfigList",t)},s=function(t){return Object(r.b)("xmgl/projectExtend/getProjectExtendInfo",t)},u=function(t){return Object(r.b)("xmgl/projectExtend/editProjectExtend",t)}},a434:function(t,e,n){"use strict";var r=n("23e7"),a=n("23cb"),c=n("a691"),i=n("50c4"),o=n("7b0b"),s=n("65f0"),u=n("8418"),l=n("1dde"),f=n("ae40"),p=l("splice"),m=f("splice",{ACCESSORS:!0,0:0,1:2}),d=Math.max,h=Math.min,b=9007199254740991,g="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!p||!m},{splice:function(t,e){var n,r,l,f,p,m,v=o(this),j=i(v.length),k=a(t,j),w=arguments.length;if(0===w?n=r=0:1===w?(n=0,r=j-k):(n=w-2,r=h(d(c(e),0),j-k)),j+n-r>b)throw TypeError(g);for(l=s(v,r),f=0;fj-r+n;f--)delete v[f-1]}else if(n>r)for(f=j-r;f>k;f--)m=f+n-1,(p=f+r-1)in v?v[m]=v[p]:delete v[m];for(f=0;f0?(e.mapObj.clearMap(),e.setAreaMarker()):e.$message("该区域下没有数据!")}))},initData:function(t){if(this.backArr.length>0)this.searchsn=this.backArr[this.backArr.length-1].sn;else switch(Number(this.userInfo.accountType)){case 2:this.searchsn=this.userInfo.headquartersSn;break;case 3:case 4:this.searchsn=this.userInfo.sn}0==this.backArr.length&&2==this.userInfo.accountType||1==this.backArr.length&&3==this.userInfo.accountType||2==this.backArr.length&&4==this.userInfo.accountType?this.showMapBack=!1:this.showMapBack=!0,3==this.backArr.length?this.getProjectDetail():this.loadData(t)},getProjectDetail:function(){var t=this,e={projectSn:this.searchsn};Object(a.d)(e).then((function(e){200==e.code&&e.result&&(t.mapData=[e.result],t.mapObj.clearMap(),t.setAreaMarker())}))},initMap:function(){this.mapObj=new AMap.Map("map",{resizeEnable:!0})},goBack:function(){1==this.backArr.length?this.backArr=[]:this.backArr=this.backArr.splice(0,this.backArr.length-1),this.initData()},setAreaMarker:function(){var t=this,e=this;this.mapData.forEach((function(e){var n=new AMap.Marker({position:[e.longitude,e.latitude],size:new AMap.Size(230,43),imageSize:new AMap.Size(230,43)}),r="";e.projectName||(r="
\n

".concat(e.projectNum," 项目

\n
")),n.setLabel({offset:new AMap.Pixel(0,0),content:"
\n
".concat(e.name,"
").concat(r,"\n
"),direction:"center"}),n.setMap(t.mapObj),t.mapObj.setFitView()})),this.$nextTick((function(){setTimeout((function(){document.getElementsByClassName("mapInfo").forEach((function(t,n){e.mapData[0].projectName?t.addEventListener("click",(function(){uni.navigateTo({url:"/pages/projectManage/projectManage"})})):t.addEventListener("click",(function(){e.mapJumpToNext(n)}))}))}),1e3)}))},mapJumpToNext:function(t){var e=this;if(e.mapData[t].list){var n={sn:e.mapData[t].companySn,name:e.mapData[t].name};e.backArr.push(n),e.showMapDialog=!1,e.initData()}else e.mapData[t].projectName&&e.backArr.length<3?(n={sn:e.mapData[t].projectSn,name:e.mapData[t].name},e.backArr.push(n),e.showMapDialog=!1,e.initData()):e.$message("该区域下没有数据!")}}},i=(n("d21b"),n("2877")),o=Object(i.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mapBox"},[n("div",{staticClass:"headerBox"},[t.showMapBack?n("div",{staticClass:"mapBack",on:{click:t.goBack}},[n("i",{staticClass:"el-icon-arrow-left"})]):t._e(),n("div",{staticClass:"mapTitle"},[t._v(" "+t._s(t.backArr.length>0?t.backArr[t.backArr.length-1].name:"集团")+" ")])]),n("div",{staticClass:"selectContainer"},[n("div",{directives:[{name:"show",rawName:"v-show",value:2==t.backArr.length,expression:"backArr.length == 2"}],staticClass:"selectBox",on:{click:function(e){t.showMapDialog=!t.showMapDialog}}},[t._v(" 项目列表 "),n("i",{directives:[{name:"show",rawName:"v-show",value:!t.showMapDialog,expression:"!showMapDialog"}],staticClass:"el-icon-arrow-up"}),n("i",{directives:[{name:"show",rawName:"v-show",value:t.showMapDialog,expression:"showMapDialog"}],staticClass:"el-icon-arrow-down"})]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showMapDialog,expression:"showMapDialog"}],staticClass:"selectContent"},[n("vue-scroll",{staticStyle:{height:"100%"}},t._l(t.mapData,(function(e,r){return n("div",{key:r,staticClass:"selectItem",on:{click:function(e){return t.mapJumpToNext(r)}}},[n("p",{staticClass:"title"},[t._v(t._s(e.name))]),n("div",{staticClass:"datas"},[n("div",{staticClass:"numBox2"},[n("p",[t._v(t._s(e.videoNum))]),n("p",[t._v("视频数")])]),n("div",{staticClass:"numBox2"},[n("p",[t._v(t._s(e.ufaceDevNum))]),n("p",[t._v("门禁数")])]),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.projectName,expression:"!item.projectName"}],staticClass:"numBox2"},[n("p",[t._v(t._s(e.projectNum))]),n("p",[t._v("项目数")])])])])})),0)],1)]),n("div",{attrs:{id:"map"}})])}),[],!1,null,"f9ba94d4",null);e.default=o.exports},b0c0:function(t,e,n){var r=n("83ab"),a=n("9bf2").f,c=Function.prototype,i=c.toString,o=/^\s*function ([^ (]*)/,s="name";r&&!(s in c)&&a(c,s,{configurable:!0,get:function(){try{return i.call(this).match(o)[1]}catch(t){return""}}})},d21b:function(t,e,n){"use strict";var r=n("786b");n.n(r).a}}]);