检查及加入项目模块点击详情查看影像
parent
82c33f4fce
commit
7524c3b495
|
@ -149,7 +149,6 @@
|
||||||
type="text"
|
type="text"
|
||||||
@click.stop="detail(scope.row)"
|
@click.stop="detail(scope.row)"
|
||||||
class="detail"
|
class="detail"
|
||||||
disabled
|
|
||||||
>{{ $t("trials:trials-list:action:panel") }}</el-button
|
>{{ $t("trials:trials-list:action:panel") }}</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
@ -169,6 +168,7 @@
|
||||||
<script>
|
<script>
|
||||||
import Pagination from "@/components/Pagination";
|
import Pagination from "@/components/Pagination";
|
||||||
import visitSelect from "@/components/visitSelect";
|
import visitSelect from "@/components/visitSelect";
|
||||||
|
import { getToken } from "@/utils/auth";
|
||||||
import {
|
import {
|
||||||
getVisitPatientStudyList,
|
getVisitPatientStudyList,
|
||||||
getSubjectVisitSelectList,
|
getSubjectVisitSelectList,
|
||||||
|
@ -362,7 +362,14 @@ export default {
|
||||||
this.getList();
|
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() {
|
async confirm() {
|
||||||
let fd = await this.formatData();
|
let fd = await this.formatData();
|
||||||
|
|
|
@ -144,7 +144,7 @@ export default {
|
||||||
});
|
});
|
||||||
var newWindow = window.open(routeData.href, "_blank");
|
var newWindow = window.open(routeData.href, "_blank");
|
||||||
this.$emit("setOpenWindow", newWindow);
|
this.$emit("setOpenWindow", newWindow);
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -226,6 +226,7 @@ import {
|
||||||
getPatientOtherStudyList,
|
getPatientOtherStudyList,
|
||||||
updateSubjectVisitStudyBinding,
|
updateSubjectVisitStudyBinding,
|
||||||
} from "@/api/trials/visit.js";
|
} from "@/api/trials/visit.js";
|
||||||
|
import { getToken } from "@/utils/auth";
|
||||||
const defaultSearchData = () => {
|
const defaultSearchData = () => {
|
||||||
return {
|
return {
|
||||||
EarliestStudyTime: null,
|
EarliestStudyTime: null,
|
||||||
|
@ -362,7 +363,14 @@ export default {
|
||||||
// 确认
|
// 确认
|
||||||
submit() {},
|
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) {
|
remove(item) {
|
||||||
this.setRelation(item, false);
|
this.setRelation(item, false);
|
||||||
|
|
|
@ -281,7 +281,6 @@
|
||||||
type="text"
|
type="text"
|
||||||
@click="handleViewStudy(scope.row)"
|
@click="handleViewStudy(scope.row)"
|
||||||
v-hasPermi="['trials:trials-panel:study:view']"
|
v-hasPermi="['trials:trials-panel:study:view']"
|
||||||
disabled
|
|
||||||
>{{ $t("trials:studyList:button:view") }}</el-button
|
>{{ $t("trials:studyList:button:view") }}</el-button
|
||||||
>
|
>
|
||||||
<!-- 修改访视 -->
|
<!-- 修改访视 -->
|
||||||
|
@ -321,6 +320,7 @@
|
||||||
import BaseContainer from "@/components/BaseContainer";
|
import BaseContainer from "@/components/BaseContainer";
|
||||||
import Pagination from "@/components/Pagination";
|
import Pagination from "@/components/Pagination";
|
||||||
import editVisit from "./edit-visit";
|
import editVisit from "./edit-visit";
|
||||||
|
import { getToken } from "@/utils/auth";
|
||||||
import {
|
import {
|
||||||
getPatientStudyBeforeConfirmList,
|
getPatientStudyBeforeConfirmList,
|
||||||
getTrialPatientStudyList,
|
getTrialPatientStudyList,
|
||||||
|
@ -432,6 +432,19 @@ export default {
|
||||||
console.log(err);
|
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() {
|
handleSearch() {
|
||||||
this.searchData.PageIndex = 1;
|
this.searchData.PageIndex = 1;
|
||||||
|
|
Loading…
Reference in New Issue