BUG 29505

This commit is contained in:
aixianling
2022-05-05 16:25:17 +08:00
parent 6d3984654c
commit 7d99c2fb5f
8 changed files with 16 additions and 16 deletions

View File

@@ -22,7 +22,7 @@
:filter-node-method="filterNode"
default-expand-all
highlight-current>
<span class="custom-tree-node" :title="node.label" style="" slot-scope="{ node, data }">{{ node.label }}</span>
</el-tree>
</div>
@@ -100,7 +100,7 @@
return data.girdName.indexOf(value) !== -1;
},
getTreeList() {
return this.instance.post(`/app/appgirdinfo/listAll`).then((res) => {
return this.instance.post(`/app/appgirdinfo/listAllByTop`).then((res) => {
if (res.code == 0) {
this.treeObj.treeList = res.data;
@@ -140,7 +140,7 @@
return false
}
this.instance.post(`/app/appgirdinfo/queryChildGirdInfoByGirdId?girdId=${val.id}`).then((res) => {
if (res?.data) {
const arr = res.data.map(v => {

View File

@@ -401,7 +401,7 @@ export default {
},
beforeSelectTree() {
this.treeObj.checkedKeys = [];
this.instance.post(`/app/appgirdinfo/listAll`, null, null).then((res) => {
this.instance.post(`/app/appgirdinfo/listAllByTop`, null, null).then((res) => {
if (res.code == 0) {
this.treeObj.treeList = res.data;
this.forms.girdInfoList.map((e) => {