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