修改全局阅片控制指定列显隐
parent
c6f349c3b8
commit
7a6bac4c6c
|
@ -96,9 +96,10 @@
|
|||
<template>
|
||||
<el-table-column
|
||||
v-for="(qs,index) in globalInfo.adjustedQsList"
|
||||
v-if="qs.isShow"
|
||||
:key="index"
|
||||
prop=""
|
||||
:label="qs"
|
||||
:label="qs.questionName"
|
||||
show-overflow-tooltip
|
||||
:min-width="index === 3 ? '200' : '200'"
|
||||
>
|
||||
|
|
|
@ -88,9 +88,10 @@
|
|||
<template>
|
||||
<el-table-column
|
||||
v-for="(qs,index) in globalInfo.adjustedQsList"
|
||||
v-if="qs.isShow"
|
||||
:key="index"
|
||||
prop=""
|
||||
:label="qs"
|
||||
:label="qs.questionName"
|
||||
show-overflow-tooltip
|
||||
:min-width="index === 3 ? '200' : '200'"
|
||||
>
|
||||
|
@ -331,6 +332,7 @@ export default {
|
|||
...mapGetters(['language'])
|
||||
},
|
||||
mounted() {
|
||||
console.log(this.globalInfo)
|
||||
this.assessTypes = this.globalInfo.assessTypeList.filter(i => i.IsBaseLineUse === this.isBaseline)
|
||||
},
|
||||
methods: {
|
||||
|
@ -448,7 +450,6 @@ export default {
|
|||
}
|
||||
})
|
||||
}
|
||||
console.log(this.globalForm)
|
||||
},
|
||||
getAssessType(v) {
|
||||
console.log(this.language)
|
||||
|
|
|
@ -49,9 +49,10 @@
|
|||
<template>
|
||||
<el-table-column
|
||||
v-for="(qs,index) in globalInfo.adjustedQsList"
|
||||
v-if="qs.isShow"
|
||||
:key="index"
|
||||
prop=""
|
||||
:label="qs"
|
||||
:label="qs.questionName"
|
||||
:width="index > 0 ? '300' : '200'"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
|
@ -182,7 +183,6 @@ export default {
|
|||
}
|
||||
},
|
||||
mounted() {
|
||||
console.log(this.globalInfo.adjustedQsList)
|
||||
},
|
||||
methods: {
|
||||
selectChange(v, row, index) {
|
||||
|
|
|
@ -96,9 +96,10 @@
|
|||
<template>
|
||||
<el-table-column
|
||||
v-for="(qs,index) in globalInfo.adjustedQsList"
|
||||
v-if="qs.isShow"
|
||||
:key="index"
|
||||
prop=""
|
||||
:label="qs"
|
||||
:label="qs.questionName"
|
||||
show-overflow-tooltip
|
||||
:min-width="index === 3 ? '200' : '200'"
|
||||
>
|
||||
|
|
|
@ -96,9 +96,10 @@
|
|||
<template>
|
||||
<el-table-column
|
||||
v-for="(qs,index) in globalInfo.adjustedQsList"
|
||||
v-if="qs.isShow"
|
||||
:key="index"
|
||||
prop=""
|
||||
:label="qs"
|
||||
:label="qs.questionName"
|
||||
show-overflow-tooltip
|
||||
:min-width="index === 3 ? '200' : '200'"
|
||||
>
|
||||
|
|
|
@ -257,19 +257,22 @@ export default {
|
|||
evaluationQsList.push(qs.QuestionName)
|
||||
})
|
||||
qs.AfterQuestionList.map(qs => {
|
||||
console.log(qs)
|
||||
if (qs.GlobalAnswerType === 1 && (this.CriterionType === 10)) {
|
||||
// 访视阅片备注
|
||||
adjustedQsList.push(this.$t('trials:globalReview:table:visitRemark'))
|
||||
adjustedQsList.push({questionName:this.$t('trials:globalReview:table:visitRemark'),isShow:true})
|
||||
} else if (qs.GlobalAnswerType === 1 && (this.CriterionType !== 10)) {
|
||||
// 全局阅片备注
|
||||
adjustedQsList.push(this.$t('trials:globalReview:table:globalRemark'))
|
||||
adjustedQsList.push({questionName:this.$t('trials:globalReview:table:globalRemark'),isShow:true})
|
||||
} else if (qs.GlobalAnswerType === 3 && (this.CriterionType !== 10)) {
|
||||
// 评估更新类型
|
||||
adjustedQsList.push(this.$t('trials:globalReview:table:updateType'))
|
||||
adjustedQsList.push({questionName:this.$t('trials:globalReview:table:updateType'),isShow:true})
|
||||
} else {
|
||||
if(!(this.CriterionType === 2 && (qs.QuestionType !== 39 || qs.QuestionType !== 40 || qs.QuestionType !== 41))){
|
||||
adjustedQsList.push(qs.QuestionName)
|
||||
var isShow = true
|
||||
if(this.CriterionType === 2 && (qs.QuestionType === 39 || qs.QuestionType === 40 || qs.QuestionType === 41)){
|
||||
isShow = false
|
||||
}
|
||||
adjustedQsList.push({questionName:qs.QuestionName,isShow:isShow})
|
||||
}
|
||||
})
|
||||
qs.AgreeOrNot.map(qs => {
|
||||
|
|
Loading…
Reference in New Issue