【bug】 组织架构可修改上级部门
This commit is contained in:
@@ -92,7 +92,6 @@
|
||||
style="width:100%"
|
||||
:dropdownStyle="{maxHeight:'200px',overflow:'auto'}"
|
||||
:treeData="treeData"
|
||||
:disabled="disable"
|
||||
v-model="model.parentId"
|
||||
placeholder="无">
|
||||
</a-tree-select>
|
||||
@@ -461,7 +460,7 @@ export default {
|
||||
this.currSelected = Object.assign({}, record)
|
||||
this.model = this.currSelected
|
||||
this.selectedKeys = [record.key]
|
||||
this.model.parentId = record.parentId
|
||||
this.model.parentId = record.parentId || undefined
|
||||
this.setValuesToForm(record)
|
||||
// 暂时注释(部门权限组件)没用 2021-08-24
|
||||
// this.$refs.departAuth.show(record.id);
|
||||
|
||||
Reference in New Issue
Block a user