|
|
@ -85,9 +85,12 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="当前花纹深度" style="width: 100%;">
|
|
|
|
<el-form-item label="当前花纹深度" style="width: 100%;">
|
|
|
|
<el-input-number v-model="form2.currentTextureDepth" :precision="2" :step="0.1"/>
|
|
|
|
<el-input-number v-model="form2.currentTextureDepth" :precision="2" :step="0.1"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-button @click="modifiedPatternDepth">修改花纹深度</el-button>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label=" ">
|
|
|
|
<el-form-item label=" ">
|
|
|
|
<el-button type="primary" @click="installClick">安装/更换</el-button>
|
|
|
|
<el-button type="primary" @click="installClick(1)">安装</el-button>
|
|
|
|
|
|
|
|
<el-button type="primary" @click="installClick(2)">更换</el-button>
|
|
|
|
<el-button @click="uninstallClick">卸载轮胎</el-button>
|
|
|
|
<el-button @click="uninstallClick">卸载轮胎</el-button>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
@ -179,6 +182,7 @@ const carQueueChange = (e) => {
|
|
|
|
sensorId: "",
|
|
|
|
sensorId: "",
|
|
|
|
size: "",
|
|
|
|
size: "",
|
|
|
|
tyrePosition: "",
|
|
|
|
tyrePosition: "",
|
|
|
|
|
|
|
|
tyreiId:''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let option = carQueueList.value.filter(res => res.id === e)[0]?.baseCarList || []
|
|
|
|
let option = carQueueList.value.filter(res => res.id === e)[0]?.baseCarList || []
|
|
|
|
option.length !== 0 ? isLicenseNumber.value = false : isLicenseNumber.value = true
|
|
|
|
option.length !== 0 ? isLicenseNumber.value = false : isLicenseNumber.value = true
|
|
|
@ -198,6 +202,7 @@ const licenseNumberChange = async (e) => {
|
|
|
|
sensorId: "",
|
|
|
|
sensorId: "",
|
|
|
|
size: "",
|
|
|
|
size: "",
|
|
|
|
tyrePosition: "",
|
|
|
|
tyrePosition: "",
|
|
|
|
|
|
|
|
tyreiId:''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
nowClick.value = ''
|
|
|
|
nowClick.value = ''
|
|
|
|
const {data: res} = await setCarTyres({id: form.value.licenseNumber})
|
|
|
|
const {data: res} = await setCarTyres({id: form.value.licenseNumber})
|
|
|
@ -217,12 +222,30 @@ const outerTireNumberSearchClick = () => {
|
|
|
|
console.log(form2.value.outerTireNumber)
|
|
|
|
console.log(form2.value.outerTireNumber)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const installClick = () => {
|
|
|
|
const modifiedPatternDepth =() =>{
|
|
|
|
console.log(form2.value)
|
|
|
|
console.log({
|
|
|
|
|
|
|
|
currentTextureDepth:form2.value.currentTextureDepth,
|
|
|
|
|
|
|
|
tyreiId:form2.value.tyreiId,
|
|
|
|
|
|
|
|
carLicense:licenseNumberOption.value.filter(e => e.value === form.value.licenseNumber)?.[0].label,
|
|
|
|
|
|
|
|
id:form.value.licenseNumber
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const installClick = (e) => {
|
|
|
|
|
|
|
|
console.log(e === 1? '安装' :'更换')
|
|
|
|
|
|
|
|
console.log({
|
|
|
|
|
|
|
|
...form2.value,
|
|
|
|
|
|
|
|
carLicense:licenseNumberOption.value.filter(e => e.value === form.value.licenseNumber)?.[0].label,
|
|
|
|
|
|
|
|
id:form.value.licenseNumber
|
|
|
|
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const uninstallClick = () => {
|
|
|
|
const uninstallClick = () => {
|
|
|
|
console.log(form2.value)
|
|
|
|
console.log({
|
|
|
|
|
|
|
|
tyreiId:form2.value.tyreiId,
|
|
|
|
|
|
|
|
carLicense:licenseNumberOption.value.filter(e => e.value === form.value.licenseNumber)?.[0].label,
|
|
|
|
|
|
|
|
id:form.value.licenseNumber
|
|
|
|
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
getList()
|
|
|
|
getList()
|
|
|
|