dev #2

Merged
wangzhongjie merged 77 commits from dev into main 2025-10-28 17:49:09 +08:00
2 changed files with 21 additions and 1 deletions
Showing only changes of commit aa67ead81a - Show all commits

View File

@ -173,6 +173,8 @@ export interface EnvironmentConfigurationType {
judgeVersion?: string
// 是否使用网络摄像头
isUseNetworkCamera?: string
// 厂商 诚迈 1 润和 2
manufacturer?: string
}
//全局配置

View File

@ -225,6 +225,14 @@ struct TerminalInfoPage {
}
}
})
blockComponent({
label: "前置机厂商",
type: 8,
value: this.config.manufacturer,
change: (value: string) => {
this.config.manufacturer = value;
}
})
}.margin(20)
}
.height(650)
@ -373,6 +381,16 @@ struct blockComponent {
value: '4'
}
]
@State manufacturerList: CommonListType[] = [
{
label: '诚迈',
value: '1'
},
{
label: '润和',
value: '2'
}
]
aboutToAppear(): void {
}
@ -410,7 +428,7 @@ struct blockComponent {
} else {
ForEach(this.type === 1 ? this.rearMachineModelList :
this.type === 2 || this.type === 5 || this.type === 6 || this.type === 7 ? this.logList :
this.type === 3 ? this.boardList : this.carTypeList, (item: CommonListType, index) => {
this.type === 3 ? this.boardList : this.type === 8 ? this.manufacturerList : this.carTypeList, (item: CommonListType, index) => {
Radio({ value: item.label, group: 'terRadioGroup' + this.type })
.borderColor('#E5CBA1')
.checked(item.value === this.value ? true : false)