f1e4ddc3 by renchao@pashanhoo.com

style:地图修改

1 parent f9184dd5
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
5 </template> 5 </template>
6 6
7 <script> 7 <script>
8 import Echart from "@/common/echart"; 8 import Echart from "@/common/echart";
9 import { mapGetters } from "vuex"; 9 import { mapGetters } from "vuex";
10 export default { 10 export default {
11 data () { 11 data () {
12 return { 12 return {
13 options: {}, 13 options: {},
...@@ -260,6 +260,6 @@ export default { ...@@ -260,6 +260,6 @@ export default {
260 }); 260 });
261 }, 261 },
262 }, 262 },
263 }; 263 };
264 </script> 264 </script>
265 <style></style> 265 <style></style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-03 16:50:43 4 * @LastEditTime: 2023-07-03 17:00:51
5 --> 5 -->
6 <template> 6 <template>
7 <Chart :cdata="cdata" /> 7 <Chart :cdata="cdata" />
...@@ -31,8 +31,9 @@ ...@@ -31,8 +31,9 @@
31 try { 31 try {
32 let { result: res } = await work.mapViews("A20"); 32 let { result: res } = await work.mapViews("A20");
33 res.map((item) => { 33 res.map((item) => {
34
34 return ( 35 return (
35 this.cdata.push({ "name": item.areaName, "value": item.ywtotal }) 36 this.cdata.push({ "name": item.areaName, "value": item.ywtotal, "successcount": item.successcount })
36 ) 37 )
37 38
38 }); 39 });
......
1 <!-- 1 <!--
2 * @Description :工作台左侧表 2 * @Description :工作台左侧表
3 * @Autor : miaofang 3 * @Autor : miaofang
4 * @LastEditTime: 2023-07-03 16:50:16 4 * @LastEditTime: 2023-07-03 16:55:39
5 --> 5 -->
6 <template> 6 <template>
7 <div class="leftcard"> 7 <div class="leftcard">
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
78 created () { 78 created () {
79 this.getsthjqxjrtotal(); 79 this.getsthjqxjrtotal();
80 this.timer = setInterval(() => { 80 this.timer = setInterval(() => {
81 this.getsthjqxjrtotal(); 81 this.getsthjqxjrtotal()
82 }, 10000) // 10s 82 }, 10000) // 10s
83 }, 83 },
84 components: { columnar }, 84 components: { columnar },
...@@ -123,9 +123,8 @@ ...@@ -123,9 +123,8 @@
123 destroyed () { 123 destroyed () {
124 clearInterval(this.timer) 124 clearInterval(this.timer)
125 } 125 }
126 }; 126 }
127 </script> 127 </script>
128
129 <style lang="scss" scoped> 128 <style lang="scss" scoped>
130 .leftcard { 129 .leftcard {
131 width: 30%; 130 width: 30%;
......