diff --git a/App.vue b/App.vue
index 8cca913..44e7001 100644
--- a/App.vue
+++ b/App.vue
@@ -1,11 +1,11 @@
-
+
+
+
+
+
+
+
+
+
+ 请让接收人员扫码接收
+
+
+
+
+
+
+
+
+
+
+
+
+ 相机权限使用说明:
+ 用于相机扫描二维码!
+
+
+
+
+
+
diff --git a/pages/index/comp/apply.vue b/pages/index/comp/apply.vue
index 68a3318..8ff34f0 100644
--- a/pages/index/comp/apply.vue
+++ b/pages/index/comp/apply.vue
@@ -222,21 +222,21 @@ export default {
},
judgment(val, key) {
switch (val) {
- case '电压暂降':
+ case '暂降':
return {
type: 'sag',
icon: 'icon-a-svg4',
color: '#2563eb',
size: '25',
}
- case '电压暂升':
+ case '暂升':
return {
type: 'swell',
icon: 'icon-a-svg5',
color: '#e6a23c',
size: '25',
}
- case '电压中断':
+ case '中断':
return {
type: 'interrupt',
icon: 'icon-zhongduan2',
diff --git a/pages/index/comp/indexGongCheng.vue b/pages/index/comp/indexGongCheng.vue
index e573a36..1b840f1 100644
--- a/pages/index/comp/indexGongCheng.vue
+++ b/pages/index/comp/indexGongCheng.vue
@@ -1,7 +1,7 @@
-
+
所有工程设备统计
@@ -33,7 +33,7 @@
-
-
+
常用功能
diff --git a/pages/index/comp/indexYouKe.vue b/pages/index/comp/indexYouKe.vue
index d3f4d00..12242df 100644
--- a/pages/index/comp/indexYouKe.vue
+++ b/pages/index/comp/indexYouKe.vue
@@ -1,7 +1,7 @@
-
+
所有工程设备统计
@@ -21,7 +21,7 @@
-
+
当前工程设备统计
diff --git a/pages/index/comp/indexYunWei.vue b/pages/index/comp/indexYunWei.vue
index 98a99e3..37e1b7d 100644
--- a/pages/index/comp/indexYunWei.vue
+++ b/pages/index/comp/indexYunWei.vue
@@ -1,7 +1,7 @@
-
+
所有工程设备统计
@@ -35,7 +35,7 @@
-
+
当前工程设备统计
diff --git a/pages/index/comp/indexZhuYongHu.vue b/pages/index/comp/indexZhuYongHu.vue
index 6b32ab0..76d2dc4 100644
--- a/pages/index/comp/indexZhuYongHu.vue
+++ b/pages/index/comp/indexZhuYongHu.vue
@@ -1,7 +1,7 @@
-
+
所有工程设备统计
@@ -21,7 +21,7 @@
-
+
当前工程设备统计
@@ -49,7 +49,7 @@
-
+
常用功能
diff --git a/pages/index/comp/indexZhuanZhi.vue b/pages/index/comp/indexZhuanZhi.vue
index c534a63..f3b266b 100644
--- a/pages/index/comp/indexZhuanZhi.vue
+++ b/pages/index/comp/indexZhuanZhi.vue
@@ -1,7 +1,7 @@
-
+
所有工程设备统计
@@ -33,7 +33,7 @@
-
+
当前工程设备统计
diff --git a/pages/index/comp/monitoringPoint.vue b/pages/index/comp/monitoringPoint.vue
index 396fa4f..ed0de0b 100644
--- a/pages/index/comp/monitoringPoint.vue
+++ b/pages/index/comp/monitoringPoint.vue
@@ -1,812 +1,870 @@
-
-
-
-
-
-
-
-
-
- {{ formatIndicatorTag(tag) }}
-
-
-
- +添加指标
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ child.name }} {{ child.unit ? `(${child.unit})` : '' }}
-
-
- {{ child.T
- }}
-
-
-
- {{ child.A }}
-
-
-
- {{ child.B }}
-
-
-
- {{ child.C }}
-
-
-
-
-
-
-
-
- 更多指标
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ {{ formatIndicatorTag(tag) }}
+
+
+
+ +添加指标
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ child.name }} {{ child.unit ? `(${child.unit})` : '' }}
+
+
+ {{ child.T
+ }}
+
+
+
+ {{ child.A }}
+
+
+
+ {{ child.B }}
+
+
+
+ {{ child.C }}
+
+
+
+
+
+
+
+
+ 更多指标
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/index/comp/targetInfo.vue b/pages/index/comp/targetInfo.vue
index 78952af..cd0b4b6 100644
--- a/pages/index/comp/targetInfo.vue
+++ b/pages/index/comp/targetInfo.vue
@@ -1,307 +1,312 @@
-
-
-
-
-
-
-
-
-
- {{ phase.name }}
-
-
-
-
-
-
-
- {{ child.name }}{{ child.unit ? ` (${child.unit})` : '' }}
-
-
- {{ child.T }}
-
-
-
- {{ child.A }}
-
-
-
- {{ child.B }}
-
-
-
- {{ child.C }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{ phase.name }}
+
+
+
+
+
+
+
+ {{ child.name }}{{ child.unit ? ` (${child.unit})` : '' }}
+
+
+ {{ child.T }}
+
+
+
+ {{
+ child.A }}
+
+
+
+ {{
+ child.B }}
+
+
+
+ {{
+ child.C }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/index/index.vue b/pages/index/index.vue
index c4907e9..fb7b8f0 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -72,6 +72,7 @@ import Engineering from './comp/engineering.vue'
import list from '../../common/js/list'
import { getDevCount } from '../../common/api/device.js'
import { queryEngineering } from '@/common/api/engineering.js'
+import { checkAppUpdate } from '@/common/js/update.js'
export default {
mixins: [list],
@@ -252,6 +253,11 @@ export default {
this.showBackTop = e.scrollTop > 200
},
onLoad() {
+ // #ifdef APP-PLUS
+ checkAppUpdate()
+ // #endif
+
+
// 页面加载时,动态配置导航栏按钮
if (!uni.getStorageSync(this.$cacheKey.access_token)) {
uni.reLaunch({
@@ -289,6 +295,8 @@ export default {
// #endif
},
onShow() {
+
+
this.userInfo = uni.getStorageSync(this.$cacheKey.userInfo)
let access_token = uni.getStorageSync(this.$cacheKey.access_token)
@@ -319,7 +327,7 @@ export default {
},
}
-
\ No newline at end of file
diff --git a/pages/message1/index.scss b/pages/message1/index.scss
index fe94fe3..41eed4c 100644
--- a/pages/message1/index.scss
+++ b/pages/message1/index.scss
@@ -76,11 +76,11 @@
border-radius: 20rpx;
}
- /* 电压暂降 - 蓝色系 */
+ /* 暂降 - 蓝色系 */
.sag .event-icon {
background-color: #2563eb20;
}
- /* 电压暂升 - 橙色系 */
+ /* 暂升 - 橙色系 */
.swell .event-icon {
background-color: #e6a23c20;
}
diff --git a/pages/message1/transient.vue b/pages/message1/transient.vue
index 4334a9c..8b855fa 100644
--- a/pages/message1/transient.vue
+++ b/pages/message1/transient.vue
@@ -115,9 +115,9 @@ export default {
filterValue: 0,
dataList: [
{ value: 0, label: '暂态数量', key: '' },
- { value: 0, label: '暂降', key: '电压暂降' },
- { value: 0, label: '中断', key: '电压中断' },
- { value: 0, label: '暂升', key: '电压暂升' },
+ { value: 0, label: '暂降', key: '暂降' },
+ { value: 0, label: '中断', key: '中断' },
+ { value: 0, label: '暂升', key: '暂升' },
],
status: 'noMore', //more加载前 loading加载中 noMore加载后
sort: 0,
@@ -177,21 +177,21 @@ export default {
},
judgment(val, key) {
switch (val) {
- case '电压暂降':
+ case '暂降':
return {
type: 'sag',
icon: 'icon-a-svg4',
color: '#2563eb',
size: '25',
}
- case '电压暂升':
+ case '暂升':
return {
type: 'swell',
icon: 'icon-a-svg5',
color: '#e6a23c',
size: '25',
}
- case '电压中断':
+ case '中断':
return {
type: 'interrupt',
icon: 'icon-zhongduan2',