title = $model->isNewRecord ? '创建' : '编辑'; $this->params['breadcrumbs'][] = ['label' => '角色管理', 'url' => ['index', 'merchant_id' => $merchant_id]]; $this->params['breadcrumbs'][] = ['label' => $this->title]; ?>

基本信息

[ 'template' => "
{label}
{input}\n{hint}\n{error}
", ] ]); ?>
field($model, 'pid')->dropDownList($dropDownList) ?> field($model, 'title')->textInput(); ?> field($model, 'sort')->textInput(); ?> field($model, 'status')->radioList(StatusEnum::getMap()); ?>
"userTree", 'defaultData' => $defaultFormAuth, 'selectIds' => $defaultCheckIds, ]) ?>
"plugTree", 'defaultData' => $addonsFormAuth, 'selectIds' => $addonsCheckIds, ]) ?>