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
74bbc7cd
authored
2026-01-09 11:15:23 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加数据使用量和分发数据量的单位
1 parent
8b040654
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
src/views/data_smart_contract/components/strategyTable.vue
src/views/data_smart_contract/components/strategyTable.vue
View file @
74bbc7c
...
...
@@ -77,8 +77,9 @@
<
template
#
default=
"scope"
>
<el-input
v-if=
"!isLook && !(productFieldList != null && (scope.row.constraintEnName == 'limitedDeliveryConnector' || scope.row.constraintEnName == 'limitedUseConnector' || scope.row.constraintEnName == 'dataField' || scope.row.constraintEnName == 'limitedState' || scope.row.constraintEnName == 'areaAddress'))"
v-model=
"scope.row['constraintValue']"
placeholder=
"请输入"
:maxlength=
"200"
v-model=
"scope.row['constraintValue']"
placeholder=
"请输入"
:maxlength=
"200"
:class=
"scope.row.constraintEnName == 'limitedDistributeVolume' || scope.row.constraintEnName == 'limitedUsage' ? 'wid-left-input' : ''"
@
change=
"(val) => handleOperatorSelectChange(val, scope, 'constraintValue')"
clearable
></el-input>
<span
v-if=
"scope.row.constraintEnName == 'limitedDistributeVolume' || scope.row.constraintEnName == 'limitedUsage'"
>
KB
</span>
<!-- 限定连接器 -->
<el-select
v-else-if=
"!isLook && productFieldList != null && (scope.row.constraintEnName == 'limitedDeliveryConnector' || scope.row.constraintEnName == 'limitedUseConnector')"
...
...
@@ -117,7 +118,7 @@
'limitedDeliveryConnector'
||
scope
.
row
.
constraintEnName
==
'limitedUseConnector'
)
?
scope
.
row
.
additionValue
?.
map
(
a
=>
a
.
tenantName
)?.
join
(
','
)
:
(
scope
.
row
.
constraintEnName
==
'limitedState'
||
scope
.
row
.
constraintEnName
==
'areaAddress'
?
scope
.
row
.
additionValue
?.
map
(
a
=>
a
.
label
)?.
join
(
','
)
:
scope
.
row
[
'constraintValue'
]
)))
||
'--'
}}
</span>
(
scope
.
row
[
'constraintValue'
]
+
(
scope
.
row
.
constraintEnName
==
'limitedDistributeVolume'
||
scope
.
row
.
constraintEnName
==
'limitedUsage'
?
'KB'
:
''
)
)
)))
||
'--'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
v-if=
"!isLook"
label=
"操作"
width=
"140px"
align=
"left"
fixed=
"right"
show-overflow-tooltip
>
...
...
@@ -822,4 +823,9 @@ defineExpose({
font-weight
:
600
;
margin-right
:
8px
;
}
.wid-left-input
{
width
:
calc
(
100%
-
18px
)
!important
;
margin-right
:
2px
;
}
</
style
>
\ No newline at end of file
...
...
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