update:更新一些页面操作

This commit is contained in:
JaguarJack 2021-04-05 22:11:36 +08:00
parent 4e170dbd17
commit 44b74d53d9
3 changed files with 5 additions and 2 deletions

View File

@ -31,6 +31,7 @@ class Role extends CatchTable
Actions::create()
])->withDialogWidth('40%')
->toTreeTable()
->forceUpdate()
->render();
}

View File

@ -31,6 +31,9 @@ class Permission extends Form
self::select('module', '模块')
->required()
->style(['width' => '100%'])
->allowCreate(true)
->filterable(true)
->clearable(true)
->col(12)
->options($this->getModules()),

View File

@ -24,10 +24,9 @@ class OperateLog extends CatchTable
HeaderItem::label('操作人')->prop('creator'),
HeaderItem::label('操作模块')->prop('module'),
HeaderItem::label('操作菜单')->prop('operate'),
HeaderItem::label('菜单')->prop('route'),
HeaderItem::label('菜单标识')->prop('route'),
HeaderItem::label('请求方式')->prop('method'),
HeaderItem::label('参数')->prop('params')->component('params'),
HeaderItem::label('参数')->prop('created_at'),
])
->withApiRoute('log/operate')
->withSearch([