外层问题配置为表格问题不显示时阅片时不展示表格
parent
7bc70bfd6c
commit
c633fbcf87
|
|
@ -1,10 +1,12 @@
|
|||
<template>
|
||||
<div class="criterion-form-item">
|
||||
<div v-if="!!question.GroupName && question.Type === 'group'"
|
||||
<div
|
||||
v-if="(!!question.GroupName && question.Type === 'group') && ((question.ShowQuestion === 1 && question.ParentTriggerValueList.includes(String(questionForm[question.ParentId]))) || question.ShowQuestion === 0)"
|
||||
style="font-weight: bold;font-size: 16px;margin: 5px 0px;color:#fff;">
|
||||
{{ question.GroupName }}
|
||||
</div>
|
||||
<div v-if="question.Type === 'table' || question.Type === 'basicTable'"
|
||||
<div
|
||||
v-if="(question.Type === 'table' || question.Type === 'basicTable') && ((question.ShowQuestion === 1 && question.ParentTriggerValueList.includes(String(questionForm[question.ParentId]))) || question.ShowQuestion === 0)"
|
||||
style="font-weight: bold;font-size: 14px;margin: 5px 0px;">
|
||||
<div style="display: flex;justify-content: space-between;align-items: center;color:#fff;margin: 10px 0 5px">
|
||||
<span :title="question.Remark">{{ question.QuestionName }}</span>
|
||||
|
|
@ -14,7 +16,8 @@
|
|||
{{ $t('common:button:add') }}
|
||||
</el-button>
|
||||
</div>
|
||||
<el-table :data="questionForm[question.Id]">
|
||||
<el-table :data="questionForm[question.Id]"
|
||||
v-if="(question.ShowQuestion === 1 && question.ParentTriggerValueList.includes(String(questionForm[question.ParentId]))) || question.ShowQuestion === 0">
|
||||
<el-table-column :label="$t('CustomizeQuestionFormItem:label:OrderMark')" width="60px" show-overflow-tooltip>
|
||||
<template slot-scope="scope">
|
||||
{{ question.OrderMark }}{{ scope.$index + 1 }}
|
||||
|
|
@ -43,7 +46,7 @@
|
|||
<el-button type="text" size="mini" @click="openAddTableCol(question, scope.$index)">
|
||||
{{ question.IsPreinstall ?
|
||||
$t('CustomizeQuestionFormItem:button:assessment') : readingTaskState >= 2 ? $t('common:button:view') :
|
||||
$t('common:button:edit') }}
|
||||
$t('common:button:edit') }}
|
||||
</el-button>
|
||||
<el-button type="text" size="mini" :disabled="addOrEdit.visible"
|
||||
v-if="readingTaskState < 2 && (scope.row.IsCurrentTaskAdd === 'True' || !question.IsCopyLesions || isBaseline) && !question.IsPreinstall && (question.AddDeleteTypeEnum === 0 || (isBaseline && question.AddDeleteTypeEnum === 1) || (!isBaseline && question.AddDeleteTypeEnum === 2))"
|
||||
|
|
|
|||
Loading…
Reference in New Issue