表格根据列的数量动态固定列
parent
e744cbda51
commit
806010c6d4
|
@ -66,7 +66,7 @@
|
|||
<el-table-column
|
||||
:label="$t('trials:adReview:table:view')"
|
||||
width="200"
|
||||
:fixed="judgeQuestion.length > 4 ? 'right' : false"
|
||||
:fixed="isFixed ? 'right' : false"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<!-- 查看R1详情 -->
|
||||
|
@ -196,7 +196,8 @@ export default {
|
|||
imageUrl: '',
|
||||
fileList: [],
|
||||
visitTaskArmList: [],
|
||||
judgeQuestion: []
|
||||
judgeQuestion: [],
|
||||
isFixed: false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
@ -220,6 +221,7 @@ export default {
|
|||
})
|
||||
}
|
||||
this.judgeQuestion = judgeQS
|
||||
this.isFixed = this.judgeQuestion.length > 0 && this.judgeQuestion[0].judgeQuestionList.length > 4
|
||||
|
||||
this.adInfo = JudgeInfo
|
||||
this.adForm.judgeResultTaskId = JudgeInfo.JudgeResultTaskId
|
||||
|
|
Loading…
Reference in New Issue