EMS2.0-Documents/7.部署文档/Linux安装/项目前端文件/IEMS/js/chunk-5ffeb875.95d5e848.js

2 lines
15 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5ffeb875"],{"005f":function(t,e,r){"use strict";r("631a")},1276:function(t,e,r){"use strict";var a=r("2ba4"),i=r("c65b"),n=r("e330"),s=r("d784"),c=r("44e7"),o=r("825a"),u=r("1d80"),l=r("4840"),d=r("8aa5"),p=r("50c4"),f=r("577e"),g=r("dc4a"),m=r("4dae"),h=r("14c3"),v=r("9263"),y=r("9f7f"),b=r("d039"),j=y.UNSUPPORTED_Y,k=4294967295,T=Math.min,C=[].push,O=n(/./.exec),w=n(C),_=n("".slice),x=!b((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));s("split",(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=f(u(this)),s=void 0===r?k:r>>>0;if(0===s)return[];if(void 0===t)return[n];if(!c(t))return i(e,n,t,s);var o,l,d,p=[],g=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,y=new RegExp(t.source,g+"g");while(o=i(v,y,n)){if(l=y.lastIndex,l>h&&(w(p,_(n,h,o.index)),o.length>1&&o.index<n.length&&a(C,p,m(o,1)),d=o[0].length,h=l,p.length>=s))break;y.lastIndex===o.index&&y.lastIndex++}return h===n.length?!d&&O(y,"")||w(p,""):w(p,_(n,h)),p.length>s?m(p,0,s):p}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:i(e,this,t,r)}:e,[function(e,r){var a=u(this),s=void 0==e?void 0:g(e,t);return s?i(s,e,a,r):i(n,f(a),e,r)},function(t,a){var i=o(this),s=f(t),c=r(n,i,s,a,n!==e);if(c.done)return c.value;var u=l(i,RegExp),g=i.unicode,m=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(j?"g":"y"),v=new u(j?"^(?:"+i.source+")":i,m),y=void 0===a?k:a>>>0;if(0===y)return[];if(0===s.length)return null===h(v,s)?[s]:[];var b=0,C=0,O=[];while(C<s.length){v.lastIndex=j?0:C;var x,S=h(v,j?_(s,C):s);if(null===S||(x=T(p(v.lastIndex+(j?C:0)),s.length))===b)C=d(s,C,g);else{if(w(O,_(s,b,C)),O.length===y)return O;for(var D=1;D<=S.length-1;D++)if(w(O,S[D]),O.length===y)return O;C=b=x}}return w(O,_(s,b)),O}]}),!x,j)},"14cb":function(t,e,r){"use strict";r("1a02")},"1a02":function(t,e,r){},"333d":function(t,e,r){"use strict";var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"pagination-container"},[r("el-pagination",t._b({attrs:{background:t.background,"current-page":t.currentPage,"page-size":t.pageSize,layout:t.layout,"page-sizes":t.pageSizes,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"update:pageSize":function(e){t.pageSize=e},"update:page-size":function(e){t.pageSize=e},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}},"el-pagination",t.$attrs,!1))],1)},i=[],n=(r("a9e3"),{name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:0},limit:{type:Number,default:20},pageSizes:{type:Array,default:function(){return[5,10,20,30,70]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(t){this.$emit("update:page",t)}},pageSize:{get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}}},methods:{handleSizeChange:function(t){this.$emit("pagination",{page:this.currentPage,limit:t})},handleCurrentChange:function(t){this.$emit("pagination",{page:t,limit:this.pageSize})}}}),s=n,c=(r("14cb"),r("2877")),o=Object(c["a"])(s,a,i,!1,null,"4dfad654",null);e["a"]=o.exports},"394c":function(t,e,r){"use strict";r("6782")},6085:function(t,e,r){"use strict";var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"hsitoryBlock"},[r("div",{staticClass:"decorate"}),t.activities.length>0?r("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"history"},[r("el-timeline",{attrs:{reverse:t.reverse}},t._l(t.activities,(function(e,a){return r("el-timeline-item",{key:a,attrs:{timestamp:e.startTime,placement:"top","hide-timestamp":!0}},[r("div",{staticStyle:{"margin-bottom":"40px"},attrs:{id:e.taskNum}},[r("span",{staticClass:"timeTitle"},[t._v(t._s(e.startTime))]),r("span",{staticClass:"timeTitle"},[t._v(t._s(t.$t("historical.source"))+": "+t._s(e.taskNum))]),r("span",{staticClass:"timeTitle"},[t._v(" "+t._s(t.$t("historical.name"))+": "+t._s(e.taskName)+" ")]),r("span",{staticClass:"timeTitle"},[t._v(t._s(t.$t("historical.originator"))+": "+t._s(e.releaseName))])]),r("el-timeline",t._l(e.trajectoryVOs,(function(e,a){return r("el-timeline-item",{key:a,attrs:{timestamp:e.createTime,placement:"top","hide-timestamp":!0}},[r("div",[r("span",{staticClass:"timeTitles"},[t._v(t._s(e.createTime))]),r("span",{staticClass:"timeTitles"},[t._v(t._s("验收"==e.trackType?t.$t("work.accepted"):t.$t("work.completed"))+""+t._s(e.createName))])]),r("div",{staticClass:"historyImage",staticStyle:{color:"white"}},t._l(e.picAnnexList,(function(t,a){return r("el-image",{key:a,staticStyle:{width:"120px",height:"120px","margin-right":"10px"},attrs:{src:t,"preview-src-list":e.picAnnexList}})})),1),t._l(e.videoAnnexList,(function(t,e){return r("div",{key:"video"+e,staticClass:"historyImage",staticStyle:{color:"white"}},[r("video",{staticStyle:{width:"250px",height:"250px","margin-right":"10px","object-fit":"fill"},attrs:{id:"video"+e,controls:"",loop:""}},[r("source",{attrs:{src:t,type:"video/mp4"}}),r("source",{attrs:{src:t,type:"video/webm"}}),r("source",{attrs:{src:t,type:"video/ogg"}})])])})),t._l(e.audioAnnexList,(function(e,a){return r("div",{key:"audio"+a,staticClass:"historyImage",staticStyle:{color:"white"}},[r("audio",{attrs:{controls:"",height:"100",width:"100",id:"audio"+a}},[r("source",{attrs:{src:e,type:"audio/wav"}}),r("source",{attrs:{src:e,type:"audio/ogg"}}),r("source",{attrs:{src:e,type:"audio/mp3"}}),r("embed",{attrs:{height:"100",width:"100",src:e}}),t._v(" Your browser does not support this audio format. ")])])})),e.remark?r("div",[r("textarea",{staticClass:"historyText",staticStyle:{height:"100%"},attrs:{id:"",name:"",disabled:""},domProps:{value:e.remark}})]):t._e()],2)})),1)],1)})),1)],1):t._e(),t.activities.length<=0?r("div",{staticClass:"noneMessage"},[t._v(" "+t._s(t.$t("historical.Nohistoricaldata"))+" ")]):t._e()])},i=[],n=(r("a15b"),r("f3bc")),s={props:{deviceId:{type:Array,default:function(){return[]}}},data:function(){return{loading:!0,listQuery:{limit:10,search:"",skip:1,flag:2},lampPostList:null,reverse:!0,activities:[],goActivities:[],total:0}},mounted:function(){this.TrajectoryList()},methods:{TrajectoryList:function(){var t=this;Object(n["j"])({deviceIdList:this.deviceId.join(","),taskId:this.taskId}).then((function(e){t.activities=e.data.list,t.loading=!1,console.log(t.activities)}))}}},c=s,o=(r("394c"),r("d0e4"),r("2877")),u=Object(o["a"])(c,a,i,!1,null,"88237f7c",null);e["a"]=u.exports},"631a":function(t,e,r){},6782:function(t,e,r){},7877:function(t,e,r){"use strict";var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"table-container",staticStyle:{"min-height":"400px"}},[r("el-table",{staticStyle:{width:"100%"},attrs:{data:t.$store.state.work.deviceAllList,"highlight-current-row":"","max-height":"480","header-row-class-name":"table-header","row-class-name":"table-row"}},[r("el-table-column",{attrs:{property:"deviceName",align:"left",label:t.$t("device.deviceName")}}),r("el-table-column",{attrs:{property:"deviceType",align:"left",label:t.$t("device.typeName")}}),r("el-table-column",{attrs:{label:t.$t("table.operate")},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",{staticClass:"btnCancel",attrs:{title:t.$t("cabinet.history")},on:{click:function(r){return t.goHistory(e)}}},[r("svg-icon",{attrs:{"icon-class":"more"}}),t._v(t._s(t.$t("cabinet.history")))],1)]}}])})],1),t.flag?r("el-dialog",{staticClass:"gisDialog",attrs:{visible:t.flag,title:t.$t("cabinet.history"),modal:!1},on:{"update:visible":function(e){t.flag=e}}},[r("div",{staticClass:"his"},[r("historical",{attrs:{deviceId:t.historyForm.deviceIdArray,deviceName:t.historyForm.deviceName,deviceNumber:t.historyForm.deviceNumber,taskId:t.historyForm.taskId}})],1)]):t._e()],1)},i=[],n=r("6085"),s={data:function(){return{flag:!1,historyForm:{deviceIdArray:[],deviceName:"",deviceNumber:"",taskId:""}}},methods:{selectAllList:function(t){this.$store.state.work.selectDevice=t},goHistory:function(t){console.log(t),this.historyForm={deviceIdArray:[t.row.deviceId],deviceName:t.row.deviceName,deviceNumber:t.row.deviceCode,taskId:t.row.taskId},this.flag=!0}},components:{historical:n["a"]}},c=s,o=(r("005f"),r("2877")),u=Object(o["a"])(c,a,i,!1,null,null,null);e["a"]=u.exports},"9b41":function(t,e,r){"use strict";r.d(e,"h",(function(){return s})),r.d(e,"n",(function(){return c})),r.d(e,"t",(function(){return o})),r.d(e,"p",(function(){return u})),r.d(e,"j",(function(){return l})),r.d(e,"k",(function(){return d})),r.d(e,"i",(function(){return p})),r.d(e,"q",(function(){return f})),r.d(e,"r",(function(){return g})),r.d(e,"b",(function(){return m})),r.d(e,"a",(function(){return h})),r.d(e,"e",(function(){return v})),r.d(e,"c",(function(){return y})),r.d(e,"l",(function(){return b})),r.d(e,"o",(function(){return j})),r.d(e,"d",(function(){return k})),r.d(e,"g",(function(){return T})),r.d(e,"f",(function(){return C})),r.d(e,"m",(function(){return O})),r.d(e,"s",(function(){return w}));r("e9c4");var a=r("b775"),i=r("4328"),n=r.n(i);function s(t){return Object(a["a"])({url:"device-service/cabinet/getDeviceList",method:"get",params:t})}function c(t){var e=JSON.stringify(t);return Object(a["a"])({url:"trajectory-service/ttask/insertOrderTask",method:"post",headers:{"Content-Type":"application/json"},data:e})}function o(t){var e=JSON.stringify(t);return Object(a["a"])({url:"trajectory-service/ttask/updateTask",method:"post",headers:{"Content-Type":"application/json"},data:e})}function u(t){return Object(a["a"])({url:"trajectory-service/ttask/releaseTask",method:"post",params:t})}function l(t){return Object(a["a"])({url:"trajectory-service/ttask/getTask",method:"get",params:t})}function d(t){return Object(a["a"])({url:"trajectory-service/ttask/getTaskList",method:"get",params:t})}function p(t){return Object(a["a"])({url:"trajectory-service/acceptance/getNeedAcceptanceDeviceList",method:"get",params:t})}function f(t){var e=n.a.stringify(t);return Object(a["a"])({url:"trajectory-service/ttask/releaseTaskBySubId",method:"post",data:e})}function g(t){var e=n.a.stringify(t);return Object(a["a"])({url:"trajectory-service/ttask/stopTaskBySubId",method:"post",data:e})}function m(t){return Object(a["a"])({url:"trajectory-service/acceptance/applyAcceptanceTask",method:"get",params:t})}function h(t){return Object(a["a"])({url:"trajectory-service/acceptance/acceptanceTask",method:"get",params:t})}function v(t){var e=n.a.stringify(t);return Object(a["a"])({url:"trajectory-service/ttask/deleteTask",method:"post",data:e})}function y(t){var e=n.a.stringify(t);return Object(a["a"])({url:"trajectory-service/ttask/batchDeleteTask",method:"post",data:e})}function b(t){return Object(a["a"])({url:"trajectory-service/trajectory/getTrajectoryList",method:"get",params:t})}function j(t){var e=n.a.stringify(t);return Object(a["a"])({url:"trajectory-service/trajectory/insertTrajectory",method:"post",data:e})}function k(t){return Object(a["a"])({url:"trajectory-service/file/deleteFileByUrl",method:"post",params:t})}function T(t){return Object(a["a"])({url:"trajectory-service/dismantle/getDismantleList",method:"get",params:t})}function C(t){return Object(a["a"])({url:"trajectory-service/dismantle/getDismantleInfo",method:"get",params:t})}function O(t){var e=JSON.stringify(t);return Object(a["a"])({url:"trajectory-service/ttask/insertInspectionTask",headers:{"Content-Type":"application/json"},method:"post",data:e})}function w(t){var e=JSON.stringify(t);return Object(a["a"])({url:"trajectory-service/ttask/updateInspectionTask",headers:{"Content-Type":"application/json"},method:"post",data:e})}},c5cd:function(t,e,r){},cadb:function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return s}));r("ac1f"),r("1276"),r("fb6a"),r("5319");var a=function(t){var e="",r=t.getMonth()+1>=10?t.getMonth()+1:"0"+(t.getMonth()+1),a=t.getDate()>=10?t.getDate():"0"+t.getDate();return e+=t.getFullYear()+"-",e+=r+"-",e+=a,e},i=function(t,e){var r=[],i=t.split("-"),n=e.split("-"),s=new Date;s.setUTCFullYear(i[0],i[1]-1,i[2]);var c=new Date;c.setUTCFullYear(n[0],n[1]-1,n[2]);var o,u=s.getTime(),l=c.getTime(),d=864e5;for(o=u;o<=l;)r.push(a(new Date(parseInt(o)))),o+=d;return r};function n(t,e,r){var a=0,i=[];console.log(r,"---1--");var n=t.length-1;"00:00:00"!==r&&(n=t.length+1),e<=1&&(e=2);while(a<n)i.push(t.slice(a,a+e)),a=a+e-1;return i}function s(t,e,r,a){var i=t.replace(/-/g,"/"),n=e.replace(/-/g,"/"),s=r.replace(/-/g,"/");return i=new Date(i).getTime(),n=new Date(n).getTime(),s=new Date(s).getTime(),console.log(i),-1==a&&s>n||0==a&&s>n||1==a&&s>n||2==a&&s>n?"6":void 0}},d0e4:function(t,e,r){"use strict";r("c5cd")},e9c4:function(t,e,r){var a=r("23e7"),i=r("da84"),n=r("d066"),s=r("2ba4"),c=r("e330"),o=r("d039"),u=i.Array,l=n("JSON","stringify"),d=c(/./.exec),p=c("".charAt),f=c("".charCodeAt),g=c("".replace),m=c(1..toString),h=/[\uD800-\uDFFF]/g,v=/^[\uD800-\uDBFF]$/,y=/^[\uDC00-\uDFFF]$/,b=function(t,e,r){var a=p(r,e-1),i=p(r,e+1);return d(v,t)&&!d(y,i)||d(y,t)&&!d(v,a)?"\\u"+m(f(t,0),16):t},j=o((function(){return'"\\udf06\\ud834"'!==l("\udf06\ud834")||'"\\udead"'!==l("\udead")}));l&&a({target:"JSON",stat:!0,forced:j},{stringify:function(t,e,r){for(var a=0,i=arguments.length,n=u(i);a<i;a++)n[a]=arguments[a];var c=s(l,null,n);return"string"==typeof c?g(c,h,b):c}})},f3bc:function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return n})),r.d(e,"f",(function(){return s})),r.d(e,"d",(function(){return c})),r.d(e,"c",(function(){return o})),r.d(e,"l",(function(){return u})),r.d(e,"e",(function(){return l})),r.d(e,"k",(function(){return d})),r.d(e,"j",(function(){return p})),r.d(e,"h",(function(){return f})),r.d(e,"i",(function(){return g})),r.d(e,"g",(function(){return m}));var a=r("b775");function i(t){return Object(a["a"])({url:"device-service/cabinetDetails/getCabinetBeanById",method:"get",params:t})}function n(t){return Object(a["a"])({url:"device-service/cabinetDetails/getCabinetTypesByCode",method:"get",params:t})}function s(t){return Object(a["a"])({url:"device-service/inside/getInsideDeviceByCode",method:"get",params:t})}function c(t){return Object(a["a"])({url:"snmp-service/param/getDeviceParamByCode",method:"get",params:t})}function o(t){return Object(a["a"])({url:"snmp-service/param/getDeviceDetailByCode",method:"get",params:t})}function u(t){return Object(a["a"])({url:"snmp-service/param/updateDeviceParamByCode",method:"get",params:t})}function l(t){return Object(a["a"])({url:"snmp-service/param/getDeviceRemoteParamByCode",method:"get",params:t})}function d(t){return Object(a["a"])({url:"snmp-service/param/sendDeviceParam",method:"post",data:t})}function p(t){return Object(a["a"])({url:"trajectory-service/trajectory/getTaskTrajectoryList",method:"get",params:t})}function f(){return Object(a["a"])({url:"camera-service/token/getShiYingToken",method:"get"})}function g(t){return Object(a["a"])({url:"camera-service/token/getShiYingVideoPath",method:"get",params:t})}function m(t){return Object(a["a"])({url:"device-service/monitor/getMonitorList",method:"get",params:t})}}}]);
//# sourceMappingURL=chunk-5ffeb875.95d5e848.js.map