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
c748e0ce
authored
2025-06-16 16:43:24 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
815c1c89
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
9 deletions
src/router/modules/dataTrustedSpace.ts
src/views/data_trusted/trustedSpaceIndex.vue
src/views/security_menu/index.vue
src/router/modules/dataTrustedSpace.ts
View file @
c748e0c
...
...
@@ -8,7 +8,7 @@ const routes: RouteRecordRaw[] = [
path
:
'/trusted-space-index'
,
component
:
Layout
,
meta
:
{
title
:
'
可信空间
'
,
title
:
'
数据连接件
'
,
icon
:
'sidebar-videos'
,
},
children
:
[
...
...
@@ -17,7 +17,7 @@ const routes: RouteRecordRaw[] = [
name
:
'trustedSpaceIndex'
,
component
:
()
=>
import
(
'@/views/data_trusted/trustedSpaceIndex.vue'
),
meta
:
{
title
:
'
可信空间
'
,
title
:
'
数据连接件
'
,
sidebar
:
false
,
breadcrumb
:
false
,
cache
:
true
...
...
src/views/data_trusted/trustedSpaceIndex.vue
View file @
c748e0c
...
...
@@ -52,7 +52,7 @@
<div
class=
"dataLabel ml-4px"
>
{{
damTypes
.
find
(
d
=>
d
.
paramValue
==
item
[
'damType'
])?.
paramName
}}
</div>
<div
class=
"dataCount"
v-if=
"item.caseNumber != null"
>
{{
changeNum
(
item
.
caseNumber
,
0
)
+
'例'
}}
</div>
}}
</div>
</div>
</div>
</div>
...
...
@@ -97,7 +97,7 @@
'至' + item.effectiveDate) }}
</div>
<div
class=
"list_item"
>
{{ '登记名称:' + item.daName }}
</div>
<div
class=
"list_item"
>
{{ '登记主体:' + item.issuingEntityName }}
</div>
<div
class=
"list_item"
><span>
{{ '证书:' }}
</span>
<div
class=
"list_item"
><span>
{{ '证书:' }}
</span>
<div
class=
"file-operate"
style=
"width: calc(100% - 42px);"
>
<
template
v-if=
"item.file.name.substring(item.file.name.lastIndexOf('.') + 1).toLowerCase() == 'xls' || item.file.name.substring(item.file.name.lastIndexOf('.') + 1).toLowerCase() == 'xlsx' || item.file.name.substring(item.file.name.lastIndexOf('.') + 1).toLowerCase() == 'csv'"
>
...
...
@@ -199,7 +199,7 @@ import { ref } from "vue";
import
{
getParamsList
,
getReleaseYears
,
// getSubjectDomainDataTree,
// getSubjectDomainDataTree,
getReleaseListData
,
getReleaseDataCertiDetail
}
from
'@/api/modules/dataTrustedSpace'
;
...
...
@@ -215,6 +215,8 @@ import useUserStore from '@/store/modules/user';
import
{
onUploadFilePreview
,
onUploadFileDownload
}
from
'@/api/modules/common'
;
import
router
from
"@/router"
;
const
route
=
useRoute
();
const
defaultItemLogo
=
getAssetsImages
(
'dam-catalog-detail.png'
)
const
userStore
=
useUserStore
();
const
{
proxy
}
=
getCurrentInstance
()
as
any
;
...
...
@@ -333,7 +335,7 @@ function toTop(className: string) {
const
handleDataClick
=
(
item
,
index
)
=>
{
selectDataInfo
.
value
=
item
;
nextTick
(()
=>
{
toTop
(
'dam-detail-right'
)
toTop
(
'dam-detail-right'
)
})
}
...
...
@@ -416,6 +418,19 @@ watch(() => selectDataInfo.value.damGuid, (val) => {
deep
:
true
})
onActivated
(()
=>
{
let
fullPath
=
route
.
fullPath
;
let
userInfoData
=
userStore
.
userInfoData
||
[];
let
f
=
userInfoData
.
find
(
u
=>
u
.
menuList
?.
some
(
m
=>
m
.
path
==
"/trusted-space-index"
));
if
(
f
&&
fullPath
===
route
.
fullPath
)
{
document
.
title
=
f
.
productName
||
'数据连接件'
;
}
let
tab
:
any
=
userStore
.
tabbar
.
find
((
tab
:
any
)
=>
tab
.
fullPath
===
fullPath
);
if
(
f
&&
tab
)
{
tab
.
meta
.
title
=
f
.
productName
||
'数据连接件'
;
}
})
onBeforeMount
(()
=>
{
fullscreenLoading
.
value
=
true
;
let
ps
:
any
=
[];
...
...
@@ -480,7 +495,7 @@ const handleDownFile = () => {
.home-full-wrap
{
height
:
100%
;
width
:
100%
;
//
overflow-y
:
auto
;
//
overflow-y
:
auto
;
overflow-x
:
hidden
;
background-color
:
#f5f5f6
;
}
...
...
@@ -834,7 +849,7 @@ const handleDownFile = () => {
position
:
absolute
;
cursor
:
pointer
;
color
:
var
(
--el-color-primary
);
//
margin-right
:
8px
;
//
margin-right
:
8px
;
}
}
</
style
>
\ No newline at end of file
...
...
src/views/security_menu/index.vue
View file @
c748e0c
...
...
@@ -173,6 +173,7 @@ const formItems = ref([
block
:
true
,
visible
:
true
,
default
:
[],
col
:
'mb4'
,
limit
:
1
,
},
{
...
...
@@ -206,6 +207,7 @@ const formItems = ref([
block
:
true
,
visible
:
true
,
default
:
[],
col
:
'mb4'
,
limit
:
1
,
},
{
...
...
@@ -239,6 +241,7 @@ const formItems = ref([
block
:
true
,
visible
:
true
,
default
:
[],
col
:
'mb4'
,
limit
:
1
,
},
{
...
...
@@ -269,7 +272,7 @@ const formRules = ref({
const
dialogInfo
=
ref
({
visible
:
false
,
size
:
51
0
,
size
:
60
0
,
direction
:
"column"
,
header
:
{
title
:
"合规信息"
,
...
...
@@ -515,4 +518,11 @@ const getTableData = () => {
}
}
}
:deep
(
.el-form
)
{
.mb4
{
margin-bottom
:
4px
!important
;
}
}
</
style
>
...
...
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