H&R + exam user support bulk action

This commit is contained in:
xiaomlove
2022-05-13 03:12:38 +08:00
parent 2f5b643c6e
commit 5110ef6e7d
44 changed files with 285 additions and 31 deletions

View File

@@ -12,7 +12,7 @@ class ExamUser extends NexusModel
const STATUS_FINISHED = 1;
const STATUS_AVOIDED = -1;
public static $status = [
public static array $status = [
self::STATUS_NORMAL => ['text' => 'Normal'],
self::STATUS_FINISHED => ['text' => 'Finished'],
self::STATUS_AVOIDED => ['text' => 'Avoided'],
@@ -21,7 +21,7 @@ class ExamUser extends NexusModel
const IS_DONE_YES = 1;
const IS_DONE_NO = 0;
public static $isDoneInfo = [
public static array $isDoneInfo = [
self::IS_DONE_YES => ['text' => 'Yes'],
self::IS_DONE_NO => ['text' => 'No'],
];