(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0213":function(t,a,e){"use strict";e.r(a);var s=e("0eae"),n=e("c8f9");for(var i in n)"default"!==i&&function(t){e.d(a,t,(function(){return n[t]}))}(i);e("9e05");var o,r=e("f0c5"),c=Object(r["a"])(n["default"],s["b"],s["c"],!1,null,"cccbd9e2",null,!1,s["a"],o);a["default"]=c.exports},"0b3f":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var s={data:function(){return{url:"http://192.168.0.126:8080/equipmentCenter.html/#/map_app?data=",webviewStyles:{progress:{color:"#FF3333"}}}},mounted:function(){this.url+=uni.getStorageSync("userInfo")},methods:{getMessage:function(t){console.log("getMessage"),console.log(t)}}};a.default=s},"0cae":function(t,a,e){"use strict";var s=e("7f7b"),n=e.n(s);n.a},"0eae":function(t,a,e){"use strict";var s;e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){return s}));var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"videoPage"},[e("v-uni-web-view",{attrs:{"webview-styles":t.webviewStyles,src:t.url},on:{message:function(a){arguments[0]=a=t.$handleEvent(a),t.getMessage.apply(void 0,arguments)}}})],1)},i=[]},"113a":function(t,a,e){var s=e("24fb");a=s(!1),a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.videoPage[data-v-cccbd9e2]{height:calc(100% - 52px)}',""]),t.exports=a},"18c7":function(t,a,e){var s=e("24fb"),n=e("1de5"),i=e("d8fc");a=s(!1);var o=n(i);a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.statictisBox[data-v-cb4b123a]{width:100%;height:150px;background:url('+o+");color:#fff;display:flex;align-items:center;position:relative;margin-top:10px}.statictisBox .numBox[data-v-cb4b123a]{flex:1;text-align:center}.statictisBox .numBox .num[data-v-cb4b123a]{font-size:30px;line-height:40px}.statictisBox .numBox .text[data-v-cb4b123a]{font-size:12px}.forwardImg[data-v-cb4b123a]{position:absolute;right:10px;top:50%;margin-top:-15px;opacity:.8}.statusTips[data-v-cb4b123a]{position:absolute;right:0;top:2px;display:flex;align-items:center}.statusTips .kuai[data-v-cb4b123a]{width:12px;height:12px;margin-left:8px}.statusTips .text[data-v-cb4b123a]{font-size:12px;color:#262d47;opacity:.9;margin-left:3px}.kuai1[data-v-cb4b123a]{background-color:#5181f6}.kuai2[data-v-cb4b123a]{background-color:#f49006}.kuai3[data-v-cb4b123a]{background-color:#ea3941}.kuai4[data-v-cb4b123a]{background-color:#44d7b6}.kuaiBox[data-v-cb4b123a]{display:inline-flex;align-items:center;margin-bottom:3px}.kuaiBox .kuai[data-v-cb4b123a]{min-width:20px;height:20px;line-height:20px;color:#fff;font-size:12px}.avgageBox[data-v-cb4b123a]{font-size:14px;display:flex;align-items:center;justify-content:space-between;margin-top:10px;color:#262d47}.avgageBox .primaryText[data-v-cb4b123a]{margin-right:10px}",""]),t.exports=a},"1de5":function(t,a,e){"use strict";t.exports=function(t,a){return a||(a={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),a.hash&&(t+=a.hash),/["'() \t\n]/.test(t)||a.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"1f99":function(t,a,e){"use strict";var s=e("5364"),n=e.n(s);n.a},"237f":function(t,a,e){var s=e("113a");"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var n=e("4f06").default;n("2e6933e7",s,!0,{sourceMap:!1,shadowMode:!1})},"273b":function(t,a,e){var s=e("24fb");a=s(!1),a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.flex[data-v-9f1b345e]{display:flex;align-items:center;justify-content:space-between}.blockBox[data-v-9f1b345e]{box-sizing:border-box}.blockBox .blockTitle .titleName[data-v-9f1b345e]::before{height:75%;top:16%}.labourCanvas[data-v-9f1b345e]{width:100%;height:120px}.blockContent[data-v-9f1b345e]{position:relative}.ucharts[data-v-9f1b345e]{width:100%;height:175px}.forwardImg[data-v-9f1b345e]{position:absolute;right:10px;top:50%;margin-top:-15px;opacity:.9}.statusTips[data-v-9f1b345e]{position:absolute;right:0;top:2px;display:flex;align-items:center}.statusTips .kuai[data-v-9f1b345e]{width:12px;height:12px;margin-left:8px}.statusTips .text[data-v-9f1b345e]{font-size:12px;color:#262d47;opacity:.9;margin-left:3px}.kuai1[data-v-9f1b345e]{background-color:#5181f6}.kuai2[data-v-9f1b345e]{background-color:#f49006}.kuai3[data-v-9f1b345e]{background-color:#ea3941}.kuai4[data-v-9f1b345e]{background-color:#44d7b6}.kuaiBox[data-v-9f1b345e]{display:inline-flex;align-items:center;margin-bottom:3px}.kuaiBox .kuai[data-v-9f1b345e]{min-width:20px;height:20px;line-height:20px;color:#fff;font-size:12px}.avgageBox[data-v-9f1b345e]{font-size:14px;display:flex;align-items:center;justify-content:space-between;margin-top:10px;color:#262d47}.avgageBox .primaryText[data-v-9f1b345e]{margin-right:10px}',""]),t.exports=a},"3d3b":function(t,a,e){"use strict";e.r(a);var s=e("a1b2"),n=e("d100");for(var i in n)"default"!==i&&function(t){e.d(a,t,(function(){return n[t]}))}(i);e("0cae");var o,r=e("f0c5"),c=Object(r["a"])(n["default"],s["b"],s["c"],!1,null,"1ec015f5",null,!1,s["a"],o);a["default"]=c.exports},"3f08":function(t,a,e){var s=e("18c7");"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var n=e("4f06").default;n("823def44",s,!0,{sourceMap:!1,shadowMode:!1})},"4afe":function(t,a,e){"use strict";e.r(a);var s=e("efcc"),n=e.n(s);for(var i in s)"default"!==i&&function(t){e.d(a,t,(function(){return s[t]}))}(i);a["default"]=n.a},"4c1e":function(t,a,e){var s=e("24fb");a=s(!1),a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.pageContainer[data-v-1ec015f5]{height:100%}.pageContent[data-v-1ec015f5]{padding-bottom:52px;height:calc(100% - 52px)}',""]),t.exports=a},"51a9":function(t,a,e){"use strict";var s=e("3f08"),n=e.n(s);n.a},5364:function(t,a,e){var s=e("273b");"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var n=e("4f06").default;n("64232fbf",s,!0,{sourceMap:!1,shadowMode:!1})},"55ed":function(t,a,e){"use strict";e.r(a);var s=e("f8dd"),n=e.n(s);for(var i in s)"default"!==i&&function(t){e.d(a,t,(function(){return s[t]}))}(i);a["default"]=n.a},"7f7b":function(t,a,e){var s=e("4c1e");"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var n=e("4f06").default;n("ebcad36c",s,!0,{sourceMap:!1,shadowMode:!1})},"97aa":function(t,a,e){"use strict";e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){return s}));var s={headers:e("3b61").default,uniIcons:e("9931").default,footers:e("2e0a").default},n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"fullHeight bgLightBlue"},[e("v-uni-scroll-view",{staticClass:"pageContent",attrs:{"scroll-y":"true"}},[e("headers",{attrs:{showBack:t.parentSn}},[e("v-uni-view",{staticClass:"headerName"},[t._v(t._s(t.currentCompany.companyName))])],1),5!=t.userInfo.accountType&&6!=t.userInfo.accountType?e("v-uni-scroll-view",{staticClass:"scroll-view_H",attrs:{"scroll-x":"true"}},[e("v-uni-view",{staticClass:"scroll-view-item_H",class:-1==t.activeTabIndex?"active":"",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.changeLevel(-1)}}},[e("v-uni-text",{staticClass:"name"},[t._v(t._s("集团"==t.currentCompany.companyName?t.currentCompany.companyName:"全部"))])],1),t._l(t.mapData,(function(a,s){return e("v-uni-view",{key:s,staticClass:"scroll-view-item_H",class:t.activeTabIndex==s?"active":"",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.changeLevel(s)}}},[e("v-uni-text",{staticClass:"name"},[t._v(t._s(a.name))])],1)}))],2):t._e(),e("v-uni-view",{staticClass:"blockBox"},[e("v-uni-view",{staticClass:"blockContent"},[e("u-charts",{ref:"labourCanvas",staticClass:"labourCanvas",attrs:{cWidth:355,cHeight:120,"canvas-id":"labourCanvas",chartType:"arcbar",opts:t.personnelsChartData}}),e("uni-icons",{directives:[{name:"show",rawName:"v-show",value:-1!=t.activeTabIndex&&!t.mapData[t.activeTabIndex].projectSn,expression:"activeTabIndex!=-1&&!mapData[activeTabIndex].projectSn"}],staticClass:"forwardImg",staticStyle:{color:"#007AFF"},attrs:{type:"arrowright",size:"30"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.forwardFn.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"dataBox"},[e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"text"},[t._v("在场")]),e("v-uni-view",{staticClass:"num primaryText",staticStyle:{color:"#FFB512"}},[t._v(t._s(t.listData.presencecount?t.listData.presencecount.totalPerson:0))])],1),e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"text"},[t._v("实名制")]),e("v-uni-view",{staticClass:"num primaryText",staticStyle:{color:"#0CCD90"}},[t._v(t._s(t.listData.workercount?t.listData.workercount.totalPerson:0))])],1),e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"text"},[t._v("在职")]),e("v-uni-view",{staticClass:"num primaryText",staticStyle:{color:"#0F7FE7"}},[t._v(t._s(t.listData.workercount?t.listData.workercount.totalPerson:0))])],1)],1)],1)],1),e("v-uni-view",{staticClass:"blockBox"},[e("v-uni-view",{staticClass:"blockTitle flex"},[e("v-uni-view",{staticClass:"titleName"},[t._v("现场人员分析")]),e("uni-icons",{staticStyle:{"font-weight":"700","font-size":"20px"},attrs:{type:"arrowright",color:"#007aff"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.goAnalyse.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"blockContent"},[e("v-uni-view",{staticClass:"dataBox"},[e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"num primaryText"},[t._v(t._s(t.listData.presencecount?t.listData.presencecount.lwPersonTotal:0))]),e("v-uni-view",{staticClass:"text"},[t._v("在场劳务人员")])],1),e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"num primaryText"},[t._v(t._s(t.listData.presencecount?t.listData.presencecount.glPersonTotal:0))]),e("v-uni-view",{staticClass:"text"},[t._v("在场管理人员")])],1)],1)],1)],1),e("v-uni-view",{staticClass:"blockBox"},[e("v-uni-view",{staticClass:"blockTitle flex"},[e("v-uni-view",{staticClass:"titleName"},[t._v("工种情况")]),e("v-uni-view",{staticStyle:{"font-size":"12px",color:"#262D47",opacity:"0.8"}},[t._v("左右滑动查看更多")])],1),e("v-uni-view",{staticClass:"blockContent"},[e("u-charts",{ref:"chartPeopleWork",staticClass:"ucharts",attrs:{cWidth:355,cHeight:160,"canvas-id":"chartPeopleWork",chartType:"column",opts:t.workTypeChartData}})],1)],1),e("v-uni-view",{staticClass:"blockBox"},[e("v-uni-view",{staticClass:"blockTitle flex"},[e("v-uni-view",{staticClass:"titleName"},[t._v("工人年龄统计")]),e("v-uni-view",{staticClass:"flex",staticStyle:{"font-size":"12px",opacity:"0.8"}},[e("v-uni-view",{staticStyle:{width:"10px",height:"10px","background-color":"#2A8BE7","margin-right":"5px"}}),t._v("在场人数"),e("v-uni-view",{staticStyle:{width:"10px",height:"10px","background-color":"#80D5FF",margin:"0 5px 0 10px"}}),t._v("在职人数")],1)],1),e("v-uni-view",{staticClass:"blockContent"},[e("u-charts",{ref:"chartProjectAge",staticClass:"ucharts",attrs:{cWidth:355,cHeight:160,"canvas-id":"chartProjectAge",chartType:"column",opts:t.ageChartData}})],1),e("v-uni-view",{staticClass:"flex",staticStyle:{margin:"5px","font-size":"14px"}},[e("v-uni-text",[t._v("平均年龄")]),e("v-uni-view",[e("v-uni-text",{staticStyle:{"margin-right":"13px",color:"#2A8BE7"}},[t._v("在场:"+t._s(t.listData.presencecount?t.listData.presencecount.avgage.toFixed(0):0)+"岁")]),e("v-uni-text",{staticStyle:{color:"#80D5FF"}},[t._v("在职:"+t._s(t.listData.workercount?t.listData.workercount.avgage.toFixed(0):0)+"岁")])],1)],1)],1),e("v-uni-view",{staticClass:"blockBox"},[e("v-uni-view",{staticClass:"blockTitle"},[e("v-uni-view",{staticClass:"titleName"},[t._v("入场培训教育交底")])],1),e("v-uni-view",{staticClass:"blockContent"},[e("u-charts",{ref:"integritySafety2",staticClass:"ucharts",attrs:{cWidth:355,cHeight:130,"canvas-id":"integritySafety2",chartType:"ring",opts:t.infoSafetyChartData}})],1)],1),e("v-uni-view",{staticStyle:{width:"100%",height:"1px"}})],1),e("footers",{attrs:{activeTab:"personManage"}})],1)},i=[]},"9e05":function(t,a,e){"use strict";var s=e("237f"),n=e.n(s);n.a},a1b2:function(t,a,e){"use strict";var s;e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){return s}));var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"pageContainer"},[e("v-uni-view",{staticClass:"pageContent"},[e("videoManage")],1)],1)},i=[]},afb6:function(t,a,e){"use strict";var s=e("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=s(e("dbe1")),i=s(e("0213")),o=s(e("c393")),r=s(e("ee06")),c={components:{projectManage:n.default,videoManage:i.default,personManage:o.default,my:r.default},data:function(){return{}},onLoad:function(){},methods:{}};a.default=c},c393:function(t,a,e){"use strict";e.r(a);var s=e("97aa"),n=e("55ed");for(var i in n)"default"!==i&&function(t){e.d(a,t,(function(){return n[t]}))}(i);e("1f99");var o,r=e("f0c5"),c=Object(r["a"])(n["default"],s["b"],s["c"],!1,null,"9f1b345e",null,!1,s["a"],o);a["default"]=c.exports},c8f9:function(t,a,e){"use strict";e.r(a);var s=e("0b3f"),n=e.n(s);for(var i in s)"default"!==i&&function(t){e.d(a,t,(function(){return s[t]}))}(i);a["default"]=n.a},ccee:function(t,a,e){"use strict";e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){return s}));var s={headers:e("3b61").default,uniIcons:e("9931").default,footers:e("2e0a").default},n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"fullHeight bgLightBlue"},[e("v-uni-scroll-view",{staticClass:"pageContent",attrs:{"scroll-y":"true"}},[e("headers",{attrs:{showBack:t.parentSn}},[e("v-uni-view",{staticClass:"headerName"},[t._v(t._s(t.currentCompany.companyName))])],1),5!=t.userInfo.accountType&&6!=t.userInfo.accountType?e("v-uni-scroll-view",{staticClass:"scroll-view_H",attrs:{"scroll-x":"true"}},[e("v-uni-view",{staticClass:"scroll-view-item_H",class:-1==t.activeTabIndex?"active":"",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.changeLevel(-1)}}},[e("v-uni-text",{staticClass:"name"},[t._v(t._s("集团"==t.currentCompany.companyName?t.currentCompany.companyName:"全部"))])],1),t._l(t.mapData,(function(a,s){return e("v-uni-view",{key:s,staticClass:"scroll-view-item_H",class:t.activeTabIndex==s?"active":"",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.changeLevel(s)}}},[e("v-uni-text",{staticClass:"name"},[t._v(t._s(a.name))])],1)}))],2):t._e(),e("v-uni-view",{staticClass:"statictisBox"},[t.statisticsCount.projectcount?e("v-uni-view",{staticClass:"numBox"},[e("v-uni-view",{staticClass:"num"},[t._v(t._s(t.statisticsCount.projectcount.projectNum))]),e("v-uni-text",{staticClass:"text"},[t._v("项目总数")])],1):e("v-uni-view",{staticClass:"numBox"},[e("v-uni-view",{staticClass:"num"},[t._v(t._s(t.projectDetail.saleAcreage))]),e("v-uni-text",{staticClass:"text"},[t._v("建筑面积㎡")])],1),e("uni-icons",{directives:[{name:"show",rawName:"v-show",value:-1!=t.activeTabIndex&&!t.mapData[t.activeTabIndex].projectSn,expression:"activeTabIndex!=-1&&!mapData[activeTabIndex].projectSn"}],staticClass:"forwardImg",attrs:{color:"white",type:"arrowright",size:"30"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.forwardFn.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"blockBox"},[e("v-uni-view",{staticClass:"blockTitle"},[e("v-uni-view",{staticClass:"titleName"},[t._v("人员管理")])],1),e("v-uni-view",{staticClass:"blockContent"},[e("v-uni-view",{staticClass:"dataBox"},[e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"num primaryText"},[t._v(t._s(t.statisticsCount.workercount.totalPerson))]),e("v-uni-view",{staticClass:"text"},[t._v("在职人数")])],1),e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"num primaryText"},[t._v(t._s(t.statisticsCount.workercount.totalPerson))]),e("v-uni-view",{staticClass:"text"},[t._v("实名制人数")])],1),e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"num primaryText2"},[t._v(t._s(t.statisticsCount.workercount.lsPersonTotal))]),e("v-uni-view",{staticClass:"text"},[t._v("临时工人数")])],1)],1),e("v-uni-view",{staticClass:"dataBox"},[e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"num primaryText"},[t._v(t._s(t.statisticsCount.workercount.jfGlPersonTotal))]),e("v-uni-view",{staticClass:"text"},[t._v("在职甲方管理人员数")])],1),e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"num primaryText"},[t._v(t._s(t.statisticsCount.presencecount.jfGlPersonTotal))]),e("v-uni-view",{staticClass:"text"},[t._v("在场甲方管理人员数")])],1)],1),e("v-uni-view",{staticClass:"dataBox"},[e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"num primaryText"},[t._v(t._s(t.statisticsCount.workercount.lwPersonTotal))]),e("v-uni-view",{staticClass:"text"},[t._v("在职劳务人员数")])],1),e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"num primaryText"},[t._v(t._s(t.statisticsCount.presencecount.lwPersonTotal))]),e("v-uni-view",{staticClass:"text"},[t._v("在场劳务人员数")])],1)],1)],1)],1),e("v-uni-view",{staticClass:"blockBox"},[e("v-uni-view",{staticClass:"blockTitle"},[e("v-uni-view",{staticClass:"titleName"},[t._v("设备数量")])],1),e("v-uni-view",{staticClass:"blockContent"},[e("v-uni-view",{staticClass:"dataBox"},[e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"num primaryText"},[t._v(t._s(t.statisticsCount.devcount.ufaceDevNum))]),e("v-uni-view",{staticClass:"text"},[t._v("人脸门禁")])],1),e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"num primaryText"},[t._v(t._s(t.statisticsCount.devcount.videoNum))]),e("v-uni-view",{staticClass:"text"},[t._v("视频监控")])],1),e("v-uni-view",{staticClass:"dataItem"},[e("v-uni-view",{staticClass:"num primaryText2"},[t._v(t._s(t.statisticsCount.devcount.environmentDevNum))]),e("v-uni-view",{staticClass:"text"},[t._v("环境监测")])],1)],1)],1)],1),e("v-uni-view",{staticClass:"blockBox"},[e("v-uni-view",{staticClass:"blockTitle"},[e("v-uni-view",{staticClass:"titleName"},[t._v("年龄结构")]),e("v-uni-view",{staticClass:"statusTips"},[e("v-uni-view",{staticClass:"kuai kuai1"}),e("v-uni-view",{staticClass:"text"},[t._v("在职占比")]),e("v-uni-view",{staticClass:"kuai kuai4"}),e("v-uni-view",{staticClass:"text"},[t._v("在场占比")])],1)],1),e("v-uni-view",{staticClass:"blockContent"},[e("u-charts",{ref:"ageChart",attrs:{"canvas-id":"ageChart",chartType:"column",opts:t.ageChartData}}),e("v-uni-view",{staticClass:"avgageBox"},[e("v-uni-text",[t._v("平均年龄")]),e("v-uni-view",{},[e("v-uni-text",{staticClass:"primaryText"},[t._v("在职 "+t._s(t.statisticsCount.workercount.avgage.toFixed(0))+"岁")]),e("v-uni-text",{staticClass:"primaryText3"},[t._v("在场 "+t._s(t.statisticsCount.presencecount.avgage.toFixed(0))+"岁")])],1)],1)],1)],1)],1),e("footers",{attrs:{activeTab:"projectManage"}})],1)},i=[]},d100:function(t,a,e){"use strict";e.r(a);var s=e("afb6"),n=e.n(s);for(var i in s)"default"!==i&&function(t){e.d(a,t,(function(){return s[t]}))}(i);a["default"]=n.a},d8fc:function(t,a,e){t.exports=e.p+"static/img/bg1.fdf1d7f7.png"},dbe1:function(t,a,e){"use strict";e.r(a);var s=e("ccee"),n=e("4afe");for(var i in n)"default"!==i&&function(t){e.d(a,t,(function(){return n[t]}))}(i);e("51a9");var o,r=e("f0c5"),c=Object(r["a"])(n["default"],s["b"],s["c"],!1,null,"cb4b123a",null,!1,s["a"],o);a["default"]=c.exports},efcc:function(t,a,e){"use strict";var s=e("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=s(e("3b61")),i=s(e("2e0a")),o=s(e("c487")),r=s(e("9931")),c={components:{headers:n.default,footers:i.default,uCharts:o.default,uniIcons:r.default},data:function(){return{userInfo:null,backArr:[],searchsn:"",mapData:[],statisticsCount:{projectcount:{constructionStageCount14:0,constructionStageCount13:0,constructionStageCount15:0,constructionStageCount10:0,constructionStageCount12:0,constructionStageCount11:0,constructionStageCount1:0,saleAcreageTotal:0,constructionStageCount9:0,constructionStageCount8:0,constructionStageCount7:0,constructionStageCount6:0,constructionStageCount5:0,constructionStageCount4:0,constructionStageCount3:0,constructionStageCount2:0,projectNum:0},workercount:{lwPersonYesterdayAdd:0,jfGlPersonTotal:0,age18:0,age18to25:0,womanPersonTotal:0,lsPersonTotal:0,jlGlPersonTotal:0,age45to60:0,lwPersonTotal:0,manPersonTotal:0,totalPerson:0,age25to35:0,glPersonTotal:0,yfGlPersonTotal:0,avgage:0,age35to45:0,glPersonYesterdayAdd:0,age60:0},devcount:{ufaceDevNum:0,videoNum:0,environmentDevNum:0},presencecount:{jfGlPersonTotal:0,age18:0,age18to25:0,womanPersonTotal:0,lsPersonTotal:0,jlGlPersonTotal:0,age45to60:0,lwPersonTotal:0,manPersonTotal:0,totalPerson:0,age25to35:0,glPersonTotal:0,yfGlPersonTotal:0,avgage:0,age35to45:0,age60:0}},ageChartData:{categories:["18及以下","18-25岁","25-35岁","35-45岁","45-59岁","60及以上"],series:[]},activeTabIndex:-1,parentSn:"",currentCompany:{companyName:"集团"},projectDetail:{}}},onShow:function(){console.log("onShow");var t=getCurrentPages(),a=(t[t.length-1].route,t[t.length-1].options);a.sn&&(this.parentSn=a.sn,this.searchsn=a.sn),this.activeTabIndex=-1,this.userInfo=JSON.parse(uni.getStorageSync("userInfo")),this.parentSn?(this.loadData(!1),this.loadStatictisData()):this.initData(!0)},mounted:function(){},methods:{changeLevel:function(t){this.activeTabIndex=t,console.log("changeLevel",t),-1!=this.activeTabIndex?(this.searchsn=this.mapData[t].projectSn?this.mapData[t].projectSn:this.mapData[t].companySn,this.loadStatictisData(),this.mapData[t].projectSn&&this.getProjectDetail()):this.parentSn?(this.searchsn=this.parentSn,this.loadStatictisData()):this.initData(!0)},forwardFn:function(){var t="area";this.mapData[this.activeTabIndex].projectSn&&(t="project"),uni.navigateTo({url:"./projectManage?sn="+this.searchsn+"&type="+t})},initData:function(t){var a=this;switch(a.userInfo.accountType){case 2:this.searchsn=a.userInfo.headquartersSn;break;case 3:this.searchsn=a.userInfo.sn;break;case 4:this.searchsn=a.userInfo.sn;break;case 5:this.searchsn=a.userInfo.sn;break;case 6:this.searchsn=a.userInfo.sn;break;case 7:this.searchsn=a.userInfo.sn;break}5==a.userInfo.accountType||6==a.userInfo.accountType?this.getProjectDetail():this.loadData(t),this.loadStatictisData()},loadData:function(t){var a=this;this.sendRequest({url:"xmgl/company/getComapnyStatisticsList",data:{sn:this.searchsn},method:"POST",success:function(t){a.mapData=t.result.companyList?t.result.companyList:t.result.projectList,t.result.companyInfo&&(a.currentCompany=t.result.companyInfo)}})},loadStatictisData:function(){var t=this;this.sendRequest({url:"xmgl/workerInfo/getWorkerStatisticsCount",data:{sn:this.searchsn},method:"POST",success:function(a){t.statisticsCount=a.result;var e=t.statisticsCount.presencecount,s=t.statisticsCount.workercount,n=[e.age18,e.age18to25,e.age25to35,e.age35to45,e.age45to60,e.age60],i=[s.age18,s.age18to25,s.age25to35,s.age35to45,s.age45to60,s.age60];t.ageChartData.series=[{name:"在职人数",data:i},{name:"在场人数",data:n}]}})},getProjectDetail:function(){var t=this;this.sendRequest({url:"xmgl/project/getProjectInfoBySn",data:{projectSn:this.searchsn},method:"POST",success:function(a){t.projectDetail=a.result}})}}};a.default=c},f8dd:function(t,a,e){"use strict";var s=e("4ea4");e("4160"),e("a9e3"),e("159b"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=s(e("3b61")),i=s(e("2e0a")),o=s(e("c487")),r=s(e("9931")),c={components:{headers:n.default,footers:i.default,uCharts:o.default,uniIcons:r.default},data:function(){return{userInfo:null,listData:{},backArr:[],searchsn:"",mapData:[],activeTabIndex:-1,parentSn:"",currentCompany:{companyName:"集团"},personnelsChartData:{series:[{name:"劳务",data:0,color:"#FFB512"},{name:"",data:0,color:"#0CCD90"},{name:"",data:0,color:"#0F7FE7"}]},workTypeChartData:{categories:[],series:[]},ageChartData:{categories:["18及以下","18-25岁","25-35岁","35-45岁","45-59岁","60及以上"],series:[{data:[],color:"#2A8BE7"},{data:[],color:"#80D5FF"}]},infoSafetyChartData:{title:{name:"",color:"#7cb5ec",fontSize:25,offsetY:0},series:[{data:0,color:"#1890FF"},{data:0,color:"#E7EDF3"}]}}},onLoad:function(t){this.userInfo=JSON.parse(uni.getStorageSync("userInfo")),this.getAreaList(!0)},onShow:function(){var t=getCurrentPages(),a=(t[t.length-1].route,t[t.length-1].options);a.sn&&(this.parentSn=a.sn,this.searchsn=a.sn),this.activeTabIndex=-1,this.parentSn?(this.getAreaList(!1),this.loadStatictisData()):this.initData()},mounted:function(){},methods:{initData:function(t){var a=this;switch(a.userInfo.accountType){case 2:this.searchsn=a.userInfo.headquartersSn;break;case 3:this.searchsn=a.userInfo.sn;break;case 4:this.searchsn=a.userInfo.sn;break;case 5:this.searchsn=a.userInfo.sn;break;case 6:this.searchsn=a.userInfo.sn;break;case 7:this.searchsn=a.userInfo.sn;break}5==a.userInfo.accountType||6==a.userInfo.accountType||this.getAreaList(t),this.loadStatictisData()},getAreaList:function(){var t=this;this.sendRequest({url:"xmgl/company/getComapnyStatisticsList",method:"POST",data:{sn:this.searchsn},success:function(a){t.mapData=a.result.companyList?a.result.companyList:a.result.projectList,a.result.companyInfo&&(t.currentCompany=a.result.companyInfo)}})},changeLevel:function(t){this.activeTabIndex=t,-1!=this.activeTabIndex?(this.searchsn=this.mapData[t].projectSn?this.mapData[t].projectSn:this.mapData[t].companySn,this.loadStatictisData(),this.mapData[t].projectSn):this.parentSn?(this.searchsn=this.parentSn,this.loadStatictisData()):this.initData(!0)},loadStatictisData:function(){var t=this;this.sendRequest({url:"xmgl/workerInfo/selectWorkerManageStatistics",data:{sn:t.searchsn},method:"post",success:function(a){var e=a.result;t.listData=e;var s=(e.presencecount.totalPerson+2*e.workercount.totalPerson)/100;t.personnelsChartData={series:[{name:"劳务",data:e.presencecount.totalPerson/s/100,color:"#FFB512"},{name:"",data:e.workercount.totalPerson/s/100,color:"#0CCD90"},{name:"",data:e.workercount.totalPerson/s/100,color:"#0F7FE7"}]},t.$refs.labourCanvas.changeData("labourCanvas",t.personnelsChartData);var n={data:[],color:"#0F7FE7",name:""},i=[];e.workerTypeList.forEach((function(t){i.push(t.typeName),n.data.push(t.personNum)})),t.workTypeChartData.categories=i,t.workTypeChartData.series=[n],t.$refs.chartPeopleWork.changeData("chartPeopleWork",t.workTypeChartData),t.ageChartData.series=[{data:[e.presencecount.age18,e.presencecount.age18to25,e.presencecount.age25to35,e.presencecount.age35to45,e.presencecount.age45to60,e.presencecount.age60],color:"#2A8BE7",name:"在场人数"},{data:[e.workercount.age18,e.workercount.age18to25,e.workercount.age25to35,e.workercount.age35to45,e.workercount.age45to60,e.workercount.age60],color:"#80D5FF",name:"在职人数"}],t.$refs.chartProjectAge.changeData("chartProjectAge",t.ageChartData);var o=e.workercount.eduPersonTotal/e.workercount.totalPerson*100;t.infoSafetyChartData.title={name:Number.isNaN(o)?"0%":Number(o.toFixed(2))+"%",color:"#7cb5ec",fontSize:25,offsetY:0},t.infoSafetyChartData.series=[{data:Number.isNaN(o)?0:Number(o.toFixed(2)),color:"#1890FF"},{data:Number.isNaN(o)?0:Number((100-o).toFixed(2)),color:"#E7EDF3"}],t.$refs.integritySafety2.changeData("integritySafety2",t.infoSafetyChartData)}})},forwardFn:function(){var t="area";this.mapData[this.activeTabIndex].projectSn&&(t="project"),uni.navigateTo({url:"./personManage?sn="+this.searchsn+"&type="+t})},goAnalyse:function(){var t=-1==this.activeTabIndex?"集团":this.mapData[this.activeTabIndex].name;uni.navigateTo({url:"./peopleAnalyze?sn="+this.searchsn+"&title="+t})}}};a.default=c}}]);