Compare commits
No commits in common. "58f223a028f5bc648590e25225003a3a53e37976" and "b12417835564c842401fac148c8044661ecae671" have entirely different histories.
58f223a028
...
b124178355
|
@ -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,28 +132,6 @@
|
||||||
{{ $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"
|
||||||
|
@ -380,11 +358,6 @@ 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,7 +60,20 @@
|
||||||
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="是否显示"
|
||||||
|
@ -81,7 +94,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
|
||||||
|
@ -89,8 +102,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"
|
||||||
|
@ -111,53 +124,8 @@
|
||||||
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
|
||||||
|
@ -166,7 +134,6 @@
|
||||||
{{ 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="最大行数"
|
||||||
|
@ -323,11 +290,6 @@ 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:qsGroupName')"
|
:label="$t('trials:readingUnit:qsList:title:groupName')"
|
||||||
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.TypeValue"
|
v-if="(form.Type === 'select' || form.Type === 'radio' || form.Type === 'number') && 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,14 +527,8 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
<!-- 问题数据来源 -->
|
<!-- 问题数据来源 -->
|
||||||
<el-form-item
|
<el-form-item v-if="form.Type === 'number'" :label="$t('trials:readingUnit:qsList:title:dataSource')"
|
||||||
v-if="form.Type === 'number'"
|
prop="DataSource">
|
||||||
: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"
|
||||||
>
|
>
|
||||||
|
@ -591,9 +585,6 @@
|
||||||
<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"
|
||||||
|
@ -766,9 +757,6 @@
|
||||||
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"
|
||||||
|
@ -779,9 +767,6 @@
|
||||||
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="ShowQuestion"
|
|
||||||
:label="$t('trials:readingUnit:qsList:title:isShow')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ $fd('ShowQuestion',scope.row.ShowQuestion) }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<!-- 是否必填 -->
|
<!-- 是否必填 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="IsRequired"
|
prop="IsRequired"
|
||||||
|
@ -92,6 +82,16 @@
|
||||||
{{ $fd('QuestionRequired',scope.row.IsRequired) }}
|
{{ $fd('QuestionRequired',scope.row.IsRequired) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<!-- 是否显示 -->
|
||||||
|
<el-table-column
|
||||||
|
prop="ShowQuestion"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:isShow')"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ $fd('ShowQuestion',scope.row.ShowQuestion) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<!-- 是否裁判问题 -->
|
<!-- 是否裁判问题 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="IsJudgeQuestion"
|
prop="IsJudgeQuestion"
|
||||||
|
@ -125,17 +125,6 @@
|
||||||
{{ $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"
|
||||||
|
@ -148,12 +137,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')"
|
||||||
|
@ -397,11 +386,6 @@ 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,6 +233,9 @@
|
||||||
: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"
|
||||||
|
@ -246,14 +249,8 @@
|
||||||
<!-- 私有属性 -->
|
<!-- 私有属性 -->
|
||||||
<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
|
<el-form-item v-if="form.Type === 'number'" :label="$t('trials:readingUnit:qsList:title:dataSource')"
|
||||||
v-if="form.Type === 'number'"
|
prop="DataSource">
|
||||||
: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"
|
||||||
>
|
>
|
||||||
|
@ -330,9 +327,6 @@
|
||||||
<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"
|
||||||
|
@ -461,7 +455,7 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-if="(form.Type === 'select' || form.Type === 'radio') && form.TypeValue"
|
v-if="(form.Type === 'select' || form.Type === 'radio' || form.Type === 'number') && 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>
|
||||||
|
@ -474,7 +468,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 && !form.TypeValue"
|
||||||
:label="$t('trials:readingUnit:qsList:title:defaultValue')"
|
:label="$t('trials:readingUnit:qsList:title:defaultValue')"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
@ -593,9 +587,6 @@
|
||||||
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"
|
||||||
|
@ -606,9 +597,6 @@
|
||||||
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="ShowQuestion"
|
|
||||||
:label="$t('trials:readingUnit:qsList:title:isShow')"
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ $fd('ShowQuestion',scope.row.ShowQuestion) }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<!-- 是否必填 -->
|
<!-- 是否必填 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="IsRequired"
|
prop="IsRequired"
|
||||||
|
@ -70,8 +60,18 @@
|
||||||
{{ $fd('QuestionRequired',scope.row.IsRequired) }}
|
{{ $fd('QuestionRequired',scope.row.IsRequired) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<!-- 是否显示 -->
|
||||||
|
<el-table-column
|
||||||
|
prop="ShowQuestion"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:isShow')"
|
||||||
|
show-overflow-tooltip
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ $fd('ShowQuestion',scope.row.ShowQuestion) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<!-- 是否裁判问题 -->
|
<!-- 是否裁判问题 -->
|
||||||
<!-- <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,52 +102,26 @@
|
||||||
<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
|
|
||||||
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
|
<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')"
|
||||||
|
@ -308,11 +282,6 @@ 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