From a18ba60094ff563cca9538f005a7f96a50a023e3 Mon Sep 17 00:00:00 2001
From: liuqimichale <123456lq>
Date: Thu, 4 Apr 2019 11:46:10 +0800
Subject: [PATCH] 地磁故障api
---
src/App.vue | 2 +-
src/components/geomagnetism.vue | 1 -
src/components/screen.vue | 63 ++++++++++++++++++++++++++++++++++++++++++++-------------------
src/utils/api.js | 2 ++
4 files changed, 47 insertions(+), 21 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 60caba2..6c149d8 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -20,7 +20,7 @@ export default {
}
},
created() {
- this.urlLink = 1
+ this.urlLink = 2
}
}
diff --git a/src/components/geomagnetism.vue b/src/components/geomagnetism.vue
index 2eb332c..d215745 100644
--- a/src/components/geomagnetism.vue
+++ b/src/components/geomagnetism.vue
@@ -11,7 +11,6 @@
故障时间 :{{list.modifyTime | dataFilter}}
-
diff --git a/src/components/screen.vue b/src/components/screen.vue
index 1c1a697..a5f3da6 100644
--- a/src/components/screen.vue
+++ b/src/components/screen.vue
@@ -1,43 +1,68 @@
- -
-
赤峰诱导屏名称
+ -
+
{{item.guideName}}
-
- 编号 :B8888B8888
+ 编号 :{{item.guideNo}}
-
- 异常类型 :设备故障
+ 异常类型 :{{item.ledDeviceStatus | screenFilter(item.ledScreenStatus)}}
-
- 故障时间 :2019-01-91 15:31:00
+ 故障时间 :{{item.lastUpdateDate | dataFilter}}
- -
-
赤峰诱导屏名称
-
- -
- 编号 :B8888B8888
-
- -
- 异常类型 :设备故障
-
- -
- 故障时间 :2019-01-91 15:31:00
-
-
-
+
diff --git a/src/utils/api.js b/src/utils/api.js
index 6547879..a79b71c 100644
--- a/src/utils/api.js
+++ b/src/utils/api.js
@@ -1,3 +1,5 @@
import { post } from './request'
export const diciAddress = params => post('queryGeoFaultList',params)
+
+export const screenAddress = params => post('queryScreenFaultList',params)
--
libgit2 0.21.4