This commit is contained in:
zhouxin
2023-10-12 15:41:16 +08:00
parent e1435365e0
commit e77240bdab
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ $(function()
var dept = $('select#dept').val();
var account = $('select#account').val();
if($(this).attr('id') == 'dept') account = '';
location.href = createLink('screen', 'view', 'screenID=3&year=' + year + '&dept=' + dept + '&account=' + account);
location.href = createLink('screen', 'view', 'screenID=3&year=' + year + '&month=' + '&dept=' + dept + '&account=' + account);
});
$('#actionData > div > ul > li').mouseenter(function(e)
+2 -1
View File
@@ -67,6 +67,7 @@ class screen extends control
*
* @param int $screenID
* @param int $year
* @param int $month
* @param int $dept
* @param string $account
* @access public
@@ -79,7 +80,7 @@ class screen extends control
if($screenID == 3)
{
echo $this->fetch('report', 'annualData', "year=$year&dept=$dept&account=$account");
echo $this->fetch('report', 'annualData', "year=$year&month=$month&dept=$dept&account=$account");
return;
}