|
@@ -137,12 +137,13 @@ export default {
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
|
pageSize:20,
|
|
|
- searchValue:'',
|
|
|
- startTime:'',
|
|
|
- endTime:'',
|
|
|
+ searchValue:null,
|
|
|
+ beginTime:null,
|
|
|
+ endTime:null,
|
|
|
+ remark:'time',
|
|
|
},
|
|
|
total:0,
|
|
|
- tableData:[{}],
|
|
|
+ tableData:[],
|
|
|
dateRange:[],
|
|
|
pageData2:{},
|
|
|
// 表单参数
|
|
@@ -214,9 +215,9 @@ export default {
|
|
|
},
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
- this.queryParams.searchValue = "";
|
|
|
+ this.queryParams.searchValue = null;
|
|
|
this.dateRange=[];
|
|
|
- this.queryParams.startTime=null;
|
|
|
+ this.queryParams.beginTime=null;
|
|
|
this.queryParams.endTime=null
|
|
|
this.handleQuery();
|
|
|
},
|
|
@@ -247,10 +248,10 @@ export default {
|
|
|
getList(){
|
|
|
let _this=this;
|
|
|
if(this.dateRange&&this.dateRange.length>0) {
|
|
|
- this.queryParams.startTime=this.dateRange[0]
|
|
|
+ this.queryParams.beginTime=this.dateRange[0]
|
|
|
this.queryParams.endTime=this.dateRange[1]
|
|
|
} else {
|
|
|
- this.queryParams.startTime=null;
|
|
|
+ this.queryParams.beginTime=null;
|
|
|
this.queryParams.endTime=null
|
|
|
}
|
|
|
infoCategoryList(_this.queryParams).then( response => {
|