123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- <?php
- $type = array
- (
- 2 => '直推人数错误',
- 3 => '团队业绩错误',
- 4 => '地区导入提醒',
- 5 => '新系统不存在该地区',
- );
- $status = array
- (
- 1 => '待处理',
- 2 => '已处理',
- );
- return array
- (
-
- 'name' => 'import_log',
-
- 'lang' => '导入对比记录',
- 'order' => 9,
- 'menu' => false,
-
- 'struct' => array
- (
-
- 'id' => array
- (
- 'type' => 'int-11',
- 'name' => 'ID',
- 'default' => '',
- 'desc' => '',
- 'match' => 'is_numeric',
- 'search' => 'order',
- 'update' => 'hidden',
-
- ),
- 'mid' => array
- (
- 'type' => 'int-11',
- 'name' => '代理商',
- 'default' => '-1',
- 'desc' => '代理商',
- 'match' => 'is_string',
- 'update' => 'text',
- 'searchs' => array
- (
- 'api' => 'agent/member-find',
- 'col' => 'mobile',
- 'result' => 'id',
- ),
- 'search' => 'hidden',
-
-
- ),
- 'agent-member-name'=> array
- (
- 'name' => '姓名',
- 'default' => '',
- 'desc' => '姓名',
- 'match' => 'option',
-
- 'sync' => array('mid', 'id'),
- 'search' => array
- (
- 'api' => 'agent/member-find',
- 'col' => 'name',
- 'result' => 'id',
- ),
- 'list' => true,
- ),
- 'agent-member-mobile'=> array
- (
- 'name' => '手机号',
- 'default' => '',
- 'desc' => '手机号',
- 'match' => 'option',
-
- 'sync' => array('mid', 'id'),
- 'search' => array
- (
- 'api' => 'agent/member-find',
- 'col' => 'mobile',
- 'result' => 'id',
- ),
- 'list' => true,
- ),
- 'type' => array
- (
- 'type' => 'tinyint-1',
- 'name' => '类型',
- 'default' => '1',
- 'desc' => '类型',
- 'match' => 'is_numeric',
- 'search' => 'select',
- 'option' => $type,
- 'update' => 'radio',
- 'control' => 'type',
- 'list' => true,
- ),
- 'before' => array
- (
- 'type' => 'varchar-200',
- 'name' => '旧系统数据',
- 'default' => '',
- 'desc' => '旧系统数据',
- 'match' => 'is_numeric',
- 'update' => 'text',
- 'list' => true,
- ),
- 'after' => array
- (
- 'type' => 'varchar-200',
- 'name' => '导入后数据',
- 'default' => '',
- 'desc' => '导入后数据',
- 'match' => 'is_numeric',
- 'update' => 'text',
- 'list' => true,
- ),
- 'status' => array
- (
- 'type' => 'tinyint-1',
- 'name' => '状态',
- 'default' => '1',
- 'desc' => '状态',
- 'match' => 'is_numeric',
- 'option' => $status,
- 'search' => 'select',
- 'list' => true,
- 'edit' => true,
- ),
- 'state' => array
- (
- 'type' => 'tinyint-1',
- 'name' => '状态',
- 'default' => '1',
- 'desc' => '请选择状态',
- 'match' => 'is_numeric',
- ),
-
- 'cdate' => array
- (
- 'type' => 'int-11',
- 'name' => '升级时间',
- 'match' => array('is_numeric', time()),
- 'desc' => '',
-
- 'insert' => true,
-
-
-
- ),
- ),
- 'manage' => array
- (
- 'edit' => false,
- 'insert' => false,
- 'delete' => false,
- 'excel' => true,
- ),
- 'request' => array
- (
-
- ),
- );
|