add campain key editable
This commit is contained in:
parent
e4db4a7281
commit
40ba5d0817
Binary file not shown.
@ -19,6 +19,9 @@ import com.pudonghot.yo.cms.form.BaseUpdateForm;
|
||||
@Getter
|
||||
@Setter
|
||||
public class UpdateFormCampaign extends BaseUpdateForm implements TaggableForm {
|
||||
@Trim
|
||||
@NotBlank
|
||||
private String campaignKey;
|
||||
@Trim
|
||||
@NotBlank
|
||||
private String name;
|
||||
|
@ -20,7 +20,7 @@ public class Campaign extends TaggableDomain {
|
||||
private Integer tenantId;
|
||||
@NotUpdate
|
||||
private String tenantCode;
|
||||
@NotUpdate
|
||||
@NotUpdateWhenNull
|
||||
private String campaignKey;
|
||||
private Type type;
|
||||
private DailyTime dailyFrom;
|
||||
@ -69,6 +69,5 @@ public class Campaign extends TaggableDomain {
|
||||
*/
|
||||
OVERDIAL_RATE
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{{#form-content}}
|
||||
{{form-input type='hidden' name='id'}}
|
||||
{{form-input name='campaignKey' label='活动Key' readonly=true}}
|
||||
{{form-input name='campaignKey' label='活动Key'}}
|
||||
{{form-input name='name' label='名称'}}
|
||||
{{form-input-select
|
||||
name='type'
|
||||
|
Loading…
x
Reference in New Issue
Block a user