|
|
|
@ -79,7 +79,8 @@ class UserGroupRepository extends BaseRepository |
|
|
|
|
$isCreate = is_null($id); |
|
|
|
|
$action = Route::buildUrl($isCreate ? 'systemUserGroupCreate' : 'systemUserGroupUpdate', $isCreate ? [] : compact('id'))->build(); |
|
|
|
|
return Elm::createForm($action, [ |
|
|
|
|
Elm::input('group_name', '用户分组名称')->required() |
|
|
|
|
Elm::input('group_name', '用户分组名称')->required(), |
|
|
|
|
Elm::input('count', '培育人数')->required(), |
|
|
|
|
])->setTitle($isCreate ? '添加用户分组' : '编辑用户分组')->formData($formData); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|