coding
This commit is contained in:
parent
19aa8d091f
commit
4965a21068
|
@ -313,7 +313,7 @@ export default {
|
||||||
this.$refs['zzzb-table'].commitAction('reload')
|
this.$refs['zzzb-table'].commitAction('reload')
|
||||||
},
|
},
|
||||||
handleOpenAddZzjgModal(parentId) {
|
handleOpenAddZzjgModal(parentId) {
|
||||||
this.zzjgModal.title = '新建作战力量'
|
this.zzjgModal.title = '新建保障力量'
|
||||||
this.zzjgModal.mode = 'add'
|
this.zzjgModal.mode = 'add'
|
||||||
this.zzjgModal.formData = { unittype: 2, parentId }
|
this.zzjgModal.formData = { unittype: 2, parentId }
|
||||||
this.zzjgModal.visible = true
|
this.zzjgModal.visible = true
|
||||||
|
@ -324,7 +324,7 @@ export default {
|
||||||
url: `/baseData/fightPowerHierarchy/${id}`,
|
url: `/baseData/fightPowerHierarchy/${id}`,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
})
|
})
|
||||||
this.zzjgModal.title = '编辑作战力量'
|
this.zzjgModal.title = '编辑保障力量'
|
||||||
this.zzjgModal.mode = 'edit'
|
this.zzjgModal.mode = 'edit'
|
||||||
this.zzjgModal.formData = res.data
|
this.zzjgModal.formData = res.data
|
||||||
this.zzjgModal.visible = true
|
this.zzjgModal.visible = true
|
||||||
|
@ -345,7 +345,7 @@ export default {
|
||||||
},
|
},
|
||||||
async handleDeleteZzjg(id, title) {
|
async handleDeleteZzjg(id, title) {
|
||||||
try {
|
try {
|
||||||
await this.$confirm({ content: `确定删除作战力量-${title}?` })
|
await this.$confirm({ content: `确定删除保障力量-${title}?` })
|
||||||
await this.$http({
|
await this.$http({
|
||||||
url: `/baseData/fightPowerHierarchy/remove/${id}`,
|
url: `/baseData/fightPowerHierarchy/remove/${id}`,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user