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" >