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
fe41f56f
authored
2025-01-15 16:04:07 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据资产登记bug修改
1 parent
58c40233
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
src/views/data_asset/registerDetail.vue
src/views/data_asset/registerDetail.vue
View file @
fe41f56
...
...
@@ -271,7 +271,7 @@ const getDetailInfo = () => {
ps
.
push
(
getTenantDetailInfo
(
userData
.
tenantGuid
).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
const
data
=
res
.
data
??
{};
tentData
=
{
...
tentData
,
...
data
};
tentData
=
{
...
tentData
,
...
data
};
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
...
...
@@ -279,7 +279,7 @@ const getDetailInfo = () => {
ps
.
push
(
getTenantInfo
({
tenantName
:
userData
.
tenantName
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
const
data
=
res
.
data
??
{};
tentData
=
{
...
tentData
,
...
data
};
tentData
=
{
...
tentData
,
...
data
};
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
...
...
@@ -1050,6 +1050,14 @@ const handleClickDamCatalogDetail = () => {
});
}
const
formattedDate
=
(
dateVal
)
=>
{
const
date
=
new
Date
(
dateVal
);
const
year
=
date
.
getFullYear
();
const
month
=
(
date
.
getMonth
()
+
1
).
toString
().
padStart
(
2
,
'0'
);
const
day
=
date
.
getDate
().
toString
().
padStart
(
2
,
'0'
);
return
`
${
year
}
-
${
month
}
-
${
day
}
`
;
}
</
script
>
<
template
>
...
...
@@ -1647,7 +1655,9 @@ const handleClickDamCatalogDetail = () => {
<
/div
>
<
div
class
=
"list_item"
>
<
span
class
=
"item_label"
>
注册日期
:
<
/span
>
<
span
class
=
"item_value"
>
{{
tenantDetail
.
registrationDate
??
"--"
}}
<
/span
>
<
span
class
=
"item_value"
>
{{
tenantDetail
.
registrationDate
?
formattedDate
(
tenantDetail
.
registrationDate
)
:
"--"
}}
<
/span
>
<
/div
>
<
div
class
=
"list_item"
>
<
span
class
=
"item_label"
>
营业开始日期
:
<
/span
>
...
...
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