From 495ba3d681cfd2ccc6ecf6a87eaf5cf6281855f6 Mon Sep 17 00:00:00 2001 From: cjp <3096114695@qq.com> Date: Wed, 30 Aug 2023 17:15:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BC=96=E5=86=99PC=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E3=80=81=E6=94=BF=E5=8A=A1=E7=AB=AF=E8=B5=B7=E9=87=8D=E6=9C=BA?= =?UTF-8?q?=E7=9B=91=E7=AE=A1=E9=9D=99=E6=80=81+=E5=AF=B9=E6=8E=A5?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/goverment.ts | 28 +++ .../liftSupervision/operatingData/index.scss | 1 + .../liftSupervision/operatingData/index.vue | 6 +- .../liftSupervision/operatingData/index.scss | 6 + .../liftSupervision/operatingData/index.vue | 190 +++++++++--------- .../equipManagement/index.scss | 5 - .../liftSupervision/equipManagement/index.vue | 87 ++++---- .../historyData/alarmData/index.scss | 5 - .../historyData/alarmData/index.vue | 41 +++- .../historyData/realTimeData/index.scss | 5 - .../historyData/realTimeData/index.vue | 41 +++- .../historyData/workCycleData/index.scss | 5 - .../historyData/workCycleData/index.vue | 41 +++- .../liftSupervision/operatingData/index.scss | 7 +- .../liftSupervision/operatingData/index.vue | 100 +++++---- 15 files changed, 356 insertions(+), 212 deletions(-) diff --git a/src/api/modules/goverment.ts b/src/api/modules/goverment.ts index b2080c3..c89acbd 100644 --- a/src/api/modules/goverment.ts +++ b/src/api/modules/goverment.ts @@ -615,3 +615,31 @@ export const towerCraneAlarmPage = (params: any) => { export const towerCraneDataPage = (params: any) => { return http.post(BASEURL + `/gov/towerCraneCurrentData/page`, params); }; + +// 升降机监管 +// 设备管理列表 +export const lifterEquipAll = (params: any) => { + return http.post(BASEURL + `/gov/lifter/list`, params); +}; +// 获取运行数据 +export const lifterOperationData = (params: any) => { + return http.post(BASEURL + `/gov/lifterCurrentData/getOperation`, params); +}; +// 分页列表查询实时数据项目信息 +export const getLifterRealTimePojectPage = (params: any) => { + return http.post(BASEURL + `/gov/lifter/projectPage`, params); +}; +// 分页列表查询实时数据工程信息 +export const getLifterRealTimeEngineeringPage = (params: any) => { + return http.post(BASEURL + `/gov/lifter/engineeringPage`, params); +}; + +// 报警数据分页列表 +export const lifterAlarmPage = (params: any) => { + return http.post(BASEURL + `/gov/lifterAlarm/page`, params); +}; + +// 实时数据分页列表 +export const lifterDataPage = (params: any) => { + return http.post(BASEURL + `/gov/lifterCurrentData/page`, params); +}; diff --git a/src/views/enterprise/liftSupervision/operatingData/index.scss b/src/views/enterprise/liftSupervision/operatingData/index.scss index a453c97..ab9abf5 100644 --- a/src/views/enterprise/liftSupervision/operatingData/index.scss +++ b/src/views/enterprise/liftSupervision/operatingData/index.scss @@ -259,6 +259,7 @@ font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; font-size: 12px; font-weight: 400; + white-space: nowrap; } > span:nth-child(1) { display: inline-block; diff --git a/src/views/enterprise/liftSupervision/operatingData/index.vue b/src/views/enterprise/liftSupervision/operatingData/index.vue index f115672..a855f28 100644 --- a/src/views/enterprise/liftSupervision/operatingData/index.vue +++ b/src/views/enterprise/liftSupervision/operatingData/index.vue @@ -27,7 +27,7 @@ 安装日期: {{ equipInfo.installTime ? equipInfo.installTime : "" }} 终端编号: {{ equipInfo.devNumber ? equipInfo.devNumber : "" }} 更新时间: {{ equipInfo.realTime ? equipInfo.realTime : "" }} - 安装时间: {{ equipInfo.installTime ? equipInfo.installTime : "" }} +
@@ -192,9 +192,9 @@ const aspectList = ref([ { name: "载重", value: 10, - unit: "T", + unit: "kg", img: new URL("@/assets/images/onlineSupervision/载重.png", import.meta.url).href, - prop: "maxLoad" + prop: "loading" }, { name: "人数", diff --git a/src/views/goverment/liftSupervision/operatingData/index.scss b/src/views/goverment/liftSupervision/operatingData/index.scss index 8597e67..e315425 100644 --- a/src/views/goverment/liftSupervision/operatingData/index.scss +++ b/src/views/goverment/liftSupervision/operatingData/index.scss @@ -37,6 +37,7 @@ white-space: nowrap; } .leftMenu_item { + margin-top: 20px; .middleSize { font-size: 12px; } @@ -125,7 +126,11 @@ display: flex; flex-direction: column; > span { + width: 260px; margin-bottom: 20px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; //单行 } } .common-info { @@ -315,6 +320,7 @@ font-family: "Source Han Sans CN-Regular", "Source Han Sans CN"; font-size: 12px; font-weight: 400; + white-space: nowrap; } > span:nth-child(1) { display: inline-block; diff --git a/src/views/goverment/liftSupervision/operatingData/index.vue b/src/views/goverment/liftSupervision/operatingData/index.vue index 8c96333..243523e 100644 --- a/src/views/goverment/liftSupervision/operatingData/index.vue +++ b/src/views/goverment/liftSupervision/operatingData/index.vue @@ -22,13 +22,11 @@
- 今日报警次数:{{ data.aiAlarmStat === null ? 0 : parse(data.aiAlarmStat)?.todayAlarm }} + 今日报警次数:{{ data.alarmNum ? data.alarmNum : 0 }}
-
+
@@ -55,19 +53,20 @@
- 额定载重: {{ equipInfo.posteriorArmLength ? equipInfo.posteriorArmLength : 0 }}kg - 额定人数: {{ equipInfo.forearmLength ? equipInfo.forearmLength : 0 }}人 - 最大倾斜角度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}° - 最大高度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}m - 风级: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}级风 - 额定上行速度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}m - 额定下行速度: {{ equipInfo.towerHeight ? equipInfo.towerHeight : 0 }}m + 最大载重: {{ equipInfo.maxLoad ? equipInfo.maxLoad : 0 }}kg + 额定人数: {{ equipInfo.ratedPeopleNum ? equipInfo.ratedPeopleNum : 0 }}人 + 当前楼层数: {{ equipInfo.floorNum ? equipInfo.floorNum : 0 }} + 最大高度: {{ equipInfo.heightRatio ? equipInfo.heightRatio : 0 }}m + 高度百分比: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}% +
- 备案编号: TD2374693 - 安装日期: 2022-12-01 - 终端编号: TD2374693 - 更新时间: 2023-05-23 + 备案编号: {{ equipInfo.filingNumber ? equipInfo.filingNumber : "" }} + 安装日期: {{ equipInfo.installTime ? equipInfo.installTime : "" }} + 终端编号: {{ equipInfo.devNumber ? equipInfo.devNumber : "" }} + 更新时间: {{ equipInfo.realTime ? equipInfo.realTime : "" }} +
@@ -111,7 +110,7 @@ :tabs="['历史报警', '历史监测信息']" :pageable="pages" class="LeftMenu" - @change-page="onCurChange" + @change-page="onActiveCurChange" >