1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
aeef8eaacf
commit
c7df59e564
|
@ -145,6 +145,7 @@
|
|||
:model="innerFormData[`${table.Id}_${answer.RowIndex}`]"
|
||||
>
|
||||
<table-question-form-item
|
||||
:ref="`form_${table.Id}_${answer.RowIndex}`"
|
||||
:table-info="table"
|
||||
:answer="answer"
|
||||
:question-form="innerFormData[`${table.Id}_${answer.RowIndex}`]"
|
||||
|
@ -624,6 +625,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
|
||||
|
@ -710,6 +712,7 @@ export default {
|
|||
this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'MeasureData', null)
|
||||
// 重置保存标志
|
||||
this.$set(this.innerFormData[`${table.Id}_${rowIndex}`], 'SaveTypeEnum', innerForm.RowId ? 1 : 0)
|
||||
this.$refs[`form_${table.Id}_${rowIndex}`][0].getOrganList()
|
||||
},
|
||||
// 删除病灶
|
||||
async deleteLesion(table, rowIndex) {
|
||||
|
@ -792,7 +795,7 @@ export default {
|
|||
}
|
||||
} else {
|
||||
// 非淋巴结靶病灶 直径测量工具 长径须大于等于10mm且不小于2倍层厚
|
||||
if (!(measureData && measureData.markTool === 'Length' && lesionLength >= 10 && (measureData.thick && lesionLength >= 2 * measureData.thick || !measureData.thick))) {
|
||||
if (!(measureData && measureData.markTool === 'Length' && lesionLength >= 10 && (measureData.sliceThickness && lesionLength >= 2 * measureData.sliceThickness || !measureData.sliceThickness))) {
|
||||
// 评估状态为存在的非淋巴结靶病灶需使用直径测量工具添加标记,长径须大于10mm且不小于2倍层厚!
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg20'), {
|
||||
type: 'warning',
|
||||
|
@ -809,7 +812,7 @@ export default {
|
|||
if (lesionType === 1 && lesionState === 0) {
|
||||
if (lymphNodes === 1) {
|
||||
// 淋巴结非靶病灶 必须使用长短径测量工具或箭头工具
|
||||
if (!(measureData && (measureData.markTool === 'Bidirectional' || measureData.markTool === 'RectangleRoi'))) {
|
||||
if (!(measureData && (measureData.markTool === 'Bidirectional' || measureData.markTool === 'RectangleROI'))) {
|
||||
// 评估状态为存在的淋巴结非靶病灶需使用长短径测量工具或矩形工具添加标记
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg21'), {
|
||||
type: 'warning',
|
||||
|
@ -821,7 +824,7 @@ export default {
|
|||
}
|
||||
} else {
|
||||
// 非淋巴结非靶病灶 直径测量工具或箭头工具
|
||||
if (!(measureData && (measureData.markTool === 'Length' || measureData.markTool === 'RectangleRoi'))) {
|
||||
if (!(measureData && (measureData.markTool === 'Length' || measureData.markTool === 'RectangleROI'))) {
|
||||
// 评估状态为存在的非淋巴结非靶病灶需使用直径测量工具或矩形工具添加标记!
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg22'), {
|
||||
type: 'warning',
|
||||
|
@ -965,7 +968,7 @@ export default {
|
|||
if (lesionType === 1 && lesionState === 0) {
|
||||
if (lymphNodes === 1) {
|
||||
// 淋巴结非靶病灶 必须使用长短径测量工具、箭头工具
|
||||
if (!(measureData && (measureData.markTool === 'Bidirectional' || measureData.markTool === 'RectangleRoi'))) {
|
||||
if (!(measureData && (measureData.markTool === 'Bidirectional' || measureData.markTool === 'RectangleROI'))) {
|
||||
// 评估状态为存在的淋巴结非靶病灶需使用长短径测量工具或箭头工具添加标记!
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg31'), {
|
||||
type: 'warning',
|
||||
|
@ -977,7 +980,7 @@ export default {
|
|||
}
|
||||
} else {
|
||||
// 非淋巴结非靶病灶 直径测量工具、箭头工具
|
||||
if (!(measureData && (measureData.markTool === 'Length' || measureData.markTool === 'RectangleRoi'))) {
|
||||
if (!(measureData && (measureData.markTool === 'Length' || measureData.markTool === 'RectangleROI'))) {
|
||||
// 评估状态为存在的非淋巴结非靶病灶需使用直径测量工具或箭头工具添加标记!
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg32'), {
|
||||
type: 'warning',
|
||||
|
@ -994,7 +997,7 @@ export default {
|
|||
if (lesionType === 1 && lesionState === 1) {
|
||||
if (lymphNodes === 1) {
|
||||
// 淋巴结靶病灶 必须使用长短径测量工具、箭头工具
|
||||
if (!(measureData && (measureData.markTool === 'Bidirectional' || measureData.markTool === 'RectangleRoi'))) {
|
||||
if (!(measureData && (measureData.markTool === 'Bidirectional' || measureData.markTool === 'RectangleROI'))) {
|
||||
// `评估状态为显著增大的淋巴结非靶病灶需使用长短径测量工具或矩形工具添加标记!`
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg33'), {
|
||||
type: 'warning',
|
||||
|
@ -1006,7 +1009,7 @@ export default {
|
|||
}
|
||||
} else {
|
||||
// 非淋巴结非靶病灶 直径测量工具、箭头工具
|
||||
if (!(measureData && (measureData.markTool === 'Length' || measureData.markTool === 'RectangleRoi'))) {
|
||||
if (!(measureData && (measureData.markTool === 'Length' || measureData.markTool === 'RectangleROI'))) {
|
||||
// 评估状态为显著增大的非淋巴结非靶病灶需使用直径测量工具或矩形工具添加标记!
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg34'), {
|
||||
type: 'warning',
|
||||
|
@ -1653,9 +1656,9 @@ export default {
|
|||
if (this.activeName) {
|
||||
return this.checkToolCanActive(toolName)
|
||||
} else {
|
||||
if (this.isBaseLineTask && (toolName === 'Bidirectional' || toolName === 'Length' || toolName === 'RectangleRoi')) {
|
||||
if (this.isBaseLineTask && (toolName === 'Bidirectional' || toolName === 'Length' || toolName === 'RectangleROI')) {
|
||||
return { isCanActiveTool: true, reason: '' }
|
||||
} else if (!this.isBaseLineTask && (toolName === 'ArrowAnnotate' || toolName === 'Bidirectional' || toolName === 'Length' || toolName === 'RectangleRoi')) {
|
||||
} else if (!this.isBaseLineTask && (toolName === 'ArrowAnnotate' || toolName === 'Bidirectional' || toolName === 'Length' || toolName === 'RectangleROI')) {
|
||||
return { isCanActiveTool: true, reason: '' }
|
||||
} else if (this.isBaseLineTask && toolName === 'ArrowAnnotate') {
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg54') }
|
||||
|
@ -1678,10 +1681,10 @@ export default {
|
|||
} else if (innerForm.LesionType === 0 && isLymphNodes === 0 && toolName !== 'Length') {
|
||||
// '非淋巴结靶病灶需使用直径测量工具'
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg7') }
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 1 && toolName !== 'Bidirectional' && toolName !== 'RectangleRoi') {
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 1 && toolName !== 'Bidirectional' && toolName !== 'RectangleROI') {
|
||||
// '淋巴结非靶病灶需使用长短径测量工具或矩形工具'
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg8') }
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 0 && toolName !== 'Length' && toolName !== 'RectangleRoi') {
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 0 && toolName !== 'Length' && toolName !== 'RectangleROI') {
|
||||
// '非淋巴结非靶病灶需使用直径测量工具或矩形工具'
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg9') }
|
||||
} else if (toolName === 'ArrowAnnotate') {
|
||||
|
@ -1696,10 +1699,10 @@ export default {
|
|||
} else if (innerForm.LesionType === 0 && isLymphNodes === 0 && toolName !== 'Length' && toolName !== 'ArrowAnnotate') {
|
||||
// 非淋巴结靶病灶需使用直径测量工具或箭头工具
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg11') }
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 1 && toolName !== 'Bidirectional' && toolName !== 'ArrowAnnotate' && toolName !== 'RectangleRoi') {
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 1 && toolName !== 'Bidirectional' && toolName !== 'ArrowAnnotate' && toolName !== 'RectangleROI') {
|
||||
// 淋巴结非靶病灶需使用长短径测量工具或矩形工具或矩形工具或箭头工具
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg52') }
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 0 && toolName !== 'Length' && toolName !== 'ArrowAnnotate' && toolName !== 'RectangleRoi') {
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 0 && toolName !== 'Length' && toolName !== 'ArrowAnnotate' && toolName !== 'RectangleROI') {
|
||||
// 非淋巴结非靶病灶需使用直径测量工具或矩形工具或矩形工具或箭头工具
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg53') }
|
||||
} else if (innerForm.LesionType === 2 && isLymphNodes === 1 && toolName !== 'Bidirectional' && toolName !== 'ArrowAnnotate') {
|
||||
|
|
|
@ -839,7 +839,7 @@ export default {
|
|||
if (lesionType === 1 && lesionState === 0) {
|
||||
if (lymphNodes === 1) {
|
||||
// 淋巴结非靶病灶 必须使用长短径测量工具或箭头工具
|
||||
if (!(measureData && (measureData.markTool === 'Bidirectional' || measureData.markTool === 'RectangleRoi'))) {
|
||||
if (!(measureData && (measureData.markTool === 'Bidirectional' || measureData.markTool === 'RectangleRo'))) {
|
||||
// 评估状态为存在的淋巴结非靶病灶需使用长短径测量工具或矩形工具添加标记
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg21'), {
|
||||
type: 'warning',
|
||||
|
@ -851,7 +851,7 @@ export default {
|
|||
}
|
||||
} else {
|
||||
// 非淋巴结非靶病灶 直径测量工具或箭头工具
|
||||
if (!(measureData && (measureData.markTool === 'Length' || measureData.markTool === 'RectangleRoi'))) {
|
||||
if (!(measureData && (measureData.markTool === 'Length' || measureData.markTool === 'RectangleROI'))) {
|
||||
// 评估状态为存在的非淋巴结非靶病灶需使用直径测量工具或矩形工具添加标记!
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg22'), {
|
||||
type: 'warning',
|
||||
|
@ -995,7 +995,7 @@ export default {
|
|||
if (lesionType === 1 && lesionState === 0) {
|
||||
if (lymphNodes === 1) {
|
||||
// 淋巴结非靶病灶 必须使用长短径测量工具、箭头工具
|
||||
if (!(measureData && (measureData.markTool === 'Bidirectional' || measureData.markTool === 'RectangleRoi'))) {
|
||||
if (!(measureData && (measureData.markTool === 'Bidirectional' || measureData.markTool === 'RectangleROI'))) {
|
||||
// 评估状态为存在的淋巴结非靶病灶需使用长短径测量工具或箭头工具添加标记!
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg31'), {
|
||||
type: 'warning',
|
||||
|
@ -1007,7 +1007,7 @@ export default {
|
|||
}
|
||||
} else {
|
||||
// 非淋巴结非靶病灶 直径测量工具、箭头工具
|
||||
if (!(measureData && (measureData.markTool === 'Length' || measureData.markTool === 'RectangleRoi'))) {
|
||||
if (!(measureData && (measureData.markTool === 'Length' || measureData.markTool === 'RectangleROI'))) {
|
||||
// 评估状态为存在的非淋巴结非靶病灶需使用直径测量工具或箭头工具添加标记!
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg32'), {
|
||||
type: 'warning',
|
||||
|
@ -1024,7 +1024,7 @@ export default {
|
|||
if (lesionType === 1 && lesionState === 1) {
|
||||
if (lymphNodes === 1) {
|
||||
// 淋巴结靶病灶 必须使用长短径测量工具、箭头工具
|
||||
if (!(measureData && (measureData.markTool === 'Bidirectional' || measureData.markTool === 'RectangleRoi'))) {
|
||||
if (!(measureData && (measureData.markTool === 'Bidirectional' || measureData.markTool === 'RectangleROI'))) {
|
||||
// `评估状态为显著增大的淋巴结非靶病灶需使用长短径测量工具或矩形工具添加标记!`
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg33'), {
|
||||
type: 'warning',
|
||||
|
@ -1036,7 +1036,7 @@ export default {
|
|||
}
|
||||
} else {
|
||||
// 非淋巴结非靶病灶 直径测量工具、箭头工具
|
||||
if (!(measureData && (measureData.markTool === 'Length' || measureData.markTool === 'RectangleRoi'))) {
|
||||
if (!(measureData && (measureData.markTool === 'Length' || measureData.markTool === 'RectangleROI'))) {
|
||||
// 评估状态为显著增大的非淋巴结非靶病灶需使用直径测量工具或矩形工具添加标记!
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg34'), {
|
||||
type: 'warning',
|
||||
|
@ -1742,9 +1742,9 @@ export default {
|
|||
if (this.activeName) {
|
||||
return this.checkToolCanActive(toolName)
|
||||
} else {
|
||||
if (this.isBaseLineTask && (toolName === 'Bidirectional' || toolName === 'Length' || toolName === 'RectangleRoi')) {
|
||||
if (this.isBaseLineTask && (toolName === 'Bidirectional' || toolName === 'Length' || toolName === 'RectangleROI')) {
|
||||
return { isCanActiveTool: true, reason: '' }
|
||||
} else if (!this.isBaseLineTask && (toolName === 'ArrowAnnotate' || toolName === 'Bidirectional' || toolName === 'Length' || toolName === 'RectangleRoi')) {
|
||||
} else if (!this.isBaseLineTask && (toolName === 'ArrowAnnotate' || toolName === 'Bidirectional' || toolName === 'Length' || toolName === 'RectangleROI')) {
|
||||
return { isCanActiveTool: true, reason: '' }
|
||||
} else if (this.isBaseLineTask && toolName === 'ArrowAnnotate') {
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg54') }
|
||||
|
@ -1767,10 +1767,10 @@ export default {
|
|||
} else if (innerForm.LesionType === 0 && isLymphNodes === 0 && toolName !== 'Length') {
|
||||
// '非淋巴结靶病灶需使用直径测量工具'
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg7') }
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 1 && toolName !== 'Bidirectional' && toolName !== 'RectangleRoi') {
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 1 && toolName !== 'Bidirectional' && toolName !== 'RectangleROI') {
|
||||
// '淋巴结非靶病灶需使用长短径测量工具或矩形工具'
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg8') }
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 0 && toolName !== 'Length' && toolName !== 'RectangleRoi') {
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 0 && toolName !== 'Length' && toolName !== 'RectangleROI') {
|
||||
// '非淋巴结非靶病灶需使用直径测量工具或矩形工具'
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg9') }
|
||||
} else if (toolName === 'ArrowAnnotate') {
|
||||
|
@ -1785,10 +1785,10 @@ export default {
|
|||
} else if (innerForm.LesionType === 0 && isLymphNodes === 0 && toolName !== 'Length' && toolName !== 'ArrowAnnotate') {
|
||||
// 非淋巴结靶病灶需使用直径测量工具或箭头工具
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg11') }
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 1 && toolName !== 'Bidirectional' && toolName !== 'ArrowAnnotate' && toolName !== 'RectangleRoi') {
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 1 && toolName !== 'Bidirectional' && toolName !== 'ArrowAnnotate' && toolName !== 'RectangleROI') {
|
||||
// 淋巴结非靶病灶需使用长短径测量工具或矩形工具或矩形工具或箭头工具
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg52') }
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 0 && toolName !== 'Length' && toolName !== 'ArrowAnnotate' && toolName !== 'RectangleRoi') {
|
||||
} else if (innerForm.LesionType === 1 && isLymphNodes === 0 && toolName !== 'Length' && toolName !== 'ArrowAnnotate' && toolName !== 'RectangleROI') {
|
||||
// 非淋巴结非靶病灶需使用直径测量工具或矩形工具或矩形工具或箭头工具
|
||||
return { isCanActiveTool: false, reason: this.$t('trials:reading:warnning:msg53') }
|
||||
} else if (innerForm.LesionType === 2 && isLymphNodes === 1 && toolName !== 'Bidirectional' && toolName !== 'ArrowAnnotate') {
|
||||
|
|
Loading…
Reference in New Issue