diff --git a/src/components/doctorCheck/ButtonList.vue b/src/components/doctorCheck/ButtonList.vue index 0ea81c7..bae21eb 100644 --- a/src/components/doctorCheck/ButtonList.vue +++ b/src/components/doctorCheck/ButtonList.vue @@ -1,7 +1,7 @@ + diff --git a/src/components/doctorCheck/RegisterCheckList.vue b/src/components/doctorCheck/RegisterCheckList.vue index e04f32d..542206c 100644 --- a/src/components/doctorCheck/RegisterCheckList.vue +++ b/src/components/doctorCheck/RegisterCheckList.vue @@ -57,6 +57,7 @@ export default { this.doctorCheck.RegisterCheckList = res.data; //查询出来 默认显示第1条记录明细、小结等 if(res.data.length > 0) this.doctorCheck.RegisterCheckId = res.data[0].id + this.doctorCheck.RegisterCheckEdit = res.data[0] } }) .catch((err) => { diff --git a/src/components/patientRegister/Camera.vue b/src/components/patientRegister/Camera.vue index 0e15872..45a1a89 100644 --- a/src/components/patientRegister/Camera.vue +++ b/src/components/patientRegister/Camera.vue @@ -195,8 +195,10 @@ export default { } }) .then((res) => { - if (res.code == 1) { - this.$message.success("更新 操作成功"); + if (res.code != -1) { + //console.log('拍照',res.data) + this.patientRegister.patientRegisterRd.photo = res.data.photo + this.$message.success("操作成功"); this.closeCameraMask(); } }); diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue index 0631733..a419ed3 100644 --- a/src/components/patientRegister/PatientRegisterEdit.vue +++ b/src/components/patientRegister/PatientRegisterEdit.vue @@ -292,7 +292,7 @@ v-model="form.remark" type="textarea" :rows="2" - placeholder="请输入内容" + placeholder="请输入备注" > @@ -322,7 +322,7 @@
@@ -446,7 +446,7 @@ import moment from "moment"; import { mapState } from "vuex"; import { getapi, postapi, putapi, deletapi } from "@/api/api"; -import * as apiurl from "../../utlis/mm"; +import mm from "../../utlis/mm"; import { objCopy, setNull, dddw } from "../../utlis/proFunc"; import Camera from "./Camera.vue"; @@ -458,7 +458,7 @@ export default { }, data() { return { - apiurl, + apiurl:mm.apiurl, form: { id: "", //id patientId: "00000000-0000-0000-0000-000000000000", //档案号ID 选择了档案就传档案号,未选就传00000-0000... diff --git a/src/components/patientRegister/PatientRegisterItem.vue b/src/components/patientRegister/PatientRegisterItem.vue index 0294ec6..7e72f2b 100644 --- a/src/components/patientRegister/PatientRegisterItem.vue +++ b/src/components/patientRegister/PatientRegisterItem.vue @@ -38,6 +38,11 @@ + + +