WXL
4 天以前 ce16687e0faa2efd714ec113f09f7f22a457712f
src/views/patient/propaganda/QuestionnaireTask.vue
@@ -1027,11 +1027,11 @@
      },
      taskoptions: [
        {
          value: "1",
          value: "4",
          label: "出院病人",
        },
        {
          value: "4",
          value: "1",
          label: "在院病人",
        },
        {
@@ -1487,9 +1487,7 @@
      this.overallCase.forEach((item) => {
        this.allpids.push(item.patid);
      });
      if (
        this.patientqueryParams.allhosp == 1
      ) {
      if (this.patientqueryParams.allhosp == 4) {
        this.tableLabelhz = [
          // { label: "入院日期", width: "170", prop: "starttime" },
          { label: "出院日期", width: "180", prop: "endtime" },
@@ -1503,9 +1501,7 @@
          { label: "科室", width: "180", prop: "dept" },
          { label: "病区", width: "150", prop: "leavehospitaldistrictname" },
        ];
      } else if (
        this.patientqueryParams.allhosp == 4
      ) {
      } else if (this.patientqueryParams.allhosp == 1) {
        this.tableLabelhz = [
          { label: "入院日期", width: "150", prop: "starttime" },
          { label: "患者", width: "", prop: "name" },
@@ -1514,6 +1510,17 @@
          { label: "患者标签", width: "200", prop: "tag" },
          { label: "出院天数", width: "", prop: "endDay" },
          { label: "责任护士", width: "", prop: "nurseName" },
          { label: "医生", width: "", prop: "drname" },
          { label: "科室", width: "180", prop: "dept" },
          { label: "病区", width: "150", prop: "leavehospitaldistrictname" },
        ];
      } else {
        this.tableLabelhz = [
          { label: "就诊日期", width: "150", prop: "admitdate" },
          { label: "患者", width: "", prop: "name" },
          { label: "患者编号", width: "200", prop: "patientno" },
          { label: "性别", width: "", prop: "sex" },
          { label: "患者标签", width: "200", prop: "tag" },
          { label: "医生", width: "", prop: "drname" },
          { label: "科室", width: "180", prop: "dept" },
          { label: "病区", width: "150", prop: "leavehospitaldistrictname" },
@@ -1527,12 +1534,11 @@
      // 科室还是病区
      // 出院还是入院
      if (this.patientqueryParams.allhosp == 1) {
      if (this.patientqueryParams.allhosp == 4) {
        this.patientqueryParams.hospitaldistrictcodes = [];
        this.patientqueryParams.deptcodes = [];
      } else if (this.patientqueryParams.allhosp == 4) {
      } else if (this.patientqueryParams.allhosp == 1) {
        this.patientqueryParams.deptcodes =
          this.patientqueryParams.leaveldeptcodes;
        this.patientqueryParams.hospitaldistrictcodes =