qinxianzhangyao
2023-10-31 c5351e5f1d21b848bbaaa403726115d220443074
src/views/doctor/check/index.vue
@@ -714,11 +714,15 @@
              this.proParentList = response.data;
              this.loading = false;
              this.value = [];
              if (this.proParentList.xiaoJie.length != 0) {
                this.proParentList.xiaoJie.forEach((item2) => {
                  this.value.push(item2.id);
              if(this.proParentList.xiaoJieIds != null){
                if (this.proParentList.xiaoJieIds.length != 0) {
                this.proParentList.xiaoJieIds.forEach((item2) => {
                  let item = Number(item2)
                  this.value.push(item);
                });
              }
              }
              this.proParentList.sons.forEach((item) => {
                this.doctorName = item.doctorName;
@@ -845,11 +849,14 @@
          getParentId(data).then((response) => {
            this.proParentList = response.data;
            this.value = [];
            if (this.proParentList.xiaoJie.length != 0) {
              this.proParentList.xiaoJie.forEach((item2) => {
                this.value.push(item2.id);
              });
            }
            if(this.proParentList.xiaoJieIds != null){
                if (this.proParentList.xiaoJieIds.length != 0) {
                this.proParentList.xiaoJieIds.forEach((item2) => {
                  let item = Number(item2)
                  this.value.push(item);
                });
              }
              }
            this.proParentList.sons.forEach((item) => {
              this.doctorName = item.doctorName;
              if (item.isReturn == 1) {
@@ -896,11 +903,14 @@
          getParentId(data).then((response) => {
            this.proParentList = response.data;
            this.value = [];
            if (this.proParentList.xiaoJie.length != 0) {
              this.proParentList.xiaoJie.forEach((item2) => {
                this.value.push(item2.id);
              });
            }
            if(this.proParentList.xiaoJieIds != null){
                if (this.proParentList.xiaoJieIds.length != 0) {
                this.proParentList.xiaoJieIds.forEach((item2) => {
                  let item = Number(item2)
                  this.value.push(item);
                });
              }
              }
            this.proParentList.sons.forEach((item) => {
              this.doctorName = item.doctorName;
              if (item.isReturn == 1) {