Files
sgxt_web/gsxt/static/js/chunk-0079a2ba.75d0acd4.js

1 line
11 KiB
JavaScript
Raw Normal View History

2025-09-12 18:21:03 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0079a2ba"],{"350d":function(e,t,a){"use strict";var c=a("7a23"),l=a("313e");const o=["id"];var r={__name:"lineEcharts",props:{echartsId:{type:String,default:"lineId"},color:{type:String,default:"#fff"},data:{type:Array,default:[]}},setup(e){const t=e;function a(){var e=l["b"](document.getElementById(t.echartsId)),a={grid:{top:"8%",right:"2%",left:"10%",bottom:"12%",containLabel:!0},tooltip:{trigger:"axis",axisPointer:{lineStyle:{color:"#ddd"}},backgroundColor:"rgba(255,255,255,1)",padding:[5,10],textStyle:{color:"#7588E4"},extraCssText:"box-shadow: 0 0 5px rgba(0,0,0,0.3)"},xAxis:{type:"category",data:t.data.map(e=>e.label),axisTick:{show:!1},axisLine:{show:!1},axisLabel:{color:"#fff"},axisLabel:{show:!0,color:t.color,interval:0}},yAxis:{type:"value",splitLine:{show:!0,lineStyle:{type:"dashed",color:"rgba(14,95,255,0.5)"}},axisTick:{show:!1},axisLine:{show:!1},axisLabel:{color:t.color}},series:[{type:"line",smooth:!0,showSymbol:!1,data:t.data.map(e=>e.value),areaStyle:{normal:{color:new l["a"].LinearGradient(0,0,0,1,[{offset:0,color:"rgba(199, 237, 250,0.5)"},{offset:1,color:"rgba(199, 237, 250,0.2)"}],!1)}},itemStyle:{normal:{color:"rgb(4, 145, 216)"}},lineStyle:{normal:{width:1,color:"#00FFFF"}}}]};a&&e.setOption(a),window.addEventListener("resize",(function(){e.resize()}))}return Object(c["watch"])(()=>t.data,e=>{Object(c["nextTick"])(()=>{a()})},{immediate:!0,deep:!0}),(t,a)=>(Object(c["openBlock"])(),Object(c["createElementBlock"])("div",{style:{height:"100%",width:"100%"},id:e.echartsId},null,8,o))}};const s=r;t["a"]=s},"4ad6":function(e,t,a){"use strict";a.r(t);var c=a("7a23"),l=(a("b775"),a("b893")),o=a("7902"),r=a("350d"),s=a("e767"),n=a("bb18"),i=a("c5cb");const b=e=>(Object(c["pushScopeId"])("data-v-5959f286"),e=e(),Object(c["popScopeId"])(),e),d={class:"statistical-analysis"},j={class:"left-menu"},m={class:"right-content"},p={class:"filter-section"},O=Object(c["createTextVNode"])("查询"),u=Object(c["createTextVNode"])("重置"),h={class:"charts-container"},y={class:"chart-item"},f={class:"chart-title"},v=b(()=>Object(c["createElementVNode"])("span",null,"线索类型",-1)),x=Object(c["createTextVNode"])("导出统计表"),g={class:"chart"},w={class:"chart-item"},k={class:"chart-title"},V=b(()=>Object(c["createElementVNode"])("span",null,"采纳情况",-1)),E=Object(c["createTextVNode"])("导出统计表"),N={class:"chart"},B={class:"chart-item"},C={class:"chart-title"},L=b(()=>Object(c["createElementVNode"])("span",null,"处置状态",-1)),S=Object(c["createTextVNode"])("导出统计表"),z={class:"chart mt8"},_={style:{color:"#333"}},T={style:{color:"#e37233"}},D=Object(c["createTextVNode"])(" 个"),I={class:"chart-item"},q={class:"chart-title"},F=b(()=>Object(c["createElementVNode"])("span",null,"奖惩情况",-1)),X=Object(c["createTextVNode"])("导出统计表");var A={__name:"index",setup(e){const t=Object(c["ref"])(0),a=Object(c["ref"])(0),b=Object(c["ref"])([{label:"日",num:0},{label:"月",num:1},{label:"季",num:2},{label:"年",num:3}]),A=Object(c["ref"])([Object(l["g"])(),Object(l["g"])()]),Y=Object(c["ref"])({}),G=Object(c["reactive"])({xslxList:[],jcqkList:[],czztList:[],cnList:{list:[],topColor:"#1bd6c2",colors:["#28EEBF","#0DBAC5"]}});Object(c["onMounted"])(()=>{M()});const M=async()=>{let e={ssbmdm:Y.value.ssbmdm,kssj:A.value[0]+" 00:00:00",jssj:A.value[1]+" 23:59:59",cjLx:1},a=await Object(i["d"])(e,"/mosty-gsxt/qbcj/getXscjTjByXslx"),c=a||[];G.xslxList=c.map(e=>({label:e.zdmc,value:e.count}));let l=await Object(i["d"])(e,"/mosty-gsxt/tbJlqk/getShygkhtj"),o=l||[];G.jcqkList=o.map(e=>({label:e.zdmc,value:e.count}));let r=await Object(i["d"])(e,"/mosty-gsxt/qbcj/getXscjTjByCzzt"),s=r||[];G.czztList=s.map(e=>({label:e.zdmc,value:e.count}));let n=await Object(i["d"])(e,"/mosty-gsxt/qbcj/getXscjTjByShzt"),b=n||[];G.cnList.list=b.map(e=>({label:e.zdmc,value:e.count})),t.value++},J=e=>{switch(e){case 0:A.value=[Object(l["g"])(),Object(l["g"])()];break;case 1:A.value=Object(l["f"])("本月");break;case 2:A.value=Object(l["f"])("<EFBFBD><EFBFBD>