{{-- 文件功能:后台职务管理页面 按部门分组展示所有职务,支持新增/编辑/删除职务 编辑时可通过多选框配置该职务可任命的目标职务列表(任命白名单) @author ChatRoom Laravel @version 1.0.0 --}} @extends('admin.layouts.app') @section('title', '职务管理') @section('content')
每位用户单日内可从所有职务持有者处累计接收奖励金币的最高次数。
设为 0 表示不限制。
当前配置:{{ $globalRecipientDailyMax > 0 ? $globalRecipientDailyMax . ' 次' : '不限' }}
| 图标 | 职务名 | 位阶 | 等级 | 人数上限 | 当前在职 | 单次上限 | 单日上限 | 任命权 | @php $superLvl = (int) \App\Models\Sysparam::getValue('superlevel', '100'); @endphp @if (Auth::user()->user_level >= $superLvl)操作 | @endif
|---|---|---|---|---|---|---|---|---|---|
| {{ $pos->icon }} | {{ $pos->name }} | {{ $pos->rank }} | Lv.{{ $pos->level }} | {{ $pos->max_persons ?? '不限' }} | {{ $pos->active_user_positions_count }} 人 | @if ($pos->max_reward === null) 不限 @elseif ($pos->max_reward === 0) 禁止 @else {{ number_format($pos->max_reward) }} @endif | @if ($pos->daily_reward_limit === null) 不限 @elseif ($pos->daily_reward_limit === 0) 禁止 @else {{ number_format($pos->daily_reward_limit) }} @endif | @if (count($appointableIds) > 0) {{ count($appointableIds) }} 个职务 @else 无 @endif | @php $superLvl = (int) \App\Models\Sysparam::getValue('superlevel', '100'); @endphp @if (Auth::user()->user_level >= $superLvl) @endif @if (Auth::id() === 1) @endif |
| 该部门暂无职务 | |||||||||