f613c426 by lihua

支持dicom文件

1 parent 361267e4
......@@ -351,3 +351,25 @@ export const htmlToWord = (params) => request({
data: params,
responseType: 'blob'
})
export const scanFolder = (dirPath = '') => request({
url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/anon-task/directory/scan?dirPath=${dirPath}`,
method: 'get'
})
/** 获取扫描文件结果 */
export const getDicomMeta = (taskGuid) => request({
url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/anon-task/get-dicom-meta?taskGuid=${taskGuid}`,
method: 'get'
})
/** 获取扫描文件统计结果 */
export const getDicomStatistics = (taskGuid) => request({
url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/anon-task/get-dicom-statistics?taskGuid=${taskGuid}`,
method: 'get'
})
export const retryDicom = (taskGuid) => request({
url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/anon-task/dicom/retry?taskGuid=${taskGuid}`,
method: 'get'
})
\ No newline at end of file
......
......@@ -273,7 +273,7 @@ defineExpose({
<template v-else-if="prefixInfo">
<span class="prefix-icon" style="margin-right: 4px">
<template v-if="data.type < 2">
<template v-if="data.type < 2 || data.type == 'DIRECTORY'">
<el-icon v-if="node.expanded">
<svg-icon name="file-open" />
</el-icon>
......
......@@ -862,8 +862,10 @@ export const tagMethod = (row, type) => {
tag = '未执行';
} else if (row[type] == 'E') { //部分通过
tag = '失败';
}else if (row[type] == 'R') { //部分通过
} else if (row[type] == 'R') { //部分通过
tag = '执行中';
} else {
tag = '--'
}
} else if (type == 'sensitiveIdentifyConfirmStatus') {
if (row[type] == 'Y') {
......
......@@ -4,7 +4,6 @@
<script lang="ts" setup name="anonResultReportView">
import {
exportAnonReport,
getAnonAnalyzePageData,
getAnonAnalyzeResult,
getAnonTaskDetail,
......@@ -253,15 +252,16 @@ onBeforeMount(() => {
<template>
<div class="table_tool_wrap" v-loading="resultDataLoading" ref="containerRef" :element-loading-text="loadingText">
<el-button v-show="!isWordStyle" style="margin-bottom: 8px;" type="primary" @click="transfer"
<!-- 连接器不需要显示下载报告按钮 -->
<!-- <el-button v-show="!isWordStyle" style="margin-bottom: 8px;" type="primary" @click="transfer"
v-preReClick>生成Word评估报告</el-button>
<div v-show="isWordStyle" style="margin-bottom: 8px;">
<el-button @click="isWordStyle = false">返回</el-button>
<el-button type="primary" @click="downloadWord">下载评估报告</el-button>
</div>
</div> -->
<anonResultAnalysis ref="resultReportRef" :show-title="true" :analysis-result-info="analysisResultInfo"
:isWordStyle="isWordStyle" :style="isWordStyle ? {
height: 'calc(100% - 36px)',
height: '100%',
'overflow-y': 'auto',
'margin-right': '-16px',
'padding-right': '16px',
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!