|
@@ -36,6 +36,10 @@
|
|
|
<el-input v-model="form.title" placeholder="请输入活动标题" :disabled="readonly" />
|
|
<el-input v-model="form.title" placeholder="请输入活动标题" :disabled="readonly" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
+ <el-form-item label="活动简介">
|
|
|
|
|
+ <el-input v-model="form.intro" placeholder="一句话介绍活动,将展示在活动列表卡片上" maxlength="200" show-word-limit :disabled="readonly" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+
|
|
|
<el-form-item label="活动类型" prop="activityType">
|
|
<el-form-item label="活动类型" prop="activityType">
|
|
|
<el-select v-model="form.activityType" placeholder="请选择活动类型" style="width:100%" :disabled="readonly">
|
|
<el-select v-model="form.activityType" placeholder="请选择活动类型" style="width:100%" :disabled="readonly">
|
|
|
<el-option label="线下活动" value="offline" />
|
|
<el-option label="线下活动" value="offline" />
|
|
@@ -188,6 +192,7 @@ export default {
|
|
|
createdActivityId: null,
|
|
createdActivityId: null,
|
|
|
form: {
|
|
form: {
|
|
|
title: '',
|
|
title: '',
|
|
|
|
|
+ intro: '',
|
|
|
coverImage: '',
|
|
coverImage: '',
|
|
|
activityType: '',
|
|
activityType: '',
|
|
|
description: '',
|
|
description: '',
|
|
@@ -307,6 +312,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
this.form = {
|
|
this.form = {
|
|
|
title: d.title || '',
|
|
title: d.title || '',
|
|
|
|
|
+ intro: d.intro || '',
|
|
|
coverImage: d.coverImage || '',
|
|
coverImage: d.coverImage || '',
|
|
|
activityType: d.activityType || '',
|
|
activityType: d.activityType || '',
|
|
|
description: d.description || '',
|
|
description: d.description || '',
|
|
@@ -377,6 +383,7 @@ export default {
|
|
|
try {
|
|
try {
|
|
|
const payload = {
|
|
const payload = {
|
|
|
title: this.form.title,
|
|
title: this.form.title,
|
|
|
|
|
+ intro: this.form.intro,
|
|
|
coverImage: this.form.coverImage,
|
|
coverImage: this.form.coverImage,
|
|
|
activityType: this.form.activityType,
|
|
activityType: this.form.activityType,
|
|
|
description: this.form.description,
|
|
description: this.form.description,
|
|
@@ -426,6 +433,7 @@ export default {
|
|
|
this.successDialogVisible = false
|
|
this.successDialogVisible = false
|
|
|
this.form = {
|
|
this.form = {
|
|
|
title: '',
|
|
title: '',
|
|
|
|
|
+ intro: '',
|
|
|
coverImage: '',
|
|
coverImage: '',
|
|
|
activityType: '',
|
|
activityType: '',
|
|
|
description: '',
|
|
description: '',
|
|
@@ -482,6 +490,7 @@ export default {
|
|
|
// Save activity first
|
|
// Save activity first
|
|
|
const payload = {
|
|
const payload = {
|
|
|
title: this.form.title,
|
|
title: this.form.title,
|
|
|
|
|
+ intro: this.form.intro,
|
|
|
coverImage: this.form.coverImage,
|
|
coverImage: this.form.coverImage,
|
|
|
activityType: this.form.activityType,
|
|
activityType: this.form.activityType,
|
|
|
description: this.form.description,
|
|
description: this.form.description,
|