Browse Source

Merge branch 'syf-scale1220' of http://192.168.2.236:10080/zhouna/preliminary into syf-scale1220

1178232204@qq.com 3 years ago
parent
commit
0e1eaf3dda
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/components/PathInfo.vue
  2. 1 1
      src/utils/api.js

+ 2 - 2
src/components/PathInfo.vue

@@ -244,8 +244,8 @@ export default {
       api.recordCheck(param).then((res) => {
         const result = res.data;
         if (result.code == 0) {
-          let type = result.data.type;
-          if (type == 3 || type == 6) {
+          let data = result.data;
+          if (data.detailCount >0 || data.physicalCount >0 || data.scaleCount >0) {
             //有预问诊信息
             this.showToast = true;
           } else {

+ 1 - 1
src/utils/api.js

@@ -4,7 +4,7 @@ const urls = {
   getPathInfo:'/api/prec/patientInfo/getTopPatientInfo',//患者信息
   getSysConfig:'/api/prec/sysSet/getSysSetInfoDatas',//配置项
   getHospitalDatas:'/api/prec/sysSet/getHospitalDatas',//获取医院列表
-  recordCheck:'/api/prec/inquiryInfo/recordCheck',//校验是否已做过
+  recordCheck:'/api/prec/inquiryInfoSyf/recordCheck',//校验是否已做过
   getAll:'/api/prec/moduleInfo/getAll',//获取模板
   getSymptom:'/api/prec/questionUsual/getQuestionUsual',//常用症状
   getById:'/api/prec/questionInfo/getById',//常标签详情