f1e4ddc3 by renchao@pashanhoo.com

style:地图修改

1 parent f9184dd5
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%;
......