自定义标准问题配置扩充影像标记属性
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
1e300b4529
commit
d77c79acbd
|
@ -727,6 +727,19 @@
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 影像标记 -->
|
||||||
|
<el-form-item
|
||||||
|
v-if="form.Type === 'number' && !isFromSystem"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:imageMarkEnum')"
|
||||||
|
prop="ImageMarkEnum"
|
||||||
|
>
|
||||||
|
<el-radio-group
|
||||||
|
v-model="form.ImageMarkEnum"
|
||||||
|
:disabled="form.IsRequired === 0"
|
||||||
|
>
|
||||||
|
<el-radio v-for="item of $d.ImageMark" :key="item.id" :label="item.value" :disabled="form.IsRequired === 2 && item.value === 1">{{ item.label }}</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
<!-- 最大上传个数 -->
|
<!-- 最大上传个数 -->
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-if="form.Type === 'upload'"
|
v-if="form.Type === 'upload'"
|
||||||
|
@ -1071,7 +1084,8 @@ export default {
|
||||||
ExportResult: [],
|
ExportResult: [],
|
||||||
ClassifyType: null,
|
ClassifyType: null,
|
||||||
ClassifyEditType: null,
|
ClassifyEditType: null,
|
||||||
ClassifyShowType: null
|
ClassifyShowType: null,
|
||||||
|
ImageMarkEnum: 0
|
||||||
// IsEnable: true
|
// IsEnable: true
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
@ -1456,6 +1470,12 @@ export default {
|
||||||
form.RelevanceId = ''
|
form.RelevanceId = ''
|
||||||
form.RelevanceValueList = []
|
form.RelevanceValueList = []
|
||||||
}
|
}
|
||||||
|
if (val === 0 && form.Type === 'number' && !this.isFromSystem) {
|
||||||
|
form.ImageMarkEnum = 1
|
||||||
|
}
|
||||||
|
if (val === 2 && form.Type === 'number' && !this.isFromSystem) {
|
||||||
|
form.ImageMarkEnum = 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
parentQuestionChange(val, form) {
|
parentQuestionChange(val, form) {
|
||||||
console.log(val)
|
console.log(val)
|
||||||
|
@ -1550,6 +1570,7 @@ export default {
|
||||||
form.ExportResult = []
|
form.ExportResult = []
|
||||||
form.ClassifyType = null
|
form.ClassifyType = null
|
||||||
form.ClassifyShowType = null
|
form.ClassifyShowType = null
|
||||||
|
form.ImageMarkEnum = 0
|
||||||
},
|
},
|
||||||
getLesionType() {
|
getLesionType() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
|
|
@ -429,6 +429,22 @@
|
||||||
<i class="el-icon-info" />{{ [1, 2, 3, 4].includes(form.CustomCalculateMark) ? $t('trials:readingUnit:qsList:message:msg1') : $t('trials:readingUnit:qsList:message:msg2') }}
|
<i class="el-icon-info" />{{ [1, 2, 3, 4].includes(form.CustomCalculateMark) ? $t('trials:readingUnit:qsList:message:msg1') : $t('trials:readingUnit:qsList:message:msg2') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 影像标记 -->
|
||||||
|
<el-form-item
|
||||||
|
v-if="form.Type === 'number' && !isFromSystem"
|
||||||
|
:label="$t('trials:readingUnit:qsList:title:imageMarkEnum')"
|
||||||
|
prop="ImageMarkEnum"
|
||||||
|
:rules="[
|
||||||
|
{ required: true, message: this.$t('common:ruleMessage:select')}
|
||||||
|
]"
|
||||||
|
>
|
||||||
|
<el-radio-group
|
||||||
|
v-model="form.ImageMarkEnum"
|
||||||
|
:disabled="form.IsRequired === 0"
|
||||||
|
>
|
||||||
|
<el-radio v-for="item of $d.ImageMark" :key="item.id" :label="item.value" :disabled="form.IsRequired === 2 && item.value === 1">{{ item.label }}</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-if="(form.Type === 'select' || form.Type === 'radio' || form.Type === 'input') && isFromSystem"
|
v-if="(form.Type === 'select' || form.Type === 'radio' || form.Type === 'input') && isFromSystem"
|
||||||
:label="$t('trials:readingUnit:label:QuestionGenre')"
|
:label="$t('trials:readingUnit:label:QuestionGenre')"
|
||||||
|
@ -896,6 +912,7 @@ export default {
|
||||||
ClassifyType: null,
|
ClassifyType: null,
|
||||||
ClassifyEditType: null,
|
ClassifyEditType: null,
|
||||||
ClassifyShowType: null,
|
ClassifyShowType: null,
|
||||||
|
ImageMarkEnum: 0
|
||||||
// IsEnable: true
|
// IsEnable: true
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
@ -1263,6 +1280,12 @@ export default {
|
||||||
form.RelevanceId = ''
|
form.RelevanceId = ''
|
||||||
form.RelevanceValueList = []
|
form.RelevanceValueList = []
|
||||||
}
|
}
|
||||||
|
if (val === 0 && form.Type === 'number' && !this.isFromSystem) {
|
||||||
|
form.ImageMarkEnum = 1
|
||||||
|
}
|
||||||
|
if (val === 2 && form.Type === 'number' && !this.isFromSystem) {
|
||||||
|
form.ImageMarkEnum = 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
async parentQuestionChange(val, form) {
|
async parentQuestionChange(val, form) {
|
||||||
if (val) {
|
if (val) {
|
||||||
|
@ -1372,6 +1395,7 @@ export default {
|
||||||
form.ImageCount = 0
|
form.ImageCount = 0
|
||||||
form.ClassifyType = null
|
form.ClassifyType = null
|
||||||
form.ClassifyShowType = null
|
form.ClassifyShowType = null
|
||||||
|
form.ImageMarkEnum = 0
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
this.$emit('close')
|
this.$emit('close')
|
||||||
|
|
Loading…
Reference in New Issue