未上传临床数据的pet-ct数据添加tip标识
parent
c2dc340a1d
commit
88da86504d
|
@ -60,6 +60,12 @@
|
|||
</div>
|
||||
<span class="el-icon-warning" style="color: #cbb024;cursor: pointer" v-if="scope.row.IsHaveUploadFailed"></span>
|
||||
</el-tooltip>
|
||||
<el-tooltip placement="top" v-if="scope.row.notClinicaData">
|
||||
<div slot="content">
|
||||
{{ $t('trials:crc-upload:confirm:message') }}
|
||||
</div>
|
||||
<span class="el-icon-warning" style="color: red;cursor: pointer"></span>
|
||||
</el-tooltip>
|
||||
{{scope.row.StudyCode}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -310,14 +316,14 @@
|
|||
<div style="max-height: 500px;overflow-y: auto">
|
||||
{{$t('trials:uploadDicomList:table:Existed')}}:
|
||||
<div v-if="scope.row.uploadState.record.Existed.length">
|
||||
<div v-for="item of scope.row.uploadState.record.Existed" style="font-size: 12px;color:#baa72a">{{item}}</div>
|
||||
<div v-for="item of scope.row.uploadState.record.Existed" :key="item" style="font-size: 12px;color:#baa72a">{{item}}</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
|
||||
</div>
|
||||
{{$t('trials:uploadDicomList:table:Uploaded')}}:
|
||||
<div v-if="scope.row.uploadState.record.Uploaded.length">
|
||||
<div v-for="item of scope.row.uploadState.record.Uploaded" style="font-size: 12px;color:#24b837">{{item}}</div>
|
||||
<div v-for="item of scope.row.uploadState.record.Uploaded" :key="item" style="font-size: 12px;color:#24b837">{{item}}</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
|
||||
|
@ -325,7 +331,7 @@
|
|||
<br>
|
||||
{{$t('trials:uploadDicomList:table:Failed')}}:
|
||||
<div v-if="scope.row.uploadState.record.Failed.length">
|
||||
<div v-for="item of scope.row.uploadState.record.Failed" style="font-size: 12px;color:#f66">{{item}}</div>
|
||||
<div v-for="item of scope.row.uploadState.record.Failed" :key="item" style="font-size: 12px;color:#f66">{{item}}</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
|
||||
|
@ -636,7 +642,7 @@ export default {
|
|||
return v
|
||||
},
|
||||
// 获取临床数据
|
||||
getClinicalData() {
|
||||
getClinicalData(showConfirm = false, data = []) {
|
||||
// this.data.TrialId = this.$route.query.trialId
|
||||
var param = {
|
||||
subjectVisitId: this.subjectVisitId,
|
||||
|
@ -648,6 +654,16 @@ export default {
|
|||
if(res.IsSuccess){
|
||||
let flag = res.Result.some(item=>item.ClinicalDataLevel===4&&item.PDFFileList.length===0)
|
||||
if(flag){
|
||||
if(!showConfirm){
|
||||
data.forEach(item =>{
|
||||
item.notClinicaData = false;
|
||||
if(item.Modalities==="CT、PT"||item.Modalities==="PT、CT"||item.Modalities==="PET-CT"){
|
||||
item.notClinicaData = true;
|
||||
}
|
||||
})
|
||||
this.studyList = data;
|
||||
return false;
|
||||
}
|
||||
this.$confirm(this.$t("trials:crc-upload:confirm:message"), this.$t('trials:uploadDicomList:label:prompt'), {
|
||||
confirmButtonText: this.$t('trials:reviewTrack:impactList:save'),
|
||||
cancelButtonText: this.$t("common:button:cancel"),
|
||||
|
@ -656,6 +672,9 @@ export default {
|
|||
this.$emit("update:activeName",'clinical-data');
|
||||
}).catch(() => {
|
||||
});
|
||||
}else{
|
||||
if(showConfirm) return;
|
||||
this.studyList = data;
|
||||
}
|
||||
}
|
||||
// this.clinicalDatas = res.Result
|
||||
|
@ -665,16 +684,17 @@ export default {
|
|||
})
|
||||
},
|
||||
// 获取已上传的dicom影像
|
||||
getStudyInfo(submitFlag=false) {
|
||||
getStudyInfo() {
|
||||
this.studyLoading = true
|
||||
getSubjectVisitUploadedStudyList(this.subjectVisitId).then(res => {
|
||||
this.studyList = res.Result
|
||||
// this.studyList = res.Result
|
||||
this.relationInfo = res.OtherInfo
|
||||
this.trialBodyPartTypes =
|
||||
this.relationInfo.BodyPartTypes ? this.relationInfo.BodyPartTypes.split('|') : []
|
||||
this.trialModalitys =
|
||||
this.relationInfo.Modalitys ? this.relationInfo.Modalitys.split('|') : []
|
||||
this.studyLoading = false;
|
||||
this.getClinicalData(false,res.Result);
|
||||
}).catch(() => { this.studyLoading = false })
|
||||
},
|
||||
// 预览单个检查影像
|
||||
|
@ -1356,8 +1376,9 @@ export default {
|
|||
}
|
||||
scope.uploadQueues[index].uploadState.record = Record
|
||||
let flag = res.Result=== 'PET-CT' || res.Result==='CT、PT' || res.Result === 'PT、CT';
|
||||
// let flag = params.study.seriesList.some(item=>item.modality==='PT');
|
||||
if(flag){
|
||||
scope.getClinicalData();
|
||||
scope.getClinicalData(true);
|
||||
}
|
||||
scope.getStudyInfo()
|
||||
if (scope.$route.path !== '/trials/trials-panel/visit/crc-question') {
|
||||
|
|
Loading…
Reference in New Issue