Merge remote-tracking branch 'yudao/feature/iot' into feature/iot

This commit is contained in:
puhui999
2025-08-02 11:44:24 +08:00
140 changed files with 2747 additions and 2464 deletions

View File

@ -13,8 +13,8 @@
</div>
<span>附加条件组</span>
</div>
<el-tag size="small" type="success">主条件为且关系</el-tag>
<el-tag size="small" type="info"> {{ modelValue?.length || 0 }}个子条件组 </el-tag>
<el-tag size="small" type="success">主条件为且关系</el-tag>
<el-tag size="small" type="info"> {{ modelValue?.length || 0 }} 个子条件组 </el-tag>
</div>
<div class="flex items-center gap-8px">
<el-button
@ -140,9 +140,10 @@ const emit = defineEmits<{
const container = useVModel(props, 'modelValue', emit)
// TODO @puhui999这个限制去掉好了
// 配置常量
const maxSubGroups = 3 // 最多3个子条件组
const maxConditionsPerGroup = 3 // 每组最多3个条件
const maxSubGroups = 3 // 最多 3 个子条件组
const maxConditionsPerGroup = 3 // 每组最多 3 个条件
// 验证状态
const subGroupValidations = ref<{ [key: number]: { valid: boolean; message: string } }>({})