校验调整

This commit is contained in:
fan 2023-10-12 16:54:55 +08:00
parent 9126ce8dbd
commit b6fe12a81f
4 changed files with 7 additions and 3 deletions

View File

@ -13,7 +13,7 @@
label="设备类型" label="设备类型"
:map-options="true" :map-options="true"
:emit-value="true" :emit-value="true"
:rules="[(val) => val != undefind || '设备类型不能为空']" :rules="[(val) => val != undefined || '设备类型不能为空']"
/> />
<q-input <q-input
outlined outlined

View File

@ -13,7 +13,7 @@
label="设备类型" label="设备类型"
:map-options="true" :map-options="true"
:emit-value="true" :emit-value="true"
:rules="[(val) => val != undefind || '设备类型不能为空']" :rules="[(val) => val != undefined || '设备类型不能为空']"
/> />
<q-input <q-input
outlined outlined

View File

@ -13,7 +13,7 @@
label="设备类型" label="设备类型"
:map-options="true" :map-options="true"
:emit-value="true" :emit-value="true"
:rules="[(val) => val != '' || '设备类型不能为空']" :rules="[(val) => val != undefined || '设备类型不能为空']"
/> />
<q-input <q-input
outlined outlined

View File

@ -305,6 +305,7 @@ const leftMenuConfig = [
label: '一键修改公里标方向', label: '一键修改公里标方向',
click: onClickChangeKilometerDirection, click: onClickChangeKilometerDirection,
}, },
{ label: '关联门控箱', click: handleRefGatedBox },
]; ];
onMounted(() => { onMounted(() => {
@ -508,6 +509,9 @@ function onClickChangeKilometerDirection() {
} }
}); });
} }
function handleRefGatedBox() {
const tst = 'p';
}
function oneClickCurvature() { function oneClickCurvature() {
// //
const curvatureDraw = drawStore const curvatureDraw = drawStore