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