检查名称问题修复
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 v-for="(study, i) in studyList" :key="study.CodeView">
|
||||||
<div class="study-desc">
|
<div class="study-desc">
|
||||||
<span>{{ study.CodeView }}</span>
|
<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">{{
|
<span v-if="OtherInfo.IsShowStudyName" style="margin-left: 5px">{{
|
||||||
study.StudyName
|
study.StudyName
|
||||||
}}</span>
|
}}</span>
|
||||||
|
<span style="margin: 0 5px">{{ study.Modality }}</span>
|
||||||
|
<span>{{ getBodyPart(study.BodyPart) }}</span>
|
||||||
</div>
|
</div>
|
||||||
<!-- 文件层级 -->
|
<!-- 文件层级 -->
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -110,7 +110,23 @@
|
||||||
prop="StudyName"
|
prop="StudyName"
|
||||||
v-if="relationInfo.IsShowStudyName"
|
v-if="relationInfo.IsShowStudyName"
|
||||||
:label="$t('trials:audit:table:StudyName')"
|
: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
|
<el-table-column
|
||||||
prop="ModalityForEdit"
|
prop="ModalityForEdit"
|
||||||
|
@ -2159,13 +2175,33 @@ export default {
|
||||||
}
|
}
|
||||||
if (auditState === 8) {
|
if (auditState === 8) {
|
||||||
var isgo = true
|
var isgo = true
|
||||||
|
var hasStudyName = true,
|
||||||
|
hasStudyNameList = []
|
||||||
var isgoList = []
|
var isgoList = []
|
||||||
this.studyList.forEach((v) => {
|
this.studyList.forEach((v) => {
|
||||||
if (!v.BodyPartForEdit) {
|
if (!v.BodyPartForEdit) {
|
||||||
isgo = false
|
isgo = false
|
||||||
isgoList.push(v.StudyCode)
|
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) {
|
if (!isgo) {
|
||||||
// `请补充检查${isgoList.toString()}的检查部位!`
|
// `请补充检查${isgoList.toString()}的检查部位!`
|
||||||
this.$confirm(
|
this.$confirm(
|
||||||
|
|
Loading…
Reference in New Issue