123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- $info = Dever::project('area');
- $path = $info['setup'];
- return array
- (
- 'list' => array
- (
- 'desc' => '导入数据请在服务器执行:php '.$path.'index.php \'{"l":"import.load"}\';
- 数据来源:' . Dever::load('import', 'area', 'api')->getUrl(),
- 'field' => array
- (
- 'id',
- 'name',
- 'pinyin',
- 'pinyin_first',
- 'sort' => 'input',
- 'status' => array
- (
- 'type' => 'switch',
- 'show' => '{status}',
- 'active_value' => 1,
- 'inactive_value' => 2,
- ),
- 'cdate',
- ),
- 'button' => array
- (
- '新增' => 'fastadd',
- ),
- 'data_button' => array
- (
- '编辑' => 'fastedit',
- ),
- 'search' => array
- (
- 'name',
- 'status',
- ),
- ),
- 'update' => array
- (
- 'field' => array
- (
- 'name' => array
- (
- 'rules' => true,
- ),
- //'pinyin',
- //'pinyin_first',
- //'sort',
- ),
- 'start' => 'area/manage.up',
- ),
- );
|