fix: BUG修改

This commit is contained in:
cjp 2023-09-11 17:34:22 +08:00
parent c33eb87eb0
commit 8432bafdd5
3 changed files with 7 additions and 7 deletions

View File

@ -18,7 +18,7 @@
<span>额定人数: {{ equipInfo.ratedPeopleNum ? equipInfo.ratedPeopleNum : 0 }}</span> <span>额定人数: {{ equipInfo.ratedPeopleNum ? equipInfo.ratedPeopleNum : 0 }}</span>
<span>当前楼层数: {{ equipInfo.floorNum ? equipInfo.floorNum : 0 }}</span> <span>当前楼层数: {{ equipInfo.floorNum ? equipInfo.floorNum : 0 }}</span>
<span>最大高度: {{ equipInfo.height ? equipInfo.height : 0 }}m</span> <span>最大高度: {{ equipInfo.height ? equipInfo.height : 0 }}m</span>
<!-- <span>高度百分比: {{ equipInfo.heightRatio ? equipInfo.heightRatio : 0 }}%</span> --> <span>高度百分比: {{ equipInfo.heightRatio ? equipInfo.heightRatio : 0 }}%</span>
<!-- <span>额定上行速度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span> <!-- <span>额定上行速度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span>
<span>额定下行速度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span> --> <span>额定下行速度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span> -->
</div> </div>

View File

@ -57,7 +57,7 @@
<span>额定人数: {{ equipInfo.ratedPeopleNum ? equipInfo.ratedPeopleNum : 0 }}</span> <span>额定人数: {{ equipInfo.ratedPeopleNum ? equipInfo.ratedPeopleNum : 0 }}</span>
<span>当前楼层数: {{ equipInfo.floorNum ? equipInfo.floorNum : 0 }}</span> <span>当前楼层数: {{ equipInfo.floorNum ? equipInfo.floorNum : 0 }}</span>
<span>最大高度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span> <span>最大高度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span>
<!-- <span>高度百分比: {{ equipInfo.heightRatio ? equipInfo.heightRatio : 0 }}%</span> --> <span>高度百分比: {{ equipInfo.heightRatio ? equipInfo.heightRatio : 0 }}%</span>
<!-- <span>额定上行速度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span> <!-- <span>额定上行速度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span>
<span>额定下行速度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span> --> <span>额定下行速度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span> -->
</div> </div>
@ -403,7 +403,7 @@ const getAlarmList = async () => {
requestData.createTime_end = searchForm.value.timeRange[1]; requestData.createTime_end = searchForm.value.timeRange[1];
} }
const res = await lifterAlarmPage(requestData); const res = await lifterAlarmPage(requestData);
console.log(res); // console.log(res);
if (res && res.result && res.result.records.length > 0) { if (res && res.result && res.result.records.length > 0) {
alarmList.value = res.result.records; alarmList.value = res.result.records;
pages.value.total = +res.result.total; pages.value.total = +res.result.total;
@ -462,7 +462,6 @@ const search = () => {
getMonitorList(); getMonitorList();
} }
}; };
// //
const getProPage = async () => { const getProPage = async () => {
let requestData = { let requestData = {

View File

@ -18,7 +18,7 @@
<span>额定人数: {{ equipInfo.ratedPeopleNum ? equipInfo.ratedPeopleNum : 0 }}</span> <span>额定人数: {{ equipInfo.ratedPeopleNum ? equipInfo.ratedPeopleNum : 0 }}</span>
<span>当前楼层数: {{ equipInfo.floorNum ? equipInfo.floorNum : 0 }}</span> <span>当前楼层数: {{ equipInfo.floorNum ? equipInfo.floorNum : 0 }}</span>
<span>最大高度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span> <span>最大高度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span>
<!-- <span>高度百分比: {{ equipInfo.heightRatio ? equipInfo.heightRatio : 0 }}%</span> --> <span>高度百分比: {{ equipInfo.heightRatio ? equipInfo.heightRatio : 0 }}%</span>
<!-- <span>额定上行速度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span> <!-- <span>额定上行速度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span>
<span>额定下行速度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span> --> <span>额定下行速度: {{ equipInfo.maxHeight ? equipInfo.maxHeight : 0 }}m</span> -->
</div> </div>
@ -268,7 +268,8 @@ const alarmTransform = (obj: any) => {
const getMonitorList = async () => { const getMonitorList = async () => {
let requestData = { let requestData = {
pageNo: pages.value.pageNo, pageNo: pages.value.pageNo,
pageSize: pages.value.pageSize pageSize: pages.value.pageSize,
devId: equipInfo.value.id
} as any; } as any;
if (activeValue.value == "eng") { if (activeValue.value == "eng") {
requestData.engineeringSn = searchSn.value; requestData.engineeringSn = searchSn.value;
@ -280,7 +281,7 @@ const getMonitorList = async () => {
requestData.createTime_end = searchForm.value.timeRange[1]; requestData.createTime_end = searchForm.value.timeRange[1];
} }
const res = await lifterDataPage(requestData); const res = await lifterDataPage(requestData);
console.log(res); // console.log(res);
if (res && res.result && res.result.records.length > 0) { if (res && res.result && res.result.records.length > 0) {
monitorList.value = res.result.records; monitorList.value = res.result.records;
pages.value.total = +res.result.total; pages.value.total = +res.result.total;