water-ldht/dist/static/js/chunk-72b3b472.efa67092.js

7 lines
10 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-72b3b472"],{"1b0a":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return n})),a.d(t,"dict",(function(){return l})),a.d(t,"getDevices",(function(){return d})),a.d(t,"doAdd",(function(){return c})),a.d(t,"toEdit",(function(){return i})),a.d(t,"doDelete",(function(){return s})),a.d(t,"doExport",(function(){return u}));var o=a("b775"),r=a("f121");function n(e){var t="?page="+e.page+"&size="+e.size+"&projectId="+e.projectId;return""!=e.deviceName&&(t+="&deviceName="+e.deviceName),""!=e.inspectorName&&(t+="&inspectorName="+e.inspectorName),""!=e.date&&(t+="&date="+e.date),Object(o["default"])({url:"/inspection/list"+t,method:"get",data:e})}function l(e){return Object(o["default"])({url:"/inspection/dict",method:"get",data:e})}function d(e){return Object(o["default"])({url:"/task/devices?projectId="+e.projectId,method:"get",data:e})}function c(e){return Object(o["default"])({url:"/inspection/add",method:"post",data:e})}function i(e){return Object(o["default"])({url:"/inspection/update",method:"post",data:e})}function s(e){return Object(o["default"])({url:"/inspection/remove",method:"post",data:e})}function u(e){var t="?projectId="+e.projectId;return""!=e.projectId&&(t+="&projectId="+e.projectId),r["baseURL"]+"/taskReport/export"+t}},"5f99":function(e,t,a){"use strict";function o(e,t){const a=parseInt(e),o=new Date,r=o.getDate(),n=new Date(o.setDate(r+a)),l=n.getFullYear(),d=n.getMonth()+1,c=n.getDate();let i,s;i=d<10?"0"+d:d,s=c<10?"0"+c:c;const u=t||"-";return l+u+i+u+s}function r(e=""){var t=new Date;""!=e&&(t=new Date(e));const a=t.getFullYear();let o=t.getMonth(),r=t.getDate();return o+=1,o=o.toString().padStart(2,"0"),r=r.toString().padStart(2,"0"),`${a}-${o}-${r}`}function n(e=""){var t=new Date;""!=e&&(t=new Date(e));const a=t.getFullYear();let o=t.getMonth();return o+=1,o=o.toString().padStart(2,"0"),`${a}-${o}`}function l(e=""){var t=new Date;""!=e&&(t=new Date(e));const a=t.getFullYear();return""+a}function d(e){const t=new Date,a=t.getFullYear(),o=t.getMonth()+1,r=t.getDate(),n=o-e,l=n<0?n+12:n>10?n:"0"+n,d=o>9?o:"0"+o,c=r>9?r:"0"+r,i=a+"-"+l+"-"+c,s=a+"-"+d+"-"+c;return[i,s]}function c(){const e=new Date,t=e.getFullYear(),a=e.getMonth()+1,o=e.getDate(),r=new Date(e);r.setDate(e.getDate()-1);const n=r.getFullYear(),l=(r.getMonth()+1).toString().padStart(2,"0"),d=r.getDate().toString().padStart(2,"0"),c=a>9?a:"0"+a,i=o>9?o:"0"+o,s=n+"-"+l+"-"+d,u=t+"-"+c+"-"+i;return[s,u]}function i(e){var t=new Date;""!=e&&(t=new Date(e));const a=t.getFullYear();let o=t.getMonth()+1;o=o<10?"0"+o:o;let r=t.getDate();r=r<10?"0"+r:r;let n=t.getHours();n=n<10?"0"+n:n;let l=t.getMinutes();l=l<10?"0"+l:l;let d=t.getSeconds();return d=d<10?"0"+d:d,a+"-"+o+"-"+r+" "+n+":"+l+":"+d}a.r(t),a.d(t,"getFMdate",(function(){return o})),a.d(t,"getDate",(function(){return r})),a.d(t,"getDate1",(function(){return n})),a.d(t,"getDate2",(function(){return l})),a.d(t,"getPastTime",(function(){return d})),a.d(t,"getPastTime1",(function(){return c})),a.d(t,"formatDateTime",(function(){return i}))},b199:function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return n})),a.d(t,"getHandlers",(function(){return l})),a.d(t,"getDevices",(function(){return d})),a.d(t,"doDelete",(function(){return c})),a.d(t,"doAdd",(function(){return i})),a.d(t,"feedback",(function(){return s})),a.d(t,"doEdit",(function(){return u})),a.d(t,"taskExport",(function(){return m})),a.d(t,"getTaskLevel",(function(){return f})),a.d(t,"getTaskType",(function(){return b}));var o=a("b775"),r=a("f121");function n(e){var t="?page="+e.page+"&size="+e.size+"&type="+e.type+"&projectId="+e.projectId;return 3!=e.status&&(t+="&status="+e.status),Object(o["default"])({url:"/task/list"+t,method:"get",data:e})}function l(e){return Object(o["default"])({url:"/task/handlers?deviceCode="+e.deviceCode,method:"get",data:e})}function d(e){return Object(o["default"])({url:"/task/devices?projectId="+e.projectId,method:"get",data:e})}function c(e){return Object(o["default"])({url:"/task/remove",method:"post",data:e})}fun