yusheng 5 dni temu
rodzic
commit
86aa1edbb6
4 zmienionych plików z 792 dodań i 330 usunięć
  1. 9 0
      src/api/pcsData/index.js
  2. BIN
      src/assets/home1.png
  3. BIN
      src/assets/home2.png
  4. 783 330
      src/views/home/index.vue

+ 9 - 0
src/api/pcsData/index.js

@@ -66,3 +66,12 @@ export async function electricityTrend(params) {
   }
   return Promise.reject(new Error(res.data.message));
 }
+
+// 查询实例详情
+export async function getRealData(id) {
+  const res = await request.get(`main/asset/getRealData/${id}`);
+  if (res.data.code == 0) {
+    return res.data.data;
+  }
+  return Promise.reject(new Error(res.data.message));
+}

BIN
src/assets/home1.png


BIN
src/assets/home2.png


Plik diff jest za duży
+ 783 - 330
src/views/home/index.vue


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików