|
@@ -7,7 +7,7 @@
|
|
|
<el-date-picker :value-format="'YYYY-MM-DD'" v-model="endDate" type="date" placeholder="选择日期"></el-date-picker>
|
|
|
<el-button style="margin-left:10px;display:none;" @click="impquery">查询</el-button>
|
|
|
<el-button style="margin-left:10px" @click="impdata">导出</el-button>
|
|
|
- </span>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
<div style="height: 650px;width: 100%;background-color: rgb(237 237 237 / 23%);margin-top: 10px;display:none;">
|
|
|
<table class="titletable" cellspacing="0" cellpadding="0">
|
|
@@ -61,7 +61,7 @@
|
|
|
.el-input__wrapper input{
|
|
|
border:0px !important;
|
|
|
color:#fff;
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
</style>
|
|
|
<script>
|
|
@@ -76,7 +76,7 @@
|
|
|
type:Object
|
|
|
}
|
|
|
},
|
|
|
- setup(props,{emit}){
|
|
|
+ setup(props,{emit}){
|
|
|
const width=ref(500);
|
|
|
let startDate=ref('');
|
|
|
let endDate = ref('');
|
|
@@ -104,8 +104,8 @@
|
|
|
day=day.setDate(day.getDate()-1);
|
|
|
}
|
|
|
var day1 = new Date().setDate(new Date(day).getDate()-7);
|
|
|
- startDate.value = new Date(day1);
|
|
|
- endDate.value =new Date(day);
|
|
|
+ startDate.value = new Date(day1).Format('yyyy-MM-dd');
|
|
|
+ endDate.value =new Date(day).Format('yyyy-MM-dd');
|
|
|
})
|
|
|
|
|
|
return{
|
|
@@ -118,4 +118,4 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-</script>
|
|
|
+</script>
|