1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | 更新页
- |--------------------------------------------------------------------------
- */
- $method = 'update';
- include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'common.php');
- $view
- ->set('fast', 'Dever::input("fast")')
- ->fetch('#load_css', 'manage/database.css')
- ->fetch('#load_style', 'manage/database.res#css')
- //->fetch('#list-desc', 'manage/database.info#update_desc')
- # form表单
- ->fetch('.form1@action', 'manage/database.info#action')
- # 基本配置
- ->fetch('#dever_submit_key@value', 'manage/database.submit#key')
- ->fetch('#dever_submit@value', 'manage/database.submit#token')
- ->fetch('#fast@value', '$fast')
- ->fetch('#project@value', 'manage/database.info#project')
- ->fetch('#table@value', 'manage/database.info#table')
- ->fetch('#menu_id@value', 'manage/database.info#menu_id')
- ->fetch('#update_where_id@value', 'manage/database.info#id')
- ->fetch('#url@value', 'manage/database.info#submit')
- ->fetch('#alias@value', 'manage/database.info#alias')
- //->fetch('#desc', 'manage/database.info#updateDesc', 'none')
- //->fetch('.dever_update_add', 'manage/database.info#updateMul', 'none')
- # 渲染数据 不再使用单一的card
- //->loop('#content','manage/database.update')
- ->fetch('#data_content','manage/database.update_content')
- # 数据结构
- ->fetch('#struct', '/database.info#struct')
- # 配置valid
- ->fetch('#valid','manage/database.valid')
- # 配置save
- ->fetch('#struct@save','manage/database.save')
- # 配置按钮
- //->fetch('#update_button','manage/database.update_button')
- #banner
- ->call('manage/project/database/list:banner')
- //->fetch(array('.layui-card@style', 0), '/database.layui_card', 'none')
- //->fetch('.layui-col-md12@class', '/database.card')
- # display
- ->display();
|