|
@@ -274,11 +274,11 @@
|
|
|
// 调用常量-审核状态
|
|
|
this.audioStatus = this.$constWKS.ONOFF
|
|
|
// 加载【字典】
|
|
|
- initDicts(['NATION'], this.dicts);
|
|
|
- // 加载列表数据
|
|
|
- this.fetch()
|
|
|
+ initDicts(['NATION'], this.dicts)
|
|
|
// 加载Tree数据
|
|
|
this.getTreeData()
|
|
|
+ // 加载列表数据
|
|
|
+ //this.fetch()
|
|
|
},
|
|
|
computed: {
|
|
|
currentUser () {
|
|
@@ -516,6 +516,10 @@
|
|
|
res = res.data
|
|
|
if(res.isSuccess){
|
|
|
this.treeData = res.data
|
|
|
+ if(res.data.length > 0){
|
|
|
+ let obj = res.data[0].children[0]
|
|
|
+ this.treeCheck(obj, {})
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
},
|