update: 大屏接口

This commit is contained in:
xf
2025-07-09 15:10:30 +08:00
parent f6e5bb78da
commit 91abcfd78d
22 changed files with 418 additions and 78 deletions
+34 -3
View File
@@ -25,6 +25,7 @@
:hospitalList="hospitalList"
@clear-hospital-list="clearHospitalList"
:show-rest-b="showRestB"
@handle-detail="handleCenterMapClick"
@show-rest-b="
() => {
showRestB = false;
@@ -80,7 +81,16 @@
import threeR from '/@/views/indexSun/threeR.vue';
import CenterMap from '/@/views/indexSun/centerMap.vue';
import { ServerDetailType } from '/@/components/body-d-left/bodyLeftHooks.ts';
import { columns, fromLists, threeRModalColumns, threeRModalFromList, towRcolumns, twoRform } from '/@/views/indexSun/indexSun.ts';
import {
centerMapColumns,
centerMapFromList,
columns,
fromLists,
threeRModalColumns,
threeRModalFromList,
towRcolumns,
twoRform,
} from '/@/views/indexSun/indexSun.ts';
import { nextTick, onMounted, onUnmounted, ref, watch } from 'vue';
import PhoneDialog from '/@/views/components/phoneDialog/phoneDialog.vue';
import { DataType, getSettings } from '/@/utils/settings.ts';
@@ -96,7 +106,15 @@
import { useUserStore } from '/@/store/modules/user.ts';
const { getCenterInfo } = useUserStore();
import { oneLApi, threeRModalApi, twoLModalApi, twoRModal1Api, twoRModal2Api, twoRModal3Api } from '/@/views/indexSun/indexSun.api.ts';
import {
oneLApi,
roomDetailApi,
threeRModalApi,
twoLModalApi,
twoRModal1Api,
twoRModal2Api,
twoRModal3Api,
} from '/@/views/indexSun/indexSun.api.ts';
import dayjs from 'dayjs';
//0:处置 1:处理 2:呼入 3:全部
const phoneType = ref('');
@@ -397,7 +415,20 @@
}
apiParams.value = params;
modalApi.value = apiArr[data.type - 1];
firstFormOne.value = twoRform(data.normal == 2 ? '1' : '2');
firstFormOne.value = twoRform(data.normal == 2 ? '1' : '');
nextTick(() => {
indexModalRef.value.openDialog();
});
}
function handleCenterMapClick(res) {
console.log(res, 'centerres');
indexColumn.value = centerMapColumns;
firstFormOne.value = centerMapFromList;
const params = {
healthRoomId: res.id,
};
modalApi.value = roomDetailApi;
apiParams.value = params;
nextTick(() => {
indexModalRef.value.openDialog();
});