车辆分类,车辆类型的增删改查

This commit is contained in:
wangwenhua 2025-09-16 20:10:56 +08:00
parent 8190ec1f05
commit c3e47c1738
2 changed files with 15 additions and 3 deletions

View File

@ -575,7 +575,7 @@ export default {
this.getpopulationList()
this.getTableList()
if(this.opType == 2 || this.opType == 3 || this.opType == 4) {
this.getImgData()
// this.getImgData()
}
}
}
@ -654,6 +654,7 @@ export default {
}
}
}
console.log(res.data)
this.populationList = res.data
})
} else if(this.opType == 4) {

View File

@ -300,6 +300,17 @@ const listGridInfo = {
{ title: '弹药', dataIndex: 'ammunitionNum' },
{ dataIndex: 'action' },
],
Vehicle: [
{ title: '#DBID', dataIndex: 'ID', width: 80 },
{ title: '名称', dataIndex: 'vehicleName', width: 200, ellipsis: true },
{ title: '速度', dataIndex: 'vehicleSpreed' },
{ title: '型号', dataIndex: 'vehicleType' },
{ title: '运油能力', dataIndex: 'fuelAbility' },
{ title: '运药', dataIndex: 'medicalAbility' },
{ title: '运弹药能力', dataIndex: 'ammunitionAbility' },
{ title: '车辆用途', dataIndex: 'vehicleUse' },
{ dataIndex: 'action' },
],
}
export default {
@ -470,7 +481,6 @@ export default {
created() {
this.getZzTree()
for (const key in this.dicData) {
console.log('=this.dicData=='+key)
this.$http({
url: '/dicdata/' + key + '/getList',
method: 'get',
@ -588,7 +598,8 @@ export default {
},
handleOpenEditZbModal(record) {
this.AECModal.opType = 3
this.AECModal.parentTableRowId = record.id
this.AECModal.parentTableRowId = record.ID
console.log('======'+record.ID)
this.AECModal.title = '编辑 ' + record.name + ' 实体'
this.AECModal.visible = true
},