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
e8a5f3f7
authored
2025-02-12 17:00:26 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix首页看板
1 parent
909307c4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
12 deletions
src/api/modules/dataAsset.ts
src/router/modules/assetIndex.ts
src/views/indexNewBigScreen.vue
src/api/modules/dataAsset.ts
View file @
e8a5f3f
...
...
@@ -430,8 +430,8 @@ export const getApiDetail = (params) => request({
// 跨服务调加工交付接口 获取API调用次数
export
const
getApiInvokeCount
=
(
data
)
=>
request
({
//
url: `http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`,
url
:
`http://192.168.6.22:29900/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`
,
url
:
`http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`
,
//
url: `http://192.168.6.22:29900/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`,
method
:
'post'
,
data
})
...
...
src/router/modules/assetIndex.ts
View file @
e8a5f3f
...
...
@@ -7,7 +7,7 @@ const routes: RouteRecordRaw[] = [
path
:
'/data-asset-index'
,
component
:
Layout
,
meta
:
{
title
:
'
首页
'
,
title
:
'
数据资产看板
'
,
icon
:
'sidebar-videos'
,
},
children
:
[{
...
...
@@ -15,7 +15,7 @@ const routes: RouteRecordRaw[] = [
name
:
'assetIndex'
,
component
:
()
=>
import
(
'@/views/indexNewBigScreen.vue'
),
meta
:
{
title
:
'
首页
'
,
title
:
'
数据资产看板
'
,
sidebar
:
false
,
breadcrumb
:
false
,
cache
:
true
...
...
src/views/indexNewBigScreen.vue
View file @
e8a5f3f
...
...
@@ -336,20 +336,30 @@ const financingTableInfo = ref({
{
label
:
"产品名称"
,
field
:
"apiName"
,
width
:
1
4
0
,
width
:
1
5
0
,
// type: "text_btn",
// columClass: 'text_btn',
// value: "detail",
},
{
label
:
"调用数"
,
field
:
"callApiNumber"
,
width
:
100
,
align
:
"right"
,
},
{
label
:
"调用数"
,
field
:
"callApiNumber"
,
width
:
130
,
align
:
"left"
,
getName
:
(
scope
)
=>
{
let
callApiNumber
=
scope
.
row
.
callApiNumber
;
if
(
!
callApiNumber
)
{
return
`调用数0`
}
return
`调用数
${
changeNum
(
callApiNumber
,
0
)}
`
}
},
{
label
:
"调用次数"
,
field
:
"callApiCount"
,
width
:
100
,
align
:
"right"
,
// getName: (scope) => {
// return changeNum(scope.row.creditGrantingMoney ?? 0, 2, true) + '万元';
// },
minWidth
:
120
,
align
:
"left"
,
getName
:
(
scope
)
=>
{
let
callApiCount
=
scope
.
row
.
callApiCount
;
if
(
!
callApiCount
)
{
return
`调用0次`
}
return
`调用
${
changeNum
(
callApiCount
,
0
)}
次`
},
},
// {
// label: "授信期限(月)",
...
...
@@ -360,7 +370,7 @@ const financingTableInfo = ref({
// return changeNum(scope.row.creditGrantingTerm ?? 0) + '月';
// },
// },
{
label
:
"最近调用时间"
,
field
:
"invokeStartTime"
,
minWidth
:
100
},
//
{ label: "最近调用时间", field: "invokeStartTime", minWidth: 100 },
],
data
:
[],
showPage
:
false
,
...
...
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