Commit e9dfe3ba authored by 郭铭瑶's avatar 郭铭瑶 🤘

添加联勤联动模型,投诉报修列表数据等

parent b9beb116
<!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.33329d1840c7e9dbbf93eeb84c95bac6.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.32247a011f952c6c2dd0.js></script><script type=text/javascript src=./static/js/vendor.d11eae825e5c4a0e0bb2.js></script><script type=text/javascript src=./static/js/app.3f3f5173ecbe45f51a72.js></script></body></html>
\ No newline at end of file
}</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
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 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 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.
webpackJsonp([12],{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}}},a={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?i("img",{attrs:{src:t.$api.IMG_URL+t.model[n]},on:{click:function(e){return t.handleView(t.model[n])}}}):i("div",{staticClass:"content"},[t._v(t._s(e.format?e.format(t.model[n]):t.model[n]||" "))])])}),1)}),t._v(" "),i("m-modal",{model:{value:t.showImg,callback:function(e){t.showImg=e},expression:"showImg"}},[t.showImg?i("img",{staticStyle:{width:"100%"},attrs:{src:t.$api.IMG_URL+t.curSrc}}):t._e()])],2)},staticRenderFns:[]};var l=i("VU/8")(n,a,!1,function(t){i("Ngdh")},"data-v-7bad9f68",null);e.default=l.exports},Ngdh:function(t,e){}});
//# sourceMappingURL=12.a2dde18c781b07a4f1ac.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?32d5","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","$api","IMG_URL","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,KAAAqB,EAAA,OAA4EW,OAAOlB,IAAAI,EAAAqB,KAAAC,QAAAtB,EAAAX,MAAAuB,IAAwCW,IAAKC,MAAA,SAAAC,GAAyB,OAAAzB,EAAAL,WAAAK,EAAAX,MAAAuB,QAAwCT,EAAA,OAAYE,YAAA,YAAsBL,EAAAM,GAAAN,EAAAO,GAAAM,EAAAa,OAAAb,EAAAa,OAAA1B,EAAAX,MAAAuB,IAAAZ,EAAAX,MAAAuB,IAAA,YAAkF,KAAKZ,EAAAM,GAAA,KAAAH,EAAA,WAA4Bd,OAAOsC,MAAA3B,EAAA,QAAA4B,SAAA,SAAAC,GAA6C7B,EAAAR,QAAAqC,GAAgBC,WAAA,aAAuB9B,EAAA,QAAAG,EAAA,OAA0B4B,aAAaf,MAAA,QAAeF,OAAQlB,IAAAI,EAAAqB,KAAAC,QAAAtB,EAAAP,UAAqCO,EAAAQ,QAAA,IAEpiCwB,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEzD,EACAoB,GATF,EAVA,SAAAsC,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/12.a2dde18c781b07a4f1ac.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'\" @click=\"handleView(model[key])\" :src=\"$api.IMG_URL + 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\">\n <img v-if=\"showImg\" style=\"width: 100%;\" :src=\"$api.IMG_URL + 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')?_c('img',{attrs:{\"src\":_vm.$api.IMG_URL + _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',{model:{value:(_vm.showImg),callback:function ($$v) {_vm.showImg=$$v},expression:\"showImg\"}},[(_vm.showImg)?_c('img',{staticStyle:{\"width\":\"100%\"},attrs:{\"src\":_vm.$api.IMG_URL + _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-7bad9f68\",\"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-7bad9f68\\\",\\\"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-7bad9f68\\\",\\\"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-7bad9f68\"\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],{TNmO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={name:"MonitorTitle",props:{imgStyle:{},bgImg:{type:String},hideDate:{type:Boolean,default:!1},hideTime:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},color:{type:String},size:{type:String,default:"1.6rem"}},data:function(){return{openDatePicker:!1,timer:null,time:null,style:{}}},mounted:function(){var e=this;this.hideTime||(this.timer=setInterval(function(){e.time=e.$moment().format("dddd")+" "+e.$moment().format("LTS")},1e3)),this.style={"font-size":this.size}},beforeDestroy:function(){clearInterval(this.timer),this.timer=null},computed:{curDate:function(){var e=this.$store.state.curDate;return e?this.$moment(e).format("YYYY-MM-DD"):this.$moment().format("YYYY-MM-DD")},options:function(){var e=this;return{disabledDate:function(t){return e.$moment(t).isAfter(e.$moment())}}}},methods:{openAdmin:function(){window.open("http://211.136.105.193/login")},handleDateChange:function(e){this.$store.commit("SET_CURDATE",e),this.openDatePicker=!1}}},a={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"monitor-title"},[e.hideDate?e._e():n("span",{staticClass:"moment date",on:{mouseenter:function(t){e.returnopenDatePicker=!0},mouseleave:function(t){e.openDatePicker=!1}}},[n("DatePicker",{staticClass:"date-picker",attrs:{value:e.curDate,options:e.options,open:e.editable&&e.openDatePicker,type:"date"},on:{"on-change":e.handleDateChange}},[n("span",[e._v(e._s(e.curDate))])])],1),e._v(" "),e.hideTime?e._e():n("span",{staticClass:"moment time"},[e._v(e._s(e.time))]),e._v(" "),n("img",{style:e.imgStyle,attrs:{src:e.bgImg,draggable:"false"}}),e._v(" "),n("p",{style:e.style,on:{click:e.openAdmin}},[e._t("default")],2)])},staticRenderFns:[]};var o=n("VU/8")(i,a,!1,function(e){n("bsAK")},"data-v-752c0f85",null);t.default=o.exports},bsAK:function(e,t){}});
//# sourceMappingURL=13.ab6f59a025c7716dc9dd.js.map
\ No newline at end of file
webpackJsonp([12],{TNmO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={name:"MonitorTitle",props:{imgStyle:{},bgImg:{type:String},hideDate:{type:Boolean,default:!1},hideTime:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},color:{type:String},size:{type:String,default:"1.6rem"}},data:function(){return{openDatePicker:!1,timer:null,time:null,style:{}}},mounted:function(){var e=this;this.hideTime||(this.timer=setInterval(function(){e.time=e.$moment().format("dddd")+" "+e.$moment().format("LTS")},1e3)),this.style={"font-size":this.size}},beforeDestroy:function(){clearInterval(this.timer),this.timer=null},computed:{curDate:function(){var e=this.$store.state.curDate;return e?this.$moment(e).format("YYYY-MM-DD"):this.$moment().format("YYYY-MM-DD")},options:function(){var e=this;return{disabledDate:function(t){return e.$moment(t).isAfter(e.$moment())}}}},methods:{openAdmin:function(){window.open("http://211.136.105.193/login")},handleDateChange:function(e){this.$store.commit("SET_CURDATE",e),this.openDatePicker=!1}}},a={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"monitor-title"},[e.hideDate?e._e():n("span",{staticClass:"moment date",on:{mouseenter:function(t){e.returnopenDatePicker=!0},mouseleave:function(t){e.openDatePicker=!1}}},[n("DatePicker",{staticClass:"date-picker",attrs:{value:e.curDate,options:e.options,open:e.editable&&e.openDatePicker,type:"date"},on:{"on-change":e.handleDateChange}},[n("span",[e._v(e._s(e.curDate))])])],1),e._v(" "),e.hideTime?e._e():n("span",{staticClass:"moment time"},[e._v(e._s(e.time))]),e._v(" "),n("img",{style:e.imgStyle,attrs:{src:e.bgImg,draggable:"false"}}),e._v(" "),n("p",{style:e.style,on:{click:e.openAdmin}},[e._t("default")],2)])},staticRenderFns:[]};var o=n("VU/8")(i,a,!1,function(e){n("bsAK")},"data-v-752c0f85",null);t.default=o.exports},bsAK:function(e,t){}});
//# sourceMappingURL=12.b5317eb3dee2511ab55c.js.map
\ No newline at end of file
webpackJsonp([14],{NefG:function(t,e){},Oktt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={name:"MonitorScroll",props:{length:{type:Number,required:!0},limit:{type:Number,default:6},duration:{type:Number,default:5e3},mode:{type:[Number,String],default:1},step:{type:Number}},data:function(){return{timer:null,index:0}},mounted:function(){this.$nextTick(this.start)},beforeDestroy:function(){this.clearTimer()},computed:{isShort:function(){return this.length<=this.limit},isTooLong:function(){return this.length>100}},methods:{clearTimer:function(){clearInterval(this.timer),this.timer=null},start:function(){this.isShort||("2"==this.mode?this.startMode2():this.startMode1())},startMode1:function(){var t=this,e=this.$refs.scrollContent,n=this.$refs.subContent,r=e.offsetHeight;this.timer=setInterval(function(){r<=0?r=e.offsetHeight:(t.index<r?t.index+=1:t.index=0,e.style.transform="translateY("+-t.index+"px)",n&&(n.style.transform="translateY("+-t.index+"px)"))},100)},startMode2:function(){var t=this,e=this.$refs.scrollContent,n=this.$refs.subContent,r=this.$com.confirm(e,"children.length",0);this.timer=setInterval(function(){t.index<r?(t.index+=1,e.style.transition="transform 0.5s",n&&(n.style.transition="transform 0.5s")):(t.index=0,e.style.transition="none",n&&(n.style.transition="none")),e.style.transform="translateY("+-t.step*t.index+"rem)",n&&(n.style.transform="translateY("+-t.step*t.index+"rem)")},this.duration)}},watch:{length:function(t){this.clearTimer(),this.index=0;var e=this.$refs.scrollContent,n=this.$refs.subContent;e&&(e.style.transform="translateY(0)"),n&&(n.style.transform="translateY(0)"),this.$nextTick(this.start)}}},s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"monitor-scroll",on:{mouseenter:t.clearTimer,mouseleave:t.start}},[n("div",{ref:"scrollContent"},[t._t("default")],2),t._v(" "),t.isShort||t.isTooLong?t._e():n("div",{ref:"subContent"},[t._t("default")],2)])},staticRenderFns:[]};var i=n("VU/8")(r,s,!1,function(t){n("NefG")},"data-v-73ecd732",null);e.default=i.exports}});
//# sourceMappingURL=14.9a6452b397b8672fced7.js.map
\ No newline at end of file
webpackJsonp([13],{NefG:function(t,e){},Oktt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={name:"MonitorScroll",props:{length:{type:Number,required:!0},limit:{type:Number,default:6},duration:{type:Number,default:5e3},mode:{type:[Number,String],default:1},step:{type:Number}},data:function(){return{timer:null,index:0}},mounted:function(){this.$nextTick(this.start)},beforeDestroy:function(){this.clearTimer()},computed:{isShort:function(){return this.length<=this.limit},isTooLong:function(){return this.length>100}},methods:{clearTimer:function(){clearInterval(this.timer),this.timer=null},start:function(){this.isShort||("2"==this.mode?this.startMode2():this.startMode1())},startMode1:function(){var t=this,e=this.$refs.scrollContent,n=this.$refs.subContent,r=e.offsetHeight;this.timer=setInterval(function(){r<=0?r=e.offsetHeight:(t.index<r?t.index+=1:t.index=0,e.style.transform="translateY("+-t.index+"px)",n&&(n.style.transform="translateY("+-t.index+"px)"))},100)},startMode2:function(){var t=this,e=this.$refs.scrollContent,n=this.$refs.subContent,r=this.$com.confirm(e,"children.length",0);this.timer=setInterval(function(){t.index<r?(t.index+=1,e.style.transition="transform 0.5s",n&&(n.style.transition="transform 0.5s")):(t.index=0,e.style.transition="none",n&&(n.style.transition="none")),e.style.transform="translateY("+-t.step*t.index+"rem)",n&&(n.style.transform="translateY("+-t.step*t.index+"rem)")},this.duration)}},watch:{length:function(t){this.clearTimer(),this.index=0;var e=this.$refs.scrollContent,n=this.$refs.subContent;e&&(e.style.transform="translateY(0)"),n&&(n.style.transform="translateY(0)"),this.$nextTick(this.start)}}},s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"monitor-scroll",on:{mouseenter:t.clearTimer,mouseleave:t.start}},[n("div",{ref:"scrollContent"},[t._t("default")],2),t._v(" "),t.isShort||t.isTooLong?t._e():n("div",{ref:"subContent"},[t._t("default")],2)])},staticRenderFns:[]};var i=n("VU/8")(r,s,!1,function(t){n("NefG")},"data-v-73ecd732",null);e.default=i.exports}});
//# sourceMappingURL=13.d762da68ba9db221acb4.js.map
\ 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([18],{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("KqUb")},"data-v-4a6158a0",null);e.default=a.exports},KqUb:function(t,e){}});
//# sourceMappingURL=18.118a8f01af2b038a4c6e.js.map
\ No newline at end of file
webpackJsonp([16],{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=16.2c67f226ffddb117a15a.js.map
\ No newline at end of file
webpackJsonp([16],{H8lV:function(t,e){},xSxB:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"MonitorModal",props:{value:{type:Boolean,default:!1},width:{type:String,default:"40%"},enter:{type:String,default:"fadeInDown"},leave:{type:String,default:"fadeOutUp"},title:{type:String,default:"title"}},methods:{handleClose:function(){this.$emit("close"),this.$emit("input",!1)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("m-animate",{attrs:{enter:t.enter,leave:t.leave}},[t.value?s("div",{staticClass:"monitor-modal"},[s("div",{style:"width:"+t.width},[s("div",{staticClass:"title"},[s("p",[t._v("\n "+t._s(t.title)+"\n "),s("span",{staticClass:"left"}),t._v(" "),s("span",{staticClass:"right"})]),t._v(" "),s("div",[s("img",{staticClass:"flag",attrs:{src:a("f2fE")}}),t._v(" "),s("img",{staticClass:"close-btn",attrs:{src:a("/TeD")},on:{click:t.handleClose}})]),t._v(" "),s("img",{staticClass:"left",attrs:{src:a("KMwb")}})]),t._v(" "),s("div",{staticClass:"content"},[s("div",[t._t("default")],2)])])]):t._e()])},staticRenderFns:[]};var l=a("VU/8")(s,i,!1,function(t){a("H8lV")},"data-v-55847208",null);e.default=l.exports}});
//# sourceMappingURL=16.25b0e1920fcfffa457f4.js.map
\ No newline at end of file
webpackJsonp([17],{H8lV:function(t,e){},xSxB:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"MonitorModal",props:{value:{type:Boolean,default:!1},width:{type:String,default:"40%"},enter:{type:String,default:"fadeInDown"},leave:{type:String,default:"fadeOutUp"},title:{type:String,default:"title"}},methods:{handleClose:function(){this.$emit("close"),this.$emit("input",!1)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("m-animate",{attrs:{enter:t.enter,leave:t.leave}},[t.value?s("div",{staticClass:"monitor-modal"},[s("div",{style:"width:"+t.width},[s("div",{staticClass:"title"},[s("p",[t._v("\n "+t._s(t.title)+"\n "),s("span",{staticClass:"left"}),t._v(" "),s("span",{staticClass:"right"})]),t._v(" "),s("div",[s("img",{staticClass:"flag",attrs:{src:a("f2fE")}}),t._v(" "),s("img",{staticClass:"close-btn",attrs:{src:a("/TeD")},on:{click:t.handleClose}})]),t._v(" "),s("img",{staticClass:"left",attrs:{src:a("KMwb")}})]),t._v(" "),s("div",{staticClass:"content"},[s("div",[t._t("default")],2)])])]):t._e()])},staticRenderFns:[]};var l=a("VU/8")(s,i,!1,function(t){a("H8lV")},"data-v-55847208",null);e.default=l.exports}});
//# sourceMappingURL=17.912a00b10d2c58f1968b.js.map
\ No newline at end of file
webpackJsonp([17],{FteE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"MonitorDrawer",props:{value:{type:Boolean,default:!1},width:{type:String,default:"40%"},enter:{type:String,default:"fadeInRight"},leave:{type:String,default:"fadeOutRight"}},methods:{handleClose:function(){this.$emit("close"),this.$emit("input",!1)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("m-animate",{attrs:{enter:t.enter,leave:t.leave}},[t.value?s("div",{staticClass:"monitor-drawer",staticStyle:{"animation-duration":"500ms"}},[s("img",{staticClass:"close-btn",attrs:{src:a("LuQl")},on:{click:t.handleClose}}),t._v(" "),s("img",{staticClass:"border left",attrs:{src:a("ICTM")}}),t._v(" "),s("div",{staticClass:"content"},[s("div",[t._t("default")],2)]),t._v(" "),s("img",{staticClass:"border right",attrs:{src:a("ICTM")}})]):t._e()])},staticRenderFns:[]};var n=a("VU/8")(s,i,!1,function(t){a("jsV6")},"data-v-4f802b28",null);e.default=n.exports},jsV6:function(t,e){}});
//# sourceMappingURL=17.96a31fae1e6f805fbbfa.js.map
\ No newline at end of file
webpackJsonp([18],{FteE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"MonitorDrawer",props:{value:{type:Boolean,default:!1},width:{type:String,default:"40%"},enter:{type:String,default:"fadeInRight"},leave:{type:String,default:"fadeOutRight"}},methods:{handleClose:function(){this.$emit("close"),this.$emit("input",!1)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("m-animate",{attrs:{enter:t.enter,leave:t.leave}},[t.value?s("div",{staticClass:"monitor-drawer",staticStyle:{"animation-duration":"500ms"}},[s("img",{staticClass:"close-btn",attrs:{src:a("LuQl")},on:{click:t.handleClose}}),t._v(" "),s("img",{staticClass:"border left",attrs:{src:a("ICTM")}}),t._v(" "),s("div",{staticClass:"content"},[s("div",[t._t("default")],2)]),t._v(" "),s("img",{staticClass:"border right",attrs:{src:a("ICTM")}})]):t._e()])},staticRenderFns:[]};var n=a("VU/8")(s,i,!1,function(t){a("jsV6")},"data-v-4f802b28",null);e.default=n.exports},jsV6:function(t,e){}});
//# sourceMappingURL=18.1adf9a941d5ebe37bd9e.js.map
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
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 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.
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,c,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 c)Object.prototype.hasOwnProperty.call(c,o)&&(e[o]=c[o]);for(a&&a(n,c,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)d=t(t.s=f[i]);return d};var n={},r={27:0};function t(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,t),r.l=!0,r.exports}t.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,t){a=r[e]=[n,t]});a[2]=n;var c=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,t.nc&&f.setAttribute("nonce",t.nc),f.src=t.p+"static/js/"+e+"."+{0:"4a05eae3801229f5fcc6",1:"80f3e7aa96153395fe1b",2:"34323ccfd37498b450c5",3:"874610ae83b6001e99dc",4:"b89af7109d0cd316d1e7",5:"79501cbfbec9e7ca1a2b",6:"94c94cc8500e6d11e97a",7:"ae0723e8fa6bf8aefb76",8:"5ad0f24b31031f7284b3",9:"88c12c87d8c867668894",10:"ab925f8bb0245e505ca6",11:"573ef14b9d19f5d8b630",12:"a2dde18c781b07a4f1ac",13:"ab6f59a025c7716dc9dd",14:"9a6452b397b8672fced7",15:"452b2481077986ba0af5",16:"25b0e1920fcfffa457f4",17:"96a31fae1e6f805fbbfa",18:"118a8f01af2b038a4c6e",19:"fd761234a41f95a23244",20:"85aa1475d8f340363b71",23:"2d8001a6b1d5cb810441",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,c.appendChild(f),n},t.m=e,t.c=n,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.32247a011f952c6c2dd0.js.map
\ No newline at end of file
!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
<template>
<div class="card-wrapper">
<div class="line" :style="lineStyle"/>
<div class="card-title" :style="style">
<div class="card-title" :style="style" @click="handleTitleClick">
<div class="edge top-left" />
<div class="triangle" />
<div class="dot">
......@@ -63,6 +63,11 @@ export default {
this.$store.commit('SET_ELEMENTMODAL', true)
}
},
handleTitleClick() {
if (this.title === '联勤联动动态流程') {
this.$store.commit('SET_PROCESSMODAL', true)
}
}
},
}
</script>
......
......@@ -4,12 +4,12 @@
<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'" @click="handleView(model[key])" :src="$api.IMG_URL + model[key]"/>
<img v-if="col.type == 'img' && model[key]" @click="handleView(model[key])" :src="model[key]"/>
<div v-else class="content">{{col.format?col.format(model[key]):(model[key]||' ')}}</div>
</i-col>
</Row>
<m-modal v-model="showImg">
<img v-if="showImg" style="width: 100%;" :src="$api.IMG_URL + curSrc"/>
<m-modal v-model="showImg" title="照片">
<img v-if="showImg" style="width:100%;" :src="curSrc"/>
</m-modal>
</div>
</template>
......
......@@ -120,7 +120,7 @@ $icon-color = #1DE5AD
transform translateY(10%)
.msg
display inline-block
font-size 0.6rem
font-size 1rem
width 10rem
transform translateX(-50%)
margin 0.2rem 50%
......@@ -134,7 +134,7 @@ $icon-color = #1DE5AD
white-space nowrap
text-overflow ellipsis
color $fontColor
font-size 0.8rem
font-size 0.9rem
&.on
>div
width 0.9rem
......
......@@ -14,6 +14,7 @@ export default {
GET_DISCOVER_INFO: '/service-special/public/discoverInfo?pcr.communityId_in=S015001231,S015001664&pd.createTime_gt=2020-06-26',
GET_HANDLE_LIST: '/service-special/public/alarm/index?pcr.communityId_in=S015001231,S015001664',
GET_TS_BX: '/service-special/public/repair/complaint?communityId=S015001231',
GET_TSBX_LIST: '/service-special/public/report/{type}?communityId_in=S015001231,S015001664',
GET_BUILDING: '/service-search/public/buildings?sectId=120324203558281&pageSize=1000&pageNo=1'
}
......@@ -167,13 +167,13 @@ export default {
{
title:'报修数量',
img:'repair.png',
num:'2',
num:'0',
allNum: '38',
},
{
title:'投诉数量',
img:'complaint.png',
num:'6',
num:'0',
allNum: '48',
},
]
......@@ -237,14 +237,16 @@ export default {
{
title:'报修数量',
img:'repair.png',
num:'1',
num:'0',
allNum: '3',
key: 'bx',
},
{
title:'投诉数量',
img:'complaint.png',
num:'1',
num:'0',
allNum: '5',
key: 'ts',
},
]
commit('SET_COMMANDLIST', COMMANDLIST)
......
......@@ -35,4 +35,7 @@ export default {
SET_CURSCENE(state, val) {
state.curScene = val
},
SET_PROCESSMODAL(state, val) {
state.processModal = val
},
}
......@@ -5,6 +5,7 @@ export default {
curDate: null,
curScene: null, // 当前选择的智能发现场景类型
processModal: false, // 联勤联动模型弹窗
commandList: [],
operateList: [],
repairList: [],
......
......@@ -16,7 +16,7 @@
:class="`d-l-card ${data.key == key ? 'on' : ''}`"
v-for="data in $store.state.foundList"
:key="data.key"
@click="handleClick(data.key)"
@click="handleClick(data)"
>
<span class="title">
<img :src="require(`@/assets/images/${data.img}`)" />
......@@ -37,13 +37,19 @@ export default {
}
},
methods: {
handleClick(key) {
handleClick({key, num}) {
if (this.key == key) {
this.key = null
} else {
this.key = key
}
this.$store.commit('SET_CURSCENE', this.key)
if (num == '0' && this.key) {
const data = this.$store.state.handleList.find(item => item.types && (item.types == key))
if (data) {
this.$emit('select', data)
}
}
}
},
}
......
......@@ -198,6 +198,9 @@ export default {
height 100%
.card
height 5.5rem
cursor pointer
&:hover
background rgba(0,0,0,0.3)
.communityName
display flex
align-items center
......
......@@ -2,6 +2,7 @@
<div class="repair">
<m-brief
class="card"
@click.native="$emit('select', data.key)"
v-for="(data,i) in $store.state.repairList"
:key="i"
:label="data.title"
......@@ -29,5 +30,8 @@ export default {
.card
width 50%
padding-left 1rem
cursor pointer
&:hover
background rgba(0,0,0,0.3)
</style>
......@@ -35,10 +35,10 @@
<VideoWrapper @select="showVideo"/>
</m-card>
<m-card v-show="complete" area="box5" title="智能发现" mode="4">
<Discovery />
<Discovery @select="(data) => {this.handleDetail = data;this.showHandleDetail = true;}"/>
</m-card>
<m-card v-show="complete" area="box3" title="投诉报修" mode="4">
<Repair />
<Repair @select="showRepairList"/>
</m-card>
<m-card v-show="complete" area="box6" enter="fadeInLeft" leave="fadeOutLeft" title="重点工作智能提示" mode="4" :width="50">
<div v-if="complete" class="analysis-wrapper">
......@@ -97,7 +97,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]"
......@@ -105,6 +105,12 @@
/>
</div>
</m-modal>
<m-modal v-model="repairListModal" title="投诉、报修列表" width="60%">
<m-table :layout="repairListLayout" :model="repairList"/>
</m-modal>
<m-modal v-model="$store.state.processModal" @close="$store.commit('SET_PROCESSMODAL', false)" title="联勤联动处置模型" width="80%">
<img style="width:100%;height:100%;" src="@/assets/images/process-model.png"/>
</m-modal>
</m-grid>
</template>
......@@ -249,11 +255,60 @@ export default {
label: '设备地点',
width: 16,
},
},
{
done_photo: {
label: '照片',
width: 12,
type: 'img',
},
}
],
repairList: [],
repairListModal: false,
repairListLayout: [
{
title: '街镇',
key: 'street',
width: 3,
format: val => '南码头街道'
},
{
title: '小区',
key: 'communityName',
width: 3,
format: val => '临沂二村'
},
{
title: '地址',
key: 'address',
width: 3,
},
{
title: '类型',
key: 'troubleType',
width: 3,
},
{
title: '反映问题',
key: 'reportContent',
width: 6,
},
{
title: '状态',
key: 'status',
width: 3,
},
{
title: '反馈时间',
key: 'feedBackDate',
width: 3,
},
],
}
},
beforeDestroy() {
this.$store.commit('SET_CURSCENE', null)
clearInterval(this.timer)
this.timer = null
},
......@@ -348,12 +403,14 @@ export default {
img:'repair.png',
num: data.alarmIn5MinBX || 0,
allNum: data.undoneBX || 0,
key: 'bx',
},
{
title:'投诉数量',
img:'complaint.png',
num: data.alarmIn5MinTS || 0,
allNum: data.undoneTS || 0,
key: 'ts',
},
]
this.$store.commit('SET_REPAIRLIST', result)
......@@ -367,6 +424,14 @@ export default {
}
this.$router.push({path: '/'})
},
showRepairList(key) {
this.$ajax.get({ // 获取投诉报修列表
url: this.$api.GET_TSBX_LIST.replace('{type}', key),
}).then(res => {
this.repairList = this.$com.confirm(res, 'data.content', [])
this.repairListModal = true
})
},
...mapActions([
'initLinyiData',
'setDiscoverInfo',
......
......@@ -74,7 +74,7 @@
<VideoWrapper @select="showVideo"/>
</m-card>
<m-card v-show="complete" area="box5" title="智能发现" mode="4">
<Discovery />
<Discovery @select="(data) => {this.handleDetail = data;this.showHandleDetail = true;}"/>
</m-card>
<m-card v-show="complete" area="box10" title="辅助应用" mode="4">
<Application @elevator="showEleMap = true"/>
......@@ -162,6 +162,9 @@
/>
</div>
</m-modal>
<m-modal v-model="$store.state.processModal" @close="$store.commit('SET_PROCESSMODAL', false)" title="联勤联动处置模型" width="80%">
<img style="width:100%;height:100%;" src="@/assets/images/process-model.png"/>
</m-modal>
</m-grid>
</template>
......@@ -249,6 +252,13 @@ export default {
label: '设备地点',
width: 16,
},
},
{
done_photo: {
label: '照片',
width: 12,
type: 'img',
},
}
],
personList: [
......@@ -366,6 +376,7 @@ export default {
}
},
beforeDestroy() {
this.$store.commit('SET_CURSCENE', null)
clearInterval(this.timer)
this.timer = null
},
......
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