(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-9479"],{"2RJc":function(e,t,a){},iWEz:function(e,t,a){"use strict";var r=a("2RJc");a.n(r).a},"r08/":function(e,t,a){"use strict";a.r(t);a("X4fA");var r={name:"reportView",data:function(){return{title:"",imgUrls:[],imgUrls2:[],imgPreviewUrls:[],imgPreviewUrls2:[],dialogFormVisible:!1,listLoading:!0,levels:[{key:"URGENT",value:"紧急"},{key:"COMMON",value:"普通"}],dataForm:{}}},methods:{showDialog:function(e,t){this.title=e,this.dataForm.status=t.status,this.dataForm.level=t.level,this.imgUrls=t.reportResources.map(function(e){return{url:"http://222.92.213.21:8006/zhongtai_demo/upload/"+e.url,name:e.id}}),this.imgPreviewUrls=t.reportResources.map(function(e){return"http://222.92.213.21:8006/zhongtai_demo/upload/"+e.url}),this.imgUrls2=t.rectifyResources.map(function(e){return{url:"http://222.92.213.21:8006/zhongtai_demo/upload/"+e.url,name:e.id}}),this.imgPreviewUrls2=t.rectifyResources.map(function(e){return"http://222.92.213.21:8006/zhongtai_demo/upload/"+e.url}),this.dataForm.rectifynote=t.rectifynote,this.dataForm.createnote=t.createnote,this.dataForm.rectifymeasure=t.rectifymeasure,this.dataForm.rectifydeadline=t.rectifydeadline,this.dataForm.rejectnote=t.rejectnote,this.dataForm.rectifier=t.rectifier,this.dialogFormVisible=!0}}},i=(a("iWEz"),a("ZrdR")),l=Object(i.a)(r,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.title,visible:e.dialogFormVisible,top:"25px","modal-append-to-body":!1,"close-on-click-modal":!1,width:"800px"},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("el-form",{ref:"dataForm",attrs:{model:e.dataForm,"label-position":"right","label-width":"140px","element-loading-text":"保存中..."}},[a("el-form-item",{attrs:{label:"隐患级别:"}},[a("el-input",{staticStyle:{width:"205px"},attrs:{placeholder:"请选择",readonly:!0},model:{value:e.dataForm.level,callback:function(t){e.$set(e.dataForm,"level",t)},expression:"dataForm.level"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"整改人:"}},[a("el-input",{staticStyle:{width:"205px"},attrs:{placeholder:"请选择",readonly:!0},model:{value:e.dataForm.rectifier,callback:function(t){e.$set(e.dataForm,"rectifier",t)},expression:"dataForm.rectifier"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"整改期限:"}},[a("el-date-picker",{attrs:{type:"datetime",readonly:!0,format:"yyyy-MM-dd HH:mm","value-format":"yyyy-MM-dd HH:mm"},model:{value:e.dataForm.rectifydeadline,callback:function(t){e.$set(e.dataForm,"rectifydeadline",t)},expression:"dataForm.rectifydeadline"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"整改措施:"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{type:"textarea",rows:3,readonly:!0},model:{value:e.dataForm.rectifymeasure,callback:function(t){e.$set(e.dataForm,"rectifymeasure",t)},expression:"dataForm.rectifymeasure"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"上报说明:"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{type:"textarea",rows:3,readonly:!0},model:{value:e.dataForm.createnote,callback:function(t){e.$set(e.dataForm,"createnote",t)},expression:"dataForm.createnote"}})],1),e._v(" "),e.imgUrls.length>0?a("el-form-item",{attrs:{label:"上报图片:"}},e._l(e.imgUrls,function(t){return a("el-image",{key:t.id,staticClass:"upload-img img-wrapper",attrs:{src:t.url,"preview-src-list":e.imgPreviewUrls}})})):e._e(),e._v(" "),"待整改"!==this.dataForm.status?a("el-form-item",{attrs:{label:"整改说明:"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{type:"textarea",rows:3,readonly:!0},model:{value:e.dataForm.rectifynote,callback:function(t){e.$set(e.dataForm,"rectifynote",t)},expression:"dataForm.rectifynote"}})],1):e._e(),e._v(" "),"待整改"!==this.dataForm.status&&e.imgUrls2.length>0?a("el-form-item",{attrs:{label:"整改图片:"}},e._l(e.imgUrls2,function(t){return a("el-image",{key:t.id,staticClass:"upload-img img-wrapper",attrs:{src:t.url,"preview-src-list":e.imgPreviewUrls2}})})):e._e(),e._v(" "),"驳回待整改"===this.dataForm.status?a("el-form-item",{attrs:{label:"驳回原因:"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{type:"textarea",rows:3,readonly:!0},model:{value:e.dataForm.rejectnote,callback:function(t){e.$set(e.dataForm,"rejectnote",t)},expression:"dataForm.rejectnote"}})],1):e._e()],1)],1)},[],!1,null,"570131b1",null);l.options.__file="reportView.vue";t.default=l.exports}}]);
|