pacs上传数据临床数据未上传提示
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
fa2519cba4
commit
3204d1d305
|
@ -579,8 +579,10 @@
|
|||
v-if="uploadActiveName === 'pacs'"
|
||||
ref="dicomPacs"
|
||||
:subjectVisitId="subjectVisitId"
|
||||
:relationInfo="relationInfo"
|
||||
:subjectId="subjectId"
|
||||
@getList="getParentList"
|
||||
@petDataTip="petDataTip"
|
||||
/>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
|
@ -970,8 +972,8 @@ export default {
|
|||
});
|
||||
},
|
||||
// 弹框提示pet-ct临床数据未上传
|
||||
petDataTip() {
|
||||
if (this.confirmFlag) {
|
||||
petDataTip(isPacs = false) {
|
||||
if (this.confirmFlag || isPacs) {
|
||||
this.confirmFlag = false;
|
||||
this.$confirm(
|
||||
this.$t("trials:crc-upload:confirm:message"),
|
||||
|
|
|
@ -257,6 +257,12 @@ export default {
|
|||
type: String,
|
||||
required: true,
|
||||
},
|
||||
relationInfo: {
|
||||
required: true,
|
||||
default: () => {
|
||||
return {};
|
||||
},
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -388,6 +394,20 @@ export default {
|
|||
let res = await submitVisitStudyBinding(data);
|
||||
this.loading = false;
|
||||
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.$emit("getList");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue