1.添加急救路线
This commit is contained in:
2025-07-09 19:38:59 +08:00
parent b52d46cd76
commit b61ca7f567
6 changed files with 115 additions and 44 deletions
+3 -1
View File
@@ -105,7 +105,7 @@
import { handleSocketUrl, startTime } from '/@/utils/utils.ts';
import { useUserStore } from '/@/store/modules/user.ts';
const { getCenterInfo } = useUserStore();
const { getCenterInfo, setCount } = useUserStore();
import {
oneLApi,
roomDetailApi,
@@ -273,6 +273,7 @@
watch(socketData, (nVal) => {
if (nVal) {
nextTick(() => {
setCount();
setSocketData(nVal);
employeeDialogRef.value.openDialog();
});
@@ -285,6 +286,7 @@
const emergencyDialogRef = ref(); //紧急求助
watch(socketData1, (nVal) => {
if (nVal) {
setCount();
setSocketData1(nVal);
emergencyDialogRef.value.openDialog();
}