检查及加入项目模块点击详情查看影像
parent
82c33f4fce
commit
7524c3b495
|
@ -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();
|
||||
|
|
|
@ -144,7 +144,7 @@ export default {
|
|||
});
|
||||
var newWindow = window.open(routeData.href, "_blank");
|
||||
this.$emit("setOpenWindow", newWindow);
|
||||
},
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue