733b166a by lihua

支持dicom文件

1 parent 6eb7eff7
...@@ -351,3 +351,25 @@ export const htmlToWord = (params) => request({ ...@@ -351,3 +351,25 @@ export const htmlToWord = (params) => request({
351 data: params, 351 data: params,
352 responseType: 'blob' 352 responseType: 'blob'
353 }) 353 })
354
355 export const scanFolder = (dirPath = '') => request({
356 url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/anon-task/directory/scan?dirPath=${dirPath}`,
357 method: 'get'
358 })
359
360 /** 获取扫描文件结果 */
361 export const getDicomMeta = (taskGuid) => request({
362 url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/anon-task/get-dicom-meta?taskGuid=${taskGuid}`,
363 method: 'get'
364 })
365
366 /** 获取扫描文件统计结果 */
367 export const getDicomStatistics = (taskGuid) => request({
368 url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/anon-task/get-dicom-statistics?taskGuid=${taskGuid}`,
369 method: 'get'
370 })
371
372 export const retryDicom = (taskGuid) => request({
373 url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/anon-task/dicom/retry?taskGuid=${taskGuid}`,
374 method: 'get'
375 })
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -273,7 +273,7 @@ defineExpose({ ...@@ -273,7 +273,7 @@ defineExpose({
273 273
274 <template v-else-if="prefixInfo"> 274 <template v-else-if="prefixInfo">
275 <span class="prefix-icon" style="margin-right: 4px"> 275 <span class="prefix-icon" style="margin-right: 4px">
276 <template v-if="data.type < 2"> 276 <template v-if="data.type < 2 || data.type == 'DIRECTORY'">
277 <el-icon v-if="node.expanded"> 277 <el-icon v-if="node.expanded">
278 <svg-icon name="file-open" /> 278 <svg-icon name="file-open" />
279 </el-icon> 279 </el-icon>
......
...@@ -862,8 +862,10 @@ export const tagMethod = (row, type) => { ...@@ -862,8 +862,10 @@ export const tagMethod = (row, type) => {
862 tag = '未执行'; 862 tag = '未执行';
863 } else if (row[type] == 'E') { //部分通过 863 } else if (row[type] == 'E') { //部分通过
864 tag = '失败'; 864 tag = '失败';
865 }else if (row[type] == 'R') { //部分通过 865 } else if (row[type] == 'R') { //部分通过
866 tag = '执行中'; 866 tag = '执行中';
867 } else {
868 tag = '--'
867 } 869 }
868 } else if (type == 'sensitiveIdentifyConfirmStatus') { 870 } else if (type == 'sensitiveIdentifyConfirmStatus') {
869 if (row[type] == 'Y') { 871 if (row[type] == 'Y') {
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
4 4
5 <script lang="ts" setup name="anonResultReportView"> 5 <script lang="ts" setup name="anonResultReportView">
6 import { 6 import {
7 exportAnonReport,
8 getAnonAnalyzePageData, 7 getAnonAnalyzePageData,
9 getAnonAnalyzeResult, 8 getAnonAnalyzeResult,
10 getAnonTaskDetail, 9 getAnonTaskDetail,
...@@ -253,15 +252,16 @@ onBeforeMount(() => { ...@@ -253,15 +252,16 @@ onBeforeMount(() => {
253 252
254 <template> 253 <template>
255 <div class="table_tool_wrap" v-loading="resultDataLoading" ref="containerRef" :element-loading-text="loadingText"> 254 <div class="table_tool_wrap" v-loading="resultDataLoading" ref="containerRef" :element-loading-text="loadingText">
256 <el-button v-show="!isWordStyle" style="margin-bottom: 8px;" type="primary" @click="transfer" 255 <!-- 连接器不需要显示下载报告按钮 -->
256 <!-- <el-button v-show="!isWordStyle" style="margin-bottom: 8px;" type="primary" @click="transfer"
257 v-preReClick>生成Word评估报告</el-button> 257 v-preReClick>生成Word评估报告</el-button>
258 <div v-show="isWordStyle" style="margin-bottom: 8px;"> 258 <div v-show="isWordStyle" style="margin-bottom: 8px;">
259 <el-button @click="isWordStyle = false">返回</el-button> 259 <el-button @click="isWordStyle = false">返回</el-button>
260 <el-button type="primary" @click="downloadWord">下载评估报告</el-button> 260 <el-button type="primary" @click="downloadWord">下载评估报告</el-button>
261 </div> 261 </div> -->
262 <anonResultAnalysis ref="resultReportRef" :show-title="true" :analysis-result-info="analysisResultInfo" 262 <anonResultAnalysis ref="resultReportRef" :show-title="true" :analysis-result-info="analysisResultInfo"
263 :isWordStyle="isWordStyle" :style="isWordStyle ? { 263 :isWordStyle="isWordStyle" :style="isWordStyle ? {
264 height: 'calc(100% - 36px)', 264 height: '100%',
265 'overflow-y': 'auto', 265 'overflow-y': 'auto',
266 'margin-right': '-16px', 266 'margin-right': '-16px',
267 'padding-right': '16px', 267 '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!