标准配置更改
parent
28be57dfee
commit
3c3a670ae4
|
@ -115,13 +115,13 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 注释 -->
|
<!-- 注释 -->
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
prop="Remark"
|
prop="Remark"
|
||||||
:label="$t('trials:readingUnit:qsList:title:Remark')"
|
:label="$t('trials:readingUnit:qsList:title:Remark')"
|
||||||
width="140"
|
width="140"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="GlobalReadingShowType"
|
prop="GlobalReadingShowType"
|
||||||
label="是否在全局阅片显示"
|
label="是否在全局阅片显示"
|
||||||
|
@ -132,6 +132,28 @@
|
||||||
{{ $fd('GlobalReadingShowType', scope.row.GlobalReadingShowType) }}
|
{{ $fd('GlobalReadingShowType', scope.row.GlobalReadingShowType) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<!-- 导出标识 -->
|
||||||
|
<!-- <el-table-column
|
||||||
|
prop="ExportIdentification"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:ExportIdentification')"
|
||||||
|
width="160"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ $fd('ExportIdentification', scope.row.ExportIdentification) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column> -->
|
||||||
|
<!-- 导出目标表格 -->
|
||||||
|
<el-table-column
|
||||||
|
prop="ExportResult"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:ExportResult')"
|
||||||
|
width="160"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ getStringResult(scope.row.ExportResult, 'ExportResult') }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<!-- 限制编辑 -->
|
<!-- 限制编辑 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="LimitEdit"
|
prop="LimitEdit"
|
||||||
|
@ -358,6 +380,11 @@ export default {
|
||||||
this.config.title = `${this.$fd('LesionType', row.LesionType)}:${this.$t('trials:readingUnit:qsList:title:tableQs')}`
|
this.config.title = `${this.$fd('LesionType', row.LesionType)}:${this.$t('trials:readingUnit:qsList:title:tableQs')}`
|
||||||
this.config.visible = true
|
this.config.visible = true
|
||||||
},
|
},
|
||||||
|
getStringResult(arr, dictionaryCode) {
|
||||||
|
let newArr = arr.map(i => this.$fd(dictionaryCode, i))
|
||||||
|
let delimiter = this.$i18n.locale === 'zh' ? ',' : ', '
|
||||||
|
return newArr.join(delimiter)
|
||||||
|
},
|
||||||
// 查询
|
// 查询
|
||||||
handleSearch() {
|
handleSearch() {
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|
|
@ -27,12 +27,12 @@
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="QuestionName"
|
prop="QuestionName"
|
||||||
label="名称"
|
label="问题名称"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="QuestionEnName"
|
prop="QuestionEnName"
|
||||||
label="名称(EN)"
|
label="问题名称(EN)"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
{{ $fd('Criterion_Question_Type',scope.row.Type) }}
|
{{ $fd('Criterion_Question_Type',scope.row.Type) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
prop="TableQuestionType"
|
prop="TableQuestionType"
|
||||||
label="选项类型"
|
label="选项类型"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
|
@ -60,20 +60,7 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
min-width="110"
|
min-width="110"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
-->
|
||||||
prop="DependShowOrder"
|
|
||||||
label="关联问题"
|
|
||||||
show-overflow-tooltip
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
prop="DataTableColumn"
|
|
||||||
label="关联字段"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ $fd('OrganColumn',scope.row.DataTableColumn) }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="ShowQuestion"
|
prop="ShowQuestion"
|
||||||
label="是否显示"
|
label="是否显示"
|
||||||
|
@ -94,7 +81,7 @@
|
||||||
{{ $fd('QuestionRequired',scope.row.IsRequired) }}
|
{{ $fd('QuestionRequired',scope.row.IsRequired) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
prop="IsJudgeQuestion"
|
prop="IsJudgeQuestion"
|
||||||
label="是否裁判问题"
|
label="是否裁判问题"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
|
@ -102,8 +89,8 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ $fd('YesOrNo',scope.row.IsJudgeQuestion) }}
|
{{ $fd('YesOrNo',scope.row.IsJudgeQuestion) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
prop="ParentQuestionShowOrder"
|
prop="ParentQuestionShowOrder"
|
||||||
label="显示依赖父问题"
|
label="显示依赖父问题"
|
||||||
min-width="90"
|
min-width="90"
|
||||||
|
@ -124,8 +111,53 @@
|
||||||
prop="RelevanceValue"
|
prop="RelevanceValue"
|
||||||
label="必填触发值"
|
label="必填触发值"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
|
/> -->
|
||||||
|
<!-- 导出标识 -->
|
||||||
|
<!-- <el-table-column
|
||||||
|
prop="ExportIdentification"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:ExportIdentification')"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ $fd('ExportIdentification', scope.row.ExportIdentification) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column> -->
|
||||||
|
<!-- 导出目标表格 -->
|
||||||
|
<el-table-column
|
||||||
|
prop="ExportResult"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:ExportResult')"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ getStringResult(scope.row.ExportResult, 'ExportResult') }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- 限制编辑 -->
|
||||||
|
<el-table-column
|
||||||
|
prop="LimitEdit"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:limitEdit')"
|
||||||
|
width="160"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ $fd('LimitEdit', scope.row.LimitEdit) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- <el-table-column
|
||||||
|
prop="DependShowOrder"
|
||||||
|
label="关联问题"
|
||||||
|
show-overflow-tooltip
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
prop="DataTableColumn"
|
||||||
|
label="关联字段"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ $fd('OrganColumn',scope.row.DataTableColumn) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column> -->
|
||||||
|
<!-- <el-table-column
|
||||||
prop="ImageCount"
|
prop="ImageCount"
|
||||||
label="最大上传个数"
|
label="最大上传个数"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
|
@ -134,6 +166,7 @@
|
||||||
{{ scope.row.Type === 'upload'?scope.row.ImageCount:'' }}
|
{{ scope.row.Type === 'upload'?scope.row.ImageCount:'' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
-->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="MaxRowCount"
|
prop="MaxRowCount"
|
||||||
label="最大行数"
|
label="最大行数"
|
||||||
|
@ -290,6 +323,11 @@ export default {
|
||||||
}).catch(() => { this.loading = false })
|
}).catch(() => { this.loading = false })
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
getStringResult(arr, dictionaryCode) {
|
||||||
|
let newArr = arr.map(i => this.$fd(dictionaryCode, i))
|
||||||
|
let delimiter = this.$i18n.locale === 'zh' ? ',' : ', '
|
||||||
|
return newArr.join(delimiter)
|
||||||
|
},
|
||||||
// 查询
|
// 查询
|
||||||
handleSearch() {
|
handleSearch() {
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
<!-- 分组 -->
|
<!-- 分组 -->
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-if="form.Type !== 'group'"
|
v-if="form.Type !== 'group'"
|
||||||
:label="$t('trials:readingUnit:qsList:title:groupName')"
|
:label="$t('trials:readingUnit:qsList:title:qsGroupName')"
|
||||||
prop="GroupId"
|
prop="GroupId"
|
||||||
:rules="[
|
:rules="[
|
||||||
{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }
|
{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }
|
||||||
|
@ -440,7 +440,7 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-if="(form.Type === 'select' || form.Type === 'radio' || form.Type === 'number') && form.TypeValue"
|
v-if="(form.Type === 'select' || form.Type === 'radio') && form.TypeValue"
|
||||||
:label="$t('trials:readingUnit:qsList:title:defaultValue')"
|
:label="$t('trials:readingUnit:qsList:title:defaultValue')"
|
||||||
>
|
>
|
||||||
<el-select v-model="form.DefaultValue" clearable>
|
<el-select v-model="form.DefaultValue" clearable>
|
||||||
|
@ -452,7 +452,7 @@
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item
|
<el-form-item
|
||||||
v-if="(form.Type === 'number') && !isFromSystem"
|
v-if="(form.Type === 'number') && !isFromSystem"
|
||||||
:label="$t('trials:readingUnit:qsList:title:defaultValue')"
|
:label="$t('trials:readingUnit:qsList:title:defaultValue')"
|
||||||
>
|
>
|
||||||
|
@ -460,7 +460,7 @@
|
||||||
:disabled="form.DataSource === 1"
|
:disabled="form.DataSource === 1"
|
||||||
v-model="form.DefaultValue"
|
v-model="form.DefaultValue"
|
||||||
/>
|
/>
|
||||||
</el-form-item> -->
|
</el-form-item>
|
||||||
<!-- 高亮标记值 -->
|
<!-- 高亮标记值 -->
|
||||||
<el-form-item v-if="(form.Type === 'select' || form.Type === 'radio')" :label="$t('trials:readingUnit:qsList:title:highlightAnswers')" prop="HighlightAnswerList">
|
<el-form-item v-if="(form.Type === 'select' || form.Type === 'radio')" :label="$t('trials:readingUnit:qsList:title:highlightAnswers')" prop="HighlightAnswerList">
|
||||||
<el-select v-model="form.HighlightAnswerList" clearable multiple>
|
<el-select v-model="form.HighlightAnswerList" clearable multiple>
|
||||||
|
@ -527,8 +527,14 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
<!-- 问题数据来源 -->
|
<!-- 问题数据来源 -->
|
||||||
<el-form-item v-if="form.Type === 'number'" :label="$t('trials:readingUnit:qsList:title:dataSource')"
|
<el-form-item
|
||||||
prop="DataSource">
|
v-if="form.Type === 'number'"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:dataSource')"
|
||||||
|
prop="DataSource"
|
||||||
|
:rules="[
|
||||||
|
{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }
|
||||||
|
]"
|
||||||
|
>
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="form.DataSource"
|
v-model="form.DataSource"
|
||||||
>
|
>
|
||||||
|
@ -585,6 +591,9 @@
|
||||||
<el-form-item
|
<el-form-item
|
||||||
:label="$t('trials:readingUnit:qsList:title:customCalculateMark')"
|
:label="$t('trials:readingUnit:qsList:title:customCalculateMark')"
|
||||||
prop="CustomCalculateMark"
|
prop="CustomCalculateMark"
|
||||||
|
:rules="[
|
||||||
|
{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }
|
||||||
|
]"
|
||||||
>
|
>
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="form.CustomCalculateMark"
|
v-model="form.CustomCalculateMark"
|
||||||
|
@ -757,6 +766,9 @@
|
||||||
v-if="form.Type === 'class'"
|
v-if="form.Type === 'class'"
|
||||||
:label="$t('trials:readingUnit:label:ClassifyQuestion')"
|
:label="$t('trials:readingUnit:label:ClassifyQuestion')"
|
||||||
prop="ClassifyQuestionId"
|
prop="ClassifyQuestionId"
|
||||||
|
:rules="[
|
||||||
|
{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }
|
||||||
|
]"
|
||||||
>
|
>
|
||||||
<el-select v-model="form.ClassifyQuestionId" clearable>
|
<el-select v-model="form.ClassifyQuestionId" clearable>
|
||||||
<el-option v-for="item of Questions" :key="item.QuestionId" :label="item.QuestionName"
|
<el-option v-for="item of Questions" :key="item.QuestionId" :label="item.QuestionName"
|
||||||
|
@ -767,6 +779,9 @@
|
||||||
v-if="form.Type === 'class'"
|
v-if="form.Type === 'class'"
|
||||||
:label="$t('trials:readingUnit:label:ClassifyAlgorithms')"
|
:label="$t('trials:readingUnit:label:ClassifyAlgorithms')"
|
||||||
prop="ClassifyAlgorithms"
|
prop="ClassifyAlgorithms"
|
||||||
|
:rules="[
|
||||||
|
{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }
|
||||||
|
]"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<el-table
|
<el-table
|
||||||
|
|
|
@ -72,16 +72,6 @@
|
||||||
{{ $fd('Criterion_Question_Type',scope.row.Type) }}
|
{{ $fd('Criterion_Question_Type',scope.row.Type) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 是否必填 -->
|
|
||||||
<el-table-column
|
|
||||||
prop="IsRequired"
|
|
||||||
:label="$t('trials:readingUnit:qsList:title:isRequired')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ $fd('QuestionRequired',scope.row.IsRequired) }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<!-- 是否显示 -->
|
<!-- 是否显示 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="ShowQuestion"
|
prop="ShowQuestion"
|
||||||
|
@ -92,6 +82,16 @@
|
||||||
{{ $fd('ShowQuestion',scope.row.ShowQuestion) }}
|
{{ $fd('ShowQuestion',scope.row.ShowQuestion) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<!-- 是否必填 -->
|
||||||
|
<el-table-column
|
||||||
|
prop="IsRequired"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:isRequired')"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ $fd('QuestionRequired',scope.row.IsRequired) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<!-- 是否裁判问题 -->
|
<!-- 是否裁判问题 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="IsJudgeQuestion"
|
prop="IsJudgeQuestion"
|
||||||
|
@ -125,6 +125,17 @@
|
||||||
{{ $fd('GlobalReadingShowType', scope.row.GlobalReadingShowType) }}
|
{{ $fd('GlobalReadingShowType', scope.row.GlobalReadingShowType) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<!-- 导出目标表格 -->
|
||||||
|
<el-table-column
|
||||||
|
prop="ExportResult"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:ExportResult')"
|
||||||
|
width="160"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ getStringResult(scope.row.ExportResult, 'ExportResult') }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<!-- 限制编辑 -->
|
<!-- 限制编辑 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="LimitEdit"
|
prop="LimitEdit"
|
||||||
|
@ -137,12 +148,12 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 注释 -->
|
<!-- 注释 -->
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
prop="Remark"
|
prop="Remark"
|
||||||
:label="$t('trials:readingUnit:qsList:title:Remark')"
|
:label="$t('trials:readingUnit:qsList:title:Remark')"
|
||||||
width="140"
|
width="140"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
/>
|
/> -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop=""
|
prop=""
|
||||||
:label="$t('common:action:action')"
|
:label="$t('common:action:action')"
|
||||||
|
@ -386,6 +397,11 @@ export default {
|
||||||
this.config.title = `${this.language === 'en' && row.QuestionEnName ? row.QuestionEnName : row.QuestionName}:${this.$t('trials:readingUnit:qsList:title:tableQs')}`// 表格问题
|
this.config.title = `${this.language === 'en' && row.QuestionEnName ? row.QuestionEnName : row.QuestionName}:${this.$t('trials:readingUnit:qsList:title:tableQs')}`// 表格问题
|
||||||
this.config.visible = true
|
this.config.visible = true
|
||||||
},
|
},
|
||||||
|
getStringResult(arr, dictionaryCode) {
|
||||||
|
let newArr = arr.map(i => this.$fd(dictionaryCode, i))
|
||||||
|
let delimiter = this.$i18n.locale === 'zh' ? ',' : ', '
|
||||||
|
return newArr.join(delimiter)
|
||||||
|
},
|
||||||
// 查询
|
// 查询
|
||||||
handleSearch() {
|
handleSearch() {
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|
|
@ -233,9 +233,6 @@
|
||||||
:label="$t('trials:readingUnit:qsList:title:MaxRowCount')"
|
:label="$t('trials:readingUnit:qsList:title:MaxRowCount')"
|
||||||
v-if="form.Type !== 'summary' && form.Type !== 'screenshot' && form.Type !== 'upload'"
|
v-if="form.Type !== 'summary' && form.Type !== 'screenshot' && form.Type !== 'upload'"
|
||||||
prop="MaxRowCount"
|
prop="MaxRowCount"
|
||||||
:rules="[
|
|
||||||
{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' }
|
|
||||||
]"
|
|
||||||
>
|
>
|
||||||
<el-input-number
|
<el-input-number
|
||||||
v-model="form.MaxRowCount"
|
v-model="form.MaxRowCount"
|
||||||
|
@ -249,8 +246,14 @@
|
||||||
<!-- 私有属性 -->
|
<!-- 私有属性 -->
|
||||||
<el-divider content-position="left">{{$t('trials:readingUnit:title:privateProperties')}}</el-divider>
|
<el-divider content-position="left">{{$t('trials:readingUnit:title:privateProperties')}}</el-divider>
|
||||||
<!-- 问题数据来源 -->
|
<!-- 问题数据来源 -->
|
||||||
<el-form-item v-if="form.Type === 'number'" :label="$t('trials:readingUnit:qsList:title:dataSource')"
|
<el-form-item
|
||||||
prop="DataSource">
|
v-if="form.Type === 'number'"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:dataSource')"
|
||||||
|
prop="DataSource"
|
||||||
|
:rules="[
|
||||||
|
{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }
|
||||||
|
]"
|
||||||
|
>
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="form.DataSource"
|
v-model="form.DataSource"
|
||||||
>
|
>
|
||||||
|
@ -327,6 +330,9 @@
|
||||||
<el-form-item
|
<el-form-item
|
||||||
:label="$t('trials:readingUnit:qsList:title:customCalculateMark')"
|
:label="$t('trials:readingUnit:qsList:title:customCalculateMark')"
|
||||||
prop="CustomCalculateMark"
|
prop="CustomCalculateMark"
|
||||||
|
:rules="[
|
||||||
|
{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }
|
||||||
|
]"
|
||||||
>
|
>
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="form.CustomCalculateMark"
|
v-model="form.CustomCalculateMark"
|
||||||
|
@ -455,7 +461,7 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-if="(form.Type === 'select' || form.Type === 'radio' || form.Type === 'number') && form.TypeValue"
|
v-if="(form.Type === 'select' || form.Type === 'radio') && form.TypeValue"
|
||||||
:label="$t('trials:readingUnit:qsList:title:defaultValue')"
|
:label="$t('trials:readingUnit:qsList:title:defaultValue')"
|
||||||
>
|
>
|
||||||
<el-select v-model="form.DefaultValue" clearable>
|
<el-select v-model="form.DefaultValue" clearable>
|
||||||
|
@ -468,7 +474,7 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-if="(form.Type === 'number') && !isFromSystem && !form.TypeValue"
|
v-if="form.Type === 'number' && !isFromSystem"
|
||||||
:label="$t('trials:readingUnit:qsList:title:defaultValue')"
|
:label="$t('trials:readingUnit:qsList:title:defaultValue')"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
@ -587,6 +593,9 @@
|
||||||
v-if="form.Type === 'class'"
|
v-if="form.Type === 'class'"
|
||||||
:label="$t('trials:readingUnit:label:ClassifyQuestion')"
|
:label="$t('trials:readingUnit:label:ClassifyQuestion')"
|
||||||
prop="ClassifyTableQuestionId"
|
prop="ClassifyTableQuestionId"
|
||||||
|
:rules="[
|
||||||
|
{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }
|
||||||
|
]"
|
||||||
>
|
>
|
||||||
<el-select v-model="form.ClassifyTableQuestionId" clearable>
|
<el-select v-model="form.ClassifyTableQuestionId" clearable>
|
||||||
<el-option v-for="item of Questions" :key="item.QuestionId" :label="item.QuestionName"
|
<el-option v-for="item of Questions" :key="item.QuestionId" :label="item.QuestionName"
|
||||||
|
@ -597,6 +606,9 @@
|
||||||
v-if="form.Type === 'class'"
|
v-if="form.Type === 'class'"
|
||||||
:label="$t('trials:readingUnit:label:ClassifyAlgorithms')"
|
:label="$t('trials:readingUnit:label:ClassifyAlgorithms')"
|
||||||
prop="ClassifyAlgorithms"
|
prop="ClassifyAlgorithms"
|
||||||
|
:rules="[
|
||||||
|
{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }
|
||||||
|
]"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<el-table
|
<el-table
|
||||||
|
|
|
@ -50,16 +50,6 @@
|
||||||
{{ $fd('Criterion_Question_Type',scope.row.Type) }}
|
{{ $fd('Criterion_Question_Type',scope.row.Type) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 是否必填 -->
|
|
||||||
<el-table-column
|
|
||||||
prop="IsRequired"
|
|
||||||
:label="$t('trials:readingUnit:qsList:title:isRequired')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ $fd('QuestionRequired',scope.row.IsRequired) }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<!-- 是否显示 -->
|
<!-- 是否显示 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="ShowQuestion"
|
prop="ShowQuestion"
|
||||||
|
@ -70,8 +60,18 @@
|
||||||
{{ $fd('ShowQuestion',scope.row.ShowQuestion) }}
|
{{ $fd('ShowQuestion',scope.row.ShowQuestion) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 是否裁判问题 -->
|
<!-- 是否必填 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
prop="IsRequired"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:isRequired')"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ $fd('QuestionRequired',scope.row.IsRequired) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- 是否裁判问题 -->
|
||||||
|
<!-- <el-table-column
|
||||||
prop="IsJudgeQuestion"
|
prop="IsJudgeQuestion"
|
||||||
:label="$t('trials:readingUnit:qsList:title:isJudgeQuestion')"
|
:label="$t('trials:readingUnit:qsList:title:isJudgeQuestion')"
|
||||||
width="120"
|
width="120"
|
||||||
|
@ -80,9 +80,9 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ $fd('YesOrNo', scope.row.IsJudgeQuestion) }}
|
{{ $fd('YesOrNo', scope.row.IsJudgeQuestion) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<!-- 是否在阅片页面显示 -->
|
<!-- 是否在阅片页面显示 -->
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
prop="IsShowInDicom"
|
prop="IsShowInDicom"
|
||||||
:label="$t('trials:readingUnit:qsList:title:isShowInDicom')"
|
:label="$t('trials:readingUnit:qsList:title:isShowInDicom')"
|
||||||
width="140"
|
width="140"
|
||||||
|
@ -91,9 +91,9 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ $fd('YesOrNo', scope.row.IsShowInDicom) }}
|
{{ $fd('YesOrNo', scope.row.IsShowInDicom) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<!-- 是否在全局阅片显示 -->
|
<!-- 是否在全局阅片显示 -->
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
prop="GlobalReadingShowType"
|
prop="GlobalReadingShowType"
|
||||||
:label="$t('trials:readingUnit:qsList:title:globalReadingShowType')"
|
:label="$t('trials:readingUnit:qsList:title:globalReadingShowType')"
|
||||||
width="160"
|
width="160"
|
||||||
|
@ -102,26 +102,52 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ $fd('GlobalReadingShowType', scope.row.GlobalReadingShowType) }}
|
{{ $fd('GlobalReadingShowType', scope.row.GlobalReadingShowType) }}
|
||||||
</template>
|
</template>
|
||||||
|
</el-table-column> -->
|
||||||
|
<!-- 导出目标表格 -->
|
||||||
|
<el-table-column
|
||||||
|
prop="ExportResult"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:ExportResult')"
|
||||||
|
width="160"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ getStringResult(scope.row.ExportResult, 'ExportResult') }}
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 限制编辑 -->
|
<!-- 限制编辑 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="LimitEdit"
|
prop="LimitEdit"
|
||||||
:label="$t('trials:readingUnit:qsList:title:limitEdit')"
|
:label="$t('trials:readingUnit:qsList:title:limitEdit')"
|
||||||
width="160"
|
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ $fd('LimitEdit', scope.row.LimitEdit) }}
|
{{ $fd('LimitEdit', scope.row.LimitEdit) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 注释 -->
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
prop="IsCopy"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:PrecopyValue')"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ $fd('YesOrNo', scope.row.IsCopy) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- 最大行数 -->
|
||||||
|
<el-table-column
|
||||||
|
prop="MaxRowCount"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:MaxRowCount')"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- 注释 -->
|
||||||
|
<!-- <el-table-column
|
||||||
prop="Remark"
|
prop="Remark"
|
||||||
:label="$t('trials:readingUnit:qsList:title:Remark')"
|
:label="$t('trials:readingUnit:qsList:title:Remark')"
|
||||||
width="140"
|
width="140"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop=""
|
prop=""
|
||||||
:label="$t('common:action:action')"
|
:label="$t('common:action:action')"
|
||||||
|
@ -282,6 +308,11 @@ export default {
|
||||||
}).catch(() => { this.loading = false })
|
}).catch(() => { this.loading = false })
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
getStringResult(arr, dictionaryCode) {
|
||||||
|
let newArr = arr.map(i => this.$fd(dictionaryCode, i))
|
||||||
|
let delimiter = this.$i18n.locale === 'zh' ? ',' : ', '
|
||||||
|
return newArr.join(delimiter)
|
||||||
|
},
|
||||||
// 查询
|
// 查询
|
||||||
handleSearch() {
|
handleSearch() {
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|
Loading…
Reference in New Issue