公里标配置

This commit is contained in:
joylink_zhaoerwei 2023-12-21 16:39:54 +08:00
parent d41843a10a
commit 4ac1338b85
6 changed files with 108 additions and 96 deletions

View File

@ -50,7 +50,6 @@ const model = ref({
});
onMounted(() => {
console.log(props.garyPointIndexs, '===');
if (props.garyPointIndexs.length) {
model.value = {
min: props.garyPointIndexs[0],

View File

@ -1,12 +1,6 @@
<template>
<q-form class="q-gutter-sm">
<q-input
outlined
readonly
v-model="axleCountingModel.id"
label="id"
hint=""
/>
<q-input outlined readonly v-model="axleCountingModel.id" label="id" />
<q-input
outlined
label="计轴名称"
@ -16,6 +10,9 @@
lazy-rules
autogrow
/>
<q-list bordered separator class="rounded-borders">
<q-item no-wrap class="q-gutter-y-sm column">
<div>公里标配置</div>
<q-select
outlined
style="margin-top: 10px"
@ -34,6 +31,8 @@
@blur="onUpdate"
label="公里标(mm):"
/>
</q-item>
</q-list>
<q-list bordered separator class="rounded-borders">
<q-item>
<q-item-section no-wrap class="q-gutter-y-sm column">

View File

@ -33,6 +33,9 @@
@update:model-value="onUpdate"
label="关联设备端口:"
></q-select>
<q-list bordered separator class="rounded-borders">
<q-item no-wrap class="q-gutter-y-sm column">
<div>公里标配置</div>
<q-select
outlined
v-model="signalModel.kilometerSystem.coordinateSystem"
@ -49,6 +52,8 @@
@blur="onUpdate"
label="公里标(mm):"
/>
</q-item>
</q-list>
<q-select
outlined
v-model="signalModel.centralizedStation"
@ -78,7 +83,6 @@ const { data: signalModel, onUpdate } = useFormData(
);
const refDevData = computed(() => {
console.log(signalModel, '====');
return signalModel.refDevice
? {
...signalModel.refDevice.toObject(),

View File

@ -19,6 +19,9 @@
lazy-rules
autogrow
/>
<q-list bordered separator class="rounded-borders">
<q-item no-wrap class="q-gutter-y-sm column">
<div>公里标配置</div>
<q-select
outlined
style="margin-top: 10px"
@ -37,6 +40,8 @@
@blur="onUpdate"
label="公里标(mm):"
/>
</q-item>
</q-list>
<q-select
v-if="stationModel.concentrationStations"
outlined

View File

@ -7,6 +7,9 @@
@blur="onUpdate"
label="编号"
/>
<q-list bordered separator class="rounded-borders">
<q-item no-wrap class="q-gutter-y-sm column">
<div>公里标配置</div>
<q-select
outlined
v-model="turnoutModel.kilometerSystem[0].coordinateSystem"
@ -23,6 +26,9 @@
@blur="onUpdate"
label="公里标(mm):"
/>
</q-item>
<q-item no-wrap class="q-gutter-y-sm column">
<div>公里标配置</div>
<q-select
outlined
v-model="turnoutModel.kilometerSystem[1].coordinateSystem"
@ -39,6 +45,8 @@
@blur="onUpdate"
label="公里标(mm):"
/>
</q-item>
</q-list>
<q-field class="q-mt-lg" outlined label="关联区段" readonly stack-label>
<template #control>
<q-chip

View File

@ -110,9 +110,6 @@ enum statusTextColor {
A = '0xFF0000', // A报警
}
console.log(LogicSection);
console.trace(1);
const deviceTypeString = new Map();
deviceTypeString.set(state.DeviceType.TRACK, LogicSection.Type);
deviceTypeString.set(state.DeviceType.SWITCH_TRACK, Section.Type);