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
6a5239c6
authored
2025-03-14 09:52:24 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
详情展示主平台审批驳回
1 parent
0d1dd547
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
35 deletions
src/views/data_asset/registerCatalogDetail.vue
src/views/data_asset/registerDetail.vue
src/views/data_product/productListingDetail.vue
src/views/data_asset/registerCatalogDetail.vue
View file @
6a5239c
...
...
@@ -20,6 +20,7 @@ import { changeNum } from '@/utils/common'
import
{
ElMessage
,
ElMessageBox
}
from
"element-plus"
;
import
{
passFlowData
,
rejectFlowData
,
revokeFlowData
,
isMyFirstNode
}
from
"@/api/modules/workFlowService"
;
import
{
onUploadFilePreview
,
onUploadFileDownload
}
from
'@/api/modules/common'
;
import
{
CircleCloseFilled
}
from
'@element-plus/icons-vue'
const
router
=
useRouter
();
const
route
=
useRoute
();
...
...
@@ -891,6 +892,23 @@ const handleClick = () => {
<div
class=
"main-content"
v-loading=
"fullscreenLoading"
>
<div
class=
"detail-content"
:style=
"
{ height: detailType == 'qualityEvaluate' || 'costAssess' ? 'calc(100% - 44px)' : '100%' }">
<div
v-if=
"detailType == 'qualityEvaluate' && (evaDetailInfo.crossPlatformApproveState == 'R' || evaDetailInfo.crossPlatformApproveState == 'E')"
:class=
"['panel_wrap', 'results_panel', 'reject']"
>
<div
class=
"panel_header"
>
<div
class=
"header_title"
v-if=
"evaDetailInfo.crossPlatformApproveState == 'R'"
>
<el-icon
class=
"title-icon"
>
<CircleCloseFilled
/>
</el-icon>
<span
class=
"title_text"
>
主平台审批已驳回,请在列表页面查看具体驳回原因
</span>
</div>
<div
class=
"header_title"
v-else-if=
"evaDetailInfo.crossPlatformApproveState == 'E'"
>
<el-icon
class=
"title-icon"
>
<CircleCloseFilled
/>
</el-icon>
<span
class=
"title_text"
>
主平台审批发起失败,请在列表页面查看具体发起失败原因
</span>
</div>
</div>
</div>
<div
class=
"header"
>
<div
class=
"left-img"
></div>
<div
class=
"right-main"
>
...
...
src/views/data_asset/registerDetail.vue
View file @
6a5239c
...
...
@@ -1151,6 +1151,23 @@ const passCommonDialogBtnClick = (btn, info) => {
<Tabs
:tab-position=
"'right'"
:tabsInfo=
"tabsInfo"
@
tabClick=
"tabsClick"
/>
</div>
<div
class=
"main-wrap"
ref=
"contentRef"
>
<div
v-if=
"(detailType == 'asset' || detailType == 'qualityEvaluate') && (detailInfo.crossPlatformApproveState == 'R' || detailInfo.crossPlatformApproveState == 'E')"
:class=
"['panel_wrap', 'results_panel', 'reject']"
>
<div
class=
"panel_header"
>
<div
class=
"header_title"
v-if=
"detailInfo.crossPlatformApproveState == 'R'"
>
<el-icon
class=
"title-icon"
>
<CircleCloseFilled
/>
</el-icon>
<span
class=
"title_text"
>
主平台审批已驳回,请在列表页面查看具体驳回原因
</span>
</div>
<div
class=
"header_title"
v-else-if=
"detailInfo.crossPlatformApproveState == 'E'"
>
<el-icon
class=
"title-icon"
>
<CircleCloseFilled
/>
</el-icon>
<span
class=
"title_text"
>
主平台审批发起失败,请在列表页面查看具体发起失败原因
</span>
</div>
</div>
</div>
<div
class=
"base-info-main"
id=
"id-baseInfo"
>
<div
class=
"header"
>
<div
class=
"left-img"
></div>
...
...
src/views/data_product/productListingDetail.vue
View file @
6a5239c
...
...
@@ -1883,48 +1883,20 @@ const rejectDialogBtnClick = (btn, info) => {
<
template
>
<div
class=
"container_wrap"
v-loading=
"flowDetailLoading"
>
<div
class=
"content_main"
>
<div
v-if=
"
detailType == 'check
'"
:class=
"['panel_wrap', 'results_panel', flowDetail.approveState == 'Y' ? 'success' : (flowDetail.approveState == 'R' ? 'reject' : (flowDetail.approveState == 'C' ? 'revoke' : 'audit'))
]"
>
<div
v-if=
"
flowDetail.crossPlatformApproveState == 'R' || flowDetail.crossPlatformApproveState == 'E
'"
:class=
"['panel_wrap', 'results_panel', 'reject'
]"
>
<div
class=
"panel_header"
>
<div
class=
"header_title"
v-if=
"flowDetail.approveState == 'Y'"
>
<el-icon
class=
"title-icon"
>
<svg-icon
name=
"icon-success"
/>
</el-icon>
<span
class=
"title_text"
>
审批通过
</span>
</div>
<div
class=
"header_title"
v-else-if=
"flowDetail.approveState == 'R'"
>
<div
class=
"header_title"
v-if=
"flowDetail.crossPlatformApproveState == 'R'"
>
<el-icon
class=
"title-icon"
>
<CircleCloseFilled
/>
</el-icon>
<span
class=
"title_text"
>
审批被驳回
</span>
<span
class=
"title_text"
>
主平台审批已驳回,请在列表页面查看具体驳回原因
</span>
</div>
<div
class=
"header_title"
v-else-if=
"flowDetail.approveState == 'A
'"
>
<div
class=
"header_title"
v-else-if=
"flowDetail.crossPlatformApproveState == 'E
'"
>
<el-icon
class=
"title-icon"
>
<svg-icon
name=
"icon-audit"
/>
</el-icon>
<span
class=
"title_text"
>
待审批
</span>
</div>
<div
class=
"header_title"
v-else-if=
"flowDetail.approveState == 'C'"
>
<el-icon
class=
"title-icon"
>
<svg-icon
name=
"icon-revoke"
/>
<CircleCloseFilled
/>
</el-icon>
<span
class=
"title_text"
>
已撤销
</span>
</div>
</div>
<div
class=
"panel_body"
v-if=
"flowDetail.approveState != 'A' && flowDetail.approveState != 'C'"
>
<div
class=
"results_list"
>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
审批人:
</span>
<span
class=
"item_value"
>
{{
approveTableInfo
.
data
.
at
(
-
1
)?.
approvedTenantName
||
'--'
}}
</span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
审批时间:
</span>
<span
class=
"item_value"
>
{{
approveTableInfo
.
data
.
at
(
-
1
)?.
approveTime
||
'--'
}}
</span>
</div>
<div
class=
"list_item"
v-if=
"flowDetail.approveState == 'R'"
>
<span
class=
"item_label"
>
审批意见:
</span>
<span
class=
"item_value"
>
{{
approveTableInfo
.
data
.
at
(
-
1
)?.
approveSuggest
||
'--'
}}
</span>
</div>
<span
class=
"title_text"
>
主平台审批发起失败,请在列表页面查看具体发起失败原因
</span>
</div>
</div>
</div>
...
...
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