...
|
...
|
@@ -178,7 +178,10 @@ |
|
|
<el-tree :data="permissons" :props="treeDefaultProps"
|
|
|
@check="clickDeal"
|
|
|
:default-expand-all = "treeExpand"
|
|
|
show-checkbox highlight-current
|
|
|
show-checkbox
|
|
|
highlight-current
|
|
|
check-on-click-node
|
|
|
check-strictly
|
|
|
node-key="permissionId" ref="tree">
|
|
|
</el-tree>
|
|
|
</el-form>
|
...
|
...
|
@@ -218,11 +221,8 @@ |
|
|
|
|
|
// import { getList as getDepartmentList} from '../../api/department';
|
|
|
import { getList as permList } from '../../api/perm_api';
|
|
|
import moment from 'moment'
|
|
|
import {selectList} from "../../api/consigner/vehicle";
|
|
|
import {addTrans} from "../../api/trn";
|
|
|
export default {
|
|
|
name:'Role',
|
|
|
name: 'Role',
|
|
|
data() {
|
|
|
return {
|
|
|
activeName: 'first',
|
...
|
...
|
@@ -773,7 +773,7 @@ |
|
|
this.uniteChildSame(currentObj, false)
|
|
|
}
|
|
|
//放开时为当子节点全为未选中时父节点也变为未选中状态 注释后就是父节点不和子节点强制绑定
|
|
|
// this.uniteParentSame(currentObj.id,treeStatus)//当子节点全为未选中时父节点也变为未选中状态
|
|
|
// this.uniteParentSame(currentObj.permissionId,treeStatus)//当子节点全为未选中时父节点也变为未选中状态
|
|
|
}
|
|
|
// else {
|
|
|
// this.uniteParentSame(currentObj.id,treeStatus)
|
...
|
...
|
|