zhgdyunapp/unpackage/dist/build/h5/static/js/pages-personManage-localeTeam.1a4b7697.js
2023-02-06 11:14:16 +08:00

1 line
8.8 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-personManage-localeTeam"],{2908:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,".fullHeight[data-v-f666e7d6]{height:100%;width:100%}.flex[data-v-f666e7d6]{display:flex;align-items:center;justify-content:space-between}.flex2[data-v-f666e7d6]{display:flex;align-items:center;justify-content:space-around}.title[data-v-f666e7d6]{text-align:center;font-size:18px;line-height:48px;background-color:#fff;padding:0 10px;box-sizing:border-box}.type[data-v-f666e7d6]{width:50%;text-align:center;font-size:30px;color:#fff;font-weight:700;position:relative}.type_name[data-v-f666e7d6]{font-size:12px;font-weight:400}.statistics1[data-v-f666e7d6]{background-color:#fff;padding:10px 0}.wake[data-v-f666e7d6]{padding:8px 0}.locationImg[data-v-f666e7d6]{position:absolute;top:calc(50% - 11px);right:25px}.color1[data-v-f666e7d6]{color:#4396e7}.color2[data-v-f666e7d6]{color:#919191}.color3[data-v-f666e7d6]{color:#0bb67d}.color4[data-v-f666e7d6]{color:#ffb71b}.font_24[data-v-f666e7d6]{font-size:24px;font-weight:400}.workType[data-v-f666e7d6]{margin:10px 0;box-sizing:border-box;padding:10px 15px;background-color:#fff}.blockBox .blockTitle .titleName[data-v-f666e7d6]::before{height:75%;top:16%}",""]),t.exports=e},"2e0a":function(t,e,a){"use strict";a.r(e);var n=a("ba40"),o=a("d9aa");for(var i in o)"default"!==i&&function(t){a.d(e,t,(function(){return o[t]}))}(i);a("39a8");var r,c=a("f0c5"),s=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"10344498",null,!1,n["a"],r);e["default"]=s.exports},"2f01":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:["activeTab"],data:function(){return{tabList:[],userInfo:{accountType:1}}},mounted:function(){if(this.userInfo=JSON.parse(uni.getStorageSync("userInfo")),5==this.userInfo.accountType||6==this.userInfo.accountType)this.tabList.push({appName:"首页",moduleIcon2:"tabIcon-index",moduleIcon:"tabIcon-index-active",plugin:"projectEnd",appShow:1},{appName:"我的",moduleIcon2:"tabIcon-my2",moduleIcon:"tabIcon-my2-active",plugin:"my",appShow:1});else{for(var t=this.userInfo.menuAuthority.moduleList,e=0;e<t.length;e++)1==t[e].moduleType&&this.tabList.push(t[e]);this.tabList.push({appName:"我的",moduleIcon2:"tabIcon-my",moduleIcon:"tabIcon-my-select",plugin:"my",appShow:1})}},methods:{tabClick:function(t){switch(console.log(t),t){case"projectManage":uni.redirectTo({url:"../../pages/projectManage/projectManage"});break;case"videoManage":5==this.userInfo.accountType?uni.redirectTo({url:"../../pages/videoManage/videoList?sn="+that.userInfo.sn}):uni.redirectTo({url:"../../pages/areaTree/areaTree"});break;case"my":uni.redirectTo({url:"/pages/my/my"});break;case"personManage":uni.redirectTo({url:"../../pages/personManage/personManage"});break;case"projectEnd":uni.redirectTo({url:"/pages/projectEnd/projectIndex/projectIndex"});break;case"deviceManage":uni.redirectTo({url:"../../pages/deviceManage/deviceManage"});break;case"markRoom":uni.redirectTo({url:"../../pages/markRoomManage/markRoomManage"});break}}}};e.default=n},"39a8":function(t,e,a){"use strict";var n=a("f939"),o=a.n(n);o.a},"62b1":function(t,e,a){"use strict";a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return n}));var n={uniIcons:a("9931").default,footers:a("2e0a").default},o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"fullHeight bgLightBlue"},[a("v-uni-scroll-view",{staticClass:"pageContent",attrs:{"scroll-y":"true"}},[a("v-uni-view",{staticClass:"title flex"},[a("uni-icons",{staticClass:"forwardImg",staticStyle:{"font-weight":"700"},attrs:{type:"arrowleft",size:"22"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goback.apply(void 0,arguments)}}}),a("v-uni-text",{staticStyle:{"margin-left":"-22px"}},[t._v(t._s(t.title)+"-现场班组")]),a("v-uni-text")],1),a("v-uni-view",{staticClass:"blockBox"},[a("v-uni-view",{staticClass:"blockTitle"},[a("v-uni-view",{staticClass:"titleName"},[t._v("班组分布")])],1),a("v-uni-view",{staticClass:"blockContent"},[a("u-charts",{ref:"attendanceRate",staticClass:"ucharts",attrs:{cWidth:355,cHeight:160,"canvas-id":" attendanceRate",chartType:"line",opts:t.attendanceChartData}})],1)],1),a("v-uni-view",{staticClass:"blockBox"},[a("v-uni-view",{staticClass:"blockTitle"},[a("v-uni-view",{staticClass:"titleName"},[t._v("劳务人员分布")])],1),a("v-uni-view",{staticClass:"blockContent"},[a("u-charts",{ref:"attendanceRate",staticClass:"ucharts",attrs:{cWidth:355,cHeight:160,"canvas-id":" attendanceRate",chartType:"line",opts:t.attendanceChartData}})],1)],1)],1),a("footers",{attrs:{activeTab:"personManage"}})],1)},i=[]},7580:function(t,e,a){var n=a("24fb");e=n(!1),e.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/* 文章场景相关 */.footerBox[data-v-10344498]{background-color:#fff;display:flex;width:100%;position:fixed;bottom:0;left:0;z-index:9999;border-top:1px solid hsla(0,0%,59.2%,.15)}.footerItem[data-v-10344498]{font-size:12px;flex:1;justify-content:center;text-align:center;color:#9495ad}.footerItem .tabIcon2[data-v-10344498]{display:none}.footerItem.active[data-v-10344498]{color:#5181f6}.footerItem.active .tabIcon2[data-v-10344498]{display:inline-block}.footerItem.active .tabIcon1[data-v-10344498]{display:none}.footerItem .desc[data-v-10344498]{padding-bottom:5px}.tabIcon[data-v-10344498]{width:26px;height:26px}.footerBox2 .desc[data-v-10344498]{padding-bottom:8px}.footerBox2 .footerItem:first-child .tabIcon[data-v-10344498]{padding-top:10px;width:23px;height:21px}.footerBox2 .footerItem:last-child .tabIcon[data-v-10344498]{padding-top:8px;width:20px;height:23px}',""]),t.exports=e},"7d14":function(t,e,a){var n=a("2908");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=a("4f06").default;o("11d3cd34",n,!0,{sourceMap:!1,shadowMode:!1})},"88e7":function(t,e,a){"use strict";a.r(e);var n=a("62b1"),o=a("c225");for(var i in o)"default"!==i&&function(t){a.d(e,t,(function(){return o[t]}))}(i);a("c07a");var r,c=a("f0c5"),s=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"f666e7d6",null,!1,n["a"],r);e["default"]=s.exports},ba40:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"footerBox",class:5==t.userInfo.accountType||6==t.userInfo.accountType?"footerBox2":""},t._l(t.tabList,(function(e,n){return 1==e.appShow?a("v-uni-view",{key:n,staticClass:"footerItem",class:t.activeTab==e.plugin?"active":"",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.tabClick(e.plugin)}}},[a("v-uni-image",{staticClass:"tabIcon tabIcon1",attrs:{src:"/static/"+e.moduleIcon2+".png"}}),a("v-uni-image",{staticClass:"tabIcon tabIcon2",attrs:{src:"/static/"+e.moduleIcon+".png"}}),a("v-uni-view",{staticClass:"desc"},[t._v(t._s(e.appName))])],1):t._e()})),1)},i=[]},c07a:function(t,e,a){"use strict";var n=a("7d14"),o=a.n(n);o.a},c225:function(t,e,a){"use strict";a.r(e);var n=a("d3df"),o=a.n(n);for(var i in n)"default"!==i&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=o.a},d3df:function(t,e,a){"use strict";var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(a("2e0a")),i=n(a("c487")),r=n(a("9931")),c={components:{footers:o.default,uCharts:i.default,uniIcons:r.default},data:function(){return{title:"",searchsn:"",attendanceChartData:{categories:[],series:[]}}},onLoad:function(t){this.title=t.title,this.searchsn=t.sn},methods:{goback:function(){uni.navigateBack({})}}};e.default=c},d9aa:function(t,e,a){"use strict";a.r(e);var n=a("2f01"),o=a.n(n);for(var i in n)"default"!==i&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=o.a},f939:function(t,e,a){var n=a("7580");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=a("4f06").default;o("c512731a",n,!0,{sourceMap:!1,shadowMode:!1})}}]);