部分问题修复

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

View File

@ -167,8 +167,11 @@
prop="DoctorUser" prop="DoctorUser"
:label="$t('trials:reviewAssign:searchForm:reader')" :label="$t('trials:reviewAssign:searchForm:reader')"
show-overflow-tooltip show-overflow-tooltip
sortable="custom" >
/> <template slot-scope="scope">
<span>{{ scope.row.DoctorUser.UserName }}</span>
</template>
</el-table-column>
<!-- 阅片标准 --> <!-- 阅片标准 -->
<el-table-column <el-table-column
prop="TrialReadingCriterionName" prop="TrialReadingCriterionName"
@ -191,9 +194,12 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<!--阅片结果--> <!--阅片结果-->
<el-button type="text" @click="readResult(scope.row)" disabled>{{ <el-button
$t("trials:auditRecord:table:readingResult") type="text"
}}</el-button> @click="readResult(scope.row)"
:disabled="scope.row.ReadingTaskState !== 2"
>{{ $t("trials:auditRecord:table:readingResult") }}</el-button
>
<!--下载报告--> <!--下载报告-->
<el-button <el-button
type="text" type="text"
@ -220,6 +226,7 @@
import BaseContainer from "@/components/BaseContainer"; import BaseContainer from "@/components/BaseContainer";
import Pagination from "@/components/Pagination"; import Pagination from "@/components/Pagination";
import { getPatientVisitTaskList } from "@/api/readManagenent.js"; import { getPatientVisitTaskList } from "@/api/readManagenent.js";
import { getToken } from "@/utils/auth";
const defaultSearchData = () => { const defaultSearchData = () => {
return { return {
SubjectCode: null, SubjectCode: null,
@ -306,7 +313,30 @@ export default {
// //
downloadReport() {}, 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> </script>