部分问题修复

main
wangxiaoshuang 2024-04-16 13:42:03 +08:00
parent d777ce6501
commit 6279d1db56
2 changed files with 43 additions and 13 deletions

View File

@ -241,29 +241,29 @@
@click="handleReadImage(scope.row)"
/>
<!-- 重阅 -->
<el-button
<!-- <el-button
v-hasPermi="['trials:readTask:reread']"
circle
:title="$t('trials:readTask:button:reread')"
icon="el-icon-collection"
@click="handleReadImage(scope.row)"
/>
@click="openApplyReReading(scope.row)"
/> -->
<!-- 下载报告 -->
<el-button
<!-- <el-button
v-hasPermi="['trials:readTask:report']"
circle
:title="$t('trials:reading:button:uploadReport')"
icon="el-icon-collection"
@click="handleReadImage(scope.row)"
/>
/> -->
<!-- 审核记录 -->
<el-button
<!-- <el-button
v-hasPermi="['trials:readTask:auditRecord']"
circle
:title="$t('trials:auditRecord:table:auditRecords')"
icon="el-icon-collection"
@click="handleReadImage(scope.row)"
/>
/> -->
</template>
</el-table-column>
</el-table>

View File

@ -167,8 +167,11 @@
prop="DoctorUser"
:label="$t('trials:reviewAssign:searchForm:reader')"
show-overflow-tooltip
sortable="custom"
/>
>
<template slot-scope="scope">
<span>{{ scope.row.DoctorUser.UserName }}</span>
</template>
</el-table-column>
<!-- 阅片标准 -->
<el-table-column
prop="TrialReadingCriterionName"
@ -191,9 +194,12 @@
>
<template slot-scope="scope">
<!--阅片结果-->
<el-button type="text" @click="readResult(scope.row)" disabled>{{
$t("trials:auditRecord:table:readingResult")
}}</el-button>
<el-button
type="text"
@click="readResult(scope.row)"
:disabled="scope.row.ReadingTaskState !== 2"
>{{ $t("trials:auditRecord:table:readingResult") }}</el-button
>
<!--下载报告-->
<el-button
type="text"
@ -220,6 +226,7 @@
import BaseContainer from "@/components/BaseContainer";
import Pagination from "@/components/Pagination";
import { getPatientVisitTaskList } from "@/api/readManagenent.js";
import { getToken } from "@/utils/auth";
const defaultSearchData = () => {
return {
SubjectCode: null,
@ -306,7 +313,30 @@ export default {
//
downloadReport() {},
//
readResult() {},
readResult(row) {
if (this.openWindow) {
this.openWindow.close();
}
var token = getToken();
var path;
// if (row.ReadingTool === 0) {
path = `/readingDicoms?TrialReadingCriterionId=${
row.TrialReadingCriterionId
}&trialId=${this.$route.query.trialId}&subjectCode=${
row.SubjectCode
}&subjectId=${row.SubjectId}&visitTaskId=${
row.Id
}&isReadingTaskViewInOrder=${true}&criterionType=${
row.CriterionType
}&readingTool=${row.ReadingTool}&TokenKey=${token}`;
// } else {
// path = `/noneDicomReading?TrialReadingCriterionId=${row.TrialReadingCriterionId}&trialId=${this.trialId}&subjectCode=${row.SubjectCode}&subjectId=${row.SubjectId}&visitTaskId=${row.Id}&isReadingTaskViewInOrder=${row.IsReadingTaskViewInOrder}&criterionType=${row.CriterionType}&readingTool=${row.ReadingTool}&TokenKey=${token}`;
// }
// const routeData = this.$router.resolve({
// path: `/readingPage?subjectId=${row.SubjectId}&trialId=${row.TrialId}&visitTaskId=${row.Id}&TokenKey=${token}`
// })
this.openWindow = window.open(path, "_blank");
},
},
};
</script>