Files
sgxt_web/gsxt/static/js/chunk-a73ba58c.09983d4b.js
2025-09-12 18:21:03 +08:00

1 line
51 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([["chunk-a73ba58c"],{"0837":function(e,t,l){"use strict";l("6873")},1090:function(e,t,l){"use strict";var a=l("7a23"),o={__name:"Pages",props:{pageSizeArr:{type:Array,default:()=>[10,20,50,100]},background:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},small:{type:Boolean,default:!1},marginTop:{type:Number,default:10},tableHeight:{type:Number},pageConfiger:{type:Object,default:()=>({pageSize:10,currentPage:1,total:0})}},emits:["changeSize","changeNo"],setup(e,{emit:t}){const l=e,o=Object(a["reactive"])({configer:{}}),n=e=>{t("changeSize",e)},c=e=>{t("changeNo",e)};return Object(a["watchEffect"])(()=>{o.configer=l.pageConfiger}),(t,l)=>{const r=Object(a["resolveComponent"])("el-pagination");return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{class:"fenye",style:Object(a["normalizeStyle"])({top:e.tableHeight+10+"px"})},[Object(a["createVNode"])(r,{"current-page":o.configer.currentPage||o.configer.pageNo||o.configer.current||o.configer.pageCurrent||o.configer.pageNum,"page-size":o.configer.pageSize||o.configer.size,"page-sizes":e.pageSizeArr,small:e.small,disabled:e.disabled,background:e.background,layout:"total, sizes, prev, pager, next, jumper",total:o.configer.total,onSizeChange:n,onCurrentChange:c},null,8,["current-page","page-size","page-sizes","small","disabled","background","total"])],4)}}};const n=o;t["a"]=n},"13d5":function(e,t,l){"use strict";var a=l("23e7"),o=l("d58f").left,n=l("a640"),c=l("2d00"),r=l("605d"),b=n("reduce"),s=!r&&c>79&&c<83;a({target:"Array",proto:!0,forced:!b||s},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},"1d22":function(e,t,l){"use strict";var a=l("7a23"),o=l("7902"),n={__name:"FormMessage",props:{formList:{default:[],type:Array},rules:{default:{},type:Object},labelWidth:{default:"140px",type:String},modelValue:{type:Object,default:{}},inline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{expose:t,emit:l}){const n=e,c=Object(a["ref"])(),r=Object(a["ref"])({}),b=e=>{c.value.validate(t=>{if(!t)return!1;e(r.value)})},s=(e,t)=>{t&&(r.value[t]=e?e.orgName:"")},d=()=>{c.value.resetFields()};let i=!1;return Object(a["watch"])(()=>r.value,e=>{e&&!i&&l("update:modelValue",e)},{deep:!0}),Object(a["watch"])(()=>n.modelValue,e=>{e&&Object.keys(e).length>0&&(i=!0,r.value={...e},setTimeout(()=>{i=!1},0))},{immediate:!0,deep:!0}),t({submit:b,reset:d}),(e,t)=>{const l=Object(a["resolveComponent"])("el-input"),b=Object(a["resolveComponent"])("el-input-number"),d=Object(a["resolveComponent"])("el-radio"),i=Object(a["resolveComponent"])("el-radio-group"),p=Object(a["resolveComponent"])("el-time-picker"),u=Object(a["resolveComponent"])("el-date-picker"),j=Object(a["resolveComponent"])("el-switch"),m=Object(a["resolveComponent"])("el-form-item"),O=Object(a["resolveComponent"])("el-form");return Object(a["openBlock"])(),Object(a["createBlock"])(O,{ref_key:"elform",ref:c,model:r.value,"label-width":n.labelWidth,rules:n.rules,inline:n.inline,"label-position":"right",disabled:n.disabled},{default:Object(a["withCtx"])(()=>[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(n.formList,(t,n)=>(Object(a["openBlock"])(),Object(a["createBlock"])(m,{style:Object(a["normalizeStyle"])(t.width&&{width:t.width}),prop:t.prop,label:t.label,"label-width":t.labelWidth,key:n},{default:Object(a["withCtx"])(()=>["input"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(o["h"],{key:0,width:"100%",clearable:"",modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,placeholder:"请输入"+t.label,disabled:t.disabled,readonly:t.readonly},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","readonly"])):"textarea"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(l,{key:1,modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,type:"textarea",rows:3,placeholder:"请输入"+t.label,disabled:t.disabled},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled"])):"inputNumber"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(l,{key:2,type:"number",modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,placeholder:"请输入"+t.label,disabled:t.disabled},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled"])):"number"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(b,{key:3,modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,style:{width:"100%"},min:t.min||0,max:t.max||1e3,disabled:t.disabled},null,8,["modelValue","onUpdate:modelValue","min","max","disabled"])):"select"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(o["k"],{key:4,filterable:"",multiple:t.multiple,modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,dictEnum:t.options,width:"100%",clearable:"",placeholder:"请选择"+t.label,disabled:t.disabled},null,8,["multiple","modelValue","onUpdate:modelValue","dictEnum","placeholder","disabled"])):"department"===t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(o["c"],{key:5,style:{width:"100%"},clearable:"",isAll:t.isAll,onGetDepValue:e=>s(e,t.depMc),multiple:t.multiple,modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,placeholder:r.value[t.depMc]?r.value[t.depMc]:"请选择"},null,8,["isAll","onGetDepValue","multiple","modelValue","onUpdate:modelValue","placeholder"])):"upload"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(o["n"],{key:6,width:"100%",modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,isImg:t.isImg,disabled:t.disabled},null,8,["modelValue","onUpdate:modelValue","isImg","disabled"])):"checkbox"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(o["a"],{key:7,width:"100%",clearable:"",modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,checkList:t.options,placeholder:"请选择"+t.label,disabled:t.disabled},null,8,["modelValue","onUpdate:modelValue","checkList","placeholder","disabled"])):"radio"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:8,modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,disabled:t.disabled},{default:Object(a["withCtx"])(()=>[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(t.options,e=>(Object(a["openBlock"])(),Object(a["createBlock"])(d,{key:e.value,label:e.value},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.label),1)]),_:2},1032,["label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])):"time"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(p,{key:9,modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,placeholder:"选择时间",style:{width:"100%"},disabled:t.disabled},null,8,["modelValue","onUpdate:modelValue","disabled"])):"date"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(u,{key:10,modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,type:"date","value-format":"YYYY-MM-DD",placeholder:"请选择日期",style:{width:"100%"},disabled:t.disabled},null,8,["modelValue","onUpdate:modelValue","disabled"])):"datetime"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(u,{key:11,modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,type:"datetime","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"请选择时间",style:{width:"100%"},disabled:t.disabled},null,8,["modelValue","onUpdate:modelValue","disabled"])):"datetimerange"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(u,{key:12,modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,type:"datetimerange",shortcuts:e.shortcuts,"range-separator":"To","value-format":"YYYY-MM-DD HH:mm:ss","start-placeholder":"选择开始时间","end-placeholder":"选择结束时间",style:{width:"100%"},disabled:t.disabled},null,8,["modelValue","onUpdate:modelValue","shortcuts","disabled"])):"daterange"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(u,{key:13,modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,type:"daterange","range-separator":"To","value-format":"YYYY-MM-DD","start-placeholder":"选择开始日期","end-placeholder":"选择开始日期",style:{width:"100%"},disabled:t.disabled},null,8,["modelValue","onUpdate:modelValue","disabled"])):"switch"==t.type?(Object(a["openBlock"])(),Object(a["createBlock"])(j,{key:14,modelValue:r.value[t.prop],"onUpdate:modelValue":e=>r.value[t.prop]=e,class:"ml-2",disabled:t.disabled,style:{"--el-switch-on-color":"#13ce66","--el-switch-off-color":"#ff4949"}},null,8,["modelValue","onUpdate:modelValue","disabled"])):"slot"===t.type?Object(a["renderSlot"])(e.$slots,t.prop,{key:15}):Object(a["createCommentVNode"])("",!0)]),_:2},1032,["style","prop","label","label-width"]))),128))]),_:3},8,["model","label-width","rules","inline","disabled"])}}};const c=n;t["a"]=c},"22fd":function(e,t,l){"use strict";l("bf85")},"2b92":function(e,t,l){},"2e9d":function(e,t,l){"use strict";var a=l("7a23");const o={class:"title"},n={key:0,class:"flex"},c=["onClick"],r={key:1,class:"font"},b={class:"ml30"},s={class:"cnetr"},d={class:"right"};var i={__name:"PageTitle",props:{title:{type:String,default:""},marginBottom:{type:Number,default:0},active:{type:Number,default:0},backgroundColor:{type:String,default:"rgb(255, 255, 255, 0)"}},emits:["update:active","change"],setup(e,{emit:t}){const l=(e,l)=>{t("update:active",l),t("change",l)};return(t,i)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{class:"pageTitle",style:Object(a["normalizeStyle"])(`margin-bottom: ${e.marginBottom}px;background-color: ${e.backgroundColor}`)},[Object(a["createElementVNode"])("div",o,[Array.isArray(e.title)?(Object(a["openBlock"])(),Object(a["createElementBlock"])("ul",n,[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(e.title,(t,o)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("li",{class:Object(a["normalizeClass"])([o==e.active?"hedBtn":"","pointer ml10 mr10"]),onClick:e=>l(t,o),key:t},Object(a["toDisplayString"])(t),11,c))),128))])):(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",r,Object(a["toDisplayString"])(e.title),1)),Object(a["createElementVNode"])("div",b,[Object(a["renderSlot"])(t.$slots,"left")])]),Object(a["createElementVNode"])("div",s,[Object(a["renderSlot"])(t.$slots,"center")]),Object(a["createElementVNode"])("div",d,[Object(a["renderSlot"])(t.$slots,"default")])],4))}},p=(l("fd65"),l("d959")),u=l.n(p);const j=u()(i,[["__scopeId","data-v-1446cb3b"]]);t["a"]=j},"349f":function(e,t,l){"use strict";l("2b92")},"3cae":function(e,t,l){e.exports=l.p+"static/img/mxbg.196d6100.jpg"},"43d0":function(e,t,l){"use strict";l("903e")},4754:function(e,t,l){},5062:function(e,t,l){"use strict";l("fc13")},"605d":function(e,t,l){var a=l("c6b6"),o=l("da84");e.exports="process"==a(o.process)},"60e7":function(e,t,l){},6873:function(e,t,l){},"6af7":function(e,t,l){"use strict";l("60e7")},"874d":function(e,t,l){},"903e":function(e,t,l){},ad28:function(e,t,l){"use strict";var a=l("7a23"),o={__name:"MyTable",props:{tableConfiger:{type:Object,default:()=>{}},tableData:{type:Array,default:()=>[]},tableColumn:{type:Array,default:()=>[]},controlsWidth:{type:Number,default:180},tableHeight:{type:Number||String},treePros:{type:Object,default:{children:"children",hasChildren:"hasChildren"}},fixed:{type:String,default:"right"}},emits:["chooseData"],setup(e,{emit:t}){const l=e,o=Object(a["ref"])(),n=Object(a["ref"])();let c=Object(a["reactive"])({showSelectType:null,showIndex:!0,rowKey:null,border:!0,defaultExpandAll:!1,loading:!1,align:"center",haveControls:!0,controls:"操作",stripe:!1,lazy:!0,portUrl:"",defaultSelectKeys:[],radioChoose:"",rowHeight:"41"});Object(a["watchEffect"])(()=>{c={...c,...l.tableConfiger},s()}),Object(a["onMounted"])(()=>{s()});const r=e=>{if("radio"===c.showSelectType&&e.length>1){let l=e.shift();o.value.toggleRowSelection(l,!1),n.value=e,t("chooseData",e)}else t("chooseData",e)},b=(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 s(){Object(a["nextTick"])(()=>{var e,t;(null===(e=l.tableConfiger.defaultSelectKeys)||void 0===e?void 0:e.length)>0&&"checkBox"===l.tableConfiger.showSelectType?l.tableData.forEach(e=>{l.tableConfiger.defaultSelectKeys.findIndex(t=>t===e[l.tableConfiger.rowKey])>-1&&o.value.toggleRowSelection(e,!0)}):l.tableConfiger.defaultSelectKeys&&(null===(t=l.tableConfiger.defaultSelectKeys)||void 0===t?void 0:t.length)>0&&"radio"===l.tableConfiger.showSelectType&&(c.radioChoose=l.tableConfiger.defaultSelectKeys[0])})}return(t,l)=>{const n=Object(a["resolveComponent"])("el-table-column"),s=Object(a["resolveComponent"])("el-table"),d=Object(a["resolveDirective"])("loading");return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{style:{width:"100%"},class:Object(a["normalizeClass"])("radio"===Object(a["unref"])(c).showSelectType?"tabBoxRadio":"")},[Object(a["withDirectives"])((Object(a["openBlock"])(),Object(a["createBlock"])(s,{ref_key:"multipleTableRef",ref:o,data:e.tableData,onSelectionChange:r,"row-key":Object(a["unref"])(c).rowKey,border:Object(a["unref"])(c).border,"default-expand-all":Object(a["unref"])(c).defaultExpandAll,stripe:Object(a["unref"])(c).stripe,height:e.tableHeight,lazy:Object(a["unref"])(c).lazy,load:b,"tree-props":e.treePros,style:{width:"100%"},"header-cell-class-name":()=>"HeadBgColor","highlight-current-row":"radio"===Object(a["unref"])(c).showSelectType,"row-style":{height:"auto"===Object(a["unref"])(c).rowHeight?Object(a["unref"])(c).rowHeight:Object(a["unref"])(c).rowHeight+"px"}},{default:Object(a["withCtx"])(()=>{var l,o;return["radio"===Object(a["unref"])(c).showSelectType?(Object(a["openBlock"])(),Object(a["createBlock"])(n,{key:0,style:{width:"55px"},type:"selection",width:"55"})):Object(a["createCommentVNode"])("",!0),Object(a["unref"])(c).showIndex?(Object(a["openBlock"])(),Object(a["createBlock"])(n,{key:1,type:"index",label:"序号",width:"60",align:null===(l=Object(a["unref"])(c))||void 0===l?void 0:l.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"])(n,{align:null===(o=Object(a["unref"])(c))||void 0===o?void 0:o.align,prop:e.prop,key:l,label:e.label,width:e.width,style:{width:"100%","font-size":"14px"},"show-overflow-tooltip":e.showOverflowTooltip||!1,sortable:e.sortable||!1},Object(a["createSlots"])({_:2},[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"])(c).haveControls?(Object(a["openBlock"])(),Object(a["createBlock"])(n,{key:2,fixed:e.fixed,label:Object(a["unref"])(c).controls,width:e.controlsWidth,align:null===(o=Object(a["unref"])(c))||void 0===o?void 0:o.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","row-key","border","default-expand-all","stripe","height","lazy","tree-props","header-cell-class-name","highlight-current-row","row-style"])),[[d,e.tableConfiger.loading]])],2)}}};l("22fd");const n=o;t["a"]=n},b1cd:function(e,t,l){},bd20:function(e,t,l){"use strict";l.r(t);var a=l("7a23"),o=(l("caad"),l("13d5"),l("3cae")),n=l.n(o),c=l("db0a"),r=l("cda1"),b=l("3ef4"),s=l("c5cb");const d=Object(a["createTextVNode"])("查询"),i=Object(a["createTextVNode"])(" 重置 "),p=Object(a["createTextVNode"])("删除"),u=Object(a["createTextVNode"])("详情"),j={class:"dialog-footer"},m=Object(a["createTextVNode"])("取消");var O={__name:"historicalReport",props:{modelValue:{type:Boolean,default:!1},titleValue:{type:String,default:"查看报告"},LeaderType:{type:String,default:""},Single:{type:Boolean,default:!0},roleIds:{type:Array,default:[]},chageData:{type:String,default:""}},emits:["update:modelValue","choosed"],setup(e,{emit:t}){const l=e,{proxy:o}=Object(a["getCurrentInstance"])(),n=Object(a["ref"])(!1),c=Object(a["ref"])(0),r=Object(a["ref"])({pageCurrent:1,pageSize:20}),O=Object(a["ref"])(),g=Object(a["ref"])(null),f=Object(a["ref"])([]),h=Object(a["ref"])([]),v=e=>e.id,y=()=>{t("update:modelValue",!1)},C=()=>{r.value={pageCurrent:1,pageSize:20},B()},x=e=>{t("choosed",e),y()},k=e=>{r.value.pageSize=e,B()},w=e=>{r.value.pageCurrent=e,B()},V=Object(a["ref"])(),B=()=>{O.value++,n.value=!0;const e={...r.value,ypid:V.value};Object(s["c"])(e,"/mosty-gsxt/gsxtYpbg/getPageList").then(e=>{n.value=!1,h.value=e.records||[],c.value=e.total,N()}).catch(()=>{n.value=!1})};function N(){h.value.forEach(e=>{g.value.toggleRowSelection(e,!1),l.roleIds.some(t=>t==e.id)&&g.value.toggleRowSelection(e,!0)})}const S=()=>{r.value.pageCurrent=1,B()},_=e=>{if(l.Single){if(e.length>1){let t=e.shift();g.value.toggleRowSelection(t,!1)}f.value=e}else f.value=e},T=e=>{const t={ids:[e.id]};o.$confirm("确定删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(s["b"])(t,"/mosty-gsxt/gsxtYpbg/deleteEntity").then(e=>{B(),b["a"].success("删除成功")})}).catch(()=>{Object(b["a"])({type:"info",message:"已取消删除"})})};return Object(a["watch"])(()=>l.modelValue,e=>{e&&(V.value=l.chageData,console.log(V.value),S())},{immediate:!0}),(t,o)=>{const b=Object(a["resolveComponent"])("el-input"),s=Object(a["resolveComponent"])("el-form-item"),f=Object(a["resolveComponent"])("el-button"),V=Object(a["resolveComponent"])("el-form"),B=Object(a["resolveComponent"])("el-table-column"),N=Object(a["resolveComponent"])("el-table"),$=Object(a["resolveComponent"])("el-pagination"),z=Object(a["resolveComponent"])("el-dialog"),D=Object(a["resolveDirective"])("loading");return Object(a["openBlock"])(),Object(a["createBlock"])(z,{title:e.titleValue,width:"1400px","model-value":e.modelValue,"append-to-body":"",onClose:y},{footer:Object(a["withCtx"])(()=>[Object(a["createElementVNode"])("div",j,[Object(a["createVNode"])(f,{onClick:y},{default:Object(a["withCtx"])(()=>[m]),_:1})])]),default:Object(a["withCtx"])(()=>[Object(a["createElementVNode"])("div",null,[Object(a["createVNode"])(V,{model:r.value,class:"mosty-from-wrap",inline:!0},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(s,{label:"报告名称"},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(b,{placeholder:"请输入报告名称",modelValue:r.value.bgmc,"onUpdate:modelValue":o[0]||(o[0]=e=>r.value.bgmc=e),clearable:""},null,8,["modelValue"])]),_:1}),Object(a["createVNode"])(s,null,{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(f,{type:"success",onClick:S},{default:Object(a["withCtx"])(()=>[d]),_:1}),Object(a["createVNode"])(f,{type:"info",onClick:C},{default:Object(a["withCtx"])(()=>[i]),_:1})]),_:1})]),_:1},8,["model"]),(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{class:Object(a["normalizeClass"])(["tabBox",l.Single?"tabBoxRadio":""]),key:O.value,style:{"margin-top":"0px"}},[Object(a["withDirectives"])((Object(a["openBlock"])(),Object(a["createBlock"])(N,{ref_key:"multipleUserRef",ref:g,onSelectionChange:_,data:h.value,border:"","row-key":v,style:{width:"100%"},height:"450"},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(B,{prop:"bgmc",align:"center",label:"报告名称"}),Object(a["createVNode"])(B,{prop:"scsj",align:"center",label:"保存时间"}),Object(a["createVNode"])(B,{align:"center",label:"操作"},{default:Object(a["withCtx"])(({row:e})=>[Object(a["createVNode"])(f,{type:"primary",size:"mini",onClick:t=>T(e)},{default:Object(a["withCtx"])(()=>[p]),_:2},1032,["onClick"]),Object(a["createVNode"])(f,{type:"primary",size:"mini",onClick:t=>x(e.bgnr)},{default:Object(a["withCtx"])(()=>[u]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[D,n.value]])],2)),Object(a["createElementVNode"])("div",{class:"fenye",style:Object(a["normalizeStyle"])({top:t.tableHeight+"px"})},[Object(a["createVNode"])($,{class:"pagination",onPageSizeChange:k,onCurrentChange:w,"current-page":r.value.pageCurrent,"page-sizes":[10,20,50,100],"page-pageSize":r.value.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:c.value},null,8,["current-page","page-pageSize","total"])],4)])]),_:1},8,["title","model-value"])}}},g=(l("43d0"),l("eb1c"),l("d959")),f=l.n(g);const h=f()(O,[["__scopeId","data-v-3c266bde"]]);var v=h,y=l("7902"),C=l("2d16"),x=l("b893"),k=l("5d2d"),w=l("6605"),V=l("dfc1");const B=e=>`<p style="text-indent: 2em;"><span style="font-size: 16px; font-family: 仿宋;">${e}</span></p>`,N=e=>`<p style="text-indent: 2em;"><span style="font-size: 16px; font-family: 黑体;">${e}</span></p>`,S=e=>`<p style="text-indent: 2em;"><span style="font-size: 16px; font-family: 仿宋;">${e}</span></p>`,_=e=>`<p style="text-indent: 2em;"><span style="font-size: 16px; font-family: 楷体;"><strong>${e}</strong></span></p>`,T=e=>`<h4 style="text-align: center;"><span style="color: rgb(225, 60, 57); font-size: 32px; font-family: 标楷体;">${e}</span></h4>`,$=e=>`<p style="text-align: left;"><span style="color: rgb(225, 60, 57); font-size: 16px; font-family: 标楷体;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;${e.orgName}编 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;第${e.serialNumber}号&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;${e.time}&nbsp; </span></p ><hr/>`,z=e=>'<p><br></p ><p style="text-indent: 2em;">报抄:西藏公安厅</p ><hr/><p> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;',D=()=>"<p> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 承办人: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 核稿人 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;签发人:</p >";var E=l("c9a1");const L=e=>(Object(a["pushScopeId"])("data-v-2824c998"),e=e(),Object(a["popScopeId"])(),e),J={class:"content"},Y=["onClick"],U=L(()=>Object(a["createElementVNode"])("div",{class:"ww100"},[Object(a["createElementVNode"])("img",{class:"ww100",style:{height:"168px"},src:n.a,alt:""})],-1)),H={class:"f14 lh24 pl4 pr4 one_text_detail"},q={class:"flex ww100 f14 lh24 pl4 pr4 one_text_detail"},M=Object(a["createTextVNode"])("类型: "),G={class:"f14 lh24 pl4 pr4 one_text_detail"},Q={class:"foot"},P=["onClick"],I=Object(a["createTextVNode"])("历史报告"),R=["onClick"],A=Object(a["createTextVNode"])("报告"),F=["onClick"],Z=Object(a["createTextVNode"])("会商"),W={class:"ww100 flex just-center"},X={key:0,class:"tc ww100 mb4",style:{color:"#a29f9f"}};var K={__name:"ypHome",emits:["change"],setup(e,{emit:t}){const l=Object(w["d"])(),{proxy:o}=Object(a["getCurrentInstance"])(),{D_SG_SJLY:n,D_SG_TSYPGZ:d,JQLB:i,JQLX:p,JQXL:u,JQZL:j,D_BZ_JQLY:m,D_BZ_JQFL:O,JQCLJG:g}=o.$dict("D_SG_SJLY","D_SG_TSYPGZ","JQLB","JQLX","JQXL","JQZL","D_BZ_JQLY","D_BZ_JQFL","JQCLJG"),f=Object(a["ref"])(),h=Object(a["ref"])(!1),L=Object(a["ref"])(""),K=Object(a["ref"])(),ee=Object(a["ref"])(!1),te=Object(a["ref"])(),le=Object(a["ref"])([{label:"研判名称",prop:"ypMc",placeholder:"请输入研判名称",showType:"input"}]),ae=Object(a["reactive"])({yplxBtn:{hasChoose:[],list:[]}}),oe=Object(a["ref"])(1),ne=Object(a["ref"])(0),ce=Object(a["ref"])([]),re=Object(a["ref"])(!1),be=Object(a["ref"])({}),se=Object(a["ref"])();Object(a["watch"])(()=>d.value,e=>{ae.yplxBtn.list=e.map(e=>e.zdmc),ae.yplxBtn.hasChoose=e.map(e=>e.zdmc)},{immediate:!0,deep:!0}),Object(a["onMounted"])(()=>{ee.value=!0,$e(),Oe(),ue()});const de=e=>{ae.yplxBtn.hasChoose=e;let t=[];d.value.forEach(l=>{e.includes(l.zdmc)&&t.push(l.dm)}),be.value.ypLx=t,oe.value=1,ue()},ie=e=>{be.value={...be.value,...e},oe.value=1,ue()},pe=()=>{ne.value!=ce.value.length&&(oe.value++,ue())},ue=()=>{let e={pageCurrent:oe.value,pageSize:8,...be.value};re.value=!0,Object(s["d"])(e,"/mosty-gsxt/tsyp/selectPage").then(e=>{let t=e.records||[];ce.value=1==oe.value?t:ce.value.concat(t),ne.value=e.total,re.value=!1}).catch(()=>{re.value=!1})},je=e=>{l.push({path:"/MeetingRoom",query:{tsypid:e.id}})},me=e=>{t("change",{data:e,type:"态势预警列表"})},Oe=()=>{te.value=window.innerHeight-f.value.offsetHeight-K.value.offsetHeight-182,window.onresize=function(){Oe()}},ge=Object(a["reactive"])({dyTj:{xAxisData:[],seriesData:[]},jqlxTj:[],jqlyTj:[],CljgfTj:[],XsfxTj:[]}),fe=Object(a["ref"])({jqlx:"",jqly:"",dywd:"",ydfx:"",xlwdfx:"",czjgfx:""}),he=e=>{const t=e.reduce((e,t)=>e+t.number,0),l=[...e].sort((e,t)=>t.number-e.number),a=l.map(e=>({...e,ratio:t>0?(e.number/t*100).toFixed(2)+"%":"0%"}));return a},ve=Object(a["reactive"])({parameter:{bjlbList:""}}),ye=()=>{const e={dictCode:"00000000"};Object(V["i"])(e).then(e=>{ve.parameter.bjlbList=e.map(e=>e.dm).join(","),console.log(ve.parameter.bjlbList)})};ye();const Ce=e=>{const t=Object(k["a"])("deptId")[0];fe.value={},L.value=T(Te.value+"年度西藏公安执法数据分析")+$({orgName:t.deptName,serialNumber:Object(x["g"])("","mm"),time:Object(x["g"])()});const l=`为全面、客观、准确掌握全区公安机关的执法状况,自治区公安厅基于数据统计,对全区公安机关${Te.value}年度的执法状况作了客观分析。`;L.value+=_("1.接处警情况")+B(l)+N("一、执法状况总体分析"),Be(e),xe(e),ke(e),we(e),Ve(e),Ne(e),Se(e),h.value=!0};Object(a["watch"])(()=>fe.value,e=>{e.jqlx&&e.jqly&&e.dywd&&e.ydfx&&e.xlwdfx&&e.czjgfx&&(L.value+=e.jqlx+e.jqly+e.dywd+e.ydfx+e.xlwdfx+e.czjgfx+z()+D())},{deep:!0});const xe=e=>{Object(V["o"])({ypid:e}).then(e=>{const t=`${$e()} ,全区公安机关共接报各类警情${e.total}起,同比上升 ${e.tbbsb}%,同比上升${e.hbbsb}%`;L.value+=_("1.1接报警情")+B(t),ge.XsfxTj=e})},ke=e=>{let t={...ve.parameter,ypid:e};Object(V["m"])(t).then(e=>{const t=he(e),l=`按警情类型来看,${t[0].name}最多,占到${t[0].ratio};其次为${t[1].name}最多,占到${t[1].ratio}`;fe.value.jqlx=S("1.1.1类型维度")+B(l)})},we=e=>{Object(V["n"])({ypid:e}).then(e=>{const t=he(e),l=`按警情来源来看,${t[0].name}最多,占到${t[0].ratio};其次为${t[1].name}最多,占到${t[1].ratio}`;fe.value.jqly=S("1.1.2来源维度")+B(l)})},Ve=e=>{Object(V["j"])({ypid:e}).then(e=>{ge.dyTj.xAxisData=e.map(e=>e.ssbm),ge.dyTj.seriesData=[];for(let a=0;a<e.length;a++){ge.dyTj.seriesData[a]=[];for(let t=0;t<e.length;t++)ge.dyTj.seriesData[a][t]=0}for(let a=0;a<ge.dyTj.seriesData.length;a++)ge.dyTj.seriesData[a][a]=e[a].number;const t=he(e);let l;l=t.length>1?`从地市分布地市来看,${t[0].ssbm}警情量最大,占到全区警情总量的${t[0].number}。其次为${t[1].ssbm}${t[2].ssbm},两市警情量较为接近。警情量最少的为${t[t.length-1].ssbm}`:`从地市分布地市来看,${t[0].ssbm}警情量最大,占到全区警情总量的${t[0].number}`,fe.value.dywd=S("1.1.3地域维度")+B(l)})},Be=e=>{Object(V["p"])({ypid:e}).then(e=>{const t=he(e),l=`我们将所有警情按照月份划分进行统计发现,每月警情分布较为平均。最高月份为${t[0].month}月,占到${t[0].number};最低月份为${t[e.length-1].month}月,占到${t[e.length-1].number}。考虑是因为${t[0].month}月为我区传统旅游旺季,进藏人员较多。 ${t[e.length-1].month}月一般春节及藏历新年期间,在藏人员较少。`;fe.value.ydfx=S("1.1.4时间维度")+B(l)})},Ne=e=>{Object(V["k"])({ypid:e}).then(e=>{const t=he(e);let l="从警情处置结果来看,";t.forEach(e=>{l+=`${e.name},占到${e.ratio};`}),fe.value.xlwdfx=_("1.2警情处置")+N("1.2.1结果维度")+B(l)})},Se=e=>{Object(V["l"])({ypid:e}).then(e=>{ge.withinTj=[{name:"超时分流(超过24小时)",value:e.within24h?e.within24h:0},{name:"按时分流(24小时内)",value:e.over24h?e.over24h:0}];const t=`从处警效率来看24小时以内处警的占到${e.over24h}%。表明我区公安机关在接警之后能够在第一时间处警。`;fe.value.czjgfx=S("1.2.2效率维度")+B(t)})},_e=Object(a["ref"])(),Te=Object(a["ref"])(),$e=()=>{const e=(new Date).getFullYear(),t=new Date(e,0,1),l=new Date(e,11,31,23),a=t.getFullYear(),o=String(t.getMonth()+1).padStart(2,"0"),n=String(t.getDate()).padStart(2,"0"),c=l.getFullYear(),r=String(l.getMonth()+1).padStart(2,"0"),b=String(l.getDate()).padStart(2,"0");return _e.value=`${c}${r}${b}`,Te.value=a,`${a}${o}${n}日 至${c}${r}${b}`},ze=Object(a["ref"])(!1),De=e=>{se.value=e,ze.value=!0},Ee=e=>{L.value=e,ze.value=!1,h.value=!0},Le=e=>{E["a"].prompt("请输入名称","提示",{confirmButtonText:"确认",cancelButtonText:"取消"}).then(({value:t})=>{const l={bgmc:t,bgnr:e,ypid:se.value};Object(s["d"])(l,"/mosty-gsxt/gsxtYpbg/addEntity").then(()=>{b["a"].success("保存成功")})}).catch(()=>{Object(b["a"])({type:"info",message:"取消保存"})}).catch(()=>{})};return(e,t)=>{const l=Object(a["resolveComponent"])("DictTag"),o=Object(a["resolveComponent"])("Document"),n=Object(a["resolveComponent"])("el-icon"),b=Object(a["resolveComponent"])("Files"),s=Object(a["resolveDirective"])("infinite-scroll"),i=Object(a["resolveDirective"])("loading");return Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],null,[Object(a["createElementVNode"])("div",J,[Object(a["createElementVNode"])("div",{class:"btnsBox",ref_key:"refBtn",ref:K},[Object(a["createVNode"])(c["a"],{data:ae.yplxBtn,onChangeData:de},null,8,["data"])],512),Object(a["createElementVNode"])("div",{ref_key:"searchBox",ref:f},[Object(a["createVNode"])(C["a"],{searchArr:le.value,onSubmit:ie},null,8,["searchArr"])],512),ee.value?Object(a["withDirectives"])((Object(a["openBlock"])(),Object(a["createElementBlock"])("ul",{key:0,class:"cntlsit mb10",style:Object(a["normalizeStyle"])({height:te.value+"px"})},[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(ce.value,(e,t)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("li",{class:"cntItem",onClick:Object(a["withModifiers"])(t=>me(e),["stop"]),key:t},[U,Object(a["createElementVNode"])("div",H,"名称:"+Object(a["toDisplayString"])(e.ypMc),1),Object(a["createElementVNode"])("div",q,[M,Object(a["createVNode"])(l,{value:e.ypLx,tag:!1,options:Object(a["unref"])(d)},null,8,["value","options"])]),Object(a["createElementVNode"])("div",G,"数量:"+Object(a["toDisplayString"])(e.num),1),Object(a["createElementVNode"])("div",Q,[Object(a["createElementVNode"])("span",{class:"ml10 pointer",onClick:Object(a["withModifiers"])(t=>De(e.id),["stop"]),style:{color:"#027ff0"}},[Object(a["createVNode"])(n,{style:{top:"2px"}},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(o)]),_:1}),I],8,P),Object(a["createElementVNode"])("span",{class:"ml10 pointer",onClick:Object(a["withModifiers"])(t=>Ce(e.id),["stop"]),style:{color:"#027ff0"}},[Object(a["createVNode"])(n,{style:{top:"2px"}},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(o)]),_:1}),A],8,R),Object(a["createElementVNode"])("span",{class:"ml10 pointer",onClick:t=>je(e),style:{color:"#f4ac47"}},[Object(a["createVNode"])(n,{style:{top:"2px"}},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(b)]),_:1}),Z],8,F)])],8,Y))),128)),Object(a["createElementVNode"])("div",W,[Object(a["createVNode"])(y["f"],{show:!re.value&&ce.value.length<=0},null,8,["show"])]),ne.value==ce.value.length&&ne.value>0?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",X,"暂时没有数据了!")):Object(a["createCommentVNode"])("",!0)],4)),[[s,pe],[i,re.value]]):Object(a["createCommentVNode"])("",!0)]),Object(a["createVNode"])(r["a"],{modelValue:h.value,"onUpdate:modelValue":t[0]||(t[0]=e=>h.value=e),onSaveReport:Le,heightNumber:436,textContent:L.value,"onUpdate:textContent":t[1]||(t[1]=e=>L.value=e)},null,8,["modelValue","textContent"]),Object(a["createVNode"])(v,{modelValue:ze.value,"onUpdate:modelValue":t[2]||(t[2]=e=>ze.value=e),onChoosed:Ee,chageData:se.value},null,8,["modelValue","chageData"])],64)}}};l("0837");const ee=f()(K,[["__scopeId","data-v-2824c998"]]);var te=ee,le=l("1d22");const ae=e=>(Object(a["pushScopeId"])("data-v-303fe463"),e=e(),Object(a["popScopeId"])(),e),oe={key:0,class:"dialog"},ne={class:"head_box"},ce=ae(()=>Object(a["createElementVNode"])("div",null,"详情",-1)),re=Object(a["createTextVNode"])("关闭"),be={class:"form_cnt"};var se={__name:"particulars",setup(e,{expose:t}){const{proxy:l}=Object(a["getCurrentInstance"])(),{JQCLJG:o,JQLB:n,D_BZ_JQLY:c,JQLX:r,JQXL:b,JQZL:d}=l.$dict("JQCLJG","JQLB","D_BZ_JQLY","JQLX","JQXL","JQZL"),i=Object(a["ref"])(!1),p=Object(a["ref"])([{label:"报警电话",prop:"bjdh",type:"input"},{label:"报警地址",prop:"bjdz",type:"input"},{label:"报警内容",prop:"bjnr",type:"input"},{label:"报警人名称",prop:"bjrmc",type:"input"},{label:"报警人证件号码",prop:"bjrzjhm",type:"input"},{label:"报警时间",prop:"bjsj",type:"input"},{label:"接警完成时间",prop:"jjwcsj",type:"input"},{label:"警情子类",prop:"jqzldm",type:"select",options:d},{label:"警情细类",prop:"jqxldm",type:"select",options:b},{label:"警情类型",prop:"jqlxdm",type:"select",options:r},{label:"警情来源",prop:"jqlyfs",type:"select",options:c},{label:"警情类别",prop:"jqlbdm",type:"select",options:n},{label:"警情处理状态",prop:"jqclztdm",type:"select",options:o}]),u=Object(a["ref"])({}),j=Object(a["ref"])();Object(a["onMounted"])(()=>{});const m=e=>{i.value=!0,Object(s["c"])({},"/mosty-gsxt/jjdbYp/getInfo/"+e.id).then(e=>{u.value=e}).catch(()=>{})},O=()=>{u.value={},i.value=!1};return t({init:m}),(e,t)=>{const l=Object(a["resolveComponent"])("el-button");return i.value?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",oe,[Object(a["createElementVNode"])("div",ne,[ce,Object(a["createElementVNode"])("div",null,[Object(a["createVNode"])(l,{onClick:O},{default:Object(a["withCtx"])(()=>[re]),_:1})])]),Object(a["createElementVNode"])("div",be,[Object(a["createVNode"])(le["a"],{modelValue:u.value,"onUpdate:modelValue":t[0]||(t[0]=e=>u.value=e),disabled:"",formList:p.value,ref_key:"elform",ref:j},null,8,["modelValue","formList"])])])):Object(a["createCommentVNode"])("",!0)}}};l("d7f9");const de=f()(se,[["__scopeId","data-v-303fe463"]]);var ie=de,pe=l("2e9d"),ue=l("ad28"),je=l("1090");const me={class:"titleBox"},Oe=Object(a["createTextVNode"])("返回"),ge={class:"tabBox"},fe=Object(a["createTextVNode"])("详情");var he={__name:"yjDetail",props:{item:{type:Object,default:{}}},emits:["change"],setup(e,{emit:t}){const l=e,{proxy:o}=Object(a["getCurrentInstance"])(),{JQLB:n}=o.$dict("JQLB"),c=Object(a["ref"])(),r=Object(a["ref"])(),b=Object(a["ref"])([{label:"研判名称",prop:"ypmc",placeholder:"请输入研判名称",showType:"input"}]),d=Object(a["ref"])({}),i=Object(a["reactive"])({tableData:[],keyCount:0,tableConfiger:{rowHieght:61,showSelectType:"null",loading:!1},total:0,pageConfiger:{pageSize:20,pageCurrent:1},controlsWidth:160,tableColumn:[{label:"研判名称",prop:"ypmc"},{label:"报警时间",prop:"bjsj"},{label:"报警地址",prop:"bjdz"},{label:"警情类型",prop:"jqlbdm",showSolt:!0},{label:"报警内容",prop:"bjnr",showOverflowTooltip:!0},{label:"报警电话",prop:"bjdh"},{label:"报警时间",prop:"bjsj"}]});Object(a["onMounted"])(()=>{f(),m()});const p=e=>{d.value={...d.value,...e},i.pageConfiger.pageCurrent=1,m()},u=e=>{i.pageConfiger.pageCurrent=e,m()},j=e=>{i.pageConfiger.pageSize=e,m()},m=()=>{i.tableConfiger.loading=!0;let e={yjid:l.item.id,...d.value,pageCurrent:i.pageConfiger.pageCurrent,pageSize:i.pageConfiger.pageSize};Object(s["d"])(e,"/mosty-gsxt/jjdbYp/getPageList").then(e=>{i.tableData=e.records,i.total=e.total,i.tableConfiger.loading=!1}).catch(()=>{i.tableConfiger.loading=!1})},O=e=>{c.value.init(e)},g=()=>{t("change",{type:"态势预警列表",data:null})},f=()=>{i.tableHeight=window.innerHeight-r.value.offsetHeight-250,window.onresize=function(){f()}};return(e,t)=>{const l=Object(a["resolveComponent"])("el-button"),o=Object(a["resolveComponent"])("DictTag"),s=Object(a["resolveComponent"])("el-link");return Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],null,[Object(a["createElementVNode"])("div",null,[Object(a["createElementVNode"])("div",me,[Object(a["createVNode"])(pe["a"],{title:"查看详情"},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(l,{size:"small",onClick:g},{default:Object(a["withCtx"])(()=>[Oe]),_:1})]),_:1})]),Object(a["createElementVNode"])("div",{ref_key:"searchBox",ref:r},[Object(a["createVNode"])(C["a"],{searchArr:b.value,onSubmit:p},null,8,["searchArr"])],512),Object(a["createElementVNode"])("div",ge,[(Object(a["openBlock"])(),Object(a["createBlock"])(ue["a"],{tableData:i.tableData,tableColumn:i.tableColumn,tableHeight:i.tableHeight,key:i.keyCount,tableConfiger:i.tableConfiger,controlsWidth:i.controlsWidth},{jqlbdm:Object(a["withCtx"])(({row:e})=>[Object(a["createVNode"])(o,{tag:!1,value:e.jqlbdm,options:Object(a["unref"])(n)},null,8,["value","options"])]),controls:Object(a["withCtx"])(({row:e})=>[Object(a["createVNode"])(s,{type:"primary",onClick:t=>O(e)},{default:Object(a["withCtx"])(()=>[fe]),_:2},1032,["onClick"])]),_:1},8,["tableData","tableColumn","tableHeight","tableConfiger","controlsWidth"])),Object(a["createVNode"])(je["a"],{onChangeNo:u,onChangeSize:j,tableHeight:i.tableHeight,pageConfiger:{...i.pageConfiger,total:i.total}},null,8,["tableHeight","pageConfiger"])])]),Object(a["createVNode"])(ie,{ref_key:"particulars",ref:c},null,512)],64)}}};l("6af7");const ve=he;var ye=ve;const Ce={class:"titleBox"},xe=Object(a["createTextVNode"])("返回"),ke={class:"tabBox"},we=Object(a["createTextVNode"])("详情"),Ve=Object(a["createTextVNode"])("研判报告");var Be={__name:"yjList",props:{item:{type:Object,default:{}}},emits:["change"],setup(e,{emit:t}){const l=e,o=Object(a["ref"])(!1),n=Object(a["ref"])({}),c=Object(a["ref"])(""),{proxy:b}=Object(a["getCurrentInstance"])(),{JQLB:d,JQZL:i}=b.$dict("JQLB","JQZL"),p=Object(a["ref"])(),u=Object(a["ref"])([{label:"预警名称",prop:"yjMc",placeholder:"预警名称",showType:"input"},{label:"预警时间",prop:"timeRange",placeholder:"预警时间",showType:"datetimerange"}]),j=Object(a["ref"])(),m=Object(a["ref"])({}),O=Object(a["reactive"])({tableData:[],keyCount:0,tableConfiger:{rowHieght:61,showSelectType:"null",loading:!1},total:0,pageConfiger:{pageSize:20,pageCurrent:1},controlsWidth:160,tableColumn:[{label:"预警类型",prop:"ypmc"},{label:"预警时间",prop:"yjsj"},{label:"预警名称大类",prop:"jqlbdm",showSolt:!0},{label:"预警名称细类",prop:"jqzldm",showSolt:!0}]}),g=Object(a["ref"])(),f=Object(a["ref"])();Object(a["onMounted"])(()=>{P(),z(),h()});const h=()=>{const e=(new Date).getFullYear(),t=new Date(e,0,1),l=new Date(e,11,31,23),a=t.getFullYear(),o=String(t.getMonth()+1).padStart(2,"0"),n=String(t.getDate()).padStart(2,"0"),c=l.getFullYear(),r=String(l.getMonth()+1).padStart(2,"0"),b=String(l.getDate()).padStart(2,"0");return g.value=`${c}${r}${b}`,f.value=a,`${a}${o}${n}日 至${c}${r}${b}`},v=e=>{m.value={...m.value,...e},m.value.startTime=e.timeRange?e.timeRange[0]:"",m.value.endTime=e.timeRange?e.timeRange[1]:"",O.pageConfiger.pageCurrent=1,z()},y=e=>{O.pageConfiger.pageCurrent=e,z()},w=e=>{O.pageConfiger.pageSize=e,z()},z=()=>{O.tableConfiger.loading=!0;let e={yjid:l.item.id,...m.value,pageCurrent:O.pageConfiger.pageCurrent,pageSize:O.pageConfiger.pageSize};delete e.timeRange,Object(s["d"])(e,"/mosty-gsxt/jjdbYp/yjPageList").then(e=>{O.tableData=e.records,O.total=e.total,O.tableConfiger.loading=!1}).catch(()=>{O.tableConfiger.loading=!1})},D=e=>{t("change",{type:"预警详情",data:e})},E=e=>{const t=Object(k["a"])("deptId")[0];n.value={},c.value=T(f.value+"年度西藏公安执法数据分析")+$({orgName:t.deptName,serialNumber:Object(x["g"])("","mm"),time:Object(x["g"])()});const l=`为全面、客观、准确掌握全区公安机关的执法状况,自治区公安厅基于数据统计,对全区公安机关${f.value}年度的执法状况作了客观分析。`;c.value+=_("1.接处预警况")+B(l)+N("一、执法状况总体分析"),L(e),J(e),Y(e),U(e),H(e),q(e),M(e),o.value=!0},L=e=>{Object(V["p"])({yjid:e}).then(e=>{const t=sortingRatio(e),l=`我们将所有预警按照月份划分进行统计发现,每月预警分布较为平均。最高月份为${t[0].month}月,占到${t[0].number};最低月份为${t[e.length-1].month}月,占到${t[e.length-1].number}。考虑是因为${t[0].month}月为我区传统旅游旺季,进藏人员较多。 ${t[e.length-1].month}月一般春节及藏历新年期间,在藏人员较少。`;n.value.ydfx=S("1.1.4时间维度")+B(l)})},J=e=>{Object(V["o"])({yjid:e}).then(e=>{const t=`${h()} ,全区公安机关共接报各类预警${e.total}起,同比上升 ${e.tbbsb}%,同比上升${e.hbbsb}%`;c.value+=_("1.1接报预警")+B(t),dataList.XsfxTj=e})},Y=e=>{let t={...O.parameter,yjid:e};Object(V["m"])(t).then(e=>{const t=sortingRatio(e),l=`按预警类型来看,${t[0].name}最多,占到${t[0].ratio};其次为${t[1].name}最多,占到${t[1].ratio}`;n.value.jqlx=S("1.1.1类型维度")+B(l)})},U=e=>{Object(V["n"])({yjid:e}).then(e=>{const t=sortingRatio(e),l=`按预警来源来看,${t[0].name}最多,占到${t[0].ratio};其次为${t[1].name}最多,占到${t[1].ratio}`;n.value.jqly=S("1.1.2来源维度")+B(l)})},H=e=>{Object(V["j"])({yjid:e}).then(e=>{dataList.dyTj.xAxisData=e.map(e=>e.ssbm),dataList.dyTj.seriesData=[];for(let a=0;a<e.length;a++){dataList.dyTj.seriesData[a]=[];for(let t=0;t<e.length;t++)dataList.dyTj.seriesData[a][t]=0}for(let a=0;a<dataList.dyTj.seriesData.length;a++)dataList.dyTj.seriesData[a][a]=e[a].number;const t=sortingRatio(e);let l;l=t.length>1?`从地市分布地市来看,${t[0].ssbm}预警量最大,占到全区预警总量的${t[0].number}。其次为${t[1].ssbm}${t[2].ssbm},两市预警量较为接近。预警量最少的为${t[t.length-1].ssbm}`:`从地市分布地市来看,${t[0].ssbm}预警量最大,占到全区预警总量的${t[0].number}`,n.value.dywd=S("1.1.3地域维度")+B(l)})},q=e=>{Object(V["k"])({yjid:e}).then(e=>{const t=sortingRatio(e);let l="从预警处置结果来看,";t.forEach(e=>{l+=`${e.name},占到${e.ratio};`}),n.value.xlwdfx=_("1.2预警处置")+N("1.2.1结果维度")+B(l)})},M=e=>{Object(V["l"])({yjid:e}).then(e=>{dataList.withinTj=[{name:"超时分流(超过24小时)",value:e.within24h?e.within24h:0},{name:"按时分流(24小时内)",value:e.over24h?e.over24h:0}];const t=`从处警效率来看24小时以内处警的占到${e.over24h}%。表明我区公安机关在接警之后能够在第一时间处警。`;n.value.czjgfx=S("1.2.2效率维度")+B(t)})},G=e=>{ElMessageBox.prompt("请输入名称","提示",{confirmButtonText:"确认",cancelButtonText:"取消"}).then(({value:t})=>{const l={bgmc:t,bgnr:e,yjid:chageData.value};Object(s["d"])(l,"/mosty-gsxt/gsxtYpbg/addEntity").then(()=>{ElMessage.success("保存成功")})}).catch(()=>{ElMessage({type:"info",message:"取消保存"})}).catch(()=>{})},Q=()=>{t("change",{type:"研判首页",data:null})},P=()=>{O.tableHeight=window.innerHeight-p.value.offsetHeight-250,window.onresize=function(){P()}};return(e,t)=>{const l=Object(a["resolveComponent"])("el-button"),n=Object(a["resolveComponent"])("DictTag"),b=Object(a["resolveComponent"])("el-link");return Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],null,[Object(a["createElementVNode"])("div",null,[Object(a["createElementVNode"])("div",Ce,[Object(a["createVNode"])(pe["a"],{title:"态势预警列表"},{default:Object(a["withCtx"])(()=>[Object(a["createVNode"])(l,{size:"small",onClick:Q},{default:Object(a["withCtx"])(()=>[xe]),_:1})]),_:1})]),Object(a["createElementVNode"])("div",{ref_key:"searchBox",ref:p},[Object(a["createVNode"])(C["a"],{searchArr:u.value,onSubmit:v},null,8,["searchArr"])],512),Object(a["createElementVNode"])("div",ke,[(Object(a["openBlock"])(),Object(a["createBlock"])(ue["a"],{tableData:O.tableData,tableColumn:O.tableColumn,tableHeight:O.tableHeight,key:O.keyCount,tableConfiger:O.tableConfiger,controlsWidth:O.controlsWidth},{jqlbdm:Object(a["withCtx"])(({row:e})=>[Object(a["createVNode"])(n,{tag:!1,value:e.jqlbdm,options:Object(a["unref"])(d)},null,8,["value","options"])]),jqzldm:Object(a["withCtx"])(({row:e})=>[Object(a["createVNode"])(n,{tag:!1,value:e.jqzldm,options:Object(a["unref"])(i)},null,8,["value","options"])]),controls:Object(a["withCtx"])(({row:e})=>[Object(a["createVNode"])(b,{type:"primary",onClick:t=>D(e)},{default:Object(a["withCtx"])(()=>[we]),_:2},1032,["onClick"]),Object(a["createVNode"])(b,{type:"primary",onClick:t=>E(e.id)},{default:Object(a["withCtx"])(()=>[Ve]),_:2},1032,["onClick"])]),_:1},8,["tableData","tableColumn","tableHeight","tableConfiger","controlsWidth"])),Object(a["createVNode"])(je["a"],{onChangeNo:y,onChangeSize:w,tableHeight:O.tableHeight,pageConfiger:{...O.pageConfiger,total:O.total}},null,8,["tableHeight","pageConfiger"])])]),Object(a["createVNode"])(ye,{ref_key:"yjDetail",ref:j},null,512),Object(a["createVNode"])(r["a"],{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),onSaveReport:G,heightNumber:436,textContent:c.value,"onUpdate:textContent":t[1]||(t[1]=e=>c.value=e)},null,8,["modelValue","textContent"])],64)}}};l("349f");const Ne=Be;var Se=Ne,_e={__name:"index",setup(e){const t=Object(a["ref"])("研判首页"),l=Object(a["ref"])({}),o=Object(a["ref"])({});function n(e){t.value=e.type,e.data&&("态势预警列表"==e.type?l.value=e.data:"预警详情"==e.type&&(o.value=e.data))}return Object(a["onMounted"])(()=>{}),(e,c)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",null,["研判首页"==t.value?(Object(a["openBlock"])(),Object(a["createBlock"])(te,{key:0,onChange:n})):Object(a["createCommentVNode"])("",!0),"态势预警列表"==t.value?(Object(a["openBlock"])(),Object(a["createBlock"])(Se,{key:1,item:l.value,onChange:n},null,8,["item"])):Object(a["createCommentVNode"])("",!0),"预警详情"==t.value?(Object(a["openBlock"])(),Object(a["createBlock"])(ye,{key:2,item:o.value,onChange:n},null,8,["item"])):Object(a["createCommentVNode"])("",!0)]))}};const Te=_e;t["default"]=Te},bf85:function(e,t,l){},d58f:function(e,t,l){var a=l("59ed"),o=l("7b0b"),n=l("44ad"),c=l("07fa"),r=TypeError,b=function(e){return function(t,l,b,s){a(l);var d=o(t),i=n(d),p=c(d),u=e?p-1:0,j=e?-1:1;if(b<2)while(1){if(u in i){s=i[u],u+=j;break}if(u+=j,e?u<0:p<=u)throw r("Reduce of empty array with no initial value")}for(;e?u>=0:p>u;u+=j)u in i&&(s=l(s,i[u],u,d));return s}};e.exports={left:b(!1),right:b(!0)}},d7f9:function(e,t,l){"use strict";l("874d")},db0a:function(e,t,l){"use strict";var a=l("7a23");const o={class:"checkBox"},n=Object(a["createTextVNode"])("全部");var c={__name:"index",props:{data:{type:Object,default:{list:[],hasChoose:[]}},width:String,customClass:String},emits:["changeData"],setup(e,{emit:t}){const l=e,c=Object(a["ref"])(!1),r=Object(a["ref"])(!0),b=Object(a["ref"])([]),s=Object(a["ref"])([]);function d(e){b.value=e?s.value:[],r.value=!1,t("changeData",b.value)}function i(e){p(e),t("changeData",b.value)}function p(e){let t=e.length,l=s.value.length;c.value=t==l,r.value=t>0&&t<l}return Object(a["watch"])(()=>l.data,e=>{b.value=e.hasChoose,s.value=e.list,p(e.hasChoose)},{deep:!0,immediate:!0}),(t,p)=>{const u=Object(a["resolveComponent"])("el-checkbox"),j=Object(a["resolveComponent"])("el-checkbox-group");return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",o,[Object(a["createVNode"])(u,{class:Object(a["normalizeClass"])(["checkall",e.customClass]),modelValue:c.value,"onUpdate:modelValue":p[0]||(p[0]=e=>c.value=e),indeterminate:r.value,onChange:d},{default:Object(a["withCtx"])(()=>[n]),_:1},8,["class","modelValue","indeterminate"]),Object(a["createVNode"])(j,{modelValue:b.value,"onUpdate:modelValue":p[1]||(p[1]=e=>b.value=e),onChange:i},{default:Object(a["withCtx"])(()=>[Object(a["createElementVNode"])("span",{class:Object(a["normalizeClass"])(["zwModel",e.customClass])},null,2),(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(s.value,t=>(Object(a["openBlock"])(),Object(a["createBlock"])(u,{class:Object(a["normalizeClass"])(e.customClass),key:t,label:t,style:Object(a["normalizeStyle"])({width:l.width||"auto"})},{default:Object(a["withCtx"])(()=>[Object(a["createTextVNode"])(Object(a["toDisplayString"])(t),1)]),_:2},1032,["class","label","style"]))),128))]),_:1},8,["modelValue"])])}}},r=(l("5062"),l("d959")),b=l.n(r);const s=b()(c,[["__scopeId","data-v-d30d3ffa"]]);t["a"]=s},dfc1:function(e,t,l){"use strict";l.d(t,"q",(function(){return c})),l.d(t,"t",(function(){return r})),l.d(t,"r",(function(){return b})),l.d(t,"s",(function(){return s})),l.d(t,"a",(function(){return d})),l.d(t,"b",(function(){return i})),l.d(t,"i",(function(){return p})),l.d(t,"c",(function(){return u})),l.d(t,"d",(function(){return j})),l.d(t,"e",(function(){return m})),l.d(t,"f",(function(){return O})),l.d(t,"g",(function(){return g})),l.d(t,"h",(function(){return f})),l.d(t,"j",(function(){return h})),l.d(t,"m",(function(){return v})),l.d(t,"n",(function(){return y})),l.d(t,"o",(function(){return C})),l.d(t,"p",(function(){return x})),l.d(t,"k",(function(){return k})),l.d(t,"l",(function(){return w}));var a=l("b775");const o="/mosty-api/mosty-gsxt",n="/v1",c=e=>Object(a["a"])({url:o+"/lzJcjPjdb/selectPage",method:"GET",params:e}),r=e=>Object(a["a"])({url:o+"/yyfx/selectPage",method:"GET",params:e}),b=e=>Object(a["a"])({url:o+"/tbGsxtBqgl/selectList",method:"GET",params:e}),s=e=>Object(a["a"])({url:o+"/yyfx/add",method:"POST",data:e}),d=e=>Object(a["a"])({url:n+"/completions",method:"POST",data:e}),i=e=>Object(a["a"])({url:o+"/lzJcjPjdb/fxbgDywdtj",method:"GET",params:e}),p=e=>Object(a["a"])({url:o+"/lzJcjPjdb/getDictItem",method:"GET",params:e}),u=e=>Object(a["a"])({url:o+"/lzJcjPjdb/fxbgJqlxtj",method:"GET",params:e}),j=e=>Object(a["a"])({url:o+"/lzJcjPjdb/fxbgJqlytj",method:"GET",params:e}),m=e=>Object(a["a"])({url:o+"/lzJcjPjdb/fxbgTj",method:"GET",params:e}),O=e=>Object(a["a"])({url:o+"/lzJcjPjdb/fxbgYdfx",method:"GET",params:e}),g=e=>Object(a["a"])({url:o+"/lzJcjPjdb/fxgbCljgfx",method:"GET",params:e}),f=e=>Object(a["a"])({url:o+"/lzJcjPjdb/fxgbCzlfx",method:"GET",params:e}),h=e=>Object(a["a"])({url:o+"/jjdbYp/fxbgDywdtj",method:"GET",params:e}),v=e=>Object(a["a"])({url:o+"/lzJcjPjdb/fxbgJqlxtj",method:"GET",params:e}),y=e=>Object(a["a"])({url:o+"/jjdbYp/fxbgJqlytj",method:"GET",params:e}),C=e=>Object(a["a"])({url:o+"/jjdbYp/fxbgTj",method:"GET",params:e}),x=e=>Object(a["a"])({url:o+"/jjdbYp/fxbgYdfx",method:"GET",params:e}),k=e=>Object(a["a"])({url:o+"/jjdbYp/fxgbCljgfx",method:"GET",params:e}),w=e=>Object(a["a"])({url:o+"/jjdbYp/fxgbCzlfx",method:"GET",params:e})},eb1c:function(e,t,l){"use strict";l("4754")},fc13:function(e,t,l){},fd65:function(e,t,l){"use strict";l("b1cd")}}]);