Commit 8e404760 authored by 郭铭瑶's avatar 郭铭瑶 🤘

图表叠加

parent d29fef70
<!DOCTYPE html><html id=html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta http-equiv=X-UA-Compatible content="IE=edge, chrome=1"><title>浦东新区智慧物业管理微平台</title><style>html {
font-size: 1.6vh;
}</style><script src=./static/jquery.min.js></script><link href=./static/css/app.148129933e376169dc42811ce1838eea.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.65003b0a8f8f3c25064b.js></script><script type=text/javascript src=./static/js/vendor.d11eae825e5c4a0e0bb2.js></script><script type=text/javascript src=./static/js/app.9b7f4e8e3ea12e9734a6.js></script></body></html>
\ No newline at end of file
}</style><script src=./static/jquery.min.js></script><link href=./static/css/app.bc1b31c481b45cd5ec5e6ae73cc796cf.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.4d05a2632fad31584eaf.js></script><script type=text/javascript src=./static/js/vendor.d11eae825e5c4a0e0bb2.js></script><script type=text/javascript src=./static/js/app.9b7f4e8e3ea12e9734a6.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var f,d,b,i=0,u=[];i<r.length;i++)d=r[i],t[d]&&u.push(t[d][0]),t[d]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)b=c(c.s=o[i]);return b};var r={},t={27:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var a=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,c.nc&&o.setAttribute("nonce",c.nc),o.src=c.p+"static/js/"+e+"."+{0:"c375053f21658b6e7b8f",1:"df7cc85d4c4951db8d3e",2:"976e88d962eeed1b4548",3:"806045e2cd467e115b97",4:"03e665679218e392928d",5:"79501cbfbec9e7ca1a2b",6:"e3428899772f0ed82ee7",7:"ae0723e8fa6bf8aefb76",8:"5ad0f24b31031f7284b3",9:"d2da554cb34eeb949bba",10:"95e6aac83e6fd0b95f6e",11:"e0d0852893a051f35f47",12:"b26fc350b53d2b30f1b4",13:"700fbeaa3fecb8fc2c52",14:"7642b4cf5d2d8918ec69",15:"8dd2c66622a5a46d46cb",16:"f061d63018ce1704dd88",17:"912a00b10d2c58f1968b",18:"1adf9a941d5ebe37bd9e",19:"fd761234a41f95a23244",20:"85aa1475d8f340363b71",23:"b723ec7bb8aa20773811",24:"f7914065b4d7bec4ccfb",25:"6b5f4749058978064562",26:"584ddfc7aad303eb351f"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=d,a.appendChild(o),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.65003b0a8f8f3c25064b.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,f,o){for(var c,b,d,i=0,u=[];i<r.length;i++)b=r[i],t[b]&&u.push(t[b][0]),t[b]=0;for(c in f)Object.prototype.hasOwnProperty.call(f,c)&&(e[c]=f[c]);for(n&&n(r,f,o);u.length;)u.shift()();if(o)for(i=0;i<o.length;i++)d=a(a.s=o[i]);return d};var r={},t={27:0};function a(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,a){n=t[e]=[r,a]});n[2]=r;var f=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,a.nc&&o.setAttribute("nonce",a.nc),o.src=a.p+"static/js/"+e+"."+{0:"6b9163893b530fe20bfe",1:"80f3e7aa96153395fe1b",2:"5f6da862bd6aecff4444",3:"806045e2cd467e115b97",4:"03e665679218e392928d",5:"79501cbfbec9e7ca1a2b",6:"e3428899772f0ed82ee7",7:"ae0723e8fa6bf8aefb76",8:"5ad0f24b31031f7284b3",9:"d2da554cb34eeb949bba",10:"95e6aac83e6fd0b95f6e",11:"e0d0852893a051f35f47",12:"b26fc350b53d2b30f1b4",13:"700fbeaa3fecb8fc2c52",14:"7642b4cf5d2d8918ec69",15:"8dd2c66622a5a46d46cb",16:"f061d63018ce1704dd88",17:"912a00b10d2c58f1968b",18:"1adf9a941d5ebe37bd9e",19:"fd761234a41f95a23244",20:"85aa1475d8f340363b71",23:"b723ec7bb8aa20773811",24:"f7914065b4d7bec4ccfb",25:"6b5f4749058978064562",26:"584ddfc7aad303eb351f"}[e]+".js";var c=setTimeout(b,12e4);function b(){o.onerror=o.onload=null,clearTimeout(c);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=b,f.appendChild(o),r},a.m=e,a.c=r,a.d=function(e,n,r){a.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.4d05a2632fad31584eaf.js.map
\ No newline at end of file
......@@ -343,9 +343,6 @@ export default {
color: '#fff',
fontSize: this.fontSize,
},
// interval: 40,
min: 80,
max: 100,
type: 'value',
splitLine: {
show: true,
......
......@@ -65,12 +65,12 @@ export default {
],
datas: [],
config: {
colors: ['rgba(143, 214, 24, .9)', 'rgba(1, 167, 255, .9)', 'rgba(254, 233, 2, .9)'],
colors: ['rgba(254, 233, 2, .9)', 'rgba(1, 167, 255, .9)', 'rgba(143, 214, 24, .9)'],
legend: {hide: true},
shape: [
{key: 'clean', name: '干净', type: 'line', areaStyle: {}},
{key: 'orderly', name: '有序', type: 'line', areaStyle: {}},
{key: 'safe', name: '安全', type: 'line', areaStyle: {}},
{key: 'safe', name: '安全', type: 'line', stack: '总量', areaStyle: {}},
{key: 'orderly', name: '有序', type: 'line', stack: '总量', areaStyle: {}},
{key: 'clean', name: '干净', type: 'line', stack: '总量', areaStyle: {}},
],
xAxis: {key: 'date'},
},
......
......@@ -281,10 +281,12 @@ export default {
const originSum = JSON.parse(JSON.stringify(this.$store.state.discoveryList))
const originData = JSON.parse(JSON.stringify(this.$store.state.foundList))
data.forEach(e => {
const cur = originData.find(item => item.key == e.types)
if (cur) {
cur.num = e.numbers
sum.total += e.total
sum.today += e.numbers
const cur = originData.find(item => item.key == e.types)
if (cur) cur.num = e.numbers
}
})
originSum.forEach(e => e.num = sum[e.key])
this.$store.commit('SET_DISCOVERYLIST', originSum)
......
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