Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
447b74fa55
|
|
@ -505,15 +505,23 @@ export default {
|
|||
var idx = item.Childrens.findIndex(i => i.QuestionMark === 8)
|
||||
var idxLoc = item.Childrens.findIndex(i => i.QuestionMark === 10)
|
||||
var state = item.Childrens.findIndex(i => i.QuestionMark === 7)
|
||||
if (this.CriterionType === 22) {
|
||||
idx = item.Childrens.findIndex(i => i.QuestionMark === 1106)
|
||||
}
|
||||
if (idx > -1) {
|
||||
if (item.Childrens[idx].Answer.length > 0) {
|
||||
var k = item.Childrens[idx].Answer.findIndex(v => v.Answer !== '')
|
||||
var part = ''
|
||||
if (obj.IsCanEditPosition) {
|
||||
part = `${item.Childrens[idx].Answer[k].Answer}--${item.Childrens[idxLoc].Answer[k].Answer}`
|
||||
if (this.CriterionType === 22) {
|
||||
part = item.Childrens[idx].Answer[k].Answer ? this.$fd('Liver4Segmentation', parseInt(item.Childrens[idx].Answer[k].Answer)) : ''
|
||||
} else {
|
||||
part = `${item.Childrens[idx].Answer[k].Answer}`
|
||||
if (obj.IsCanEditPosition) {
|
||||
part = `${item.Childrens[idx].Answer[k].Answer}--${item.Childrens[idxLoc].Answer[k].Answer}`
|
||||
} else {
|
||||
part = `${item.Childrens[idx].Answer[k].Answer}`
|
||||
}
|
||||
}
|
||||
|
||||
if (item.SplitOrMergeLesionName && k > -1) {
|
||||
// obj.QuestionName = `${obj.QuestionName} --${part} (Split from ${item.SplitOrMergeLesionName})`
|
||||
obj.QuestionName = `${obj.QuestionName} --${part}`
|
||||
|
|
@ -531,6 +539,7 @@ export default {
|
|||
this.$set(obj, 'Answers', Answers)
|
||||
// obj.QuestionName = `${obj.QuestionName} `
|
||||
} else if (!item.SplitOrMergeLesionName && k > -1) {
|
||||
console.log(part)
|
||||
obj.QuestionName = `${obj.QuestionName}--${part}`
|
||||
const Answers = {}
|
||||
if (state >= 0) {
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@
|
|||
</el-form-item>
|
||||
<!-- 是否复制阅片表单 -->
|
||||
<el-form-item :label="$t('trials:readTask:title:IsCopyLesionAnswer')"
|
||||
v-if="ApplyforReasonForm.IsCopyOrigenalForms && isTumor && rowData.ReadingCategory === 1" prop="IsCopyFollowForms" :rules="[
|
||||
v-if="ApplyforReasonForm.IsCopyOrigenalForms && rowData.ReadingCategory === 1" prop="IsCopyFollowForms" :rules="[
|
||||
{ required: true, message: $t('common:ruleMessage:select') },
|
||||
]">
|
||||
<el-radio-group v-model="ApplyforReasonForm.IsCopyFollowForms">
|
||||
|
|
@ -482,9 +482,9 @@ export default {
|
|||
if (!valid) return
|
||||
this.loading = true
|
||||
this.btnLoading = true
|
||||
if (!this.ApplyforReasonForm.IsCopyOrigenalForms || !this.isTumor) {
|
||||
this.ApplyforReasonForm.IsCopyFollowForms = false
|
||||
}
|
||||
// if (!this.ApplyforReasonForm.IsCopyOrigenalForms || !this.isTumor) {
|
||||
// this.ApplyforReasonForm.IsCopyFollowForms = false
|
||||
// }
|
||||
var params = {
|
||||
TaskIdList: [
|
||||
this.rowData.Id
|
||||
|
|
|
|||
Loading…
Reference in New Issue