中心设备表格样式调整
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
c85505c7b0
commit
ca5663d00a
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue