Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2a7df910
authored
2026-02-11 10:27:43 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
支持dicom文件
1 parent
f77c6b6b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
6 deletions
src/api/modules/dataAnonymization.ts
src/components/Tree/index.vue
src/utils/common.ts
src/views/data_anonymization/anonResultReportView.vue
src/views/data_anonymization/anonTaskCreate.vue
src/api/modules/dataAnonymization.ts
View file @
2a7df91
...
...
@@ -350,4 +350,26 @@ export const htmlToWord = (params) => request({
method
:
'postJsonD'
,
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
...
...
src/components/Tree/index.vue
View file @
2a7df91
...
...
@@ -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>
...
...
src/utils/common.ts
View file @
2a7df91
...
...
@@ -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'
)
{
...
...
src/views/data_anonymization/anonResultReportView.vue
View file @
2a7df91
...
...
@@ -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',
...
...
src/views/data_anonymization/anonTaskCreate.vue
View file @
2a7df91
This diff is collapsed.
Click to expand it.
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment