车辆分类,车辆类型的增删改查
This commit is contained in:
parent
8190ec1f05
commit
c3e47c1738
|
@ -575,7 +575,7 @@ export default {
|
||||||
this.getpopulationList()
|
this.getpopulationList()
|
||||||
this.getTableList()
|
this.getTableList()
|
||||||
if(this.opType == 2 || this.opType == 3 || this.opType == 4) {
|
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
|
this.populationList = res.data
|
||||||
})
|
})
|
||||||
} else if(this.opType == 4) {
|
} else if(this.opType == 4) {
|
||||||
|
|
|
@ -300,6 +300,17 @@ const listGridInfo = {
|
||||||
{ title: '弹药', dataIndex: 'ammunitionNum' },
|
{ title: '弹药', dataIndex: 'ammunitionNum' },
|
||||||
{ dataIndex: 'action' },
|
{ 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 {
|
export default {
|
||||||
|
@ -470,7 +481,6 @@ export default {
|
||||||
created() {
|
created() {
|
||||||
this.getZzTree()
|
this.getZzTree()
|
||||||
for (const key in this.dicData) {
|
for (const key in this.dicData) {
|
||||||
console.log('=this.dicData=='+key)
|
|
||||||
this.$http({
|
this.$http({
|
||||||
url: '/dicdata/' + key + '/getList',
|
url: '/dicdata/' + key + '/getList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -588,7 +598,8 @@ export default {
|
||||||
},
|
},
|
||||||
handleOpenEditZbModal(record) {
|
handleOpenEditZbModal(record) {
|
||||||
this.AECModal.opType = 3
|
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.title = '编辑 ' + record.name + ' 实体'
|
||||||
this.AECModal.visible = true
|
this.AECModal.visible = true
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user