Files
sgxt_web/gsxt/static/js/chunk-28b6be0f.ab003561.js

1 line
29 KiB
JavaScript
Raw Normal View History

2025-12-03 16:58:06 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-28b6be0f"],{"03cc":function(e,t,l){"use strict";l.r(t);l("caad");var a=l("7a23"),c=l("1437"),o=l.n(c),n=l("13e0"),s=l.n(n),i=l("2e9d"),r=l("2d16"),d=l("ad28"),b=l("1090"),j=l("c5cb"),m=l("04d5");const O={class:"titleBox"},p={class:"tabBox"},u={key:0},f={key:0,src:o.a,width:"65",height:"70"},v={key:1,src:s.a,width:"65",height:"70"},V={class:"image-slot error"},E={key:0,src:o.a,width:"65",height:"70"},N={key:1,src:s.a,width:"65",height:"70"},g=Object(a["createTextVNode"])("全息档案");var y={__name:"index",setup(e){const{proxy:t}=Object(a["getCurrentInstance"])(),{D_BZ_YJJB:l,D_GS_ZDQT_YJLB:c,D_BZ_YJLX:o}=t.$dict("D_BZ_YJJB","D_GS_ZDQT_YJLB","D_BZ_YJLX"),n=Object(a["ref"])(),s=Object(a["ref"])([{label:"预警级别",prop:"yjjbList",placeholder:"请输入姓名",showType:"select",options:l},{label:"预警类型",prop:"yjlxList",placeholder:"请输入身份证号码",showType:"select",options:c}]),y=Object(a["ref"])({}),h=Object(a["reactive"])({tableData:[],keyCount:0,tableConfiger:{rowHieght:61,showSelectType:"null",loading:!1,haveControls:!0},total:0,pageConfiger:{pageSize:20,pageCurrent:1},controlsWidth:300,tableColumn:[{label:"预警图片",prop:"yjtp",showSolt:!0},{label:"姓名",prop:"ryxm"},{label:"身份证号",prop:"rysfzh",width:200},{label:"预警标签",prop:"yjbq",width:150},{label:"预警地址",prop:"yjdz"},{label:"预警级别",prop:"yjjb",showSolt:!0},{label:"预警类别",prop:"yjlb",showSolt:!0},{label:"预警类型",prop:"yjlx",showSolt:!0},{label:"预警时间",prop:"yjsj"},{label:"所属部门",prop:"ssbm"},{label:"车牌号",prop:"cph"}]});Object(a["onMounted"])(()=>{I(),D()});const w=e=>{y.value={...e},h.pageConfiger.pageCurrent=1,D()},C=e=>{h.pageConfiger.pageCurrent=e,D()},k=e=>{h.pageConfiger.pageSize=e,D()},A="https://89.40.7.122:38496/image",x="https://sg.lz.dsj.xz/dhimage",D=()=>{h.tableConfiger.loading=!0;const e={...y.value,pageCurrent:h.pageConfiger.pageCurrent,pageSize:h.pageConfiger.pageSize};Object(j["d"])(e,"/mosty-gsxt/tbYjxx/getPageAllList").then(e=>{console.log(e),h.total=e.total||0,h.tableConfiger.loading=!1,h.tableData=e.records.map(e=>({...e,yjtp:"01"==e.yjlx?e.yjtp.replace(A,x):e.yjtp}))||[]}).catch(()=>{h.tableConfiger.loading=!1})},B=e=>"01"==e?"#ff0202":"02"==e?"#ff8c00":"03"==e?"#ffd325":"04"==e?"#0000ff":void 0,S=Object(a["ref"])(!1),M=Object(a["ref"])(),z=e=>{S.value=!0,M.value=e},I=()=>{h.tableHeight=window.innerHeight-n.value.offsetHeight-250,window.onresize=function(){I()}};return(e,t)=>{const j=Object(a["resolveComponent"])("el-image"),y=Object(a["resolveComponent"])("DictTag"),A=Object(a["resolveComponent"])("el-link");return Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],null,[Object(a["createElementVNode"])("div",null,[Object(a["createElementVNode"])("div",O,[Object(a["createVNode"])(i["a"],{title:"四色预警"})]),Object(a["createElementVNode"])("div",{ref_key:"searchBox",ref:n},[(Object(a["openBlock"])(),Object(a["createBlock"])(r["a"],{searchArr:s.value,onSubmit:w,key:h.keyCount},null,8,["searchArr"]))],512),Object(a["createElementVNode"])("div",p,[(Object(a["openBlock"])(),Object(a["createBlock"])(d["a"],{tableData:h.tableData,tableColumn:h.tableColumn,tableHeight:h.tableHeight,key:h.keyCount,tableConfiger:h.tableConfiger,controlsWidth:h.controlsWidth},{yjtp:Object(a["withCtx"])(({row:e})=>[!e.yjtp||e.yjtp.includes("baidu")?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",u,[2==e.yjlb?(Object(a["openBlock"])(),Object(a["createElementBlock"])("img",f)):(Object(a["openBlock"])(),Object(a["createElementBlock"])("img",v))])):(Object(a["openBlock"])(),Object(a["createBlock"])(j,{key:1,"preview-teleported":"",onClick:t[0]||(t[0]=Object(a["withModifiers"])(()=>{},["stop"])),style:{width:"65px",height:"70px"},src:e.yjtp,"preview-src-list":[e.yjtp],"show-progress":""},{error:Object(a["withCtx"])(()=>[Object(a["createElementVNode"])("div",V,[2==e.yjlb?(Object(a["openBlock"])(),Object(a["createElementBlock"])("img",E)):(Object(a["openBlock"])(),Object(a["createElement