diff --git a/monitorMobile/components/tki-tree/style.css b/monitorMobile/components/tki-tree/style.css index d6301ae..0e40b12 100644 --- a/monitorMobile/components/tki-tree/style.css +++ b/monitorMobile/components/tki-tree/style.css @@ -108,16 +108,16 @@ } .tki-tree-check-yes, .tki-tree-check-no { - width: 20px; - height: 20px; + width: 18px; + height: 18px; border-top-left-radius: 20%; border-top-right-radius: 20%; border-bottom-right-radius: 20%; border-bottom-left-radius: 20%; - border-top-width: 1rpx; - border-left-width: 1rpx; - border-bottom-width: 1rpx; - border-right-width: 1rpx; + border-top-width: 1px; + border-left-width: 1px; + border-bottom-width: 1px; + border-right-width: 1px; border-style: solid; border-color: #2388FF; display: flex; @@ -126,8 +126,8 @@ box-sizing: border-box; } .tki-tree-check-yes-b { - width: 12px; - height: 12px; + width: 18px; + height: 18px; border-top-left-radius: 20%; border-top-right-radius: 20%; border-bottom-right-radius: 20%; @@ -145,6 +145,10 @@ border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; + color: #fff; + display: flex; + justify-content: center; + align-items: center; } .hover-c { opacity: 0.6; diff --git a/monitorMobile/components/tki-tree/tki-tree.vue b/monitorMobile/components/tki-tree/tki-tree.vue index 2a31da5..54e716d 100644 --- a/monitorMobile/components/tki-tree/tki-tree.vue +++ b/monitorMobile/components/tki-tree/tki-tree.vue @@ -27,7 +27,7 @@ - + diff --git a/monitorMobile/pages/earlyWarning/components/warningInfo.vue b/monitorMobile/pages/earlyWarning/components/warningInfo.vue index 69671f0..8ff035c 100644 --- a/monitorMobile/pages/earlyWarning/components/warningInfo.vue +++ b/monitorMobile/pages/earlyWarning/components/warningInfo.vue @@ -42,7 +42,7 @@ - {{searchForm.alarmType}} + {{searchForm.$alarmType || '警告类型'}} - {{searchForm.warnHand}} + {{searchForm.warnHand || '处理状态'}} - {{searchForm.StartTick}} + {{searchForm.StartTick || '开始时间'}} - {{searchForm.EndTick}} + {{searchForm.EndTick || '结束时间'}} - + 重置 - + 确认 @@ -174,10 +174,10 @@ - + + :options="handOption" title="处理状态" /> @@ -193,12 +193,40 @@ return { isShowSearch: false, searchForm: { - alarmType: '警告类型', - warnHand: '处理状态', + alarmType: '', + warnHand: '', tick: [], - StartTick: '开始时间', - EndTick: '结束时间', + StartTick: '', + EndTick: '', }, + warnOption: [ + { + label: '人群聚集', + value: 1 + }, + { + label: '烟火警告', + value: 2 + }, + { + label: '未佩戴口罩检查', + value: 3 + }, + { + label: '周界入侵', + value: 4 + }, + ], + handOption: [ + { + label: '已处理', + value: 1 + }, + { + label: '未处理', + value: 2 + }, + ], warnList: [{ warnHand: 1 }, { @@ -299,6 +327,13 @@ this.loadmore() }, methods: { + clearform() { + this.searchForm = {} + this.isShowSearch = false; + }, + onsubmit() { + console.log(this.searchForm) + }, // 跳转详情页面 toDetail(row) { uni.navigateTo({ diff --git a/monitorMobile/pages/earlyWarning/detail.vue b/monitorMobile/pages/earlyWarning/detail.vue index 93b29a8..909ee27 100644 --- a/monitorMobile/pages/earlyWarning/detail.vue +++ b/monitorMobile/pages/earlyWarning/detail.vue @@ -3,7 +3,7 @@ 周界入侵-2024-08-20 18:01:41 - + 所属学校: @@ -17,7 +17,7 @@ 班级: - 暂无数据 + 班级 @@ -25,7 +25,7 @@ 告警摄像头: - 演示学校 + 摄像头 @@ -33,7 +33,7 @@ 告警类型: - 演示学校 + 类型 @@ -58,7 +58,7 @@ 备注信息: - 11111111111111111111111111111111111111111111111aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa撒大大飒飒水水水水水水顶顶顶顶顶反对 + 暂无数据 @@ -67,7 +67,7 @@ 处理意见: - 11111111111111111111111111111111111111111111111aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa撒大大飒飒水水水水水水顶顶顶顶顶反对 + 暂无数据 @@ -267,6 +267,7 @@ .valueBox { color: #333333; font-weight: 700; + } } @@ -282,7 +283,7 @@ margin-top: 20rpx; color: #333333; font-weight: 700; - min-height: 100rpx; + min-height: 50rpx; word-break: break-all; } } diff --git a/monitorMobile/pages/monitor/index.vue b/monitorMobile/pages/monitor/index.vue index 1b7e684..d2fc90d 100644 --- a/monitorMobile/pages/monitor/index.vue +++ b/monitorMobile/pages/monitor/index.vue @@ -1,9 +1,7 @@