1 line
18 KiB
JavaScript
1 line
18 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-17eda714"],{"0007":function(e,t,l){"use strict";var a=l("7a23"),o=l("313e");const c=["id"];var r={__name:"moreLineEcharts",props:{echartsId:{type:String,default:"morelineId"},data:{type:Object,default:{color:[],list:[],xData:[],labelColor:"#000",rotate:0,interval:0,isVertical:!1}}},setup(e){const t=e;function l(e){let t=e.color,l=e.list,a=l.map((e,l)=>({type:"line",name:e.label,data:e.val,itemStyle:{normal:{color:t[l]}},smooth:!0,showSymbol:!1,areaStyle:{normal:{color:new o["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)}}}));r(a)}function r(e){var l=o["b"](document.getElementById(t.echartsId)),a={grid:{top:"20%",right:"6%",left:"2%",bottom:"3%",containLabel:!0},legend:{data:t.data.list.map(e=>e.label),textStyle:{color:t.data.labelColor||"#fff"},icon:"diamond",itemWidth:16,itemHeight:8,itemGap:5},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.xData,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,color:t.data.labelColor||"#fff",interval:t.data.interval||0,rotate:t.data.rotate||0,formatter:function(e){return t.data.isVertical?e.split("").join("\n"):e}}},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.data.labelColor||"#fff"}},series:e};a&&l.setOption(a),window.addEventListener("resize",(function(){l.resize()}))}return Object(a["watch"])(()=>t.data,e=>{Object(a["nextTick"])(()=>{l(e)})},{immediate:!0,deep:!0}),(t,l)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{style:{height:"100%",width:"100%"},id:e.echartsId},null,8,c))}};const n=r;t["a"]=n},2321:function(e,t,l){"use strict";l("d10a")},3426:function(e,t,l){"use strict";l("74ca")},"683b":function(e,t,l){"use strict";l.r(t);var a=l("7a23"),o=l("cda1"),c=l("c5cb"),r=l("313e");const n=["id"];var s={__name:"moreBarEcharts",props:{echartsId:{type:String,default:"moreBarId"},data:{type:Object,default:{xData:[],color:[],stack:!1,barWidth:"12px",labelColor:"#fff",list:[]}}},setup(e){const t=e;function l(e){let t=e.color,l=e.list,a=l.map((l,a)=>{let o={type:"bar",name:l.label,data:l.val,barWidth:e.barWidth?e.barWidth:"12px"};return Array.isArray(t[a])&&t[a].length>0?(o.label={normal:{show:!0,position:"top",color:t[a][0]?t[a][0]:"#EB00FF"}},o.itemStyle={normal:{color:new r["a"].LinearGradient(0,0,0,1,[{offset:0,color:t[a][0]},{offset:1,color:t[a][1]}],!1)}}):(o.itemStyle={normal:{color:t[a]?t[a]:"#EB00FF"}},o.label={normal:{show:!0,position:"top",color:t[a]?t[a]:"#EB00FF"}}),e.stack&&(o.stack="total"),o});o(a)}function o(e){var l=r["b"](document.getElementById(t.echartsId)),a={grid:{top:"12%",right:"2%",left:"2%",bottom:"5%",containLabel:!0},legend:{data:t.data.list.map(e=>e.label),textStyle:{color:t.data.labelColor||"#fff"},icon:"diamond",itemWidth:16,itemHeight:8,itemGap:10},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.xData,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{color:t.data.labelColor||"#fff",magin:20}},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.data.labelColor||"#fff"}},series:e};a&&l.setOption(a),window.addEventListener("resize",(function(){l.resize()}))}return Object(a["watch"])(()=>t.data,e=>{Object(a["nextTick"])(()=>{l(e)})},{immediate:!0,deep:!0}),(t,l)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{style:{height:"100%",width:"100%"},id:e.echartsId},null,8,n))}};const i=s;var d=i,b=l("0007"),p=l("2d16"),u=l("ea5d"),h=l("6605");const j=e=>(Object(a["pushScopeId"])("data-v-626523cc"),e=e(),Object(a["popScopeId"])(),e),m={class:"yp—home flex"},O={class:"leftbox"},f={class:"title"},g=j(()=>Object(a["createElementVNode"])("span",{class:"ml10 mr10"},"专题统计",-1)),w={class:"commCnt"},v={class:"hh50"},y=j(()=>Object(a["createElementVNode"])("div",{class:"comm-title"},"类型统计",-1)),x={class:"echartsBox"},C={class:"hh50"},k=j(()=>Object(a["createElementVNode"])("div",{class:"comm-title"},"会商统计",-1)),B={class:"echartsBox"},S={class:"rightbox"},E={class:"title"},N=j(()=>Object(a["createElementVNode"])("span",{class:"ml10 mr10"},"专题研判",-1)),_=Object(a["createTextVNode"])("研判报告"),V={class:"commCnt"},T={class:"comm-title title-s"},L={class:"list-table"},D=Object(a["createTextVNode"])("网上会商"),z=Object(a["createTextVNode"])("处置");var H={__name:"index",setup(e){const t=Object(h["d"])(),{proxy:l}=Object(a["getCurrentInstance"])(),{D_BZ_SSZT:r,D_GS_XS_LY:n}=l.$dict("D_BZ_SSZT","D_GS_XS_LY"),s=Object(a["ref"])(),i=Object(a["ref"])(),j=Object(a["ref"])(!1),H=Object(a["ref"])(""),I=Object(a["reactive"])({data_lxtj:{xData:["上访","诈骗","敲诈勒索","盗窃","涉黄","涉毒","强奸猥亵","灾害事故","自杀"],color:[["#0DBAC5","#28EEBF"],["#F06C0D","#EEB416"]],labelColor:"#000",list:[{label:"总数",val:[30,20,10,60,50,60,35,45,20]}]},data_hstj:{xData:["上访","诈骗","敲诈勒索","盗窃","涉黄","涉毒","强奸猥亵","灾害事故","自杀"],color:["#0386FB","#00FFFF"],labelColor:"#000",list:[{label:"总数",val:[30,20,10,60,50,60,35,45,20]}]}}),F=Object(a["ref"])([{label:"线索来源",prop:"qbLy",placeholder:"请选择线索来源",showType:"select",options:n},{label:"线索内容",prop:"xsNr",placeholder:"请输入",showType:"input"},{label:"开始时间",prop:"kssj",placeholder:"请选择开始时间",showType:"datetime"},{label:"结束时间",prop:"jssj",placeholder:"请选择结束时间",showType:"datetime"}]),A=Object(a["ref"])([]),P=Object(a["ref"])({}),R=Object(a["reactive"])({tableColumn:[{label:"线索标题",prop:"xsMc",showOverflowTooltip:!0},{label:"线索内容",prop:"xsNr",showOverflowTooltip:!0},{label:"涉及人数",prop:"sjrs",showOverflowTooltip:!0},{label:"上报时间",prop:"sxsbsj",showOverflowTooltip:!0}],keyCount:0,tableConfiger:{rowHieght:61,showSelectType:"null",loading:!1,showIndex:!1,rowHeight:30},controlsWidth:120});Object(a["onMounted"])(()=>{W()});const W=()=>{Object(c["d"])({},"/mosty-gsxt/qbcj/getXscjTjByXslx").then(e=>{let t=e||[];I.data_lxtj.xData=t.map(e=>e.zdmc),I.data_lxtj.list=[{label:"总数",val:t.map(e=>e.count)}]}),Object(c["d"])({},"/mosty-gsxt/wshs/getWshyZttj").then(e=>{let t=e||[];I.data_hstj.xData=t.map(e=>e.zdmc),I.data_hstj.list=[{label:"总数",val:t.map(e=>e.count)}]})},M=e=>{A.value.forEach((t,l)=>{if(e==t.title&&t.tableList.length<t.total){t.page++;let e={sszt:t.dm,pageNum:t.page,pageSize:20};Object(c["d"])(e,"/mosty-gsxt/qbcj/selectPage").then(e=>{let a=e.records||[];A.value[l].tableList=1==t.page?a:[...A.value[l].tableList,...a],A.value[l].total=e.total,t.keyCount++})}})},K=()=>{R.boxHeight=window.innerHeight-s.value.offsetHeight-250,Object(a["nextTick"])(()=>{R.tableHeight=i.value[0].offsetHeight-40}),window.onresize=function(){K()}},$=()=>{A.value.forEach((e,t)=>{let l={sszt:e.dm,pageNum:1,pageSize:20,...P.value};Object(c["c"])(l,"/mosty-gsxt/qbcj/selectPage").then(l=>{A.value[t].tableList=l.records||[],A.value[t].total=l.total,e.keyCount++})})},G=e=>{t.push({path:"/MeetingRoom",query:{tsypid:e.id}})},q=()=>{t.push("/InstructionInformation")},Z=e=>{P.value=e,$()},U=()=>{let e={hskssj:P.value.kssj,hsjssj:P.value.jssj};Object(c["d"])(e,"/mosty-gsxt/wshs/getDcypbg").then(e=>{let t=e||{},l=`<p class="html_bt">${t.bt}</p>`;l+=`<p>${t.head}</p>`,l+=`<p>${t.nr}</p>`,l+=`<p>${t.bc}</p>`,l+=`<p>${t.end}</p>`,H.value=l,j.value=!0})};return Object(a["watch"])(()=>r.value,e=>{let t=e||[];A.value=t.map(e=>({title:e.zdmc,dm:e.dm,keyCount:0,tableList:[],page:1,total:0})),A.value.length>0&&$(),setTimeout(()=>{K()},400)},{immediate:!0}),(e,t)=>{const l=Object(a["resolveComponent"])("el-button"),c=Object(a["resolveComponent"])("el-link");return Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],null,[Object(a["createElementVNode"])("div",m,[Object(a["createElementVNode"])("div",O,[Object(a["createElementVNode"])("div",f,[(Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(3,e=>Object(a["createElementVNode"])("span",{key:e,class:Object(a["normalizeClass"])(["sircleL"+e,"sircle mr5"])},null,2)),64)),g,(Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(3,e=>Object(a["createElementVNode"])("span",{key:e,class:Object(a["normalizeClass"])(["sircleR"+e,"sircle ml5"])},null,2)),64))]),Object(a["createElementVNode"])("div",w,[Object(a["createElementVNode"])("div",v,[y,Object(a["createElementVNode"])("div",x,[Object(a["createVNode"])(d,{echartsId:"cztjEcharts",data:I.data_lxtj},null,8,["data"])])]),Object(a["createElementVNode"])("div",C,[k,Object(a["createElementVNode"])("div",B,[Object(a["createVNode"])(b["a"],{echartsId:"hstjEcharts",data:I.data_hstj},null,8,["data"])])])])]),Object(a["createElementVNode"])("div",S,[Object(a["createElementVNode"])("div",E,[(Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(3,e=>Object(a["createElementVNode"])("span",{key:e,class:Object(a["normalizeClass"])(["sircleL"+e,"sircle mr5"])},null,2)),64)),N,(Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(3,e=>Object(a["createElementVNode"])("span",{key:e,class:Object(a["normalizeClass"])(["sircleR"+e,"sircle ml5"])},null,2)),64)),Object(a["createVNode"])(l,{class:"btn",type:"primary",onClick:U},{default:Object(a["withCtx"])(()=>[_]),_:1})]),Object(a["createElementVNode"])("div",V,[Object(a["createElementVNode"])("div",{ref_key:"searchBox",ref:s},[(Object(a["openBlock"])(),Object(a["createBlock"])(p["a"],{searchArr:F.value,onSubmit:Z,key:R.keyCount},null,8,["searchArr"]))],512),Object(a["createElementVNode"])("ul",{class:"listBox",style:Object(a["normalizeStyle"])({height:R.boxHeight+"px"})},[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(A.value,(e,t)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("li",{class:"list-item",ref_for:!0,ref_key:"listBoxRef",ref:i,key:t},[Object(a["createElementVNode"])("div",T,Object(a["toDisplayString"])(e.title),1),Object(a["createElementVNode"])("div",L,[(Object(a["openBlock"])(),Object(a["createBlock"])(u["a"],{tableData:e.tableList,tableColumn:R.tableColumn,tableHeight:R.tableHeight,key:e.keyCount,isScroll:!0,fixed:!1,tabelModel:e.title,tableConfiger:R.tableConfiger,controlsWidth:R.controlsWidth,onChangePage:M},{controls:Object(a["withCtx"])(({row:e})=>[Object(a["createVNode"])(c,{type:"primary",size:"small",onClick:t=>G(e)},{default:Object(a["withCtx"])(()=>[D]),_:2},1032,["onClick"]),Object(a["createVNode"])(c,{type:"primary",size:"small",onClick:t=>q(e)},{default:Object(a["withCtx"])(()=>[z]),_:2},1032,["onClick"])]),_:2},1032,["tableData","tableColumn","tableHeight","tabelModel","tableConfiger","controlsWidth"]))])]))),128))],4)])])]),Object(a["createVNode"])(o["a"],{modelValue:j.value,"onUpdate:modelValue":t[0]||(t[0]=e=>j.value=e),textContent:H.value},null,8,["modelValue","textContent"])],64)}}},I=(l("2321"),l("d959")),F=l.n(I);const A=F()(H,[["__scopeId","data-v-626523cc"]]);t["default"]=A},"6bc6":function(e,t,l){"use strict";l("fc40")},"74ca":function(e,t,l){},d10a:function(e,t,l){},ea5d:function(e,t,l){"use strict";var a=l("7a23");const o={style:{width:"100%",height:"100%"}},c=Object(a["createTextVNode"])(" "),r={class:"header-icon"};var n={__name:"DarkTable",props:{tableConfiger:{type:Object,default:()=>{}},tableData:{type:Array,default:()=>[]},tableColumn:{type:Array,default:()=>[]},controlsWidth:{type:Number,default:180},tableHeight:{type:Number},isScroll:{type:Number,default:!1},customClass:{type:String},setClass:{type:String},setRowClass:{type:Boolean},treePros:{type:Object,default:{children:"children",hasChildren:"hasChildren"}},fixed:{type:String,default:"right"},tabelModel:{type:String,default:"table"}},emits:["chooseData","rowdbClickHland","rowcontextmenuHland"],setup(e,{emit:t}){const l=e,n=Object(a["ref"])(),s=Object(a["ref"])();let i=Object(a["reactive"])({showSelectType:null,showIndex:!0,rowKey:"id",border:!0,defaultExpandAll:!1,loading:!1,align:"center",haveControls:!0,controls:"操作",stripe:!1,lazy:!0,portUrl:"",defaultSelectKeys:[],radioChoose:"",rowHeight:"41",rowClassProp:"",rowClassLinght:""});const d=Object(a["ref"])("");Object(a["watchEffect"])(()=>{i={...i,...l.tableConfiger},m()}),Object(a["onMounted"])(()=>{m(),v()});const b=({row:e,rowIndex:t})=>l.setRowClass?e.setRowClass||"":e[i.rowClassProp]==i.rowClassLinght?"table_light_row":t%2==0?"":"table_blue_row",p=e=>{t("chooseData",e)},u=e=>{s.value=e,t("chooseData",e)},h=e=>{"radio"===i.showSelectType&&(d.value=e[i.rowKey],t("chooseData",e))},j=(e,t,l)=>{setTimeout(()=>{l([{id:31,date:"2016-05-01",name:"wangxiaohu",address:"No. 189, Grove St, Los Angeles"},{id:32,date:"2016-05-01",name:"wangxiaohu",address:"No. 189, Grove St, Los Angeles"}])},1e3)};function m(){Object(a["nextTick"])(()=>{var e,t;(null===(e=i.defaultSelectKeys)||void 0===e?void 0:e.length)>0&&"checkBox"===i.showSelectType?l.tableData.forEach(e=>{i.defaultSelectKeys.findIndex(t=>t===e[i.rowKey])>-1&&n.value&&n.value.toggleRowSelection(e,!0)}):i.defaultSelectKeys&&(null===(t=i.defaultSelectKeys)||void 0===t?void 0:t.length)>0&&"radio"===i.showSelectType&&(d.value=i.defaultSelectKeys[0])})}const O=e=>{t("rowdbClickHland",e)},f=(e,l,a)=>{a.preventDefault(),t("rowcontextmenuHland",{row:e,e:a})},g=Object(a["ref"])(null),w=()=>{clearInterval(g.value),g.value=null},v=()=>{w();const e=n.value.layout.table.refs,t=e.bodyWrapper.firstElementChild.firstElementChild;l.isScroll&&(g.value=setInterval(()=>{t.scrollTop+=1,t.clientHeight+t.scrollTop==t.scrollHeight&&(t.scrollTop=0)},100))},y=()=>{t("changePage",l.tabelModel)};return Object(a["onUnmounted"])(()=>{w()}),(t,l)=>{const s=Object(a["resolveComponent"])("el-table-column"),m=Object(a["resolveComponent"])("el-radio"),g=Object(a["resolveComponent"])("el-table"),x=Object(a["resolveDirective"])("loading"),C=Object(a["resolveDirective"])("el-table-infinite-scroll");return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",o,[Object(a["withDirectives"])((Object(a["openBlock"])(),Object(a["createBlock"])(g,{ref_key:"multipleTableRef",ref:n,data:e.tableData,class:Object(a["normalizeClass"])(e.customClass),"cell-class-name":e.setClass,"row-class-name":b,onSelectionChange:p,onCurrentChange:u,onRowClick:h,onRowDblclick:O,"reserve-selection":!0,onRowContextmenu:f,onMouseover:w,onMouseleave:v,"row-key":Object(a["unref"])(i).rowKey,border:Object(a["unref"])(i).border,"default-expand-all":Object(a["unref"])(i).defaultExpandAll,stripe:Object(a["unref"])(i).stripe,height:e.tableHeight,lazy:Object(a["unref"])(i).lazy,load:j,"tree-props":e.treePros,style:{width:"100%","font-size":"16px"},"header-cell-class-name":()=>"myTableHeadBgColorDark","highlight-current-row":"radio"===Object(a["unref"])(i).showSelectType,"row-style":{height:"auto"===Object(a["unref"])(i).rowHeight?Object(a["unref"])(i).rowHeight:Object(a["unref"])(i).rowHeight+"px"}},{default:Object(a["withCtx"])(()=>{var o,n;return["checkBox"===Object(a["unref"])(i).showSelectType?(Object(a["openBlock"])(),Object(a["createBlock"])(s,{key:0,type:"selection",width:"55","reserve-selection":!0})):"radio"===Object(a["unref"])(i).showSelectType?(Object(a["openBlock"])(),Object(a["createBlock"])(s,{key:1,width:"55"},{default:Object(a["withCtx"])(({row:e})=>[Object(a["createVNode"])(m,{class:"radio",modelValue:d.value,"onUpdate:modelValue":l[0]||(l[0]=e=>d.value=e),label:e[Object(a["unref"])(i).rowKey]},{default:Object(a["withCtx"])(()=>[c]),_:2},1032,["modelValue","label"])]),_:1})):Object(a["createCommentVNode"])("",!0),Object(a["unref"])(i).showIndex?(Object(a["openBlock"])(),Object(a["createBlock"])(s,{key:2,type:"index",label:"序号",width:"60",align:null===(o=Object(a["unref"])(i))||void 0===o?void 0:o.align},null,8,["align"])):Object(a["createCommentVNode"])("",!0),(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(e.tableColumn,(e,l)=>{var o;return Object(a["openBlock"])(),Object(a["createBlock"])(s,{align:null===(o=Object(a["unref"])(i))||void 0===o?void 0:o.align,prop:e.prop,key:l,label:e.label,width:e.width,"show-overflow-tooltip":e.showOverflowTooltip||!1,sortable:e.sortable||!1},Object(a["createSlots"])({_:2},[e.showSoltHeader?{name:"header",fn:Object(a["withCtx"])(l=>[Object(a["createElementVNode"])("span",r,[Object(a["renderSlot"])(t.$slots,e.prop+"head",Object(a["normalizeProps"])(Object(a["guardReactiveProps"])(l)))])])}:void 0,e.showSolt?{name:"default",fn:Object(a["withCtx"])(l=>[Object(a["renderSlot"])(t.$slots,e.prop,Object(a["normalizeProps"])(Object(a["guardReactiveProps"])(l)))])}:{name:"default",fn:Object(a["withCtx"])(({row:t})=>[Object(a["createTextVNode"])(Object(a["toDisplayString"])(t[e.prop]),1)])}]),1032,["align","prop","label","width","show-overflow-tooltip","sortable"])}),128)),Object(a["unref"])(i).haveControls?(Object(a["openBlock"])(),Object(a["createBlock"])(s,{key:3,fixed:e.fixed,label:Object(a["unref"])(i).controls,width:e.controlsWidth,align:null===(n=Object(a["unref"])(i))||void 0===n?void 0:n.align},{default:Object(a["withCtx"])(e=>[Object(a["renderSlot"])(t.$slots,"controls",Object(a["normalizeProps"])(Object(a["guardReactiveProps"])(e)))]),_:3},8,["fixed","label","width","align"])):Object(a["createCommentVNode"])("",!0)]}),_:3},8,["data","class","cell-class-name","row-key","border","default-expand-all","stripe","height","lazy","tree-props","header-cell-class-name","highlight-current-row","row-style"])),[[x,e.tableConfiger.loading],[C,y]])])}}},s=(l("6bc6"),l("3426"),l("d959")),i=l.n(s);const d=i()(n,[["__scopeId","data-v-7add551c"]]);t["a"]=d},fc40:function(e,t,l){e.exports={menuText:"#bfcbd9",menuActiveText:"#fff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"210px"}}}]); |