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
df7efe30
authored
2025-12-02 11:44:19 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改策略模板
1 parent
d4f5564d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/data_smart_contract/components/strategyTable.vue
src/views/data_smart_contract/components/strategyTable.vue
View file @
df7efe3
...
...
@@ -18,7 +18,7 @@
@
change=
"(val) => selectOperationChange(val, scope)"
clearable
filterable
>
<!-- 合约模板时不可以设置这个属性,只能在合约创建时设置 -->
<el-option
v-for=
"opt in actionOptionsList.filter(a => scope.row.action == a.policyName || !strategyData.some(s => s.action == a.policyName)
|| ((a.policyEnName == 'limitField' || a.policyEnName == 'limitedDeliveryConnector' || a.policyEnName == 'limitedUseConnector') && productFieldList != null)
)"
v-for=
"opt in actionOptionsList.filter(a => scope.row.action == a.policyName || !strategyData.some(s => s.action == a.policyName))"
:key=
"opt['policyName']"
:label=
"opt['policyName']"
:value=
"opt['policyName']"
/>
</el-select>
<span
v-else
>
{{
scope
.
row
[
'action'
]
||
'--'
}}
</span>
...
...
@@ -40,7 +40,7 @@
<
template
#
default=
"scope"
>
<el-select
v-if=
"!isLook"
v-model=
"scope.row['constraintName']"
placeholder=
"请选择"
:disabled=
"isLook"
@
change=
"(val) => selectConditionChange(val, scope)"
clearable
filterable
>
<el-option
v-for=
"opt in
constraintOptionsList
"
:key=
"opt['policyName']"
:label=
"opt['policyName']"
<el-option
v-for=
"opt in
productFieldList == null ? constraintOptionsList : constraintOptionsList.filter(a => !(a.policyEnName == 'limitField' || a.policyEnName == 'limitedDeliveryConnector' || a.policyEnName == 'limitedUseConnector'))
"
:key=
"opt['policyName']"
:label=
"opt['policyName']"
:value=
"opt['policyName']"
/>
</el-select>
<span
v-else
>
{{
scope
.
row
[
'constraintName'
]
||
'--'
}}
</span>
...
...
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