From 033230b2fed8d8ae96b0e280585e69e3b94e2799 Mon Sep 17 00:00:00 2001 From: 13218645326 Date: Sat, 2 Dec 2023 17:50:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E8=AF=95=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/customCom/equipmentLeasing.vue | 18 +- src/components/echartsCom/barCom.vue | 16 +- src/http/api.md | 14 ++ src/http/api/echartApi.ts | 29 +-- src/views/screen/sharePlatform.vue | 203 +++++++++++------- 5 files changed, 183 insertions(+), 97 deletions(-) diff --git a/src/components/customCom/equipmentLeasing.vue b/src/components/customCom/equipmentLeasing.vue index 92bac3d..e0c4b5f 100644 --- a/src/components/customCom/equipmentLeasing.vue +++ b/src/components/customCom/equipmentLeasing.vue @@ -61,6 +61,7 @@ import gdJSON from './mapData/gd.json' import gzJSON from './mapData/gz.json' import ynJSON from './mapData/yn.json' import hnJSON from './mapData/hn.json' +import {apibmCompanyInfoColtdList} from "http/api/echartApi" const mapEchartsRef = ref() const equipmentDialogRef=ref() @@ -198,7 +199,7 @@ const mapProps = reactive({ { name: '昆明', value: [102.33, 24.23, 300] } , { name: '海口', value: [110.33,19.823, 10] }] }) - +let listData:any= [] const mapDataByProvice = (provinceName: String) => { let listData = [ { @@ -240,6 +241,21 @@ const toNavItem=(item:any)=>{ onBeforeMount(()=>{ mapProps.jsonData= xnallJSON }) +onMounted(()=>{ + iniTapibmCompanyInfoColtdList() +}) + +const iniTapibmCompanyInfoColtdList = async () => { + //设备租赁分布图 + try { + const res: any = await apibmCompanyInfoColtdList() + // console.log("apibmCompanyInfoColtdList", res) + // listData = res + } catch (error) { + console.log(error) + } + +} \ No newline at end of file +} \ No newline at end of file