Skip to content

Commit 5409fa3

Browse files
authored
Update uploadFile.vue
1 parent 2252807 commit 5409fa3

File tree

1 file changed

+1
-45
lines changed

1 file changed

+1
-45
lines changed

uploadFile.vue

+1-45
Original file line numberDiff line numberDiff line change
@@ -131,51 +131,7 @@
131131
setTimeout(() => {
132132
this.isAnimaLoading = true;
133133
if (res.isSuccess) {
134-
this.$store.commit("picture/saveDicomAnalyzedData", res.data);
135-
if (this.patientTableId) {
136-
if (res.data.containOtherData) {
137-
this.$confirm(`您导入的核磁影像包含其他患者影像`, this.$t("common.tips"), {
138-
confirmButtonText: "仅保留当前患者影像",
139-
cancelButtonText: "保留所有患者影像",
140-
type: "warning",
141-
showClose: false,
142-
closeOnClickModal: false
143-
}).then(() => {
144-
this.dcmSaveOther("0");
145-
if (this.type == "01") {
146-
this.$router.replace({"name": "patientAddView", "params": {"type": "success"}});
147-
} else {
148-
this.$router.go(-1);
149-
}
150-
151-
}).catch(() => {
152-
this.dcmSaveOther("1");
153-
if (this.type == "01") {
154-
this.$router.replace({"name": "patientAddView", "params": {"type": "success"}});
155-
} else {
156-
if (!res.data.successList || !res.data.successList.length) {
157-
this.$message({
158-
message: "当前患者无新影像导入",
159-
type: "success"
160-
});
161-
}
162-
163-
this.$router.replace({"name": "patientInquire"});
164-
}
165-
166-
});
167-
168-
} else {
169-
if (this.type == "01") {
170-
this.$router.replace({"name": "patientAddView", "params": {"type": "success"}});
171-
} else {
172-
this.$router.go(-1);
173-
}
174-
175-
}
176-
} else {
177-
this.$router.push({path: "/picture/success"})
178-
}
134+
// 上传成功
179135
} else {
180136
this.errImage();
181137
}

0 commit comments

Comments
 (0)