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)
+ }
},
+
},
+
};