update
1.修改大屏逻辑,只有庆阳大屏查询当天数据,其余大屏查询所有数据 2.修改table模块,监听变化后,才更新列表
This commit is contained in:
@@ -105,6 +105,10 @@
|
||||
type: Boolean,
|
||||
default: () => false,
|
||||
},
|
||||
timeInterval: {
|
||||
type: Object,
|
||||
default: () => {},
|
||||
},
|
||||
});
|
||||
const { themeType } = useTheme();
|
||||
const emit = defineEmits(['emit-view-detail']);
|
||||
@@ -175,15 +179,11 @@
|
||||
codeList = props.setting?.orgCode;
|
||||
}
|
||||
// 如果为庆阳应急中心,需要拼上当天的日期
|
||||
let p = {
|
||||
startDate: dayjs().format('YYYY-MM-DD'),
|
||||
endDate: dayjs().format('YYYY-MM-DD'),
|
||||
};
|
||||
const { code, result } = await getMonitorList({
|
||||
pageSize: 10,
|
||||
pageNo: 1,
|
||||
orgCodeList: codeList,
|
||||
...(props.setInter ? p : {}),
|
||||
...(props.setInter ? props.timeInterval : {}),
|
||||
});
|
||||
if (code == 200) {
|
||||
setSession(RIGHT_KEY1_NEW, JSON.stringify(result.records));
|
||||
|
||||
Reference in New Issue
Block a user