肿瘤学阅片,基线设置默认值,随访结论与阅片结果不一致提示原因必填
parent
14a397b70b
commit
799c25ecc9
|
@ -93,7 +93,7 @@
|
||||||
<span>{{ $fd('YesOrNo', scope.row.IsHaveChange ) }}</span>
|
<span>{{ $fd('YesOrNo', scope.row.IsHaveChange ) }}</span>
|
||||||
<!-- 查看详情 -->
|
<!-- 查看详情 -->
|
||||||
<el-button
|
<el-button
|
||||||
v-if="scope.row.IsHaveChange && !!oncologyInfo.GlobalTaskId"
|
v-if="scope.row.IsHaveChange && oncologyInfo.GlobalTaskId"
|
||||||
type="text"
|
type="text"
|
||||||
style="margin-left:5px;"
|
style="margin-left:5px;"
|
||||||
@click="handleViewDetail(oncologyInfo.GlobalTaskId)"
|
@click="handleViewDetail(oncologyInfo.GlobalTaskId)"
|
||||||
|
@ -125,10 +125,10 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
width="150"
|
width="150"
|
||||||
>
|
>
|
||||||
<template slot="header" slot-scope="scope">
|
<template slot="header">
|
||||||
<div>
|
<div>
|
||||||
<span>{{ $t('trials:oncologyReview:title:findings') }}</span>
|
<span>{{ $t('trials:oncologyReview:title:findings') }}</span>
|
||||||
<span style="color:red">*</span>
|
<span style="color:red">*</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
@ -139,6 +139,7 @@
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in assessTypeList"
|
v-for="item in assessTypeList"
|
||||||
|
v-show="item.Code !== '-1'"
|
||||||
:key="item.Id"
|
:key="item.Id"
|
||||||
:label="item.Value"
|
:label="item.Value"
|
||||||
:value="item.Code"
|
:value="item.Code"
|
||||||
|
@ -362,11 +363,12 @@ export default {
|
||||||
},
|
},
|
||||||
handleSave(isPrompt) {
|
handleSave(isPrompt) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
var index = this.oncologyInfo.OncologyVisits.findIndex(item => !item.EvaluationResult && !item.IsBaseLine)
|
// var index = this.oncologyInfo.OncologyVisits.findIndex(item => !item.EvaluationResult && !item.IsBaseLine)
|
||||||
if (index > -1) {
|
var isDiffer = this.checkDifferResult()
|
||||||
|
if (isDiffer) {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
// '肿瘤学阅片结论不能为空!'
|
// '肿瘤学阅片结论不能为空!' this.$t('trials:oncologyReview:message:msg1'
|
||||||
this.$confirm(this.$t('trials:oncologyReview:message:msg1'), {
|
this.$confirm('肿瘤学阅片结果与影像学整体肿瘤评估不一致,请填写原因!', {
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
distinguishCancelAndClose: true
|
distinguishCancelAndClose: true
|
||||||
})
|
})
|
||||||
|
@ -394,7 +396,7 @@ export default {
|
||||||
oncologyTaskId: this.visitTaskId,
|
oncologyTaskId: this.visitTaskId,
|
||||||
oncologyQuestionList: oncologyQuestionList,
|
oncologyQuestionList: oncologyQuestionList,
|
||||||
globalTaskId: this.oncologyInfo.GlobalTaskId,
|
globalTaskId: this.oncologyInfo.GlobalTaskId,
|
||||||
relatedTaskId:this.oncologyInfo.RelatedTaskId
|
relatedTaskId: this.oncologyInfo.RelatedTaskId
|
||||||
}
|
}
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
setOncologyReadingInfo(params).then(res => {
|
setOncologyReadingInfo(params).then(res => {
|
||||||
|
@ -411,6 +413,25 @@ export default {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
checkDifferResult() {
|
||||||
|
var isDiffer = false
|
||||||
|
var criterionType = parseInt(this.$route.query.criterionType)
|
||||||
|
if (criterionType === 2) {
|
||||||
|
for (let i = 0; i < this.oncologyInfo.OncologyVisits.length; i++) {
|
||||||
|
if (this.oncologyInfo.OncologyVisits[i].IsBaseLine) continue
|
||||||
|
var tumorAssessment = ''
|
||||||
|
var idx = this.oncologyInfo.OncologyVisits[i].QuestionList.findIndex(v => v.DictionaryCode === 'ImagingOverallAssessment_Lugano')
|
||||||
|
if (idx > -1) {
|
||||||
|
tumorAssessment = this.oncologyInfo.OncologyVisits[i].QuestionList[idx].Answer
|
||||||
|
if (tumorAssessment !== this.oncologyInfo.OncologyVisits[i].EvaluationResult) {
|
||||||
|
isDiffer = true
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return isDiffer
|
||||||
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.$refs['adForm'].validate((valid) => {
|
this.$refs['adForm'].validate((valid) => {
|
||||||
if (!valid) return
|
if (!valid) return
|
||||||
|
|
Loading…
Reference in New Issue