中心设备表格样式调整
continuous-integration/drone/push Build is passing Details

uat_us^2
wangxiaoshuang 2026-08-13 16:36:55 +08:00
parent c85505c7b0
commit ca5663d00a
2 changed files with 9 additions and 3 deletions

View File

@ -36,8 +36,8 @@
</template>
<template slot="main-container">
<el-table ref="list" v-loading="loading" v-adaptive="{ bottomOffset: 55 }" :data="list" stripe height="100"
@sort-change="handleSortByColumn">
<el-table ref="equipmentsList" v-loading="loading" v-adaptive="{ bottomOffset: 55 }" :data="list" stripe
height="100" @sort-change="handleSortByColumn">
<el-table-column type="index" width="50" />
<!-- 中心编号 -->
<el-table-column prop="TrialSiteCode" :label="$t('trials:researchStaff:table:siteId')" show-overflow-tooltip
@ -220,6 +220,9 @@ export default {
EquipmentControlFieldList.forEach(item => {
this.equipmentControlFieldList.push(item.FiledName)
})
this.$nextTick(() => {
this.$refs.equipmentsList.doLayout()
})
}
} catch (e) {
console.log(e)

View File

@ -36,7 +36,7 @@
</template>
<template slot="main-container">
<el-table ref="list" v-loading="loading" v-adaptive="{ bottomOffset: 55 }" :data="list" stripe height="100"
<el-table ref="questionsList" v-loading="loading" v-adaptive="{ bottomOffset: 55 }" :data="list" stripe height="100"
@sort-change="handleSortByColumn">
<el-table-column type="index" width="50" />
@ -254,6 +254,9 @@ export default {
this.total = res.Result.TotalCount
this.otherInfo = res.OtherInfo
this.notShowFieldList = res.OtherInfo.NotShowFieldList
this.$nextTick(() => {
this.$refs.questionsList.doLayout()
})
}
} catch (e) {
console.log(e)