import{_ as e}from"./next-watermark.B4KA2tkF.js";import{_ as a,f as l,h as t,i as r,w as p,j as s,o,k as i,l as n,t as b,V as d,W as m,X as u}from"./index-DB6ZDwGL.js";const c=a({data:()=>({caseNum:null,groupType:null,detailInfo:{},policeArr:[{label:"接警编号",prop:"alarmCode"},{label:"报警类型",prop:"alarmResponseTypeName"},{label:"事发地点",prop:"alarmAddress"},{label:"报警内容",prop:"alarmResponseContent"},{label:"报警人",prop:"informantName"},{label:"报警电话",prop:"informantPhone"},{label:"报警时间",prop:"informantTimeCn"},{label:"接警人",prop:"policeReceiverName"},{label:"接警单位",prop:"alarmResponseUnit"},{label:"接警时间",prop:"alarmResponseTimeCn"}],caseArr:[{label:"案件编号",prop:"ajbh"},{label:"案件名称",prop:"ajmc"},{label:"案件类别",prop:"ajlbmc"},{label:"案件状态",prop:"ajztmc"},{label:"主办人",prop:"zbrxm"},{label:"主办单位",prop:"zbdwmc"},{label:"直属案件",prop:"zsajmc"},{label:"协办人",prop:"xbrxm"},{label:"协办单位",prop:"xbdwmc"},{label:"简要案情",prop:"jyaq"},{label:"立案人",prop:"lapzrxm"},{label:"立案单位",prop:"ladwmc"},{label:"立案时间",prop:"lasj"},{label:"报案人",prop:"barxm"},{label:"报案时间",prop:"basj"},{label:"登记人",prop:"djrxm"},{label:"登记单位",prop:"djdwmc"},{label:"登记时间",prop:"djsj"}],incidentArr:[{label:"事件编号",prop:"eventCode"},{label:"事件名称",prop:"eventName"},{label:"事件类型",prop:"eventType"},{label:"事件地点",prop:"eventAddress"},{label:"事件内容",prop:"eventContent"},{label:"发生时间",prop:"eventTime"},{label:"登记人",prop:"createBy"},{label:"登记单位",prop:"createByDept"},{label:"登记时间",prop:"createTime"}]}),computed:{detailtitle(){return this.groupType?{1:"警情详情",2:"案件详情",3:"事件详情"}[this.groupType]:""},detailList(){return this.groupType?this[{1:"policeArr",2:"caseArr",3:"incidentArr"}[this.groupType]]:[]}},onLoad(e){this.caseNum=e.caseNum,this.groupType=e.groupType,this.queryDetail()},methods:{queryDetail(){this.$http({url:`/collaborativeTask/caseDetails?caseNum=${this.caseNum}&num=${this.groupType}`,method:"POST"}).then((e=>{var a;this.detailInfo=e,"3"===this.groupType?this.detailInfo.eventTime=null==(a=this.detailInfo.eventTime)?void 0:a.replace("T"," "):"2"===this.groupType&&(this.detailInfo.lasj=this.$date.substrTime(this.detailInfo.lasj),this.detailInfo.basj=this.$date.substrTime(this.detailInfo.basj),this.detailInfo.djsj=this.$date.substrTime(this.detailInfo.djsj))}))}}},[["render",function(a,c,h,f,T,j){const y=l(t("next-watermark"),e),v=s;return o(),r(v,{class:"more-detail"},{default:p((()=>[i(y,{watermark:String(a.userStore.watermark)},null,8,["watermark"]),i(v,{class:"detail-title"},{default:p((()=>[n(b(j.detailtitle),1)])),_:1}),i(v,{class:"detail-box"},{default:p((()=>[(o(!0),d(u,null,m(j.detailList,((e,a)=>(o(),r(v,{class:"detail-item",key:a},{default:p((()=>[i(v,{class:"label"},{default:p((()=>[n(b(e.label)+"：",1)])),_:2},1024),i(v,{class:"prop"},{default:p((()=>[n(b(T.detailInfo[e.prop]),1)])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1})}],["__scopeId","data-v-91a1a5bb"]]);export{c as default};
