feat: There is no way the,

This commit is contained in:
super_liu
2021-11-10 13:16:33 +08:00
parent 17bd676c09
commit 1ae16146f8
7 changed files with 361 additions and 334 deletions
@@ -10,8 +10,6 @@
</el-input>
<div class="tree">
<el-card style="height: 100%;padding-right: 120px;">
<el-tree
ref="tree"
node-key="id"
@@ -22,6 +20,7 @@
:data="treeList"
highlight-current
@node-click="treeClick"
:filter-node-method="filterNode"
default-expand-all
:expand-on-click-node="false">
<span class="custom-tree-node" slot-scope="{ node, data }" @mouseenter="mouseenter(data)" @mouseleave="mouseleave(data)">
@@ -181,7 +180,7 @@
@selection-change="standSelectChange"
>
<el-table-column
v-if="isPermission('fd83032ae5f41a0021b00e93c88edbbj,fd83032ae5f41a0021b00e93c88edbbe')>0"
v-if="isPermission('fd83032ae5f41a0021b00e93c88edbbj,fd83032ae5f41a0021b00e93c88edbbe,fd83032ae5f41a0021b00e93c88edbbd')>0"
type="selection"
width="55"
@@ -3427,6 +3426,10 @@
})
}
},
filterNode(value, data) {
if (!value) return true;
return data.menuName.indexOf(value) !== -1;
},
treeClick (treeNode) {
this.selectSarMenu = treeNode // 记录当前选中的二级菜单
this.lawsStandInfoSearch.menuId = treeNode.id
@@ -3540,9 +3543,6 @@
this.lawsStandInfoSearch.XGLC=''
this.lawsStandInfoSearch.CHJLLAWS=''
this.lawsStandInfoSearch.GLWJLAWS=''
this.pageChange(1)
this.lawsStandInfoSearch.page = page
this.getBussionStandTable(this.lawsStandInfoSearch)
this.isAdvancedSearch = false
} else if (flag === 2) {
// 标准条目搜索