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

添加防寒抗冻,修改数据

parent 04818d73
<!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: 16vh;
}</style><link href=./static/css/app.d5328c50544e8808aab500bb4bca3bab.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.f30d6c0e10b4c6dd92d5.js></script><script type=text/javascript src=./static/js/vendor.64f49a750b0f66cbba6d.js></script><script type=text/javascript src=./static/js/app.c6535019521eeb7f3346.js></script></body><script src=./static/SMap.min.js></script><script src=./static/Plugins.min.js></script></html>
\ No newline at end of file
}</style><link href=./static/css/app.28a8335949976e1a0020c0bf9caca761.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.136223c4625c1707024d.js></script><script type=text/javascript src=./static/js/vendor.64f49a750b0f66cbba6d.js></script><script type=text/javascript src=./static/js/app.0747fb8059916ebb899a.js></script></body><script src=./static/SMap.min.js></script><script src=./static/Plugins.min.js></script></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 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([10],{"0BYA":function(t,e){},"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,"padding-top":0};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},[this.showLoad?e("m-loader",{attrs:{msg:this.loadMsg,bgColor:"#000"}}):this._e(),this._v(" "),this._t("default")],2)},staticRenderFns:[]};var a=i("VU/8")(r,s,!1,function(t){i("0BYA")},"data-v-b53f13e8",null);e.default=a.exports}});
//# sourceMappingURL=10.87620061e05ff5870743.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?ed48","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","padding-top","children","$refs","grid","i","length","child","area","getAttribute","gridArea","watch","cur","past","MonitorGrid_monitor_grid","render","_h","$createElement","_c","_self","ref","staticClass","attrs","msg","bgColor","_e","_v","_t","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"+HAQA,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,cAAA,GAKA,IApBA,IAmBAC,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,MC5EegC,GADEC,OAFjB,WAA0B,IAAaC,EAAb9B,KAAa+B,eAA0BC,EAAvChC,KAAuCiC,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,IAAA,OAAAC,YAAA,eAAAxC,MAAhFK,KAAgF,QAAhFA,KAAwI,SAAAgC,EAAA,YAAgCI,OAAOC,IAA/KrC,KAA+KH,QAAAyC,QAAA,UAA/KtC,KAAmNuC,KAAnNvC,KAAmNwC,GAAA,KAAnNxC,KAAmNyC,GAAA,gBAE5NC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACElE,EACAiD,GATF,EAVA,SAAAkB,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/10.87620061e05ff5870743.js","sourcesContent":["<template>\n <div class=\"monitor-grid\" ref=\"grid\" :style=\"style\">\n <m-loader v-if=\"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 'padding-top': 0,\n // 'background-image': `url(${this.bgImg})`\n }\n\n const {children} = this.$refs.grid\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)},[(_vm.showLoad)?_c('m-loader',{attrs:{\"msg\":_vm.loadMsg,\"bgColor\":\"#000\"}}):_vm._e(),_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-b53f13e8\",\"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-b53f13e8\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!stylus-loader?{\\\"import\\\":[\\\"/Users/MrGuo/Workspace/east-nanjing/src/assets/css/variables.styl\\\"],\\\"path\\\":[\\\"/Users/MrGuo/Workspace/east-nanjing/src/assets\\\",\\\"/Users/MrGuo/Workspace/east-nanjing/\\\"],\\\"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-b53f13e8\\\",\\\"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-b53f13e8\"\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([10],{TNmO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Dd8w"),s=n.n(i),a={name:"MonitorTitle",props:{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:"0.2rem"}},data:function(){return{openDatePicker:!1,timer:null,time:null,style:{}}},mounted:function(){var t=this;this.hideTime||(this.timer=setInterval(function(){t.time=t.$moment().format("dddd")+" "+t.$moment().format("LTS")},1e3)),this.style=s()({},this.style,{"font-size":this.size})},beforeDestroy:function(){clearInterval(this.timer),this.timer=null},computed:{curDate:function(){var t=this.$store.state.curDate;return t?this.$moment(t).format("YYYY-MM-DD"):this.$moment().format("YYYY-MM-DD")},options:function(){var t=this;return{disabledDate:function(e){return t.$moment(e).isAfter(t.$moment())}}}},methods:{handleDateChange:function(t){this.$store.commit("SET_CURDATE",t),this.openDatePicker=!1},closePage:function(){window.close()}}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"monitor-title"},[t.hideTime?t._e():n("span",{staticClass:"moment time"},[t._v("\n "+t._s(t.curDate)+" "+t._s(t.time)+"\n ")]),t._v(" "),n("img",{staticClass:"bg",attrs:{src:t.bgImg,draggable:"false"}}),t._v(" "),n("p",{style:t.style},[t._t("default")],2)])},staticRenderFns:[]};var r=n("VU/8")(a,o,!1,function(t){n("eAcg")},"data-v-7b425ba9",null);e.default=r.exports},eAcg:function(t,e){}});
//# sourceMappingURL=10.35123d8ca6f583deb04b.js.map
\ No newline at end of file
webpackJsonp([11],{TNmO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Dd8w"),s=n.n(i),a={name:"MonitorTitle",props:{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:"0.2rem"}},data:function(){return{openDatePicker:!1,timer:null,time:null,style:{}}},mounted:function(){var t=this;this.hideTime||(this.timer=setInterval(function(){t.time=t.$moment().format("dddd")+" "+t.$moment().format("LTS")},1e3)),this.style=s()({},this.style,{"font-size":this.size})},beforeDestroy:function(){clearInterval(this.timer),this.timer=null},computed:{curDate:function(){var t=this.$store.state.curDate;return t?this.$moment(t).format("YYYY-MM-DD"):this.$moment().format("YYYY-MM-DD")},options:function(){var t=this;return{disabledDate:function(e){return t.$moment(e).isAfter(t.$moment())}}}},methods:{handleDateChange:function(t){this.$store.commit("SET_CURDATE",t),this.openDatePicker=!1},closePage:function(){window.close()}}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"monitor-title"},[t.hideTime?t._e():n("span",{staticClass:"moment time"},[t._v("\n "+t._s(t.curDate)+" "+t._s(t.time)+"\n ")]),t._v(" "),n("img",{staticClass:"bg",attrs:{src:t.bgImg,draggable:"false"}}),t._v(" "),n("p",{style:t.style},[t._t("default")],2)])},staticRenderFns:[]};var r=n("VU/8")(a,o,!1,function(t){n("eAcg")},"data-v-7b425ba9",null);e.default=r.exports},eAcg:function(t,e){}});
//# sourceMappingURL=11.a46d5ac57625764ad2be.js.map
\ No newline at end of file
webpackJsonp([11],{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:1},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}}},l={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"monitor-form"},[t.title?n("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t._l(t.layout,function(e,l){return n("Row",{key:l,staticClass:"row"},t._l(e,function(e,l){return n("i-col",{key:l,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[n("div",{style:"text-align: "+(e.align||"right")+"; width:"+t.labelWidth+"rem;"},[t._v(t._s(e.label)+":")]),t._v(" "),"img"==e.type?t._l(t.model[l]&&t.model[l].split(","),function(e){return n("img",{key:e,attrs:{src:i("g2Y0")("./"+e)},on:{click:function(i){return t.handleView(e)}}})}):n("div",{staticClass:"content"},[t._v(t._s(e.format?e.format(t.model[l]):t.model[l]||" "))])],2)}),1)}),t._v(" "),n("m-modal",{attrs:{width:"40%",title:"图片"},model:{value:t.showImg,callback:function(e){t.showImg=e},expression:"showImg"}},[t.showImg?n("img",{staticStyle:{"max-height":"45vh",width:"100%"},attrs:{src:i("g2Y0")("./"+t.img)}}):t._e()])],2)},staticRenderFns:[]};var o=i("VU/8")(n,l,!1,function(t){i("oPeO")},"data-v-7a23c967",null);e.default=o.exports},oPeO:function(t,e){}});
//# sourceMappingURL=11.c38471d0942ea9c6ff6e.js.map
\ No newline at end of file
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:1},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}}},l={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"monitor-form"},[t.title?n("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t._l(t.layout,function(e,l){return n("Row",{key:l,staticClass:"row"},t._l(e,function(e,l){return n("i-col",{key:l,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[n("div",{style:"text-align: "+(e.align||"right")+"; width:"+t.labelWidth+"rem;"},[t._v(t._s(e.label)+":")]),t._v(" "),"img"==e.type?t._l(t.model[l]&&t.model[l].split(","),function(e){return n("img",{key:e,attrs:{src:i("g2Y0")("./"+e)},on:{click:function(i){return t.handleView(e)}}})}):n("div",{staticClass:"content"},[t._v(t._s(e.format?e.format(t.model[l]):t.model[l]||" "))])],2)}),1)}),t._v(" "),n("m-modal",{attrs:{width:"40%",title:"图片"},model:{value:t.showImg,callback:function(e){t.showImg=e},expression:"showImg"}},[t.showImg?n("img",{staticStyle:{"max-height":"45vh",width:"100%"},attrs:{src:i("g2Y0")("./"+t.img)}}):t._e()])],2)},staticRenderFns:[]};var o=i("VU/8")(n,l,!1,function(t){i("oPeO")},"data-v-7a23c967",null);e.default=o.exports},oPeO:function(t,e){}});
//# sourceMappingURL=12.d6456664f1e4baa71c20.js.map
\ No newline at end of file
webpackJsonp([12],{gx5c:function(t,s){},vOoY:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a={name:"MonitorLoader",props:{msg:{type:String,default:"加载中 . . ."},bgColor:{type:String,default:"rgba(0,0,0,0.3)"}}},i={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")(a,i,!1,function(t){e("gx5c")},"data-v-72acaade",null);s.default=r.exports}});
//# sourceMappingURL=12.fb0dfea6afa3b80b43d6.js.map
\ No newline at end of file
webpackJsonp([13],{gx5c:function(t,s){},vOoY:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a={name:"MonitorLoader",props:{msg:{type:String,default:"加载中 . . ."},bgColor:{type:String,default:"rgba(0,0,0,0.3)"}}},i={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")(a,i,!1,function(t){e("gx5c")},"data-v-72acaade",null);s.default=r.exports}});
//# sourceMappingURL=13.ae1e82db8885c816fd6b.js.map
\ No newline at end of file
webpackJsonp([13],{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/10).toFixed(1)+"rem "+(t/4.5/10).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/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/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 l=i("VU/8")(n,o,!1,function(t){i("bo0G")},"data-v-630f697c",null);e.default=l.exports},bo0G:function(t,e){}});
//# sourceMappingURL=13.4c6969c394fb9541231d.js.map
\ No newline at end of file
webpackJsonp([14],{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/10).toFixed(1)+"rem "+(t/4.5/10).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/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/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 l=i("VU/8")(n,o,!1,function(t){i("bo0G")},"data-v-630f697c",null);e.default=l.exports},bo0G:function(t,e){}});
//# sourceMappingURL=14.cb69db1f9056d9e7b17f.js.map
\ No newline at end of file
webpackJsonp([14],{"93U5":function(t,e){},cxLP:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"MonitorTable",props:{title:{type:String,default:""},layout:{type:Array,default:function(){return[]}},model:{type:Array,default:function(){return[]}},mode:{type:String,default:"1"}},data:function(){return{curSrc:null,showImg:!1}},methods:{handleView:function(t){this.curSrc=t,this.showImg=!0}}},l={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(t._s(e.title))])])}),1):t._e(),t._v(" "),t.model&&t.model.length>0&&"1"==t.mode?[i("div",t._l(t.model,function(e,a){return i("Row",{key:a,staticClass:"row"},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: "+a.color+" "},[t._v(t._s(e[a.key]))])],2)}),1)}),1)]:t.model&&t.model.length>0&&"2"==t.mode?[i("div",t._l(t.model,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 s=i("VU/8")(a,l,!1,function(t){i("93U5")},"data-v-4d193538",null);e.default=s.exports}});
//# sourceMappingURL=14.d4990f4a8237148ef7ef.js.map
\ No newline at end of file
webpackJsonp([15],{"93U5":function(t,e){},cxLP:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"MonitorTable",props:{title:{type:String,default:""},layout:{type:Array,default:function(){return[]}},model:{type:Array,default:function(){return[]}},mode:{type:String,default:"1"}},data:function(){return{curSrc:null,showImg:!1}},methods:{handleView:function(t){this.curSrc=t,this.showImg=!0}}},l={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(t._s(e.title))])])}),1):t._e(),t._v(" "),t.model&&t.model.length>0&&"1"==t.mode?[i("div",t._l(t.model,function(e,a){return i("Row",{key:a,staticClass:"row"},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: "+a.color+" "},[t._v(t._s(e[a.key]))])],2)}),1)}),1)]:t.model&&t.model.length>0&&"2"==t.mode?[i("div",t._l(t.model,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 s=i("VU/8")(a,l,!1,function(t){i("93U5")},"data-v-4d193538",null);e.default=s.exports}});
//# sourceMappingURL=15.353d417a5ed863ccb3d2.js.map
\ No newline at end of file
webpackJsonp([15],{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:3e3},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>120}},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,n=e.scrollContent,r=e.subContent,s=n.offsetHeight;this.timer=setInterval(function(){s<=0?s=n.offsetHeight:(t.index<s?t.index+=1:t.index=0,n.style.transform="translateY("+-t.index+"px)",r&&(r.style.transform="translateY("+-t.index+"px)"))},50)},startMode2:function(){var t=this,e=this.$refs,n=e.scrollContent,r=e.subContent,s=this.$com.confirm(n,"children.length",0);this.timer=setInterval(function(){t.index<s?(t.index+=1,n.style.transition="transform 0.5s",r&&(r.style.transition="transform 0.5s")):(t.index=0,n.style.transition="none",r&&(r.style.transition="none")),n.style.transform="translateY("+-t.step*t.index+"rem)",r&&(r.style.transform="translateY("+-t.step*t.index+"rem)")},this.duration)}},watch:{length:function(){this.clearTimer(),this.index=0;var t=this.$refs,e=t.scrollContent,n=t.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("VUXW")},"data-v-3acc30e3",null);e.default=i.exports},VUXW:function(t,e){}});
//# sourceMappingURL=15.7655e368d63efa369118.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/MonitorComponents/MonitorScroll/monitor-scroll.vue","webpack:///./src/components/MonitorComponents/MonitorScroll/monitor-scroll.vue?4405","webpack:///./src/components/MonitorComponents/MonitorScroll/monitor-scroll.vue"],"names":["monitor_scroll","name","props","length","type","Number","required","limit","default","duration","mode","String","step","data","timer","index","mounted","this","$nextTick","start","beforeDestroy","clearTimer","computed","isShort","isTooLong","methods","clearInterval","startMode2","startMode1","_this","_$refs","$refs","content","scrollContent","subContent","height","offsetHeight","setInterval","style","transform","_this2","_$refs2","len","$com","confirm","transition","watch","_$refs3","MonitorScroll_monitor_scroll","render","_vm","_h","$createElement","_c","_self","staticClass","on","mouseenter","mouseleave","ref","_t","_v","_e","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"sGAYA,IAAAA,GACAC,KAAA,gBACAC,OACAC,QACAC,KAAAC,OACAC,UAAA,GAEAC,OACAH,KAAAC,OACAG,QAAA,GAEAC,UACAL,KAAAC,OACAG,QAAA,KAEAE,MACAN,MAAAC,OAAAM,QACAH,QAAA,GAEAI,MACAR,KAAAC,SAGAQ,KAvBA,WAwBA,OACAC,MAAA,KACAC,MAAA,IAGAC,QA7BA,WA8BAC,KAAAC,UAAAD,KAAAE,QAEAC,cAhCA,WAiCAH,KAAAI,cAEAC,UACAC,QADA,WAEA,OAAAN,KAAAd,QAAAc,KAAAV,OAEAiB,UAJA,WAKA,OAAAP,KAAAd,OAAA,MAGAsB,SACAJ,WADA,WAEAK,cAAAT,KAAAH,OACAG,KAAAH,MAAA,MAEAK,MALA,WAMAF,KAAAM,UACA,KAAAN,KAAAP,KACAO,KAAAU,aAEAV,KAAAW,eAGAA,WAbA,WAaA,IAAAC,EAAAZ,KAAAa,EACAb,KAAAc,MAAAC,EADAF,EACAG,cAAAC,EADAJ,EACAI,WACAC,EAAAH,EAAAI,aAEAnB,KAAAH,MAAAuB,YAAA,WACAF,GAAA,EACAA,EAAAH,EAAAI,cAGAP,EAAAd,MAAAoB,EACAN,EAAAd,OAAA,EAEAc,EAAAd,MAAA,EAEAiB,EAAAM,MAAAC,UAAA,eAAAV,EAAAd,MAAA,MACAmB,MAAAI,MAAAC,UAAA,eAAAV,EAAAd,MAAA,SACA,KAEAY,WA/BA,WA+BA,IAAAa,EAAAvB,KAAAwB,EACAxB,KAAAc,MAAAC,EADAS,EACAR,cAAAC,EADAO,EACAP,WACAQ,EAAAzB,KAAA0B,KAAAC,QAAAZ,EAAA,qBAEAf,KAAAH,MAAAuB,YAAA,WACAG,EAAAzB,MAAA2B,GACAF,EAAAzB,OAAA,EACAiB,EAAAM,MAAAO,WAAA,iBACAX,MAAAI,MAAAO,WAAA,oBAEAL,EAAAzB,MAAA,EACAiB,EAAAM,MAAAO,WAAA,OACAX,MAAAI,MAAAO,WAAA,SAEAb,EAAAM,MAAAC,UAAA,eAAAC,EAAA5B,KAAA4B,EAAAzB,MAAA,OACAmB,MAAAI,MAAAC,UAAA,eAAAC,EAAA5B,KAAA4B,EAAAzB,MAAA,SACAE,KAAAR,YAGAqC,OACA3C,OADA,WAEAc,KAAAI,aACAJ,KAAAF,MAAA,EAFA,IAAAgC,EAGA9B,KAAAc,MAAAC,EAHAe,EAGAd,cAAAC,EAHAa,EAGAb,WACAF,IACAA,EAAAM,MAAAC,UAAA,iBAEAL,IACAA,EAAAI,MAAAC,UAAA,iBAEAtB,KAAAC,UAAAD,KAAAE,UCjHe6B,GADEC,OAFjB,WAA0B,IAAAC,EAAAjC,KAAakC,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAAAC,IAAiCC,WAAAP,EAAA7B,WAAAqC,WAAAR,EAAA/B,SAAoDkC,EAAA,OAAYM,IAAA,kBAAoBT,EAAAU,GAAA,eAAAV,EAAAW,GAAA,KAAAX,EAAA3B,SAAA2B,EAAA1B,UAAgG0B,EAAAY,KAAhGT,EAAA,OAA+EM,IAAA,eAAiBT,EAAAU,GAAA,kBAE9SG,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACElE,EACAgD,GATF,EAVA,SAAAmB,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/15.7655e368d63efa369118.js","sourcesContent":["<template>\n <div class=\"monitor-scroll\" @mouseenter=\"clearTimer\" @mouseleave=\"start\">\n <div ref=\"scrollContent\">\n <slot />\n </div>\n <div v-if=\"!isShort && !isTooLong\" ref=\"subContent\">\n <slot />\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'MonitorScroll',\n props: {\n length: {\n type: Number,\n required: true,\n },\n limit: {\n type: Number,\n default: 6,\n },\n duration: {\n type: Number,\n default: 3000,\n },\n mode: {\n type: [Number, String],\n default: 1,\n },\n step: {\n type: Number,\n },\n },\n data() {\n return {\n timer: null,\n index: 0,\n }\n },\n mounted() {\n this.$nextTick(this.start)\n },\n beforeDestroy() {\n this.clearTimer()\n },\n computed: {\n isShort() {\n return this.length <= this.limit\n },\n isTooLong() {\n return this.length > 120\n }\n },\n methods: {\n clearTimer() {\n clearInterval(this.timer)\n this.timer = null\n },\n start() {\n if (this.isShort) return\n if (this.mode == '2') {\n this.startMode2()\n } else {\n this.startMode1()\n }\n },\n startMode1() {\n const {scrollContent: content, subContent} = this.$refs\n let height = content.offsetHeight\n\n this.timer = setInterval(() => {\n if (height <= 0) {\n height = content.offsetHeight\n return\n }\n if (this.index < height) {\n this.index += 1\n } else {\n this.index = 0\n }\n content.style.transform = `translateY(${-this.index}px)`\n subContent ? subContent.style.transform = `translateY(${-this.index}px)` : null\n }, 50)\n },\n startMode2() {\n const {scrollContent: content, subContent} = this.$refs\n const len = this.$com.confirm(content, 'children.length', 0)\n\n this.timer = setInterval(() => {\n if (this.index < len) {\n this.index += 1\n content.style.transition = 'transform 0.5s'\n subContent ? subContent.style.transition = 'transform 0.5s' : null\n } else {\n this.index = 0\n content.style.transition = 'none'\n subContent ? subContent.style.transition = 'none' : null\n }\n content.style.transform = `translateY(${-this.step * this.index}rem)`\n subContent ? subContent.style.transform = `translateY(${-this.step * this.index}rem)` : null\n }, this.duration)\n },\n },\n watch: {\n length() {\n this.clearTimer()\n this.index = 0\n const {scrollContent: content, subContent} = this.$refs\n if (content) {\n content.style.transform = 'translateY(0)'\n }\n if (subContent) {\n subContent.style.transform = 'translateY(0)'\n }\n this.$nextTick(this.start)\n }\n },\n}\n</script>\n\n<style lang=\"stylus\" scoped>\n.monitor-scroll\n width 100%\n height 100%\n overflow hidden\n box-sizing border-box\n z-index 10\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/MonitorComponents/MonitorScroll/monitor-scroll.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"monitor-scroll\",on:{\"mouseenter\":_vm.clearTimer,\"mouseleave\":_vm.start}},[_c('div',{ref:\"scrollContent\"},[_vm._t(\"default\")],2),_vm._v(\" \"),(!_vm.isShort && !_vm.isTooLong)?_c('div',{ref:\"subContent\"},[_vm._t(\"default\")],2):_vm._e()])}\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-3acc30e3\",\"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/MonitorScroll/monitor-scroll.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-3acc30e3\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!stylus-loader?{\\\"import\\\":[\\\"/Users/MrGuo/Workspace/east-nanjing/src/assets/css/variables.styl\\\"],\\\"path\\\":[\\\"/Users/MrGuo/Workspace/east-nanjing/src/assets\\\",\\\"/Users/MrGuo/Workspace/east-nanjing/\\\"],\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./monitor-scroll.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-scroll.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-scroll.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-3acc30e3\\\",\\\"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-scroll.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-3acc30e3\"\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/MonitorScroll/monitor-scroll.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ 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.
webpackJsonp([8],{L5JX: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:4e3},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>120}},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,n=e.scrollContent,r=e.subContent,s=n.offsetHeight;this.timer=setInterval(function(){s<=0?s=n.offsetHeight:(t.index<s?t.index+=1:t.index=0,n.style.transform="translateY("+-t.index+"px)",r&&(r.style.transform="translateY("+-t.index+"px)"))},50)},startMode2:function(){var t=this,e=this.$refs,n=e.scrollContent,r=e.subContent,s=this.$com.confirm(n,"children.length",0);this.timer=setInterval(function(){t.index<s?(t.index+=1,n.style.transition="transform 0.5s",r&&(r.style.transition="transform 0.5s")):(t.index=0,n.style.transition="none",r&&(r.style.transition="none")),n.style.transform="translateY("+-t.step*t.index+"rem)",r&&(r.style.transform="translateY("+-t.step*t.index+"rem)")},this.duration)}},watch:{length:function(){this.clearTimer(),this.index=0;var t=this.$refs,e=t.scrollContent,n=t.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("L5JX")},"data-v-f0e08638",null);e.default=i.exports}});
//# sourceMappingURL=8.8a6b22163b5bfcc9466a.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/MonitorComponents/MonitorScroll/monitor-scroll.vue","webpack:///./src/components/MonitorComponents/MonitorScroll/monitor-scroll.vue?cdfe","webpack:///./src/components/MonitorComponents/MonitorScroll/monitor-scroll.vue"],"names":["monitor_scroll","name","props","length","type","Number","required","limit","default","duration","mode","String","step","data","timer","index","mounted","this","$nextTick","start","beforeDestroy","clearTimer","computed","isShort","isTooLong","methods","clearInterval","startMode2","startMode1","_this","_$refs","$refs","content","scrollContent","subContent","height","offsetHeight","setInterval","style","transform","_this2","_$refs2","len","$com","confirm","transition","watch","_$refs3","MonitorScroll_monitor_scroll","render","_vm","_h","$createElement","_c","_self","staticClass","on","mouseenter","mouseleave","ref","_t","_v","_e","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"0HAYA,IAAAA,GACAC,KAAA,gBACAC,OACAC,QACAC,KAAAC,OACAC,UAAA,GAEAC,OACAH,KAAAC,OACAG,QAAA,GAEAC,UACAL,KAAAC,OACAG,QAAA,KAEAE,MACAN,MAAAC,OAAAM,QACAH,QAAA,GAEAI,MACAR,KAAAC,SAGAQ,KAvBA,WAwBA,OACAC,MAAA,KACAC,MAAA,IAGAC,QA7BA,WA8BAC,KAAAC,UAAAD,KAAAE,QAEAC,cAhCA,WAiCAH,KAAAI,cAEAC,UACAC,QADA,WAEA,OAAAN,KAAAd,QAAAc,KAAAV,OAEAiB,UAJA,WAKA,OAAAP,KAAAd,OAAA,MAGAsB,SACAJ,WADA,WAEAK,cAAAT,KAAAH,OACAG,KAAAH,MAAA,MAEAK,MALA,WAMAF,KAAAM,UACA,KAAAN,KAAAP,KACAO,KAAAU,aAEAV,KAAAW,eAGAA,WAbA,WAaA,IAAAC,EAAAZ,KAAAa,EACAb,KAAAc,MAAAC,EADAF,EACAG,cAAAC,EADAJ,EACAI,WACAC,EAAAH,EAAAI,aAEAnB,KAAAH,MAAAuB,YAAA,WACAF,GAAA,EACAA,EAAAH,EAAAI,cAGAP,EAAAd,MAAAoB,EACAN,EAAAd,OAAA,EAEAc,EAAAd,MAAA,EAEAiB,EAAAM,MAAAC,UAAA,eAAAV,EAAAd,MAAA,MACAmB,MAAAI,MAAAC,UAAA,eAAAV,EAAAd,MAAA,SACA,KAEAY,WA/BA,WA+BA,IAAAa,EAAAvB,KAAAwB,EACAxB,KAAAc,MAAAC,EADAS,EACAR,cAAAC,EADAO,EACAP,WACAQ,EAAAzB,KAAA0B,KAAAC,QAAAZ,EAAA,qBAEAf,KAAAH,MAAAuB,YAAA,WACAG,EAAAzB,MAAA2B,GACAF,EAAAzB,OAAA,EACAiB,EAAAM,MAAAO,WAAA,iBACAX,MAAAI,MAAAO,WAAA,oBAEAL,EAAAzB,MAAA,EACAiB,EAAAM,MAAAO,WAAA,OACAX,MAAAI,MAAAO,WAAA,SAEAb,EAAAM,MAAAC,UAAA,eAAAC,EAAA5B,KAAA4B,EAAAzB,MAAA,OACAmB,MAAAI,MAAAC,UAAA,eAAAC,EAAA5B,KAAA4B,EAAAzB,MAAA,SACAE,KAAAR,YAGAqC,OACA3C,OADA,WAEAc,KAAAI,aACAJ,KAAAF,MAAA,EAFA,IAAAgC,EAGA9B,KAAAc,MAAAC,EAHAe,EAGAd,cAAAC,EAHAa,EAGAb,WACAF,IACAA,EAAAM,MAAAC,UAAA,iBAEAL,IACAA,EAAAI,MAAAC,UAAA,iBAEAtB,KAAAC,UAAAD,KAAAE,UCjHe6B,GADEC,OAFjB,WAA0B,IAAAC,EAAAjC,KAAakC,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAAAC,IAAiCC,WAAAP,EAAA7B,WAAAqC,WAAAR,EAAA/B,SAAoDkC,EAAA,OAAYM,IAAA,kBAAoBT,EAAAU,GAAA,eAAAV,EAAAW,GAAA,KAAAX,EAAA3B,SAAA2B,EAAA1B,UAAgG0B,EAAAY,KAAhGT,EAAA,OAA+EM,IAAA,eAAiBT,EAAAU,GAAA,kBAE9SG,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACElE,EACAgD,GATF,EAVA,SAAAmB,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/8.8a6b22163b5bfcc9466a.js","sourcesContent":["<template>\n <div class=\"monitor-scroll\" @mouseenter=\"clearTimer\" @mouseleave=\"start\">\n <div ref=\"scrollContent\">\n <slot />\n </div>\n <div v-if=\"!isShort && !isTooLong\" ref=\"subContent\">\n <slot />\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'MonitorScroll',\n props: {\n length: {\n type: Number,\n required: true,\n },\n limit: {\n type: Number,\n default: 6,\n },\n duration: {\n type: Number,\n default: 4000,\n },\n mode: {\n type: [Number, String],\n default: 1,\n },\n step: {\n type: Number,\n },\n },\n data() {\n return {\n timer: null,\n index: 0,\n }\n },\n mounted() {\n this.$nextTick(this.start)\n },\n beforeDestroy() {\n this.clearTimer()\n },\n computed: {\n isShort() {\n return this.length <= this.limit\n },\n isTooLong() {\n return this.length > 120\n }\n },\n methods: {\n clearTimer() {\n clearInterval(this.timer)\n this.timer = null\n },\n start() {\n if (this.isShort) return\n if (this.mode == '2') {\n this.startMode2()\n } else {\n this.startMode1()\n }\n },\n startMode1() {\n const {scrollContent: content, subContent} = this.$refs\n let height = content.offsetHeight\n\n this.timer = setInterval(() => {\n if (height <= 0) {\n height = content.offsetHeight\n return\n }\n if (this.index < height) {\n this.index += 1\n } else {\n this.index = 0\n }\n content.style.transform = `translateY(${-this.index}px)`\n subContent ? subContent.style.transform = `translateY(${-this.index}px)` : null\n }, 50)\n },\n startMode2() {\n const {scrollContent: content, subContent} = this.$refs\n const len = this.$com.confirm(content, 'children.length', 0)\n\n this.timer = setInterval(() => {\n if (this.index < len) {\n this.index += 1\n content.style.transition = 'transform 0.5s'\n subContent ? subContent.style.transition = 'transform 0.5s' : null\n } else {\n this.index = 0\n content.style.transition = 'none'\n subContent ? subContent.style.transition = 'none' : null\n }\n content.style.transform = `translateY(${-this.step * this.index}rem)`\n subContent ? subContent.style.transform = `translateY(${-this.step * this.index}rem)` : null\n }, this.duration)\n },\n },\n watch: {\n length() {\n this.clearTimer()\n this.index = 0\n const {scrollContent: content, subContent} = this.$refs\n if (content) {\n content.style.transform = 'translateY(0)'\n }\n if (subContent) {\n subContent.style.transform = 'translateY(0)'\n }\n this.$nextTick(this.start)\n }\n },\n}\n</script>\n\n<style lang=\"stylus\" scoped>\n.monitor-scroll\n width 100%\n height 100%\n overflow hidden\n box-sizing border-box\n z-index 10\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/MonitorComponents/MonitorScroll/monitor-scroll.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"monitor-scroll\",on:{\"mouseenter\":_vm.clearTimer,\"mouseleave\":_vm.start}},[_c('div',{ref:\"scrollContent\"},[_vm._t(\"default\")],2),_vm._v(\" \"),(!_vm.isShort && !_vm.isTooLong)?_c('div',{ref:\"subContent\"},[_vm._t(\"default\")],2):_vm._e()])}\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-f0e08638\",\"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/MonitorScroll/monitor-scroll.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-f0e08638\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!stylus-loader?{\\\"import\\\":[\\\"/Users/MrGuo/Workspace/east-nanjing/src/assets/css/variables.styl\\\"],\\\"path\\\":[\\\"/Users/MrGuo/Workspace/east-nanjing/src/assets\\\",\\\"/Users/MrGuo/Workspace/east-nanjing/\\\"],\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./monitor-scroll.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-scroll.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-scroll.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-f0e08638\\\",\\\"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-scroll.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-f0e08638\"\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/MonitorScroll/monitor-scroll.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([8],{EmpV:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"SubTitle",props:{title:{type:String},value:{type:Number},unit:{type:String}}},n={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sub-title"},[s("span",{staticClass:"dot"}),t._v(" "),s("p",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),t.value?s("m-count",{staticClass:"count",attrs:{value:t.value}}):t._e(),t._v(" "),t.unit?s("span",{staticClass:"unit"},[t._v(t._s(t.unit))]):t._e()],1)},staticRenderFns:[]};var i=s("VU/8")(a,n,!1,function(t){s("LF5L")},"data-v-e1e05810",null);e.default=i.exports},LF5L:function(t,e){}});
//# sourceMappingURL=8.b6e8b962b26570c80b85.js.map
\ No newline at end of file
webpackJsonp([9],{EmpV:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"SubTitle",props:{title:{type:String},value:{type:Number},unit:{type:String}}},n={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sub-title"},[s("span",{staticClass:"dot"}),t._v(" "),s("p",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),t.value?s("m-count",{staticClass:"count",attrs:{value:t.value}}):t._e(),t._v(" "),t.unit?s("span",{staticClass:"unit"},[t._v(t._s(t.unit))]):t._e()],1)},staticRenderFns:[]};var i=s("VU/8")(a,n,!1,function(t){s("LF5L")},"data-v-e1e05810",null);e.default=i.exports},LF5L:function(t,e){}});
//# sourceMappingURL=9.2e90654263237c67e337.js.map
\ No newline at end of file
webpackJsonp([9],{"0BYA":function(t,e){},"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,"padding-top":0};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},[this.showLoad?e("m-loader",{attrs:{msg:this.loadMsg,bgColor:"#000"}}):this._e(),this._v(" "),this._t("default")],2)},staticRenderFns:[]};var a=i("VU/8")(r,s,!1,function(t){i("0BYA")},"data-v-b53f13e8",null);e.default=a.exports}});
//# sourceMappingURL=9.e1c22a74c9a60f150eb1.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?ed48","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","padding-top","children","$refs","grid","i","length","child","area","getAttribute","gridArea","watch","cur","past","MonitorGrid_monitor_grid","render","_h","$createElement","_c","_self","ref","staticClass","attrs","msg","bgColor","_e","_v","_t","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"8HAQA,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,cAAA,GAKA,IApBA,IAmBAC,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,MC5EegC,GADEC,OAFjB,WAA0B,IAAaC,EAAb9B,KAAa+B,eAA0BC,EAAvChC,KAAuCiC,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,IAAA,OAAAC,YAAA,eAAAxC,MAAhFK,KAAgF,QAAhFA,KAAwI,SAAAgC,EAAA,YAAgCI,OAAOC,IAA/KrC,KAA+KH,QAAAyC,QAAA,UAA/KtC,KAAmNuC,KAAnNvC,KAAmNwC,GAAA,KAAnNxC,KAAmNyC,GAAA,gBAE5NC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACElE,EACAiD,GATF,EAVA,SAAAkB,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/9.e1c22a74c9a60f150eb1.js","sourcesContent":["<template>\n <div class=\"monitor-grid\" ref=\"grid\" :style=\"style\">\n <m-loader v-if=\"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 'padding-top': 0,\n // 'background-image': `url(${this.bgImg})`\n }\n\n const {children} = this.$refs.grid\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)},[(_vm.showLoad)?_c('m-loader',{attrs:{\"msg\":_vm.loadMsg,\"bgColor\":\"#000\"}}):_vm._e(),_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-b53f13e8\",\"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-b53f13e8\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!stylus-loader?{\\\"import\\\":[\\\"/Users/MrGuo/Workspace/east-nanjing/src/assets/css/variables.styl\\\"],\\\"path\\\":[\\\"/Users/MrGuo/Workspace/east-nanjing/src/assets\\\",\\\"/Users/MrGuo/Workspace/east-nanjing/\\\"],\\\"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-b53f13e8\\\",\\\"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-b53f13e8\"\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.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var f,d,b,i=0,u=[];i<r.length;i++)d=r[i],t[d]&&u.push(t[d][0]),t[d]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=c(c.s=o[i]);return b};var r={},t={25:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var a=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:"d67c1b54497bca5732c1",1:"3dab2f03f71b0f0b1713",2:"89adb47d014f2cdecae7",3:"ad4ee5a96965c56d8caf",4:"a46e55b2b83af355e6c8",5:"8d38d044dc9e96d56699",6:"b4bee5960cbbfd744133",7:"d0ea0413c3a04b154142",8:"8a6b22163b5bfcc9466a",9:"2e90654263237c67e337",10:"87620061e05ff5870743",11:"a46d5ac57625764ad2be",12:"d6456664f1e4baa71c20",13:"ae1e82db8885c816fd6b",14:"cb69db1f9056d9e7b17f",15:"353d417a5ed863ccb3d2",16:"f7a75116f7b71310e271",17:"fff71e6a37ad22903519",18:"c4d6f4db971fd6a53de5",21:"5fe24bc860088be1b528",22:"c26ff53165d90faf9c4f",23:"795fee1c52905a188792",24:"ec1d710a9e7c95e61e7b"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=d,a.appendChild(o),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.136223c4625c1707024d.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,o){for(var a,d,b,i=0,u=[];i<r.length;i++)d=r[i],t[d]&&u.push(t[d][0]),t[d]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(n&&n(r,c,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=f(f.s=o[i]);return b};var r={},t={25:0};function f(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,f){n=t[e]=[r,f]});n[2]=r;var c=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,f.nc&&o.setAttribute("nonce",f.nc),o.src=f.p+"static/js/"+e+"."+{0:"859f1d28d6ebd7ced75f",1:"3dab2f03f71b0f0b1713",2:"774023302392cb0b90bf",3:"ad4ee5a96965c56d8caf",4:"a46e55b2b83af355e6c8",5:"8d38d044dc9e96d56699",6:"b4bee5960cbbfd744133",7:"d0ea0413c3a04b154142",8:"b6e8b962b26570c80b85",9:"e1c22a74c9a60f150eb1",10:"35123d8ca6f583deb04b",11:"c38471d0942ea9c6ff6e",12:"fb0dfea6afa3b80b43d6",13:"4c6969c394fb9541231d",14:"d4990f4a8237148ef7ef",15:"7655e368d63efa369118",16:"f7a75116f7b71310e271",17:"fff71e6a37ad22903519",18:"c4d6f4db971fd6a53de5",21:"5fe24bc860088be1b528",22:"c26ff53165d90faf9c4f",23:"795fee1c52905a188792",24:"ec1d710a9e7c95e61e7b"}[e]+".js";var a=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(a);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=d,c.appendChild(o),r},f.m=e,f.c=r,f.d=function(e,n,r){f.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},f.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(n,"a",n),n},f.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.f30d6c0e10b4c6dd92d5.js.map
\ No newline at end of file
src/assets/images/photo14.jpg

152 KB | W: | H:

src/assets/images/photo14.jpg

167 KB | W: | H:

src/assets/images/photo14.jpg
src/assets/images/photo14.jpg
src/assets/images/photo14.jpg
src/assets/images/photo14.jpg
  • 2-up
  • Swipe
  • Onion skin
src/assets/images/photo2.jpg

167 KB | W: | H:

src/assets/images/photo2.jpg

152 KB | W: | H:

src/assets/images/photo2.jpg
src/assets/images/photo2.jpg
src/assets/images/photo2.jpg
src/assets/images/photo2.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -23,7 +23,7 @@ export default {
},
duration: {
type: Number,
default: 3000,
default: 4000,
},
mode: {
type: [Number, String],
......
This diff is collapsed.
......@@ -12,10 +12,10 @@ export default {
data() {
return {
list: [
{name: '和平饭店', img: 'building1.jpg'},
{name: '慈安里大楼', img: 'building2.jpg'},
{name: '美伦大厦', img: 'building3.jpg'},
{name: '上海虹庙', img: 'building4.jpg'},
{img: 'building1.jpg'},
{img: 'photo2.jpg'},
{img: 'building3.jpg'},
{img: 'building4.jpg'},
],
}
},
......
......@@ -40,7 +40,7 @@ export default {
{name: '结案'}
],
info: [
{name: '日总数', value: 40},
{name: '日总数', value: 40},
{name: '综合管理', value: 47},
{name: '街面管理', value: 21},
{name: '小区管理', value: 31},
......
......@@ -114,6 +114,11 @@ export default {
// },
]
},
{
title: '防寒抗冻',
tipEvent: 'cold',
checked: true,
}
]
}
},
......
......@@ -110,6 +110,7 @@ export default {
{name: '菜场', icon: 'p3.png'},
{name: '洗衣店', icon: 'p9.png'},
{name: '药店', icon: 'p11.png'},
{name: '防寒抗冻', icon: 'cold.png'},
{name: '上海市人民政府', icon: 'star.png'},
{name: '南京东路街道', icon: 'star-sm.png'},
],
......
<template>
<div class="old-screen">
<div>
<m-sub title="老人数量" :value="14696" unit="人" />
<m-sub title="老人数量" :value="4408" unit="人" />
<div class="rate">
<div v-for="item in rates" :key="item.name">
<p>{{item.name}}</p>
......@@ -101,21 +101,21 @@ export default {
},
},
oldType: [
{name: '孤老', value: 346, percent: 0.90},
{name: '独居', value: 1304, percent: 3.38},
{name: '纯老', value: 3007, percent: 7.80},
{name: '低保', value: 211, percent: 0.55},
{name: '残疾', value: 2926, percent: 7.59},
{name: '优抚', value: 95, percent: 0.25},
{name: '孤老', value: 103, percent: 0.90},
{name: '独居', value: 391, percent: 3.38},
{name: '纯老', value: 902, percent: 7.80},
{name: '低保', value: 63, percent: 0.55},
{name: '残疾', value: 877, percent: 7.59},
{name: '优抚', value: 28, percent: 0.25},
],
oldMethod: [
{name: '社区养老', value: 38464, color: '#72c011'},
{name: '机构养老', value: 1146, color: '#ff9d26'},
{name: '居家养老', value: 981, color: '#01bffe'},
{name: '社区养老', value: 11539, color: '#72c011'},
{name: '机构养老', value: 343, color: '#ff9d26'},
{name: '居家养老', value: 294, color: '#01bffe'},
],
insurance: [
{name: '申请人数', value: 1113},
{name: '申请通过人数', value: 812},
{name: '申请人数', value: 333},
{name: '申请通过人数', value: 243},
],
}
},
......@@ -125,23 +125,23 @@ export default {
computed: {
ageData() {
return [
{name: '60-64岁', value: 2939, percent: 20},
{name: '65-69岁', value: 3086, percent: 21},
{name: '70-79岁', value: 4261, percent: 29},
{name: '80-89岁', value: 1910, percent: 13},
{name: '90-99岁', value: 2204, percent: 15},
{name: '100岁以上', value: 294, percent: 2},
{name: '60-64岁', value: 881, percent: 20},
{name: '65-69岁', value: 925, percent: 21},
{name: '70-79岁', value: 1278, percent: 29},
{name: '80-89岁', value: 573, percent: 13},
{name: '90-99岁', value: 661, percent: 15},
{name: '100岁以上', value: 88, percent: 2},
]
},
insuranceData() {
return [
{name: '0级', value: 50},
{name: '1级', value: 200},
{name: '2级', value: 250},
{name: '3级', value: 300},
{name: '4级', value: 220},
{name: '5级', value: 200},
{name: '6级', value: 250},
{name: '0级', value: 15},
{name: '1级', value: 60},
{name: '2级', value: 75},
{name: '3级', value: 90},
{name: '4级', value: 66},
{name: '5级', value: 60},
{name: '6级', value: 75},
]
},
},
......
......@@ -58,6 +58,13 @@
<img v-for="img in beautyDetail.photo" :key="img" :src="require(`@/assets/images/${img}`)" />
</div>
</m-drawer>
<m-drawer title="防寒抗冻详情" v-model="coldModal" @close="fullView = false" right="0.1rem" width="49vw" height="auto">
<m-form class="form" :label-width=".6" :model="coldData" :layout="coldLayout"/>
<div class="photo-wrapper" v-if="coldData.photo && Array.isArray(coldData.photo)">
<img v-for="img in coldData.photo" :key="img" :src="require(`@/assets/images/${img}`)" />
</div>
<img v-else-if="coldData.photo" :src="require(`@/assets/images/${coldData.photo}`)" style="width:100%;max-height:70vh;" />
</m-drawer>
</m-grid>
</template>
......@@ -82,7 +89,6 @@ export default {
complete: false,
fullView: false,
boundary: null,
areaAPoints: null,
workspaceA: null,
nonLivingPoints: null,
gridModal: false,
......@@ -177,6 +183,7 @@ export default {
'zhu',
'xing',
'other',
'cold',
],
beautyDetailLayout: [
{
......@@ -197,16 +204,41 @@ export default {
width: 24,
},
},
]
],
coldModal: false,
coldPoints: null,
coldData: [],
coldLayout: [
{
committee: {
label: '居委',
width: 12,
},
address: {
label: '地址',
width: 12,
},
},
{
event: {
label: '事件',
width: 12,
},
department: {
label: '处置部门',
width: 12,
},
},
],
}
},
computed: {
...mapState([
'themeName',
'areaAPointList',
'nonLivingList',
'beautyList',
'beautyPaths',
'coldList',
])
},
methods: {
......@@ -329,13 +361,6 @@ export default {
},
addAreaPoints() {
const {addPoint, remove} = this.$refs.map
remove(this.areaAPoints)
this.areaAPoints = addPoint({
key: 'areaA-points',
size: 20,
icon: 'red.png',
data: this.areaAPointList,
})
remove(this.workspaceA)
this.workspaceA = addPoint({
key: 'workspaceA',
......@@ -355,11 +380,13 @@ export default {
this.nonLivingModal = true
this.fullView = true
this.normalModal = false
this.coldModal = false
return
}
if (data.key === 'areaA-points') {
this.normalData = data
this.normalModal = true
this.codeModal = false
this.fullView = true
this.nonLivingModal = false
return
......@@ -379,6 +406,13 @@ export default {
})
map.focus(41.75319496382872, -480.0854532701907, 7)
}
if (data.key === 'codePoints') {
this.normalModal = false
this.nonLivingModal = false
this.coldData = data
this.coldModal = true
return
}
},
zoom(type) {
const {map} = this.$refs
......@@ -437,7 +471,9 @@ export default {
const {hideCommunity, remove} = this.$refs.map
hideCommunity()
remove(this.nonLivingPoints)
remove(this.areaAPoints)
this.nonLivingPoints = null
remove(this.coldPoints)
this.coldPoints = null
},
handlePoint(keys) {
this.curPointKeys = [...keys]
......@@ -448,6 +484,19 @@ export default {
} else {
hideCommunity()
}
if (keys.some(key => key === 'cold')) {
if (!this.coldPoints) {
this.coldPoints = addPoint({
key: 'codePoints',
size: 20,
icon: 'cold.png',
data: this.coldList,
})
}
} else {
remove(this.coldPoints)
this.coldPoints = null
}
const yiPoints = []
const shiPoints = []
const zhuPoints = []
......
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