|
|
@ -8,7 +8,7 @@ |
|
|
|
<el-radio-group v-model="form.month" @change="initData"> |
|
|
|
<el-radio-group v-model="form.month" @change="initData"> |
|
|
|
<el-radio v-for="(item,index) in dateList" :key="index" :label="item.id" border>{{ item.name }}</el-radio> |
|
|
|
<el-radio v-for="(item,index) in dateList" :key="index" :label="item.id" border>{{ item.name }}</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-radio-group> |
|
|
|
<el-date-picker v-model="date" align="right" unlink-panels type="daterange" style="width: 300px;margin-left: 10px;" start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" clearable></el-date-picker> |
|
|
|
<el-date-picker v-model="date" @blur='pickerInput' align="right" unlink-panels type="daterange" style="width: 300px;margin-left: 10px;" start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" clearable></el-date-picker> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>发布类型</label> |
|
|
|
<label>发布类型</label> |
|
|
@ -204,10 +204,10 @@ export default { |
|
|
|
if (val) { |
|
|
|
if (val) { |
|
|
|
this.form.startTime = val[0]; |
|
|
|
this.form.startTime = val[0]; |
|
|
|
this.form.endTime = val[1]; |
|
|
|
this.form.endTime = val[1]; |
|
|
|
// this.form.month = '' |
|
|
|
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.form.startTime = ""; |
|
|
|
this.form.startTime = ""; |
|
|
|
this.form.endTime = ""; |
|
|
|
this.form.endTime = ""; |
|
|
|
|
|
|
|
this.form.month = ''; |
|
|
|
} |
|
|
|
} |
|
|
|
this.initData(); |
|
|
|
this.initData(); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -229,6 +229,10 @@ export default { |
|
|
|
this.getschoolCourse(); |
|
|
|
this.getschoolCourse(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
pickerInput(){ |
|
|
|
|
|
|
|
console.log(this.date) |
|
|
|
|
|
|
|
this.form.month = '6' |
|
|
|
|
|
|
|
}, |
|
|
|
beginTimer() { |
|
|
|
beginTimer() { |
|
|
|
this.ticker = setInterval(() => { |
|
|
|
this.ticker = setInterval(() => { |
|
|
|
if(this.sss == 0){ |
|
|
|
if(this.sss == 0){ |
|
|
|