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
09d02418
authored
2025-12-15 18:10:14 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修复
1 parent
bd4077bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
45 deletions
src/views/data_smart_contract/traceabilityInquiryManage.vue
src/views/data_smart_contract/traceabilityInquiryManage.vue
View file @
09d0241
...
...
@@ -42,7 +42,7 @@ const processTableInfo = ref({
id
:
"process-table"
,
rowKey
:
'guid'
,
fields
:
[
{
label
:
"序号"
,
type
:
"index"
,
width
:
TableColumnWidth
.
INDEX
,
align
:
"center"
},
//
{ label: "序号", type: "index", width: TableColumnWidth.INDEX, align: "center" },
{
label
:
"编码"
,
field
:
"code"
,
width
:
355
},
{
label
:
"名称"
,
field
:
"name"
,
width
:
160
},
{
label
:
"类型"
,
field
:
"type"
,
width
:
120
},
...
...
@@ -113,7 +113,7 @@ const handleTableExpandChange = (row: any, expandedRows: any[]) => {
}).
then
((
res
:
any
)
=>
{
detailLoading
.
value
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
const
data
=
res
.
data
||
[];
const
data
=
res
.
data
?.
records
||
[]
activities
.
value
=
[];
for
(
const
d
of
data
)
{
activities
.
value
.
push
({
...
...
@@ -150,53 +150,56 @@ const handleTableExpandChange = (row: any, expandedRows: any[]) => {
:hollow=
"activity.hollow"
:type=
"activity.type"
placement=
"top"
>
<div
class=
"list_panel"
>
<template
v-if=
"activity.info?.bizType == '合约'"
>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
合约发起方:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.contractSubmitName || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'contractSubmitName'"
></ellipsis-tooltip></span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
数据提供方:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.contractProviderName || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'contractProviderName'"
></ellipsis-tooltip></span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
数据使用方:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.contractUseName || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'contractUseName'"
></ellipsis-tooltip></span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
合约发起方:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.contractSubmitName || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'contractSubmitName'"
></ellipsis-tooltip></span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
数据提供方:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.contractProviderName || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'contractProviderName'"
></ellipsis-tooltip></span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
数据使用方:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.contractUseName || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'contractUseName'"
></ellipsis-tooltip></span>
</div>
</
template
>
<
template
v-else-if=
"activity.info?.bizType == '连接器'"
>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
连接器名称:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.bizName || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'bizName'"
></ellipsis-tooltip></span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
所属企业:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.submitter || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'submitter1'"
></ellipsis-tooltip></span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
提交时间:
</span>
<span
class=
"item_value"
>
{{
activity
.
info
?.
updateTime
||
'--'
}}
</span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
连接器名称:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.bizName || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'bizName'"
></ellipsis-tooltip></span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
所属企业:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.submitter || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'submitter1'"
></ellipsis-tooltip></span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
提交时间:
</span>
<span
class=
"item_value"
>
{{
activity
.
info
?.
updateTime
||
'--'
}}
</span>
</div>
</
template
>
<
template
v-else
>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
数据产品名称:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.bizName || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'bizName'"
></ellipsis-tooltip></span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
数据产品类型:
</span>
<span
class=
"item_value"
>
{{
activity
.
info
?.
bizType
||
'--'
}}
</span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
提交方:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.submitter || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'submitter'"
></ellipsis-tooltip></span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
数据产品名称:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.bizName || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'bizName'"
></ellipsis-tooltip></span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
数据产品类型:
</span>
<span
class=
"item_value"
>
{{
activity
.
info
?.
bizType
||
'--'
}}
</span>
</div>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
提交方:
</span>
<span
class=
"item_value"
><ellipsis-tooltip
:content=
"activity.info?.submitter || '--'"
class-name=
"w100f mr8-i"
:refName=
"'tooltipOver' + 'submitter'"
></ellipsis-tooltip></span>
</div>
</
template
>
<div
class=
"list_item"
style=
"width: 66.66%;"
>
<span
class=
"item_label"
>
区块链ID:
</span>
...
...
@@ -218,6 +221,15 @@ const handleTableExpandChange = (row: any, expandedRows: any[]) => {
</el-timeline>
</template>
</el-table-column>
<el-table-column
label=
"序号"
type=
"index"
width=
"56px"
align=
"center"
show-overflow-tooltip
>
<
template
#
default=
"scope"
>
<span>
{{
blockPage
.
curr
!==
undefined
?
(
blockPage
.
curr
-
1
)
*
blockPage
.
limit
+
scope
.
$index
+
1
:
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
v-for=
"field in processTableInfo.fields"
:prop=
"field.field"
:label=
"field.label"
:width=
"field.width"
:minWidth=
"field.minWidth"
:align=
"field.align"
show-overflow-tooltip
>
<
template
#
default=
"scope"
>
...
...
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