病灶保存状态提示
parent
a86c4bdd0e
commit
d18d61ee01
|
@ -572,36 +572,44 @@ export default {
|
||||||
}
|
}
|
||||||
FusionEvent.$emit('addOrUpdateAnnotations', { data })
|
FusionEvent.$emit('addOrUpdateAnnotations', { data })
|
||||||
}
|
}
|
||||||
if (!isInit) {
|
// if (!isInit) {
|
||||||
// if (this.questionForm.RowId) {
|
// // if (this.questionForm.RowId) {
|
||||||
// this.$set(this.questionForm, 'saveTypeEnum', 1)
|
// // this.$set(this.questionForm, 'saveTypeEnum', 1)
|
||||||
// } else {
|
// // } else {
|
||||||
// this.$set(this.questionForm, 'saveTypeEnum', 0)
|
// // this.$set(this.questionForm, 'saveTypeEnum', 0)
|
||||||
// }
|
// // }
|
||||||
// saveTypeEnum 0:未保存过(新建病灶);1:已保存,信息不完整(随访初始化病灶/分裂病灶,通过状态判断)
|
// // saveTypeEnum 0:未保存过(新建病灶);1:已保存,信息不完整(随访初始化病灶/分裂病灶,通过状态判断)
|
||||||
if (this.questionForm.OtherMeasureData) {
|
// if (this.questionForm.OtherMeasureData) {
|
||||||
var annotation = Object.assign({}, this.questionForm.OtherMeasureData)
|
// var annotation = Object.assign({}, this.questionForm.OtherMeasureData)
|
||||||
|
|
||||||
if (annotation && this.firstRenderAnnotation) {
|
// if (annotation && this.firstRenderAnnotation) {
|
||||||
for (const k in annotation.data.cachedStats) {
|
// for (const k in annotation.data.cachedStats) {
|
||||||
if (annotation.data.cachedStats[k].pointsInShape.length !== 0) {
|
// if (annotation.data.cachedStats[k].pointsInShape.length !== 0) {
|
||||||
this.firstRenderAnnotation = false
|
// this.firstRenderAnnotation = false
|
||||||
break
|
// break
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
// } else {
|
||||||
|
// this.firstRenderAnnotation = false
|
||||||
|
// }
|
||||||
|
// if (!this.firstRenderAnnotation) {
|
||||||
|
// if (this.questionForm.RowId) {
|
||||||
|
// this.$set(this.questionForm, 'saveTypeEnum', 1)
|
||||||
|
// } else {
|
||||||
|
// this.$set(this.questionForm, 'saveTypeEnum', 0)
|
||||||
|
// }
|
||||||
|
// } else {
|
||||||
|
// this.$set(this.questionForm, 'saveTypeEnum', 2)
|
||||||
|
// this.$emit('close')
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
if (!isInit) {
|
||||||
|
// saveTypeEnum 0:未保存过(新建病灶);1:已保存,信息不完整(随访初始化病灶/分裂病灶,通过状态判断)
|
||||||
|
if (this.questionForm.RowId) {
|
||||||
|
this.$set(this.questionForm, 'saveTypeEnum', 1)
|
||||||
} else {
|
} else {
|
||||||
this.firstRenderAnnotation = false
|
this.$set(this.questionForm, 'saveTypeEnum', 0)
|
||||||
}
|
|
||||||
if (!this.firstRenderAnnotation) {
|
|
||||||
if (this.questionForm.RowId) {
|
|
||||||
this.$set(this.questionForm, 'saveTypeEnum', 1)
|
|
||||||
} else {
|
|
||||||
this.$set(this.questionForm, 'saveTypeEnum', 0)
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
this.$set(this.questionForm, 'saveTypeEnum', 2)
|
|
||||||
this.$emit('close')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.$set(this.questionForm, 'OtherMeasureData', measureData.data)
|
this.$set(this.questionForm, 'OtherMeasureData', measureData.data)
|
||||||
|
|
Loading…
Reference in New Issue