123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | 列表页
- |--------------------------------------------------------------------------
- */
- $method = 'list';
- include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'common.php');
-
- $view
- ->set('fast', 'Dever::input("fast")')
- //->fetch('#dever_submit@value', 'Dever::submit()')
- ->fetch('#parent@value', 'manage/database.info#parent_value')
- ->fetch('#fast@value', '$fast')
- ->fetch('#load_style', 'manage/database.res#css')
- ->fetch('#search_param', 'manage/database.info#search_param')
- ->fetch('#addstyle', 'manage/database.listStyle')
- #->fetch('#list-desc', 'manage/database.info#list_desc')
-
- # 只对一部分数据进行接管,只接管table
- ->fetch('#table_1@style', 'manage/database.page_list_table#s1')
- ->fetch('#table_1', 'manage/database.page_list_table#content')
- ->fetch('#table_2@style', 'manage/database.page_list_table#s2')
- # 数据列表的搜索
- ->fetch('#search', 'manage/database.list_search')
- ->fetch('#search_content', 'manage/database.list_search', 'none')
- # 数据列表
- //->loop('#list-tbody-data','manage/database.list_tbody_layui')
- # 数据列表
- ->fetch('#list-tbody','manage/database.list_tbody')
- # 数据列表的标题
- //->loop('#list-thead-data', 'manage/database.list_thead_layui')
- # 数据列表的标题
- ->loop('#list-thead tr', 'manage/database.list_thead')
- ->fetch('#info', 'manage/database.getConfig#info', 'none')
- ->fetch('#desc', 'manage/database.getConfig#desc', 'none')
- # 统计数据
- ->loop('#stat_data','manage/database.list_data')
- ->loop('#stat_data_card@style','manage/database.list_data_show')
- # 统计图表
- ->loop('#chart','manage/database.list_chart')
- ->loop('#chart@style','manage/database.list_chart_show')
- # 列表页按钮
- ->fetch('#list-button','manage/database.list_button')
- # 批量管理的表单
- ->fetch('#mul','manage/database.list_mul')
- # 表单的action
- ->fetch('#form1@action', 'manage/database.info#list')
- # url的值
- ->fetch('#url@value', 'manage/database.info#mul')
- # 分页
- ->fetch('#page','<{Dever::page("current")}>')
- ->fetch('#dever-name', 'manage/auth.config#title')
- ->fetch('#search_option_state@value', 'manage/database.info#state')
- ->fetch('#l@value', 'manage/database.info#l')
- ->fetch('#project@value', 'manage/database.info#project')
- ->fetch('#tables@value', 'manage/database.info#table')
- ->fetch('#menu@value', 'manage/database.info#menu')
- ->fetch('#menu_id@value', 'manage/database.info#menu_id')
- ->fetch('#alias@value', 'manage/database.info#alias')
- # 总数据 加在头部里吧
- //->fetch('#list-desc', '<{Dever::load("manage/database.info#list_desc")}>(共<{Dever::total("current")}>条)')
-
- #banner
- /*
- ->render('banner:manage/database.banner:banner设定', array
- (
- '.topbar@style' => array('', 'none'),
- '.banner' => 'none',
- ))
- */
- # 项目列表
- /*
- ->fetch('.auth-top@style', 'display:none')
- ->loop
- (
- '.auth-top',
- 'manage/top.get',
- array
- (
-
- 'span|0' => '<{$v.name}>',
- 'ul' => array
- (
- 'li|$v.child' => array
- (
- 'a' => array
- (
- 'html' => '$v1.name',
- 'data-id' => '$v1.id',
- 'onclick' => 'topMenu($(this))',
- )
- ),
- ),
- )
- )*/
- # 数据结构
- ->fetch('#struct', 'manage/database.info#struct')
- # 将上边fetch的都显示出来
- ->display();
|