su
su1124
2024-01-30 b0d733958a618b9fc5ce0ee2fee5d2b146a7a748
src/views/doctor/imaging/index.vue
@@ -22,7 +22,7 @@
          v-model="queryParams.tjNumber"
          style="width: 240px"
          placeholder="请输入体检号"
          @blur="submitForm"
          @blur="hb"
          @keyup.enter.native="submitForm"
        ></el-input>
      </el-form-item>
@@ -740,7 +740,7 @@
import Public from "@/components/public";
import { getInfo } from "@/api/login";
import {
  huaYangetProList,
  yingXiangGetProList,
  getPhotoList,
  getaddRemark,
  getParentList,
@@ -839,6 +839,7 @@
      queryParams: {
        page: 1,
        pageSize: 10,
        pageNum:1,
        tjNumber: "",
        type: "",
        name: null,
@@ -879,6 +880,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) => {
@@ -966,7 +973,7 @@
    getList() {
      this.loading = true;
      this.queryParams.type = this.tjStatus;
      huaYangetProList(this.queryParams).then((response) => {
      yingXiangGetProList(this.queryParams).then((response) => {
        if (response.code == 200) {
          this.loading = false;
          if (response.data) {
@@ -987,7 +994,7 @@
    radioChange(val) {
      this.loading = true;
      this.queryParams.type = val;
      huaYangetProList(this.queryParams).then((response) => {
      yingXiangGetProList(this.queryParams).then((response) => {
        if (response.code == 200) {
          this.loading = false;
          if (response.data) {
@@ -998,6 +1005,12 @@
          }
        }
      });
    },
    hb(){
      console.log(this.queryParams.tjNumber);
       if (this.queryParams.tjNumber != "") {
        this.submitForm();
      }
    },
    // 搜索
@@ -1360,6 +1373,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 +1452,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 +1524,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 +1586,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 +1635,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) => {