webpackJsonp([12],{CC27:function(t,e){},DiCx:function(t,e,n){"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.$store.commit("SET_IMGVIEW_SRC",t),this.$store.commit("SET_IMGVIEW",!0)}}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"monitor-form"},[t.title?n("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t._l(t.layout,function(e,i){return n("Row",{key:i,staticClass:"row"},t._l(e,function(e,i){return n("i-col",{key:i,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[n("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]?[t._l(t.model[i].split(","),function(e){return e?n("img",{key:e,staticStyle:{"margin-right":"1rem"},attrs:{src:e},on:{click:function(n){return t.handleView(e)}}}):t._e()}),t._v(" "),t.model.done_photo?n("img",{staticStyle:{"margin-right":"1rem"},attrs:{src:t.model.done_photo},on:{click:function(e){return t.handleView(t.model.done_photo)}}}):t._e()]:n("div",{staticClass:"content"},[t._v(t._s(e.format?e.format(t.model[i]):t.model[i]||" "))])],2)}),1)})],2)},staticRenderFns:[]};var r=n("VU/8")(i,o,!1,function(t){n("CC27")},"data-v-669cef5b",null);e.default=r.exports}});
//# sourceMappingURL=12.469c013fd842cd20882f.js.map