diff --git a/src/apis/index.js b/src/apis/index.js
index 3f460aa..1b7f8f2 100644
--- a/src/apis/index.js
+++ b/src/apis/index.js
@@ -19,10 +19,10 @@ export const getDevicesCount = () => {
setTimeout(() => {
resolve({
total: 100,
- online: 10,
- offline: 90,
+ online: 90,
+ offline: 10,
fault: 10,
- warning: 5,
+ warning: 15,
});
}, 100);
});
diff --git a/src/components/config/function-config-pending.vue b/src/components/config/function-config-pending.vue
index 1bf03d4..9937a26 100644
--- a/src/components/config/function-config-pending.vue
+++ b/src/components/config/function-config-pending.vue
@@ -69,37 +69,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -163,11 +132,9 @@ import cloneDeep from 'lodash/cloneDeep';
import isDate from 'lodash/isDate';
import { createConfigFunction, getConfigAppliedFunction } from 'apis';
import Refresh from 'components/config/refresh.vue';
-import { corrosiveTypes, functionConfig } from '@/config/config';
+import { functionConfig } from '@/config/config';
const data = ref(functionConfig);
-// 金属腐蚀的类型
-const types = ref(corrosiveTypes);
const functionForm = ref(null); // form
const store = useStore();
diff --git a/src/components/overview/chart-device-detail.vue b/src/components/overview/chart-device-detail.vue
index 598ae7a..729621a 100644
--- a/src/components/overview/chart-device-detail.vue
+++ b/src/components/overview/chart-device-detail.vue
@@ -1,38 +1,64 @@
-
+
在线数量
- 12
+ {{ count.online }}
离线数量
- 12
-
-
+
{{ count.offline }}
+
- 故障数量
- 12
+ 报警数量
+ {{ count.warning }}
- 报警数量
- 12
+ 故障数量
+ {{ count.fault }}
+
+