update.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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('#mul_ids@value', 'manage/database.info#mul_ids')
  24. ->fetch('#mul_load@value', 'manage/database.info#mul_load')
  25. ->fetch('#update_where_id@value', 'manage/database.info#id')
  26. ->fetch('#url@value', 'manage/database.info#submit')
  27. ->fetch('#alias@value', 'manage/database.info#alias')
  28. //->fetch('#desc', 'manage/database.info#updateDesc', 'none')
  29. //->fetch('.dever_update_add', 'manage/database.info#updateMul', 'none')
  30. # 渲染数据 不再使用单一的card
  31. //->loop('#content','manage/database.update')
  32. ->fetch('#data_content','manage/database.update_content')
  33. # 数据结构
  34. ->fetch('#struct', '/database.info#struct')
  35. # 配置valid
  36. ->fetch('#valid','manage/database.valid')
  37. # 配置save
  38. ->fetch('#struct@save','manage/database.save')
  39. # 配置按钮
  40. //->fetch('#update_button','manage/database.update_button')
  41. #banner
  42. ->call('manage/project/database/list:banner')
  43. //->fetch(array('.layui-card@style', 0), '/database.layui_card', 'none')
  44. //->fetch('.layui-col-md12@class', '/database.card')
  45. # display
  46. ->display();