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'"
|
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"),
|
||||||
|
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue