From f3dd489f61a36d2a9b9e44d626295a7443616181 Mon Sep 17 00:00:00 2001 From: zenggang Date: Tue, 12 Jul 2022 02:32:01 +0000 Subject: [PATCH] * Adjust code --- module/execution/control.php | 3 +++ module/execution/js/cfd.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index 766439699d..9cf79b345f 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1364,6 +1364,9 @@ class execution extends control * * @param int $executionID * @param string $type + * @param string $withWeekend + * @param string $begin + * @param string $end * @access public * @return void */ diff --git a/module/execution/js/cfd.js b/module/execution/js/cfd.js index 446b56a05a..6e660db934 100644 --- a/module/execution/js/cfd.js +++ b/module/execution/js/cfd.js @@ -137,6 +137,6 @@ $(function() location.href = createLink('execution', 'cfd', 'executionID=' + executionID + '&type=' + type + '&withWeekend=' + withWeekend + '&begin=' + begin + '&end=' + end); }); - $("#end").datetimepicker('setEndDate', today) + $("#end, #begin").datetimepicker('setEndDate', today) $('.datetimepicker-days table tfoot tr th').html(dateRangeTip).removeClass('today'); });