featurebar.html.php 442 B

123456789101112131415161718192021
  1. <?php
  2. namespace zin;
  3. jsVar('method', $this->app->methodName);
  4. jsVar('pageParams', $this->app->params);
  5. featureBar
  6. (
  7. to::before
  8. (
  9. picker
  10. (
  11. width('120px'),
  12. set::items($deptUsers),
  13. set::value($user->id),
  14. set::required(true),
  15. set::onChange(jsRaw("(value) => switchAccount(value)"))
  16. )
  17. ),
  18. set::items($this->userZen->getFeatureBarMenus($user))
  19. );