Commit a4a69c38 authored by szh's avatar szh

update

parent bfc39a97
......@@ -13,6 +13,7 @@ type CourseAction struct {
Cid *int `json:"cid" form:"cid" gorm:"column:cid;comment:课程;size:10;"`
ActionBanner string `json:"actionBanner" form:"actionBanner" gorm:"column:action_banner;NOT NULL;comment:活动图;size:128;"`
ActionName string `json:"actionName" form:"actionName" gorm:"column:action_name;NOT NULL;comment:活动名称;size:128;"`
ActionDesc string `json:"actionDesc" form:"actionDesc" gorm:"column:action_desc;type:text;comment:活动描述;;"`
ActionStart *time.Time `json:"actionStart" form:"actionStart" gorm:"column:action_start;NOT NULL;comment:活动开始时间;"`
ActionEnd *time.Time `json:"actionEnd" form:"actionEnd" gorm:"column:action_end;NOT NULL;comment:活动结束时间;"`
IsShow *bool `json:"isShow" form:"isShow" gorm:"column:is_show;comment:上下线;"`
......
......@@ -98,6 +98,9 @@
<el-form-item label="活动名称:" prop="actionName" >
<el-input v-model="formData.actionName" :clearable="true" placeholder="请输入" />
</el-form-item>
<el-form-item label="活动详情:" prop="actionDesc" >
<el-input v-model="formData.actionDesc" :clearable="true" type="textarea" placeholder="请输入" />
</el-form-item>
<el-form-item label="开始时间:" prop="actionStart" >
<el-date-picker v-model="formData.actionStart" type="date" style="width:100%" placeholder="选择日期" :clearable="true" />
</el-form-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment