|
@@ -356,10 +356,7 @@ export default {
|
|
|
HospitalFrame_API.addHospitalFrame(params).then(response => {
|
|
|
this.$message.success('添加成功!')
|
|
|
this.frameDialogVisible = false
|
|
|
- this.getFrameTree().then(() => {
|
|
|
- this.selectedNodeId = response.id
|
|
|
- this.$refs.frameTree.setCurrentKey(this.selectedNodeId)
|
|
|
- })
|
|
|
+ this.getFrameTree()
|
|
|
})
|
|
|
}
|
|
|
} else {
|