|
|
@@ -28,26 +28,12 @@
|
|
|
<div v-show="showMore">
|
|
|
<el-card shadow="hover" :body-style="{ padding: '20px' }" style="margin-bottom: 20px">
|
|
|
<el-row :gutter="15">
|
|
|
- <el-col :span="12" :offset="0">
|
|
|
- <el-form-item label="活动日期" prop="dateRange" v-if="performance.online">
|
|
|
- <el-date-picker
|
|
|
- v-model="dateRange"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- type="daterange"
|
|
|
- range-separator="至"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期"
|
|
|
- style="width: 316px"
|
|
|
- >
|
|
|
- </el-date-picker>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
<el-col :span="12" :offset="0">
|
|
|
<el-form-item
|
|
|
prop="address"
|
|
|
class="flex"
|
|
|
label="活动地点"
|
|
|
- style="width: 100%"
|
|
|
+ style="width: 467px"
|
|
|
v-if="performance.online"
|
|
|
>
|
|
|
<el-select v-model="form.address">
|
|
|
@@ -60,6 +46,19 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="6" :offset="0">
|
|
|
+ <el-form-item class="flex" label="分组节目数量" prop="quantity">
|
|
|
+ <el-input-number type="number" v-model="form.quantity"></el-input-number>
|
|
|
+ <!-- <el-select v-model="form.quantity" clearable>
|
|
|
+ <el-option
|
|
|
+ v-for="item in nums"
|
|
|
+ :key="item"
|
|
|
+ :label="item"
|
|
|
+ :value="item"
|
|
|
+ ></el-option>
|
|
|
+ </el-select> -->
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="时间安排" prop="morning" v-if="performance.online">
|
|
|
<el-checkbox v-model="form.morning" disabled>上午</el-checkbox>
|
|
|
@@ -90,20 +89,6 @@
|
|
|
</el-time-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
-
|
|
|
- <el-col :span="6" :offset="0">
|
|
|
- <el-form-item class="flex" label="分组节目数量" prop="quantity">
|
|
|
- <el-input-number type="number" v-model="form.quantity"></el-input-number>
|
|
|
- <!-- <el-select v-model="form.quantity" clearable>
|
|
|
- <el-option
|
|
|
- v-for="item in nums"
|
|
|
- :key="item"
|
|
|
- :label="item"
|
|
|
- :value="item"
|
|
|
- ></el-option>
|
|
|
- </el-select> -->
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
<el-col :span="6" :offset="0">
|
|
|
<el-form-item
|
|
|
class="flex"
|
|
|
@@ -165,6 +150,20 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="12" :offset="0">
|
|
|
+ <el-form-item label="活动日期" prop="dateRange" v-if="performance.online">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="dateRange"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ type="daterange"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="开始日期"
|
|
|
+ end-placeholder="结束日期"
|
|
|
+ style="width: 316px"
|
|
|
+ >
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
|
|
|
<el-form-item style="margin-left: 40px">
|
|
|
@@ -569,7 +568,6 @@ export default {
|
|
|
},
|
|
|
submitOffline() {
|
|
|
let data = { ...this.form };
|
|
|
-
|
|
|
this.saving = true;
|
|
|
this.$http
|
|
|
.post('/arrange/group', data, { body: 'json' })
|
|
|
@@ -668,6 +666,12 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+/deep/ .el-form-item__label {
|
|
|
+ width: 150px !important;
|
|
|
+}
|
|
|
+/deep/ .el-card__body {
|
|
|
+ padding: 20px 0 !important;
|
|
|
+}
|
|
|
.time {
|
|
|
width: 120px;
|
|
|
margin-left: 15px;
|