Files
xzlz_JczWeb/jcz/static/js/chunk-798e81fa.960fde96.js

1 line
8.3 KiB
JavaScript
Raw Normal View History

2025-12-26 17:51:25 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-798e81fa"],{"07f5":function(e,t,l){},"2e9d":function(e,t,l){"use strict";var a=l("7a23");const o={class:"title"},c={key:0,class:"flex"},n=["onClick"],r={key:1,class:"font"},b={class:"cnetr"},i={class:"right"};var s={__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,s)=>(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",c,[(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,n))),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,"center")]),Object(a["createElementVNode"])("div",i,[Object(a["renderSlot"])(t.$slots,"default")])],4))}},u=(l("7a6f"),l("d959")),p=l.n(u);const d=p()(s,[["__scopeId","data-v-7d703107"]]);t["a"]=d},5530:function(e,t,l){"use strict";l.d(t,"a",(function(){return c})),l.d(t,"b",(function(){return n}));var a=l("b775");const o="/mosty-api/mosty-yszx",c=(e={})=>Object(a["a"])({url:o+"/tbYsSxt/getList",method:"POST",data:e}),n=(e={})=>Object(a["a"])({url:o+"/tbYsSxt/getPageList",method:"POST",data:e})},"5b70":function(e,t,l){},"7a6f":function(e,t,l){"use strict";l("a72c")},"9f26":function(e,t,l){"use strict";l("07f5")},a72c:function(e,t,l){},c418:function(e,t,l){"use strict";l("5b70")},ee96:function(e,t,l){"use strict";l.r(t);var a=l("7a23"),o=l("2e9d"),c=l("ad28"),n=l("1090"),r=l("2d16"),b=(l("5530"),{__name:"TableList",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:"车辆信息"},data:{type:Array,default:[]},type:{type:String,default:""}},emits:["update:modelValue","choose"],setup(e,{emit:t}){const l=e,{proxy:o}=Object(a["getCurrentInstance"])(),{D_JCGL_JYCL_JYJTYTLB:n,D_BZ_HPZL:r,D_JCGL_JYCL_JYJTGJLB:b,D_JCGL_JYQX_QXLX:i,D_JCGL_JYCL_HPYSLB:s,D_JCGL_TCSB_SBLX:u}=o.$dict("D_JCGL_JYCL_JYJTYTLB","D_BZ_HPZL","D_JCGL_JYCL_JYJTGJLB","D_JCGL_JYQX_QXLX","D_JCGL_JYCL_HPYSLB","D_JCGL_TCSB_SBLX"),p=(Object(a["ref"])(),Object(a["reactive"])({tableData:[],keyCount:0,tableHeight:500,tableConfiger:{rowHieght:61,showSelectType:"null",loading:!1,haveControls:!1},total:0,pageConfiger:{pageSize:20,pageCurrent:1},controlsWidth:180,tableColumn:[]}));Object(a["watch"])(()=>l.type,e=>{switch(e){case"cl":p.tableColumn=[{label:"车辆名称",prop:"clmc"},{label:"号牌号码",prop:"cph",showOverflowTooltip:!0},{label:"号牌类型",prop:"cplx",showSolt:!0}];break;case"zb":p.tableColumn=[{label:"设备编号",prop:"sbbh"},{label:"设备名称",prop:"sbmc"},{label:"设备类型",prop:"sblx",showSolt:!0},{label:"关联GPSID",prop:"glgpsid"}];break;case"qx":p.tableColumn=[{label:"器械名称",prop:"qxmc"},{label:"器械类型",prop:"qxlx",showSolt:!0},{label:"数量",prop:"qxsl"}];break}}),Object(a["watch"])(()=>l.data,e=>{e&&(p.tableData=e)},{deep:!0,immediate:!0});const d=()=>{t("update:modelValue",!1)};return(t,l)=>{const o=Object(a["resolveComponent"])("dict-tag"),j=Object(a["resolveComponent"])("el-dialog");return Object(a["openBlock"])(),Object(a["createBlock"])(j,{modelValue:e.modelValue,"onUpdate:modelValue":l[0]||(l[0]=e=>Object(a["isRef"])(modelValue)?modelValue.value=e:null),width:"60%","custom-class":"container",onClose:d,title:e.title,"align-center":""},{default:Object(a["withCtx"])(()=>[(Object(a["openBlock"]