user_pan_account.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. $extend = Dever::load('common', 'manage')->extend();
  3. $uid = $extend['data_id'];
  4. return array
  5. (
  6. 'source' => 'pan/account',
  7. 'list' => array
  8. (
  9. 'where' => array('uid' => $uid),
  10. 'field' => array
  11. (
  12. 'name',
  13. 'type',
  14. 'cdate',
  15. ),
  16. 'button' => array
  17. (
  18. '新增' => array('fastadd', array('uid' => $uid)),
  19. ),
  20. 'data_button' => array
  21. (
  22. '编辑' => 'fastedit',
  23. '任务' => array('route', array
  24. (
  25. 'path' => 'user_tool_manage/user_pan_task',
  26. 'param' => array
  27. (
  28. 'set' => array('account_id' => 'id', 'menu' => 'user_tool_manage/user_tool_list', 'parent' => 'user_tool_manage/user_pan_account'),
  29. ),
  30. ), 'ChatLineSquare'),
  31. ),
  32. 'search' => array
  33. (
  34. 'name',
  35. ),
  36. ),
  37. 'update' => array
  38. (
  39. 'field' => array
  40. (
  41. 'uid' => array
  42. (
  43. 'type' => 'hidden',
  44. ),
  45. 'name' => array
  46. (
  47. 'rules' => true,
  48. ),
  49. 'type' => array
  50. (
  51. 'rules' => true,
  52. ),
  53. 'cookie' => array
  54. (
  55. 'type' => 'textarea',
  56. 'rules' => true,
  57. 'autosize' => array('minRows' => 10),
  58. ),
  59. ),
  60. ),
  61. );