修复bug
This commit is contained in:
parent
14407641ec
commit
ab9fef045b
@ -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: '报警值',
|
||||||
|
|||||||
@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user