|
|
@ -165,13 +165,21 @@ export default { |
|
|
|
this.isPlatform = this.isSearch === item.platform |
|
|
|
return |
|
|
|
} |
|
|
|
this.confirmChange().finally(() => { |
|
|
|
if (this.name === '门急诊电子病历') { |
|
|
|
this.curIndex = index |
|
|
|
this.id = item.id |
|
|
|
this.name = item.name |
|
|
|
this.caseId = item.id |
|
|
|
this.isPlatform = this.isSearch === item.platform |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.confirmChange().finally(() => { |
|
|
|
this.curIndex = index |
|
|
|
this.id = item.id |
|
|
|
this.name = item.name |
|
|
|
this.caseId = item.id |
|
|
|
this.isPlatform = this.isSearch === item.platform |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
// 切换保存 |
|
|
|
confirmChange() { |
|
|
@ -210,6 +218,7 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
updateForm() { |
|
|
|
this.$message.success('保存成功') |
|
|
|
this.getFormList('update') |
|
|
|
}, |
|
|
|
addRecord(name) { |
|
|
|