mirror of https://github.com/veops/cmdb.git
acl
This commit is contained in:
parent
742cd4ead1
commit
c2cca38f1c
|
@ -286,7 +286,7 @@ export default {
|
|||
this.getTable(this.queryParams)
|
||||
},
|
||||
handleSearch(queryParams) {
|
||||
this.queryParams = { ...queryParams, app_id: this.app_id }
|
||||
this.queryParams = { ...this.queryParams, ...queryParams, app_id: this.app_id }
|
||||
this.getTable(this.queryParams)
|
||||
},
|
||||
|
||||
|
|
|
@ -212,7 +212,12 @@ export default {
|
|||
|
||||
// searchForm相关
|
||||
handleSearch(queryParams) {
|
||||
this.queryParams = { ...queryParams, app_id: this.app_id, scope: this.checked ? 'resource_group' : 'resource' }
|
||||
this.queryParams = {
|
||||
...this.queryParams,
|
||||
...queryParams,
|
||||
app_id: this.app_id,
|
||||
scope: this.checked ? 'resource_group' : 'resource',
|
||||
}
|
||||
this.getTable(this.queryParams)
|
||||
},
|
||||
searchFormReset() {
|
||||
|
|
|
@ -179,7 +179,7 @@ export default {
|
|||
|
||||
// searchForm相关
|
||||
handleSearch(queryParams) {
|
||||
this.queryParams = { ...queryParams, app_id: this.app_id, scope: 'resource_type' }
|
||||
this.queryParams = { ...this.queryParams, ...queryParams, app_id: this.app_id, scope: 'resource_type' }
|
||||
this.getTable(this.queryParams)
|
||||
},
|
||||
searchFormReset() {
|
||||
|
|
|
@ -220,7 +220,12 @@ export default {
|
|||
this.getTable(this.queryParams)
|
||||
},
|
||||
handleSearch(queryParams) {
|
||||
this.queryParams = { ...queryParams, app_id: this.app_id, scope: this.checked ? 'role_relation' : 'role' }
|
||||
this.queryParams = {
|
||||
...this.queryParams,
|
||||
...queryParams,
|
||||
app_id: this.app_id,
|
||||
scope: this.checked ? 'role_relation' : 'role',
|
||||
}
|
||||
this.getTable(this.queryParams)
|
||||
},
|
||||
searchFormReset() {
|
||||
|
|
|
@ -147,7 +147,6 @@ export default {
|
|||
expand: false,
|
||||
queryParams: {
|
||||
page: 1,
|
||||
page_size: 50,
|
||||
},
|
||||
date: undefined,
|
||||
checked: false,
|
||||
|
@ -188,7 +187,6 @@ export default {
|
|||
handleReset() {
|
||||
this.queryParams = {
|
||||
page: 1,
|
||||
page_size: 50,
|
||||
}
|
||||
this.date = undefined
|
||||
this.$emit('searchFormReset')
|
||||
|
|
|
@ -200,7 +200,7 @@ export default {
|
|||
|
||||
// searchForm相关
|
||||
handleSearch(queryParams) {
|
||||
this.queryParams = queryParams
|
||||
this.queryParams = { ...this.queryParams, ...queryParams }
|
||||
this.queryParams.app_id = this.app_id
|
||||
this.getTable(this.queryParams)
|
||||
},
|
||||
|
|
|
@ -348,7 +348,7 @@ export default {
|
|||
this.getTable(this.queryParams)
|
||||
},
|
||||
handleSearch(queryParams) {
|
||||
this.queryParams = queryParams
|
||||
this.queryParams = { ...this.queryParams, ...queryParams }
|
||||
this.getTable(this.queryParams)
|
||||
},
|
||||
handleExpandChange(expand) {
|
||||
|
|
|
@ -267,7 +267,7 @@ export default {
|
|||
this.isExpand = expand
|
||||
},
|
||||
handleSearch(queryParams) {
|
||||
this.queryParams = { ...queryParams, scope: this.checked ? 'resource_group' : 'resource' }
|
||||
this.queryParams = { ...this.queryParams, ...queryParams, scope: this.checked ? 'resource_group' : 'resource' }
|
||||
this.getTable(this.queryParams)
|
||||
},
|
||||
searchFormReset() {
|
||||
|
|
|
@ -217,7 +217,7 @@ export default {
|
|||
this.isExpand = expand
|
||||
},
|
||||
handleSearch(queryParams) {
|
||||
this.queryParams = { ...queryParams, scope: 'resource_type' }
|
||||
this.queryParams = { ...this.queryParams, ...queryParams, scope: 'resource_type' }
|
||||
this.getTable(this.queryParams)
|
||||
},
|
||||
searchFormReset() {
|
||||
|
|
|
@ -231,7 +231,7 @@ export default {
|
|||
this.getTable(this.queryParams)
|
||||
},
|
||||
handleSearch(queryParams) {
|
||||
this.queryParams = { ...queryParams, scope: this.checked ? 'role_relation' : 'role' }
|
||||
this.queryParams = { ...this.queryParams, ...queryParams, scope: this.checked ? 'role_relation' : 'role' }
|
||||
this.getTable(this.queryParams)
|
||||
},
|
||||
searchFormReset() {
|
||||
|
|
|
@ -241,7 +241,7 @@ export default {
|
|||
this.isExpand = expand
|
||||
},
|
||||
handleSearch(queryParams) {
|
||||
this.queryParams = queryParams
|
||||
this.queryParams = { ...this.queryParams, ...queryParams }
|
||||
this.getTable(this.queryParams)
|
||||
},
|
||||
searchFormReset() {
|
||||
|
|
Loading…
Reference in New Issue