Files
lz_web_qwgl/qwgl/static/js/chunk-47a8cf09.f21dcf3b.js

1 line
14 KiB
JavaScript
Raw Normal View History

2025-07-21 21:28:27 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-47a8cf09"],{"2e7a":function(t,e,n){"use strict";var r=n("7a23"),a=n("313e"),c={__name:"barEcharts",props:{data:{type:Array,default:[]},Xdata:{type:Array,default:[]},colorList:{type:Array,default:[["#4285f4","#4285f4","#4285f4"],["#34B877","#34B877","#34B877"],["#01C2FF","#01C2FF","#01C2FF"]]}},setup(t){const e=t,n=Object(r["ref"])(),c=(t,e)=>{const r={grid:{top:"10%",left:"10%",bottom:"15%",right:"10%",containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},xAxis:[{axisLine:{show:!0,lineStyle:{type:"solid",width:"1"}},axisTick:{show:!1},axisLabel:{color:"#000"},data:e}],yAxis:[{nameTextStyle:{fontSize:13},splitLine:{show:!0,lineStyle:{color:"rgba(15,36,90,0.4)",type:"dashed"}},axisLabel:{color:"#000"},type:"value"}],series:t};var c=a["a"](n.value);c.setOption(r),window.addEventListener("resize",()=>{c.resize()})};return Object(r["watchEffect"])(()=>{e.data&&e.Xdata&&Object(r["nextTick"])(()=>{c(e.data,e.Xdata)})}),(t,e)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("div",{style:{width:"100%",height:"100%"},ref_key:"barEchrats",ref:n},null,512))}};const o=c;e["a"]=o},"72f2":function(t,e,n){"use strict";n.r(e);var r=n("7a23"),a=(n("5d2d"),n("2e7a")),c=n("ad28"),o=n("1090"),l=n("c3e5"),u=(n("2d16"),n("8f43"),n("b775"));const d="/mosty-api/mosty-base";function b(t){return Object(u["a"])({url:d+"/sysUserExtend/selectXfllQwVOPage",method:"get",data:t})}n("0792");var i=n("7902"),f=n("b893");const s=t=>(Object(r["pushScopeId"])("data-v-98891bb2"),t=t(),Object(r["popScopeId"])(),t),g={class:"main-box"},j={class:"treeBox"},m={class:"tableCnt"},p={class:"titleBox"},O={class:"title"},h={class:"flex align-center",style:{width:"40%"}},w=s(()=>Object(r["createElementVNode"])("div",null,"是否包含下级:",-1)),x={class:"itemBox"},v={class:"item"},y=s(()=>Object(r["createElementVNode"])("div",{class:"ItemTitle"},"统计图",-1)),Q={class:"echartsCnt"},C={class:"tabBox"},B={key:0};var X={__name:"index",setup(t){const{proxy:e}=Object(r["getCurrentInstance"])(),{D_BZ_QWDBZT:n,D_BZ_QWZT:u,D_QW_BBZL:d,D_QW_BBZT:s,D_BZ_SF:X}=e.$dict("D_BZ_QWDBZT","D_BZ_QWZT","D_QW_BBZL","D_QW_BBZT","D_BZ_SF"),J=(Object(r["ref"])(),Object(r["ref"])([])),_=(Object(r["ref"])(),Object(r["reactive"])([]),Object(r["reactive"])({tableData:[],keyCount:0,tableConfiger:{loading:!1,rowHieght:61,haveControls:!1,showSelectType:"checkBox"},total:0,pageConfiger:{pageSize:10,pageCurrent:1},controlsWidth:250,tableColumn:[{label:"姓名",prop:"xm"},{label:"勤务状态",prop:"qwZt",showSolt:!0},{label:"督办状态",prop:"qwDbzt",showSolt:!0},{label:"勤务时长",prop:"qwsc"},{label:"久坐时长",prop:"jzsc"},{label:"巡逻越界次数",prop:"xlyjcs"}]})),k=Object(r["ref"])([]),q=Object(r["ref"])([]),D=(Object(r["ref"])(null),Object(r["ref"])(0)),V=Object(r["ref"])(),z=(Object(r["ref"])(""),Object(r["ref"])({orgName:"四川省林芝市公安局",gldwdm:"511600000000"})),Z=Object(r["ref"])({isChild:"",tjrq:Object(f["d"])(new Date,"ymd"),dateType:"03",ssbmdm:""});Object(r["onMounted"])(()=>{F(),L(),T(),e.mittBus.on("mittFn",t=>{D.value=t})});const N=t=>{z.value.gldwdm=t.orgCode,z.value.orgName=t.orgJc,T(),L()},E=t=>{_.pageConfiger.pageCurrent=t,T()},S=t=>{_.pageConfiger.pageSize=t,T()},T=()=>{let t={...Z.value,..._.pageConfiger};_.tableConfiger.loading=!0,b(t).then(t=>{_.tableConfiger.loading=!1,_.tableData=t.records,_.total=t.total}).catch(()=>{_.tableConfiger.loading=!1})},L=()=>{Object(l["J"])(Z.value,"/mosty-qwzx/tbQwglCount/selectBmjcCount").then(t=>{console.log(t,"res");let e=[],n=[];k.value=[t.ssbm],e=[t.jzsc],n=[t.xlyjcs],q.value=[{name:"久坐时长",data:e,type:"bar",barWidth:10},{name:"\t巡逻越界次数",data:n,type:"bar",barWidth:10}]})},W=t=>{Array.isArray(t)&&(J.value=t.map(t=>t.id))},F=()=>{V.value=window.innerHeight-480,window.onresize=function(){F()}},P=()=>{const t={pageCurrent:1,pageSize:20};Object(l["y"])(t).then(t=>{console.log(t)})};return P(),Object(r["onUnmounted"])(()=>{e.mittBus.off("mittFn")}),(t,e)=>{const l=Object(r["resolveComponent"])("el-option"),d