f1e4ddc3 by renchao@pashanhoo.com

style:地图修改

1 parent f9184dd5
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-03 16:50:43
* @LastEditTime: 2023-07-03 17:00:51
-->
<template>
<Chart :cdata="cdata" />
......@@ -31,8 +31,9 @@
try {
let { result: res } = await work.mapViews("A20");
res.map((item) => {
return (
this.cdata.push({ "name": item.areaName, "value": item.ywtotal })
this.cdata.push({ "name": item.areaName, "value": item.ywtotal, "successcount": item.successcount })
)
});
......
<!--
* @Description :工作台左侧表
* @Autor : miaofang
* @LastEditTime: 2023-07-03 16:50:16
* @LastEditTime: 2023-07-03 16:55:39
-->
<template>
<div class="leftcard">
......@@ -78,7 +78,7 @@
created () {
this.getsthjqxjrtotal();
this.timer = setInterval(() => {
this.getsthjqxjrtotal();
this.getsthjqxjrtotal()
}, 10000) // 10s
},
components: { columnar },
......@@ -123,9 +123,8 @@
destroyed () {
clearInterval(this.timer)
}
};
}
</script>
<style lang="scss" scoped>
.leftcard {
width: 30%;
......