|
@@ -95,7 +95,7 @@
|
|
|
},
|
|
|
handleClick(row){
|
|
|
window.sessionStorage.setItem("antiSpoofingSearchParams", JSON.stringify({
|
|
|
- queryTime:[this.$formatDate(this.searchList[0].value, "YYYY-MM"), this.$formatDate(this.searchList[1].value, "YYYY-MM")],
|
|
|
+ queryTime:[this.$formatDate(this.searchList[0].value, "YYYY-MM") + '-01', this.$formatDate(this.searchList[1].value, "YYYY-MM") + '-01'],
|
|
|
city:row.cityName
|
|
|
}))
|
|
|
this.$router.push({
|
|
@@ -105,8 +105,8 @@
|
|
|
//搜索数据
|
|
|
searchInfo(v) {
|
|
|
this.params = new FormData();
|
|
|
- this.params.append("startDate", v[0] ? this.$formatDate(v[0], "YYYY-MM") : '');
|
|
|
- this.params.append("endDate", v[1] ? this.$formatDate(v[1], "YYYY-MM") : '');
|
|
|
+ this.params.append("startDate", v[0] ? this.$formatDate(v[0], "YYYY-MM") + '-01' : '');
|
|
|
+ this.params.append("endDate", v[1] ? this.$formatDate(v[1], "YYYY-MM") + '-01' : '');
|
|
|
this.getList(this.params, this.pageSize);
|
|
|
},
|
|
|
//获取列表
|