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
a04a9a71
authored
2025-02-06 14:15:39 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' of
http://117.78.60.236:8000/csbr-daop/fe-data-asset-management
into develop
2 parents
481e1e5e
bd5df826
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
37 deletions
src/store/modules/user.ts
src/views/data_asset/qualityEvaluate.vue
src/views/data_asset/registerManagemant.vue
src/views/data_asset/valueEvaluate.vue
src/store/modules/user.ts
View file @
a04a9a7
...
...
@@ -54,24 +54,24 @@ const useUserStore = defineStore(
currentTenantGuid
.
value
=
res
.
data
.
tenantInfoList
&&
res
.
data
.
tenantInfoList
.
length
?
res
.
data
.
tenantInfoList
[
0
].
guid
:
''
;
localStorage
.
setItem
(
'currentTenantGuid'
,
currentTenantGuid
.
value
);
let
currentTenant
=
res
.
data
.
tenantInfoList
?.[
0
];
getCurrentUserInfo
({
tenantGuid
:
currentTenantGuid
.
value
}).
then
((
res
:
any
)
=>
{
return
getCurrentUserInfo
({
tenantGuid
:
currentTenantGuid
.
value
}).
then
((
res
:
any
)
=>
{
console
.
log
(
res
,
'getCurrentUserInfo'
);
if
(
res
.
code
==
'00000'
)
{
userName
.
value
=
res
.
data
.
staffName
;
localStorage
.
setItem
(
'userName'
,
res
.
data
?.
staffName
);
localStorage
.
setItem
(
'userData'
,
JSON
.
stringify
(
res
.
data
));
return
getSystemMenu
({
tenantGuid
:
currentTenantGuid
.
value
}).
then
((
info
:
any
)
=>
{
//解决页面调用流程接口传递staffGuid,为空的问题
if
(
info
.
code
==
'00000'
)
{
localStorage
.
setItem
(
'userInfoData'
,
JSON
.
stringify
(
info
.
data
));
userInfoData
.
value
=
info
.
data
;
}
else
{
ElMessage
.
error
(
info
.
msg
)
}
})
}
else
{
ElMessage
.
error
(
res
.
msg
)
}
})
return
getSystemMenu
({
tenantGuid
:
currentTenantGuid
.
value
}).
then
((
info
:
any
)
=>
{
if
(
info
.
code
==
'00000'
)
{
localStorage
.
setItem
(
'userInfoData'
,
JSON
.
stringify
(
info
.
data
));
userInfoData
.
value
=
info
.
data
;
}
else
{
ElMessage
.
error
(
info
.
msg
)
}
})
}
else
{
isLogin
.
value
=
false
;
// ElMessage.error(res.msg);//授权码被重复使用,不抛出异常。
...
...
src/views/data_asset/qualityEvaluate.vue
View file @
a04a9a7
...
...
@@ -35,7 +35,7 @@ const tableFields = ref([
{
label
:
"资产名称"
,
field
:
"daName"
,
width
:
160
,
align
:
"left"
,
type
:
'text_btn'
,
value
:
'productDetail'
,
columClass
:
'text_btn'
},
{
label
:
"登记时间"
,
field
:
"registerTime"
,
width
:
120
},
// { label: "企业名称", field: "tenantName", width: 240, align: "left" },
{
label
:
"评估机构"
,
field
:
"
issuingEntit
yName"
,
width
:
250
,
align
:
"left"
},
{
label
:
"评估机构"
,
field
:
"
evaluationAgenc
yName"
,
width
:
250
,
align
:
"left"
},
{
label
:
"审批状态"
,
field
:
"approveVO"
,
type
:
"approveTag"
,
width
:
96
,
align
:
'center'
},
]);
...
...
@@ -465,6 +465,7 @@ const dialogBtnClick = (btn, info) => {
})
}
}
else
{
dialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
ElMessage
.
error
(
res
.
msg
);
}
})
...
...
src/views/data_asset/registerManagemant.vue
View file @
a04a9a7
...
...
@@ -531,31 +531,33 @@ const rejectDialogBtnClick = (btn, info) => {
</div>
<div
class=
"content_main_wrap"
>
<div
class=
"list-content"
>
<div
class=
"card-content"
:class=
"
{ active: exchangGuid == item.exchangeGuid }" v-for="item in exchangeList"
:key="item.exchangeGuid">
<div
class=
"header"
>
<img
class=
"left-img"
:src=
"(item.picUrl && typeof item.picUrl == 'string') ? item.picUrl : defaultItemLogo"
alt=
""
/>
<div
class=
"right-main"
>
<div
class=
"title"
:class=
"
{ active: exchangGuid == item.exchangeGuid }"
@click="btnClick({ value: 'search', ...item })" v-preReClick>
{{
item
.
exchangeName
??
'--'
}}
</div>
<div
class=
"count-group"
>
<div
class=
"count-item"
>
<div
class=
"item-label"
>
已登记产品数
</div>
<div
class=
"item-num"
>
{{
changeNum
(
item
.
listingNum
||
0
)
}}
</div>
</div>
<div
class=
"count-item"
>
<div
class=
"item-label"
>
审批中产品数
</div>
<div
class=
"item-num"
>
{{
changeNum
(
item
.
underReviewNum
||
0
)
}}
</div>
<template
v-for=
"(item, i) in exchangeList"
:key=
"item.exchangeGuid"
>
<div
class=
"card-content"
:class=
"
{ active: exchangGuid == item.exchangeGuid }">
<div
class=
"header"
>
<img
class=
"left-img"
:src=
"(item.picUrl && typeof item.picUrl == 'string') ? item.picUrl : defaultItemLogo"
alt=
""
/>
<div
class=
"right-main"
>
<div
class=
"title"
:class=
"
{ active: exchangGuid == item.exchangeGuid }"
@click="btnClick({ value: 'search', ...item })" v-preReClick>
{{
item
.
exchangeName
??
'--'
}}
</div>
<div
class=
"count-group"
>
<div
class=
"count-item"
>
<div
class=
"item-label"
>
已登记产品数
</div>
<div
class=
"item-num"
>
{{
changeNum
(
item
.
listingNum
||
0
)
}}
</div>
</div>
<div
class=
"count-item"
>
<div
class=
"item-label"
>
审批中产品数
</div>
<div
class=
"item-num"
>
{{
changeNum
(
item
.
underReviewNum
||
0
)
}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"operator-btn"
>
<!--
<div
class=
"left-btn borderRight"
@
click=
"btnClick(item)"
>
更新模板
</div>
-->
<div
class=
"left-btn is_block"
@
click=
"btnClick(
{ value: 'create', ...item })">资产登记
</div>
</div>
</div>
<div
class=
"operator-btn"
>
<!--
<div
class=
"left-btn borderRight"
@
click=
"btnClick(item)"
>
更新模板
</div>
-->
<div
class=
"left-btn is_block"
@
click=
"btnClick(
{ value: 'create', ...item })">资产登记
</div>
</div>
</div>
<div
v-if=
"i
< exchangeList
.
length
-
1
"
class=
"space_partition"
></div>
</
template
>
</div>
<div
class=
"table_panel_wrap"
>
<Table
:tableInfo=
"tableInfo"
@
tableBtnClick=
"tableBtnClick"
/>
...
...
@@ -727,16 +729,12 @@ const rejectDialogBtnClick = (btn, info) => {
flex-wrap
:
wrap
;
.card-content
{
width
:
calc
(
33.33
%
-
6px
);
width
:
calc
(
25
%
-
6px
);
padding
:
16px
;
box-shadow
:
0
0
0
1px
#d9d9d9
;
margin-bottom
:
8px
;
max-width
:
400px
;
+.card-content
{
margin-left
:
8px
;
}
&.active
{
box-shadow
:
0
0
0
1px
var
(
--el-color-primary
);
}
...
...
@@ -819,5 +817,9 @@ const rejectDialogBtnClick = (btn, info) => {
}
}
}
.space_partition
{
width
:
8px
;
}
}
</
style
>
...
...
src/views/data_asset/valueEvaluate.vue
View file @
a04a9a7
...
...
@@ -44,7 +44,7 @@ const tableFields = ref([
{
label
:
"资产名称"
,
field
:
"daName"
,
width
:
160
,
align
:
"left"
,
type
:
'text_btn'
,
value
:
'productDetail'
,
columClass
:
'text_btn'
},
{
label
:
"登记时间"
,
field
:
"registerTime"
,
width
:
120
},
// { label: "企业名称", field: "tenantName", width: 240, align: "left" },
{
label
:
"评估机构"
,
field
:
"
issuingEntit
yName"
,
width
:
250
,
align
:
"left"
},
{
label
:
"评估机构"
,
field
:
"
evaluationAgenc
yName"
,
width
:
250
,
align
:
"left"
},
{
label
:
"审批状态"
,
field
:
"approveState"
,
type
:
"tag"
,
width
:
96
,
align
:
'center'
,
getName
:
(
scope
)
=>
{
const
approveVO
=
scope
.
row
.
approveVO
||
{}
...
...
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