chunk-191dcf60.059e1ba1.js 16 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-191dcf60"],{1097:function(t,a,i){"use strict";var o=i("e74d"),e=i.n(o);e.a},"3f72":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAoCAYAAACWwljjAAAAAXNSR0IArs4c6QAAA+VJREFUWEfFl31MVXUYx7/P75zDa+BQIFgyLrSmXNNN2opSlFqymsswYdSS2hwbfyit1l9CbW7+Qa05g/GP0xaWtASLzZeYc5q3WM2mM2C2uJoiYGXyki/J2zm/XztH7h0X4Z7zO5eX88f95/c83+dzn+c5v+c5pO/1CETyMAZExQ0biz17okuPfxiJlOlLEQNNJVA1LlKXV2mlxz52Azf7QAEKIvA0b33U6ycqZcDmDihAoWpcfyw3J+a1w34nYHMPNEEhkj1tWtnZfDuoeQMyQURc4j2toiMhHNS8AlkgUTG6uv13bSao+QcySbRoXd3RNS3UwgBZ5Vt0R6toXzQ1UwsGZPVUcpZPK/u+YDLUggKZIHrmM8smXwnugWKTQE9sBGU9D0rxAqRADPghrvsguo4B9/62e8MfnKsqVyuvKMH71M3ooGWvgK3dCSSkTx90eBD8XB3ErwcdQfH0FcEbXTpDlPUC2KufhQQSl5ohLp8AZawBebcAsYutc37mA4iORnsoIqjvXiP54RqbBGVrKxD/aCjQgB/46yLEjXMQNzvB8qusUkIfhtG4ERi6Zgsllq6q0kqO1khliHLLwdZVhxUX3T7wo+VgJU2g9NVW2fjZXbZAUKO4WulXpIDY5i9AmbbjCPzHGmDoKtim/RD9XeCHXrIHMvv7vW6SAlK2/QAkZtiL/3cTxteboZSdAowxGPty7X3MnktfUS8FxLa2gpKX24sbY+C+3WDPvQ8YozD259n7mBYx8aNyQIWfgLzFzsQnrETvT+DfvOnMhzG5FZY868GKGpyJT1jx09UQnV859iG9NluAc2cOTAHbdADkCRk/M/qKW7+BN5UA4/ed6ZtL/tiXBT+z/m6HRQYQtwSs6HNQ6srwQe70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UR4tC2Ral5BMvgHbHhN9z4IuD3R1YwRA+YNphci6us0Ihb4CUdMyhY14/DBM83fXMNzgAE1GOvdRDj+7TfB42iFJLfnrsjPIOS5se9JtVGmH+NPUVKcBoF48iaCqvZDlXSVAtj0BXX8djGXEo4qUToecLk12HgQx4fXJPfX1e+GRNLDFDhEIOZaGYfwCgG9v7kcBKN+l26KMofQor5Dp9W6Hz/cSGOPFGYi8SKe/RSZz0T1J4aMXWSORjqBlIyaaJknNaGl5E02NzwLwYGHhLFLXepDNxkUjbtKVdIjPTkx0dAN4t+bEVRpvAuJ54xPt5wE8tsrsmuxlgRyo8bYJABtrSl2FaUUgnjk23jYKYNMq8l1bKwLloVovAHjEdXKNhqpADtRYqJuB1uRHFwLiUKOj4VYQBgEEanx5IZsw0FLa6Gj4EAP7CECjUAWXItdARWD7GNinANpc1qworxmoOHVkJNBFRMcBbAGgiN7Ry5H9B0Q6hr0q5mSuAAAAAElFTkSuQmCC"},"6f58":function(t,a,i){"use strict";var o=i("9df7"),e=i.n(o);e.a},"9d5b":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAoCAYAAACWwljjAAAAAXNSR0IArs4c6QAABB1JREFUWEfFl2tsFFUYhp+vi6FSroHgLUHx1j8CtiSKUYzGUEsvuFDovaUVQkL8YzTYUiqxeEELEk1MTGuaXimFP5AYiWhNDBhBfwBC0cYqqG0olcQGDJaydD8zO+26W7fdM9PSnl+zO9/7nue8Z845M6IbixXnzdL4gKtAJ8pR/FRLbe2Pzq3CFaIbi9wAjdTvNaAVD1ukqq7DDZzohvXjCRTKcAa0SGoaTjkBu5VAFoc12MN4pmZKdfU/JmCiLxbeqoRC++9DNEtqGj+NBiVaPCFAdlrKe1LXsHU0KNHigolIKIRBm6S2qWAkKNGi/AkGCqC0SF1TTiQo0fWTAgTI21LfWD4cSrQwbzISsp8pkXSpb/osFEq0MHeygCyOPmKnzwvdEkQLctwBzZgBjz0OSxJgwb3giYGuLjh7Bo5/C71/RVvhQ/cPS+O+1KEfovkugJY9Adm5MHdu5E7/vgqHDsIXR0yglBhdKg0tgR1dNC/bWUIJifDqlvCOjn4NJ07AI4vgqeUwc6Z9v7YGvmo1gWqTvS2LbKDcLHMga5p2VsKcOeGddHVCRwe0/wQXzkNuPjyaADf6oawUurujQw0QL/v3/yyam2kOlJIGeSPuaXanP5yG9ythewU8+BAc+RwaaqMDwSFpPrBaNMcBUOk2WLw4unnzXui+aE9t5x9QMmyKIztck30HpotmrzNP6MOPYP786EC9vfB6GezaAzdvwqYN0TWBCn+iaNZac6DK3fYSj9Z8Pmiog6wcsK43b4qmGLyvH4tmZgwAMUaKzS/BM88alQaL2s7CmxVmGuWUBWS9ON1upLBWztZtRqXBok+qoPVLU81l0XVrTgNLjBQeD7xWCtZeZNJ+uwDby+H6dZNqq8YnmuH1InLQVMGsWVBWDvc/MLrkzx54a4fZHvSfk4p1rRle8wfbEsyeDS+/Yu/Mkdqvv8AHe5zCBJxsoDXei8BdxilZhXffA+/shNjYcJl/AHZUQHu7I7uhYhtorTcJvxqdhGG9WIdrXJz9bTE0vP5+6OlxBRNMKAC1elUfMGy4o/iKgLUNxMeDDhJZ/126BLt3ge+GK6hAQgEgb7r1jtvsyCVxqX2yhwJZK+r778Dvd2QVNmVBqBfSrKwNzoZBxX0L4flkGBiwoW6bAseOwbk2VzBhUxZIKT19HqKXjd2mxUFmFjy9HGI8cPIk1NfClSvGFsMLg1MWTCk9tQThXdeOYxT+D8hOKuUb4MkxeruSRwQKQKWl/A4scOU6BtGIQAGo1JTzoAvH4O9YOiqQnVTycZRljp1dCqIC2UmtLEF1Qh50I6AA1Krn7sA35RwwwseYy0iGyYyBgttC8op8RKqAaeODEO7iGCgItnJFEir1wJ3jCeYaKBRCk5K8iL6B8jDCVON39Agj+Rfat0GI951O9gAAAABJRU5ErkJggg=="},"9df7":function(t,a,i){},a699:function(t,a,i){"use strict";var o=i("cfe9"),e=i.n(o);e.a},cfe9:function(t,a,i){},db3d:function(t,a,i){"use strict";i.r(a);var o=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"layout"},[i("div",{staticClass:"itemAlert"},[i("van-icon",{attrs:{name:"arrow-left",color:"#fff"},on:{click:t.back}}),t._v("巡检详情 ")],1),i("div",{staticClass:"content"},[i("p",{staticStyle:{"font-size":"14px"}},[t._v(" "+t._s(this.$route.query.startTime)+" - "+t._s(this.$route.query.endTime)+" ")]),i("ul",{staticStyle:{overflow:"auto"}},t._l(t.list,(function(a,o){return i("li",{key:o,staticClass:"item",on:{click:function(i){return t.abnormal(a)}}},[i("div",{staticStyle:{"text-align":"right"}},[a.patrolRecord?20===a.patrolRecord.patrolStatus&&10===a.patrolRecord.isAbnormal?i("img",{staticClass:"icon",attrs:{src:t.green,alt:""}}):30===a.patrolRecord.patrolStatus&&10===a.patrolRecord.isAbnormal?i("img",{staticClass:"icon",attrs:{src:t.orange,alt:""}}):40===a.patrolRecord.patrolStatus&&10===a.patrolRecord.isAbnormal?i("img",{staticClass:"icon",attrs:{src:t.yellow,alt:""}}):40===a.patrolRecord.patrolStatus&&20===a.patrolRecord.isAbnormal||20==a.patrolRecord.patrolStatus&&20==a.patrolRecord.isAbnormal||30==a.patrolRecord.patrolStatus&&20==a.patrolRecord.isAbnormal?i("img",{staticClass:"icon",attrs:{src:t.red,alt:""}}):10==a.patrolRecord.patrolStatus?i("img",{staticClass:"icon",attrs:{src:t.yellow,alt:""}}):t._e():i("img",{staticClass:"icon",attrs:{src:t.yellow,alt:""}})]),i("div",{staticClass:"text"},[t._v(t._s(a.locationName))]),i("span",{staticClass:"ogfName"},[t._v(t._s(a.ogfName))]),i("p",[t._v(" 状态: "),a.patrolRecord?40==a.patrolRecord.patrolStatus?i("span",[t._v("--")]):10==a.patrolRecord.patrolStatus?i("span",[t._v("未巡检")]):20==a.patrolRecord.patrolStatus&&10==a.patrolRecord.isAbnormal||20==a.patrolRecord.patrolStatus&&20==a.patrolRecord.isAbnormal?i("span",[t._v("已巡检")]):30==a.patrolRecord.patrolStatus&&20==a.patrolRecord.isAbnormal||30==a.patrolRecord.patrolStatus&&10==a.patrolRecord.isAbnormal?i("span",[t._v("无法打卡")]):t._e():i("span",[t._v("--")])])])})),0)]),i("van-dialog",{attrs:{"show-confirm-button":!1},model:{value:t.isHint,callback:function(a){t.isHint=a},expression:"isHint"}},[i("div",{staticClass:"alert"},[i("div",{staticStyle:{"font-size":".26rem","text-align":"left"}},[i("van-icon",{attrs:{name:"qr"}}),i("span",{staticStyle:{"margin-left":".1rem","font-size":".22rem"}},[t._v("提示")])],1),i("div",{staticClass:"text"},t._l(t.advertList,(function(a,o){return i("p",{key:o,staticStyle:{margin:".05rem","text-align":"left"}},[t._v(" "+t._s(a)+" ")])})),0),i("div",{staticClass:"foot"},[i("div",{staticClass:"left"},[i("span",{on:{click:function(a){t.isHint=!1}}},[t._v("关闭")])]),i("div",{staticClass:"right"},[i("span",{on:{click:t.anomaly}},[t._v("异常")]),t.isSpecial?i("span",{staticStyle:{"margin-left":".3rem"},on:{click:t.specific}},[t._v("特殊原因")]):t._e()])])])]),i("Abnormal",{directives:[{name:"show",rawName:"v-show",value:t.isAbnormal,expression:"isAbnormal"}],attrs:{itemAbnormal:t.itemAbnormal,patrolTime:this.$route.query.startTime},on:{cloneAbnormal:t.cloneAbnormal}}),i("SpecificCause",{directives:[{name:"show",rawName:"v-show",value:t.isSpecific,expression:"isSpecific"}],attrs:{patrolTime:this.$route.query.startTime,itemASpecific:t.itemAbnormal},on:{cloneSpecific:t.cloneSpecific}})],1)},e=[],r=i("c761"),c=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"abnormal"},[i("div",{staticClass:"header"},[i("van-icon",{attrs:{name:"arrow-left",color:"#fff"},on:{click:t.clone}}),t._v("异常上报 ")],1),i("div",{staticClass:"textContent"},[i("Record",{ref:"child",on:{recordItem:t.recordItem}}),i("div",{staticClass:"reason"},[i("van-field",{staticStyle:{"border-bottom":"1px solid #ccc"},attrs:{placeholder:"请输入异常原因"},model:{value:t.reasonValue,callback:function(a){t.reasonValue=a},expression:"reasonValue"}}),i("p",{staticStyle:{height:".1rem"}})],1)],1),i("van-button",{staticStyle:{width:"96%","border-radius":".05rem",margin:".1rem 0","font-size":".2rem"},attrs:{type:"info"},on:{click:t.add}},[t._v("提交")])],1)},s=[],l=(i("4160"),i("d3b7"),i("ac1f"),i("3ca3"),i("466d"),i("1276"),i("5cc6"),i("9a8c"),i("a975"),i("735e"),i("c1ac"),i("d139"),i("3a7b"),i("d5d6"),i("82f8"),i("e91f"),i("60bd"),i("5f96"),i("3280"),i("3fcc"),i("ca91"),i("25a1"),i("cd26"),i("3c5d"),i("2954"),i("649e"),i("219c"),i("170b"),i("b39a"),i("72f7"),i("159b"),i("ddb0"),i("2113")),n={name:"VueCli4VantAbnormal",props:["itemAbnormal","patrolTime"],data:function(){return{loading:!1,isEditor:!1,fileList:[],loop:"",btRecoding:!1,blackBoxSpeak:!1,startY:"",recorder:"",duration:"",player:!1,reasonValue:"",voiceUrl:"",chartUrl:"",index:null}},watch:{itemAbnormal:function(t,a){t&&(this.itemAbnormal=t)}},components:{Record:l["a"]},created:function(){},mounted:function(){},methods:{recordItem:function(t){var a=this;if(console.log(t),this.reasonValue){this.loading=!0,this.chartUrl="";var i=[];t.fileList.forEach((function(t,o){var e=new window.File([a.dataURLtoBlob(t.content)],"异常上报".concat(o,".jpg"),{type:"jpg"});console.log(e);var c=new FormData;c.append("file",e),i.push(Object(r["m"])(c))})),Promise.all(i).then((function(i){console.log(i),i.forEach((function(t,i){a.chartUrl+=i?","+t.data.msg:t.data.msg})),console.log(a.chartUrl),Object(r["k"])({isAbnormal:20,updatedBy:"lixl53",locationName:a.itemAbnormal.locationName,deck:a.itemAbnormal.deckId,reasonRemarks:a.reasonValue,patrolStatus:a.itemAbnormal.patrolRecord?a.itemAbnormal.patrolRecord.patrolStatus:40,platCode:a.itemAbnormal.platformId,createdBy:a.itemAbnormal.created,deckName:a.itemAbnormal.deckName,patrolTime:a.patrolTime,location:a.itemAbnormal.locationId,id:a.itemAbnormal.patrolRecord?a.itemAbnormal.patrolRecord.id:"",chartUrl:a.chartUrl,voiceUrl:t.voiceUrl,patrolRealTime:a.itemAbnormal.patrolRecord?a.itemAbnormal.patrolRecord.patrolRealTime:""}).then((function(t){var i=t.data;console.log(i),0===i.code?(a.loading=!1,a.$emit("cloneAbnormal",!1),a.voiceUrl="",a.chartUrl="",a.fileList=[],a.reasonValue="",a.duration="",a.$notify({type:"success",message:"操作成功!"})):(a.loading=!1,a.$notify({type:"danger",message:i.msg}))}))}))}else this.$notify({type:"danger",message:"请输入异常原因"})},add:function(){this.$refs.child.recordItem()},clone:function(){this.$emit("cloneAbnormal",!1),this.voiceUrl="",this.chartUrl="",this.fileList=[],this.reasonValue="",this.duration="",this.$refs.child.cloneItem()},fileImage:function(){console.log(this.fileList)},close:function(){this.isEditor=!1},dataURLtoBlob:function(t){var a=t.split(","),i=a[0].match(/:(.*?);/)[1],o=window.atob(a[1]),e=o.length,r=new Uint8Array(e);while(e--)r[e]=o.charCodeAt(e);return new Blob([r],{type:i})}}},A=n,m=(i("1097"),i("2877")),d=Object(m["a"])(A,c,s,!1,null,"7b496086",null),p=d.exports,f=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"box"},[i("div",{staticClass:"header"},[i("van-icon",{attrs:{name:"arrow-left",color:"#fff"},on:{click:t.clone}}),t._v("特殊原因 ")],1),i("div",{staticClass:"radio"},[i("van-radio-group",{attrs:{direction:"horizontal"},model:{value:t.radio,callback:function(a){t.radio=a},expression:"radio"}},[i("van-radio",{attrs:{name:"区域隔离"}},[t._v("区域隔离")]),i("van-radio",{attrs:{name:"异常天气"}},[t._v("异常天气")]),i("van-radio",{attrs:{name:"其他"}},[t._v("其他")])],1)],1),i("van-button",{staticStyle:{width:"96%","border-radius":".05rem",margin:".1rem 0","font-size":".2rem",position:"absolute",bottom:"0",left:"2%"},attrs:{type:"info"},on:{click:t.add}},[t._v("提交")])],1)},u=[],g={name:"VueCli4VantSpecificCause",props:["itemASpecific","patrolTime"],data:function(){return{radio:"区域隔离"}},watch:{itemASpecific:function(t,a){console.log(t,a),t&&(this.itemASpecific=t)}},mounted:function(){},methods:{clone:function(){this.$emit("cloneSpecific",!1),this.radio="区域隔离"},add:function(){var t=this;console.log(),Object(r["k"])({isAbnormal:this.itemASpecific.patrolRecord?this.itemASpecific.patrolRecord.isAbnormal:20,updatedBy:"lixl53",locationName:this.itemASpecific.locationName,deck:this.itemASpecific.deckId,reasonRemarks:this.radio,patrolStatus:30,platCode:this.itemASpecific.platformId,createdBy:this.itemASpecific.created,deckName:this.itemASpecific.deckName,patrolTime:this.patrolTime,location:this.itemASpecific.locationId,id:this.itemASpecific.patrolRecord?this.itemASpecific.patrolRecord.id:"",chartUrl:"",voiceUrl:"",patrolRealTime:this.itemASpecific.patrolRecord?this.itemASpecific.patrolRecord.patrolRealTime:""}).then((function(a){var i=a.data;console.log(i),0===i.code?(t.$emit("cloneSpecific",!1),t.radio="区域隔离",t.$notify({type:"success",message:"操作成功!"})):t.$notify({type:"danger",message:i.msg})}))}}},h=g,v=(i("6f58"),Object(m["a"])(h,f,u,!1,null,"17b20cfa",null)),b=v.exports,S={name:"VueCli4VantParticulars",data:function(){return{isSpecial:!1,yellow:i("6e25"),green:i("58f1"),orange:i("3f72"),red:i("9d5b"),list:[],isHint:!1,advertList:[],isAbnormal:!1,isSpecific:!1,itemAbnormal:{}}},components:{Abnormal:p,SpecificCause:b},mounted:function(){this.getPdaPatrolLocationList()},methods:{getPdaPatrolLocationList:function(){var t=this;Object(r["e"])({platform:this.$route.query.platformId,startTime:this.$route.query.startTime}).then((function(a){var i=a.data;console.log(i),0===i.code?t.list=i.data:t.$notify({type:"danger",message:i.msg})}))},cloneAbnormal:function(t){this.isAbnormal=t,this.getPdaPatrolLocationList()},cloneSpecific:function(t){this.isSpecific=t,this.getPdaPatrolLocationList()},back:function(){this.$router.back()},anomaly:function(){this.isHint=!1,this.isAbnormal=!0},specific:function(){this.isHint=!1,this.isSpecific=!0},abnormal:function(t){this.itemAbnormal=t,this.isSpecial=!1,this.advertList=t.advertList,t.patrolRecord?40===t.patrolRecord.patrolStatus?(this.isSpecial=!0,this.isHint=!0):10===t.patrolRecord.patrolStatus&&10===t.patrolRecord.isAbnormal||(this.isHint=!0):(this.isSpecial=!0,this.isHint=!0)}}},R=S,w=(i("a699"),Object(m["a"])(R,o,e,!1,null,"6dbcd99b",null));a["default"]=w.exports},e74d:function(t,a,i){}}]);