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