病灶保存更改
continuous-integration/drone/push Build is passing Details

uat
caiyiling 2025-04-17 14:20:00 +08:00
parent 8840ddc77a
commit fc228622e1
2 changed files with 19 additions and 16 deletions

View File

@ -403,10 +403,8 @@ export default {
this.$set(this.innerFormData[`${tableKey}_${answer.RowIndex}`], 'LesionOrgan', val) this.$set(this.innerFormData[`${tableKey}_${answer.RowIndex}`], 'LesionOrgan', val)
} }
} }
if (index === table.TableQuestions.Answers.length - 1) { this.$set(this.innerFormData[`${tableKey}_${answer.RowIndex}`], 'TableId', tableKey)
this.$set(this.innerFormData[`${tableKey}_${answer.RowIndex}`], 'TableId', tableKey) this.$set(this.innerFormData[`${tableKey}_${answer.RowIndex}`], 'RowIndex', answer.RowIndex)
this.$set(this.innerFormData[`${tableKey}_${answer.RowIndex}`], 'RowIndex', answer.RowIndex)
}
}) })
}) })
}) })
@ -881,7 +879,8 @@ export default {
return return
} else if (measureData && measureData.markTool === 'ArrowAnnotate') { } else if (measureData && measureData.markTool === 'ArrowAnnotate') {
const shortId = this.getQuestionId(1, table.TableQuestions.Questions) const shortId = this.getQuestionId(1, table.TableQuestions.Questions)
this.$set(innerForm, shortId, 5) this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], shortId, 5)
this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'LesionShort', 5)
lesionShort = 5 lesionShort = 5
} }
} else { } else {
@ -897,7 +896,8 @@ export default {
return return
} else if (measureData && measureData.markTool === 'ArrowAnnotate') { } else if (measureData && measureData.markTool === 'ArrowAnnotate') {
const lengthId = this.getQuestionId(0, table.TableQuestions.Questions) const lengthId = this.getQuestionId(0, table.TableQuestions.Questions)
this.$set(this.questionForm, lengthId, 5) this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], lengthId, 5)
this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'LesionLength', 5)
lesionLength = 5 lesionLength = 5
} }
} }
@ -958,8 +958,9 @@ export default {
return return
} else if (measureData && measureData.markTool === 'ArrowAnnotate') { } else if (measureData && measureData.markTool === 'ArrowAnnotate') {
const lengthId = this.getQuestionId(0, table.TableQuestions.Questions) const lengthId = this.getQuestionId(0, table.TableQuestions.Questions)
this.$set(innerForm, lengthId, 0) this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], lengthId, null)
lesionLength = 0 this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'LesionLength', null)
lesionLength = null
} }
} }
} }

View File

@ -408,10 +408,8 @@ export default {
this.$set(this.innerFormData[`${tableKey}_${answer.RowIndex}`], 'IntrahepaticLesion', val) this.$set(this.innerFormData[`${tableKey}_${answer.RowIndex}`], 'IntrahepaticLesion', val)
} }
} }
if (index === table.TableQuestions.Answers.length - 1) { this.$set(this.innerFormData[`${tableKey}_${answer.RowIndex}`], 'TableId', tableKey)
this.$set(this.innerFormData[`${tableKey}_${answer.RowIndex}`], 'TableId', tableKey) this.$set(this.innerFormData[`${tableKey}_${answer.RowIndex}`], 'RowIndex', answer.RowIndex)
this.$set(this.innerFormData[`${tableKey}_${answer.RowIndex}`], 'RowIndex', answer.RowIndex)
}
}) })
}) })
}) })
@ -909,7 +907,8 @@ export default {
return return
} else if (measureData && measureData.markTool === 'ArrowAnnotate') { } else if (measureData && measureData.markTool === 'ArrowAnnotate') {
const shortId = this.getQuestionId(1, table.TableQuestions.Questions) const shortId = this.getQuestionId(1, table.TableQuestions.Questions)
this.$set(innerForm, shortId, 5) this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], shortId, 5)
this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'LesionShort', 5)
lesionShort = 5 lesionShort = 5
} }
} else { } else {
@ -925,7 +924,8 @@ export default {
return return
} else if (measureData && measureData.markTool === 'ArrowAnnotate') { } else if (measureData && measureData.markTool === 'ArrowAnnotate') {
const lengthId = this.getQuestionId(0, table.TableQuestions.Questions) const lengthId = this.getQuestionId(0, table.TableQuestions.Questions)
this.$set(this.questionForm, lengthId, 5) this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], lengthId, 5)
this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'LesionLength', 5)
lesionLength = 5 lesionLength = 5
} }
} }
@ -986,8 +986,9 @@ export default {
return return
} else if (measureData && measureData.markTool === 'ArrowAnnotate') { } else if (measureData && measureData.markTool === 'ArrowAnnotate') {
const lengthId = this.getQuestionId(0, table.TableQuestions.Questions) const lengthId = this.getQuestionId(0, table.TableQuestions.Questions)
this.$set(innerForm, lengthId, 0) this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], lengthId, null)
lesionLength = 0 this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'LesionLength', null)
lesionLength = null
} }
} }
} }
@ -1300,6 +1301,7 @@ export default {
} }
loading.close() loading.close()
} catch(e) { } catch(e) {
console.log(e)
loading.close() loading.close()
} }
}, },