{{-- 文件功能:后台职务管理页面 按部门分组展示所有职务,支持新增/编辑/删除职务 编辑时可通过多选框配置该职务可任命的目标职务列表(任命白名单) @author ChatRoom Laravel @version 1.0.0 --}} @extends('admin.layouts.app') @section('title', '职务管理') @section('content')
每位用户单日内可从所有职务持有者处累计接收奖励金币的最高次数。
设为 0 表示不限制。
| 图标 | 职务名 | 位阶 | 等级 | 人数上限 | 当前在职 | 单次上限 | 单日上限 | 任命权 | @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->active_user_positions_count }} 人 | {{-- 单次奖励上限:内联编辑 --}}✓ | {{-- 单日发放总上限:内联编辑 --}}✓ | @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 |
| 该部门暂无职务 | |||||||||