[update] 修改选用户组件打开的时候不请求数据,点击查询后请求数据
This commit is contained in:
@@ -206,13 +206,10 @@ export default {
|
||||
currentQueryAllData: [] // 当前查询条件下的所有数据
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
this.loadData()
|
||||
},
|
||||
methods: {
|
||||
open (value) {
|
||||
this.visible = true
|
||||
this.loadData()
|
||||
// this.loadData()
|
||||
if (value) {
|
||||
this.selectedRowKeys = value.split(',')
|
||||
this.getUserListByIds(value)
|
||||
|
||||
@@ -232,13 +232,10 @@ export default {
|
||||
currentQueryAllData: [] // 当前查询条件下的所有数据
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
this.loadData()
|
||||
},
|
||||
methods: {
|
||||
open (value) {
|
||||
this.visible = true
|
||||
this.loadData()
|
||||
// this.loadData()
|
||||
if (value) {
|
||||
this.selectedRowKeys = value.split(',')
|
||||
}
|
||||
|
||||
@@ -263,12 +263,11 @@ export default {
|
||||
mounted () {
|
||||
this.initTreeData()
|
||||
this.getWorkGroupTree()
|
||||
this.loadData()
|
||||
},
|
||||
methods: {
|
||||
open (value) {
|
||||
this.visible = true
|
||||
this.loadData()
|
||||
// this.loadData()
|
||||
if (value) {
|
||||
this.selectedRowKeys = value.split(',')
|
||||
this.getUserListByIds(value)
|
||||
|
||||
@@ -236,7 +236,7 @@ export default {
|
||||
open (value) {
|
||||
this.getSysCategoryTree()
|
||||
this.initRoleList()
|
||||
this.loadData()
|
||||
// this.loadData()
|
||||
this.visible = true
|
||||
if (value) {
|
||||
this.selectedRowKeys = value.split(',')
|
||||
|
||||
Reference in New Issue
Block a user