Browse Source

重置不删除时间

1178232204@qq.com 3 years ago
parent
commit
a02ebdc101
2 changed files with 7 additions and 3 deletions
  1. 5 3
      src/components/BlockLossManage/index.js
  2. 2 0
      src/components/FieldProblem/index.js

+ 5 - 3
src/components/BlockLossManage/index.js

@@ -29,14 +29,16 @@ function BlockLossManage() {
         pages: 1,
         current: 1,
         size: 15,
-        solveTimeStart: getCurrentDataFront().split('/').join('-') + ' 00:00:00',
-        solveTimeEnd: getCurrentData().split('/').join('-') + ' 23:23:59'
+        startDate: getCurrentDataFront().split('/').join('-') + ' 00:00:00',
+        endDate: getCurrentData().split('/').join('-') + ' 23:23:59'
     });
     const [form] = Form.useForm();
     let data = {
         pages: 1,
         current: 1,
-        size: size
+        size: size,
+        startDate: getCurrentDataFront().split('/').join('-') + ' 00:00:00',
+        endDate: getCurrentData().split('/').join('-') + ' 23:23:59'
     }
     //表格数据
     function getBlockLossPage(param) {

+ 2 - 0
src/components/FieldProblem/index.js

@@ -41,6 +41,8 @@ function FieldProblem() {
         pages: 1,
         current: 1,
         size: size,
+        solveTimeStart: getCurrentDataFront().split('/').join('-') + ' 00:00:00',
+        solveTimeEnd: getCurrentData().split('/').join('-') + ' 23:23:59'
     }
     //表格数据
     function getColumnResultPage(param) {