Commit 1da450b9 authored by zhengke's avatar zhengke

修改

parent 634682bc
...@@ -31,9 +31,15 @@ ...@@ -31,9 +31,15 @@
<div class="col-3"> <div class="col-3">
<q-field filled> <q-field filled>
 <template v-slot:control>  <template v-slot:control>
<el-date-picker v-model="dateList" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange" style="border:none;" <el-date-picker v-model="msg.StartTime" type="date" placeholder="报名开始时间" size="small" style="width:47%;"
@change="resetSearch" clear-icon="iconfont icon-guanbi">
</el-date-picker>
<el-date-picker v-model="msg.EndTime" type="date" placeholder="报名结束时间" size="small" style="width:47%;"
@change="resetSearch" clear-icon="iconfont icon-guanbi">
</el-date-picker>
<!-- <el-date-picker v-model="dateList" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange" style="border:none;"
 range-separator="至"  start-placeholder="报名开始时间"  end-placeholder="报名结束时间">  range-separator="至"  start-placeholder="报名开始时间"  end-placeholder="报名结束时间">
 </el-date-picker>         </el-date-picker>        -->
</template> </template>
</q-field> </q-field>
</div> </div>
...@@ -191,8 +197,7 @@ ...@@ -191,8 +197,7 @@
var month = nowDay.getMonth() + 1; //月 var month = nowDay.getMonth() + 1; //月
var day = nowDay.getDate(); //日 var day = nowDay.getDate(); //日
var currentDay = year + '-' + month + '-' + day; var currentDay = year + '-' + month + '-' + day;
this.dateList[0] = currentDay this.msg.StartTime = currentDay
this.dateList[1] = currentDay
this.getOrderState(); this.getOrderState();
this.getCourseList(); this.getCourseList();
...@@ -249,13 +254,13 @@ ...@@ -249,13 +254,13 @@
}, },
//获取菜单分页列表 //获取菜单分页列表
getList() { getList() {
if (this.dateList && this.dateList.length > 0) { // if (this.dateList && this.dateList.length > 0) {
this.msg.StartTime = this.dateList[0]; // this.msg.StartTime = this.dateList[0];
this.msg.EndTime = this.dateList[1]; // this.msg.EndTime = this.dateList[1];
} else { // } else {
this.msg.StartTime = ''; // this.msg.StartTime = '';
this.msg.EndTime = ''; // this.msg.EndTime = '';
} // }
if (this.dateList2 && this.dateList2.length > 0) { if (this.dateList2 && this.dateList2.length > 0) {
this.msg.OPStartTime = this.dateList2[0]; this.msg.OPStartTime = this.dateList2[0];
this.msg.OPEndTime = this.dateList2[1]; this.msg.OPEndTime = this.dateList2[1];
...@@ -376,5 +381,9 @@ ...@@ -376,5 +381,9 @@
font-weight: 600; font-weight: 600;
margin-right: 20px margin-right: 20px
} }
.myOrder .el-input__inner {
border: none !important;
background: transparent !important;
}
</style> </style>
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