获取发布图的数据--去掉厂家

This commit is contained in:
joylink_zhaoerwei 2023-12-01 10:53:46 +08:00
parent 46fd7160d5
commit 4cd7685d24
2 changed files with 11 additions and 9 deletions

View File

@ -1,11 +1,12 @@
<template>
<div class="q-gutter-sm" style="padding: 16px">
<div>
<div
v-if="
commonSetProperty.centralizedStations ||
commonSetProperty.oneDeviceTypeOfJZZ
"
>
<q-select
v-if="
commonSetProperty.centralizedStations ||
commonSetProperty.oneDeviceTypeOfJZZ
"
outlined
bottom-slots
v-model="stationName"
@ -339,7 +340,7 @@ onMounted(() => {
getPublishList({
type: PictureType.IBP,
category: drawStore.categoryType,
category: null,
}).then((ibpMapList) => {
if (ibpMapList && ibpMapList.length) {
ibpMapList.forEach((item) => {
@ -350,7 +351,7 @@ onMounted(() => {
getPublishList({
type: PictureType.Psl,
category: drawStore.categoryType,
category: null,
}).then((pslMapList) => {
if (pslMapList && pslMapList.length) {
pslMapList.forEach((item) => {
@ -648,12 +649,12 @@ function oneClickRelateCentralizedStation() {
containDeviceIds = Array.from(new Set(containDeviceIds));
});
/* const containDevices = containDeviceIds.map((id) => {
const containDevices = containDeviceIds.map((id) => {
return drawApp.queryStore.queryById(id);
});
handleCentralizedStationsData(containDevices, [
rightDatas.refRightStationId,
]); */
]);
}
}

View File

@ -66,6 +66,7 @@ export function arePolylinesIntersect(
return false;
}
//获取指定区间内的物理区段和道岔
export function findContainDevice(
refDevice: Section | Turnout,
refDevicePort: graphicData.RelatedRef.DevicePort,