fix: 修复ipam 二级页面 搜索排序传参错误问题
This commit is contained in:
@@ -118,14 +118,12 @@ export default {
|
||||
}, {
|
||||
name: 'IP',
|
||||
type: 'input',
|
||||
label: 'manageIp',
|
||||
label: 'addr',
|
||||
disabled: false
|
||||
}, {
|
||||
name: this.$t('asset.state'),
|
||||
type: 'assetState',
|
||||
label: 'stateIds',
|
||||
id: 'stateIds',
|
||||
readonly: true,
|
||||
type: 'input',
|
||||
label: 'state',
|
||||
disabled: false
|
||||
}]
|
||||
}
|
||||
@@ -144,7 +142,7 @@ export default {
|
||||
delete this.searchLabel.orderBy
|
||||
}
|
||||
this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo)
|
||||
this.$set(this.searchLabel, 'ids', this.obj.id)
|
||||
this.$set(this.searchLabel, 'subnetId', this.obj.id)
|
||||
this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize)
|
||||
this.tools.loading = true
|
||||
this.$get(this.url, { ...this.searchLabel }).then(response => {
|
||||
|
||||
@@ -116,13 +116,11 @@ export default {
|
||||
prop: 'mac',
|
||||
show: true,
|
||||
minWidth: 200,
|
||||
sortable: 'custom'
|
||||
}, {
|
||||
label: this.$t('config.ipamip.asset'),
|
||||
prop: 'asset',
|
||||
show: true,
|
||||
width: 200,
|
||||
sortable: 'custom'
|
||||
}, {
|
||||
label: this.$t('overall.state'),
|
||||
prop: 'state',
|
||||
|
||||
Reference in New Issue
Block a user