county.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. return array
  3. (
  4. 'list' => array
  5. (
  6. 'field' => array
  7. (
  8. 'id',
  9. 'name',
  10. 'pinyin',
  11. 'pinyin_first',
  12. 'area' => array
  13. (
  14. 'show' => 'Dever::call("area/data.string", "{area}")',
  15. ),
  16. 'type',
  17. 'level',
  18. 'sort' => 'input',
  19. 'status' => array
  20. (
  21. 'type' => 'switch',
  22. 'show' => '{status}',
  23. 'active_value' => 1,
  24. 'inactive_value' => 2,
  25. ),
  26. 'cdate',
  27. ),
  28. 'button' => array
  29. (
  30. '新增' => 'fastadd',
  31. ),
  32. 'data_button' => array
  33. (
  34. '编辑' => 'fastedit',
  35. ),
  36. 'search' => array
  37. (
  38. 'name',
  39. 'status',
  40. 'area' => array
  41. (
  42. 'type' => 'cascader',
  43. 'remote' => 'area/data.get&total=2',
  44. ),
  45. ),
  46. ),
  47. 'update' => array
  48. (
  49. 'field' => array
  50. (
  51. 'name' => array
  52. (
  53. 'rules' => true,
  54. ),
  55. //'pinyin',
  56. //'pinyin_first',
  57. 'area' => array
  58. (
  59. 'type' => 'cascader',
  60. 'remote' => 'area/data.get&total=2',
  61. ),
  62. 'type' => 'radio',
  63. 'level' => 'radio',
  64. //'sort',
  65. ),
  66. 'start' => 'area/manage.up',
  67. ),
  68. );