|
@@ -315,6 +315,7 @@ export default {
|
|
|
this.haveMore = false;
|
|
|
this.select_Unit = res.Data[0].Unit;
|
|
|
this.select_classify = res.Data[0].ClassifyId;
|
|
|
+ this.orientationNode(res.Data[0].GroupId)
|
|
|
this.select_UpdateTime = res.Data[0].ModifyTime;
|
|
|
// 合并数据
|
|
|
// this.tableOption = [{
|
|
@@ -351,6 +352,18 @@ export default {
|
|
|
console.log(err);
|
|
|
}
|
|
|
},
|
|
|
+ // 左侧目录定位
|
|
|
+ orientationNode(Id){
|
|
|
+ this.select_node = Id;
|
|
|
+ this.$refs.coalTree.setCurrentKey(this.select_node);
|
|
|
+ this.$nextTick(() => {
|
|
|
+ let parent = document.getElementsByClassName('filter-tree')[0]
|
|
|
+ let node = parent.querySelector('.is-current')
|
|
|
+ parent.scrollTo({
|
|
|
+ top: node.offsetTop-200
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
loadNext() {
|
|
|
this.page_no++;
|
|
|
this.getDataList();
|