修复编辑装备顶级分类的bug
This commit is contained in:
parent
ef40b81a50
commit
c4251204af
|
@ -280,6 +280,26 @@ const listGridInfo = {
|
|||
{ title: '所属国', dataIndex: 'operatorCountry' },
|
||||
{ dataIndex: 'action' },
|
||||
],
|
||||
hospital: [
|
||||
{ title: '#DBID', dataIndex: 'id', width: 80 },
|
||||
{ title: '名称', dataIndex: 'resourceName', width: 200, ellipsis: true },
|
||||
{ title: '经度', dataIndex: 'lng' },
|
||||
{ title: '纬度', dataIndex: 'lat' },
|
||||
{ title: '医生数量', dataIndex: 'doctorNum' },
|
||||
{ title: '护士数量', dataIndex: 'nurseNum' },
|
||||
{ title: '病床', dataIndex: 'hospitalBed' },
|
||||
{ dataIndex: 'action' },
|
||||
],
|
||||
warehouse: [
|
||||
{ title: '#DBID', dataIndex: 'id', width: 80 },
|
||||
{ title: '名称', dataIndex: 'resourceName', width: 200, ellipsis: true },
|
||||
{ title: '经度', dataIndex: 'lng' },
|
||||
{ title: '纬度', dataIndex: 'lat' },
|
||||
{ title: '药材数量', dataIndex: 'medicalNum' },
|
||||
{ title: '油料', dataIndex: 'fuelNum' },
|
||||
{ title: '弹药', dataIndex: 'ammunitionNum' },
|
||||
{ dataIndex: 'action' },
|
||||
],
|
||||
}
|
||||
|
||||
export default {
|
||||
|
@ -313,6 +333,10 @@ export default {
|
|||
valueKey: 'key',
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '装备分类编码',
|
||||
prop: 'entityType',
|
||||
},
|
||||
{
|
||||
label: '装备分类名称',
|
||||
prop: 'entityName',
|
||||
|
@ -446,6 +470,7 @@ export default {
|
|||
created() {
|
||||
this.getZzTree()
|
||||
for (const key in this.dicData) {
|
||||
console.log('=this.dicData=='+key)
|
||||
this.$http({
|
||||
url: '/dicdata/' + key + '/getList',
|
||||
method: 'get',
|
||||
|
@ -484,7 +509,7 @@ export default {
|
|||
handleOpenEditZbflModal(data) {
|
||||
this.zbflModal.title = '编辑装备分类'
|
||||
this.zbflModal.mode = 'edit'
|
||||
this.zbflModal.formData = { id: data.id, parentId: data.parentId, entityName: data.entityName }
|
||||
this.zbflModal.formData = { id: data.id, parentId: data.parentId, entityName: data.entityName,entityType: data.entityType }
|
||||
this.zbflModal.visible = true
|
||||
},
|
||||
handleSubmitZbfl(formData) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user