This commit is contained in:
2024-05-08 14:05:25 +08:00
parent 2cb0bcd13a
commit 6bf8830c95
2 changed files with 10 additions and 3 deletions

View File

@ -34,7 +34,14 @@ export function updateVisitRecord(data) {
data: data
})
}
// 就诊记录修改保存
export function updateRecord(data) {
return request({
url: 'manage/visitRecord/updateRecord',
method: 'put',
data: data
})
}
// 删除患者就诊记录基本信息
export function delVisitRecord(id) {
return request({

View File

@ -104,7 +104,7 @@
</template>
<script>
import { getList, usergetList, updateVisitRecord, saveRecord } from "@/api/unitconfig/patientConfiguration";
import { getList, usergetList, updateRecord, saveRecord } from "@/api/unitconfig/patientConfiguration";
import { getDepartmentList } from "@/api/manage/selectAgencyList";
export default {
name: "PatientConfigurationVisitRecords",
@ -208,7 +208,7 @@ export default {
this.form.attendingPhysicianName = this.attendingPhysicianlist.find(e => e.userId == this.form.attendingPhysicianId)?.nickName
}
if (this.form.id) {
updateVisitRecord(this.form).then(res => {
updateRecord(this.form).then(res => {
this.$modal.msgSuccess("保存就诊记录成功");
this.info();
})