修改单车监控界面

master
夜笙歌 2 years ago
parent a206a5c04b
commit d4beb062c8

@ -159,15 +159,73 @@
<el-form-item v-if="false" prop="id">
<el-input v-model="tyreInfo.id"/>
</el-form-item>
<el-form-item :label="t('test.test.internationalization1')" prop="internationalization1">
<el-form-item label="胎号" prop="outerTireNumber">
<el-input
v-model="tyreInfo.internationalization1"
:placeholder="t('common.pleaseEnter') + t('test.test.internationalization1')"/>
v-model="tyreInfo.outerTireNumber"/>
</el-form-item>
<el-form-item :label="t('test.test.internationalization2')" prop="internationalization2">
<el-form-item label="轮位描述" prop="tyrePosition">
<el-input
v-model="tyreInfo.internationalization2"
:placeholder="t('common.pleaseEnter') + t('test.test.internationalization2')"/>
v-model="tyreInfo.tyrePosition"/>
</el-form-item>
<el-form-item label="传感器ID" prop="internationalization2">
<el-input
v-model="tyreInfo.internationalization2"/>
</el-form-item>
<el-form-item label="品牌" prop="brand">
<el-input
v-model="tyreInfo.brand"/>
</el-form-item>
<el-form-item label="总里程" prop="internationalization2">
<el-input
v-model="tyreInfo.internationalization2"/>
</el-form-item>
<el-form-item label="规格" prop="size">
<el-input
v-model="tyreInfo.size"/>
</el-form-item>
<el-form-item label="花纹" prop="pattern">
<el-input
v-model="tyreInfo.pattern"/>
</el-form-item>
<el-form-item label="当前花纹深度" prop="patternDepth">
<el-input
v-model="tyreInfo.patternDepth"/>
</el-form-item>
<el-form-item label="电池电压" prop="internationalization2">
<el-input
v-model="tyreInfo.internationalization2"/>
</el-form-item>
<el-form-item label="温度" prop="internationalization2">
<el-input
v-model="tyreInfo.internationalization2"/>
</el-form-item>
<el-form-item label="压力(热态)" prop="internationalization2">
<el-input
v-model="tyreInfo.internationalization2"/>
</el-form-item>
<el-form-item label="冷态气压" prop="internationalization2">
<el-input
v-model="tyreInfo.internationalization2"/>
</el-form-item>
<el-form-item label="报警阈值(热态)" prop="internationalization2">
<el-input
v-model="tyreInfo.internationalization2"/>
</el-form-item>
<el-form-item label="低压报警阈值(冷态)" prop="internationalization2">
<el-input
v-model="tyreInfo.internationalization2"/>
</el-form-item>
<el-form-item label="当前状态" prop="internationalization2">
<el-input
v-model="tyreInfo.internationalization2"/>
</el-form-item>
<el-form-item label="安装时间" prop="internationalization2">
<el-input
v-model="tyreInfo.internationalization2"/>
</el-form-item>
<el-form-item label="监测时间" prop="internationalization2">
<el-input
v-model="tyreInfo.internationalization2"/>
</el-form-item>
</el-form>
<template #footer>
@ -206,11 +264,11 @@ const tyreInfo = ref({})
const getTyreInfo = (e) => {
let id = tyreList.value.filter(val => val.tyrePositionS === e)?.[0]?.tyreId || ''
console.log(id)
if (!id) return
open.value = true
getTyreList(id).then(e => {
console.log(e)
console.log(e.data)
tyreInfo.value = e.data
})
}

Loading…
Cancel
Save