Commit 7033b686 authored by 郭铭瑶's avatar 郭铭瑶 🤘

联勤联动添加处置详情

parent a2a0b09d
<!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 { <!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; font-size: 1.6vh;
}</style><script src=./static/jquery.min.js></script><link href=./static/css/app.99ae59af9fdb1056e111c5c5c9d55a99.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.1ea04a1490102a9c0898.js></script><script type=text/javascript src=./static/js/vendor.d11eae825e5c4a0e0bb2.js></script><script type=text/javascript src=./static/js/app.6adddd62873981e0b4e5.js></script></body></html> }</style><script src=./static/jquery.min.js></script><link href=./static/css/app.ebf1688434e06504c0ead0e2c3e7ae52.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.788bf8cb42d60ae3535b.js></script><script type=text/javascript src=./static/js/vendor.d11eae825e5c4a0e0bb2.js></script><script type=text/javascript src=./static/js/app.7ba13089e6c74f6d52e2.js></script></body></html>
\ No newline at end of file \ 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 source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
webpackJsonp([13],{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 e?i("img",{key:e,staticStyle:{"margin-right":"1rem"},attrs:{src:e},on:{click:function(i){return t.handleView(e)}}}):t._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("L6HB")},"data-v-59d7ea96",null);e.default=r.exports},L6HB:function(t,e){}});
//# sourceMappingURL=13.15deb21a89700281bfbb.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?f4a9","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,SAAAnB,EAAA,OAAuBS,IAAAU,EAAAC,aAAqBC,eAAA,QAAsBV,OAAQlB,IAAA0B,GAAUG,IAAKC,MAAA,SAAAC,GAAyB,OAAA3B,EAAAL,WAAA2B,OAA6BtB,EAAAQ,OAAWR,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,IAEh3C0B,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE3D,EACAoB,GATF,EAVA,SAAAwC,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/13.15deb21a89700281bfbb.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(',')\" v-if=\"img\" :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 (img)?_c('img',{key:img,staticStyle:{\"margin-right\":\"1rem\"},attrs:{\"src\":img},on:{\"click\":function($event){return _vm.handleView(img)}}}):_vm._e()}),_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-59d7ea96\",\"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-59d7ea96\\\",\\\"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-59d7ea96\\\",\\\"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-59d7ea96\"\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([13],{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=13.20a58fe2a8392b8d410d.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?01ac","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","$store","commit","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","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"2HAqBA,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,GAGAC,KAAAC,OAAAC,OAAA,kBAAAH,GACAC,KAAAC,OAAAC,OAAA,qBCrDeC,GADEC,OAFjB,WAA0B,IAAAC,EAAAL,KAAaM,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BL,EAAA,MAAAG,EAAA,KAAsBE,YAAA,UAAoBL,EAAAM,GAAAN,EAAAO,GAAAP,EAAArB,UAAAqB,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,EAAAjB,WAAA,SAAqCiB,EAAAM,GAAAN,EAAAO,GAAAM,EAAAO,OAAA,OAAApB,EAAAM,GAAA,YAAAO,EAAAjC,MAAAoB,EAAAb,MAAAyB,IAAAZ,EAAAS,GAAAT,EAAAb,MAAAyB,GAAAS,MAAA,cAAAC,GAAsI,SAAAnB,EAAA,OAAuBS,IAAAU,EAAAC,aAAqBC,eAAA,QAAsBV,OAAQpB,IAAA4B,GAAUG,IAAKC,MAAA,SAAAC,GAAyB,OAAA3B,EAAAP,WAAA6B,OAA6BtB,EAAAQ,OAAWR,EAAAM,GAAA,KAAAN,EAAAb,MAAA,WAAAgB,EAAA,OAAkDoB,aAAaC,eAAA,QAAsBV,OAAQpB,IAAAM,EAAAb,MAAA,YAA8BsC,IAAKC,MAAA,SAAAC,GAAyB,OAAA3B,EAAAP,WAAAO,EAAAb,MAAA,gBAAiDa,EAAAQ,MAAAL,EAAA,OAAsBE,YAAA,YAAsBL,EAAAM,GAAAN,EAAAO,GAAAM,EAAAe,OAAAf,EAAAe,OAAA5B,EAAAb,MAAAyB,IAAAZ,EAAAb,MAAAyB,IAAA,cAAoF,MAAK,IAE/nCiB,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACExD,EACAsB,GATF,EAVA,SAAAmC,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/13.20a58fe2a8392b8d410d.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(',')\" v-if=\"img\" :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 this.$store.commit('SET_IMGVIEW_SRC', src)\n this.$store.commit('SET_IMGVIEW', 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 (img)?_c('img',{key:img,staticStyle:{\"margin-right\":\"1rem\"},attrs:{\"src\":img},on:{\"click\":function($event){return _vm.handleView(img)}}}):_vm._e()}),_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)})],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-669cef5b\",\"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-669cef5b\\\",\\\"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-669cef5b\\\",\\\"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-669cef5b\"\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],{CsfL:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("MICi"),s=n.n(r),i={name:"MonitorStep",props:{steps:{type:Array,required:!0},current:{type:[String,Number,Array],default:function(){return[0,!1]}},info:{type:Object},msg:{type:Array,default:function(){return[]}}},data:function(){return{setTop:null}},mounted:function(){var t=this;this.$nextTick(function(){t.setTop={top:"calc("+t.$refs.icon[0].offsetTop+"px + 0.35rem)"}})},computed:{linePercent:function(){var t=this.steps.length;return t>2?100/(t-1):100},doneWidth:function(){var t=Number(this.current[0]);if(this.current[1]&&(t+=1),!s()(t))return Math.round(this.linePercent*t);console.error('Props: "current" is NaN!')},done:function(){var t=Number(this.current[0]);return this.current[1]&&(t+=1),t},notWidth:function(){return 100-this.doneWidth}},methods:{getInfo:function(t){var e=this.info;switch(t){case 0:return e.create_note||"暂无";case 2:return e.receive_note||"暂无";case 3:return e.done_note||"暂无";default:return"系统自动推送"}}}},o={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monitor-step"},[r("div",{staticClass:"lines",style:t.setTop},[r("div",{staticClass:"line done",style:"width:"+t.doneWidth+"%"}),t._v(" "),r("div",{staticClass:"line",style:"width:"+t.notWidth+"%"})]),t._v(" "),t._l(t.steps,function(e,s){return r("div",{key:s,class:"item "+(s==t.done?"on":"")},[r("p",{attrs:{title:e.name}},[t._v(t._s(e.name))]),t._v(" "),s<=t.current[0]?r("div",{ref:"icon",refInFor:!0,staticClass:"icon",style:"background-image:url("+n("RGwW")+")"}):r("div",{staticClass:"none"}),t._v(" "),r("span",{staticClass:"msg",attrs:{title:e.msg}},[t._v(t._s(t.msg[s]))]),t._v(" "),t.info?r("span",{staticClass:"msg info",attrs:{title:t.getInfo(s)}},[t._v(t._s(t.getInfo(s)))]):t._e()])})],2)},staticRenderFns:[]};var a=n("VU/8")(i,o,!1,function(t){n("fqAI")},"data-v-5f9ff2ec",null);e.default=a.exports},fqAI:function(t,e){}});
//# sourceMappingURL=14.ae23f7dbe6dd204f3776.js.map
\ No newline at end of file
This diff is collapsed.
webpackJsonp([14],{CsfL:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("MICi"),s=n.n(r),i={name:"MonitorStep",props:{steps:{type:Array,required:!0},current:{type:[String,Number,Array],default:function(){return[0,!1]}},msg:{type:Array,default:function(){return[]}}},data:function(){return{setTop:null}},mounted:function(){var t=this;this.$nextTick(function(){t.setTop={top:"calc("+t.$refs.icon[0].offsetTop+"px + 0.35rem)"}})},computed:{linePercent:function(){var t=this.steps.length;return t>2?100/(t-1):100},doneWidth:function(){var t=Number(this.current[0]);if(this.current[1]&&(t+=1),!s()(t))return Math.round(this.linePercent*t);console.error('Props: "current" is NaN!')},done:function(){var t=Number(this.current[0]);return this.current[1]&&(t+=1),t},notWidth:function(){return 100-this.doneWidth}}},o={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"monitor-step"},[r("div",{staticClass:"lines",style:t.setTop},[r("div",{staticClass:"line done",style:"width:"+t.doneWidth+"%"}),t._v(" "),r("div",{staticClass:"line",style:"width:"+t.notWidth+"%"})]),t._v(" "),t._l(t.steps,function(e,s){return r("div",{key:s,class:"item "+(s==t.done?"on":"")},[r("p",{attrs:{title:e.name}},[t._v(t._s(e.name))]),t._v(" "),s<=t.current[0]?r("div",{ref:"icon",refInFor:!0,staticClass:"icon",style:"background-image:url("+n("RGwW")+")"}):r("div",{staticClass:"none"}),t._v(" "),r("span",{staticClass:"msg",attrs:{title:e.msg}},[t._v(t._s(t.msg[s]))])])})],2)},staticRenderFns:[]};var a=n("VU/8")(i,o,!1,function(t){n("nbkj")},"data-v-59239c34",null);e.default=a.exports},nbkj:function(t,e){}});
//# sourceMappingURL=14.f030a8d04200b6f7c7b4.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/MonitorComponents/MonitorStep/monitor-step.vue","webpack:///./src/components/MonitorComponents/MonitorStep/monitor-step.vue?8297","webpack:///./src/components/MonitorComponents/MonitorStep/monitor-step.vue"],"names":["monitor_step","name","props","steps","type","Array","required","current","String","Number","default","msg","data","setTop","mounted","_this","this","$nextTick","top","$refs","icon","offsetTop","computed","linePercent","len","length","doneWidth","index","is_nan_default","Math","round","console","error","done","notWidth","MonitorStep_monitor_step","render","_vm","_h","$createElement","_c","_self","staticClass","style","_v","_l","step","i","key","class","attrs","title","_s","ref","refInFor","__webpack_require__","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"+HAgBAA,GAIAC,KAAA,cACAC,OACAC,OACAC,KAAAC,MACAC,UAAA,GAEAC,SACAH,MAAAI,OAAAC,OAAAJ,OACAK,QAFA,WAGA,eAGAC,KACAP,KAAAC,MACAK,QAFA,WAGA,YAIAE,KAvBA,WAwBA,OACAC,OAAA,OAGAC,QA5BA,WA4BA,IAAAC,EAAAC,KACAA,KAAAC,UAAA,WACAF,EAAAF,QAAAK,IAAA,QAAAH,EAAAI,MAAAC,KAAA,GAAAC,UAAA,oBAGAC,UACAC,YADA,WAEA,IAAAC,EAAAR,KAAAb,MAAAsB,OACA,OAAAD,EAAA,OAAAA,EAAA,GACA,KAEAE,UANA,WAOA,IAAAC,EAAAlB,OAAAO,KAAAT,QAAA,IAIA,GAHAS,KAAAT,QAAA,KACAoB,GAAA,IAEAC,IAAAD,GAIA,OAAAE,KAAAC,MAAAd,KAAAO,YAAAI,GAHAI,QAAAC,MAAA,6BAKAC,KAjBA,WAkBA,IAAAN,EAAAlB,OAAAO,KAAAT,QAAA,IAIA,OAHAS,KAAAT,QAAA,KACAoB,GAAA,GAEAA,GAEAO,SAxBA,WAyBA,WAAAlB,KAAAU,aCvEeS,GADEC,OAFjB,WAA0B,IAAAC,EAAArB,KAAasB,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BF,EAAA,OAAYE,YAAA,QAAAC,MAAAN,EAAA,SAAuCG,EAAA,OAAYE,YAAA,YAAAC,MAAA,SAAAN,EAAAX,UAAA,MAAiEW,EAAAO,GAAA,KAAAJ,EAAA,OAAwBE,YAAA,OAAAC,MAAA,SAAAN,EAAAH,SAAA,QAA2DG,EAAAO,GAAA,KAAAP,EAAAQ,GAAAR,EAAA,eAAAS,EAAAC,GAAoD,OAAAP,EAAA,OAAiBQ,IAAAD,EAAAE,MAAA,SAAAF,GAAAV,EAAAJ,KAAA,WAAoDO,EAAA,KAAUU,OAAOC,MAAAL,EAAA7C,QAAmBoC,EAAAO,GAAAP,EAAAe,GAAAN,EAAA7C,SAAAoC,EAAAO,GAAA,KAAAG,GAAAV,EAAA9B,QAAA,GAAAiC,EAAA,OAA0Ea,IAAA,OAAAC,UAAA,EAAAZ,YAAA,OAAAC,MAAA,wBAA+EY,EAAQ,QAA0B,MAAWf,EAAA,OAAYE,YAAA,SAAmBL,EAAAO,GAAA,KAAAJ,EAAA,QAAyBE,YAAA,MAAAQ,OAAyBC,MAAAL,EAAAnC,OAAkB0B,EAAAO,GAAAP,EAAAe,GAAAf,EAAA1B,IAAAoC,YAAiC,IAE9yBS,oBCCjB,IAcAC,EAdyBF,EAAQ,OAcjCG,CACE1D,EACAmC,GATF,EAVA,SAAAwB,GACEJ,EAAQ,SAaV,kBAEA,MAUeK,EAAA,QAAAH,EAAiB","file":"static/js/14.f030a8d04200b6f7c7b4.js","sourcesContent":["<template>\n <div class=\"monitor-step\">\n <div class=\"lines\" :style=\"setTop\">\n <div class=\"line done\" :style=\"`width:${doneWidth}%`\"/>\n <div class=\"line\" :style=\"`width:${notWidth}%`\"/>\n </div>\n <div v-for=\"(step, i) in steps\" :key=\"i\" :class=\"`item ${i == done ? 'on' : ''}`\">\n <p :title=\"step.name\">{{step.name}}</p>\n <div ref=\"icon\" v-if=\"i <= current[0]\" class=\"icon\" :style=\"`background-image:url(${require('@/assets/images/true.png')})`\"/>\n <div v-else class=\"none\"/>\n <span class=\"msg\" :title=\"step.msg\">{{msg[i]}}</span>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n // 顶部的lines是线 , 根据doneWidth 和notWidth 来判断宽度\n // 枚举数据,判断入参数组的第二项是否为true, 区别设置css 下一个圈是否放大\n // 下面的 icon 是判断枚举的index 是否小于 cur的第0项, 是的话就给 ✔️ 对号\n name: 'MonitorStep',\n props: {\n steps: {\n type: Array,\n required: true,\n },\n current: {\n type: [String, Number, Array],\n default(){\n return [0, false] // 第0项为当前的标识, 后面的布尔是判断后面是否加线\n }\n },\n msg: {\n type: Array,\n default() {\n return []\n },\n }\n },\n data() {\n return {\n setTop: null,\n }\n },\n mounted() {\n this.$nextTick(() => {\n this.setTop = {top: `calc(${this.$refs.icon[0].offsetTop}px + 0.35rem)`}\n })\n },\n computed: {\n linePercent() {\n const len = this.steps.length\n if (len > 2) return 100 / (len - 1) // 跟据steps数组的长度,分隔线每一调的长度占比\n return 100\n },\n doneWidth() {\n let index = Number(this.current[0])\n if (this.current[1]) { // 如果数组的第二项是 true, 流程线就会向下级多走一条\n index = index+1\n }\n if (Number.isNaN(index)) {\n console.error('Props: \"current\" is NaN!')\n return\n }\n return Math.round(this.linePercent * index)\n },\n done() { // 是否进入下一条\n let index = Number(this.current[0])\n if (this.current[1]) {\n index = index+1\n }\n return index\n },\n notWidth() {\n return 100 - this.doneWidth\n }\n }\n}\n</script>\n\n<style lang=\"stylus\" scoped>\n$icon-color = #1DE5AD\n.monitor-step\n width 90%\n margin 0 auto\n display flex\n justify-content space-between\n position relative\n font-size 1rem\n .lines\n display flex\n position absolute\n width 100%\n left -0.5rem\n >.line\n height 0.3rem\n background rgba(0,0,0,0.8)\n border-radius 1rem\n margin-left 0.5rem\n &.done\n background linear-gradient(to right, #3391ff, $edgeColor)\n .item\n text-align center\n width 1rem\n position relative\n z-index 1\n .icon\n width 1rem\n height 1rem\n border-radius 50%\n background-color $icon-color\n background-position 50%\n background-size 50%\n background-repeat no-repeat\n .none\n width 0.8rem\n height 0.8rem\n border 0.2rem solid $fontColor\n border-radius 50%\n transform translateY(10%)\n .msg\n display inline-block\n font-size 1rem\n width 10rem\n transform translateX(-50%)\n margin 0.2rem 50%\n font-weight normal\n color #aaa\n p\n width 5rem\n text-indent 1rem\n transform translateX(-50%)\n overflow hidden\n white-space nowrap\n text-overflow ellipsis\n color $fontColor\n font-size 0.9rem\n &.on\n >div\n width 0.9rem\n height 0.9rem\n border 0.1rem solid $edgeColor\n transform scale(1.2)\n .icon\n transform scale(1.2)\n box-shadow 0 0 1rem 0.2rem $icon-color\n p\n color #fff\n // font-weight bold\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/MonitorComponents/MonitorStep/monitor-step.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"monitor-step\"},[_c('div',{staticClass:\"lines\",style:(_vm.setTop)},[_c('div',{staticClass:\"line done\",style:((\"width:\" + _vm.doneWidth + \"%\"))}),_vm._v(\" \"),_c('div',{staticClass:\"line\",style:((\"width:\" + _vm.notWidth + \"%\"))})]),_vm._v(\" \"),_vm._l((_vm.steps),function(step,i){return _c('div',{key:i,class:(\"item \" + (i == _vm.done ? 'on' : ''))},[_c('p',{attrs:{\"title\":step.name}},[_vm._v(_vm._s(step.name))]),_vm._v(\" \"),(i <= _vm.current[0])?_c('div',{ref:\"icon\",refInFor:true,staticClass:\"icon\",style:((\"background-image:url(\" + (require('@/assets/images/true.png')) + \")\"))}):_c('div',{staticClass:\"none\"}),_vm._v(\" \"),_c('span',{staticClass:\"msg\",attrs:{\"title\":step.msg}},[_vm._v(_vm._s(_vm.msg[i]))])])})],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-59239c34\",\"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/MonitorStep/monitor-step.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-59239c34\\\",\\\"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-step.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-step.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-step.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-59239c34\\\",\\\"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-step.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-59239c34\"\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/MonitorStep/monitor-step.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 source diff could not be displayed because it is too large. You can view the blob instead.
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.
!function(e){var f=window.webpackJsonp;window.webpackJsonp=function(n,a,c){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 a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o]);for(f&&f(n,a,c);u.length;)u.shift()();if(c)for(i=0;i<c.length;i++)d=t(t.s=c[i]);return d};var n={},r={27:0};function t(f){if(n[f])return n[f].exports;var r=n[f]={i:f,l:!1,exports:{}};return e[f].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.e=function(e){var f=r[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var n=new Promise(function(n,t){f=r[e]=[n,t]});f[2]=n;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,t.nc&&c.setAttribute("nonce",t.nc),c.src=t.p+"static/js/"+e+"."+{0:"d0d0010f011b4ec38d7f",1:"80f3e7aa96153395fe1b",2:"4df5577dbba5de145027",3:"858079b6f37c68e0f6a5",4:"575f875434614e4ff5a1",5:"79501cbfbec9e7ca1a2b",6:"94c94cc8500e6d11e97a",7:"ae0723e8fa6bf8aefb76",8:"5ad0f24b31031f7284b3",9:"3fc76fc7abb3d3dd3b91",10:"ab925f8bb0245e505ca6",11:"573ef14b9d19f5d8b630",12:"8d785b7833f510b6e13d",13:"15deb21a89700281bfbb",14:"f030a8d04200b6f7c7b4",15:"fb54c95b8a1bf473bd5c",16:"25b0e1920fcfffa457f4",17:"96a31fae1e6f805fbbfa",18:"f2a6183255aeb9176721",19:"fe54e6ac48d20178b64b",20:"783e458e49d4f1c92bbb",23:"2b04570b3c7c9fa13423",24:"f7914065b4d7bec4ccfb",25:"6b5f4749058978064562",26:"584ddfc7aad303eb351f"}[e]+".js";var o=setTimeout(b,12e4);function b(){c.onerror=c.onload=null,clearTimeout(o);var f=r[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return c.onerror=c.onload=b,a.appendChild(c),n},t.m=e,t.c=n,t.d=function(e,f,n){t.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(f,"a",f),f},t.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.1ea04a1490102a9c0898.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var o,b,d,i=0,u=[];i<r.length;i++)b=r[i],f[b]&&u.push(f[b][0]),f[b]=0;for(o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o]);for(n&&n(r,a,c);u.length;)u.shift()();if(c)for(i=0;i<c.length;i++)d=t(t.s=c[i]);return d};var r={},f={27:0};function t(n){if(r[n])return r[n].exports;var f=r[n]={i:n,l:!1,exports:{}};return e[n].call(f.exports,f,f.exports,t),f.l=!0,f.exports}t.e=function(e){var n=f[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,t){n=f[e]=[r,t]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,t.nc&&c.setAttribute("nonce",t.nc),c.src=t.p+"static/js/"+e+"."+{0:"82c0ed3c3b690b4d3dc6",1:"80f3e7aa96153395fe1b",2:"1a9bdedc036b43e15e4b",3:"858079b6f37c68e0f6a5",4:"24e7f952a6e3a92a3915",5:"79501cbfbec9e7ca1a2b",6:"94c94cc8500e6d11e97a",7:"ae0723e8fa6bf8aefb76",8:"5ad0f24b31031f7284b3",9:"3fc76fc7abb3d3dd3b91",10:"ab925f8bb0245e505ca6",11:"573ef14b9d19f5d8b630",12:"8d785b7833f510b6e13d",13:"20a58fe2a8392b8d410d",14:"ae23f7dbe6dd204f3776",15:"fb54c95b8a1bf473bd5c",16:"25b0e1920fcfffa457f4",17:"96a31fae1e6f805fbbfa",18:"f2a6183255aeb9176721",19:"fe54e6ac48d20178b64b",20:"783e458e49d4f1c92bbb",23:"9fbce774fba80a29ffe0",24:"f7914065b4d7bec4ccfb",25:"6b5f4749058978064562",26:"584ddfc7aad303eb351f"}[e]+".js";var o=setTimeout(b,12e4);function b(){c.onerror=c.onload=null,clearTimeout(o);var n=f[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return c.onerror=c.onload=b,a.appendChild(c),r},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.788bf8cb42d60ae3535b.js.map
\ No newline at end of file
...@@ -108,13 +108,13 @@ $color = #308bd8 ...@@ -108,13 +108,13 @@ $color = #308bd8
position absolute position absolute
width 0 width 0
height 0 height 0
border 1.4rem solid transparent border 1.43rem solid transparent
border-top-color $cardBg border-top-color $cardBg
box-shadow 0 -0.1rem 0 $color box-shadow 0 -0.1rem 0 $color
right -2.79rem right -2.75rem
top -0.05rem top -0.05rem
transform-origin top left transform-origin top left
transform rotate(45deg) transform rotate(43deg)
.dot .dot
display flex display flex
align-items center align-items center
......
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
<div v-else class="content">{{col.format?col.format(model[key]):(model[key]||' ')}}</div> <div v-else class="content">{{col.format?col.format(model[key]):(model[key]||' ')}}</div>
</i-col> </i-col>
</Row> </Row>
<m-modal v-model="showImg" title="照片"> <!-- <m-modal v-model="showImg" title="照片">
<img v-if="showImg" style="width:100%;max-height:23rem;" :src="curSrc"/> <img v-if="showImg" style="width:100%;max-height:23rem;" :src="curSrc"/>
</m-modal> </m-modal> -->
</div> </div>
</template> </template>
...@@ -51,8 +51,10 @@ export default { ...@@ -51,8 +51,10 @@ export default {
}, },
methods: { methods: {
handleView(src) { handleView(src) {
this.curSrc = src // this.curSrc = src
this.showImg = true // this.showImg = true
this.$store.commit('SET_IMGVIEW_SRC', src)
this.$store.commit('SET_IMGVIEW', true)
} }
} }
} }
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<div ref="icon" v-if="i <= current[0]" class="icon" :style="`background-image:url(${require('@/assets/images/true.png')})`"/> <div ref="icon" v-if="i <= current[0]" class="icon" :style="`background-image:url(${require('@/assets/images/true.png')})`"/>
<div v-else class="none"/> <div v-else class="none"/>
<span class="msg" :title="step.msg">{{msg[i]}}</span> <span class="msg" :title="step.msg">{{msg[i]}}</span>
<span v-if="info" class="msg info" :title="getInfo(i)">{{getInfo(i)}}</span>
</div> </div>
</div> </div>
</template> </template>
...@@ -30,6 +31,9 @@ export default { ...@@ -30,6 +31,9 @@ export default {
return [0, false] // 第0项为当前的标识, 后面的布尔是判断后面是否加线 return [0, false] // 第0项为当前的标识, 后面的布尔是判断后面是否加线
} }
}, },
info: {
type: Object,
},
msg: { msg: {
type: Array, type: Array,
default() { default() {
...@@ -74,7 +78,22 @@ export default { ...@@ -74,7 +78,22 @@ export default {
notWidth() { notWidth() {
return 100 - this.doneWidth return 100 - this.doneWidth
} }
} },
methods: {
getInfo(i) {
const {info} = this
switch (i) {
case 0:
return info.create_note || '暂无'
case 2:
return info.receive_note || '暂无'
case 3:
return info.done_note || '暂无'
default:
return '系统自动推送'
}
}
},
} }
</script> </script>
...@@ -125,7 +144,10 @@ $icon-color = #1DE5AD ...@@ -125,7 +144,10 @@ $icon-color = #1DE5AD
transform translateX(-50%) transform translateX(-50%)
margin 0.2rem 50% margin 0.2rem 50%
font-weight normal font-weight normal
color #aaa color #eee
&.info
width 13rem
color #eee
p p
width 5rem width 5rem
text-indent 1rem text-indent 1rem
......
...@@ -342,6 +342,9 @@ export default { ...@@ -342,6 +342,9 @@ export default {
setHandleList({commit}) { // 获取并全局设置联勤联动处置列表 setHandleList({commit}) { // 获取并全局设置联勤联动处置列表
ajax.get({ ajax.get({
url: api.GET_HANDLE_LIST, url: api.GET_HANDLE_LIST,
// params: {
// days: '3',
// },
}).then(res => { }).then(res => {
const data = common.confirm(res, 'data.content', []) const data = common.confirm(res, 'data.content', [])
commit('SET_HANDLELIST', data) commit('SET_HANDLELIST', data)
......
...@@ -44,4 +44,10 @@ export default { ...@@ -44,4 +44,10 @@ export default {
SET_CURREPAIR(state, val) { SET_CURREPAIR(state, val) {
state.curRepair = val state.curRepair = val
}, },
SET_IMGVIEW(state, val) {
state.showImgView = val
},
SET_IMGVIEW_SRC(state, val) {
state.imgViewSrc = val
},
} }
...@@ -15,4 +15,6 @@ export default { ...@@ -15,4 +15,6 @@ export default {
foundList: [], foundList: [],
handleList: [], handleList: [],
sensorList: [], sensorList: [],
showImgView: false,
imgViewSrc: null,
} }
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="face-wrapper"> <div class="face-wrapper">
<div @click="$emit('select', safe)"><p>安全:92.8</p><img src="@/assets/images/face2.png"/></div> <div @click="$emit('select', safe)"><p>安全:92.8</p><img src="@/assets/images/face2.png"/></div>
<div><p>有序:100</p><img src="@/assets/images/face1.png"/></div> <div><p>有序:100</p><img src="@/assets/images/face1.png"/></div>
<div @click="$emit('select', clean)"><p>干净:95</p><img src="@/assets/images/face2.png"/></div> <div @click="$emit('select', clean)"><p>干净:95</p><img src="@/assets/images/face1.png"/></div>
</div> </div>
<div class="content"> <div class="content">
<div class="title">小区巡查事项清单</div> <div class="title">小区巡查事项清单</div>
......
...@@ -121,6 +121,7 @@ ...@@ -121,6 +121,7 @@
:steps="[{name:'推送',},{name:'接收',},{name:'处置',},{name:'完成'}]" :steps="[{name:'推送',},{name:'接收',},{name:'处置',},{name:'完成'}]"
:current="[handleDetail.done_time ? 3 : (handleDetail.current || 2), false]" :current="[handleDetail.done_time ? 3 : (handleDetail.current || 2), false]"
:msg="[handleDetail.create_time || '', handleDetail.check_time || '', handleDetail.receive_time || '', handleDetail.done_time || '']" :msg="[handleDetail.create_time || '', handleDetail.check_time || '', handleDetail.receive_time || '', handleDetail.done_time || '']"
:info="handleDetail"
/> />
</div> </div>
</m-modal> </m-modal>
...@@ -133,6 +134,9 @@ ...@@ -133,6 +134,9 @@
<m-modal v-model="showIssueInfo" :title="issueInfo.title" width="25%"> <m-modal v-model="showIssueInfo" :title="issueInfo.title" width="25%">
<m-table v-if="showIssueInfo" :layout="issueInfoLayout" :model="issueInfo.data" /> <m-table v-if="showIssueInfo" :layout="issueInfoLayout" :model="issueInfo.data" />
</m-modal> </m-modal>
<m-modal v-model="$store.state.showImgView" @close="$store.commit('SET_IMGVIEW', false)" title="照片预览">
<img v-if="$store.state.showImgView" style="width:100%;height:100%;" :src="$store.state.imgViewSrc"/>
</m-modal>
</m-grid> </m-grid>
</template> </template>
......
...@@ -139,12 +139,16 @@ ...@@ -139,12 +139,16 @@
:steps="[{name:'推送',},{name:'接收',},{name:'处置',},{name:'完成'}]" :steps="[{name:'推送',},{name:'接收',},{name:'处置',},{name:'完成'}]"
:current="[handleDetail.done_time ? 3 : (handleDetail.current || 2), false]" :current="[handleDetail.done_time ? 3 : (handleDetail.current || 2), false]"
:msg="[handleDetail.create_time || '', handleDetail.check_time || '', handleDetail.receive_time || '', handleDetail.done_time || '']" :msg="[handleDetail.create_time || '', handleDetail.check_time || '', handleDetail.receive_time || '', handleDetail.done_time || '']"
:info="handleDetail"
/> />
</div> </div>
</m-modal> </m-modal>
<m-modal v-model="showIssueInfo" :title="issueInfo.title" width="25%"> <m-modal v-model="showIssueInfo" :title="issueInfo.title" width="25%">
<m-table v-if="showIssueInfo" :layout="issueInfoLayout" :model="issueInfo.data" /> <m-table v-if="showIssueInfo" :layout="issueInfoLayout" :model="issueInfo.data" />
</m-modal> </m-modal>
<m-modal v-model="$store.state.showImgView" @close="$store.commit('SET_IMGVIEW', false)" title="照片预览">
<img v-if="$store.state.showImgView" style="width:100%;height:100%;" :src="$store.state.imgViewSrc"/>
</m-modal>
</m-grid> </m-grid>
</template> </template>
......
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