(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-4c93"],{agMU:function(i,t,e){"use strict";e.r(t);var s=e("omC7"),a=e.n(s),o={name:"index",data:function(){return{reviewInfoDialog:!1,dialogVisible:!1,dialogImageUrl:"",activities:[]}},methods:{openReviewInfo:function(i){for(var t in this.reviewInfoDialog=!0,this.activities=JSON.parse(a()(i.taskReviews)),this.activities)null!==this.activities[t].pictures&&0!==this.activities[t].pictures.length&&(this.activities[t].pictures=this.activities[t].pictures.map(function(i){return"https://sinanoaq.cn:8100/upload/"+i})),this.activities[t].autograph="https://sinanoaq.cn:8100/upload/"+this.activities[t].autograph},showPic:function(i){this.dialogVisible=!0,this.dialogImageUrl=i}}},n=(e("o158"),e("ZrdR")),l=Object(n.a)(o,function(){var i=this,t=i.$createElement,e=i._self._c||t;return e("el-dialog",{attrs:{title:"审批",visible:i.reviewInfoDialog,"modal-append-to-body":!1,"close-on-click-modal":!1,width:"50%"},on:{"update:visible":function(t){i.reviewInfoDialog=t}}},[e("div",{staticClass:"block"},[e("el-timeline",i._l(i.activities,function(t,s){return e("el-timeline-item",{key:s,attrs:{color:"#0bbd87",size:t.size,timestamp:t.reviewat}},[e("div",{staticStyle:{"padding-bottom":"10px","font-weight":"bolder"}},[i._v(i._s(t.level))]),i._v(" "),e("el-card",[e("el-row",[e("el-col",{attrs:{span:2}},[e("div",[i._v("签字:")])]),i._v(" "),e("el-col",{attrs:{span:22}},[e("img",{staticStyle:{width:"40px",height:"40px","margin-left":"10px",cursor:"pointer"},attrs:{src:t.autograph},on:{click:function(e){i.showPic(t.autograph)}}})])],1),i._v(" "),e("el-row",[e("span",[i._v("现场图:")]),i._v(" "),i._l(t.pictures,function(t,s){return e("img",{key:s,staticStyle:{width:"40px",height:"40px","margin-left":"10px",cursor:"pointer"},attrs:{slot:"reference",src:t.url},on:{click:function(t){i.showPic()}},slot:"reference"})})],2)],1)],1)}))],1),i._v(" "),e("el-dialog",{attrs:{visible:i.dialogVisible,"append-to-body":!0},on:{"update:visible":function(t){i.dialogVisible=t}}},[e("img",{attrs:{width:"100%",src:i.dialogImageUrl,alt:""}})])],1)},[],!1,null,"79536e74",null);l.options.__file="index.vue";t.default=l.exports},o158:function(i,t,e){"use strict";var s=e("zeJu");e.n(s).a},zeJu:function(i,t,e){}}]);
|