Commit 6c284f92 authored by 黄奎's avatar 黄奎

1

parent 5fa50759
<template>
<div>
<div class="query-box" style="border-bottom: none;">
<ul>
<li><span><em>{{$t('pub.date')}}</em>
<el-date-picker v-model="msg.MonthStr" type="month" placeholder="选择月" format="yyyy-MM" value-format="yyyy-MM">
</el-date-picker>
</span>
</li>
<li>
<input type="button" class="normalBtn" :value="$t('pub.searchBtn')" @click="getList()" />
</li>
</ul>
</div>
<div style="width: 100%; overflow-x: auto;padding-bottom: 10px; margin-top: 10px; " class="ownScrollbarStyle">
</div>
</div>
</template>
<script>
export default {
data() {
return {
loading: false,
msg: {
MonthStr: "",
},
dataList: [],
}
},
components: {
},
methods: {
getList() {
this.loading = true;
this.apipost('travel_post_GetTripCarPlanList', this.msg, res => {
this.loading = false;
console.log("travel_post_GetTripCarPlanList", res)
if (res.data.resultCode == 1) {
} else {
this.Error(res.data.message);
}
})
},
},
mounted() {
let myDate = new Date();
let nowDate =
myDate.getFullYear() +
"-" +
parseInt(myDate.getMonth() + 1);
this.msg.MonthStr = nowDate;
this.getList();
},
}
</script>
<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