检查名称问题修复
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
35bff089b7
commit
8bfaf7241a
|
@ -9,11 +9,11 @@
|
|||
<div v-for="(study, i) in studyList" :key="study.CodeView">
|
||||
<div class="study-desc">
|
||||
<span>{{ study.CodeView }}</span>
|
||||
<span style="margin: 0 5px">{{ study.Modality }}</span>
|
||||
<span>{{ getBodyPart(study.BodyPart) }}</span>
|
||||
<span v-if="OtherInfo.IsShowStudyName" style="margin-left: 5px">{{
|
||||
study.StudyName
|
||||
}}</span>
|
||||
<span style="margin: 0 5px">{{ study.Modality }}</span>
|
||||
<span>{{ getBodyPart(study.BodyPart) }}</span>
|
||||
</div>
|
||||
<!-- 文件层级 -->
|
||||
<div
|
||||
|
|
|
@ -110,7 +110,23 @@
|
|||
prop="StudyName"
|
||||
v-if="relationInfo.IsShowStudyName"
|
||||
:label="$t('trials:audit:table:StudyName')"
|
||||
/>
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-tooltip
|
||||
class="item"
|
||||
effect="dark"
|
||||
:content="$t('trials:audit:message:noStudyName')"
|
||||
placement="bottom"
|
||||
v-if="!scope.row.StudyName"
|
||||
>
|
||||
<i
|
||||
class="el-icon-warning"
|
||||
style="color: #f44336; font-size: 16px"
|
||||
/>
|
||||
</el-tooltip>
|
||||
<span v-else>{{ scope.row.StudyName }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 检查类型 -->
|
||||
<el-table-column
|
||||
prop="ModalityForEdit"
|
||||
|
@ -2159,13 +2175,33 @@ export default {
|
|||
}
|
||||
if (auditState === 8) {
|
||||
var isgo = true
|
||||
var hasStudyName = true,
|
||||
hasStudyNameList = []
|
||||
var isgoList = []
|
||||
this.studyList.forEach((v) => {
|
||||
if (!v.BodyPartForEdit) {
|
||||
isgo = false
|
||||
isgoList.push(v.StudyCode)
|
||||
}
|
||||
if (this.relationInfo.IsShowStudyName && !v.StudyName) {
|
||||
hasStudyName = false
|
||||
hasStudyNameList.push(v.StudyCode)
|
||||
}
|
||||
})
|
||||
if (!hasStudyName) {
|
||||
// `请补充检查${isgoList.toString()}的检查名称!`
|
||||
this.$confirm(
|
||||
this.$t('trials:qcQuality:title:noStudyName').replace(
|
||||
'xxx',
|
||||
hasStudyNameList.join('、 ')
|
||||
),
|
||||
'',
|
||||
{
|
||||
showCancelButton: false,
|
||||
}
|
||||
)
|
||||
return
|
||||
}
|
||||
if (!isgo) {
|
||||
// `请补充检查${isgoList.toString()}的检查部位!`
|
||||
this.$confirm(
|
||||
|
|
Loading…
Reference in New Issue