病灶保存bug修复
continuous-integration/drone/push Build is passing Details

uat
caiyiling 2025-04-16 17:10:15 +08:00
parent a0c5c7d304
commit 38c06595aa
1 changed files with 474 additions and 468 deletions

View File

@ -639,6 +639,7 @@ export default {
}
const stateId = this.getQuestionId(7, tableInfo.TableQuestions.Questions)
answer[stateId] = state
answer.LesionState = state
tableInfo.TableQuestions.Answers.push(answer)
if (typeof annotation === 'object') {
answer.MeasureData = annotation
@ -782,6 +783,7 @@ export default {
const valid = await this.$refs[`${table.Id}_${rowIndex}`][0].validate()
if (!valid) return
const loading = this.$loading({ fullscreen: true })
try {
const innerForm = this.innerFormData[`${table.Id}_${rowIndex}`]
const measureData = innerForm.MeasureData
const lesionState = innerForm.LesionState
@ -795,6 +797,7 @@ export default {
// 0
if (lesionType === 0 && lesionState === 0) {
if (lymphNodes === 1) {
console.log('靶病灶且状态为存在')
// 使,15mm
if (!(measureData && measureData.markTool === 'Bidirectional' && lesionShort >= 15)) {
// 使15mm
@ -1294,6 +1297,9 @@ export default {
this.activeName = ''
}
loading.close()
} catch(e) {
loading.close()
}
},
//
async uploadScreenshots(fileName, file) {