Procházet zdrojové kódy

保养管理查询时间优化

před 2 roky
rodič
revize
11a3018e6e
1 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. 4 2
      src/views/check/checkjob/CheckJob.vue

+ 4 - 2
src/views/check/checkjob/CheckJob.vue

@@ -507,8 +507,10 @@ export default {
     },
     handleOk () {
       this.visible = true
-      this.queryParam.searchStartTime = this.queryParam.searchStartTime ? this.BaseTool.Date.formatter(this.queryParam.searchStartTime, this.BaseTool.Date.PICKER_NORM_DATETIME_PATTERN) : null
-      this.queryParam.searchEndTime = this.queryParam.searchEndTime ? this.BaseTool.Date.formatter(this.queryParam.searchEndTime, this.BaseTool.Date.PICKER_NORM_DATETIME_PATTERN) : null
+      console.log(11)
+      console.log(this.queryParam.searchEndTime)
+      this.queryParam.searchStartTime = this.queryParam.searchStartTime ? this.BaseTool.Date.formatter(this.queryParam.searchStartTime, this.BaseTool.Date.PICKER_NORM_DATE_PATTERN) + ' 00:00:01' : null
+      this.queryParam.searchEndTime = this.queryParam.searchEndTime ? this.BaseTool.Date.formatter(this.queryParam.searchEndTime, this.BaseTool.Date.PICKER_NORM_DATE_PATTERN) + ' 23:59:59' : null
       this.$refs.table.refresh()
     },
     onSelectChange (selectedRowKeys, selectedRows) {