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
a355005f
authored
2025-12-03 17:02:34 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据使用页面部分开发
1 parent
24d6d18e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
87 additions
and
7 deletions
src/router/modules/dataDelivery.ts
src/views/data_asset/dataUsage.vue
src/views/data_asset/dataUsageDetail.vue
src/views/data_facilitator/certificationAudit.vue
src/views/data_facilitator/settleManagement.vue
src/router/modules/dataDelivery.ts
View file @
a355005
...
...
@@ -44,6 +44,25 @@ const routes: RouteRecordRaw[] = [
cache
:
true
},
},
{
path
:
'data-usage-detail'
,
name
:
'dataUsageDetail'
,
component
:
()
=>
import
(
'@/views/data_asset/dataUsageDetail.vue'
),
meta
:
{
title
:
'详情-'
,
sidebar
:
false
,
breadcrumb
:
false
,
cache
:
true
,
editPage
:
true
,
reuse
:
true
},
beforeEnter
:
(
to
,
from
)
=>
{
if
(
to
.
query
.
name
)
{
to
.
meta
.
title
=
`详情-
${
to
.
query
.
name
}
`
;
return
;
}
}
}
],
},
]
...
...
src/views/data_asset/dataUsage.vue
View file @
a355005
...
...
@@ -159,4 +159,8 @@ onBeforeMount(() => {
</div>
</
template
>
<
style
lang=
"scss"
scoped
></
style
>
\ No newline at end of file
<
style
lang=
"scss"
scoped
>
.container_wrap
{
padding
:
0px
16px
;
}
</
style
>
\ No newline at end of file
...
...
src/views/data_asset/dataUsageDetail.vue
0 → 100644
View file @
a355005
<
script
lang=
"ts"
setup
name=
"dataUsageDetail"
>
import
{
changeNum
}
from
'@/utils/common'
;
const
fullscreenloading
=
ref
(
false
);
const
tableInfo
=
ref
({
id
:
'dataset-table'
,
rowKey
:
'guid'
,
loading
:
false
,
fields
:
[
{
label
:
"序号"
,
type
:
"index"
,
width
:
56
,
align
:
"center"
},
{
label
:
"表中文名称"
,
field
:
"tableChName"
,
width
:
150
,
align
:
"left"
},
{
label
:
"表英文名称"
,
field
:
"tableName"
,
width
:
150
,
align
:
"left"
},
{
label
:
"表数据总数(条)"
,
field
:
"dataCount"
,
width
:
150
,
align
:
"right"
,
getName
:
(
scope
)
=>
{
return
scope
.
row
[
"dataCount"
]
==
null
?
'--'
:
changeNum
(
scope
.
row
[
"dataCount"
],
0
)
}
},
{
label
:
"描述"
,
field
:
"description"
,
width
:
240
},
{
label
:
"修改人"
,
field
:
"updateUserName"
,
width
:
140
},
{
label
:
"修改时间"
,
field
:
"updateTime"
,
width
:
180
},],
data
:
[],
showPage
:
false
,
actionInfo
:
{
label
:
"操作"
,
type
:
"btn"
,
width
:
160
,
btns
:
(
scope
)
=>
{
let
btns
:
any
=
[];
//TODO。根据返回值显示按钮
btns
.
push
({
label
:
'查看'
,
value
:
'view'
});
return
btns
;
}
}
});
onBeforeMount
(()
=>
{
})
</
script
>
<
template
>
<div
class=
"container_wrap"
v-loading=
"fullscreenloading"
>
<div
class=
"table_panel_wrap"
style=
"height: calc(100% - 44px);"
>
<Table
:tableInfo=
"tableInfo"
/>
</div>
</div>
</
template
>
<
style
lang=
"scss"
scoped
>
.container_wrap
{
padding
:
0px
16px
;
}
</
style
>
\ No newline at end of file
src/views/data_facilitator/certificationAudit.vue
View file @
a355005
...
...
@@ -187,7 +187,7 @@ const tableInfo = ref({
const
getTableBtns
=
(
row
,
includeDetail
=
true
)
=>
{
let
btnsArr
:
any
[]
=
[];
const
currentStaffGuid
=
userData
.
userGuid
const
approveState
=
row
.
a
pproveState
;
const
approveState
=
row
.
bizA
pproveState
;
const
staffGuid
=
row
.
createUserId
||
''
;
let
flowState
;
if
(
approveState
==
'N'
&&
staffGuid
==
currentStaffGuid
)
{
...
...
src/views/data_facilitator/settleManagement.vue
View file @
a355005
...
...
@@ -36,7 +36,7 @@ const searchItemList = ref([
{
type
:
'select'
,
label
:
''
,
field
:
'
a
pproveState'
,
field
:
'
bizA
pproveState'
,
default
:
''
,
placeholder
:
'审核状态'
,
options
:
[
...
...
@@ -130,7 +130,7 @@ const page = ref({
{
label
:
"200"
,
value
:
200
},
],
connectorName
:
''
,
a
pproveState
:
''
bizA
pproveState
:
''
});
const
currTableData
:
any
=
ref
({});
const
tableInfo
=
ref
({
...
...
@@ -197,10 +197,10 @@ const toSearch = (val: any, clear: boolean = false) => {
if
(
clear
)
{
searchItemList
.
value
.
map
((
item
)
=>
(
item
.
default
=
""
));
page
.
value
.
connectorName
=
''
;
page
.
value
.
a
pproveState
=
""
;
page
.
value
.
bizA
pproveState
=
""
;
}
else
{
page
.
value
.
connectorName
=
val
.
connectorName
;
page
.
value
.
approveState
=
val
.
a
pproveState
;
page
.
value
.
bizApproveState
=
val
.
bizA
pproveState
;
}
getTableData
();
updateCheckConnector
();
...
...
@@ -212,7 +212,7 @@ const getTableData = () => {
pageIndex
:
page
.
value
.
curr
,
pageSize
:
page
.
value
.
limit
,
connectorName
:
page
.
value
.
connectorName
,
approveState
:
page
.
value
.
a
pproveState
,
bizApproveState
:
page
.
value
.
bizA
pproveState
,
currentStaffGuid
:
userData
.
staffGuid
}).
then
((
res
:
any
)
=>
{
if
(
res
?.
code
==
proxy
.
$passCode
)
{
...
...
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