修改策略模板
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
| 18 | @change="(val) => selectOperationChange(val, scope)" clearable filterable> | 18 | @change="(val) => selectOperationChange(val, scope)" clearable filterable> |
| 19 | <!-- 合约模板时不可以设置这个属性,只能在合约创建时设置 --> | 19 | <!-- 合约模板时不可以设置这个属性,只能在合约创建时设置 --> |
| 20 | <el-option | 20 | <el-option |
| 21 | 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))" | 21 | v-for="opt in actionOptionsList.filter(a => scope.row.action == a.policyName || !strategyData.some(s => s.action == a.policyName))" |
| 22 | :key="opt['policyName']" :label="opt['policyName']" :value="opt['policyName']" /> | 22 | :key="opt['policyName']" :label="opt['policyName']" :value="opt['policyName']" /> |
| 23 | </el-select> | 23 | </el-select> |
| 24 | <span v-else>{{ scope.row['action'] || '--' }}</span> | 24 | <span v-else>{{ scope.row['action'] || '--' }}</span> |
| ... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
| 40 | <template #default="scope"> | 40 | <template #default="scope"> |
| 41 | <el-select v-if="!isLook" v-model="scope.row['constraintName']" placeholder="请选择" :disabled="isLook" | 41 | <el-select v-if="!isLook" v-model="scope.row['constraintName']" placeholder="请选择" :disabled="isLook" |
| 42 | @change="(val) => selectConditionChange(val, scope)" clearable filterable> | 42 | @change="(val) => selectConditionChange(val, scope)" clearable filterable> |
| 43 | <el-option v-for="opt in constraintOptionsList" :key="opt['policyName']" :label="opt['policyName']" | 43 | <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']" |
| 44 | :value="opt['policyName']" /> | 44 | :value="opt['policyName']" /> |
| 45 | </el-select> | 45 | </el-select> |
| 46 | <span v-else>{{ scope.row['constraintName'] || '--' }}</span> | 46 | <span v-else>{{ scope.row['constraintName'] || '--' }}</span> | ... | ... |
-
Please register or sign in to post a comment