消防站

This commit is contained in:
wzy-warehouse
2026-04-18 20:48:01 +08:00
parent cee9eb50eb
commit b7c0ce7068
15 changed files with 350 additions and 7 deletions
+13
View File
@@ -68,6 +68,14 @@ export const useLoadingInformationStore = defineStore(
id: -1,
});
// ============================== 消防站状态 ================================
const fireStation = reactive({
/** 加载状态 */
loading: false,
/** 消防站ID */
id: -1,
});
/**
* 重置所有状态
*/
@@ -95,6 +103,10 @@ export const useLoadingInformationStore = defineStore(
// 避难所状态重置
emergencyShelter.loading = false;
emergencyShelter.id = -1;
// 消防站状态重置
fireStation.loading = false;
fireStation.id = -1;
};
return {
@@ -104,6 +116,7 @@ export const useLoadingInformationStore = defineStore(
hospital,
dangerousSource,
emergencyShelter,
fireStation,
resetStatue,
};
}