From b5be22af264a3ab36270b362e1cd84afa4942fa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=95=B8=E9=9D=9E?= <8153694@qq.com> Date: Mon, 10 Feb 2025 11:37:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=E8=A1=A8=E5=8D=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../formdesign/component/DesignDynamicTableComponent.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fill-manager/src/main/java/com/mortals/xhx/common/formdesign/component/DesignDynamicTableComponent.java b/fill-manager/src/main/java/com/mortals/xhx/common/formdesign/component/DesignDynamicTableComponent.java index 5e0937b..02c03bb 100644 --- a/fill-manager/src/main/java/com/mortals/xhx/common/formdesign/component/DesignDynamicTableComponent.java +++ b/fill-manager/src/main/java/com/mortals/xhx/common/formdesign/component/DesignDynamicTableComponent.java @@ -2,11 +2,13 @@ package com.mortals.xhx.common.formdesign.component; import cn.hutool.core.util.IdUtil; import cn.hutool.core.util.StrUtil; +import com.alibaba.fastjson.JSON; import com.google.common.collect.Lists; import com.mortals.xhx.common.code.ComponentEnum; import com.mortals.xhx.common.formdesign.*; import com.mortals.xhx.common.pdu.gen.component.ComponentCons; import com.mortals.xhx.common.utils.StringUtils; +import lombok.extern.slf4j.Slf4j; import org.springframework.util.ObjectUtils; import java.util.ArrayList; @@ -20,6 +22,7 @@ import java.util.stream.Collectors; * @date: 2021/10/26 10:35 * @description: **/ +@Slf4j public class DesignDynamicTableComponent extends DesignComponent { public DesignDynamicTableComponent(String type) { @@ -136,6 +139,9 @@ public class DesignDynamicTableComponent extends DesignComponent { initDefaultSelectValue(item, columnsItem); }else if(item.getColType().equals(ComponentEnum.RADIO.getValue())){ + + log.info("radio:{}", JSON.toJSONString(item)); + columnsItem.setCompType("radio"); columnsItem.setCompName(item.getLabel()); columnsItem.setCompIcon("radio"); -- 2.24.3