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
0bc96dcb
authored
2025-01-15 18:03:40 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
50188ad8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
src/api/modules/queryService.ts
src/views/data_asset/registerDetail.vue
src/api/modules/queryService.ts
View file @
0bc96dc
...
...
@@ -85,6 +85,7 @@ export const getProduct = (params) => request({
// 查看平台会员信息
export const getTenantInfo = (params) => request({
// url: `
$
{
import
.
meta
.
env
.
VITE_APP_PERSONAL_URL
}
/tenant/g
etByGuid
/
$
{
params
}
`,
// url: `
http
:
//localhost:9000/circulation/ms-data-circulation-portal-service/enterprise/detail-by-name`,
url
:
`http://192.168.6.22:29900/circulation/ms-data-circulation-portal-service/enterprise/detail-by-name`
,
method
:
'get'
,
params
...
...
src/views/data_asset/registerDetail.vue
View file @
0bc96dc
...
...
@@ -169,7 +169,7 @@ const getDetailInfo = () => {
isTextTruncated
();
})
}
else
if
(
detailType
.
value
==
'certificate'
)
{
let
ps
:
any
=
[];
let
ps
:
any
=
[]
,
tentData
=
{}
;
ps
.
push
(
getCertificateDetail
({
guid
:
certificateGuid
.
value
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
const
data
=
res
.
data
||
{};
...
...
@@ -249,8 +249,25 @@ const getDetailInfo = () => {
}).
catch
(()
=>
{
fullscreenLoading
.
value
=
false
;
}));
ps
.
push
(
getTenantDetailInfo
(
userData
.
tenantGuid
).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
const
data
=
res
.
data
??
{};
tentData
=
{
...
tentData
,
...
data
};
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
}));
ps
.
push
(
getTenantInfo
({
tenantName
:
userData
.
tenantName
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
const
data
=
res
.
data
??
{};
tentData
=
{
...
tentData
,
...
data
};
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
}))
Promise
.
all
(
ps
).
then
(()
=>
{
fullscreenLoading
.
value
=
false
;
tenantDetail
.
value
=
tentData
;
isTextTruncated
();
})
}
else
{
...
...
@@ -1268,7 +1285,7 @@ const formattedDate = (dateVal) => {
<
/div
>
<
div
class
=
"list_item"
v
-
if
=
"assetDetailInfo.damGuid"
>
<
span
class
=
"item_label"
>
数据库类型
:
<
/span
>
<
span
class
=
"item_value"
>
{{
assetDetailInfo
.
databaseType
??
'--'
}}
<
/span
>
<
span
class
=
"item_value"
>
{{
assetDetailInfo
.
databaseType
||
'--'
}}
<
/span
>
<
/div
>
<
/div
>
<
div
class
=
"last-col"
>
...
...
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