(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-59ba"],{"+XGL":function(i,t,e){"use strict";var a=e("9VTv");e.n(a).a},"9VTv":function(i,t,e){},agMU:function(i,t,e){"use strict";e.r(t);var a=e("omC7"),s=e.n(a),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(s()(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"http://222.92.213.21:8006/zhongtai/upload/"+i})),this.activities[t].autograph="http://222.92.213.21:8006/zhongtai/upload/"+this.activities[t].autograph},showPic:function(i){this.dialogVisible=!0,this.dialogImageUrl=i}}},n=(e("+XGL"),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,a){return e("el-timeline-item",{key:a,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,a){return e("img",{key:a,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,"1d957f20",null);l.options.__file="index.vue";t.default=l.exports}}]);
|