Commit 7ba61613 authored by 郭铭瑶's avatar 郭铭瑶 🤘

页面再改版

parent 181d0999
<!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.92cfa78f279826a4f877ac8a9deb4a6b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.32f21b41b5a53f18ca2b.js></script><script type=text/javascript src=./static/js/vendor.b627dd744649523d38bb.js></script><script type=text/javascript src=./static/js/app.6b829d14a3997153c60a.js></script></body></html> }</style><script src=./static/jquery.min.js></script><link href=./static/css/app.6b83ed7b0dc00d7db6eae3785f1829db.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.811e3e062bfe970df86b.js></script><script type=text/javascript src=./static/js/vendor.b627dd744649523d38bb.js></script><script type=text/javascript src=./static/js/app.38f93fad0c40c7c147d1.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 diff is collapsed.
{
"data": [
{"index": 1, "type": "安全管理", "name": "高空坠物隐患", "level1": "业委会、居委会、物业", "level2": "公安、城管", "level3": "公安、城管、房管、环保", "discover": "视频识别、无人机巡查", "des": "外立面脱落,高层广告牌松动,空调支架松动等"},
{"index": 2, "type": "安全管理", "name": "水/电/气异常", "level1": "业委会、居委会、物业", "level2": "公用事业部门", "level3": "环保", "discover": "物联感知", "des": "供水、供电、供气异常,水质异常,供能设施设备异常"},
{"index": 3, "type": "安全管理", "name": "电梯运行异常", "level1": "业委会、物业、维保单位", "level2": "市场监管局、城管", "level3": "市场监管局、城管、房管", "discover": "视频识别、物联感知", "des": "年检过期,未张贴标示,电梯运行故障等"},
{"index": 4, "type": "安全管理", "name": "消防设施异常", "level1": "业委会、居委会、物业", "level2": "消防", "level3": "消防、城管", "discover": "巡查发现为主", "des": "灭火器超有效期,消防栓、喷淋无法启用,年检过期等"},
{"index": 5, "type": "安全管理", "name": "占用消防通道", "level1": "业委会、居委会、物业", "level2": "公安、城管", "level3": "消防、城管、公安", "discover": "视频识别、物联感知", "des": "违规停车占用消防登高点,高层顶层逃生通道上锁,消防通道堆物等"},
{"index": 6, "type": "安全管理", "name": "违规充电", "level1": "业委会、居委会、物业", "level2": "公安", "level3": "消防、公安", "discover": "视频识别", "des": "飞线充电,非机动车楼道充电"},
{"index": 7, "type": "安全管理", "name": "损坏承重结构", "level1": "业委会、居委会、物业", "level2": "城管", "level3": "城管、房管", "discover": "物联感知", "des": "装修敲承重墙,切割破坏地基、屋顶,破坏连接房屋与阳台的砖、混凝土墙"},
{"index": 8, "type": "有序管理", "name": "违规租赁行为", "level1": "业委会、居委会、物业", "level2": "城管、公安", "level3": "城管、公安、房管", "discover": "人脸识别、数据分析", "des": "群租,日租房,租赁未备案"},
{"index": 9, "type": "有序管理", "name": "噪音扰民", "level1": "业委会、居委会、物业", "level2": "城管", "level3": "城管、环保", "discover": "物联感知", "des": "装修噪音,空调噪音,施工噪音"},
{"index": 10, "type": "有序管理", "name": "空调安装违规", "level1": "业委会、居委会、物业", "level2": "城管", "level3": "城管、房管", "discover": "巡查投诉发现为主", "des": "未在指定位置安装、冷凝管未接入总管等"},
{"index": 11, "type": "有序管理", "name": "毁绿占绿", "level1": "业委会、居委会、物业", "level2": "城管", "level3": "城管、环保", "discover": "巡查投诉发现为主", "des": "破坏绿化,占用绿化改建车位,过度修剪"},
{"index": 12, "type": "有序管理", "name": "改变使用性质", "level1": "业委会、居委会、物业", "level2": "城管", "level3": "城管、房管", "discover": "巡查投诉发现为主", "des": "居改非,改变房屋原始设计厨房间、卫生间位置"},
{"index": 13, "type": "有序管理", "name": "物业交接矛盾", "level1": "业委会、居委会", "level2": "公安、城管", "level3": "公安、房管、城管", "discover": "投诉发现为主", "des": "突发无人管理,老物业阻碍新物业进场暴力对峙,不移交有关资料等"},
{"index": 14, "type": "有序管理", "name": "乱收费", "level1": "业委会、居委会", "level2": "公安", "level3": "公安、物价、市场、房管", "discover": "投诉发现为主", "des": "不按标准收取维修费、建筑垃圾短驳费,敲墙党,违规收取装修押金等乱收费行为"},
{"index": 15, "type": "有序管理", "name": "破坏房屋外貌", "level1": "业委会、居委会、物业", "level2": "城管", "level3": "城管、房管", "discover": "巡查、投诉发现为主", "des": "改变外立面色彩,改变窗户原始尺寸,破墙开门开窗等"},
{"index": 16, "type": "有序管理", "name": "违法搭建", "level1": "业委会、居委会、物业", "level2": "城管", "level3": "城管、房管", "discover": "巡查、投诉发现为主", "des": "未取得规划许可擅自搭建的建筑物、构筑物,开挖地坪,房屋插层等"},
{"index": 17, "type": "有序管理", "name": "改建占用共用", "level1": "业委会、居委会、物业", "level2": "城管", "level3": "城管、房管", "discover": "巡查发现为主", "des": "擅自安装楼道门,擅自安装地锁,封烟道等"},
{"index": 18, "type": "有序管理", "name": "停车矛盾", "level1": "业委会、居委会、物业", "level2": "公安", "level3": "公安、房管", "discover": "投诉发现为主", "des": "机动车停车管理问题"},
{"index": 19, "type": "有序管理", "name": "违规饲养动物", "level1": "业委会、居委会、物业", "level2": "城管", "level3": "城管", "discover": "巡查、投诉发现为主", "des": "养奇特或大量动物的"},
{"index": 20, "type": "有序管理", "name": "维修资金异常", "level1": "业委会、居委会、物业", "level2": "城管", "level3": "房管、城管", "discover": "数据分析", "des": "账目未公布,占用、挪用维修资金、公共收益等"},
{"index": 21, "type": "卫生管理", "name": "建筑垃圾违规", "level1": "业委会、居委会、物业", "level2": "城管", "level3": "环保、城管", "discover": "视频识别", "des": "未在指定堆放点堆放,未及时清运等"},
{"index": 22, "type": "卫生管理", "name": "垃圾分类违规", "level1": "业委会、居委会、物业", "level2": "环保、城管", "level3": "环保、城管", "discover": "物联感知、视频识别", "des": "未及时清运,垃圾箱房、桶未按规定设置,违法定时定点投放规定等"},
{"index": 23, "type": "卫生管理", "name": "乱布线", "level1": "业委会、居委会、物业", "level2": "管线单位", "level3": "通信管理部门、城管", "discover": "巡查发现为主", "des": "电力线、通信线、有线电视线无序混乱布设"},
{"index": 24, "type": "卫生管理", "name": "楼道小广告", "level1": "业委会、居委会、物业", "level2": "城管", "level3": "城管", "discover": "物联感知、视频识别", "des": "楼道张贴、涂写小广告"}
]
}
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],{"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=10.95e6aac83e6fd0b95f6e.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":"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,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/10.95e6aac83e6fd0b95f6e.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([11],{"26GA":function(t,e){},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("26GA")},"data-v-7f4d22bf",null);e.default=a.exports}});
//# sourceMappingURL=11.4b5f66ded1b1be9d0c6e.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/MonitorComponents/MonitorStep/monitor-step.vue","webpack:///./src/components/MonitorComponents/MonitorStep/monitor-step.vue?2ea2","webpack:///./src/components/MonitorComponents/MonitorStep/monitor-step.vue"],"names":["monitor_step","name","props","steps","type","Array","required","current","String","Number","default","msg","data","setTop","mounted","_this","this","$nextTick","top","$refs","icon","offsetTop","computed","linePercent","len","length","doneWidth","index","is_nan_default","Math","round","console","error","done","notWidth","MonitorStep_monitor_step","render","_vm","_h","$createElement","_c","_self","staticClass","style","_v","_l","step","i","key","class","attrs","title","_s","ref","refInFor","__webpack_require__","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"sJAgBAA,GAIAC,KAAA,cACAC,OACAC,OACAC,KAAAC,MACAC,UAAA,GAEAC,SACAH,MAAAI,OAAAC,OAAAJ,OACAK,QAFA,WAGA,eAGAC,KACAP,KAAAC,MACAK,QAFA,WAGA,YAIAE,KAvBA,WAwBA,OACAC,OAAA,OAGAC,QA5BA,WA4BA,IAAAC,EAAAC,KACAA,KAAAC,UAAA,WACAF,EAAAF,QAAAK,IAAA,QAAAH,EAAAI,MAAAC,KAAA,GAAAC,UAAA,oBAGAC,UACAC,YADA,WAEA,IAAAC,EAAAR,KAAAb,MAAAsB,OACA,OAAAD,EAAA,OAAAA,EAAA,GACA,KAEAE,UANA,WAOA,IAAAC,EAAAlB,OAAAO,KAAAT,QAAA,IAIA,GAHAS,KAAAT,QAAA,KACAoB,GAAA,IAEAC,IAAAD,GAIA,OAAAE,KAAAC,MAAAd,KAAAO,YAAAI,GAHAI,QAAAC,MAAA,6BAKAC,KAjBA,WAkBA,IAAAN,EAAAlB,OAAAO,KAAAT,QAAA,IAIA,OAHAS,KAAAT,QAAA,KACAoB,GAAA,GAEAA,GAEAO,SAxBA,WAyBA,WAAAlB,KAAAU,aCvEeS,GADEC,OAFjB,WAA0B,IAAAC,EAAArB,KAAasB,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,iBAA2BF,EAAA,OAAYE,YAAA,QAAAC,MAAAN,EAAA,SAAuCG,EAAA,OAAYE,YAAA,YAAAC,MAAA,SAAAN,EAAAX,UAAA,MAAiEW,EAAAO,GAAA,KAAAJ,EAAA,OAAwBE,YAAA,OAAAC,MAAA,SAAAN,EAAAH,SAAA,QAA2DG,EAAAO,GAAA,KAAAP,EAAAQ,GAAAR,EAAA,eAAAS,EAAAC,GAAoD,OAAAP,EAAA,OAAiBQ,IAAAD,EAAAE,MAAA,SAAAF,GAAAV,EAAAJ,KAAA,WAAoDO,EAAA,KAAUU,OAAOC,MAAAL,EAAA7C,QAAmBoC,EAAAO,GAAAP,EAAAe,GAAAN,EAAA7C,SAAAoC,EAAAO,GAAA,KAAAG,GAAAV,EAAA9B,QAAA,GAAAiC,EAAA,OAA0Ea,IAAA,OAAAC,UAAA,EAAAZ,YAAA,OAAAC,MAAA,wBAA+EY,EAAQ,QAA0B,MAAWf,EAAA,OAAYE,YAAA,SAAmBL,EAAAO,GAAA,KAAAJ,EAAA,QAAyBE,YAAA,MAAAQ,OAAyBC,MAAAL,EAAAnC,OAAkB0B,EAAAO,GAAAP,EAAAe,GAAAf,EAAA1B,IAAAoC,YAAiC,IAE9yBS,oBCCjB,IAcAC,EAdyBF,EAAQ,OAcjCG,CACE1D,EACAmC,GATF,EAVA,SAAAwB,GACEJ,EAAQ,SAaV,kBAEA,MAUeK,EAAA,QAAAH,EAAiB","file":"static/js/11.4b5f66ded1b1be9d0c6e.js","sourcesContent":["<template>\n <div class=\"monitor-step\">\n <div class=\"lines\" :style=\"setTop\">\n <div class=\"line done\" :style=\"`width:${doneWidth}%`\"/>\n <div class=\"line\" :style=\"`width:${notWidth}%`\"/>\n </div>\n <div v-for=\"(step, i) in steps\" :key=\"i\" :class=\"`item ${i == done ? 'on' : ''}`\">\n <p :title=\"step.name\">{{step.name}}</p>\n <div ref=\"icon\" v-if=\"i <= current[0]\" class=\"icon\" :style=\"`background-image:url(${require('@/assets/images/true.png')})`\"/>\n <div v-else class=\"none\"/>\n <span class=\"msg\" :title=\"step.msg\">{{msg[i]}}</span>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n // 顶部的lines是线 , 根据doneWidth 和notWidth 来判断宽度\n // 枚举数据,判断入参数组的第二项是否为true, 区别设置css 下一个圈是否放大\n // 下面的 icon 是判断枚举的index 是否小于 cur的第0项, 是的话就给 ✔️ 对号\n name: 'MonitorStep',\n props: {\n steps: {\n type: Array,\n required: true,\n },\n current: {\n type: [String, Number, Array],\n default(){\n return [0, false] // 第0项为当前的标识, 后面的布尔是判断后面是否加线\n }\n },\n msg: {\n type: Array,\n default() {\n return []\n },\n }\n },\n data() {\n return {\n setTop: null,\n }\n },\n mounted() {\n this.$nextTick(() => {\n this.setTop = {top: `calc(${this.$refs.icon[0].offsetTop}px + 0.35rem)`}\n })\n },\n computed: {\n linePercent() {\n const len = this.steps.length\n if (len > 2) return 100 / (len - 1) // 跟据steps数组的长度,分隔线每一调的长度占比\n return 100\n },\n doneWidth() {\n let index = Number(this.current[0])\n if (this.current[1]) { // 如果数组的第二项是 true, 流程线就会向下级多走一条\n index = index+1\n }\n if (Number.isNaN(index)) {\n console.error('Props: \"current\" is NaN!')\n return\n }\n return Math.round(this.linePercent * index)\n },\n done() { // 是否进入下一条\n let index = Number(this.current[0])\n if (this.current[1]) {\n index = index+1\n }\n return index\n },\n notWidth() {\n return 100 - this.doneWidth\n }\n }\n}\n</script>\n\n<style lang=\"stylus\" scoped>\n$icon-color = #1DE5AD\n.monitor-step\n width 90%\n margin 0 auto\n display flex\n justify-content space-between\n position relative\n font-size 0.9rem\n .lines\n display flex\n position absolute\n width 100%\n left -0.5rem\n >.line\n height 0.3rem\n background rgba(0,0,0,0.8)\n border-radius 1rem\n margin-left 0.5rem\n &.done\n background linear-gradient(to right, #3391ff, $edgeColor)\n .item\n text-align center\n width 1rem\n position relative\n z-index 1\n .icon\n width 1rem\n height 1rem\n border-radius 50%\n background-color $icon-color\n background-position 50%\n background-size 50%\n background-repeat no-repeat\n .none\n width 0.8rem\n height 0.8rem\n border 0.2rem solid $edgeColor\n border-radius 50%\n transform translateY(10%)\n .msg\n display inline-block\n font-size 0.6rem\n width 4rem\n transform translateX(-50%)\n margin 0.2rem 50%\n font-weight normal\n color #aaa\n p\n width 5rem\n text-indent 1rem\n transform translateX(-50%)\n overflow hidden\n white-space nowrap\n text-overflow ellipsis\n color #aaa\n font-size 0.8rem\n &.on\n >div\n width 0.9rem\n height 0.9rem\n border 0.1rem solid $edgeColor\n transform scale(1.2)\n .icon\n transform scale(1.2)\n box-shadow 0 0 1rem 0.2rem $icon-color\n p\n color $icon-color\n font-weight bold\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/MonitorComponents/MonitorStep/monitor-step.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"monitor-step\"},[_c('div',{staticClass:\"lines\",style:(_vm.setTop)},[_c('div',{staticClass:\"line done\",style:((\"width:\" + _vm.doneWidth + \"%\"))}),_vm._v(\" \"),_c('div',{staticClass:\"line\",style:((\"width:\" + _vm.notWidth + \"%\"))})]),_vm._v(\" \"),_vm._l((_vm.steps),function(step,i){return _c('div',{key:i,class:(\"item \" + (i == _vm.done ? 'on' : ''))},[_c('p',{attrs:{\"title\":step.name}},[_vm._v(_vm._s(step.name))]),_vm._v(\" \"),(i <= _vm.current[0])?_c('div',{ref:\"icon\",refInFor:true,staticClass:\"icon\",style:((\"background-image:url(\" + (require('@/assets/images/true.png')) + \")\"))}):_c('div',{staticClass:\"none\"}),_vm._v(\" \"),_c('span',{staticClass:\"msg\",attrs:{\"title\":step.msg}},[_vm._v(_vm._s(_vm.msg[i]))])])})],2)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-7f4d22bf\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/MonitorComponents/MonitorStep/monitor-step.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-7f4d22bf\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!stylus-loader?{\\\"import\\\":[\\\"/Users/MrGuo/Desktop/wisdom-property/src/assets/css/variables.styl\\\"],\\\"path\\\":[\\\"/Users/MrGuo/Desktop/wisdom-property/src/assets\\\",\\\"/Users/MrGuo/Desktop/wisdom-property/\\\"],\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./monitor-step.vue\")\n}\nvar normalizeComponent = require(\"!../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-step.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-step.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7f4d22bf\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./monitor-step.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-7f4d22bf\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/MonitorComponents/MonitorStep/monitor-step.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([18],{"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("LyiX")},"data-v-404f6f29",null);t.default=i.exports},LyiX:function(e,t){}}); 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){}});
//# sourceMappingURL=18.388562785a28ae381269.js.map //# sourceMappingURL=11.e0d0852893a051f35f47.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([10],{"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([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}});
//# sourceMappingURL=10.dd2cfeac7e19c8267f08.js.map //# sourceMappingURL=12.b26fc350b53d2b30f1b4.js.map
\ No newline at end of file \ 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:10},layout:{type:Array,default:function(){return[]}},model:{type:Object,default:function(){return{}}}},data:function(){return{showImg:!1,curSrc:null}},methods:{handleView:function(t){this.curSrc=t,this.showImg=!0}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monitor-form"},[t.title?i("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t._l(t.layout,function(e,n){return i("Row",{key:n,staticClass:"row"},t._l(e,function(e,n){return i("i-col",{key:n,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[i("div",{style:"text-align: "+(e.align||"right")+"; width:"+t.labelWidth+"rem;"},[t._v(t._s(e.label)+":")]),t._v(" "),"img"==e.type?i("img",{attrs:{src:t.$api.IMG_URL+t.model[n]},on:{click:function(e){return t.handleView(t.model[n])}}}):i("div",{staticClass:"content"},[t._v(t._s(e.format?e.format(t.model[n]):t.model[n]||" "))])])}),1)}),t._v(" "),i("m-modal",{model:{value:t.showImg,callback:function(e){t.showImg=e},expression:"showImg"}},[t.showImg?i("img",{staticStyle:{width:"100%"},attrs:{src:t.$api.IMG_URL+t.curSrc}}):t._e()])],2)},staticRenderFns:[]};var l=i("VU/8")(n,a,!1,function(t){i("Ngdh")},"data-v-7bad9f68",null);e.default=l.exports},Ngdh:function(t,e){}}); 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}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monitor-form"},[t.title?i("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t._l(t.layout,function(e,n){return i("Row",{key:n,staticClass:"row"},t._l(e,function(e,n){return i("i-col",{key:n,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[i("div",{style:"text-align: "+(e.align||"right")+"; width:"+t.labelWidth+"rem;"},[t._v(t._s(e.label)+":")]),t._v(" "),"img"==e.type?i("img",{attrs:{src:t.$api.IMG_URL+t.model[n]},on:{click:function(e){return t.handleView(t.model[n])}}}):i("div",{staticClass:"content"},[t._v(t._s(e.format?e.format(t.model[n]):t.model[n]||" "))])])}),1)}),t._v(" "),i("m-modal",{model:{value:t.showImg,callback:function(e){t.showImg=e},expression:"showImg"}},[t.showImg?i("img",{staticStyle:{width:"100%"},attrs:{src:t.$api.IMG_URL+t.curSrc}}):t._e()])],2)},staticRenderFns:[]};var l=i("VU/8")(n,a,!1,function(t){i("Ngdh")},"data-v-7bad9f68",null);e.default=l.exports},Ngdh:function(t,e){}});
//# sourceMappingURL=12.a2dde18c781b07a4f1ac.js.map //# sourceMappingURL=13.700fbeaa3fecb8fc2c52.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([14],{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=14.7642b4cf5d2d8918ec69.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/MonitorComponents/MonitorTitle/monitor-title.vue","webpack:///./src/components/MonitorComponents/MonitorTitle/monitor-title.vue?0b48","webpack:///./src/components/MonitorComponents/MonitorTitle/monitor-title.vue"],"names":["monitor_title","name","props","imgStyle","bgImg","type","String","hideDate","Boolean","default","hideTime","editable","color","size","data","openDatePicker","timer","time","style","mounted","_this","this","setInterval","$moment","format","font-size","beforeDestroy","clearInterval","computed","curDate","date","$store","state","options","_this2","disabledDate","isAfter","methods","openAdmin","window","open","handleDateChange","commit","MonitorTitle_monitor_title","render","_vm","_h","$createElement","_c","_self","staticClass","_e","on","mouseenter","$event","returnopenDatePicker","mouseleave","attrs","value","on-change","_v","_s","src","draggable","click","_t","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"sGAcA,IAAAA,GACAC,KAAA,eACAC,OACAC,YACAC,OACAC,KAAAC,QAEAC,UACAF,KAAAG,QACAC,SAAA,GAEAC,UACAL,KAAAG,QACAC,SAAA,GAEAE,UACAN,KAAAG,QACAC,SAAA,GAEAG,OACAP,KAAAC,QAEAO,MACAR,KAAAC,OACAG,QAAA,WAGAK,KA3BA,WA4BA,OACAC,gBAAA,EACAC,MAAA,KACAC,KAAA,KACAC,WAGAC,QAnCA,WAmCA,IAAAC,EAAAC,KACAA,KAAAX,WACAW,KAAAL,MAAAM,YAAA,WAEAF,EAAAH,KAAAG,EAAAG,UAAAC,OAAA,YAAAJ,EAAAG,UAAAC,OAAA,QACA,MASAH,KAAAH,OAAAO,YAAAJ,KAAAR,OAEAa,cAnDA,WAoDAC,cAAAN,KAAAL,OACAK,KAAAL,MAAA,MAEAY,UACAC,QADA,WAEA,IAAAC,EAAAT,KAAAU,OAAAC,MAAAH,QACA,OAAAC,EAAAT,KAAAE,QAAAO,GAAAN,OAAA,cAAAH,KAAAE,UAAAC,OAAA,eAEAS,QALA,WAKA,IAAAC,EAAAb,KACA,OACAc,aAAA,SAAAL,GACA,OAAAI,EAAAX,QAAAO,GAAAM,QAAAF,EAAAX,eAKAc,SACAC,UADA,WAEAC,OAAAC,KAAA,iCAEAC,iBAJA,SAIAX,GACAT,KAAAU,OAAAW,OAAA,cAAAZ,GACAT,KAAAN,gBAAA,KCrFe4B,GADEC,OAFjB,WAA0B,IAAAC,EAAAxB,KAAayB,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,kBAA4BL,EAAAtC,SAAkXsC,EAAAM,KAAlXH,EAAA,QAA6BE,YAAA,cAAAE,IAA8BC,WAAA,SAAAC,GAA8BT,EAAAU,sBAAA,GAAgCC,WAAA,SAAAF,GAA+BT,EAAA9B,gBAAA,MAA6BiC,EAAA,cAAmBE,YAAA,cAAAO,OAAiCC,MAAAb,EAAAhB,QAAAI,QAAAY,EAAAZ,QAAAO,KAAAK,EAAAlC,UAAAkC,EAAA9B,eAAAV,KAAA,QAAkG+C,IAAKO,YAAAd,EAAAJ,oBAAkCO,EAAA,QAAAH,EAAAe,GAAAf,EAAAgB,GAAAhB,EAAAhB,eAAA,GAAAgB,EAAAe,GAAA,KAAAf,EAAAnC,SAA2HmC,EAAAM,KAA3HH,EAAA,QAAiGE,YAAA,gBAA0BL,EAAAe,GAAAf,EAAAgB,GAAAhB,EAAA5B,SAAA4B,EAAAe,GAAA,KAAAZ,EAAA,OAA4D9B,MAAA2B,EAAA,SAAAY,OAA4BK,IAAAjB,EAAAzC,MAAA2D,UAAA,WAAqClB,EAAAe,GAAA,KAAAZ,EAAA,KAAsB9B,MAAA2B,EAAA,MAAAO,IAAsBY,MAAAnB,EAAAP,aAAuBO,EAAAoB,GAAA,kBAElyBC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACErE,EACA2C,GATF,EAVA,SAAA2B,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/14.7642b4cf5d2d8918ec69.js","sourcesContent":["<template>\n <div class=\"monitor-title\">\n <span v-if=\"!hideDate\" class=\"moment date\" @mouseenter=\"returnopenDatePicker = true\" @mouseleave=\"openDatePicker = false\">\n <DatePicker @on-change=\"handleDateChange\" :value=\"curDate\" :options=\"options\" class=\"date-picker\" :open=\"editable && openDatePicker\" type=\"date\">\n <span>{{curDate}}</span>\n </DatePicker>\n </span>\n <span v-if=\"!hideTime\" class=\"moment time\">{{time}}</span>\n <img :src=\"bgImg\" draggable=\"false\" :style=\"imgStyle\"/>\n <p :style=\"style\" @click=\"openAdmin\"><slot /></p>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'MonitorTitle',\n props: {\n imgStyle: {},\n bgImg: {\n type: String,\n },\n hideDate: {\n type: Boolean,\n default: false,\n },\n hideTime: {\n type: Boolean,\n default: false,\n },\n editable: {\n type: Boolean,\n default: false,\n },\n color: {\n type: String,\n },\n size: {\n type: String,\n default: '1.6rem',\n },\n },\n data() {\n return {\n openDatePicker: false,\n timer: null,\n time: null,\n style: {},\n }\n },\n mounted() {\n if (!this.hideTime) {\n this.timer = setInterval(() => {\n // this.time = `${this.$moment().format('LTS')}`\n this.time = `${this.$moment().format('dddd')} ${this.$moment().format('LTS')}`\n }, 1000)\n }\n // if (this.color) {\n // this.style = {\n // 'text-shadow': `0 0.2rem 0.4rem ${this.color}`,\n // 'color': this.color,\n // 'background-image': `linear-gradient(to bottom, #fff, ${this.color})`,\n // }\n // }\n this.style = {'font-size': this.size}\n },\n beforeDestroy() {\n clearInterval(this.timer)\n this.timer = null\n },\n computed: {\n curDate() {\n const date = this.$store.state.curDate\n return date ? this.$moment(date).format('YYYY-MM-DD') : this.$moment().format('YYYY-MM-DD')\n },\n options() {\n return {\n disabledDate: (date) => {\n return this.$moment(date).isAfter(this.$moment())\n }\n }\n }\n },\n methods: {\n openAdmin() {\n window.open('http://211.136.105.193/login')\n },\n handleDateChange(date) {\n this.$store.commit('SET_CURDATE', date)\n this.openDatePicker = false\n },\n }\n}\n</script>\n\n<style lang=\"stylus\" scoped>\n.monitor-title\n display flex\n align-items center\n justify-content center\n position relative\n background-size cover\n background-position center\n font-family $hei\n .moment\n z-index 100\n position absolute\n font-size 1.2rem\n color #fff\n width 15rem\n top 5%\n &.date\n right 2%\n cursor pointer\n &.time\n right -5%\n img\n position absolute\n width 100%\n height 140%\n top 0\n left 0\n // animation shine 2.5s linear reverse infinite\n >p\n z-index 1\n padding-top .5rem\n color #fff\n // text-shadow 0 0.2rem 0.4rem #25e7f6\n // background-clip text\n // -webkit-background-clip text\n // color #25e7f6\n // -webkit-text-fill-color transparent\n // background-image linear-gradient(to bottom, #fff, #25e7f6)\n // transform translateY(10%)\n@keyframes shine {\n 0% {\n opacity 1\n }\n 50% {\n opacity 0.7\n }\n 100% {\n opacity 1\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/MonitorComponents/MonitorTitle/monitor-title.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"monitor-title\"},[(!_vm.hideDate)?_c('span',{staticClass:\"moment date\",on:{\"mouseenter\":function($event){_vm.returnopenDatePicker = true},\"mouseleave\":function($event){_vm.openDatePicker = false}}},[_c('DatePicker',{staticClass:\"date-picker\",attrs:{\"value\":_vm.curDate,\"options\":_vm.options,\"open\":_vm.editable && _vm.openDatePicker,\"type\":\"date\"},on:{\"on-change\":_vm.handleDateChange}},[_c('span',[_vm._v(_vm._s(_vm.curDate))])])],1):_vm._e(),_vm._v(\" \"),(!_vm.hideTime)?_c('span',{staticClass:\"moment time\"},[_vm._v(_vm._s(_vm.time))]):_vm._e(),_vm._v(\" \"),_c('img',{style:(_vm.imgStyle),attrs:{\"src\":_vm.bgImg,\"draggable\":\"false\"}}),_vm._v(\" \"),_c('p',{style:(_vm.style),on:{\"click\":_vm.openAdmin}},[_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-752c0f85\",\"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/MonitorTitle/monitor-title.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-752c0f85\\\",\\\"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-title.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-title.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-title.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-752c0f85\\\",\\\"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-title.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-752c0f85\"\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/MonitorTitle/monitor-title.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([13],{NefG:function(t,e){},Oktt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={name:"MonitorScroll",props:{length:{type:Number,required:!0},limit:{type:Number,default:6},duration:{type:Number,default:5e3},mode:{type:[Number,String],default:1},step:{type:Number}},data:function(){return{timer:null,index:0}},mounted:function(){this.$nextTick(this.start)},beforeDestroy:function(){this.clearTimer()},computed:{isShort:function(){return this.length<=this.limit},isTooLong:function(){return this.length>100}},methods:{clearTimer:function(){clearInterval(this.timer),this.timer=null},start:function(){this.isShort||("2"==this.mode?this.startMode2():this.startMode1())},startMode1:function(){var t=this,e=this.$refs.scrollContent,n=this.$refs.subContent,r=e.offsetHeight;this.timer=setInterval(function(){r<=0?r=e.offsetHeight:(t.index<r?t.index+=1:t.index=0,e.style.transform="translateY("+-t.index+"px)",n&&(n.style.transform="translateY("+-t.index+"px)"))},100)},startMode2:function(){var t=this,e=this.$refs.scrollContent,n=this.$refs.subContent,r=this.$com.confirm(e,"children.length",0);this.timer=setInterval(function(){t.index<r?(t.index+=1,e.style.transition="transform 0.5s",n&&(n.style.transition="transform 0.5s")):(t.index=0,e.style.transition="none",n&&(n.style.transition="none")),e.style.transform="translateY("+-t.step*t.index+"rem)",n&&(n.style.transform="translateY("+-t.step*t.index+"rem)")},this.duration)}},watch:{length:function(t){this.clearTimer(),this.index=0;var e=this.$refs.scrollContent,n=this.$refs.subContent;e&&(e.style.transform="translateY(0)"),n&&(n.style.transform="translateY(0)"),this.$nextTick(this.start)}}},s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"monitor-scroll",on:{mouseenter:t.clearTimer,mouseleave:t.start}},[n("div",{ref:"scrollContent"},[t._t("default")],2),t._v(" "),t.isShort||t.isTooLong?t._e():n("div",{ref:"subContent"},[t._t("default")],2)])},staticRenderFns:[]};var i=n("VU/8")(r,s,!1,function(t){n("NefG")},"data-v-73ecd732",null);e.default=i.exports}}); webpackJsonp([15],{NefG:function(t,e){},Oktt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={name:"MonitorScroll",props:{length:{type:Number,required:!0},limit:{type:Number,default:6},duration:{type:Number,default:5e3},mode:{type:[Number,String],default:1},step:{type:Number}},data:function(){return{timer:null,index:0}},mounted:function(){this.$nextTick(this.start)},beforeDestroy:function(){this.clearTimer()},computed:{isShort:function(){return this.length<=this.limit},isTooLong:function(){return this.length>100}},methods:{clearTimer:function(){clearInterval(this.timer),this.timer=null},start:function(){this.isShort||("2"==this.mode?this.startMode2():this.startMode1())},startMode1:function(){var t=this,e=this.$refs.scrollContent,n=this.$refs.subContent,r=e.offsetHeight;this.timer=setInterval(function(){r<=0?r=e.offsetHeight:(t.index<r?t.index+=1:t.index=0,e.style.transform="translateY("+-t.index+"px)",n&&(n.style.transform="translateY("+-t.index+"px)"))},100)},startMode2:function(){var t=this,e=this.$refs.scrollContent,n=this.$refs.subContent,r=this.$com.confirm(e,"children.length",0);this.timer=setInterval(function(){t.index<r?(t.index+=1,e.style.transition="transform 0.5s",n&&(n.style.transition="transform 0.5s")):(t.index=0,e.style.transition="none",n&&(n.style.transition="none")),e.style.transform="translateY("+-t.step*t.index+"rem)",n&&(n.style.transform="translateY("+-t.step*t.index+"rem)")},this.duration)}},watch:{length:function(t){this.clearTimer(),this.index=0;var e=this.$refs.scrollContent,n=this.$refs.subContent;e&&(e.style.transform="translateY(0)"),n&&(n.style.transform="translateY(0)"),this.$nextTick(this.start)}}},s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"monitor-scroll",on:{mouseenter:t.clearTimer,mouseleave:t.start}},[n("div",{ref:"scrollContent"},[t._t("default")],2),t._v(" "),t.isShort||t.isTooLong?t._e():n("div",{ref:"subContent"},[t._t("default")],2)])},staticRenderFns:[]};var i=n("VU/8")(r,s,!1,function(t){n("NefG")},"data-v-73ecd732",null);e.default=i.exports}});
//# sourceMappingURL=13.d762da68ba9db221acb4.js.map //# sourceMappingURL=15.8dd2c66622a5a46d46cb.js.map
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
webpackJsonp([16],{CjJ7:function(t,e){},cxLP:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Gu7T"),s=i.n(a),n={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,listData:[],cur:0,dataSize:100,btnMsg:"加载更多"}},methods:{handleView:function(t){this.curSrc=t,this.showImg=!0},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}}},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("\n "+t._s(e.title)+"\n "),e.tooltip?i("Tooltip",{attrs:{"max-width":"10rem",content:e.tooltip,transfer:""}},[i("Icon",{staticStyle:{"font-size":"1.2rem",cursor:"pointer","margin-left":"0.5rem"},attrs:{type:"md-alert",color:"gold"}})],1):t._e()],1)])}),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"},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(a.format?a.format(e[a.key]):e[a.key]||"暂无"))])],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")(n,l,!1,function(t){i("CjJ7")},"data-v-541e1401",null);e.default=o.exports}}); webpackJsonp([16],{AFqF:function(t,e){},cxLP:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Gu7T"),s=i.n(a),n={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,listData:[],cur:0,dataSize:100,btnMsg:"加载更多"}},methods:{handleView:function(t){this.curSrc=t,this.showImg=!0},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}}},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("\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"},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")(n,l,!1,function(t){i("AFqF")},"data-v-6b8386fe",null);e.default=o.exports}});
//# sourceMappingURL=16.6c2d454d91e659463642.js.map //# sourceMappingURL=16.f061d63018ce1704dd88.js.map
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
webpackJsonp([14],{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":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,codY:e.Y||e.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,i=e.labelKey,o=e.icon,s=e.size,m=void 0===s?200:s,l=e.color,d=void 0===l?"#00FFFF":l;if(this.map){Array.isArray(n)||(n=[n]);var c={name:a,mode:"add",datas:n.map(function(e){return{name:i?e[i]:null,value:m*t.sizeRate,corrd:[e.X||e.x,e.Y||e.y],color:d}}),symbol:o?"image://"+this.iconUrl+o:"circle",position:"right"};this.map.Invoke({ActionName:"flashlayer",Parameters:r()(c)})}},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("lfRr")},"data-v-614ddbf4",null);t.default=c.exports},lfRr:function(e,t){}}); webpackJsonp([17],{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":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,codY:e.Y||e.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,i=e.labelKey,o=e.icon,s=e.size,m=void 0===s?200:s,l=e.color,d=void 0===l?"#00FFFF":l;if(this.map){Array.isArray(n)||(n=[n]);var c={name:a,mode:"add",datas:n.map(function(e){return{name:i?e[i]:null,value:m*t.sizeRate,corrd:[e.X||e.x,e.Y||e.y],color:d}}),symbol:o?"image://"+this.iconUrl+o:"circle",position:"right"};this.map.Invoke({ActionName:"flashlayer",Parameters:r()(c)})}},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("lfRr")},"data-v-614ddbf4",null);t.default=c.exports},lfRr:function(e,t){}});
//# sourceMappingURL=14.d17ef94162fa21a5819a.js.map //# sourceMappingURL=17.9a2f7449bdf0b5b2195f.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([15],{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([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}});
//# sourceMappingURL=15.5ff2e669c31ab7fe3441.js.map //# sourceMappingURL=18.a0b4ff0b325ba3fbfa5d.js.map
\ No newline at end of file \ No newline at end of file
webpackJsonp([17],{FteE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"MonitorDrawer",props:{value:{type:Boolean,default:!1},width:{type:String,default:"40%"},enter:{type:String,default:"fadeInRight"},leave:{type:String,default:"fadeOutRight"}},methods:{handleClose:function(){this.$emit("close"),this.$emit("input",!1)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("m-animate",{attrs:{enter:t.enter,leave:t.leave}},[t.value?s("div",{staticClass:"monitor-drawer",staticStyle:{"animation-duration":"500ms"}},[s("img",{staticClass:"close-btn",attrs:{src:a("LuQl")},on:{click:t.handleClose}}),t._v(" "),s("img",{staticClass:"border left",attrs:{src:a("ICTM")}}),t._v(" "),s("div",{staticClass:"content"},[s("div",[t._t("default")],2)]),t._v(" "),s("img",{staticClass:"border right",attrs:{src:a("ICTM")}})]):t._e()])},staticRenderFns:[]};var n=a("VU/8")(s,i,!1,function(t){a("jsV6")},"data-v-4f802b28",null);e.default=n.exports},jsV6:function(t,e){}}); 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){}});
//# sourceMappingURL=17.96a31fae1e6f805fbbfa.js.map //# sourceMappingURL=19.8ba9c37a1cddb8e720e3.js.map
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([20],{TNmO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Dd8w"),o=n.n(i),a={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:"2.8rem"}},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("LTS")},1e3)),this.color&&(this.style={"text-shadow":"0 0.2rem 0.4rem "+this.color,color:this.color,"background-image":"linear-gradient(to bottom, #fff, "+this.color+")"}),this.style=o()({},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:{openAdmin:function(){window.open("http://211.136.105.193/login")},handleDateChange:function(t){this.$store.commit("SET_CURDATE",t),this.openDatePicker=!1}}},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"monitor-title"},[t.hideDate?t._e():n("span",{staticClass:"moment date",on:{mouseenter:function(e){t.returnopenDatePicker=!0},mouseleave:function(e){t.openDatePicker=!1}}},[n("DatePicker",{staticClass:"date-picker",attrs:{value:t.curDate,options:t.options,open:t.editable&&t.openDatePicker,type:"date"},on:{"on-change":t.handleDateChange}},[n("span",[t._v(t._s(t.curDate))])])],1),t._v(" "),t.hideTime?t._e():n("span",{staticClass:"moment time"},[t._v(t._s(t.time))]),t._v(" "),n("img",{style:t.imgStyle,attrs:{src:t.bgImg,draggable:"false"}}),t._v(" "),n("p",{style:t.style,on:{click:t.openAdmin}},[t._t("default")],2)])},staticRenderFns:[]};var s=n("VU/8")(a,r,!1,function(t){n("tgNM")},"data-v-0ed16448",null);e.default=s.exports},tgNM:function(t,e){}});
//# sourceMappingURL=20.bbcd3558b2afa0c6b796.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/MonitorComponents/MonitorTitle/monitor-title.vue","webpack:///./src/components/MonitorComponents/MonitorTitle/monitor-title.vue?ad91","webpack:///./src/components/MonitorComponents/MonitorTitle/monitor-title.vue"],"names":["monitor_title","name","props","imgStyle","bgImg","type","String","hideDate","Boolean","default","hideTime","editable","color","size","data","openDatePicker","timer","time","style","mounted","_this","this","setInterval","$moment","format","text-shadow","background-image","extends_default","font-size","beforeDestroy","clearInterval","computed","curDate","date","$store","state","options","_this2","disabledDate","isAfter","methods","openAdmin","window","open","handleDateChange","commit","MonitorTitle_monitor_title","render","_vm","_h","$createElement","_c","_self","staticClass","_e","on","mouseenter","$event","returnopenDatePicker","mouseleave","attrs","value","on-change","_v","_s","src","draggable","click","_t","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"+HAcAA,GACAC,KAAA,eACAC,OACAC,YACAC,OACAC,KAAAC,QAEAC,UACAF,KAAAG,QACAC,SAAA,GAEAC,UACAL,KAAAG,QACAC,SAAA,GAEAE,UACAN,KAAAG,QACAC,SAAA,GAEAG,OACAP,KAAAC,QAEAO,MACAR,KAAAC,OACAG,QAAA,WAGAK,KA3BA,WA4BA,OACAC,gBAAA,EACAC,MAAA,KACAC,KAAA,KACAC,WAGAC,QAnCA,WAmCA,IAAAC,EAAAC,KACAA,KAAAX,WACAW,KAAAL,MAAAM,YAAA,WACAF,EAAAH,KAAA,GAAAG,EAAAG,UAAAC,OAAA,QAEA,MAEAH,KAAAT,QACAS,KAAAH,OACAO,cAAA,mBAAAJ,KAAAT,MACAA,MAAAS,KAAAT,MACAc,mBAAA,oCAAAL,KAAAT,MAAA,MAGAS,KAAAH,MAAAS,OAAAN,KAAAH,OAAAU,YAAAP,KAAAR,QAEAgB,cAnDA,WAoDAC,cAAAT,KAAAL,OACAK,KAAAL,MAAA,MAEAe,UACAC,QADA,WAEA,IAAAC,EAAAZ,KAAAa,OAAAC,MAAAH,QACA,OAAAC,EAAAZ,KAAAE,QAAAU,GAAAT,OAAA,cAAAH,KAAAE,UAAAC,OAAA,eAEAY,QALA,WAKA,IAAAC,EAAAhB,KACA,OACAiB,aAAA,SAAAL,GACA,OAAAI,EAAAd,QAAAU,GAAAM,QAAAF,EAAAd,eAKAiB,SACAC,UADA,WAEAC,OAAAC,KAAA,iCAEAC,iBAJA,SAIAX,GACAZ,KAAAa,OAAAW,OAAA,cAAAZ,GACAZ,KAAAN,gBAAA,KCrFe+B,GADEC,OAFjB,WAA0B,IAAAC,EAAA3B,KAAa4B,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,kBAA4BL,EAAAzC,SAAkXyC,EAAAM,KAAlXH,EAAA,QAA6BE,YAAA,cAAAE,IAA8BC,WAAA,SAAAC,GAA8BT,EAAAU,sBAAA,GAAgCC,WAAA,SAAAF,GAA+BT,EAAAjC,gBAAA,MAA6BoC,EAAA,cAAmBE,YAAA,cAAAO,OAAiCC,MAAAb,EAAAhB,QAAAI,QAAAY,EAAAZ,QAAAO,KAAAK,EAAArC,UAAAqC,EAAAjC,eAAAV,KAAA,QAAkGkD,IAAKO,YAAAd,EAAAJ,oBAAkCO,EAAA,QAAAH,EAAAe,GAAAf,EAAAgB,GAAAhB,EAAAhB,eAAA,GAAAgB,EAAAe,GAAA,KAAAf,EAAAtC,SAA2HsC,EAAAM,KAA3HH,EAAA,QAAiGE,YAAA,gBAA0BL,EAAAe,GAAAf,EAAAgB,GAAAhB,EAAA/B,SAAA+B,EAAAe,GAAA,KAAAZ,EAAA,OAA4DjC,MAAA8B,EAAA,SAAAY,OAA4BK,IAAAjB,EAAA5C,MAAA8D,UAAA,WAAqClB,EAAAe,GAAA,KAAAZ,EAAA,KAAsBjC,MAAA8B,EAAA,MAAAO,IAAsBY,MAAAnB,EAAAP,aAAuBO,EAAAoB,GAAA,kBAElyBC,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACExE,EACA8C,GATF,EAVA,SAAA2B,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/20.bbcd3558b2afa0c6b796.js","sourcesContent":["<template>\n <div class=\"monitor-title\">\n <span v-if=\"!hideDate\" class=\"moment date\" @mouseenter=\"returnopenDatePicker = true\" @mouseleave=\"openDatePicker = false\">\n <DatePicker @on-change=\"handleDateChange\" :value=\"curDate\" :options=\"options\" class=\"date-picker\" :open=\"editable && openDatePicker\" type=\"date\">\n <span>{{curDate}}</span>\n </DatePicker>\n </span>\n <span v-if=\"!hideTime\" class=\"moment time\">{{time}}</span>\n <img :src=\"bgImg\" draggable=\"false\" :style=\"imgStyle\"/>\n <p :style=\"style\" @click=\"openAdmin\"><slot /></p>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'MonitorTitle',\n props: {\n imgStyle: {},\n bgImg: {\n type: String,\n },\n hideDate: {\n type: Boolean,\n default: false,\n },\n hideTime: {\n type: Boolean,\n default: false,\n },\n editable: {\n type: Boolean,\n default: false,\n },\n color: {\n type: String,\n },\n size: {\n type: String,\n default: '2.8rem',\n },\n },\n data() {\n return {\n openDatePicker: false,\n timer: null,\n time: null,\n style: {},\n }\n },\n mounted() {\n if (!this.hideTime) {\n this.timer = setInterval(() => {\n this.time = `${this.$moment().format('LTS')}`\n // this.time = `${this.$moment().format('dddd')} ${this.$moment().format('LTS')}`\n }, 1000)\n }\n if (this.color) {\n this.style = {\n 'text-shadow': `0 0.2rem 0.4rem ${this.color}`,\n 'color': this.color,\n 'background-image': `linear-gradient(to bottom, #fff, ${this.color})`,\n }\n }\n this.style = {...this.style, 'font-size': this.size}\n },\n beforeDestroy() {\n clearInterval(this.timer)\n this.timer = null\n },\n computed: {\n curDate() {\n const date = this.$store.state.curDate\n return date ? this.$moment(date).format('YYYY.MM.DD') : this.$moment().format('YYYY.MM.DD')\n },\n options() {\n return {\n disabledDate: (date) => {\n return this.$moment(date).isAfter(this.$moment())\n }\n }\n }\n },\n methods: {\n openAdmin() {\n window.open('http://211.136.105.193/login')\n },\n handleDateChange(date) {\n this.$store.commit('SET_CURDATE', date)\n this.openDatePicker = false\n },\n }\n}\n</script>\n\n<style lang=\"stylus\" scoped>\n.monitor-title\n display flex\n align-items center\n justify-content center\n position relative\n background-size cover\n background-position center\n font-family $font-pang\n .moment\n z-index 100\n position absolute\n font-size 1.2rem\n color #fff\n width 15rem\n top 50%\n &.date\n left 1%\n cursor pointer\n &.time\n left 8%\n img\n position absolute\n width 100%\n height 140%\n top 0\n left 0\n // animation shine 2.5s linear reverse infinite\n >p\n text-shadow 0 0.2rem 0.4rem #25e7f6\n background-clip text\n -webkit-background-clip text\n padding-bottom 1rem\n color #25e7f6\n -webkit-text-fill-color transparent\n background-image linear-gradient(to bottom, #fff, #25e7f6)\n z-index 1\n transform translateY(10%)\n@keyframes shine {\n 0% {\n opacity 1\n }\n 50% {\n opacity 0.7\n }\n 100% {\n opacity 1\n }\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/MonitorComponents/MonitorTitle/monitor-title.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"monitor-title\"},[(!_vm.hideDate)?_c('span',{staticClass:\"moment date\",on:{\"mouseenter\":function($event){_vm.returnopenDatePicker = true},\"mouseleave\":function($event){_vm.openDatePicker = false}}},[_c('DatePicker',{staticClass:\"date-picker\",attrs:{\"value\":_vm.curDate,\"options\":_vm.options,\"open\":_vm.editable && _vm.openDatePicker,\"type\":\"date\"},on:{\"on-change\":_vm.handleDateChange}},[_c('span',[_vm._v(_vm._s(_vm.curDate))])])],1):_vm._e(),_vm._v(\" \"),(!_vm.hideTime)?_c('span',{staticClass:\"moment time\"},[_vm._v(_vm._s(_vm.time))]):_vm._e(),_vm._v(\" \"),_c('img',{style:(_vm.imgStyle),attrs:{\"src\":_vm.bgImg,\"draggable\":\"false\"}}),_vm._v(\" \"),_c('p',{style:(_vm.style),on:{\"click\":_vm.openAdmin}},[_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-0ed16448\",\"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/MonitorTitle/monitor-title.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-0ed16448\\\",\\\"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-title.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-title.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./monitor-title.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0ed16448\\\",\\\"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-title.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-0ed16448\"\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/MonitorTitle/monitor-title.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
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}}); 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}});
//# sourceMappingURL=19.fd761234a41f95a23244.js.map //# sourceMappingURL=20.e95182f8c61c8bf3290f.js.map
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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],{B89E:function(t,e){},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("B89E")},"data-v-f02fc346",null);e.default=a.exports}});
//# sourceMappingURL=9.d2da554cb34eeb949bba.js.map
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -17,9 +17,9 @@ export default { ...@@ -17,9 +17,9 @@ export default {
@font-face @font-face
font-family DIN font-family DIN
src url(./assets/font/DIN-Medium.otf) src url(./assets/font/DIN-Medium.otf)
// @font-face @font-face
// font-family Microsoft YaHei UI font-family Hei
// src url(./assets/font/Microsoft-YaHei-UI-Bold.ttf) src url(./assets/font/Hei.ttf)
@font-face @font-face
font-family Pangmenzhengdao font-family Pangmenzhengdao
src url(./assets/font/pangmenzhengdao.ttf) src url(./assets/font/pangmenzhengdao.ttf)
...@@ -29,7 +29,7 @@ html, body ...@@ -29,7 +29,7 @@ html, body
height 100% height 100%
user-select none user-select none
#app #app
font-family DIN, 'Avenir', Helvetica, Arial, sans-serif font-family Hei, 'Avenir', Helvetica, Arial, sans-serif
-webkit-font-smoothing antialiased -webkit-font-smoothing antialiased
-moz-osx-font-smoothing grayscale -moz-osx-font-smoothing grayscale
width 100% width 100%
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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