webpackJsonp([20],{MWhe:function(t,i,s){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a={components:{},data:function(){return{fullHeight:document.documentElement.clientHeight-116,superviseList:{},tableData:[],loading:!1}},computed:{},watch:{fullHeight:function(t){if(!this.timer){this.fullHeight=t,this.timer=!0;var i=this;setTimeout(function(){i.timer=!1},400)}}},methods:{get_boderHeight:function(){var t=this;window.onresize=function(){return window.fullHeight=document.documentElement.clientHeight,void(t.fullHeight=window.fullHeight)}},detailsData:function(){var t=this;this.$axios({method:"POST",url:"/api/api_gateway?method=control_center.task.monitor_log_info",data:this.qs.stringify({record_id:this.$route.query.id})}).then(function(i){if(0!==i.data.data.total_item){var s=i.data.data;t.superviseList=s.monitor_info;var a=[];s.page_list.forEach(function(t){t.img_list=JSON.parse(t.img_list),a.push(t)}),t.tableData=a}t.loading=!1}).catch(function(i){t.loading=!1})}},created:function(){},mounted:function(){this.loading=!0,this.get_boderHeight(),this.detailsData()},beforeCreate:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},e={render:function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"superviseLogDetails_box"},[s("el-card",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],style:"height:"+t.fullHeight+"px"},[s("el-row",[s("el-col",{attrs:{span:24}},[s("div",{staticClass:"list_box"},[s("div",{staticClass:"list_tlt"},[s("span",[t._v("监测信息")])]),t._v(" "),s("ul",{staticClass:"list_ul"},[s("li",{staticClass:"list_li"},[s("div",{staticClass:"list_div"},[s("span",{staticClass:"list_div_tlt"},[t._v("监测人员：")]),t._v(" "),s("span",{staticClass:"list_div_val"},[t._v(t._s(t.superviseList.owner_user))])]),t._v(" "),s("div",{staticClass:"list_div"},[s("span",{staticClass:"list_div_tlt"},[t._v("监督时间：")]),t._v(" "),s("span",{staticClass:"list_div_val"},[t._v(t._s(t.superviseList.monitor_time))])]),t._v(" "),s("div",{staticClass:"list_div"},[s("span",{staticClass:"list_div_tlt"},[t._v("提交时间：")]),t._v(" "),s("span",{staticClass:"list_div_val"},[t._v(t._s(t.superviseList.create_time))])]),t._v(" "),s("div",{staticClass:"list_div"},[s("span",{staticClass:"list_div_tlt"},[t._v("天气：")]),t._v(" "),s("span",{staticClass:"list_div_val"},[t._v(t._s(t.superviseList.weather))])]),t._v(" "),s("div",{staticClass:"list_div"},[s("span",{staticClass:"list_div_tlt"},[t._v("监测地点：")]),t._v(" "),s("span",{staticClass:"list_div_val"},[t._v(t._s(t.superviseList.address))])])])])])]),t._v(" "),s("el-col",{attrs:{span:24}},[s("div",{staticClass:"list_box"},[s("div",{staticClass:"list_tlt"},[t._v("监测内容")]),t._v(" "),s("ul",{staticClass:"list_table_ul"},[s("li",{staticClass:"list_li"},[s("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData}},[s("el-table-column",{attrs:{prop:"title",label:"事项"}}),t._v(" "),s("el-table-column",{attrs:{prop:"message",label:"内容"}}),t._v(" "),s("el-table-column",{attrs:{prop:"img_list",label:"图像信息"},scopedSlots:t._u([{key:"default",fn:function(i){return[0!==i.row.img_list.length?s("span",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"span_img"},t._l(i.row.img_list,function(i){return s("img",{key:i,staticStyle:{width:"50px",height:"50px",margin:"0 10px 0 0"},attrs:{src:t.$imghost+i,alt:""}})}),0):s("span",[t._v("暂无图像信息")])]}}])})],1)],1)])])])],1)],1)],1)},staticRenderFns:[]};var l=s("VU/8")(a,e,!1,function(t){s("n1LW")},"data-v-2e574752",null);i.default=l.exports},n1LW:function(t,i){}});