webpackJsonp([14],{DiCx:function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"MonitorForm",props:{title:{type:String,default:""},labelWidth:{type:Number,default:10},layout:{type:Array,default:function(){return[]}},model:{type:Object,default:function(){return{}}}},data:function(){return{showImg:!1,curSrc:null}},methods:{handleView:function(t){this.curSrc=t,this.showImg=!0}}},n={render:function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("div",{staticClass:"monitor-form"},[t.title?l("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t._l(t.layout,function(e,i){return l("Row",{key:i,staticClass:"row"},t._l(e,function(e,i){return l("i-col",{key:i,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[l("div",{style:"text-align: "+(e.align||"right")+"; width:"+t.labelWidth+"rem;"},[t._v(t._s(e.label)+"：")]),t._v(" "),"img"==e.type&&t.model[i]?l("img",{attrs:{src:t.model[i]},on:{click:function(e){return t.handleView(t.model[i])}}}):l("div",{staticClass:"content"},[t._v(t._s(e.format?e.format(t.model[i]):t.model[i]||" "))])])}),1)}),t._v(" "),l("m-modal",{attrs:{title:"照片"},model:{value:t.showImg,callback:function(e){t.showImg=e},expression:"showImg"}},[t.showImg?l("img",{staticStyle:{width:"100%"},attrs:{src:t.curSrc}}):t._e()])],2)},staticRenderFns:[]};var r=l("VU/8")(i,n,!1,function(t){l("xMzO")},"data-v-6fc41c43",null);e.default=r.exports},xMzO:function(t,e){}});
//# sourceMappingURL=14.34a15952dacc14e451c5.js.map