WXL (wul)
8 小时以前 5ffc0a149787fa086a99b5c9b2e11e5327029c5f
src/views/followvisit/discharge/index.vue
@@ -991,6 +991,11 @@
        value: dept.districtCode,
      };
    });
    this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
      (obj) => obj.deptCode
    );
    this.topqueryParams.leavehospitaldistrictcodes =
      store.getters.belongWards.map((obj) => obj.districtCode);
    if (this.errtype) {
      this.toleadExport(2);
    } else {
@@ -1017,14 +1022,6 @@
        this.topqueryParams.leavehospitaldistrictcodes = [];
      if (!this.topqueryParams.leaveldeptcodes)
        this.topqueryParams.leaveldeptcodes = [];
      if (
        this.topqueryParams.leavehospitaldistrictcodes[0] &&
        this.topqueryParams.leaveldeptcodes[0]
      ) {
        this.topqueryParams.deptOrDistrict = 2;
      } else {
        this.topqueryParams.deptOrDistrict = 1;
      }
      getTaskservelist(this.topqueryParams).then((response) => {
        this.userList = response.rows[0].serviceSubtaskList;
@@ -1067,8 +1064,7 @@
      });
    },
    affiliation() {
      this.topqueryParams.drcode = store.getters.hisUserId;
      this.topqueryParams.nurseId = store.getters.hisUserId;
      this.topqueryParams.managementDoctorCode = store.getters.hisUserId;
      this.getList(1);
    },
    onthatday() {