From 01ea333978f757b7c739edd2e39df217e5d92a15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A7=9C=E5=B0=8F=E5=A7=BF?= <1613162410@qq.com>
Date: Thu, 11 Apr 2024 18:54:43 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 17 +++--
pages.json | 24 ++++++
pages/deviceRepair/RepairReport.vue | 12 ++-
pages/deviceRepair/deviceRepair.vue | 58 ++++++++-------
pages/deviceRepair/repairOrder.vue | 91 +++++++++++++++++++++++
pages/deviceStatus/detectionEventList.vue | 49 ++++++++++++
pages/deviceStatus/deviceCamera.vue | 65 ++++++++++++++++
pages/deviceStatus/deviceStatus.vue | 13 +++-
pages/equipmentManage/bindingDevice.vue | 10 +--
pages/equipmentManage/deviceDetail.vue | 46 ++++++------
pages/equipmentManage/editDevice.vue | 10 +--
pages/equipmentManage/equipmentManage.vue | 26 +++----
pages/index/materialYield.vue | 44 +++++------
pages/index/schedule.vue | 44 +++++------
pages/person/accountCenter.vue | 42 +++++------
pages/person/alarm.vue | 48 ++++++------
pages/person/changePhone.vue | 44 +++++------
pages/person/myAuthority.vue | 42 +++++------
pages/person/safetyAccidents.vue | 44 +++++------
pages/production/productionDetail.vue | 44 +++++------
pages/production/productionOrder.vue | 52 +++++++------
21 files changed, 538 insertions(+), 287 deletions(-)
create mode 100644 pages/deviceRepair/repairOrder.vue
create mode 100644 pages/deviceStatus/detectionEventList.vue
create mode 100644 pages/deviceStatus/deviceCamera.vue
diff --git a/App.vue b/App.vue
index 1378ee1..9d01108 100644
--- a/App.vue
+++ b/App.vue
@@ -33,7 +33,7 @@
color: #333;
padding: 10px;
}
- .pagepaddings{padding: 14px;}
+ .page_padding{padding: 14px;}
.page_content{padding: 0 12px 10px;}
//内容框
.contentboxsty{border-radius: 8px;background: #1C2755;}
@@ -54,8 +54,8 @@
.font_bold{font-weight: bold;}
//文字颜色
.text_color_black{color: #000;}
- .theme_color{color: #009688 }
- //颜色
+ .theme_color{color: #009688 }//主题绿
+ //按钮颜色
.but_color{background: #009688 !important;}
// .text_{color: #00B68D;}
@@ -85,8 +85,15 @@
.list_content{padding:12px;}
}
//页面固定按钮
- .bottom_but{bottom: 40px;bottom: 40px;position: fixed;width: calc(100% - 28px);
- view{width: 50%;text-align: center;margin: 0 20px;border-radius: 19px;background: #DDD;line-height: 38px;}
+ .bottom_but{
+ width: 100%;
+ position: fixed;
+ bottom: 0px;
+ background-color: #060B26;
+ border-top: 1px solid #2E3249;
+ height: 80px;
+ // bottom: 40px;bottom: 40px;position: fixed;width: calc(100% - 28px);
+ view{width: 50%;text-align: center;margin: 0 20px;border-radius: 19px;background: #DDD;line-height: 38px;height: 38px;margin-top: 6px;}
}
//底部固定添加按钮
.page_bottom_button{width: 100%;position: fixed;bottom: 0px;background-color: #060B26;border-top: 1px solid #2E3249;height: 80px;
diff --git a/pages.json b/pages.json
index 1d85178..41078b0 100644
--- a/pages.json
+++ b/pages.json
@@ -159,6 +159,30 @@
"navigationBarTitleText" : "安全事故",
"enablePullDownRefresh" : false
}
+ },
+ {
+ "path" : "pages/deviceStatus/deviceCamera",
+ "style" :
+ {
+ "navigationBarTitleText" : "设备状态",
+ "enablePullDownRefresh" : false
+ }
+ },
+ {
+ "path" : "pages/deviceStatus/detectionEventList",
+ "style" :
+ {
+ "navigationBarTitleText" : "设备状态",
+ "enablePullDownRefresh" : false
+ }
+ },
+ {
+ "path" : "pages/deviceRepair/repairOrder",
+ "style" :
+ {
+ "navigationBarTitleText" : "设备维修",
+ "enablePullDownRefresh" : false
+ }
}],
"globalStyle": {
"navigationBarTextStyle": "white",
diff --git a/pages/deviceRepair/RepairReport.vue b/pages/deviceRepair/RepairReport.vue
index 77700d4..8dc4475 100644
--- a/pages/deviceRepair/RepairReport.vue
+++ b/pages/deviceRepair/RepairReport.vue
@@ -1,10 +1,10 @@
-
+
值班工程师
-
+
@@ -13,7 +13,7 @@
故障时间
-
+
@@ -66,6 +66,10 @@
+
+ 保存
+ 取消
+
-
-
+ }
+
diff --git a/pages/deviceRepair/repairOrder.vue b/pages/deviceRepair/repairOrder.vue
new file mode 100644
index 0000000..2761eb1
--- /dev/null
+++ b/pages/deviceRepair/repairOrder.vue
@@ -0,0 +1,91 @@
+
+
+
+
+
+ 维修工程师
+
+
+
+
+
+
+
+
+ 故障解除时间
+
+
+
+
+
+
+
+ 维修描述
+
+
+
+
+
+ 维修照片
+
+
+
+
+ 上传图片
+
+
+
+
+
+
+
+ 保存
+ 取消
+
+
+
+
+
+
diff --git a/pages/deviceStatus/detectionEventList.vue b/pages/deviceStatus/detectionEventList.vue
new file mode 100644
index 0000000..f7f14a8
--- /dev/null
+++ b/pages/deviceStatus/detectionEventList.vue
@@ -0,0 +1,49 @@
+
+
+
+
+ 安全生产监控设备检测事件列表
+
+
+
+
+
+
+
+ 2024-01-11 19:09:56
+
+
+ 穿越警戒线
+
+
+ (检测到指定区域内有目标越过警戒线,请注意安全)
+
+
+
+
+
+
+
+
+
diff --git a/pages/deviceStatus/deviceCamera.vue b/pages/deviceStatus/deviceCamera.vue
new file mode 100644
index 0000000..85aa79c
--- /dev/null
+++ b/pages/deviceStatus/deviceCamera.vue
@@ -0,0 +1,65 @@
+
+
+
+ 硬件设备状态
+
+
+
+
+ 相机工作中
+
+
+ 更多安全事件
+
+
+
+
+
+
+
+
+ 设备名称
+ 安全监控相机
+
+
+ 开机时间
+ 2024-02-11 08:00:45
+
+
+ 安全事件
+ 检测到指定区域内有目标越过警戒线
+
+
+ 检测时间
+ 2024-01-11 19:09:56
+
+
+
+
+
+
+
+
+
diff --git a/pages/deviceStatus/deviceStatus.vue b/pages/deviceStatus/deviceStatus.vue
index bb5cf80..fe13693 100644
--- a/pages/deviceStatus/deviceStatus.vue
+++ b/pages/deviceStatus/deviceStatus.vue
@@ -1,5 +1,5 @@
-
+
硬件设备状态
@@ -31,6 +31,9 @@
设备名称
双头立锯
+
+ 相机
+
开机时间
@@ -45,6 +48,7 @@
5次
+
@@ -157,7 +161,12 @@
// 获取标题区域宽度,和每个子元素节点的宽度
this.getScrollW()
},
- methods: {
+ methods: {
+ toCamera(){
+ uni.navigateTo({
+ url:'/pages/deviceStatus/deviceCamera'
+ })
+ },
// 获取标题区域宽度,和每个子元素节点的宽度以及元素距离左边栏的距离
getScrollW() {
let query = uni.createSelectorQuery().in(this);
diff --git a/pages/equipmentManage/bindingDevice.vue b/pages/equipmentManage/bindingDevice.vue
index 0ed6525..ee9fe1c 100644
--- a/pages/equipmentManage/bindingDevice.vue
+++ b/pages/equipmentManage/bindingDevice.vue
@@ -1,7 +1,7 @@
-
+
绑定安全生产监控相机
@@ -68,10 +68,10 @@
-
- 保存
- 取消
-
+
+
+ 保存
+ 取消
diff --git a/pages/equipmentManage/deviceDetail.vue b/pages/equipmentManage/deviceDetail.vue
index d0c5727..c29d2b0 100644
--- a/pages/equipmentManage/deviceDetail.vue
+++ b/pages/equipmentManage/deviceDetail.vue
@@ -1,5 +1,5 @@
-
-
+
+
@@ -31,33 +31,33 @@
{{form.remark}}
-
-
-
-
-
-
-
-
+}
+
diff --git a/pages/equipmentManage/editDevice.vue b/pages/equipmentManage/editDevice.vue
index 160de5e..5ec2e6c 100644
--- a/pages/equipmentManage/editDevice.vue
+++ b/pages/equipmentManage/editDevice.vue
@@ -2,7 +2,7 @@
-
+
@@ -68,10 +68,10 @@
-
- 保存
- 取消
-
+
+
+ 保存
+ 取消
diff --git a/pages/equipmentManage/equipmentManage.vue b/pages/equipmentManage/equipmentManage.vue
index de505be..61ab208 100644
--- a/pages/equipmentManage/equipmentManage.vue
+++ b/pages/equipmentManage/equipmentManage.vue
@@ -1,6 +1,6 @@
-
-
+
+
@@ -26,7 +26,7 @@
-
+
-
+
+
@@ -47,14 +47,14 @@
-->
-
-
-
-
-
-
-
+}
+
diff --git a/pages/index/schedule.vue b/pages/index/schedule.vue
index 19bfb13..a95c919 100644
--- a/pages/index/schedule.vue
+++ b/pages/index/schedule.vue
@@ -1,6 +1,6 @@
-
-
+
+
@@ -29,35 +29,35 @@
-
-
-
-
+
+
+
+
-
-
+}
+
diff --git a/pages/person/accountCenter.vue b/pages/person/accountCenter.vue
index 2bf974b..7953341 100644
--- a/pages/person/accountCenter.vue
+++ b/pages/person/accountCenter.vue
@@ -1,5 +1,5 @@
-
-
+
+
头像
@@ -53,19 +53,19 @@
清除缓存
-
-
-
-
+
+
+
+
-
+ }
+ }
+ }
+
+
+
+
diff --git a/pages/person/alarm.vue b/pages/person/alarm.vue
index 74933d2..7cad5c0 100644
--- a/pages/person/alarm.vue
+++ b/pages/person/alarm.vue
@@ -1,6 +1,6 @@
-
-
+
+
@@ -11,25 +11,23 @@
{{item.time}}
-
-
-
-
-
-
-
-
+ },
+ }
+ }
+
+
+.longpress_style{background-color: #000;
+ opacity: 0.2;}
+
diff --git a/pages/person/changePhone.vue b/pages/person/changePhone.vue
index 6de3feb..50beb8c 100644
--- a/pages/person/changePhone.vue
+++ b/pages/person/changePhone.vue
@@ -1,5 +1,5 @@
-
-
+
+
@@ -8,25 +8,25 @@
获取验证码
-
-
-
-
-
-
+
+
+
+
+
+
+.content_row input{flex: 1;}
+
diff --git a/pages/person/myAuthority.vue b/pages/person/myAuthority.vue
index 6053563..b4236fe 100644
--- a/pages/person/myAuthority.vue
+++ b/pages/person/myAuthority.vue
@@ -1,5 +1,5 @@
-
-
+
+
-
+
+
{{item.name}}
@@ -16,28 +16,28 @@
事件描述事件描述事件描述事件描述事件描述事件描述
事件描述事件描述事件描述事件描述事件描述事件描述
-
-
-
-
-
-
+ ]
+ }
+ },
+ methods: {
+
+ }
+ }
+
+
+.img_style{padding: 12px 0 14px 0;}
+
+
diff --git a/pages/production/productionDetail.vue b/pages/production/productionDetail.vue
index ed0afdd..1c03872 100644
--- a/pages/production/productionDetail.vue
+++ b/pages/production/productionDetail.vue
@@ -1,5 +1,5 @@
-
-
+
+
@@ -52,16 +52,16 @@
-
-
-
-
-
-
+ },
+ }
+ }
+
+
+ }
+ }
+
diff --git a/pages/production/productionOrder.vue b/pages/production/productionOrder.vue
index 0e0eaa6..ea14912 100644
--- a/pages/production/productionOrder.vue
+++ b/pages/production/productionOrder.vue
@@ -1,6 +1,6 @@
-
-
-
+
+
+
@@ -59,41 +59,38 @@
-
-
-
-
-
-
-
-
+}
+