update.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | 更新页
  5. |--------------------------------------------------------------------------
  6. */
  7. $method = 'update';
  8. include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'common.php');
  9. $view
  10. ->set('fast', 'Dever::input("fast")')
  11. ->fetch('#load_css', 'manage/database.css')
  12. ->fetch('#load_style', 'manage/database.res#css')
  13. //->fetch('#list-desc', 'manage/database.info#update_desc')
  14. # form表单
  15. ->fetch('.form1@action', 'manage/database.info#action')
  16. # 基本配置
  17. ->fetch('#dever_submit_key@value', 'manage/database.submit#key')
  18. ->fetch('#dever_submit@value', 'manage/database.submit#token')
  19. ->fetch('#fast@value', '$fast')
  20. ->fetch('#project@value', 'manage/database.info#project')
  21. ->fetch('#table@value', 'manage/database.info#table')
  22. ->fetch('#menu_id@value', 'manage/database.info#menu_id')
  23. ->fetch('#update_where_id@value', 'manage/database.info#id')
  24. ->fetch('#url@value', 'manage/database.info#submit')
  25. ->fetch('#alias@value', 'manage/database.info#alias')
  26. //->fetch('#desc', 'manage/database.info#updateDesc', 'none')
  27. //->fetch('.dever_update_add', 'manage/database.info#updateMul', 'none')
  28. # 渲染数据 不再使用单一的card
  29. //->loop('#content','manage/database.update')
  30. ->fetch('#data_content','manage/database.update_content')
  31. # 数据结构
  32. ->fetch('#struct', '/database.info#struct')
  33. # 配置valid
  34. ->fetch('#valid','manage/database.valid')
  35. # 配置save
  36. ->fetch('#struct@save','manage/database.save')
  37. # 配置按钮
  38. //->fetch('#update_button','manage/database.update_button')
  39. #banner
  40. ->call('manage/project/database/list:banner')
  41. //->fetch(array('.layui-card@style', 0), '/database.layui_card', 'none')
  42. //->fetch('.layui-col-md12@class', '/database.card')
  43. # display
  44. ->display();