diff --git a/src/views/enterpriseStandardLibrary/check/CheckList.vue b/src/views/enterpriseStandardLibrary/check/CheckList.vue index 77bfc0bc..9ddb0bd8 100644 --- a/src/views/enterpriseStandardLibrary/check/CheckList.vue +++ b/src/views/enterpriseStandardLibrary/check/CheckList.vue @@ -353,16 +353,22 @@ export default { // 计划稽查日期改变 scheduledCheckDateChange (val) { if (val[0] && val[1]) { - this.queryParam.createDate = val.join(',') + this.queryParam.planInspectDates = val.join(',') + } else { + delete this.queryParam.planInspectDates } // this.queryParam.planInspectStartDate = val[0] // this.queryParam.planInspectEndDate = val[1] }, // 创建日期改变 createDateChange (val) { + if (val[0] && val[1]) { + this.queryParam.createDate = val.join(',') + } else { + delete this.queryParam.createDate + } // this.queryParam.inspectCreateStartDate = val[0] // this.queryParam.inspectCreateEndDate = val[1] - this.queryParam.createDate = val && val.join(',') }, // 点击跳转企标详情 handleGoDetail (record) {