Merge branch 'develop' into local-test
All checks were successful
CI / Docker-Build (push) Successful in 1m51s

This commit is contained in:
fan 2024-05-29 16:01:20 +08:00
commit 229efac247

View File

@ -4,7 +4,7 @@
seamless
title="联锁编号映射数据"
v-model="showLianSuoBianHao"
@hide="dialogHide"
@hide="updateData"
:width="600"
:height="500"
>
@ -47,6 +47,11 @@
outlined
class="q-mt-sm"
v-model.number="item.index"
@update:model-value="
(value) => {
updateIndex(value as number, item.id);
}
"
type="number"
:label="item.name + '联锁编号:'"
/>
@ -61,6 +66,11 @@
outlined
class="q-mt-sm"
v-model.number="item.index"
@update:model-value="
(value) => {
updateIndex(value as number, item.id);
}
"
type="number"
:label="item.name + '联锁编号:'"
/>
@ -75,6 +85,11 @@
outlined
class="q-mt-sm"
v-model.number="item.index"
@update:model-value="
(value) => {
updateIndex(value as number, item.id);
}
"
type="number"
:label="item.name + '联锁编号:'"
/>
@ -88,6 +103,11 @@
outlined
class="q-mt-sm"
v-model.number="item.index"
@update:model-value="
(value) => {
updateIndex(value as number, item.id);
}
"
type="number"
:label="item.name + '联锁编号:'"
/>
@ -102,6 +122,11 @@
outlined
class="q-mt-sm"
v-model.number="item.index"
@update:model-value="
(value) => {
updateIndex(value as number, item.id);
}
"
type="number"
:label="item.name + '联锁编号:'"
/>
@ -116,6 +141,11 @@
outlined
class="q-mt-sm"
v-model.number="item.index"
@update:model-value="
(value) => {
updateIndex(value as number, item.id);
}
"
type="number"
:label="item.name + '联锁编号:'"
/>
@ -130,6 +160,11 @@
outlined
class="q-mt-sm"
v-model.number="item.index"
@update:model-value="
(value) => {
updateIndex(value as number, item.id);
}
"
type="number"
:label="item.name + '联锁编号:'"
/>
@ -144,6 +179,11 @@
outlined
class="q-mt-sm"
v-model.number="item.index"
@update:model-value="
(value) => {
updateIndex(value as number, item.id);
}
"
type="number"
:label="item.name + '联锁编号:'"
/>
@ -158,6 +198,11 @@
outlined
class="q-mt-sm"
v-model.number="item.index"
@update:model-value="
(value) => {
updateIndex(value as number, item.id);
}
"
type="number"
:label="item.name + '联锁编号:'"
/>
@ -172,6 +217,11 @@
outlined
class="q-mt-sm"
v-model.number="item.index"
@update:model-value="
(value) => {
updateIndex(value as number, item.id);
}
"
type="number"
:label="item.name + '联锁编号:'"
/>
@ -186,6 +236,11 @@
outlined
class="q-mt-sm"
v-model.number="item.index"
@update:model-value="
(value) => {
updateIndex(value as number, item.id);
}
"
type="number"
:label="item.name + '联锁编号:'"
/>
@ -200,6 +255,11 @@
outlined
class="q-mt-sm"
v-model.number="item.index"
@update:model-value="
(value) => {
updateIndex(value as number, item.id);
}
"
type="number"
:label="item.name + '联锁编号:'"
/>
@ -640,7 +700,7 @@ function tabUpdate() {
break;
}
}
function dialogHide() {
function updateData() {
const newLianSuoData = new graphicData.LianSuoData();
stationOptions.value.forEach((st) => {
newLianSuoData.stations.push(
@ -704,5 +764,8 @@ function dialogHide() {
});
setLianSuoData(newLianSuoData);
}
function updateIndex(index: number, id: number) {
lianSuoMapData.set(id, index);
}
</script>
<style scoped></style>