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
325e76ab
authored
2026-03-26 17:01:40 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改匿名化问题
1 parent
1c89f529
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
13 deletions
src/views/data_anonymization/anonTaskCreate.vue
src/views/data_anonymization/anonTaskCreate.vue
View file @
325e76a
...
...
@@ -51,7 +51,7 @@
<ContentWrap
v-show=
"formRef?.formInline?.dataSource == 3"
id=
"id-folder"
title=
"提取文件"
description=
""
style=
"margin-top: 16px;"
>
<div
class=
"folder-main"
>
<el-button
v-show=
"!
clickSelectNode.p
ath && !Object.keys(dicomStatisticsData)?.length"
:icon=
"Upload"
<el-button
v-show=
"!
selectCurrP
ath && !Object.keys(dicomStatisticsData)?.length"
:icon=
"Upload"
class=
"mr8"
@
click=
uploadFolder
>
上传文件
</el-button>
<Dialog
ref=
"dialogRef"
:dialog-info=
"uploadFileDialogInfo"
@
btnClick=
"dialogBtnClick"
>
<
template
#
extra-content
>
...
...
@@ -70,12 +70,12 @@
<div
v-show=
"isBuiltInPath"
class=
"builtIn-folder-foot"
>
{{
'内置文件夹路径:'
+
(
builtInPath
||
'--'
)
}}
</div>
</
template
>
</Dialog>
<div
v-show=
"
clickSelectNode.p
ath && dicomStatisticsData.state"
class=
"folder-foot"
>
{{ '当前提取文件夹路径:' +
(
clickSelectNode.p
ath || '--') }}
<div
v-show=
"
selectCurrP
ath && dicomStatisticsData.state"
class=
"folder-foot"
>
{{ '当前提取文件夹路径:' +
(
selectCurrP
ath || '--') }}
</div>
<!-- 正在扫描的状态 -->
<div
class=
"folder-progress"
v-show=
"
clickSelectNode.p
ath && (dicomStatisticsData.state == 'S' || !Object.keys(dicomStatisticsData)?.length)"
>
v-show=
"
selectCurrP
ath && (dicomStatisticsData.state == 'S' || !Object.keys(dicomStatisticsData)?.length)"
>
<div
class=
"folder-title"
>
正在扫描
</div>
<el-progress
:percentage=
"!dicomStatisticsData.progress ? 0 : changeNum(dicomStatisticsData.progress, 2)"
:stroke-width=
"12"
striped
striped-flow
:show-text=
"false"
:duration=
"8"
/>
...
...
@@ -87,7 +87,7 @@
</div>
<!-- 正在解析的状态 -->
<div
class=
"folder-progress"
v-show=
"
clickSelectNode.p
ath && (dicomStatisticsData.state == 'R')"
>
v-show=
"
selectCurrP
ath && (dicomStatisticsData.state == 'R')"
>
<div
class=
"folder-title"
>
正在解析
</div>
<el-progress
:percentage=
"!dicomStatisticsData.progress ? 0 : changeNum(dicomStatisticsData.progress, 2)"
:stroke-width=
"12"
striped
striped-flow
:show-text=
"false"
:duration=
"8"
/>
...
...
@@ -100,7 +100,7 @@
<div
style=
"display: flex;justify-content: center;margin-top: 4px;"
><el-button
:icon=
"RefreshRight"
link
@
click=
"refreshFolderResult"
v-preReClick
>
刷新进度
</el-button></div>
</div>
<!-- 解析失败的状态 -->
<div
class=
"folder-progress"
v-show=
"
clickSelectNode.p
ath && dicomStatisticsData.state == 'E'"
>
<div
class=
"folder-progress"
v-show=
"
selectCurrP
ath && dicomStatisticsData.state == 'E'"
>
<div
class=
"folder-title"
>
<el-icon
class=
"title-icon fail"
>
<CircleCloseFilled
/>
...
...
@@ -120,7 +120,7 @@
</div>
<!-- 解析成功状态 -->
<div
class=
"folder-progress"
v-show=
"
clickSelectNode.p
ath && dicomStatisticsData.state == 'Y' && dicomStatisticsData.errorCount === 0"
>
v-show=
"
selectCurrP
ath && dicomStatisticsData.state == 'Y' && dicomStatisticsData.errorCount === 0"
>
<div
class=
"folder-title"
>
<el-icon
class=
"title-icon success"
>
<svg-icon
name=
"icon-success"
/>
...
...
@@ -136,11 +136,12 @@
</div>
</div>
</div>
<div
v-show=
"clickSelectNode.path && folderFileTableInfo.data?.length"
class=
"preview-title"
>
预览文件仅展示5条数据
<!-- 解析成功之后需要显示预览文件,和删除重新上传文件按钮 -->
<div
v-show=
"selectCurrPath && folderFileTableInfo.data?.length"
class=
"preview-title"
>
预览文件仅展示5条数据
</div>
<Table
v-show=
"
clickSelectNode.p
ath && folderFileTableInfo.data?.length"
:tableInfo=
"folderFileTableInfo"
>
<Table
v-show=
"
selectCurrP
ath && folderFileTableInfo.data?.length"
:tableInfo=
"folderFileTableInfo"
>
</Table>
<div
v-show=
"
clickSelectNode.p
ath && dicomStatisticsData.state == 'Y'"
class=
"folder-bottom"
><el-button
<div
v-show=
"
selectCurrP
ath && dicomStatisticsData.state == 'Y'"
class=
"folder-bottom"
><el-button
@
click=
deleteFolder
>
删除文件,重新上传解析
</el-button></div>
</ContentWrap>
</div>
...
...
@@ -1023,6 +1024,13 @@ const uploadFileDialogInfo = ref({
contentLoading
:
false
,
});
const
selectCurrPath
=
computed
(()
=>
{
if
(
isBuiltInPath
.
value
)
{
return
builtInPath
.
value
;
}
return
clickSelectNode
.
value
?.
path
;
})
const
folderRefreshTimer
=
ref
();
const
processFolderRefresh
=
async
(
isRefresh
=
false
)
=>
{
...
...
@@ -1223,6 +1231,7 @@ const uploadFolder = () => {
const
deleteFolder
=
()
=>
{
proxy
.
$openMessageBox
(
"确定要删除该文件夹扫描解析结果,重新上传吗?"
,
()
=>
{
clickSelectNode
.
value
=
{};
isBuiltInPath
.
value
=
false
;
folderFileTableInfo
.
value
.
data
=
[];
dicomStatisticsData
.
value
=
{};
},
()
=>
{
...
...
@@ -1414,9 +1423,9 @@ const changeStep = async (val) => {
saveParams
.
dataSourceGuid
=
null
;
saveParams
.
tableName
=
null
;
}
else
{
if
(
saveParams
.
dataSource
==
3
&&
clickSelectNode
.
value
.
path
)
{
if
(
saveParams
.
dataSource
==
3
&&
selectCurrPath
.
value
)
{
saveParams
.
filePath
=
{
url
:
clickSelectNode
.
value
.
path
url
:
selectCurrPath
.
value
};
}
else
{
saveParams
.
filePath
=
null
;
...
...
@@ -1525,7 +1534,7 @@ const changeStep = async (val) => {
}
});
}
else
{
if
(
!
clickSelectNode
.
value
.
path
)
{
if
(
!
selectCurrPath
.
value
)
{
proxy
.
$ElMessage
.
error
(
'请先上传文件'
);
return
;
}
...
...
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