部分问题修复

main
wangxiaoshuang 2024-04-16 14:34:58 +08:00
parent 6279d1db56
commit c472752ba1
2 changed files with 24 additions and 9 deletions

View File

@ -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();
}
});
})

View File

@ -172,6 +172,23 @@
<span>{{ scope.row.DoctorUser.UserName }}</span>
</template>
</el-table-column>
<!-- 阅片状态 -->
<el-table-column
prop="ReadingTaskState"
:label="$t('trials:reviewTrack:table:readingStatus')"
width="160"
sortable="custom"
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag v-if="scope.row.ReadingTaskState === 2" type="primary">{{
$fd("ReadingTaskState", scope.row.ReadingTaskState)
}}</el-tag>
<el-tag v-else type="danger">{{
$fd("ReadingTaskState", scope.row.ReadingTaskState)
}}</el-tag>
</template>
</el-table-column>
<!-- 阅片标准 -->
<el-table-column
prop="TrialReadingCriterionName"