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
1eeb5481
authored
2026-01-09 11:31:29 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 单位
1 parent
0c852782
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
src/views/data_smart_contract/components/strategyTable.vue
src/views/data_smart_contract/components/strategyTable.vue
View file @
1eeb548
...
...
@@ -75,10 +75,14 @@
<!--
<span
style=
"color:red;margin-left: 2px;"
>
*
</span>
-->
</
template
>
<
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"
<template
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'))"
>
<el-input
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>
</
template
>
<!-- 限定连接器 -->
<el-select
v-else-if=
"!isLook && productFieldList != null && (scope.row.constraintEnName == 'limitedDeliveryConnector' || scope.row.constraintEnName == 'limitedUseConnector')"
...
...
@@ -112,12 +116,12 @@
:max-collapse-tags=
"1"
:options=
"parentAreaData"
:disabled=
"false"
@
change=
"(val) => handleOperatorSelectChange(val, scope, 'constraintAddressValue')"
>
</el-cascader>
<span
v-else
>
{{
((
scope
.
row
.
constraintEnName
==
'dataField'
)
?
<span
v-else
>
{{
scope.row.constraintEnName == 'limitedDistributeVolume' || scope.row.constraintEnName == 'limitedUsage' ? (scope.row['constraintValue'] ? (scope.row['constraintValue'] + 'KB') : '--') : (
((scope.row.constraintEnName == 'dataField') ?
scope.row.additionValue?.map(a => a.chName)?.join(',') : ((scope.row.constraintEnName ==
'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']))) || '--'
)
}}
</span>
</template>
</el-table-column>
<el-table-column
v-if=
"!isLook"
label=
"操作"
width=
"140px"
align=
"left"
fixed=
"right"
show-overflow-tooltip
>
...
...
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