luyanan 6 lat temu
rodzic
commit
3b789e7a31

+ 3 - 1
src/components/bench-views/abutmentService/ExpertAdvisor.vue

92
            const $info = res.data;
92
            const $info = res.data;
93
            let arr = [];
93
            let arr = [];
94
            for (let j = 0; j < $info.length; j++) {
94
            for (let j = 0; j < $info.length; j++) {
95
              arr.push($info[j].caption);
95
              if ($info[j].caption) {
96
                arr.push($info[j].caption);
97
              };
96
              if (j === $info.length - 1) {
98
              if (j === $info.length - 1) {
97
                $data[i].reserachs = arr.join(',');
99
                $data[i].reserachs = arr.join(',');
98
                this.$forceUpdate();
100
                this.$forceUpdate();

+ 3 - 7
src/components/sub-component/BaseExpert.vue

71
                    $data[i].offt = '';
71
                    $data[i].offt = '';
72
                  }
72
                  }
73
                }
73
                }
74
                $data[i].className = util.autho($data[i].authType, $data[i].orgAuth, $data[i].authStatus);
75
                if ($data[i].hasHeadImage) {
76
                  $data[i].image = util.ImageUrl('head/' + $data[i].id + '_l.jpg', true);
77
                } else {
78
                  $data[i].image = util.defaultSet.expert;
79
                }
80
                this.$axios.get(httpUrl.utilUrl + '/researchArea/' + $data[i].id).then(res => {
74
                this.$axios.get(httpUrl.utilUrl + '/researchArea/' + $data[i].id).then(res => {
81
                  const $info = res.data;
75
                  const $info = res.data;
82
                  let arr = [];
76
                  let arr = [];
83
                  for (let j = 0; j < $info.length; j++) {
77
                  for (let j = 0; j < $info.length; j++) {
84
                    arr.push($info[j].caption);
78
                    if ($info[j].caption) {
79
                      arr.push($info[j].caption);
80
                    };
85
                    if (j === $info.length - 1) {
81
                    if (j === $info.length - 1) {
86
                      $data[i].reserachs = arr.join(',');
82
                      $data[i].reserachs = arr.join(',');
87
                      this.$forceUpdate();
83
                      this.$forceUpdate();