【bug】 组织架构可修改上级部门

This commit is contained in:
fengachen
2021-12-27 10:28:28 +08:00
parent 2376753108
commit 3478c4bb7a
+1 -2
View File
@@ -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);