dev_2022-05-11
e 3 years ago
parent 45b3889b0b
commit 2ba6cb6cd5
  1. 5
      src/pages/achievement/list/index.vue
  2. 8
      src/pages/assessment/list/index.vue

@ -10,6 +10,7 @@
</el-radio-group> </el-radio-group>
<el-date-picker <el-date-picker
v-model="date" v-model="date"
@blur='pickerInput'
align="right" align="right"
unlink-panels unlink-panels
type="daterange" type="daterange"
@ -158,6 +159,7 @@ export default {
} else { } else {
this.startingtime = ""; this.startingtime = "";
this.endTime = ""; this.endTime = "";
this.month = '';
} }
this.initData(); this.initData();
}, },
@ -181,6 +183,9 @@ export default {
this.getClassData(); this.getClassData();
}, },
methods: { methods: {
pickerInput(){
this.month = '6'
},
getschoolCourse() { // getschoolCourse() { //
this.$get(this.api.schoolCourse).then(res => { this.$get(this.api.schoolCourse).then(res => {
if (res.data && res.data.length) { if (res.data && res.data.length) {

@ -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){

Loading…
Cancel
Save