diff --git a/src/views/trials/trials-panel/reading/pending-review/index.vue b/src/views/trials/trials-panel/reading/pending-review/index.vue index 3a8cd7b..a595ed6 100644 --- a/src/views/trials/trials-panel/reading/pending-review/index.vue +++ b/src/views/trials/trials-panel/reading/pending-review/index.vue @@ -141,8 +141,8 @@ v-adaptive="{ bottomOffset: 80 }" v-loading="loading" :data="list" + ref="reviewTable" stripe - height="100" @sort-change="handleSortChange" > @@ -696,7 +696,7 @@ export default { } }, }, - mounted() { + created() { this.trialId = this.$route.query.trialId; this.getTrialCriterionList(); // this.getList() @@ -712,14 +712,12 @@ export default { .then((res) => { this.loading = false; this.QuestionList = res.OtherInfo.OtherObj; + this.list = res.Result.CurrentPageData; + this.total = res.Result.TotalCount; + this.otherInfo = res.OtherInfo; this.$nextTick(() => { - setTimeout(() => { - this.list = res.Result.CurrentPageData; - }, 100); - this.total = res.Result.TotalCount; - this.otherInfo = res.OtherInfo; - if(this.$refs.myTable){ - this.$refs.myTable.doLayout(); + if (this.$refs.reviewTable) { + this.$refs.reviewTable[0].doLayout(); } }); }) diff --git a/src/views/trials/trials-panel/reading/reading-tracking/index.vue b/src/views/trials/trials-panel/reading/reading-tracking/index.vue index ad056a4..290ce0f 100644 --- a/src/views/trials/trials-panel/reading/reading-tracking/index.vue +++ b/src/views/trials/trials-panel/reading/reading-tracking/index.vue @@ -172,6 +172,23 @@ {{ scope.row.DoctorUser.UserName }} + + + +