chunk-f5ab4f6e.7b635682.js 16 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f5ab4f6e"],{"04a9":function(t,a,i){},"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/m6HRQYQtwSs6HNQ6srwQe70wvj2LeDfbscw1sVo/kiPj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ral5BMvgHbHhN9z4IuD3R1YwRA+YNphci6us0Ihb4CUdMyhY14/DBM83fXMNzgAE1GOvdRDj+7TfB42iFJLfnrsjPIOS5se9JtVGmH+NPUVKcBoF48iaCqvZDlXSVAtj0BXX8djGXEo4qUToecLk12HgQx4fXJPfX1e+GRNLDFDhEIOZaGYfwCgG9v7kcBKN+l26KMofQor5Dp9W6Hz/cSGOPFGYi8SKe/RSZz0T1J4aMXWSORjqBlIyaaJknNaGl5E02NzwLwYGHhLFLXepDNxkUjbtKVdIjPTkx0dAN4t+bEVRpvAuJ54xPt5wE8tsrsmuxlgRyo8bYJABtrSl2FaUUgnjk23jYKYNMq8l1bKwLloVovAHjEdXKNhqpADtRYqJuB1uRHFwLiUKOj4VYQBgEEanx5IZsw0FLa6Gj4EAP7CECjUAWXItdARWD7GNinANpc1qworxmoOHVkJNBFRMcBbAGgiN7Ry5H9B0Q6hr0q5mSuAAAAAElFTkSuQmCC"},"7e24":function(t,a,i){"use strict";i("64de")},"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=="},a47c:function(t,a,i){},b1a3:function(t,a,i){"use strict";i("a47c")},db3d:function(t,a,i){"use strict";i.r(a);var e=function(){var t=this,a=t._self._c;return a("div",{staticClass:"layout"},[a("div",{staticClass:"itemAlert"},[a("van-icon",{attrs:{name:"arrow-left",color:"#fff"},on:{click:t.back}}),t._v("巡检详情 ")],1),a("div",{staticClass:"content"},[a("p",{staticStyle:{"font-size":"14px"}},[t._v(" "+t._s(this.$route.query.startTime)+" - "+t._s(this.$route.query.endTime)+" ")]),a("ul",{staticStyle:{overflow:"auto"}},t._l(t.list,(function(i,e){return a("li",{key:e,staticClass:"item",on:{click:function(a){return t.abnormal(i)}}},[a("div",{staticStyle:{"text-align":"right"}},[i.patrolRecord?20===i.patrolRecord.patrolStatus&&10===i.patrolRecord.isAbnormal?a("img",{staticClass:"icon",attrs:{src:t.green,alt:""}}):30===i.patrolRecord.patrolStatus&&10===i.patrolRecord.isAbnormal?a("img",{staticClass:"icon",attrs:{src:t.orange,alt:""}}):40===i.patrolRecord.patrolStatus&&10===i.patrolRecord.isAbnormal?a("img",{staticClass:"icon",attrs:{src:t.yellow,alt:""}}):40===i.patrolRecord.patrolStatus&&20===i.patrolRecord.isAbnormal||20==i.patrolRecord.patrolStatus&&20==i.patrolRecord.isAbnormal||30==i.patrolRecord.patrolStatus&&20==i.patrolRecord.isAbnormal?a("img",{staticClass:"icon",attrs:{src:t.red,alt:""}}):10==i.patrolRecord.patrolStatus?a("img",{staticClass:"icon",attrs:{src:t.yellow,alt:""}}):t._e():a("img",{staticClass:"icon",attrs:{src:t.yellow,alt:""}})]),a("div",{staticClass:"text"},[t._v(t._s(i.locationName))]),a("span",{staticClass:"ogfName"},[t._v(t._s(i.ogfName))]),a("p",[t._v(" 状态: "),i.patrolRecord?40==i.patrolRecord.patrolStatus?a("span",[t._v("--")]):10==i.patrolRecord.patrolStatus?a("span",[t._v("未巡检")]):20==i.patrolRecord.patrolStatus&&10==i.patrolRecord.isAbnormal||20==i.patrolRecord.patrolStatus&&20==i.patrolRecord.isAbnormal?a("span",[t._v("已巡检")]):30==i.patrolRecord.patrolStatus&&20==i.patrolRecord.isAbnormal||30==i.patrolRecord.patrolStatus&&10==i.patrolRecord.isAbnormal?a("span",[t._v("无法打卡")]):t._e():a("span",[t._v("--")])])])})),0)]),a("van-dialog",{attrs:{"show-confirm-button":!1},model:{value:t.isHint,callback:function(a){t.isHint=a},expression:"isHint"}},[a("div",{staticClass:"alert"},[a("div",{staticStyle:{"font-size":".26rem","text-align":"left"}},[a("van-icon",{attrs:{name:"qr"}}),a("span",{staticStyle:{"margin-left":".1rem","font-size":".22rem"}},[t._v("提示")])],1),a("div",{staticClass:"text"},t._l(t.advertList,(function(i,e){return a("p",{key:e,staticStyle:{margin:".05rem","text-align":"left"}},[t._v(" "+t._s(i)+" ")])})),0),a("div",{staticClass:"foot"},[a("div",{staticClass:"left"},[a("span",{on:{click:function(a){t.isHint=!1}}},[t._v("关闭")])]),a("div",{staticClass:"right"},[a("span",{on:{click:t.anomaly}},[t._v("异常")]),t.isSpecial?a("span",{staticStyle:{"margin-left":".3rem"},on:{click:t.specific}},[t._v("特殊原因")]):t._e()])])])]),a("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}}),a("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)},o=[],s=i("c761"),r=function(){var t=this,a=t._self._c;return a("div",{staticClass:"abnormal"},[a("div",{staticClass:"header"},[a("van-icon",{attrs:{name:"arrow-left",color:"#fff"},on:{click:t.clone}}),t._v("异常上报 ")],1),a("div",{staticClass:"textContent"},[a("Record",{ref:"child",on:{recordItem:t.recordItem}}),a("div",{staticClass:"reason"},[a("van-field",{staticStyle:{"border-bottom":"1px solid #ccc"},attrs:{placeholder:"请输入异常原因"},model:{value:t.reasonValue,callback:function(a){t.reasonValue=a},expression:"reasonValue"}}),a("p",{staticStyle:{height:".1rem"}})],1)],1),a("van-button",{staticStyle:{width:"96%","border-radius":".05rem",margin:".1rem 0","font-size":".2rem"},attrs:{type:"info"},on:{click:t.add}},[t._v("提交")])],1)},l=[],c=(i("14d9"),i("907a"),i("986a"),i("1d02"),i("3c5d"),i("6ce5"),i("2834"),i("4ea1"),i("669d"),i("109c"),i("b2c1"),i("b7ef"),i("2113")),n={name:"VueCli4VantAbnormal",props:["itemAbnormal","patrolTime"],data(){return{loading:!1,isEditor:!1,fileList:[],loop:"",btRecoding:!1,blackBoxSpeak:!1,startY:"",recorder:"",duration:"",player:!1,reasonValue:"",voiceUrl:"",chartUrl:"",index:null}},watch:{itemAbnormal(t,a){t&&(this.itemAbnormal=t)}},components:{Record:c["a"]},created(){},mounted(){},methods:{recordItem(t){if(console.log(t),this.reasonValue){this.loading=!0,this.chartUrl="";const a=[];t.fileList.forEach((t,i)=>{const e=new window.File([this.dataURLtoBlob(t.content)],`异常上报${i}.jpg`,{type:"jpg"});console.log(e);var o=new FormData;o.append("file",e),o.append("moduleName","emergency"),a.push(Object(s["y"])(o))}),Promise.all(a).then(a=>{console.log(a),a.forEach((t,a)=>{this.chartUrl+=a?","+t.data.msg:t.data.msg}),console.log(this.chartUrl),Object(s["savePdaPatrolLocation"])({isAbnormal:20,updatedBy:"lixl53",locationName:this.itemAbnormal.locationName,deck:this.itemAbnormal.deckId,reasonRemarks:this.reasonValue,patrolStatus:this.itemAbnormal.patrolRecord?this.itemAbnormal.patrolRecord.patrolStatus:40,platCode:this.itemAbnormal.platformId,createdBy:this.itemAbnormal.created,deckName:this.itemAbnormal.deckName,patrolTime:this.patrolTime,location:this.itemAbnormal.locationId,id:this.itemAbnormal.patrolRecord?this.itemAbnormal.patrolRecord.id:"",chartUrl:this.chartUrl,voiceUrl:t.voiceUrl,patrolRealTime:this.itemAbnormal.patrolRecord?this.itemAbnormal.patrolRecord.patrolRealTime:""}).then(({data:t})=>{console.log(t),0===t.code?(this.loading=!1,this.$emit("cloneAbnormal",!1),this.voiceUrl="",this.chartUrl="",this.fileList=[],this.reasonValue="",this.duration="",this.$notify({type:"success",message:"操作成功!"})):(this.loading=!1,this.$notify({type:"danger",message:t.msg}))})})}else this.$notify({type:"danger",message:"请输入异常原因"})},add(){this.$refs.child.recordItem()},clone(){this.$emit("cloneAbnormal",!1),this.voiceUrl="",this.chartUrl="",this.fileList=[],this.reasonValue="",this.duration="",this.$refs.child.cloneItem()},fileImage(){console.log(this.fileList)},close(){this.isEditor=!1},dataURLtoBlob(t){var a=t.split(",");const i=a[0].match(/:(.*?);/)[1],e=window.atob(a[1]);let o=e.length;const s=new Uint8Array(o);while(o--)s[o]=e.charCodeAt(o);return new Blob([s],{type:i})}}},A=n,m=(i("dcb9"),i("2877")),d=Object(m["a"])(A,r,l,!1,null,"cf6ec6f8",null),p=d.exports,h=function(){var t=this,a=t._self._c;return a("div",{staticClass:"box"},[a("div",{staticClass:"header"},[a("van-icon",{attrs:{name:"arrow-left",color:"#fff"},on:{click:t.clone}}),t._v("特殊原因 ")],1),a("div",{staticClass:"radio"},[a("van-radio-group",{attrs:{direction:"horizontal"},model:{value:t.radio,callback:function(a){t.radio=a},expression:"radio"}},[a("van-radio",{attrs:{name:"区域隔离"}},[t._v("区域隔离")]),a("van-radio",{attrs:{name:"异常天气"}},[t._v("异常天气")]),a("van-radio",{attrs:{name:"其他"}},[t._v("其他")])],1)],1),a("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)},f=[],u={name:"VueCli4VantSpecificCause",props:["itemASpecific","patrolTime"],data(){return{radio:"区域隔离"}},watch:{itemASpecific(t,a){console.log(t,a),t&&(this.itemASpecific=t)}},mounted(){},methods:{clone(){this.$emit("cloneSpecific",!1),this.radio="区域隔离"},add(){console.log(),Object(s["savePdaPatrolLocation"])({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(({data:t})=>{console.log(t),0===t.code?(this.$emit("cloneSpecific",!1),this.radio="区域隔离",this.$notify({type:"success",message:"操作成功!"})):this.$notify({type:"danger",message:t.msg})})}}},g=u,b=(i("b1a3"),Object(m["a"])(g,h,f,!1,null,"9ca8f490",null)),v=b.exports,S={name:"VueCli4VantParticulars",data(){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:v},mounted(){this.getPdaPatrolLocationList()},methods:{getPdaPatrolLocationList(){Object(s["getPdaPatrolLocationList"])({platform:this.$route.query.platformId,startTime:this.$route.query.startTime}).then(({data:t})=>{console.log(t),0===t.code?this.list=t.data:this.$notify({type:"danger",message:t.msg})})},cloneAbnormal(t){this.isAbnormal=t,this.getPdaPatrolLocationList()},cloneSpecific(t){this.isSpecific=t,this.getPdaPatrolLocationList()},back(){this.$router.back()},anomaly(){this.isHint=!1,this.isAbnormal=!0},specific(){this.isHint=!1,this.isSpecific=!0},abnormal(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("7e24"),Object(m["a"])(R,e,o,!1,null,"799deb6b",null));a["default"]=w.exports},dcb9:function(t,a,i){"use strict";i("04a9")}}]);