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