water-ldht/dist/static/js/chunk-033ce6e9.0d99e571.js

7 lines
27 KiB
JavaScript
Raw Normal View History

2024-11-01 16:58:10 +08:00
/*!
* build: vue-admin-beautiful
* vue-admin-beautiful author: chuzhixin 1204505056@qq.com
* vue-admin-beautiful QQ Group(QQ群): 9724353191139183756
* time: 2024-10-10 11:14:28
*/
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-033ce6e9","chunk-46b34ca8","chunk-2d0cc4a5"],{"0e0f":function(e,t,a){},3038:function(e,t,a){"use strict";a.r(t);a("88a7"),a("271a"),a("5494");var l=a("bc3a"),o=a.n(l),r=a("4360");const c=o.a.create({baseURL:Object({NODE_ENV:"production",VUE_APP_AUTHOR:"Cc",VUE_APP_TITLE:"力鼎环保",VUE_APP_UPDATE_TIME:"2024-10-10 11:14:28",VUE_APP_VERSION:"1.0.0",BASE_URL:""}).VUE_APP_BASE_API,timeout:1e5}),n=r["default"].getters["user/token"];c.interceptors.request.use(e=>(e.headers={token:n},e),e=>Promise.reject(e));const d=async(e,t)=>{await c.get(e,{responseType:"arraybuffer"}).then(e=>p(e,t))},i=async(e,t)=>{await c.post(e,{responseType:"arraybuffer"}).then(e=>p(e,t))},s=async(e,t)=>{await c.get(e,{responseType:"blob"}).then(e=>p(e,t))},p=(e,t)=>{const a=new Blob([e.data],{type:t.fileType?t.fileType:"application/octet-binary"}),l=window.URL.createObjectURL(a);u(l,t.fileName)},u=(e,t,a)=>{const l=document.createElement("a");l.href=e,l.download=t,document.body.appendChild(l),l.click(),document.body.removeChild(l),(null==a||a)&&window.URL.revokeObjectURL(e)},b=async(e,t)=>{let a;return await c.get(e,{responseType:"blob"}).then(e=>{a=new Blob([e.data],{type:t||"application/octet-binary"})}),window.URL.createObjectURL(a)},m=async(e,t,a)=>{let l;return await c.post(e,t,{responseType:"blob"}).then(e=>{l=new Blob([e.data],{type:a||"application/octet-binary"})}),window.URL.createObjectURL(l)},j=async(e,t)=>{let a;return await c.get(e,{responseType:"blob"}).then(e=>{a=new Blob([e.data],{type:t||"application/octet-binary"})}),a};t["default"]={ajax:c,downloadFile:d,getFile:s,getDownloadFileUrl:b,downloadPostFile:i,getDownloadFileUrlByPost:m,getDownloadFileBlob:j,downloadBlob:u}},3576:function(e,t,a){},"4cff":function(e,t,a){"use strict";a.r(t);var l=a("f2bf");function o(e,t,a,o,r,c){const n=Object(l["resolveComponent"])("el-table-column"),d=Object(l["resolveComponent"])("el-table"),i=Object(l["resolveComponent"])("el-dialog");return Object(l["openBlock"])(),Object(l["createBlock"])(i,{modelValue:r.dialogFormVisible,"onUpdate:modelValue":t[0]||(t[0]=e=>r.dialogFormVisible=e),title:r.title,width:"1000px",onClose:e.close},{default:Object(l["withCtx"])(()=>[Object(l["createVNode"])(d,{data:r.tableData,stripe:"",border:"",style:{width:"100%"}},{default:Object(l["withCtx"])(()=>[Object(l["createVNode"])(n,{fixed:"",property:"deviceName",label:e.$t("dataEnquiry.zdmc"),width:"200",align:"center"},null,8,["label"]),Object(l["createVNode"])(n,{property:"sampleQuantity",label:e.$t("apply.ypsl"),width:"100",align:"center"},null,8,["label"]),Object(l["createVNode"])(n,{property:"sampleBack.dataValue",label:e.$t("apply.ypqh"),width:"100",align:"center"},null,8,["label"]),Object(l["createVNode"])(n,{property:"sampleType.dataValue",label:e.$t("apply.yplx"),width:"100",align:"center"},null,8,["label"]),Object(l["createVNode"])(n,{property:"detectionItems",label:e.$t("apply.jcxm"),width:"100",align:"center"},{default:Object(l["withCtx"])(({row:e})=>[(Object(l["openBlock"])(!0),Object(l["createElementBlock"])(l["Fragment"],null,Object(l["renderList"])(e.detectionItems,(e,a)=>(Object(l["openBlock"])(),Object(l["createElementBlock"])("span",{key:a},[Object(l["createTextVNode"])(Object(l["toDisplayString"])(e.dataValue)+" ",1),t[1]||(t[1]=Object(l["createElementVNode"])("br",null,null,-1))]))),128))]),_:1},8,["label"]),Object(l["createVNode"])(n,{property:"detectionReport.dataValue",label:e.$t("apply.jcbg"),width:"150",align:"center"},null,8,["label"]),Object(l["createVNode"])(n,{property:"reportIssued.dataValue",label:e.$t("apply.bgcj"),width:"150",align:"center"},null,8,["label"]),Object(l["createVNode"])(n,{property:"reportUse.dataValue",label:e.$t("apply.bgyt"),width:"150",align:"center"},null,8,["label"]),Object(l["createVNode"])(n,{property:"asOfTime",label:e.$t("apply.jzsj"),width:"200",align:"center"},null,8,["label"]),Object(l["createVNode"])(n,{property:"remark",label:e.$t("alarm.bz"),width:"200",align:"center"},null,8,["label"])]),_:1},8,["data"])]),_:1},8,["modelValue","title","onClose