Commit 9061c6c5 authored by 郭铭瑶's avatar 郭铭瑶 🤘

更新智能发现图片链接

parent 10beeb7d
<!DOCTYPE html><html id=html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta http-equiv=X-UA-Compatible content="IE=edge, chrome=1"><title>浦东新区智慧物业管理微平台</title><style>html {
font-size: 1.6vh;
}</style><script src=./static/jquery.min.js></script><link href=./static/css/app.51af0cfcc05b3487574e4bd76093172b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3a3c806fd10b1103aac0.js></script><script type=text/javascript src=./static/js/vendor.d11eae825e5c4a0e0bb2.js></script><script type=text/javascript src=./static/js/app.796eec06468708e61af3.js></script></body></html>
\ No newline at end of file
}</style><script src=./static/jquery.min.js></script><link href=./static/css/app.282f1da3436ba9ed688ec349c23ea477.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.dcbd35dd1e6163a83fb1.js></script><script type=text/javascript src=./static/js/vendor.d11eae825e5c4a0e0bb2.js></script><script type=text/javascript src=./static/js/app.796eec06468708e61af3.js></script></body></html>
\ No newline at end of file
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
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/MonitorComponents/MonitorForm/monitor-form.vue","webpack:///./src/components/MonitorComponents/MonitorForm/monitor-form.vue?a33c","webpack:///./src/components/MonitorComponents/MonitorForm/monitor-form.vue"],"names":["monitor_form","name","props","title","type","String","default","labelWidth","Number","layout","Array","model","Object","data","showImg","curSrc","methods","handleView","src","this","MonitorForm_monitor_form","render","_vm","_h","$createElement","_c","_self","staticClass","_v","_s","_e","_l","row","rowIndex","key","col","attrs","span","width","offset","style","align","label","on","click","$event","format","value","callback","$$v","expression","staticStyle","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"sGAiBA,IAAAA,GACAC,KAAA,cACAC,OACAC,OACAC,KAAAC,OACAC,QAAA,IAEAC,YACAH,KAAAI,OACAF,QAAA,IAEAG,QACAL,KAAAM,MACAJ,QAFA,WAGA,WAGAK,OACAP,KAAAQ,OACAN,QAFA,WAGA,YAIAO,KAxBA,WAyBA,OACAC,SAAA,EACAC,OAAA,OAGAC,SACAC,WADA,SACAC,GACAC,KAAAJ,OAAAG,EACAC,KAAAL,SAAA,KC/CeM,GADEC,OAFjB,WAA0B,IAAAC,EAAAH,KAAaI,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BL,EAAA,MAAAG,EAAA,KAAsBE,YAAA,UAAoBL,EAAAM,GAAAN,EAAAO,GAAAP,EAAAnB,UAAAmB,EAAAQ,KAAAR,EAAAM,GAAA,KAAAN,EAAAS,GAAAT,EAAA,gBAAAU,EAAAC,GAA8F,OAAAR,EAAA,OAAiBS,IAAAD,EAAAN,YAAA,OAA+BL,EAAAS,GAAA,WAAAI,EAAAD,GAAgC,OAAAT,EAAA,SAAmBS,MAAAP,YAAA,MAAAS,OAAiCC,KAAAF,EAAAG,MAAAC,OAAAJ,EAAAI,QAAA,KAA2Cd,EAAA,OAAYe,MAAA,gBAAAL,EAAAM,OAAA,oBAAoDnB,EAAAf,WAAA,SAAqCe,EAAAM,GAAAN,EAAAO,GAAAM,EAAAO,OAAA,OAAApB,EAAAM,GAAA,YAAAO,EAAA/B,MAAAkB,EAAAX,MAAAuB,GAAAT,EAAA,OAA8FW,OAAOlB,IAAAI,EAAAX,MAAAuB,IAAqBS,IAAKC,MAAA,SAAAC,GAAyB,OAAAvB,EAAAL,WAAAK,EAAAX,MAAAuB,QAAwCT,EAAA,OAAYE,YAAA,YAAsBL,EAAAM,GAAAN,EAAAO,GAAAM,EAAAW,OAAAX,EAAAW,OAAAxB,EAAAX,MAAAuB,IAAAZ,EAAAX,MAAAuB,IAAA,YAAkF,KAAKZ,EAAAM,GAAA,KAAAH,EAAA,WAA4BW,OAAOjC,MAAA,MAAaQ,OAAQoC,MAAAzB,EAAA,QAAA0B,SAAA,SAAAC,GAA6C3B,EAAAR,QAAAmC,GAAgBC,WAAA,aAAuB5B,EAAA,QAAAG,EAAA,OAA0B0B,aAAab,MAAA,QAAeF,OAAQlB,IAAAI,EAAAP,UAAkBO,EAAAQ,QAAA,IAEriCsB,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEvD,EACAoB,GATF,EAVA,SAAAoC,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/14.34a15952dacc14e451c5.js","sourcesContent":["<template>\n <div class=\"monitor-form\">\n <p v-if=\"title\" class=\"title\">{{title}}</p>\n <Row class=\"row\" v-for=\"(row, rowIndex) in layout\" :key=\"rowIndex\">\n <i-col class=\"col\" v-for=\"(col, key) in row\" :key=\"key\" :span=\"col.width\" :offset=\"col.offset || 0\">\n <div :style=\"`text-align: ${col.align || 'right'}; width:${labelWidth}rem;`\">{{col.label}}:</div>\n <img v-if=\"col.type == 'img' && model[key]\" @click=\"handleView(model[key])\" :src=\"model[key]\"/>\n <div v-else class=\"content\">{{col.format?col.format(model[key]):(model[key]||' ')}}</div>\n </i-col>\n </Row>\n <m-modal v-model=\"showImg\" title=\"照片\">\n <img v-if=\"showImg\" style=\"width:100%;\" :src=\"curSrc\"/>\n </m-modal>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'MonitorForm',\n props: {\n title: {\n type: String,\n default: '',\n },\n labelWidth: {\n type: Number,\n default: 10,\n },\n layout: {\n type: Array,\n default() {\n return []\n }\n },\n model: {\n type: Object,\n default() {\n return {}\n }\n }\n },\n data() {\n return {\n showImg: false,\n curSrc: null,\n }\n },\n methods: {\n handleView(src) {\n this.curSrc = src\n this.showImg = true\n }\n }\n}\n</script>\n\n<style lang=\"stylus\" scoped>\n.monitor-form\n font-size 1rem\n color #fff\n margin-bottom 1rem\n .title\n font-size 1.2rem\n font-weight bold\n color $edgeColor\n padding-bottom 0.5rem\n margin-bottom 1rem\n border-bottom 0.1rem solid $color-map()\n .row\n line-height 3rem\n &:nth-child(2n)\n background-color $color-map(0.15)\n .col\n display flex\n align-items center\n padding 0 1rem\n .content\n flex 1\n img\n width 25%\n height 5rem\n margin 0.5rem 0\n cursor pointer\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/MonitorComponents/MonitorForm/monitor-form.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"monitor-form\"},[(_vm.title)?_c('p',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.layout),function(row,rowIndex){return _c('Row',{key:rowIndex,staticClass:\"row\"},_vm._l((row),function(col,key){return _c('i-col',{key:key,staticClass:\"col\",attrs:{\"span\":col.width,\"offset\":col.offset || 0}},[_c('div',{style:((\"text-align: \" + (col.align || 'right') + \"; width:\" + _vm.labelWidth + \"rem;\"))},[_vm._v(_vm._s(col.label)+\":\")]),_vm._v(\" \"),(col.type == 'img' && _vm.model[key])?_c('img',{attrs:{\"src\":_vm.model[key]},on:{\"click\":function($event){return _vm.handleView(_vm.model[key])}}}):_c('div',{staticClass:\"content\"},[_vm._v(_vm._s(col.format?col.format(_vm.model[key]):(_vm.model[key]||' ')))])])}),1)}),_vm._v(\" \"),_c('m-modal',{attrs:{\"title\":\"照片\"},model:{value:(_vm.showImg),callback:function ($$v) {_vm.showImg=$$v},expression:\"showImg\"}},[(_vm.showImg)?_c('img',{staticStyle:{\"width\":\"100%\"},attrs:{\"src\":_vm.curSrc}}):_vm._e()])],2)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-6fc41c43\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/MonitorComponents/MonitorForm/monitor-form.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-6fc41c43\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!stylus-loader?{\\\"import\\\":[\\\"/Users/MrGuo/Desktop/wisdom-property/src/assets/css/variables.styl\\\"],\\\"path\\\":[\\\"/Users/MrGuo/Desktop/wisdom-property/src/assets\\\",\\\"/Users/MrGuo/Desktop/wisdom-property/\\\"],\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./monitor-form.vue\")\n}\nvar normalizeComponent = require(\"!../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-form.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-form.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-6fc41c43\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./monitor-form.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-6fc41c43\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/MonitorComponents/MonitorForm/monitor-form.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([14],{DiCx:function(t,e,i){"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.curSrc=t,this.showImg=!0}}},o={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monitor-form"},[t.title?i("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t._l(t.layout,function(e,n){return i("Row",{key:n,staticClass:"row"},t._l(e,function(e,n){return i("i-col",{key:n,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[i("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._l(t.model[n].split(","),function(e){return i("img",{key:e,staticStyle:{"margin-right":"1rem"},attrs:{src:e},on:{click:function(i){return t.handleView(e)}}})}),t._v(" "),t.model.done_photo?i("img",{staticStyle:{"margin-right":"1rem"},attrs:{src:t.model.done_photo},on:{click:function(e){return t.handleView(t.model.done_photo)}}}):t._e()]:i("div",{staticClass:"content"},[t._v(t._s(e.format?e.format(t.model[n]):t.model[n]||" "))])],2)}),1)}),t._v(" "),i("m-modal",{attrs:{title:"照片"},model:{value:t.showImg,callback:function(e){t.showImg=e},expression:"showImg"}},[t.showImg?i("img",{staticStyle:{width:"100%","max-height":"23rem"},attrs:{src:t.curSrc}}):t._e()])],2)},staticRenderFns:[]};var r=i("VU/8")(n,o,!1,function(t){i("dtfL")},"data-v-6dd4cb1f",null);e.default=r.exports},dtfL:function(t,e){}});
//# sourceMappingURL=14.ccceec5b9e6bf9eb43fd.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/MonitorComponents/MonitorForm/monitor-form.vue","webpack:///./src/components/MonitorComponents/MonitorForm/monitor-form.vue?5f4c","webpack:///./src/components/MonitorComponents/MonitorForm/monitor-form.vue"],"names":["monitor_form","name","props","title","type","String","default","labelWidth","Number","layout","Array","model","Object","data","showImg","curSrc","methods","handleView","src","this","MonitorForm_monitor_form","render","_vm","_h","$createElement","_c","_self","staticClass","_v","_s","_e","_l","row","rowIndex","key","col","attrs","span","width","offset","style","align","label","split","img","staticStyle","margin-right","on","click","$event","format","value","callback","$$v","expression","max-height","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"sGAqBA,IAAAA,GACAC,KAAA,cACAC,OACAC,OACAC,KAAAC,OACAC,QAAA,IAEAC,YACAH,KAAAI,OACAF,QAAA,IAEAG,QACAL,KAAAM,MACAJ,QAFA,WAGA,WAGAK,OACAP,KAAAQ,OACAN,QAFA,WAGA,YAIAO,KAxBA,WAyBA,OACAC,SAAA,EACAC,OAAA,OAGAC,SACAC,WADA,SACAC,GACAC,KAAAJ,OAAAG,EACAC,KAAAL,SAAA,KCnDeM,GADEC,OAFjB,WAA0B,IAAAC,EAAAH,KAAaI,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BL,EAAA,MAAAG,EAAA,KAAsBE,YAAA,UAAoBL,EAAAM,GAAAN,EAAAO,GAAAP,EAAAnB,UAAAmB,EAAAQ,KAAAR,EAAAM,GAAA,KAAAN,EAAAS,GAAAT,EAAA,gBAAAU,EAAAC,GAA8F,OAAAR,EAAA,OAAiBS,IAAAD,EAAAN,YAAA,OAA+BL,EAAAS,GAAA,WAAAI,EAAAD,GAAgC,OAAAT,EAAA,SAAmBS,MAAAP,YAAA,MAAAS,OAAiCC,KAAAF,EAAAG,MAAAC,OAAAJ,EAAAI,QAAA,KAA2Cd,EAAA,OAAYe,MAAA,gBAAAL,EAAAM,OAAA,oBAAoDnB,EAAAf,WAAA,SAAqCe,EAAAM,GAAAN,EAAAO,GAAAM,EAAAO,OAAA,OAAApB,EAAAM,GAAA,YAAAO,EAAA/B,MAAAkB,EAAAX,MAAAuB,IAAAZ,EAAAS,GAAAT,EAAAX,MAAAuB,GAAAS,MAAA,cAAAC,GAAsI,OAAAnB,EAAA,OAAiBS,IAAAU,EAAAC,aAAqBC,eAAA,QAAsBV,OAAQlB,IAAA0B,GAAUG,IAAKC,MAAA,SAAAC,GAAyB,OAAA3B,EAAAL,WAAA2B,SAA+BtB,EAAAM,GAAA,KAAAN,EAAAX,MAAA,WAAAc,EAAA,OAAkDoB,aAAaC,eAAA,QAAsBV,OAAQlB,IAAAI,EAAAX,MAAA,YAA8BoC,IAAKC,MAAA,SAAAC,GAAyB,OAAA3B,EAAAL,WAAAK,EAAAX,MAAA,gBAAiDW,EAAAQ,MAAAL,EAAA,OAAsBE,YAAA,YAAsBL,EAAAM,GAAAN,EAAAO,GAAAM,EAAAe,OAAAf,EAAAe,OAAA5B,EAAAX,MAAAuB,IAAAZ,EAAAX,MAAAuB,IAAA,cAAoF,KAAKZ,EAAAM,GAAA,KAAAH,EAAA,WAA4BW,OAAOjC,MAAA,MAAaQ,OAAQwC,MAAA7B,EAAA,QAAA8B,SAAA,SAAAC,GAA6C/B,EAAAR,QAAAuC,GAAgBC,WAAA,aAAuBhC,EAAA,QAAAG,EAAA,OAA0BoB,aAAaP,MAAA,OAAAiB,aAAA,SAAoCnB,OAAQlB,IAAAI,EAAAP,UAAkBO,EAAAQ,QAAA,IAEj2C0B,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE3D,EACAoB,GATF,EAVA,SAAAwC,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/14.ccceec5b9e6bf9eb43fd.js","sourcesContent":["<template>\n <div class=\"monitor-form\">\n <p v-if=\"title\" class=\"title\">{{title}}</p>\n <Row class=\"row\" v-for=\"(row, rowIndex) in layout\" :key=\"rowIndex\">\n <i-col class=\"col\" v-for=\"(col, key) in row\" :key=\"key\" :span=\"col.width\" :offset=\"col.offset || 0\">\n <div :style=\"`text-align: ${col.align || 'right'}; width:${labelWidth}rem;`\">{{col.label}}:</div>\n <!-- <img v-if=\"col.type == 'img' && model[key]\" @click=\"handleView(model[key])\" :src=\"model[key]\"/> -->\n <template v-if=\"col.type == 'img' && model[key]\">\n <img style=\"margin-right:1rem;\" v-for=\"img in model[key].split(',')\" :key=\"img\" :src=\"img\" @click=\"handleView(img)\"/>\n <img style=\"margin-right:1rem;\" v-if=\"model['done_photo']\" :src=\"model['done_photo']\" @click=\"handleView(model['done_photo'])\"/>\n </template>\n <div v-else class=\"content\">{{col.format?col.format(model[key]):(model[key]||' ')}}</div>\n </i-col>\n </Row>\n <m-modal v-model=\"showImg\" title=\"照片\">\n <img v-if=\"showImg\" style=\"width:100%;max-height:23rem;\" :src=\"curSrc\"/>\n </m-modal>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'MonitorForm',\n props: {\n title: {\n type: String,\n default: '',\n },\n labelWidth: {\n type: Number,\n default: 10,\n },\n layout: {\n type: Array,\n default() {\n return []\n }\n },\n model: {\n type: Object,\n default() {\n return {}\n }\n }\n },\n data() {\n return {\n showImg: false,\n curSrc: null,\n }\n },\n methods: {\n handleView(src) {\n this.curSrc = src\n this.showImg = true\n }\n }\n}\n</script>\n\n<style lang=\"stylus\" scoped>\n.monitor-form\n font-size 1rem\n color #fff\n margin-bottom 1rem\n .title\n font-size 1.2rem\n font-weight bold\n color $edgeColor\n padding-bottom 0.5rem\n margin-bottom 1rem\n border-bottom 0.1rem solid $color-map()\n .row\n line-height 3rem\n &:nth-child(2n)\n background-color $color-map(0.15)\n .col\n display flex\n align-items center\n padding 0 1rem\n .content\n flex 1\n img\n width 25%\n height 5rem\n margin 0.5rem 0\n cursor pointer\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/MonitorComponents/MonitorForm/monitor-form.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"monitor-form\"},[(_vm.title)?_c('p',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.layout),function(row,rowIndex){return _c('Row',{key:rowIndex,staticClass:\"row\"},_vm._l((row),function(col,key){return _c('i-col',{key:key,staticClass:\"col\",attrs:{\"span\":col.width,\"offset\":col.offset || 0}},[_c('div',{style:((\"text-align: \" + (col.align || 'right') + \"; width:\" + _vm.labelWidth + \"rem;\"))},[_vm._v(_vm._s(col.label)+\":\")]),_vm._v(\" \"),(col.type == 'img' && _vm.model[key])?[_vm._l((_vm.model[key].split(',')),function(img){return _c('img',{key:img,staticStyle:{\"margin-right\":\"1rem\"},attrs:{\"src\":img},on:{\"click\":function($event){return _vm.handleView(img)}}})}),_vm._v(\" \"),(_vm.model['done_photo'])?_c('img',{staticStyle:{\"margin-right\":\"1rem\"},attrs:{\"src\":_vm.model['done_photo']},on:{\"click\":function($event){return _vm.handleView(_vm.model['done_photo'])}}}):_vm._e()]:_c('div',{staticClass:\"content\"},[_vm._v(_vm._s(col.format?col.format(_vm.model[key]):(_vm.model[key]||' ')))])],2)}),1)}),_vm._v(\" \"),_c('m-modal',{attrs:{\"title\":\"照片\"},model:{value:(_vm.showImg),callback:function ($$v) {_vm.showImg=$$v},expression:\"showImg\"}},[(_vm.showImg)?_c('img',{staticStyle:{\"width\":\"100%\",\"max-height\":\"23rem\"},attrs:{\"src\":_vm.curSrc}}):_vm._e()])],2)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-6dd4cb1f\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/MonitorComponents/MonitorForm/monitor-form.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-6dd4cb1f\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!stylus-loader?{\\\"import\\\":[\\\"/Users/MrGuo/Desktop/wisdom-property/src/assets/css/variables.styl\\\"],\\\"path\\\":[\\\"/Users/MrGuo/Desktop/wisdom-property/src/assets\\\",\\\"/Users/MrGuo/Desktop/wisdom-property/\\\"],\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./monitor-form.vue\")\n}\nvar normalizeComponent = require(\"!../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-form.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-form.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-6dd4cb1f\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./monitor-form.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-6dd4cb1f\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/MonitorComponents/MonitorForm/monitor-form.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(n,t,o){for(var f,b,d,i=0,u=[];i<n.length;i++)b=n[i],r[b]&&u.push(r[b][0]),r[b]=0;for(f in t)Object.prototype.hasOwnProperty.call(t,f)&&(e[f]=t[f]);for(a&&a(n,t,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)d=c(c.s=o[i]);return d};var n={},r={27:0};function c(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var a=r[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var n=new Promise(function(n,c){a=r[e]=[n,c]});a[2]=n;var t=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,c.nc&&o.setAttribute("nonce",c.nc),o.src=c.p+"static/js/"+e+"."+{0:"e1c1aa1c03f85faaff64",1:"80f3e7aa96153395fe1b",2:"ccd21004abcd9fe70200",3:"874610ae83b6001e99dc",4:"65c98ec4d98728e6bf33",5:"79501cbfbec9e7ca1a2b",6:"94c94cc8500e6d11e97a",7:"ae0723e8fa6bf8aefb76",8:"5ad0f24b31031f7284b3",9:"88c12c87d8c867668894",10:"ab925f8bb0245e505ca6",11:"573ef14b9d19f5d8b630",12:"b5317eb3dee2511ab55c",13:"d762da68ba9db221acb4",14:"34a15952dacc14e451c5",15:"452b2481077986ba0af5",16:"2c67f226ffddb117a15a",17:"912a00b10d2c58f1968b",18:"1adf9a941d5ebe37bd9e",19:"fd761234a41f95a23244",20:"85aa1475d8f340363b71",23:"ec76ce3284aa3173600c",24:"f7914065b4d7bec4ccfb",25:"6b5f4749058978064562",26:"584ddfc7aad303eb351f"}[e]+".js";var f=setTimeout(b,12e4);function b(){o.onerror=o.onload=null,clearTimeout(f);var a=r[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return o.onerror=o.onload=b,t.appendChild(o),n},c.m=e,c.c=n,c.d=function(e,a,n){c.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},c.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(a,"a",a),a},c.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.3a3c806fd10b1103aac0.js.map
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(n,t,f){for(var o,b,d,i=0,u=[];i<n.length;i++)b=n[i],r[b]&&u.push(r[b][0]),r[b]=0;for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(a&&a(n,t,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)d=c(c.s=f[i]);return d};var n={},r={27:0};function c(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var a=r[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var n=new Promise(function(n,c){a=r[e]=[n,c]});a[2]=n;var t=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,c.nc&&f.setAttribute("nonce",c.nc),f.src=c.p+"static/js/"+e+"."+{0:"e1c1aa1c03f85faaff64",1:"80f3e7aa96153395fe1b",2:"8ec9dfca97b0f1ec2356",3:"874610ae83b6001e99dc",4:"bf23b754a9a857693432",5:"79501cbfbec9e7ca1a2b",6:"94c94cc8500e6d11e97a",7:"ae0723e8fa6bf8aefb76",8:"5ad0f24b31031f7284b3",9:"88c12c87d8c867668894",10:"ab925f8bb0245e505ca6",11:"573ef14b9d19f5d8b630",12:"b5317eb3dee2511ab55c",13:"d762da68ba9db221acb4",14:"ccceec5b9e6bf9eb43fd",15:"452b2481077986ba0af5",16:"2c67f226ffddb117a15a",17:"912a00b10d2c58f1968b",18:"1adf9a941d5ebe37bd9e",19:"fd761234a41f95a23244",20:"85aa1475d8f340363b71",23:"ec76ce3284aa3173600c",24:"f7914065b4d7bec4ccfb",25:"6b5f4749058978064562",26:"584ddfc7aad303eb351f"}[e]+".js";var o=setTimeout(b,12e4);function b(){f.onerror=f.onload=null,clearTimeout(o);var a=r[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return f.onerror=f.onload=b,t.appendChild(f),n},c.m=e,c.c=n,c.d=function(e,a,n){c.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},c.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(a,"a",a),a},c.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.dcbd35dd1e6163a83fb1.js.map
\ No newline at end of file
......@@ -4,12 +4,16 @@
<Row class="row" v-for="(row, rowIndex) in layout" :key="rowIndex">
<i-col class="col" v-for="(col, key) in row" :key="key" :span="col.width" :offset="col.offset || 0">
<div :style="`text-align: ${col.align || 'right'}; width:${labelWidth}rem;`">{{col.label}}</div>
<img v-if="col.type == 'img' && model[key]" @click="handleView(model[key])" :src="model[key]"/>
<!-- <img v-if="col.type == 'img' && model[key]" @click="handleView(model[key])" :src="model[key]"/> -->
<template v-if="col.type == 'img' && model[key]">
<img style="margin-right:1rem;" v-for="img in model[key].split(',')" :key="img" :src="img" @click="handleView(img)"/>
<img style="margin-right:1rem;" v-if="model['done_photo']" :src="model['done_photo']" @click="handleView(model['done_photo'])"/>
</template>
<div v-else class="content">{{col.format?col.format(model[key]):(model[key]||' ')}}</div>
</i-col>
</Row>
<m-modal v-model="showImg" title="照片">
<img v-if="showImg" style="width:100%;" :src="curSrc"/>
<img v-if="showImg" style="width:100%;max-height:23rem;" :src="curSrc"/>
</m-modal>
</div>
</template>
......
......@@ -257,9 +257,9 @@ export default {
},
},
{
done_photo: {
imgs_url: {
label: '照片',
width: 12,
width: 16,
type: 'img',
},
}
......
......@@ -154,7 +154,7 @@
</m-modal>
<m-modal v-model="showHandleDetail" title="联勤联动动态流程" width="60%">
<m-form :label-width="8" title="流程信息" :model="handleDetail" :layout="handleDetailLayout"/>
<div style="width:90%;margin:1rem auto;">
<div style="width:90%;margin:3rem auto;">
<m-step
:steps="[{name:'推送',},{name:'接收',},{name:'处置',},{name:'完成'}]"
:current="[handleDetail.current || 3, false]"
......@@ -254,9 +254,9 @@ export default {
},
},
{
done_photo: {
imgs_url: {
label: '照片',
width: 12,
width: 16,
type: 'img',
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment