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