作者 朱兆平

update:

1. 组织机构权限配置界面权限配置更新为 取消子节点不会同时取消父节点
@@ -178,7 +178,10 @@ @@ -178,7 +178,10 @@
178 <el-tree :data="permissons" :props="treeDefaultProps" 178 <el-tree :data="permissons" :props="treeDefaultProps"
179 @check="clickDeal" 179 @check="clickDeal"
180 :default-expand-all = "treeExpand" 180 :default-expand-all = "treeExpand"
181 - show-checkbox highlight-current 181 + show-checkbox
  182 + highlight-current
  183 + check-on-click-node
  184 + check-strictly
182 node-key="permissionId" ref="tree"> 185 node-key="permissionId" ref="tree">
183 </el-tree> 186 </el-tree>
184 </el-form> 187 </el-form>
@@ -218,11 +221,8 @@ @@ -218,11 +221,8 @@
218 221
219 // import { getList as getDepartmentList} from '../../api/department'; 222 // import { getList as getDepartmentList} from '../../api/department';
220 import { getList as permList } from '../../api/perm_api'; 223 import { getList as permList } from '../../api/perm_api';
221 - import moment from 'moment'  
222 - import {selectList} from "../../api/consigner/vehicle";  
223 - import {addTrans} from "../../api/trn";  
224 export default { 224 export default {
225 - name:'Role', 225 + name: 'Role',
226 data() { 226 data() {
227 return { 227 return {
228 activeName: 'first', 228 activeName: 'first',
@@ -773,7 +773,7 @@ @@ -773,7 +773,7 @@
773 this.uniteChildSame(currentObj, false) 773 this.uniteChildSame(currentObj, false)
774 } 774 }
775 //放开时为当子节点全为未选中时父节点也变为未选中状态 注释后就是父节点不和子节点强制绑定 775 //放开时为当子节点全为未选中时父节点也变为未选中状态 注释后就是父节点不和子节点强制绑定
776 - // this.uniteParentSame(currentObj.id,treeStatus)//当子节点全为未选中时父节点也变为未选中状态 776 + // this.uniteParentSame(currentObj.permissionId,treeStatus)//当子节点全为未选中时父节点也变为未选中状态
777 } 777 }
778 // else { 778 // else {
779 // this.uniteParentSame(currentObj.id,treeStatus) 779 // this.uniteParentSame(currentObj.id,treeStatus)