(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ae9fc7fe"],{"0ab7":function(t,e,i){"use strict";i("60ce")},"5b1b":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"ids-patrol-info-root",staticStyle:{height:"100%",overflow:"auto",background:"#ededed"}},[e("div",{staticClass:"ids-patrol-info",staticStyle:{width:"100%",background:"#ffffff","margin-top":"5px"}},[e("div",{staticStyle:{"margin-top":"20px"}},[t._v("扫描结果："+t._s(t.scanResult))]),e("div",{staticStyle:{color:"red","margin-top":"20px"}},[t._v("设备信息：")]),t._m(0),e("div",{staticStyle:{color:"red","margin-top":"20px",height:"100px"}},[t._v("\n      检测项：判断题、选择题、填空题等\n    ")])]),e("v-layout",{attrs:{row:"",wrap:""}},[e("div",{staticStyle:{width:"100%",background:"#ffffff","margin-top":"5px"}},[e("v-flex",{attrs:{flat:"",xs12:""}},[e("div",[e("svg",{staticClass:"blue-block",attrs:{width:"0.4rem",height:"1.4rem"}},[e("rect",{staticStyle:{fill:"#eb1111"},attrs:{y:"0.1rem",width:"1px",height:"1.2rem"}})]),e("span",[t._v("上传凭证")])])]),e("iDSUploadPics",{staticStyle:{height:"40px","line-height":"40px"},attrs:{initFiles:t.files},on:{addFile:function(e){return t.addFile(e)},deleteFile:function(e){return t.deleteFile(e)}}})],1)])],1)},a=[function(){var t=this,e=t._self._c;return e("div",[e("div",[t._v("编码：001")]),e("div",[t._v("名称：搅拌机")]),e("div",[t._v("位置：")]),e("div",[t._v("型号：")]),e("div",[t._v("\n        型号、关键性、状态、制造商、供应商、生产日期、安装日期、图片、文档、附件、物料、设备参数、历史工单\n      ")])])}],s=i("897d"),o=i.n(s),l=i("4532"),c=i("aed0"),r=i("27c7"),u={name:"iDS-PatrolInfo",components:{PullTo:o.a,iDSUploadPics:r["a"]},data:function(){return{files:[],resList:null,buttons:[{disabled:!1,loading:!1,title:"异常反馈",func:null,params:""},{disabled:!1,loading:!1,title:"报修",func:null,params:""},{disabled:!1,loading:!1,title:"正常",func:null,params:""}]}},computed:{height:function(){return"calc(".concat(window.innerHeight,"px - 48px - 36px ")+")"}},methods:{addFile:function(t){this.files.push(t)},deleteFile:function(t){this.files.splice(t,1)},onReport:function(){alert("异常反馈 正在建设中......")},onRepair:function(){alert("报修 正在建设中......")},onConfirm:function(){alert("正常 正在建设中......")},addClickEvent:function(t){for(var e in t)switch(t[e].title){case"异常反馈":t[e].func=this.onReport;break;case"报修":t[e].func=this.onRepair;break;case"正常":t[e].func=this.onConfirm;break}return t},changeView:function(){if(l["a"].vm.setTitle("巡检信息"),l["a"].vm.setBackDisabled(!1),l["a"].vm.setBackSpecialRoute(l["a"].vm.getHomePageRoute()),l["a"].vm.setBackIcon("arrow_back"),l["a"].vm.setMsgInputVisible(!1),l["a"].vm.setMenuDisabled(!0),l["a"].vm.setBottomNavVisible(!1),l["a"].vm.setBottomBtnVisible(!0),null!==this.buttons){var t=c["a"].getCopy(this.buttons);l["a"].vm.setBottomBtn({value:this.addClickEvent(t)})}l["a"].vm.setContentHeight({value:"calc(".concat(window.innerHeight,"px - 48px ")+")"})}},created:function(){console.log("调试代码"),null!=l["a"].vm.getUserToken()&&null!=l["a"].vm.getUserId()?(this.scanResult=this.$route.params.scanResult,this.changeView()):window.location.href="/"},mounted:function(){},beforeDestroy:function(){l["a"].vm.setMenuDisabled(!0),l["a"].vm.setMenuItems([]),l["a"].vm.setMenuIcon(""),this.recorder.destroy()}},d=u,f=(i("0ab7"),i("2877")),v=Object(f["a"])(d,n,a,!1,null,null,null);e["default"]=v.exports},"60ce":function(t,e,i){}}]);