修改OTA表单字段

This commit is contained in:
gaosong
2023-11-12 15:05:14 +08:00
parent 5e86057c05
commit 74c415d27d
@@ -257,7 +257,21 @@ export default {
if (res.result.dllx1 == null || res.result.dllx1 == "") {
this.form.dllx1 = undefined
}else{
let list = []
getAction('sys/dict/getDictItems/vehicle_dynamic_type1', { }).then((res) => {
if (res.success) {
res.result.forEach((item,index) => {
let w = item.value
let a = w.indexOf("-")
let l = w.substring(0,a)
if(this.form.dllx1 == l){
list.push(item)
}
})
this.projectNameList2 = list
}
})
}
if (res.result.dllx2 == null || res.result.dllx2 == "") {
this.form.dllx2 = undefined