From 93666e6276fb652cf1bbbe6e84dcf88b21e519d8 Mon Sep 17 00:00:00 2001
From: pengjun <158915633@qq.com>
Date: Wed, 13 Dec 2023 14:55:43 +0800
Subject: [PATCH] doctor
---
src/components/doctorCheck/ButtonList.vue | 392 +++++++++++++++---
src/components/doctorCheck/CheckItemList.vue | 31 +-
src/components/doctorCheck/CheckPicture.vue | 81 ++++
src/components/doctorCheck/CheckSumSug.vue | 25 +-
.../doctorCheck/PatientRegisterBase.vue | 4 +-
.../doctorCheck/PatientRegisterList.vue | 7 +-
.../doctorCheck/RegisterCheckEdit.vue | 68 ++-
.../doctorCheck/RegisterCheckList.vue | 21 +-
.../patientRegister/PatientRegisterItem.vue | 8 +-
src/components/report/CusOrgOCX.vue | 4 +-
src/views/doctorCheck/doctorCheck.vue | 21 +-
11 files changed, 531 insertions(+), 131 deletions(-)
create mode 100644 src/components/doctorCheck/CheckPicture.vue
diff --git a/src/components/doctorCheck/ButtonList.vue b/src/components/doctorCheck/ButtonList.vue
index a95c0cd..11215a1 100644
--- a/src/components/doctorCheck/ButtonList.vue
+++ b/src/components/doctorCheck/ButtonList.vue
@@ -16,10 +16,10 @@
删除人员
@@ -15,7 +15,7 @@
@@ -34,6 +34,7 @@ import Sortable from "sortablejs";
import { getapi, postapi, putapi, deletapi } from "@/api/api";
export default {
components: {},
+ props:["isCheckPicture"],
data() {
return {
@@ -55,7 +56,11 @@ export default {
methods: {
//获取小结
checkSummaryList(RegisterCheckId) {
- console.log(`/api/app/registerchecksummary/getregisterchecksummarylist?RegisterCheckId=${RegisterCheckId}`)
+ if(!RegisterCheckId){
+ this.doctorCheck.checkSummaryList = [];
+ return;
+ }
+ // console.log(`/api/app/registerchecksummary/getregisterchecksummarylist?RegisterCheckId=${RegisterCheckId}`)
getapi(`/api/app/registerchecksummary/getregisterchecksummarylist?RegisterCheckId=${RegisterCheckId}`)
.then((res) => {
console.log("checkSummaryList", res.data);
@@ -70,7 +75,11 @@ export default {
//获取建议
checkSuggestionList(RegisterCheckId) {
- console.log(`/api/app/registerchecksuggestion/getregisterchecksuggestionlist?RegisterCheckId=${RegisterCheckId}`)
+ if(!RegisterCheckId){
+ this.doctorCheck.checkSuggestionList = [];
+ return;
+ }
+ // console.log(`/api/app/registerchecksuggestion/getregisterchecksuggestionlist?RegisterCheckId=${RegisterCheckId}`)
getapi(`/api/app/registerchecksuggestion/getregisterchecksuggestionlist?RegisterCheckId=${RegisterCheckId}`)
.then((res) => {
console.log("checkSuggestionList", res.data);
@@ -131,11 +140,9 @@ export default {
watch: {
//检查项目切换
"doctorCheck.RegisterCheckId"(newVal, oldVal) {
- console.log("watch doctorCheck.RegisterCheckId newVal:", newVal, " oldVal:", oldVal);
- if (newVal != oldVal && newVal != '') {
- this.checkSummaryList(newVal)
- this.checkSuggestionList(newVal)
- }
+ console.log("watch doctorCheck.RegisterCheckId newVal:", newVal, " oldVal:", oldVal);
+ this.checkSummaryList(newVal)
+ this.checkSuggestionList(newVal)
},
},
};
diff --git a/src/components/doctorCheck/PatientRegisterBase.vue b/src/components/doctorCheck/PatientRegisterBase.vue
index 2ded852..4800d04 100644
--- a/src/components/doctorCheck/PatientRegisterBase.vue
+++ b/src/components/doctorCheck/PatientRegisterBase.vue
@@ -34,7 +34,7 @@
体检日期
-
@@ -234,7 +234,7 @@ export default {
sexId: '', //性别
medicalTimes: '', //体检次数
maritalStatusId: '', //婚姻
- creationTime: '', //体检日期
+ medicalStartDate: '', //体检日期
customerOrgParentName: '', //单位
customerOrgName: '', //部门
medicalTypeId: '', //体检类别
diff --git a/src/components/doctorCheck/PatientRegisterList.vue b/src/components/doctorCheck/PatientRegisterList.vue
index 6f2da4b..f83526a 100644
--- a/src/components/doctorCheck/PatientRegisterList.vue
+++ b/src/components/doctorCheck/PatientRegisterList.vue
@@ -31,9 +31,9 @@
- 有图
+ 有图
-
+
组合项目:
{
+ if(res.code != -1){
+ this.doctorCheck.RegisterCheckEdit = res.data
+ }
+ })
+ }else{
+ this.doctorCheck.RegisterCheckEdit = {
+ id:'',
+ checkDoctorId:'',
+ checkDate:'',
+ LastModifierId:'',
+ LastModificationTime:'',
+ completeFlag:''
+ }
+
+ }
+ }
+ },
- //读身份证
- readIdCard() {
- alert("读身份证");
+ watch:{
+ "doctorCheck.RegisterCheckId":{
+ immediate:true,
+ handler(newVal,oldVal){
+ this.getRegisterCheck(newVal)
+ }
},
+
},
+
};