联锁映射调整暂提
This commit is contained in:
parent
c1741e0aba
commit
cb7037dcee
@ -8,7 +8,7 @@
|
||||
:width="600"
|
||||
:height="500"
|
||||
>
|
||||
<q-splitter v-model="splitterModel" style="height: 390px">
|
||||
<q-splitter v-model="splitterModel" style="height: 480px">
|
||||
<template v-slot:before>
|
||||
<q-tabs
|
||||
v-model="tab"
|
||||
@ -25,6 +25,9 @@
|
||||
<q-tab name="spksSwitch" label="SPKS" />
|
||||
<q-tab name="garageDoor" label="车库门" />
|
||||
<q-tab name="carWashing" label="洗车机" />
|
||||
<q-tab name="esbButton" label="紧急停车按钮" />
|
||||
<q-tab name="holdButton" label="扣车按钮"></q-tab>
|
||||
<q-tab name="unattengedButton" label="无人折返按钮"></q-tab>
|
||||
</q-tabs>
|
||||
</template>
|
||||
|
||||
@ -161,6 +164,48 @@
|
||||
</template>
|
||||
</div>
|
||||
</q-tab-panel>
|
||||
|
||||
<q-tab-panel name="esbButton">
|
||||
<div class="row" style="justify-content: space-around">
|
||||
<template :key="item.id" v-for="item in carWashingOptions">
|
||||
<q-input
|
||||
outlined
|
||||
class="q-mt-sm"
|
||||
v-model.number="item.index"
|
||||
type="number"
|
||||
:label="item.name + '联锁编号:'"
|
||||
/>
|
||||
</template>
|
||||
</div>
|
||||
</q-tab-panel>
|
||||
|
||||
<q-tab-panel name="holdButton">
|
||||
<div class="row" style="justify-content: space-around">
|
||||
<template :key="item.id" v-for="item in carWashingOptions">
|
||||
<q-input
|
||||
outlined
|
||||
class="q-mt-sm"
|
||||
v-model.number="item.index"
|
||||
type="number"
|
||||
:label="item.name + '联锁编号:'"
|
||||
/>
|
||||
</template>
|
||||
</div>
|
||||
</q-tab-panel>
|
||||
|
||||
<q-tab-panel name="unattengedButton">
|
||||
<div class="row" style="justify-content: space-around">
|
||||
<template :key="item.id" v-for="item in carWashingOptions">
|
||||
<q-input
|
||||
outlined
|
||||
class="q-mt-sm"
|
||||
v-model.number="item.index"
|
||||
type="number"
|
||||
:label="item.name + '联锁编号:'"
|
||||
/>
|
||||
</template>
|
||||
</div>
|
||||
</q-tab-panel>
|
||||
</q-tab-panels>
|
||||
</template>
|
||||
</q-splitter>
|
||||
@ -202,7 +247,14 @@ const garageDoorOptions = ref<{ id: number; name: string; index: number }[]>(
|
||||
const carWashingOptions = ref<{ id: number; name: string; index: number }[]>(
|
||||
[]
|
||||
);
|
||||
const tab = ref<string>('station');
|
||||
const esbButtonOptions = ref<{ id: number; name: string; index: number }[]>([]);
|
||||
const holdButtonOptions = ref<{ id: number; name: string; index: number }[]>(
|
||||
[]
|
||||
);
|
||||
const unattengedButtonOptions = ref<
|
||||
{ id: number; name: string; index: number }[]
|
||||
>([]);
|
||||
const tab = ref<string>('');
|
||||
const splitterModel = ref<number>(20);
|
||||
|
||||
const showLianSuoBianHao = ref(true);
|
||||
@ -239,6 +291,16 @@ onMounted(() => {
|
||||
lianSuoData.carWashing.forEach((t) => {
|
||||
lianSuoMapData.set(t.id, t.index);
|
||||
});
|
||||
stationUpdateData();
|
||||
turnoutUpdateData();
|
||||
screenDoorUpdateData();
|
||||
signalUpdateData();
|
||||
sectionUpdateData();
|
||||
floodGateUpdateData();
|
||||
spksSwitchUpdateData();
|
||||
garageDoorUpdateData();
|
||||
carWashingUpdateData();
|
||||
tab.value = 'station';
|
||||
});
|
||||
|
||||
function stationUpdateData() {
|
||||
|
Loading…
Reference in New Issue
Block a user