病灶保存bug修复
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
a0c5c7d304
commit
38c06595aa
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue