f85444a4 by lihua

添加数据使用量和分发数据量的单位

1 parent daeceb57
...@@ -77,8 +77,9 @@ ...@@ -77,8 +77,9 @@
77 <template #default="scope"> 77 <template #default="scope">
78 <el-input 78 <el-input
79 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'))" 79 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'))"
80 v-model="scope.row['constraintValue']" placeholder="请输入" :maxlength="200" 80 v-model="scope.row['constraintValue']" placeholder="请输入" :maxlength="200" :class="scope.row.constraintEnName == 'limitedDistributeVolume' || scope.row.constraintEnName == 'limitedUsage' ? 'wid-left-input' : ''"
81 @change="(val) => handleOperatorSelectChange(val, scope, 'constraintValue')" clearable></el-input> 81 @change="(val) => handleOperatorSelectChange(val, scope, 'constraintValue')" clearable></el-input>
82 <span v-if="scope.row.constraintEnName == 'limitedDistributeVolume' || scope.row.constraintEnName == 'limitedUsage'">KB</span>
82 <!-- 限定连接器 --> 83 <!-- 限定连接器 -->
83 <el-select 84 <el-select
84 v-else-if="!isLook && productFieldList != null && (scope.row.constraintEnName == 'limitedDeliveryConnector' || scope.row.constraintEnName == 'limitedUseConnector')" 85 v-else-if="!isLook && productFieldList != null && (scope.row.constraintEnName == 'limitedDeliveryConnector' || scope.row.constraintEnName == 'limitedUseConnector')"
...@@ -117,7 +118,7 @@ ...@@ -117,7 +118,7 @@
117 'limitedDeliveryConnector' || scope.row.constraintEnName == 'limitedUseConnector') ? 118 'limitedDeliveryConnector' || scope.row.constraintEnName == 'limitedUseConnector') ?
118 scope.row.additionValue?.map(a => a.tenantName)?.join(',') : (scope.row.constraintEnName == 'limitedState' || 119 scope.row.additionValue?.map(a => a.tenantName)?.join(',') : (scope.row.constraintEnName == 'limitedState' ||
119 scope.row.constraintEnName == 'areaAddress' ? scope.row.additionValue?.map(a => a.label)?.join(',') : 120 scope.row.constraintEnName == 'areaAddress' ? scope.row.additionValue?.map(a => a.label)?.join(',') :
120 scope.row['constraintValue']))) || '--'}}</span> 121 (scope.row['constraintValue'] + (scope.row.constraintEnName == 'limitedDistributeVolume' || scope.row.constraintEnName == 'limitedUsage' ? 'KB' : '') )))) || '--'}}</span>
121 </template> 122 </template>
122 </el-table-column> 123 </el-table-column>
123 <el-table-column v-if="!isLook" label="操作" width="140px" align="left" fixed="right" show-overflow-tooltip> 124 <el-table-column v-if="!isLook" label="操作" width="140px" align="left" fixed="right" show-overflow-tooltip>
...@@ -822,4 +823,9 @@ defineExpose({ ...@@ -822,4 +823,9 @@ defineExpose({
822 font-weight: 600; 823 font-weight: 600;
823 margin-right: 8px; 824 margin-right: 8px;
824 } 825 }
826
827 .wid-left-input {
828 width: calc(100% - 18px) !important;
829 margin-right: 2px;
830 }
825 </style> 831 </style>
...\ No newline at end of file ...\ No newline at end of file
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!