增加动态表单自动排版配置界面的保存回显逻辑

This commit is contained in:
cuibaocheng 2021-08-11 10:17:02 +08:00
parent 7927c4c96a
commit d6c5023830
3 changed files with 18 additions and 1 deletions

View File

@ -80,6 +80,16 @@ public class CardTemplateUseDTO {
private String templateCharge; private String templateCharge;
@ApiModelProperty(name = "cardTemplateUseDispatchPhoto", value = "我的名片二维码") @ApiModelProperty(name = "cardTemplateUseDispatchPhoto", value = "我的名片二维码")
private String cardTemplateUseDispatchPhoto; private String cardTemplateUseDispatchPhoto;
@ApiModelProperty(name = "cardTemplateUseSystem", value = "系统默认名片")
private String cardTemplateUseSystem;
public String getCardTemplateUseSystem() {
return cardTemplateUseSystem == null ? "" : cardTemplateUseSystem;
}
public void setCardTemplateUseSystem(String cardTemplateUseSystem) {
this.cardTemplateUseSystem = cardTemplateUseSystem;
}
public String getCardTemplateUsePictureUrl() { public String getCardTemplateUsePictureUrl() {
return cardTemplateUsePictureUrl == null ? "" : cardTemplateUsePictureUrl; return cardTemplateUsePictureUrl == null ? "" : cardTemplateUsePictureUrl;

View File

@ -26,6 +26,7 @@
<result column="template_industry" property="templateIndustry"/> <result column="template_industry" property="templateIndustry"/>
<result column="template_charge" property="templateCharge"/> <result column="template_charge" property="templateCharge"/>
<result column="card_template_use_dispatch_photo" property="cardTemplateUseDispatchPhoto"/> <result column="card_template_use_dispatch_photo" property="cardTemplateUseDispatchPhoto"/>
<result column="card_template_use_system" property="cardTemplateUseSystem"/>
<result column="creator" property="creator"/> <result column="creator" property="creator"/>
<result column="gmt_create" property="gmtCreate"/> <result column="gmt_create" property="gmtCreate"/>
<result column="modifier" property="modifier"/> <result column="modifier" property="modifier"/>
@ -260,6 +261,7 @@
t1.template_industry, t1.template_industry,
t1.template_charge, t1.template_charge,
t1.card_template_use_dispatch_photo, t1.card_template_use_dispatch_photo,
t1.card_template_use_system,
t1.creator, t1.creator,
t1.gmt_create, t1.gmt_create,
t1.modifier, t1.modifier,
@ -296,6 +298,7 @@
t1.template_industry, t1.template_industry,
t1.template_charge, t1.template_charge,
t1.card_template_use_dispatch_photo, t1.card_template_use_dispatch_photo,
t1.card_template_use_system,
t1.creator, t1.creator,
t1.gmt_create, t1.gmt_create,
t1.modifier, t1.modifier,
@ -332,6 +335,7 @@
t1.template_industry, t1.template_industry,
t1.template_charge, t1.template_charge,
t1.card_template_use_dispatch_photo, t1.card_template_use_dispatch_photo,
t1.card_template_use_system,
t1.creator, t1.creator,
t1.gmt_create, t1.gmt_create,
t1.modifier, t1.modifier,
@ -437,6 +441,7 @@
t1.template_industry, t1.template_industry,
t1.template_charge, t1.template_charge,
t1.card_template_use_dispatch_photo, t1.card_template_use_dispatch_photo,
t1.card_template_use_system,
t1.creator, t1.creator,
t1.gmt_create, t1.gmt_create,
t1.modifier, t1.modifier,
@ -492,6 +497,7 @@
t1.card_template_use_default, t1.card_template_use_default,
t1.card_template_use_order, t1.card_template_use_order,
t1.card_template_use_dispatch_photo, t1.card_template_use_dispatch_photo,
t1.card_template_use_system,
t1.creator, t1.creator,
t1.gmt_create, t1.gmt_create,
t1.modifier, t1.modifier,
@ -542,6 +548,7 @@
t1.card_template_use_default, t1.card_template_use_default,
t1.card_template_use_order, t1.card_template_use_order,
t1.card_template_use_dispatch_photo, t1.card_template_use_dispatch_photo,
t1.card_template_use_system,
t1.creator, t1.creator,
t1.gmt_create, t1.gmt_create,
t1.modifier, t1.modifier,

View File

@ -69,7 +69,7 @@
var laydate = layui.laydate; var laydate = layui.laydate;
var common = layui.common; var common = layui.common;
var resizeTimeout = null; var resizeTimeout = null;
var tableUrl = 'api/templateconfig/listpagetemplateconfig'; var tableUrl = 'api/templateconfig/listpagetemplateconfig?templateProject=6b93f31d-7880-45ca-a9d3-ba406bfb7320';
// 初始化表格 // 初始化表格
function initTable() { function initTable() {