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
4e8a5653
authored
2025-01-15 11:53:14 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据资产登记bug修改
1 parent
35f2657e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
9 deletions
src/views/data_asset/registerDetail.vue
src/views/data_asset/registerStart.vue
src/views/data_asset/registerDetail.vue
View file @
4e8a565
...
...
@@ -288,7 +288,6 @@ const getDetailInfo = () => {
Promise
.
all
(
ps
).
then
(()
=>
{
fullscreenLoading
.
value
=
false
;
tenantDetail
.
value
=
tentData
;
console
.
log
(
tentData
);
}).
catch
(()
=>
{
fullscreenLoading
.
value
=
false
;
});
...
...
src/views/data_asset/registerStart.vue
View file @
4e8a565
...
...
@@ -12,6 +12,7 @@ import useUserStore from "@/store/modules/user";
import
{
getAreaData
,
getTenantInfo
,
getTenantDetailInfo
,
getServiceTenants
,
getTenantAttach
,
getSingleList
...
...
@@ -166,10 +167,26 @@ const tenantDetail: any = ref({});
/** 获取当前登录会员,服务商,企业等详情。 */
const
getTenantDetail
=
()
=>
{
getTenantInfo
({
tenantName
:
userData
.
tenantName
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
const
data
=
res
.
data
??
{};
tenantDetail
.
value
=
data
;
let
ps
:
any
=
[],
tentData
=
{};
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
(()
=>
{
tenantDetail
.
value
=
tentData
;
propertyFormItems
.
value
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
field
==
'address'
||
item
.
field
==
'socialCreditCode'
||
item
.
field
==
'registrationDate'
||
item
.
field
==
'businessLicenseStartDate'
||
item
.
field
==
'businessLicenseEndDate'
)
{
//在会员详情处获取。
item
.
default
=
tenantDetail
.
value
[
item
.
field
];
...
...
@@ -186,10 +203,9 @@ const getTenantDetail = () => {
}
}
});
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
});
}).
catch
(()
=>
{
fullscreenLoading
.
value
=
false
;
});
}
const
setBaseFormItemsValue
=
(
info
)
=>
{
...
...
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