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

改版

parent bb62f261
<!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.a54eae81fa3603c45375b33a5c95cf0c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.af2d465f804912c94d7c.js></script><script type=text/javascript src=./static/js/vendor.d11eae825e5c4a0e0bb2.js></script><script type=text/javascript src=./static/js/app.c9f19127120feed2dbd0.js></script></body></html> }</style><script src=./static/jquery.min.js></script><link href=./static/css/app.2e597eed86ca9d037041b17a2d30bf7a.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.4dab0750da414d3db3f7.js></script><script type=text/javascript src=./static/js/vendor.d11eae825e5c4a0e0bb2.js></script><script type=text/javascript src=./static/js/app.109716b66cc43c30d7de.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 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.
webpackJsonp([11],{"2vHb":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={name:"MonitorMenu",props:{value:{type:Boolean,default:!1},themes:{type:Array,default:function(){return[]}}},data:function(){return{curTheme:0}},computed:{defaultThemes:function(){return[{name:"防汛防台"},{name:"突发公共卫生事件"},{name:"自然灾害"},{name:"火灾、爆炸"}]},themeList:function(){return this.themes&&this.themes.length>0?this.themes:this.defaultThemes}},methods:{closeMenu:function(){this.$emit("input",!1)},handleThemeSelect:function(e){this.curTheme=e,this.closeMenu()}}},a={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("m-animate",{attrs:{enter:"fadeInUp",leave:"fadeOutDown"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.value,expression:"value"}],staticClass:"theme-menu",on:{mouseleave:e.closeMenu}},[n("div",{staticClass:"edge top-left"}),e._v(" "),n("div",{staticClass:"edge top-right"}),e._v(" "),n("div",{staticClass:"edge bottom-left"}),e._v(" "),n("div",{staticClass:"edge bottom-right"}),e._v(" "),e._l(e.themeList,function(t,s){return n("p",{key:s,class:s==e.curTheme?"on":"",on:{click:function(t){return e.handleThemeSelect(s)}}},[e._v("\n "+e._s(t.name)+"\n ")])})],2)])},staticRenderFns:[]};var i=n("VU/8")(s,a,!1,function(e){n("rv1E")},"data-v-9ebc879a",null);t.default=i.exports},rv1E:function(e,t){}}); webpackJsonp([10],{"2vHb":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={name:"MonitorMenu",props:{value:{type:Boolean,default:!1},themes:{type:Array,default:function(){return[]}}},data:function(){return{curTheme:0}},computed:{defaultThemes:function(){return[{name:"防汛防台"},{name:"突发公共卫生事件"},{name:"自然灾害"},{name:"火灾、爆炸"}]},themeList:function(){return this.themes&&this.themes.length>0?this.themes:this.defaultThemes}},methods:{closeMenu:function(){this.$emit("input",!1)},handleThemeSelect:function(e){this.curTheme=e,this.closeMenu()}}},a={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("m-animate",{attrs:{enter:"fadeInUp",leave:"fadeOutDown"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.value,expression:"value"}],staticClass:"theme-menu",on:{mouseleave:e.closeMenu}},[n("div",{staticClass:"edge top-left"}),e._v(" "),n("div",{staticClass:"edge top-right"}),e._v(" "),n("div",{staticClass:"edge bottom-left"}),e._v(" "),n("div",{staticClass:"edge bottom-right"}),e._v(" "),e._l(e.themeList,function(t,s){return n("p",{key:s,class:s==e.curTheme?"on":"",on:{click:function(t){return e.handleThemeSelect(s)}}},[e._v("\n "+e._s(t.name)+"\n ")])})],2)])},staticRenderFns:[]};var i=n("VU/8")(s,a,!1,function(e){n("rv1E")},"data-v-9ebc879a",null);t.default=i.exports},rv1E:function(e,t){}});
//# sourceMappingURL=11.e0d0852893a051f35f47.js.map //# sourceMappingURL=10.ab925f8bb0245e505ca6.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([10],{"38Q/":function(t,e){},cxLP:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Gu7T"),s=i.n(a),l={name:"MonitorTable",props:{title:{type:String,default:""},layout:{type:Array,default:function(){return[]}},model:{type:Array,default:function(){return[]}},mode:{type:String,default:"1"},clickable:{type:Boolean,default:!1}},data:function(){return{curSrc:null,showImg:!1,listData:[],cur:0,dataSize:100,btnMsg:"加载更多"}},methods:{handleView:function(t){this.curSrc=t,this.showImg=!0},handleRowClick:function(t){this.clickable&&this.$emit("row-click",t)},more:function(){var t;this.cur+=1;var e=this.model.slice(this.cur*this.dataSize,(this.cur+1)*this.dataSize);(t=this.listData).push.apply(t,s()(e)),this.model.length<=(this.cur+1)*this.dataSize&&(this.btnMsg="— 暂无更多数据 —")}},watch:{model:{handler:function(t){t.length<=this.dataSize&&(this.btnMsg="— 暂无更多数据 —"),this.cur=0,this.listData=t.slice(this.cur*this.dataSize,(this.cur+1)*this.dataSize)},immediate:!0}}},n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monitor-table"},[t.title?i("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),"1"==t.mode?i("Row",{staticClass:"row row-title"},t._l(t.layout,function(e){return i("i-col",{key:e.key,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[i("div",{style:"text-align: "+(e.align||"left")+"; "},[t._v("\n "+t._s(e.title)+"\n ")])])}),1):t._e(),t._v(" "),t.model&&t.model.length>0&&"1"==t.mode?[i("div",t._l(t.listData,function(e,a){return i("Row",{key:a,staticClass:"row",class:t.clickable?"clickable":"",nativeOn:{click:function(i){return t.handleRowClick(e)}}},t._l(t.layout,function(a){return i("i-col",{key:a.key,staticClass:"col",attrs:{span:a.width,offset:a.offset||0}},["img"==a.type?[e[a.key]&&e[a.key].length>0?t._l(e[a.key],function(e,a){return i("img",{key:e+a,attrs:{src:e},on:{click:function(i){return t.handleView(e)}}})}):t._e()]:i("div",{style:"text-align: "+(a.align||"left")+";color: "+(e.color||"")+" "},[t._v("\n "+t._s(a.format?a.format(e[a.key]):e[a.key]||"暂无")+"\n "),a.tooltip?i("Tooltip",{attrs:{"max-width":"10rem",content:e[a.tooltip],transfer:""}},[i("Icon",{staticStyle:{"font-size":"1.2rem",cursor:"pointer","margin-left":"0.2rem"},attrs:{type:"md-alert",color:"gold"}})],1):t._e()],1)],2)}),1)}),1),t._v(" "),i("div",{class:"no-data "+("加载更多"==t.btnMsg?"btn":""),on:{click:t.more}},[t._v(t._s(t.btnMsg))])]:t.model&&t.model.length>0&&"2"==t.mode?[i("div",t._l(t.listData,function(e,a){return i("Row",{key:a,staticClass:"row"},[i("i-col",{staticClass:"col",attrs:{span:16}},[i("div",[i("p",[t._v(t._s(e.INDEXNAME))]),t._v(" "),i("p",{staticStyle:{color:"#aaa"}},[t._v(t._s(e.REMARK))])])]),t._v(" "),i("i-col",{staticClass:"col",attrs:{span:8}},[e.imageList&&e.imageList.length>0?t._l(e.imageList,function(e,a){return i("img",{key:e+a,attrs:{src:t.$api.IMG_URL+e.imageName},on:{click:function(i){return t.handleView(e.imageName)}}})}):t._e()],2)],1)}),1)]:i("div",{staticClass:"no-data"},[t._v("\n — 暂无数据 —\n ")]),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 o=i("VU/8")(l,n,!1,function(t){i("38Q/")},"data-v-c134ef98",null);e.default=o.exports}});
//# sourceMappingURL=10.ee2953276ac67055544c.js.map
\ No newline at end of file
This diff is collapsed.
webpackJsonp([12],{"7p+e":function(t,e){},NW1U:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i("Dd8w"),s=i.n(r),n={name:"MonitorProgress",props:{percent:{type:Number,default:0},color:{type:[String,Array],default:"#0176fe"},size:{type:Number,default:14},"hide-info":{type:Boolean,default:!1},"text-inside":{type:Boolean,default:!1}},computed:{style:function(){var t=Math.round(this.size/10),e={padding:(t/5).toFixed(1)+"rem "+(t/4.5).toFixed(1)+"rem"};return this.hideInfo||this.textInside?this.percent>=95?e.width="85%":e.width="100%":e.width="85%",e},containerStyle:function(){return{height:(this.size/10).toFixed(1)+"rem",width:(this.percent>=100?100:this.percent)+"%"}},bgStyle:function(){return"string"==typeof this.color?{background:this.color}:{background:"linear-gradient(90deg, "+this.color[0]+", "+this.color[1]+")"}},infoStyle:function(){var t={left:"102%"};return this.textInside&&this.percent<95&&(t={left:this.percent+1+"%"}),s()({},t,{fontSize:(.7*this.size/10).toFixed(1)+"rem",color:"string"==typeof this.color?this.color:this.color[1]})}}},o={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monitor-progress",style:t.style},[i("div",{staticClass:"progress-container",style:t.containerStyle},[i("div",{staticClass:"progress-bar"}),t._v(" "),i("div",{staticClass:"progress-bg",style:t.bgStyle})]),t._v(" "),t.hideInfo?t._e():i("b",{staticClass:"progress-info",style:t.infoStyle},[i("m-count",{attrs:{value:t.percent}}),t._v("%\n ")],1)])},staticRenderFns:[]};var c=i("VU/8")(n,o,!1,function(t){i("7p+e")},"data-v-88c428c4",null);e.default=c.exports}}); webpackJsonp([11],{"7p+e":function(t,e){},NW1U:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i("Dd8w"),s=i.n(r),n={name:"MonitorProgress",props:{percent:{type:Number,default:0},color:{type:[String,Array],default:"#0176fe"},size:{type:Number,default:14},"hide-info":{type:Boolean,default:!1},"text-inside":{type:Boolean,default:!1}},computed:{style:function(){var t=Math.round(this.size/10),e={padding:(t/5).toFixed(1)+"rem "+(t/4.5).toFixed(1)+"rem"};return this.hideInfo||this.textInside?this.percent>=95?e.width="85%":e.width="100%":e.width="85%",e},containerStyle:function(){return{height:(this.size/10).toFixed(1)+"rem",width:(this.percent>=100?100:this.percent)+"%"}},bgStyle:function(){return"string"==typeof this.color?{background:this.color}:{background:"linear-gradient(90deg, "+this.color[0]+", "+this.color[1]+")"}},infoStyle:function(){var t={left:"102%"};return this.textInside&&this.percent<95&&(t={left:this.percent+1+"%"}),s()({},t,{fontSize:(.7*this.size/10).toFixed(1)+"rem",color:"string"==typeof this.color?this.color:this.color[1]})}}},o={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monitor-progress",style:t.style},[i("div",{staticClass:"progress-container",style:t.containerStyle},[i("div",{staticClass:"progress-bar"}),t._v(" "),i("div",{staticClass:"progress-bg",style:t.bgStyle})]),t._v(" "),t.hideInfo?t._e():i("b",{staticClass:"progress-info",style:t.infoStyle},[i("m-count",{attrs:{value:t.percent}}),t._v("%\n ")],1)])},staticRenderFns:[]};var c=i("VU/8")(n,o,!1,function(t){i("7p+e")},"data-v-88c428c4",null);e.default=c.exports}});
//# sourceMappingURL=12.b26fc350b53d2b30f1b4.js.map //# sourceMappingURL=11.573ef14b9d19f5d8b630.js.map
\ No newline at end of file \ 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}}); webpackJsonp([12],{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 //# sourceMappingURL=12.8d785b7833f510b6e13d.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([15],{DiCx:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={name:"MonitorForm",props:{title:{type:String,default:""},labelWidth:{type:Number,default:10},layout:{type:Array,default:function(){return[]}},model:{type:Object,default:function(){return{}}}},data:function(){return{showImg:!1,curSrc:null}},methods:{handleView:function(t){this.curSrc=t,this.showImg=!0}}},o={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monitor-form"},[t.title?i("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t._l(t.layout,function(e,n){return i("Row",{key:n,staticClass:"row"},t._l(e,function(e,n){return i("i-col",{key:n,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[i("div",{style:"text-align: "+(e.align||"right")+"; width:"+t.labelWidth+"rem;"},[t._v(t._s(e.label)+":")]),t._v(" "),"img"==e.type&&t.model[n]?[t._l(t.model[n].split(","),function(e){return i("img",{key:e,staticStyle:{"margin-right":"1rem"},attrs:{src:e},on:{click:function(i){return t.handleView(e)}}})}),t._v(" "),t.model.done_photo?i("img",{staticStyle:{"margin-right":"1rem"},attrs:{src:t.model.done_photo},on:{click:function(e){return t.handleView(t.model.done_photo)}}}):t._e()]:i("div",{staticClass:"content"},[t._v(t._s(e.format?e.format(t.model[n]):t.model[n]||" "))])],2)}),1)}),t._v(" "),i("m-modal",{attrs:{title:"照片"},model:{value:t.showImg,callback:function(e){t.showImg=e},expression:"showImg"}},[t.showImg?i("img",{staticStyle:{width:"100%","max-height":"23rem"},attrs:{src:t.curSrc}}):t._e()])],2)},staticRenderFns:[]};var r=i("VU/8")(n,o,!1,function(t){i("dtfL")},"data-v-6dd4cb1f",null);e.default=r.exports},dtfL:function(t,e){}}); 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 i("img",{key:e,staticStyle:{"margin-right":"1rem"},attrs:{src:e},on:{click:function(i){return t.handleView(e)}}})}),t._v(" "),t.model.done_photo?i("img",{staticStyle:{"margin-right":"1rem"},attrs:{src:t.model.done_photo},on:{click:function(e){return t.handleView(t.model.done_photo)}}}):t._e()]:i("div",{staticClass:"content"},[t._v(t._s(e.format?e.format(t.model[n]):t.model[n]||" "))])],2)}),1)}),t._v(" "),i("m-modal",{attrs:{title:"照片"},model:{value:t.showImg,callback:function(e){t.showImg=e},expression:"showImg"}},[t.showImg?i("img",{staticStyle:{width:"100%","max-height":"23rem"},attrs:{src:t.curSrc}}):t._e()])],2)},staticRenderFns:[]};var r=i("VU/8")(n,o,!1,function(t){i("dtfL")},"data-v-6dd4cb1f",null);e.default=r.exports},dtfL:function(t,e){}});
//# sourceMappingURL=15.7469dc06a7ee5f8ba96b.js.map //# sourceMappingURL=13.89ac8bcc9d2db4ccb3ef.js.map
\ No newline at end of file \ 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([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){}}); 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=16.2c67f226ffddb117a15a.js.map //# sourceMappingURL=14.f030a8d04200b6f7c7b4.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([17],{HR3T:function(e,t){},jkqj:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Dd8w"),i=a.n(n),o=a("mvHQ"),r=a.n(o),s=a("//Fk"),m=a.n(s),l={name:"MonitorMap",props:{mapUrl:{type:String,default:"http://www.962121.net/gis_system/smimap/index.html#/"},iconUrl:{type:String,default:"http://www.962121.net/hmfmstest/shanghaiwuye/web/dataV/propertyinspector/static/icons/"},mapJs:{type:String,default:"http://www.962121.net/gis_system/smimap/mapdebug/ShsmiGis.Bridge.js"}},data:function(){return{map:null}},mounted:function(){this.inject().then(this.initMap)},computed:{sizeRate:function(){return Math.floor(1.48*screen.height/100/11)}},methods:{inject:function(){var e=this;return new m.a(function(t,a){if(document.getElementById("_mapjs"))t();else{var n=document.createElement("script");n.type="text/javascript",n.src=e.mapJs,n.setAttribute("id","_mapjs"),document.head.appendChild(n),window.onload=function(){return t()}}})},initMap:function(){var e=this,t=window.ShsmiGis;this.map=new t.Bridge({id:"map",url:this.mapUrl,onReady:function(){e.addListener(),e.$emit("complete")}})},addListener:function(){var e=this;this.map.addEventListener(function(t){switch(t.action.toLowerCase()){case"selectfeatures":case"flashlayer":if(!t.layername)return;e.$emit("event",t)}},this)},addPoint:function(e){var t=e.name,a=e.mode,n=void 0===a?"add":a,i=e.key,o=e.data,s=e.labelKey,m=void 0===s?null:s,l=e.icon,d=void 0===l?"test.png":l,c=e.size,p=void 0===c?20:c,u=e.color;if(this.map){this.removePoint(t);var h=this.getMapParams({data:o,key:i,labelKey:m,icon:d,size:p,color:u});h.name=t,h.mode=n,this.map.Invoke({ActionName:"displayJsonData",Parameters:r()(h)})}},removePoint:function(e){this.map&&this.map.Invoke({ActionName:"displayJsonData",Parameters:r()({name:e,mode:"delete"})})},drawStreet:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#00f2ff";this.map.Invoke({ActionName:"displayJsonData",Parameters:r()({name:e,mode:"add",dataArray:[{points:t.map(function(e){return{codX:e[0],codY:e[1],codZ:0}})}],popupEnabled:!1,legendVisible:!1,type:"polyline",renderer:{type:"unique-value",defaultSymbol:{type:"simple-line",color:a,width:3*this.sizeRate}}})})},getMapParams:function(e){var t=this,a=e.data,n=void 0===a?[]:a,o=e.key,r=e.labelKey,s=e.icon,m=e.size,l=e.color,d=void 0===l?"#47B3FF":l,c=[],p=[],u=[];for(var h in n[0])u.push({name:h,alias:h,type:"string"});return u.push({name:"name",alias:"标签",type:"string"}),n.forEach(function(e){var a={codX:e.X||e.x||e.gps_x,codY:e.Y||e.y||e.gps_y,codZ:0,attrs:i()({},e)};a.attrs.name=r?e[r]:"",c.push(a),p.push({value:e[o],label:(e[r]||e[o])+"",symbol:{type:"point-3d",symbolLayers:[{type:"icon",size:m*t.sizeRate,resource:{href:t.iconUrl+(e.icon||s)}}]}})}),{dataArray:c,popupEnabled:!1,legendVisible:!1,type:"point",fieldJsonArray:u,renderer:{type:"unique-value",field:o,defaultLabel:"无数据",uniqueValueInfos:p},labelsymbol:{symbol:{type:"text",color:d,haloSize:0,haloColor:"white"},labelPlacement:"center-right"}}},addGifPoint:function(e){var t=this,a=e.name,n=e.data,o=e.labelKey,s=e.icon,m=e.size,l=void 0===m?200:m,d=e.color,c=void 0===d?"#00FFFF":d;if(this.map){Array.isArray(n)||(n=[n]);var p={name:a,mode:"add",datas:n.map(function(e){return i()({name:o?e[o]:null,value:l*t.sizeRate,corrd:[e.X||e.x,e.Y||e.y],color:c},e)}),symbol:s?"image://"+this.iconUrl+s:"circle",position:"right"};this.map.Invoke({ActionName:"flashlayer",Parameters:r()(p)})}},removeGifPoint:function(e){this.map&&this.map.Invoke({ActionName:"flashlayer",Parameters:r()({name:e,mode:"delete"})})},focus:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6;if(this.map&&e&&t){var n={codX:e,codY:t,zoomlevel:a};this.map.Invoke({ActionName:"goToPosition",Parameters:r()(n)})}else console.error("传入的坐标点不能为空")},zoomIn:function(){this.map.Invoke({ActionName:"mapzoom",Parameters:{zoommode:"zoomin"}})},zoomOut:function(){this.map.Invoke({ActionName:"mapzoom",Parameters:{zoommode:"zoomout"}})}}},d={render:function(){var e=this.$createElement;return(this._self._c||e)("iframe",{attrs:{id:"map",frameborder:"0",scrolling:"no",allowtransparency:"true"}})},staticRenderFns:[]};var c=a("VU/8")(l,d,!1,function(e){a("HR3T")},"data-v-58edf8b2",null);t.default=c.exports}}); webpackJsonp([15],{HR3T:function(e,t){},jkqj:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Dd8w"),i=a.n(n),o=a("mvHQ"),r=a.n(o),s=a("//Fk"),m=a.n(s),l={name:"MonitorMap",props:{mapUrl:{type:String,default:"http://www.962121.net/gis_system/smimap/index.html#/"},iconUrl:{type:String,default:"http://www.962121.net/hmfmstest/shanghaiwuye/web/dataV/propertyinspector/static/icons/"},mapJs:{type:String,default:"http://www.962121.net/gis_system/smimap/mapdebug/ShsmiGis.Bridge.js"}},data:function(){return{map:null}},mounted:function(){this.inject().then(this.initMap)},computed:{sizeRate:function(){return Math.floor(1.48*screen.height/100/11)}},methods:{inject:function(){var e=this;return new m.a(function(t,a){if(document.getElementById("_mapjs"))t();else{var n=document.createElement("script");n.type="text/javascript",n.src=e.mapJs,n.setAttribute("id","_mapjs"),document.head.appendChild(n),window.onload=function(){return t()}}})},initMap:function(){var e=this,t=window.ShsmiGis;this.map=new t.Bridge({id:"map",url:this.mapUrl,onReady:function(){e.addListener(),e.$emit("complete")}})},addListener:function(){var e=this;this.map.addEventListener(function(t){switch(t.action.toLowerCase()){case"selectfeatures":case"flashlayer":if(!t.layername)return;e.$emit("event",t)}},this)},addPoint:function(e){var t=e.name,a=e.mode,n=void 0===a?"add":a,i=e.key,o=e.data,s=e.labelKey,m=void 0===s?null:s,l=e.icon,d=void 0===l?"test.png":l,c=e.size,p=void 0===c?20:c,u=e.color;if(this.map){this.removePoint(t);var h=this.getMapParams({data:o,key:i,labelKey:m,icon:d,size:p,color:u});h.name=t,h.mode=n,this.map.Invoke({ActionName:"displayJsonData",Parameters:r()(h)})}},removePoint:function(e){this.map&&this.map.Invoke({ActionName:"displayJsonData",Parameters:r()({name:e,mode:"delete"})})},drawStreet:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#00f2ff";this.map.Invoke({ActionName:"displayJsonData",Parameters:r()({name:e,mode:"add",dataArray:[{points:t.map(function(e){return{codX:e[0],codY:e[1],codZ:0}})}],popupEnabled:!1,legendVisible:!1,type:"polyline",renderer:{type:"unique-value",defaultSymbol:{type:"simple-line",color:a,width:3*this.sizeRate}}})})},getMapParams:function(e){var t=this,a=e.data,n=void 0===a?[]:a,o=e.key,r=e.labelKey,s=e.icon,m=e.size,l=e.color,d=void 0===l?"#47B3FF":l,c=[],p=[],u=[];for(var h in n[0])u.push({name:h,alias:h,type:"string"});return u.push({name:"name",alias:"标签",type:"string"}),n.forEach(function(e){var a={codX:e.X||e.x||e.gps_x,codY:e.Y||e.y||e.gps_y,codZ:0,attrs:i()({},e)};a.attrs.name=r?e[r]:"",c.push(a),p.push({value:e[o],label:(e[r]||e[o])+"",symbol:{type:"point-3d",symbolLayers:[{type:"icon",size:m*t.sizeRate,resource:{href:t.iconUrl+(e.icon||s)}}]}})}),{dataArray:c,popupEnabled:!1,legendVisible:!1,type:"point",fieldJsonArray:u,renderer:{type:"unique-value",field:o,defaultLabel:"无数据",uniqueValueInfos:p},labelsymbol:{symbol:{type:"text",color:d,haloSize:0,haloColor:"white"},labelPlacement:"center-right"}}},addGifPoint:function(e){var t=this,a=e.name,n=e.data,o=e.labelKey,s=e.icon,m=e.size,l=void 0===m?200:m,d=e.color,c=void 0===d?"#00FFFF":d;if(this.map){Array.isArray(n)||(n=[n]);var p={name:a,mode:"add",datas:n.map(function(e){return i()({name:o?e[o]:null,value:l*t.sizeRate,corrd:[e.X||e.x,e.Y||e.y],color:c},e)}),symbol:s?"image://"+this.iconUrl+s:"circle",position:"right"};this.map.Invoke({ActionName:"flashlayer",Parameters:r()(p)})}},removeGifPoint:function(e){this.map&&this.map.Invoke({ActionName:"flashlayer",Parameters:r()({name:e,mode:"delete"})})},focus:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6;if(this.map&&e&&t){var n={codX:e,codY:t,zoomlevel:a};this.map.Invoke({ActionName:"goToPosition",Parameters:r()(n)})}else console.error("传入的坐标点不能为空")},zoomIn:function(){this.map.Invoke({ActionName:"mapzoom",Parameters:{zoommode:"zoomin"}})},zoomOut:function(){this.map.Invoke({ActionName:"mapzoom",Parameters:{zoommode:"zoomout"}})}}},d={render:function(){var e=this.$createElement;return(this._self._c||e)("iframe",{attrs:{id:"map",frameborder:"0",scrolling:"no",allowtransparency:"true"}})},staticRenderFns:[]};var c=a("VU/8")(l,d,!1,function(e){a("HR3T")},"data-v-58edf8b2",null);t.default=c.exports}});
//# sourceMappingURL=17.5f888fcdb0bffb2a5ccf.js.map //# sourceMappingURL=15.fb54c95b8a1bf473bd5c.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([18],{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}}); 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=18.a0b4ff0b325ba3fbfa5d.js.map //# sourceMappingURL=16.25b0e1920fcfffa457f4.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([19],{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){}}); 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=19.8ba9c37a1cddb8e720e3.js.map //# sourceMappingURL=17.96a31fae1e6f805fbbfa.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([18],{"8qTu":function(e,t){},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.9rem"}},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("8qTu")},"data-v-301e60fb",null);t.default=o.exports}});
//# sourceMappingURL=18.2a3e8732286ed322024b.js.map
\ No newline at end of file
webpackJsonp([20],{TuYK:function(t,s){},vOoY:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i={name:"MonitorLoader",props:{msg:{type:String,default:"加载中 . . ."},bgColor:{type:String,default:"rgba(0,0,0,0.3)"}}},a={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"monitor-loader",style:"background:"+this.bgColor},[s("div",{staticClass:"loader"},[s("div",{staticClass:"outer"}),this._v(" "),s("div",{staticClass:"inner"}),this._v(" "),s("b",{staticClass:"msg"},[this._v(this._s(this.msg))])])])},staticRenderFns:[]};var r=e("VU/8")(i,a,!1,function(t){e("TuYK")},"data-v-29b85990",null);s.default=r.exports}}); webpackJsonp([19],{TuYK:function(t,s){},vOoY:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i={name:"MonitorLoader",props:{msg:{type:String,default:"加载中 . . ."},bgColor:{type:String,default:"rgba(0,0,0,0.3)"}}},a={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"monitor-loader",style:"background:"+this.bgColor},[s("div",{staticClass:"loader"},[s("div",{staticClass:"outer"}),this._v(" "),s("div",{staticClass:"inner"}),this._v(" "),s("b",{staticClass:"msg"},[this._v(this._s(this.msg))])])])},staticRenderFns:[]};var r=e("VU/8")(i,a,!1,function(t){e("TuYK")},"data-v-29b85990",null);s.default=r.exports}});
//# sourceMappingURL=20.e95182f8c61c8bf3290f.js.map //# sourceMappingURL=19.fd761234a41f95a23244.js.map
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
This diff is collapsed.
webpackJsonp([20],{"1fyY":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={name:"MonitorGrid",props:{template:{type:[String,Array],required:!0},columns:{type:String},rows:{type:String},gap:{type:String},bgImg:{type:String},complete:{type:Boolean,default:!0}},data:function(){return{style:{},showLoad:!1,loadMsg:"初始化 . . ."}},mounted:function(){var t=this;this.showLoad=!this.complete,this.$nextTick(function(){setTimeout(t.init,0)})},methods:{init:function(){var t=this.template;if(Array.isArray(t)){var e="";t.forEach(function(t){e+="'"+t+"'"}),t=e}this.style={"grid-template-areas":t,"grid-template-columns":this.columns,"grid-template-rows":this.rows,"grid-gap":this.gap,padding:this.gap};for(var i=this.$refs.grid.children,r=0;r<i.length;r++){var s=i[r],a=s.getAttribute("area");a&&(s.style.gridArea=a)}}},watch:{complete:function(t,e){t&&t!=e&&(this.loadMsg="完成中 . . .",this.showLoad=!1)}}},s={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"grid",staticClass:"monitor-grid",style:this.style},[e("m-loader",{directives:[{name:"show",rawName:"v-show",value:this.showLoad,expression:"showLoad"}],attrs:{msg:this.loadMsg,bgColor:"#000"}}),this._v(" "),this._t("default")],2)},staticRenderFns:[]};var a=i("VU/8")(r,s,!1,function(t){i("oR7x")},"data-v-139a9250",null);e.default=a.exports},oR7x:function(t,e){}});
//# sourceMappingURL=20.d18b679d14bc0ba80f28.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/MonitorComponents/MonitorGrid/monitor-grid.vue","webpack:///./src/components/MonitorComponents/MonitorGrid/monitor-grid.vue?ccc3","webpack:///./src/components/MonitorComponents/MonitorGrid/monitor-grid.vue"],"names":["monitor_grid","name","props","template","type","String","Array","required","columns","rows","gap","bgImg","complete","Boolean","default","data","style","showLoad","loadMsg","mounted","_this","this","$nextTick","setTimeout","init","methods","templateAreas","isArray","result","forEach","item","grid-template-areas","grid-template-columns","grid-template-rows","grid-gap","padding","children","$refs","grid","i","length","child","area","getAttribute","gridArea","watch","cur","past","MonitorGrid_monitor_grid","render","_h","$createElement","_c","_self","ref","staticClass","directives","rawName","value","expression","attrs","msg","bgColor","_v","_t","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"wGAQA,IAAAA,GACAC,KAAA,cACAC,OACAC,UACAC,MAAAC,OAAAC,OACAC,UAAA,GAEAC,SACAJ,KAAAC,QAEAI,MACAL,KAAAC,QAEAK,KACAN,KAAAC,QAEAM,OACAP,KAAAC,QAEAO,UACAR,KAAAS,QACAC,SAAA,IAGAC,KAxBA,WAyBA,OACAC,SACAC,UAAA,EACAC,QAAA,cAGAC,QA/BA,WA+BA,IAAAC,EAAAC,KACAA,KAAAJ,UAAAI,KAAAT,SACAS,KAAAC,UAAA,WACAC,WAAAH,EAAAI,KAAA,MAGAC,SACAD,KADA,WAEA,IAAAE,EAAAL,KAAAlB,SACA,GAAAG,MAAAqB,QAAAD,GAAA,CACA,IAAAE,EAAA,GACAF,EAAAG,QAAA,SAAAC,GACAF,GAAA,IAAAE,EAAA,MAEAJ,EAAAE,EAEAP,KAAAL,OACAe,sBAAAL,EACAM,wBAAAX,KAAAb,QACAyB,qBAAAZ,KAAAZ,KACAyB,WAAAb,KAAAX,IACAyB,QAAAd,KAAAX,KAIA,IADA,IAAA0B,EAAAf,KAAAgB,MAAAC,KAAAF,SACAG,EAAA,EAAAA,EAAAH,EAAAI,OAAAD,IAAA,CACA,IAAAE,EAAAL,EAAAG,GACAG,EAAAD,EAAAE,aAAA,QACAD,IACAD,EAAAzB,MAAA4B,SAAAF,MAKAG,OACAjC,SADA,SACAkC,EAAAC,GACAD,MAAAC,IACA1B,KAAAH,QAAA,YACAG,KAAAJ,UAAA,MC1Ee+B,GADEC,OAFjB,WAA0B,IAAaC,EAAb7B,KAAa8B,eAA0BC,EAAvC/B,KAAuCgC,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,IAAA,OAAAC,YAAA,eAAAvC,MAAhFK,KAAgF,QAAwD+B,EAAA,YAAiBI,aAAavD,KAAA,OAAAwD,QAAA,SAAAC,MAAtKrC,KAAsK,SAAAsC,WAAA,aAAwEC,OAASC,IAAvPxC,KAAuPH,QAAA4C,QAAA,UAAvPzC,KAA2R0C,GAAA,KAA3R1C,KAA2R2C,GAAA,gBAEpSC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEpE,EACAgD,GATF,EAVA,SAAAqB,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/20.d18b679d14bc0ba80f28.js","sourcesContent":["<template>\n <div class=\"monitor-grid\" ref=\"grid\" :style=\"style\">\n <m-loader v-show=\"showLoad\" :msg=\"loadMsg\" bgColor=\"#000\"/>\n <slot />\n </div>\n</template>\n\n<script>\nexport default {\n name: 'MonitorGrid',\n props: {\n template: {\n type: [String, Array],\n required: true,\n },\n columns: {\n type: String,\n },\n rows: {\n type: String,\n },\n gap: {\n type: String,\n },\n bgImg: {\n type: String,\n },\n complete: {\n type: Boolean,\n default: true,\n }\n },\n data() {\n return {\n style: {},\n showLoad: false,\n loadMsg: '初始化 . . .',\n }\n },\n mounted() {\n this.showLoad = !this.complete\n this.$nextTick(() => {\n setTimeout(this.init, 0)\n })\n },\n methods: {\n init() {\n let templateAreas = this.template\n if (Array.isArray(templateAreas)) {\n let result = ''\n templateAreas.forEach(item => {\n result += `'${item}'`\n })\n templateAreas = result\n }\n this.style = {\n 'grid-template-areas': templateAreas,\n 'grid-template-columns': this.columns,\n 'grid-template-rows': this.rows,\n 'grid-gap': this.gap,\n 'padding': this.gap,\n }\n\n const children = this.$refs.grid.children\n for(let i = 0; i < children.length; i++) {\n const child = children[i]\n const area = child.getAttribute('area')\n if (area) {\n child.style.gridArea = area\n }\n }\n },\n },\n watch: {\n complete(cur, past) {\n if (cur && cur != past) {\n this.loadMsg = '完成中 . . .'\n this.showLoad = false\n }\n }\n }\n}\n</script>\n\n<style lang=\"stylus\" scoped>\n.monitor-grid\n width 100%\n height 100%\n background-size cover\n background-position center\n background-color #061627\n position relative\n display grid\n grid-gap 1rem\n padding 1rem\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/MonitorComponents/MonitorGrid/monitor-grid.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"grid\",staticClass:\"monitor-grid\",style:(_vm.style)},[_c('m-loader',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showLoad),expression:\"showLoad\"}],attrs:{\"msg\":_vm.loadMsg,\"bgColor\":\"#000\"}}),_vm._v(\" \"),_vm._t(\"default\")],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-139a9250\",\"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/MonitorGrid/monitor-grid.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-139a9250\\\",\\\"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-grid.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-grid.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-grid.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-139a9250\\\",\\\"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-grid.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-139a9250\"\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/MonitorGrid/monitor-grid.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
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 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.
webpackJsonp([9],{"1fyY":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={name:"MonitorGrid",props:{template:{type:[String,Array],required:!0},columns:{type:String},rows:{type:String},gap:{type:String},bgImg:{type:String},complete:{type:Boolean,default:!0}},data:function(){return{style:{},showLoad:!1,loadMsg:"初始化 . . ."}},mounted:function(){var t=this;this.showLoad=!this.complete,this.$nextTick(function(){setTimeout(t.init,0)})},methods:{init:function(){var t=this.template;if(Array.isArray(t)){var e="";t.forEach(function(t){e+="'"+t+"'"}),t=e}this.style={"grid-template-areas":t,"grid-template-columns":this.columns,"grid-template-rows":this.rows,"grid-gap":this.gap,padding:this.gap,"background-image":"url("+this.bgImg+")"};for(var i=this.$refs.grid.children,r=0;r<i.length;r++){var s=i[r],a=s.getAttribute("area");a&&(s.style.gridArea=a)}}},watch:{complete:function(t,e){t&&t!=e&&(this.loadMsg="完成中 . . .",this.showLoad=!1)}}},s={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"grid",staticClass:"monitor-grid",style:this.style},[e("m-loader",{directives:[{name:"show",rawName:"v-show",value:this.showLoad,expression:"showLoad"}],attrs:{msg:this.loadMsg,bgColor:"#000"}}),this._v(" "),this._t("default")],2)},staticRenderFns:[]};var a=i("VU/8")(r,s,!1,function(t){i("Un7V")},"data-v-dc3bf6d8",null);e.default=a.exports},Un7V:function(t,e){}});
//# sourceMappingURL=9.88c12c87d8c867668894.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/MonitorComponents/MonitorGrid/monitor-grid.vue","webpack:///./src/components/MonitorComponents/MonitorGrid/monitor-grid.vue?b746","webpack:///./src/components/MonitorComponents/MonitorGrid/monitor-grid.vue"],"names":["monitor_grid","name","props","template","type","String","Array","required","columns","rows","gap","bgImg","complete","Boolean","default","data","style","showLoad","loadMsg","mounted","_this","this","$nextTick","setTimeout","init","methods","templateAreas","isArray","result","forEach","item","grid-template-areas","grid-template-columns","grid-template-rows","grid-gap","padding","background-image","children","$refs","grid","i","length","child","area","getAttribute","gridArea","watch","cur","past","MonitorGrid_monitor_grid","render","_h","$createElement","_c","_self","ref","staticClass","directives","rawName","value","expression","attrs","msg","bgColor","_v","_t","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"uGAQA,IAAAA,GACAC,KAAA,cACAC,OACAC,UACAC,MAAAC,OAAAC,OACAC,UAAA,GAEAC,SACAJ,KAAAC,QAEAI,MACAL,KAAAC,QAEAK,KACAN,KAAAC,QAEAM,OACAP,KAAAC,QAEAO,UACAR,KAAAS,QACAC,SAAA,IAGAC,KAxBA,WAyBA,OACAC,SACAC,UAAA,EACAC,QAAA,cAGAC,QA/BA,WA+BA,IAAAC,EAAAC,KACAA,KAAAJ,UAAAI,KAAAT,SACAS,KAAAC,UAAA,WACAC,WAAAH,EAAAI,KAAA,MAGAC,SACAD,KADA,WAEA,IAAAE,EAAAL,KAAAlB,SACA,GAAAG,MAAAqB,QAAAD,GAAA,CACA,IAAAE,EAAA,GACAF,EAAAG,QAAA,SAAAC,GACAF,GAAA,IAAAE,EAAA,MAEAJ,EAAAE,EAEAP,KAAAL,OACAe,sBAAAL,EACAM,wBAAAX,KAAAb,QACAyB,qBAAAZ,KAAAZ,KACAyB,WAAAb,KAAAX,IACAyB,QAAAd,KAAAX,IACA0B,mBAAA,OAAAf,KAAAV,MAAA,KAIA,IADA,IAAA0B,EAAAhB,KAAAiB,MAAAC,KAAAF,SACAG,EAAA,EAAAA,EAAAH,EAAAI,OAAAD,IAAA,CACA,IAAAE,EAAAL,EAAAG,GACAG,EAAAD,EAAAE,aAAA,QACAD,IACAD,EAAA1B,MAAA6B,SAAAF,MAKAG,OACAlC,SADA,SACAmC,EAAAC,GACAD,MAAAC,IACA3B,KAAAH,QAAA,YACAG,KAAAJ,UAAA,MC3EegC,GADEC,OAFjB,WAA0B,IAAaC,EAAb9B,KAAa+B,eAA0BC,EAAvChC,KAAuCiC,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,IAAA,OAAAC,YAAA,eAAAxC,MAAhFK,KAAgF,QAAwDgC,EAAA,YAAiBI,aAAaxD,KAAA,OAAAyD,QAAA,SAAAC,MAAtKtC,KAAsK,SAAAuC,WAAA,aAAwEC,OAASC,IAAvPzC,KAAuPH,QAAA6C,QAAA,UAAvP1C,KAA2R2C,GAAA,KAA3R3C,KAA2R4C,GAAA,gBAEpSC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACErE,EACAiD,GATF,EAVA,SAAAqB,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/9.88c12c87d8c867668894.js","sourcesContent":["<template>\n <div class=\"monitor-grid\" ref=\"grid\" :style=\"style\">\n <m-loader v-show=\"showLoad\" :msg=\"loadMsg\" bgColor=\"#000\"/>\n <slot />\n </div>\n</template>\n\n<script>\nexport default {\n name: 'MonitorGrid',\n props: {\n template: {\n type: [String, Array],\n required: true,\n },\n columns: {\n type: String,\n },\n rows: {\n type: String,\n },\n gap: {\n type: String,\n },\n bgImg: {\n type: String,\n },\n complete: {\n type: Boolean,\n default: true,\n }\n },\n data() {\n return {\n style: {},\n showLoad: false,\n loadMsg: '初始化 . . .',\n }\n },\n mounted() {\n this.showLoad = !this.complete\n this.$nextTick(() => {\n setTimeout(this.init, 0)\n })\n },\n methods: {\n init() {\n let templateAreas = this.template\n if (Array.isArray(templateAreas)) {\n let result = ''\n templateAreas.forEach(item => {\n result += `'${item}'`\n })\n templateAreas = result\n }\n this.style = {\n 'grid-template-areas': templateAreas,\n 'grid-template-columns': this.columns,\n 'grid-template-rows': this.rows,\n 'grid-gap': this.gap,\n 'padding': this.gap,\n 'background-image': `url(${this.bgImg})`\n }\n\n const children = this.$refs.grid.children\n for(let i = 0; i < children.length; i++) {\n const child = children[i]\n const area = child.getAttribute('area')\n if (area) {\n child.style.gridArea = area\n }\n }\n },\n },\n watch: {\n complete(cur, past) {\n if (cur && cur != past) {\n this.loadMsg = '完成中 . . .'\n this.showLoad = false\n }\n }\n }\n}\n</script>\n\n<style lang=\"stylus\" scoped>\n.monitor-grid\n width 100%\n height 100%\n background-size cover\n background-position center\n background-color #061627\n position relative\n display grid\n grid-gap 1rem\n padding 1rem\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/MonitorComponents/MonitorGrid/monitor-grid.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"grid\",staticClass:\"monitor-grid\",style:(_vm.style)},[_c('m-loader',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showLoad),expression:\"showLoad\"}],attrs:{\"msg\":_vm.loadMsg,\"bgColor\":\"#000\"}}),_vm._v(\" \"),_vm._t(\"default\")],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-dc3bf6d8\",\"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/MonitorGrid/monitor-grid.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-dc3bf6d8\\\",\\\"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-grid.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-grid.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-grid.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-dc3bf6d8\\\",\\\"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-grid.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-dc3bf6d8\"\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/MonitorGrid/monitor-grid.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([9],{"38Q/":function(t,e){},cxLP:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Gu7T"),s=i.n(a),l={name:"MonitorTable",props:{title:{type:String,default:""},layout:{type:Array,default:function(){return[]}},model:{type:Array,default:function(){return[]}},mode:{type:String,default:"1"},clickable:{type:Boolean,default:!1}},data:function(){return{curSrc:null,showImg:!1,listData:[],cur:0,dataSize:100,btnMsg:"加载更多"}},methods:{handleView:function(t){this.curSrc=t,this.showImg=!0},handleRowClick:function(t){this.clickable&&this.$emit("row-click",t)},more:function(){var t;this.cur+=1;var e=this.model.slice(this.cur*this.dataSize,(this.cur+1)*this.dataSize);(t=this.listData).push.apply(t,s()(e)),this.model.length<=(this.cur+1)*this.dataSize&&(this.btnMsg="— 暂无更多数据 —")}},watch:{model:{handler:function(t){t.length<=this.dataSize&&(this.btnMsg="— 暂无更多数据 —"),this.cur=0,this.listData=t.slice(this.cur*this.dataSize,(this.cur+1)*this.dataSize)},immediate:!0}}},n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monitor-table"},[t.title?i("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),"1"==t.mode?i("Row",{staticClass:"row row-title"},t._l(t.layout,function(e){return i("i-col",{key:e.key,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[i("div",{style:"text-align: "+(e.align||"left")+"; "},[t._v("\n "+t._s(e.title)+"\n ")])])}),1):t._e(),t._v(" "),t.model&&t.model.length>0&&"1"==t.mode?[i("div",t._l(t.listData,function(e,a){return i("Row",{key:a,staticClass:"row",class:t.clickable?"clickable":"",nativeOn:{click:function(i){return t.handleRowClick(e)}}},t._l(t.layout,function(a){return i("i-col",{key:a.key,staticClass:"col",attrs:{span:a.width,offset:a.offset||0}},["img"==a.type?[e[a.key]&&e[a.key].length>0?t._l(e[a.key],function(e,a){return i("img",{key:e+a,attrs:{src:e},on:{click:function(i){return t.handleView(e)}}})}):t._e()]:i("div",{style:"text-align: "+(a.align||"left")+";color: "+(e.color||"")+" "},[t._v("\n "+t._s(a.format?a.format(e[a.key]):e[a.key]||"暂无")+"\n "),a.tooltip?i("Tooltip",{attrs:{"max-width":"10rem",content:e[a.tooltip],transfer:""}},[i("Icon",{staticStyle:{"font-size":"1.2rem",cursor:"pointer","margin-left":"0.2rem"},attrs:{type:"md-alert",color:"gold"}})],1):t._e()],1)],2)}),1)}),1),t._v(" "),i("div",{class:"no-data "+("加载更多"==t.btnMsg?"btn":""),on:{click:t.more}},[t._v(t._s(t.btnMsg))])]:t.model&&t.model.length>0&&"2"==t.mode?[i("div",t._l(t.listData,function(e,a){return i("Row",{key:a,staticClass:"row"},[i("i-col",{staticClass:"col",attrs:{span:16}},[i("div",[i("p",[t._v(t._s(e.INDEXNAME))]),t._v(" "),i("p",{staticStyle:{color:"#aaa"}},[t._v(t._s(e.REMARK))])])]),t._v(" "),i("i-col",{staticClass:"col",attrs:{span:8}},[e.imageList&&e.imageList.length>0?t._l(e.imageList,function(e,a){return i("img",{key:e+a,attrs:{src:t.$api.IMG_URL+e.imageName},on:{click:function(i){return t.handleView(e.imageName)}}})}):t._e()],2)],1)}),1)]:i("div",{staticClass:"no-data"},[t._v("\n — 暂无数据 —\n ")]),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 o=i("VU/8")(l,n,!1,function(t){i("38Q/")},"data-v-c134ef98",null);e.default=o.exports}});
//# sourceMappingURL=9.ad37a6c0aeaf8d06cbee.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 diff is collapsed.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(n,f,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 f)Object.prototype.hasOwnProperty.call(f,o)&&(e[o]=f[o]);for(a&&a(n,f,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(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 f=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:"9c6244bb912db720e0cd",1:"80f3e7aa96153395fe1b",2:"fb8da9bf88e06973b0e5",3:"ad3a2d6edfe05d745b21",4:"ae2aea634c25e47ad678",5:"79501cbfbec9e7ca1a2b",6:"94c94cc8500e6d11e97a",7:"ae0723e8fa6bf8aefb76",8:"5ad0f24b31031f7284b3",9:"ad37a6c0aeaf8d06cbee",10:"ab925f8bb0245e505ca6",11:"573ef14b9d19f5d8b630",12:"8d785b7833f510b6e13d",13:"89ac8bcc9d2db4ccb3ef",14:"f030a8d04200b6f7c7b4",15:"fb54c95b8a1bf473bd5c",16:"25b0e1920fcfffa457f4",17:"96a31fae1e6f805fbbfa",18:"2a3e8732286ed322024b",19:"fd761234a41f95a23244",20:"d18b679d14bc0ba80f28",23:"b5d28bfaade473c1364b",24:"f7914065b4d7bec4ccfb",25:"6b5f4749058978064562",26:"584ddfc7aad303eb351f"}[e]+".js";var o=setTimeout(b,12e4);function b(){c.onerror=c.onload=null,clearTimeout(o);var a=r[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return c.onerror=c.onload=b,f.appendChild(c),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.4dab0750da414d3db3f7.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,f){for(var o,b,d,i=0,u=[];i<r.length;i++)b=r[i],c[b]&&u.push(c[b][0]),c[b]=0;for(o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o]);for(n&&n(r,a,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)d=t(t.s=f[i]);return d};var r={},c={27:0};function t(n){if(r[n])return r[n].exports;var c=r[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.e=function(e){var n=c[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,t){n=c[e]=[r,t]});n[2]=r;var a=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:"09ed5bfa1f09554d99bb",1:"80f3e7aa96153395fe1b",2:"7d589c1e5ad24a4206a2",3:"874610ae83b6001e99dc",4:"56f8b477efeb5024f189",5:"79501cbfbec9e7ca1a2b",6:"94c94cc8500e6d11e97a",7:"ae0723e8fa6bf8aefb76",8:"5ad0f24b31031f7284b3",9:"88c12c87d8c867668894",10:"ee2953276ac67055544c",11:"e0d0852893a051f35f47",12:"b26fc350b53d2b30f1b4",13:"ab6f59a025c7716dc9dd",14:"9a6452b397b8672fced7",15:"7469dc06a7ee5f8ba96b",16:"2c67f226ffddb117a15a",17:"5f888fcdb0bffb2a5ccf",18:"a0b4ff0b325ba3fbfa5d",19:"8ba9c37a1cddb8e720e3",20:"e95182f8c61c8bf3290f",23:"8d16e1c2125979e30156",24:"f7914065b4d7bec4ccfb",25:"6b5f4749058978064562",26:"584ddfc7aad303eb351f"}[e]+".js";var o=setTimeout(b,12e4);function b(){f.onerror=f.onload=null,clearTimeout(o);var n=c[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return f.onerror=f.onload=b,a.appendChild(f),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.af2d465f804912c94d7c.js.map
\ No newline at end of file
...@@ -30,8 +30,9 @@ $selected() ...@@ -30,8 +30,9 @@ $selected()
background-color rgba(0,242,255,0.1) background-color rgba(0,242,255,0.1)
$fontColor = #70A7E0 $fontColor = #70A7E0
$edgeColor = #00f2ff $edgeColor = #00f2ff
$cardBg = rgba(53, 119, 248, 0.15) // $cardBg = rgba(53, 119, 248, 0.15)
$cardBg = rgba(18, 34, 66, 0.8)
$cardBorder = 0.1rem solid #1c425f $cardBorder = 0.1rem solid #308bd8
$cardFontColor = #5bd5ff $cardFontColor = #5bd5ff
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<span></span> <span></span>
</div> </div>
{{title}} {{title}}
<img class="title-bottom" src="@/assets/images/title-bottom.png"/>
</div> </div>
<div class="card-content"> <div class="card-content">
<span @click="handleClick" class="btn span" v-if="btn && btn == '模型'" >{{btn}}</span> <span @click="handleClick" class="btn span" v-if="btn && btn == '模型'" >{{btn}}</span>
...@@ -73,7 +74,7 @@ export default { ...@@ -73,7 +74,7 @@ export default {
</script> </script>
<style lang="stylus" scoped> <style lang="stylus" scoped>
$color = rgba(113, 235, 255, 0.3) $color = #308bd8
.card-wrapper .card-wrapper
padding 0 !important padding 0 !important
position relative position relative
...@@ -90,15 +91,19 @@ $color = rgba(113, 235, 255, 0.3) ...@@ -90,15 +91,19 @@ $color = rgba(113, 235, 255, 0.3)
position relative position relative
color #fff color #fff
font-size 1.2rem font-size 1.2rem
// font-weight bold
height 2rem height 2rem
width 31% width 31%
z-index 999 z-index 999
padding 1rem 0 0 .8rem padding .3rem 0 0 .8rem
background $cardBg background $cardBg
border .1rem solid $color border .1rem solid $color
border-bottom none border-bottom none
border-right none border-right none
.title-bottom
display block
position absolute
bottom -0.5rem
width 100%
.triangle .triangle
position absolute position absolute
width 0 width 0
...@@ -157,11 +162,12 @@ $color = rgba(113, 235, 255, 0.3) ...@@ -157,11 +162,12 @@ $color = rgba(113, 235, 255, 0.3)
position absolute position absolute
width 1rem width 1rem
height @width height @width
border 0.2rem solid $color-blue border 0.1rem solid $color-blue
z-index 100
&.top-left &.top-left
border-width .12rem border-width .1rem
top 0 top -0.1rem
left 0 left -0.1rem
border-right none border-right none
border-bottom none border-bottom none
&.top-right &.top-right
......
...@@ -59,7 +59,6 @@ export default { ...@@ -59,7 +59,6 @@ export default {
'grid-template-rows': this.rows, 'grid-template-rows': this.rows,
'grid-gap': this.gap, 'grid-gap': this.gap,
'padding': this.gap, 'padding': this.gap,
'background-image': `url(${this.bgImg})`
} }
const children = this.$refs.grid.children const children = this.$refs.grid.children
......
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
}, },
size: { size: {
type: String, type: String,
default: '1.6rem', default: '1.9rem',
}, },
}, },
data() { data() {
...@@ -104,15 +104,15 @@ export default { ...@@ -104,15 +104,15 @@ export default {
.moment .moment
z-index 100 z-index 100
position absolute position absolute
font-size 1.2rem font-size 1.4rem
color #fff color #fff
width 15rem width 15rem
top 5% top 10%
&.date &.date
right 2% right 4%
cursor pointer cursor pointer
&.time &.time
right -5% right -4%
img img
position absolute position absolute
width 100% width 100%
...@@ -122,15 +122,15 @@ export default { ...@@ -122,15 +122,15 @@ export default {
// animation shine 2.5s linear reverse infinite // animation shine 2.5s linear reverse infinite
>p >p
z-index 1 z-index 1
padding-top .5rem font-weight bold
color #fff padding-bottom 1rem
// text-shadow 0 0.2rem 0.4rem #25e7f6 // text-shadow 0 0.2rem 0.4rem #25e7f6
// background-clip text background-clip text
// -webkit-background-clip text -webkit-background-clip text
// color #25e7f6 -webkit-text-fill-color transparent
// -webkit-text-fill-color transparent // background-image linear-gradient(to bottom, #02C4FF, #02C4FF 50%, #f5f5f5 50%, #f5f5f5 100%)
// background-image linear-gradient(to bottom, #fff, #25e7f6) background-image linear-gradient(to bottom, #02C4FF, #02C4FF 20%, #7DDDFA 40%, #fff 60%, #fff 100%)
// transform translateY(10%) transform translateY(10%)
@keyframes shine { @keyframes shine {
0% { 0% {
opacity 1 opacity 1
......
...@@ -21,61 +21,61 @@ const DISCOVERYLIST = [ //智能发现列表上排 ...@@ -21,61 +21,61 @@ const DISCOVERYLIST = [ //智能发现列表上排
const FOUNDLIST = [ //智能发现列表下排 const FOUNDLIST = [ //智能发现列表下排
{ {
title:'门岗脱岗', title:'门岗脱岗',
img:'mw.png', img:'mw2.png',
num:'0', num:'0',
key: 'staffLeaveAlarmTcfteodr' key: 'staffLeaveAlarmTcfteodr'
}, },
{ {
title:'占用消防通道', title:'占用消防通道',
img:'xf.png', img:'xf2.png',
num:'0', num:'0',
key: 'parkFireExit' key: 'parkFireExit'
}, },
{ {
title:'集中充电异常', title:'集中充电异常',
img:'cd.png', img:'cd2.png',
num:'0', num:'0',
key: 'nonVehicleCharg' key: 'nonVehicleCharg'
}, },
{ {
title:'楼道充电', title:'楼道充电',
img:'cd.png', img:'cd2.png',
num:'0', num:'0',
key: 'elevatorLock' key: 'elevatorLock'
}, },
{ {
title:'损坏承重结构', title:'损坏承重结构',
img:'jg.png', img:'jg2.png',
num:'0', num:'0',
key: 'buildingVibration' key: 'buildingVibration'
}, },
{ {
title:'非定时倒垃圾', title:'非定时倒垃圾',
img:'lj.png', img:'lj2.png',
num:'0', num:'0',
key: 'trash' key: 'trash'
}, },
{ {
title:'窨井盖异常', title:'窨井盖异常',
img:'ld.png', img:'ld2.png',
num:'0', num:'0',
key: 'manholeCover' key: 'manholeCover'
}, },
{ {
title:'水箱异常开启', title:'水箱异常开启',
img:'sx.png', img:'sx2.png',
num:'0', num:'0',
key: 'waterTank' key: 'waterTank'
}, },
{ {
title:'屋顶积水', title:'屋顶积水',
img:'lj.png', img:'js2.png',
num:'0', num:'0',
key: 'roofWater' key: 'roofWater'
}, },
{ {
title:'屋顶违章建筑', title:'屋顶违章建筑',
img:'dt.png', img:'dt2.png',
num:'0', num:'0',
key: 'hermeticSpace' key: 'hermeticSpace'
}, },
...@@ -176,43 +176,48 @@ export default { ...@@ -176,43 +176,48 @@ export default {
name:'李铭', name:'李铭',
img:'person.png', img:'person.png',
}, },
{
title: '更多',
name:'',
img:'',
}
] ]
const OPERATELIST = [ // 基础数据 const OPERATELIST = [ // 基础数据
{ {
title: '小区', title: '小区',
num: '5', num: '5',
unit: '个', unit: '个',
img: 'map.png', img: 'basic1.png',
}, },
{ {
title: '总户数', title: '总户数',
num: '1719', num: '1719',
unit: '户', unit: '户',
img: 'group.png', img: 'basic2.png',
}, },
{ {
title:'物业企业', title:'物业企业',
num:'4', num:'4',
unit: '家', unit: '家',
img: 'data1.png', img: 'basic3.png',
}, },
{ {
title:'监控探头', title:'监控探头',
num:'16', num:'16',
unit: '个', unit: '个',
img: 'data2.png', img: 'basic4.png',
}, },
{ {
title:'电梯', title:'电梯',
num:'3', num:'3',
unit: '部', unit: '部',
img: 'property.png' img: 'basic5.png'
}, },
{ {
title:'车位', title:'车位',
num:'62', num:'62',
unit: '个', unit: '个',
img: 'community.png' img: 'basic6.png'
}, },
] ]
......
...@@ -20,6 +20,9 @@ export default { ...@@ -20,6 +20,9 @@ export default {
SET_REPAIRLIST(state, data) { SET_REPAIRLIST(state, data) {
state.repairList = data state.repairList = data
}, },
SET_REPAIRHANDLE(state, data) {
state.repairHandle = data
},
SET_HANDLELIST(state, data) { SET_HANDLELIST(state, data) {
state.handleList = data state.handleList = data
}, },
......
...@@ -10,6 +10,7 @@ export default { ...@@ -10,6 +10,7 @@ export default {
commandList: [], commandList: [],
operateList: [], operateList: [],
repairList: [], repairList: [],
repairHandle: [],
discoveryList: [], discoveryList: [],
foundList: [], foundList: [],
handleList: [], handleList: [],
......
...@@ -69,7 +69,8 @@ export default { ...@@ -69,7 +69,8 @@ export default {
flex-wrap wrap flex-wrap wrap
.d-l-card .d-l-card
width 49% width 49%
background-color rgba(6,27,50,0.9) // background-color rgba(6,27,50,0.5)
background-color $color-map(.1)
margin 0.1rem margin 0.1rem
padding 0 .7rem padding 0 .7rem
display flex display flex
......
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
<div v-if="data.title=='应急模式'" :style="`background-image:url(${require('@/assets/images/btn.png')})`" @click="$emit('changeMode')" class="em-mode"> <div v-if="data.title=='应急模式'" :style="`background-image:url(${require('@/assets/images/btn.png')})`" @click="$emit('changeMode')" class="em-mode">
应急模式 应急模式
</div> </div>
<div v-else-if="data.title=='更多'" class="more-btn">
更多
</div>
<template v-else> <template v-else>
<img :src="require(`@/assets/images/${data.img}`)" /> <img :src="require(`@/assets/images/${data.img}`)" />
<div> <div>
...@@ -74,4 +77,11 @@ export default { ...@@ -74,4 +77,11 @@ export default {
line-height @height line-height @height
background-size 100% background-size 100%
color orange color orange
.more-btn
position absolute
right -0.4rem
bottom -0.4rem
color $color-blue
font-size .9rem
cursor pointer
</style> </style>
...@@ -2,7 +2,40 @@ ...@@ -2,7 +2,40 @@
<div class="handle"> <div class="handle">
<template v-if="list && list.length > 0"> <template v-if="list && list.length > 0">
<m-scroll :length="list.length" :limit="2" mode="2" :step="5.5"> <m-scroll :length="list.length" :limit="2" mode="2" :step="5.5">
<div class="card" v-for="(data,i) in list" :key="i" @click="$emit('select', data)"> <template v-if="$store.state.curRepair">
<div class="card repair" v-for="(data,i) in $store.state.repairHandle" :key="i" @click="$emit('repair-select', data)">
<div class="communityName">
<p>临沂二村</p>
<div class="line"></div>
<p>{{data.address}}</p>
</div>
<div class="content">
<div class="info">
<div>
<p>协同事项</p>
<p>{{data.troubleType || '暂无分类'}}</p>
</div>
<div>
<p>发现方式</p>
<p>投诉报修</p>
</div>
<div>
<p>响应部门</p>
<p>南码头街道房办</p>
</div>
<div>
<p>反映问题</p>
<p>{{data.reportContent}}</p>
</div>
<div>
<p>状态</p>
<p>{{data.status}}</p>
</div>
</div>
</div>
</div>
</template>
<div v-else class="card" v-for="(data,i) in list" :key="i" @click="$emit('select', data)">
<div class="communityName"> <div class="communityName">
<p>{{data.communityName}}</p> <p>{{data.communityName}}</p>
<div class="line"></div> <div class="line"></div>
...@@ -207,6 +240,9 @@ export default { ...@@ -207,6 +240,9 @@ export default {
.card .card
height 5.5rem height 5.5rem
cursor pointer cursor pointer
&.repair
.info
width 100%
&:hover &:hover
background rgba(0,0,0,0.3) background rgba(0,0,0,0.3)
.communityName .communityName
......
<template>
<div class="sensor-list">
<Tabs v-model="curTab">
<TabPane v-for="tab in Object.keys(dataSource)" :key="tab" :label="tab" :name="tab"/>
</Tabs>
<template v-if="curTab">
<m-form v-for="item in dataSource[curTab]" :key="item.id" :title="item.addr" :label-width="6" :model="item" :layout="layout"/>
</template>
</div>
</template>
<script>
export default {
name: 'SensorList',
props: {
data: {
type: Array,
required: true,
}
},
data() {
return {
curTab: null,
layout: [
{
sensorType: {
label: '传感器类型',
width: 7,
},
sensorNo: {
label: '传感器编号',
width: 6,
},
_scene: {
label: '场景类型',
width: 6,
},
_status: {
label: '状态',
width: 5,
},
}
],
dataSource: {},
}
},
mounted() {
this.$nextTick(this.init())
},
methods: {
init() {
const result = {}
this.data.forEach(item => {
if (!result[item._scene]) {
result[item._scene] = []
}
result[item._scene].push(item)
})
this.curTab = Object.keys(result)[0]
this.dataSource = result
}
},
}
</script>
<style lang="stylus">
$blue = #3391FF
.sensor-list
.ivu-tabs-bar
margin-bottom 0.5rem
border-bottom .1rem solid $color-map()
.ivu-tabs-nav
.ivu-tabs-ink-bar
background-color $edgeColor
.ivu-tabs-tab
font-size 1rem
padding 0.3rem 0.5rem
color $blue
&.ivu-tabs-tab-active
color #fff
background $blue
</style>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
> >
<m-map ref="map" @event="handleMapClick" @complete="mapComplete" /> <m-map ref="map" @event="handleMapClick" @complete="mapComplete" />
<m-animate enter="fadeInDown" leave="fadeOutUp"> <m-animate enter="fadeInDown" leave="fadeOutUp">
<m-title area="title" color="#fff" :bgImg="require('@/assets/images/title-bg3.png')">浦东新区物业微平台(临沂二村居委)</m-title> <m-title area="title" color="#fff" :bgImg="require('@/assets/images/title-bg4.png')">浦东新区物业微平台(临沂二村居委)</m-title>
</m-animate> </m-animate>
<m-card v-show="complete" enter="fadeInLeft" leave="fadeOutLeft" area="box1" title="指挥体系" mode="4" btn="map-icon"> <m-card v-show="complete" enter="fadeInLeft" leave="fadeOutLeft" area="box1" title="指挥体系" mode="4" btn="map-icon">
<EmergencyCommand /> <EmergencyCommand />
...@@ -71,7 +71,11 @@ ...@@ -71,7 +71,11 @@
</div> </div>
</m-card> </m-card>
<m-card v-show="complete" enter="fadeInUp" leave="fadeOutDown" area="box7" title="联勤联动动态流程" :width="25" mode="4"> <m-card v-show="complete" enter="fadeInUp" leave="fadeOutDown" area="box7" title="联勤联动动态流程" :width="25" mode="4">
<Handle v-if="complete" @select="(data) => {this.handleDetail = data;this.showHandleDetail = true;}"/> <Handle
v-if="complete"
@select="(data) => {this.handleDetail = data;this.showHandleDetail = true;}"
@repair-select="(data) => {this.repairDetail = data; this.showRepairDetail = true;}"
/>
</m-card> </m-card>
<MapMenu :full="complete" @switch="handleSwitchIcon" @full="complete = !complete" @in="$refs.map.zoomIn()" @out="$refs.map.zoomOut()"/> <MapMenu :full="complete" @switch="handleSwitchIcon" @full="complete = !complete" @in="$refs.map.zoomIn()" @out="$refs.map.zoomOut()"/>
<StreetMenu @select="handleStreetSelect"/> <StreetMenu @select="handleStreetSelect"/>
...@@ -579,6 +583,7 @@ export default { ...@@ -579,6 +583,7 @@ export default {
url: this.$api.GET_TSBX_LIST.replace('{type}', cur), url: this.$api.GET_TSBX_LIST.replace('{type}', cur),
}).then(res => { }).then(res => {
const repairList = this.$com.confirm(res, 'data.content', []) const repairList = this.$com.confirm(res, 'data.content', [])
this.$store.commit('SET_REPAIRHANDLE', repairList)
map.addPoint({name:'repair', key: 'id', size:25, data: repairList, icon: 'repair.png'}) map.addPoint({name:'repair', key: 'id', size:25, data: repairList, icon: 'repair.png'})
map.focus(3706.690186, -4234.159912, 8.5) map.focus(3706.690186, -4234.159912, 8.5)
}) })
...@@ -642,7 +647,8 @@ export default { ...@@ -642,7 +647,8 @@ export default {
padding 0 .5rem padding 0 .5rem
cursor pointer cursor pointer
&:nth-child(2n+1) &:nth-child(2n+1)
background rgba(6,27,50,0.9) // background rgba(6,27,50,0.9)
background $color-map(.1)
&:hover &:hover
color $color-blue color $color-blue
p p
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
> >
<m-map ref="map" @event="handleMapClick" @complete="mapComplete" /> <m-map ref="map" @event="handleMapClick" @complete="mapComplete" />
<m-animate enter="fadeInDown" leave="fadeOutUp"> <m-animate enter="fadeInDown" leave="fadeOutUp">
<m-title v-show="!emergencyMode" area="title" color="#fff" :bgImg="require('@/assets/images/title-bg3.png')">浦东新区物业微平台({{curTitle}}街道)</m-title> <m-title v-show="!emergencyMode" area="title" color="#fff" :bgImg="require('@/assets/images/title-bg4.png')">浦东新区物业微平台({{curTitle}}街道)</m-title>
</m-animate> </m-animate>
<m-animate enter="fadeInDown" leave="fadeOutUp"> <m-animate enter="fadeInDown" leave="fadeOutUp">
<m-title v-show="emergencyMode" :imgStyle="{height: '178%', top: '-1rem'}" area="title" color="gold" :bgImg="require('@/assets/images/title-bg2.png')" size="2.4rem">物业微平台({{curTitle}}街道)</m-title> <m-title v-show="emergencyMode" :imgStyle="{height: '178%', top: '-1rem'}" area="title" color="gold" :bgImg="require('@/assets/images/title-bg2.png')" size="2.4rem">物业微平台({{curTitle}}街道)</m-title>
...@@ -114,8 +114,9 @@ ...@@ -114,8 +114,9 @@
您的浏览器不支持 video 标签。 您的浏览器不支持 video 标签。
</video> </video>
</m-modal> </m-modal>
<m-modal v-model="showEventModal" title="传感器列表" @close="$refs.map.removeGifPoint('selected-point')" width="70%"> <m-modal v-model="showEventModal" title="传感器列表" width="70%">
<m-form v-for="data in eventData" :key="data.id" :title="data.addr" :label-width="6" :model="data" :layout="eventLayout"/> <SensorList :data="eventData" />
<!-- <m-form v-for="data in eventData" :key="data.id" :title="data.addr" :label-width="6" :model="data" :layout="eventLayout"/> -->
<!-- <img v-if="showEventModal" style="width:100%;" :src="eventData.img ? require(`@/assets/images/${eventData.img}`) : null"/> --> <!-- <img v-if="showEventModal" style="width:100%;" :src="eventData.img ? require(`@/assets/images/${eventData.img}`) : null"/> -->
</m-modal> </m-modal>
<m-modal v-model="$store.state.processModal" @close="$store.commit('SET_PROCESSMODAL', false)" title="联勤联动处置模型" width="80%"> <m-modal v-model="$store.state.processModal" @close="$store.commit('SET_PROCESSMODAL', false)" title="联勤联动处置模型" width="80%">
...@@ -155,6 +156,7 @@ import GovernAnalysis from './components/govern-analysis' ...@@ -155,6 +156,7 @@ import GovernAnalysis from './components/govern-analysis'
import AnalysisModal from './components/analysis-modal' import AnalysisModal from './components/analysis-modal'
import IssueDetail from './components/issue-detail' import IssueDetail from './components/issue-detail'
import VideoWrapper from './components/video-wrapper' import VideoWrapper from './components/video-wrapper'
import SensorList from './components/sensor-list'
import {mapActions} from 'vuex' import {mapActions} from 'vuex'
export default { export default {
...@@ -177,6 +179,7 @@ export default { ...@@ -177,6 +179,7 @@ export default {
AnalysisModal, AnalysisModal,
IssueDetail, IssueDetail,
VideoWrapper, VideoWrapper,
SensorList,
}, },
data() { data() {
return { return {
...@@ -189,6 +192,7 @@ export default { ...@@ -189,6 +192,7 @@ export default {
showEleMap: false, showEleMap: false,
curImg: '', curImg: '',
showImgModal: false, showImgModal: false,
eventData: [],
showHandleDetail: false, showHandleDetail: false,
handleDetail: {}, handleDetail: {},
handleDetailLayout: [ handleDetailLayout: [
...@@ -250,27 +254,6 @@ export default { ...@@ -250,27 +254,6 @@ export default {
analysisTitle: null, analysisTitle: null,
curVideo: null, curVideo: null,
videoModal: false, videoModal: false,
eventData: [],
eventLayout: [
{
sensorType: {
label: '传感器类型',
width: 7,
},
sensorNo: {
label: '传感器编号',
width: 6,
},
_scene: {
label: '场景类型',
width: 6,
},
_status: {
label: '状态',
width: 5,
},
}
],
showEventModal: false, showEventModal: false,
discoverModal: false, discoverModal: false,
discoverLayout: [ discoverLayout: [
...@@ -446,6 +429,7 @@ export default { ...@@ -446,6 +429,7 @@ export default {
this.addSensorPoints() this.addSensorPoints()
}, },
addSensorPoints() { addSensorPoints() {
this.$refs.map.removePoint('sensor')
if (this.openIcon && !this.curScene && !this.curRepair) { if (this.openIcon && !this.curScene && !this.curRepair) {
this.setSensorList() this.setSensorList()
} }
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
> >
<m-map ref="map" @event="handleMapClick" @complete="mapComplete" /> <m-map ref="map" @event="handleMapClick" @complete="mapComplete" />
<m-animate enter="fadeInDown" leave="fadeOutUp"> <m-animate enter="fadeInDown" leave="fadeOutUp">
<m-title area="title" color="#fff" :bgImg="require('@/assets/images/title-bg3.png')">浦东新区物业微平台(申江豪城)</m-title> <m-title area="title" color="#fff" :bgImg="require('@/assets/images/title-bg4.png')">浦东新区物业微平台(申江豪城)</m-title>
</m-animate> </m-animate>
<m-card v-show="complete" enter="fadeInLeft" leave="fadeOutLeft" area="box1" title="指挥体系" mode="4" btn="map-icon"> <m-card v-show="complete" enter="fadeInLeft" leave="fadeOutLeft" area="box1" title="指挥体系" mode="4" btn="map-icon">
<EmergencyCommand /> <EmergencyCommand />
......
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