|
|
|
@ -72,6 +72,7 @@ |
|
|
|
:title="title == 1 ? '新增组织' : '修改组织'" |
|
|
|
:visible.sync="dialogVisible" |
|
|
|
width="50%" |
|
|
|
@close="closethiebox" |
|
|
|
> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
@ -128,6 +129,10 @@ export default { |
|
|
|
this.getonorganization(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
//close弹框关闭事件 |
|
|
|
closethiebox(){ |
|
|
|
|
|
|
|
}, |
|
|
|
//关闭弹框 |
|
|
|
closethebulletbox() { |
|
|
|
this.dialogVisible = false; |
|
|
|
@ -144,7 +149,7 @@ export default { |
|
|
|
}).then((res) => { |
|
|
|
this.$message.success("新增成功"); |
|
|
|
this.dialogVisible = false; |
|
|
|
this.form = {}; |
|
|
|
// this.form = {}; |
|
|
|
this.getonorganization(); |
|
|
|
}); |
|
|
|
} |
|
|
|
@ -198,6 +203,7 @@ export default { |
|
|
|
this.dialogVisible = true; |
|
|
|
this.title = 1; |
|
|
|
console.log(this.form); |
|
|
|
this.form.displayName='' |
|
|
|
}, |
|
|
|
//新增组织组织 |
|
|
|
append(node, data) { |
|
|
|
@ -207,6 +213,7 @@ export default { |
|
|
|
this.form.parentId = data.id; |
|
|
|
this.form.displayName = ""; |
|
|
|
console.log(this.form.parentId); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// if(this.natureoptions) |
|
|
|
|