You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 lines
1.3 KiB

  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\DetailView;
  4. /* @var $this yii\web\View */
  5. /* @var $model common\models\User */
  6. $this->title = $model->ID;
  7. $this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['index']];
  8. $this->params['breadcrumbs'][] = $this->title;
  9. ?>
  10. <div class="user-view">
  11. <h1><?= Html::encode($this->title) ?></h1>
  12. <p>
  13. <?= Html::a('Update', ['update', 'id' => $model->ID], ['class' => 'btn btn-primary']) ?>
  14. <?= Html::a('Delete', ['delete', 'id' => $model->ID], [
  15. 'class' => 'btn btn-danger',
  16. 'data' => [
  17. 'confirm' => 'Are you sure you want to delete this item?',
  18. 'method' => 'post',
  19. ],
  20. ]) ?>
  21. </p>
  22. <?= DetailView::widget([
  23. 'model' => $model,
  24. 'attributes' => [
  25. 'ID',
  26. 'MAIN_CORP_ID',
  27. 'USER_NAME',
  28. 'USER_PASSWORD',
  29. 'ORG_ID',
  30. 'TOP_ORG_ID',
  31. 'OPERA_ORG_ID',
  32. 'USER_SIGN',
  33. 'USER_TYPE',
  34. 'MENU_PERMISSION',
  35. 'USER_ROLE',
  36. 'TRUE_NAME',
  37. 'STATUS',
  38. 'CANCEL_FLAG',
  39. 'CREATE_USER_ID',
  40. 'CREATE_TIME',
  41. 'UPDATE_USER_ID',
  42. 'UPDATE_TIME',
  43. 'PHONE_no',
  44. ],
  45. ]) ?>
  46. </div>