检查及加入项目模块点击详情查看影像

main
caiyiling 2024-04-16 11:04:19 +08:00
parent 82c33f4fce
commit 7524c3b495
4 changed files with 33 additions and 5 deletions

View File

@ -149,7 +149,6 @@
type="text"
@click.stop="detail(scope.row)"
class="detail"
disabled
>{{ $t("trials:trials-list:action:panel") }}</el-button
>
</template>
@ -169,6 +168,7 @@
<script>
import Pagination from "@/components/Pagination";
import visitSelect from "@/components/visitSelect";
import { getToken } from "@/utils/auth";
import {
getVisitPatientStudyList,
getSubjectVisitSelectList,
@ -362,7 +362,14 @@ export default {
this.getList();
},
//
detail() {},
detail(row) {
var token = getToken();
const routeData = this.$router.resolve({
path: `/showdicom?studyId=${row.SCPStudyId}&TokenKey=${token}&type=Patient`,
});
var newWindow = window.open(routeData.href, "_blank");
this.$emit("setOpenWindow", newWindow);
},
//
async confirm() {
let fd = await this.formatData();

View File

@ -144,7 +144,7 @@ export default {
});
var newWindow = window.open(routeData.href, "_blank");
this.$emit("setOpenWindow", newWindow);
},
}
},
};
</script>

View File

@ -226,6 +226,7 @@ import {
getPatientOtherStudyList,
updateSubjectVisitStudyBinding,
} from "@/api/trials/visit.js";
import { getToken } from "@/utils/auth";
const defaultSearchData = () => {
return {
EarliestStudyTime: null,
@ -362,7 +363,14 @@ export default {
//
submit() {},
//
detail(item, key) {},
detail(item, key) {
var token = getToken();
const routeData = this.$router.resolve({
path: `/showdicom?studyId=${item.SCPStudyId}&TokenKey=${token}&type=Patient`,
});
var newWindow = window.open(routeData.href, "_blank");
this.$emit("setOpenWindow", newWindow);
},
//
remove(item) {
this.setRelation(item, false);

View File

@ -281,7 +281,6 @@
type="text"
@click="handleViewStudy(scope.row)"
v-hasPermi="['trials:trials-panel:study:view']"
disabled
>{{ $t("trials:studyList:button:view") }}</el-button
>
<!-- 修改访视 -->
@ -321,6 +320,7 @@
import BaseContainer from "@/components/BaseContainer";
import Pagination from "@/components/Pagination";
import editVisit from "./edit-visit";
import { getToken } from "@/utils/auth";
import {
getPatientStudyBeforeConfirmList,
getTrialPatientStudyList,
@ -432,6 +432,19 @@ export default {
console.log(err);
}
},
//
handleViewStudy(row) {
let type ='Study'
if (this.activeName === 'notSubmit') {
type = 'Patient'
}
var token = getToken();
const routeData = this.$router.resolve({
path: `/showdicom?studyId=${row.StudyId}&TokenKey=${token}&type=${type}`,
});
var newWindow = window.open(routeData.href, "_blank");
this.$emit("setOpenWindow", newWindow);
},
//
handleSearch() {
this.searchData.PageIndex = 1;