* [story#59894,doing,0.5h] add view old page.

This commit is contained in:
qixinzhi
2024-07-25 09:51:54 +08:00
committed by 代婷婷
parent e7f1e4ceb4
commit 3bb9a0ef00
7 changed files with 13 additions and 1 deletions
+10
View File
@@ -87,6 +87,16 @@ class screen extends control
* @return void
*/
public function view(int $screenID, int $year = 0, int $month = 0, int $dept = 0, string $account = '')
{
$this->view->screenID = $screenID;
$this->view->year = $year;
$this->view->month = $month;
$this->view->dept = $dept;
$this->view->account = $account;
$this->display();
}
public function viewOld(int $screenID, int $year = 0, int $month = 0, int $dept = 0, string $account = '')
{
if(empty($year)) $year = date('Y');
if(empty($month)) $month = date('n');