列表展示信息优化
parent
fd5cce0ed9
commit
db7498938f
|
@ -81,13 +81,13 @@
|
||||||
@change="(v) => {return isEnableChange(scope.row, v)}"
|
@change="(v) => {return isEnableChange(scope.row, v)}"
|
||||||
:disabled="!hasPermi(['trials:trials-panel:enrolled-reviewers:list:edit'])"
|
:disabled="!hasPermi(['trials:trials-panel:enrolled-reviewers:list:edit'])"
|
||||||
/>
|
/>
|
||||||
<span>{{$fd('IsEnable', scope.row.IsEnable)}}</span>
|
<span> {{$fd('IsEnable', scope.row.IsEnable)}}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-for="ite of TrialReadingCriterionList"
|
v-for="ite of TrialReadingCriterionList"
|
||||||
:key="ite"
|
:key="ite.TrialReadingCriterionName"
|
||||||
:label="ite.TrialReadingCriterionName"
|
:label="ite.TrialReadingCriterionName"
|
||||||
width="360"
|
width="360"
|
||||||
header-align="center"
|
header-align="center"
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-for="item of scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}) ? scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).ReadingCategorys : []" :key="item">
|
<span v-for="item of scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}) ? scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).ReadingCategorys : []" :key="item.TrialReadingCriterionId">
|
||||||
<el-tag v-if="item === 1" type="primary">{{ $fd('ReadingCategory', item) + ' & ' + $fd('ReadingCategory', 2) }}</el-tag>
|
<el-tag v-if="item === 1" type="primary">{{ $fd('ReadingCategory', item) + ' & ' + $fd('ReadingCategory', 2) }}</el-tag>
|
||||||
<!-- <el-tag v-if="item === 2" type="info">{{ $fd('ReadingCategory', item) }}</el-tag>-->
|
<!-- <el-tag v-if="item === 2" type="info">{{ $fd('ReadingCategory', item) }}</el-tag>-->
|
||||||
<el-tag v-if="item === 4" type="danger">{{ $fd('ReadingCategory', item) }}</el-tag>
|
<el-tag v-if="item === 4" type="danger">{{ $fd('ReadingCategory', item) }}</el-tag>
|
||||||
|
@ -127,8 +127,8 @@
|
||||||
@change="(v) => {return isConsistencyChange(scope.row, ite, v, true)}"
|
@change="(v) => {return isConsistencyChange(scope.row, ite, v, true)}"
|
||||||
:disabled="!hasPermi(['trials:trials-panel:enrolled-reviewers:list:edit'])"
|
:disabled="!hasPermi(['trials:trials-panel:enrolled-reviewers:list:edit'])"
|
||||||
/>
|
/>
|
||||||
<span v-if="scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).IsJoinAnalysis">{{$fd('YesOrNo', scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).IsJoinAnalysis)}}</span>
|
<span v-if="scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).IsJoinAnalysis"> {{$fd('YesOrNo', scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).IsJoinAnalysis)}}</span>
|
||||||
<span v-else>{{$fd('YesOrNo',false)}}</span>
|
<span v-else> {{$fd('YesOrNo',false)}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|
|
@ -727,7 +727,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
handleConfirmModality() {
|
handleConfirmModality() {
|
||||||
this.form.ModalityList = Object.assign([], this.selectedList.map(v => v.value))
|
this.form.ModalityList = Object.assign([], this.selectedList.map(v => v.value))
|
||||||
this.form.ModalityListStr = this.form.ModalityList.toString().replaceAll(',', '|')
|
this.form.ModalityListStr = this.form.ModalityList.toString().replaceAll(',', ' | ')
|
||||||
this.modalityListVisible = false
|
this.modalityListVisible = false
|
||||||
},
|
},
|
||||||
handleSelectionChange(val) {
|
handleSelectionChange(val) {
|
||||||
|
@ -781,7 +781,7 @@ export default {
|
||||||
var bodyPartTypes = this.form.BodyPartTypeList.map(i => {
|
var bodyPartTypes = this.form.BodyPartTypeList.map(i => {
|
||||||
return this.$fd('Bodypart', i)
|
return this.$fd('Bodypart', i)
|
||||||
})
|
})
|
||||||
this.form.BodyPartTypes = bodyPartTypes.toString().replaceAll(',', '|')
|
this.form.BodyPartTypes = bodyPartTypes.toString().replaceAll(',', ' | ')
|
||||||
this.bodyPartListVisible = false
|
this.bodyPartListVisible = false
|
||||||
},
|
},
|
||||||
// 配置信息保存
|
// 配置信息保存
|
||||||
|
@ -791,7 +791,7 @@ export default {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
// 保存配置信息
|
// 保存配置信息
|
||||||
var params = Object.assign({}, this.form)
|
var params = Object.assign({}, this.form)
|
||||||
params.BodyPartTypes = this.form.BodyPartTypeList.toString().replaceAll(',', '|')
|
params.BodyPartTypes = this.form.BodyPartTypeList.toString().replaceAll(',', ' | ')
|
||||||
configTrialBasicInfo(params).then(res => {
|
configTrialBasicInfo(params).then(res => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
|
@ -842,7 +842,7 @@ export default {
|
||||||
this.btnLoading = true
|
this.btnLoading = true
|
||||||
// 保存配置信息
|
// 保存配置信息
|
||||||
var params = Object.assign({}, this.form)
|
var params = Object.assign({}, this.form)
|
||||||
params.BodyPartTypes = this.form.BodyPartTypeList.toString().replaceAll(',', '|')
|
params.BodyPartTypes = this.form.BodyPartTypeList.toString().replaceAll(',', ' | ')
|
||||||
configTrialBasicInfo(params).then(res => {
|
configTrialBasicInfo(params).then(res => {
|
||||||
this.btnLoading = false
|
this.btnLoading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
|
@ -865,7 +865,7 @@ export default {
|
||||||
signConfirm(signInfo) {
|
signConfirm(signInfo) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
var obj = Object.assign({}, this.form)
|
var obj = Object.assign({}, this.form)
|
||||||
obj.BodyPartTypes = this.form.BodyPartTypeList.toString().replaceAll(',', '|')
|
obj.BodyPartTypes = this.form.BodyPartTypeList.toString().replaceAll(',', ' | ')
|
||||||
const params = {
|
const params = {
|
||||||
data: obj,
|
data: obj,
|
||||||
signInfo: signInfo
|
signInfo: signInfo
|
||||||
|
@ -978,12 +978,12 @@ export default {
|
||||||
this.form[k] = res[k]
|
this.form[k] = res[k]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.form.ModalityListStr = this.form.ModalityList.toString().replaceAll(',', '|')
|
this.form.ModalityListStr = this.form.ModalityList.toString().replaceAll(',', ' | ')
|
||||||
this.form.BodyPartTypeList = this.form.BodyPartTypes.split('|')
|
this.form.BodyPartTypeList = this.form.BodyPartTypes.split(' | ')
|
||||||
var bodyPartTypes = this.form.BodyPartTypeList.map(i => {
|
var bodyPartTypes = this.form.BodyPartTypeList.map(i => {
|
||||||
return this.$fd('Bodypart', i)
|
return this.$fd('Bodypart', i)
|
||||||
})
|
})
|
||||||
this.form.BodyPartTypes = bodyPartTypes.toString().replaceAll(',', '|')
|
this.form.BodyPartTypes = bodyPartTypes.toString().replaceAll(',', ' | ')
|
||||||
// this.form.ClinicalDataSetNamesStr = this.form.ClinicalDataSetNames.join(', ')
|
// this.form.ClinicalDataSetNamesStr = this.form.ClinicalDataSetNames.join(', ')
|
||||||
this.initialForm = { ...this.form }
|
this.initialForm = { ...this.form }
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
@ -1104,5 +1104,8 @@ export default {
|
||||||
.fontColor{
|
.fontColor{
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
::v-deep .el-table__header-wrapper .el-checkbox {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue