Commit 47adca74 authored by zhengke's avatar zhengke

1

parent b79ae291
...@@ -29,10 +29,10 @@ ...@@ -29,10 +29,10 @@
<div class="col-3 Sysuser_Date"> <div class="col-3 Sysuser_Date">
<q-field filled> <q-field filled>
 <template v-slot:control>  <template v-slot:control>
<el-date-picker v-model="msg.StartDate" type="date" placeholder="开始日期" size="small" style="width:47%;" <el-date-picker v-model="msg.StartDate" type="date" placeholder="开始日期" value-format="yyyy-MM-dd" size="small" style="width:47%;"
@change="refreshPage" clear-icon="iconfont icon-guanbi"> @change="refreshPage" clear-icon="iconfont icon-guanbi">
</el-date-picker> </el-date-picker>
<el-date-picker v-model="msg.EndDate" type="date" placeholder="结束日期" size="small" style="width:47%;" <el-date-picker v-model="msg.EndDate" type="date" placeholder="结束日期" value-format="yyyy-MM-dd" size="small" style="width:47%;"
@change="refreshPage" clear-icon="iconfont icon-guanbi"> @change="refreshPage" clear-icon="iconfont icon-guanbi">
</el-date-picker> </el-date-picker>
</template> </template>
...@@ -198,6 +198,12 @@ ...@@ -198,6 +198,12 @@
}, },
mounted() { mounted() {
let nowDay = new Date();
var year = nowDay.getFullYear(); //年
var month = nowDay.getMonth() + 1; //月
var day = nowDay.getDate(); //日
var currentDay = year + '-' + month + '-' + day;
this.msg.StartDate = currentDay
this.getAbsentPage(); this.getAbsentPage();
}, },
methods: { methods: {
......
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