提交代码

prv
姜玉琦 2024-03-20 01:26:33 +08:00
parent f097ccb1dd
commit 5e554a5b30
2 changed files with 11 additions and 7 deletions

View File

@ -10,6 +10,9 @@
<link rel="stylesheet" href="css/largeScreenLayout.css"> <link rel="stylesheet" href="css/largeScreenLayout.css">
<link rel="stylesheet" href="css/largeScreenStyle.css?v=2023101401"> <link rel="stylesheet" href="css/largeScreenStyle.css?v=2023101401">
<link rel="stylesheet" href="css/new.css?v=2023101401"> <link rel="stylesheet" href="css/new.css?v=2023101401">
<link rel="stylesheet" href="css/sichuanTibet.css?v=2024103201">
<script type="text/javascript" src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=5M76qMCiVjSG7bGOTcYmZdg0MQinsKve"></script> <script type="text/javascript" src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=5M76qMCiVjSG7bGOTcYmZdg0MQinsKve"></script>
<script src="/cdn/vue/dist/vue.js"></script> <script src="/cdn/vue/dist/vue.js"></script>
<script src="/cdn/element-ui/lib/index.js"></script> <script src="/cdn/element-ui/lib/index.js"></script>

View File

@ -22,11 +22,11 @@
<span>{{overviewTotal}}</span> <span>{{overviewTotal}}</span>
</div> </div>
</div></div> </div></div>
<project-overview-chart :key="overviewDay" :sp="''" txtTop="12" gifTop="70px" <project-overview-chart :key="'ai1'+overviewDay" :sp="''" txtTop="12" gifTop="70px"
:maintitle="overviewTotalDay" :legend-opt="legendOpt2" :typedata="typeDistributionDataDay" :maintitle="overviewTotalDay" :legend-opt="legendOpt2" :typedata="typeDistributionDataDay"
:text="overviewTextDay" :height="250"></project-overview-chart> :text="overviewTextDay" :height="250"></project-overview-chart>
<project-overview-chart :key="overview" :sp="''" txtTop="12" gifTop="70px" <project-overview-chart :key="'ai2'+overview" :sp="''" txtTop="12" gifTop="70px"
:maintitle="overviewTotal" :legend-opt="legendOpt1" :typedata="typeDistributionData" :maintitle="overviewTotal" :legend-opt="legendOpt1" :typedata="typeDistributionData"
:text="overviewText" :height="250"></project-overview-chart> :text="overviewText" :height="250"></project-overview-chart>
</module-one-2-1> </module-one-2-1>
@ -137,6 +137,7 @@ import '../components/staff-survey-chart'
import '../components/classify-bar' import '../components/classify-bar'
import '../components/amplify/shipinguanli/amplify-spjk' import '../components/amplify/shipinguanli/amplify-spjk'
import '../components/rank-chart' import '../components/rank-chart'
import debounce from 'lodash.debounce' import debounce from 'lodash.debounce'
import gsap from 'gsap' import gsap from 'gsap'
export default { export default {
@ -159,6 +160,7 @@ export default {
majorVideoSize:0, majorVideoSize:0,
// //
overview: 0, overview: 0,
overviewDay: 0,
overviewInterval: '', overviewInterval: '',
overviewTotal: 0, overviewTotal: 0,
legendOpt1: { legendOpt1: {
@ -189,7 +191,6 @@ export default {
], ],
overviewTextDay: '今日预警', overviewTextDay: '今日预警',
overviewTotalDay: 0, overviewTotalDay: 0,
overviewDay: 0,
legendOpt2: { legendOpt2: {
icon: "rect", icon: "rect",
textStyle: { textStyle: {
@ -539,7 +540,7 @@ export default {
}) })
this.overviewTotalDay = sum; this.overviewTotalDay = sum;
this.typeDistributionDataDay = response.data; this.typeDistributionDataDay = response.data;
this.overviewDay++; //this.overviewDay++;
} }
}); });
@ -552,7 +553,7 @@ export default {
}) })
this.overviewTotal = sum; this.overviewTotal = sum;
this.typeDistributionData = response.data; this.typeDistributionData = response.data;
this.overview++; //this.overview++;
} }
}); });
}, },
@ -712,7 +713,7 @@ export default {
}; };
</script> </script>
<style lang="less" > <style lang="less">
.style-green { .style-green {
background: #00c240; background: #00c240;
} }