修复bug

This commit is contained in:
jiayu 2025-09-02 14:51:08 +08:00
parent 14407641ec
commit ab9fef045b
3 changed files with 5 additions and 4 deletions

View File

@ -153,7 +153,7 @@
{ {
title: '名称', title: '名称',
dataIndex: 'deviceName', dataIndex: 'deviceName',
width: 60, width: 100,
ellipsis: true, ellipsis: true,
}, },
{ {
@ -164,7 +164,7 @@
{ {
title: '报警项', title: '报警项',
dataIndex: 'alarmTypeName', dataIndex: 'alarmTypeName',
width: 60, width: 80,
}, },
{ {
title: '报警值', title: '报警值',

View File

@ -96,9 +96,8 @@
isCustom.value = isCustom1; isCustom.value = isCustom1;
if (isCustom.value) { if (isCustom.value) {
partyMember.value = list; partyMember.value = list;
} else {
await getPartyMember();
} }
await getPartyMember();
} else { } else {
await getPartyMember(); await getPartyMember();
} }

View File

@ -125,12 +125,14 @@
} }
const getWeatherLiveData = async () => { const getWeatherLiveData = async () => {
// { cityid: '440300' }
const res = await bigdataApi.getWeatherLiveData({ cityid: '440300' }); const res = await bigdataApi.getWeatherLiveData({ cityid: '440300' });
currentWeather.value = res.data; currentWeather.value = res.data;
console.log(res); console.log(res);
}; };
const getWeatherData = async () => { const getWeatherData = async () => {
// { cityid: '440300' }
const res = await bigdataApi.getWeatherData({ cityid: '440300' }); const res = await bigdataApi.getWeatherData({ cityid: '440300' });
weatherList.value = JSON.parse(res.data); weatherList.value = JSON.parse(res.data);
weatherList.value.forEach((item) => { weatherList.value.forEach((item) => {