feature: salary auth

This commit is contained in:
zhuyu 2025-06-03 22:55:52 +08:00
parent 049f771ce4
commit 5f2033f90c

View File

@ -117,7 +117,7 @@ class Schedule extends Backend
$res[$adminId][$tmpDate] = '无';
$res[$adminId]['admin_id'] = $adminId;
$res[$adminId]['name'] = $adminNames[$adminId];
$res[$adminId]['editable'] = $this->auth->check('oa/schedule/custom_manage') ? 1 : 0;
$res[$adminId]['editable'] = $this->auth->check('oa/schedule/custom_edit') ? 1 : 0;
}
$dates[] = $tmpDate;