修改
This commit is contained in:
parent
2cb0bcd13a
commit
6bf8830c95
@ -34,7 +34,14 @@ export function updateVisitRecord(data) {
|
|||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 就诊记录修改保存
|
||||||
|
export function updateRecord(data) {
|
||||||
|
return request({
|
||||||
|
url: 'manage/visitRecord/updateRecord',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
// 删除患者就诊记录基本信息
|
// 删除患者就诊记录基本信息
|
||||||
export function delVisitRecord(id) {
|
export function delVisitRecord(id) {
|
||||||
return request({
|
return request({
|
||||||
|
|||||||
@ -104,7 +104,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<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";
|
import { getDepartmentList } from "@/api/manage/selectAgencyList";
|
||||||
export default {
|
export default {
|
||||||
name: "PatientConfigurationVisitRecords",
|
name: "PatientConfigurationVisitRecords",
|
||||||
@ -208,7 +208,7 @@ export default {
|
|||||||
this.form.attendingPhysicianName = this.attendingPhysicianlist.find(e => e.userId == this.form.attendingPhysicianId)?.nickName
|
this.form.attendingPhysicianName = this.attendingPhysicianlist.find(e => e.userId == this.form.attendingPhysicianId)?.nickName
|
||||||
}
|
}
|
||||||
if (this.form.id) {
|
if (this.form.id) {
|
||||||
updateVisitRecord(this.form).then(res => {
|
updateRecord(this.form).then(res => {
|
||||||
this.$modal.msgSuccess("保存就诊记录成功");
|
this.$modal.msgSuccess("保存就诊记录成功");
|
||||||
this.info();
|
this.info();
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user