water-ldht/dist/static/js/chunk-a3a05cbc.ca99829d.js

7 lines
12 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-a3a05cbc","chunk-bb7ffe10","chunk-bb7ffe10","chunk-bb7ffe10","chunk-bb7ffe10","chunk-bb7ffe10","chunk-bb7ffe10","chunk-bb7ffe10"],{"271a":function(e,t,o){"use strict";var a=o("cb2d"),n=o("e330"),r=o("577e"),d=o("d6d6"),c=URLSearchParams,i=c.prototype,u=n(i.getAll),s=n(i.has),l=new c("a=1");!l.has("a",2)&&l.has("a",void 0)||a(i,"has",(function(e){var t=arguments.length,o=t<2?void 0:arguments[1];if(t&&void 0===o)return s(this,e);var a=u(this,e);d(t,1);var n=r(o),c=0;while(c<a.length)if(a[c++]===n)return!0;return!1}),{enumerable:!0,unsafe:!0})},3038:function(e,t,o){"use strict";o.r(t);o("88a7"),o("271a"),o("5494");var a=o("bc3a"),n=o.n(a),r=o("4360");const d=n.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}),c=r["default"].getters["user/token"];d.interceptors.request.use(e=>(e.headers={token:c},e),e=>Promise.reject(e));const i=async(e,t)=>{await d.get(e,{responseType:"arraybuffer"}).then(e=>l(e,t))},u=async(e,t)=>{await d.post(e,{responseType:"arraybuffer"}).then(e=>l(e,t))},s=async(e,t)=>{await d.get(e,{responseType:"blob"}).then(e=>l(e,t))},l=(e,t)=>{const o=new Blob([e.data],{type:t.fileType?t.fileType:"application/octet-binary"}),a=window.URL.createObjectURL(o);f(a,t.fileName)},f=(e,t,o)=>{const a=document.createElement("a");a.href=e,a.download=t,document.body.appendChild(a),a.click(),document.body.removeChild(a),(null==o||o)&&window.URL.revokeObjectURL(e)},b=async(e,t)=>{let o;return await d.get(e,{responseType:"blob"}).then(e=>{o=new Blob([e.data],{type:t||"application/octet-binary"})}),window.URL.createObjectURL(o)},p=async(e,t,o)=>{let a;return await d.post(e,t,{responseType:"blob"}).then(e=>{a=new Blob([e.data],{type:o||"application/octet-binary"})}),window.URL.createObjectURL(a)},h=async(e,t)=>{let o;return await d.get(e,{responseType:"blob"}).then(e=>{o=new Blob([e.data],{type:t||"application/octet-binary"})}),o};t["default"]={ajax:d,downloadFile:i,getFile:s,getDownloadFileUrl:b,downloadPostFile:u,getDownloadFileUrlByPost:p,getDownloadFileBlob:h,downloadBlob:f}},"4e55":function(e,t,o){},5494:function(e,t,o){"use strict";var a=o("83ab"),n=o("e330"),r=o("edd0"),d=URLSearchParams.prototype,c=n(d.forEach);a&&!("size"in d)&&r(d,"size",{get:function(){var e=0;return c(this,(function(){e++})),e},configurable:!0,enumerable:!0})},"59a3":function(e,t,o){e.exports={"menu-color":"hsla(0,0%,27%,.95)","menu-color-active":"hsla(208,100%,55%,.95)","menu-background":"#fff","gallery-second-menu-background":"#fff"}},"88a7":function(e,t,o){"use strict";var a=o("cb2d"),n=o("e330"),r=o("577e"),d=o("d6d6"),c=URLSearchParams,i=c.prototype,u=n(i.append),s=n(i["delete"]),l=n(i.forEach),f=n([].push),b=new c("a=1&a=2&b=3");b["delete"]("a",1),b["delete"]("b",void 0),b+""!=="a=2"&&a(i,"delete",(function(e){var t=arguments.length,o=t<2?void 0:arguments[1];if(t&&void 0===o)return s(this,e);var a=[];l(this,(function(e,t){f(a,{key:t,value:e})})),d(t,1);var n,c=r(e),i=r(o),b=0,p=0,h=!1,m=a.length;while(b<m)n=a[b++],h||n.key===c?(h=!0,s(this,n.key)):p++;while(p<m)n=a[p++],n.key===c&&n.value===i||u(this,n.key,n.value)}),{enumerable:!0,unsafe:!0})},aa98:function(e,t,o){"use strict";o.r(t),o.d(t,"getList",(function(){return r})),o.d(t,"getDeviceData",(function(){return d})),o.d(t,"doEdit",(function(){return c})),o.d(t,"doDelete",(function(){return i})),o.d(t,"doAdd",(function(){return u})),o.d(t,"selectDeviceInfo",(function(){return s})),o.d(t,"getDictData",(function(){return l})),o.d(t,"selectAllProject",(function(){return f})),o.d(t,"selectAllGroup",(function(){return b})),o.d(t,"selectAllAlarmUser",(function(){return p})),o.d(t,"copy",(function(){return h})),o.d(t,"getLatestDataByDevice",(function(){return m})),o.d(t,"getLatestData",(function(){return v})),o.d(t,"getLatestDataByDevices",(function(){return y})),o.d(t,"getHistoryData",(function(){return g})),o.d(t,"getReportHistoryData",(function(){return j})),o.d(t,"getTownsByP