From cf45657679cee5243bad34a3f4523e317b302efd Mon Sep 17 00:00:00 2001 From: 13218645326 Date: Sun, 3 Dec 2023 19:03:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/customCom/1.json | 143 +++++++++++ src/components/customCom/equipmentDialog.vue | 148 ++++++++---- src/components/customCom/equipmentLeasing.vue | 224 ++++++++++++------ src/components/echartsCom/mapEcharts.vue | 2 +- src/components/mapBaidu/mapLine.vue | 37 ++- src/http/api.md | 10 + src/http/api/echartApi.ts | 24 +- 7 files changed, 453 insertions(+), 135 deletions(-) create mode 100644 src/components/customCom/1.json diff --git a/src/components/customCom/1.json b/src/components/customCom/1.json new file mode 100644 index 0000000..c3a065c --- /dev/null +++ b/src/components/customCom/1.json @@ -0,0 +1,143 @@ +{ + "msg": "操作成功", + "code": 200, + "data": [ + { + "companyName": "贵州电网", + "coltdVo": [ + { + "status": "在租", + "count": 0, + "list": [] + }, + { + "status": "待租", + "count": 0, + "list": [] + }, + { + "status": "自有", + "count": 2, + "list": [ + { + "maId": 1, + "lon": "112.1", + "lat": "23" + }, + { + "maId": 4, + "lon": "122", + "lat": "23" + } + ] + }, + { + "status": "自有", + "count": 2, + "list": [ + { + "maId": 1, + "lon": "112.1", + "lat": "23" + }, + { + "maId": 4, + "lon": "122", + "lat": "23" + } + ] + }, + { + "status": "自有", + "count": 2, + "list": [ + { + "maId": 1, + "lon": "112.1", + "lat": "23" + }, + { + "maId": 4, + "lon": "122", + "lat": "23" + } + ] + } + ] + }, + { + "companyName": "广东电网", + "coltdVo": [ + { + "status": "在租", + "count": 0, + "list": [] + }, + { + "status": "待租", + "count": 1, + "list": [ + { + "maId": 2, + "lon": "115", + "lat": "28" + } + ] + }, + { + "status": "自有", + "count": 0, + "list": [] + }, + { + "status": "待租", + "count": 1, + "list": [ + { + "maId": 2, + "lon": "115", + "lat": "28" + } + ] + } + ] + }, + { + "companyName": "广西电网", + "coltdVo": [ + { + "status": "在租", + "count": 1, + "list": [ + { + "maId": 3, + "lon": "118", + "lat": "35" + } + ] + }, + { + "status": "待租", + "count": 0, + "list": [] + }, + { + "status": "自有", + "count": 0, + "list": [] + }, + { + "status": "在租", + "count": 1, + "list": [ + { + "maId": 3, + "lon": "118", + "lat": "35" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/components/customCom/equipmentDialog.vue b/src/components/customCom/equipmentDialog.vue index 1ac20d6..9ba24c3 100644 --- a/src/components/customCom/equipmentDialog.vue +++ b/src/components/customCom/equipmentDialog.vue @@ -1,78 +1,123 @@ -