su
su1124
2024-01-02 c26281ff05585d8f3f337b290831803fe766748b
src/views/doctor/imaging/index.vue
@@ -879,6 +879,12 @@
      listUser(this.addDateRange(this.queryParams, this.dateRange)).then(
        (response) => {
          this.userList = response.rows;
          this.userList.forEach((element) => {
            const userName = this.$store.state.user.name;
            if (userName == element.userName) {
              this.doctorName = element.nickName;
            }
          });
        }
      );
      getInfo().then((response) => {
@@ -1360,6 +1366,14 @@
        this.proParentList.sons.forEach((item) => {
          this.doctorName = item.doctorName;
          if (this.doctorName == null) {
            this.userList.forEach((element) => {
              const userName = this.$store.state.user.name;
              if (userName == element.userName) {
                this.doctorName = element.nickName;
              }
            });
          }
          if (item.isReturn == 1) {
            item.isReturn = true;
@@ -1431,6 +1445,14 @@
          this.userList.forEach((item) => {
            if (this.doctorName == item.nickName) {
              this.doctorName = item.userId;
              if (this.doctorName == null) {
                this.userList.forEach((element) => {
                  const userName = this.$store.state.user.name;
                  if (userName == element.userName) {
                    this.doctorName = element.nickName;
                  }
                });
              }
            }
          });
          this.proParentList.sons.forEach((item) => {
@@ -1495,6 +1517,14 @@
            }
            this.proParentList.sons.forEach((item) => {
              this.doctorName = item.doctorName;
              if (this.doctorName == null) {
                this.userList.forEach((element) => {
                  const userName = this.$store.state.user.name;
                  if (userName == element.userName) {
                    this.doctorName = element.nickName;
                  }
                });
              }
              if (item.isReturn == 1) {
                item.isReturn = true;
              }
@@ -1549,6 +1579,14 @@
            }
            this.proParentList.sons.forEach((item) => {
              this.doctorName = item.doctorName;
              if (this.doctorName == null) {
                this.userList.forEach((element) => {
                  const userName = this.$store.state.user.name;
                  if (userName == element.userName) {
                    this.doctorName = element.nickName;
                  }
                });
              }
              if (item.isReturn == 1) {
                item.isReturn = true;
              }
@@ -1590,6 +1628,14 @@
      this.userList.forEach((item) => {
        if (this.doctorName == item.nickName) {
          this.doctorName = item.userId;
          if (this.doctorName == null) {
            this.userList.forEach((element) => {
              const userName = this.$store.state.user.name;
              if (userName == element.userName) {
                this.doctorName = element.nickName;
              }
            });
          }
        }
      });
      this.proParentList.sons.forEach((item) => {