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
df73b193
authored
2025-02-11 17:19:19 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' into release-test
2 parents
82d05869
146525fb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
src/api/modules/dataAsset.ts
src/views/data_asset/detail_serviceApi.vue
src/views/data_asset/registerStart.vue
src/views/data_product/productListingDetail.vue
src/api/modules/dataAsset.ts
View file @
df73b19
...
...
@@ -428,7 +428,7 @@ export const getApiDetail = (params) => request({
method
:
'get'
,
})
// 跨服务
掉
加工交付接口 获取API调用次数
// 跨服务
调
加工交付接口 获取API调用次数
export
const
getApiInvokeCount
=
(
data
)
=>
request
({
// url: `http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`,
url
:
`https://daop-zcgl-test.zgsjzc.com/delivery/api/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`
,
...
...
src/views/data_asset/detail_serviceApi.vue
View file @
df73b19
...
...
@@ -6,6 +6,7 @@ import {
getApiDetail
,
apiTypes
,
}
from
"@/api/modules/dataAsset"
;
import
useUserStore
from
"@/store/modules/user"
;
const
route
=
useRoute
();
const
{
proxy
}
=
getCurrentInstance
()
as
any
;
const
router
=
useRouter
();
...
...
@@ -27,12 +28,14 @@ const detailInfo: any = ref({});
const
apiType
=
ref
(
'1'
);
// 单表API.
const
sql
=
ref
(
''
);
const
processDTOSValue
=
ref
([]);
const
userStore
=
useUserStore
();
const
userData
=
JSON
.
parse
(
userStore
.
userData
)
onBeforeMount
(()
=>
{
if
(
route
.
query
.
guid
)
{
getDetail
();
}
else
{
getCamundaDeploymentId
(
'10023'
).
then
((
res
:
any
)
=>
{
getCamundaDeploymentId
(
'10023'
,
userData
.
tenantGuid
,
userData
.
staffGuid
).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
deploymentId
.
value
=
res
.
data
;
}
else
{
...
...
src/views/data_asset/registerStart.vue
View file @
df73b19
...
...
@@ -2076,7 +2076,7 @@ onBeforeMount(() => {
}
});
}
else
{
getCamundaDeploymentId
(
'10016'
).
then
((
res
:
any
)
=>
{
getCamundaDeploymentId
(
'10016'
,
userData
.
tenantGuid
,
userData
.
staffGuid
).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
deploymentId
.
value
=
res
.
data
;
}
else
{
...
...
src/views/data_product/productListingDetail.vue
View file @
df73b19
...
...
@@ -1456,7 +1456,7 @@ onBeforeMount(async () => {
}
})
getCamundaDeploymentId
(
'10016'
).
then
((
res
:
any
)
=>
{
getCamundaDeploymentId
(
'10016'
,
userData
.
tenantGuid
,
userData
.
staffGuid
).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
deploymentId
.
value
=
res
.
data
;
}
else
{
...
...
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