1
0

view.php 663 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. use yii\widgets\DetailView;
  3. /* @var $this yii\web\View */
  4. /* @var $model backend\models\Admin */
  5. $this->title = '操作记录: '.$model->title;
  6. $this->params['breadcrumbs'][] = ['label' => '操作记录', 'url' => ['index']];
  7. $this->params['breadcrumbs'][] = $this->title;
  8. ?>
  9. <div class="admin-view">
  10. <?= DetailView::widget([
  11. 'model' => $model,
  12. 'attributes' => [
  13. 'id',
  14. 'admin_name',
  15. 'addtime',
  16. // 'addtime:datetime',
  17. 'admin_ip',
  18. 'admin_agent',
  19. 'handle_id',
  20. 'type',
  21. 'model',
  22. 'result'
  23. ],
  24. ]) ?>
  25. </div>