webpackJsonp([10],{DiCx:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={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)}}},i={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"monitor-form"},[t.title?o("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t._l(t.layout,function(e,n){return o("Row",{key:n,staticClass:"row"},t._l(e,function(e,n){return o("i-col",{key:n,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[o("div",{style:"text-align: "+(e.align||"right")+"; width:"+t.labelWidth+"rem;"},[t._v(t._s(e.label)+"：")]),t._v(" "),"img"==e.type&&(t.model[n]||t.model.done_photo)?[t._l(t.model[n].split(","),function(e){return e?o("img",{key:e,staticStyle:{"margin-right":"1rem"},attrs:{src:e},on:{click:function(o){return t.handleView(e)}}}):t._e()}),t._v(" "),t.model.done_photo?o("img",{staticStyle:{"margin-right":"1rem"},attrs:{src:t.model.done_photo},on:{click:function(e){return t.handleView(t.model.done_photo)}}}):t._e()]:o("div",{staticClass:"content"},[t._v(t._s(e.format?e.format(t.model[n]):t.model[n]||" "))])],2)}),1)})],2)},staticRenderFns:[]};var r=o("VU/8")(n,i,!1,function(t){o("p8DG")},"data-v-b3823278",null);e.default=r.exports},p8DG:function(t,e){}});
//# sourceMappingURL=10.3bc8ba3be9d993618346.js.map