pacs上传数据临床数据未上传提示
continuous-integration/drone/push Build is passing Details

uat_us
DESKTOP-6C3NK6N\WXS 2024-08-22 16:44:17 +08:00
parent fa2519cba4
commit 3204d1d305
2 changed files with 24 additions and 2 deletions

View File

@ -579,8 +579,10 @@
v-if="uploadActiveName === 'pacs'" v-if="uploadActiveName === 'pacs'"
ref="dicomPacs" ref="dicomPacs"
:subjectVisitId="subjectVisitId" :subjectVisitId="subjectVisitId"
:relationInfo="relationInfo"
:subjectId="subjectId" :subjectId="subjectId"
@getList="getParentList" @getList="getParentList"
@petDataTip="petDataTip"
/> />
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
@ -970,8 +972,8 @@ export default {
}); });
}, },
// pet-ct // pet-ct
petDataTip() { petDataTip(isPacs = false) {
if (this.confirmFlag) { if (this.confirmFlag || isPacs) {
this.confirmFlag = false; this.confirmFlag = false;
this.$confirm( this.$confirm(
this.$t("trials:crc-upload:confirm:message"), this.$t("trials:crc-upload:confirm:message"),

View File

@ -257,6 +257,12 @@ export default {
type: String, type: String,
required: true, required: true,
}, },
relationInfo: {
required: true,
default: () => {
return {};
},
},
}, },
data() { data() {
return { return {
@ -388,6 +394,20 @@ export default {
let res = await submitVisitStudyBinding(data); let res = await submitVisitStudyBinding(data);
this.loading = false; this.loading = false;
if (res.IsSuccess) { if (res.IsSuccess) {
let arr = [...ScpStudyIdList, ...ReUploadSCPStudyIdList];
let tableSelectData = this.list.filter((item) =>
arr.includes(item.SCPStudyId)
);
let flag = tableSelectData.some((item) => {
return (
item.Modalities === "PET-CT" ||
item.Modalities === "CT、PT" ||
item.Modalities === "PT、CT"
);
});
if (flag && this.relationInfo.IsHaveStudyClinicalData) {
this.$emit("petDataTip", true);
}
this.getList(); this.getList();
this.$emit("getList"); this.$emit("getList");
} }