|
@@ -2,8 +2,8 @@
|
|
$status = array
|
|
$status = array
|
|
(
|
|
(
|
|
1 => '全部可购',
|
|
1 => '全部可购',
|
|
- 2 => '代理商可购',
|
|
|
|
- 3 => '非代理商可购',
|
|
|
|
|
|
+ 2 => '仅代理商可购',
|
|
|
|
+ //3 => '非代理商可购',
|
|
);
|
|
);
|
|
|
|
|
|
$act_status = array
|
|
$act_status = array
|
|
@@ -17,16 +17,21 @@ $act_status = array
|
|
|
|
|
|
$type = array
|
|
$type = array
|
|
(
|
|
(
|
|
- 1 => '商品预售',
|
|
|
|
|
|
+ //1 => '商品预售',
|
|
2 => '活动门票',
|
|
2 => '活动门票',
|
|
);
|
|
);
|
|
|
|
|
|
$cost_type = array
|
|
$cost_type = array
|
|
(
|
|
(
|
|
- 1 => '押金报名',
|
|
|
|
|
|
+ //1 => '押金报名',
|
|
2 => '缴费报名',
|
|
2 => '缴费报名',
|
|
);
|
|
);
|
|
|
|
|
|
|
|
+$col_set = array
|
|
|
|
+(
|
|
|
|
+ 'idcard' => '身份证号',
|
|
|
|
+);
|
|
|
|
+
|
|
$role = function()
|
|
$role = function()
|
|
{
|
|
{
|
|
$array = array();
|
|
$array = array();
|
|
@@ -46,8 +51,8 @@ $list_button = array();
|
|
if ($search_auth == 1) {
|
|
if ($search_auth == 1) {
|
|
$insert = true;
|
|
$insert = true;
|
|
$edit = true;
|
|
$edit = true;
|
|
- if (Dever::load('manage/auth')->checkFunc('active.info', 'editworld', '字段设置')) {
|
|
|
|
- $list_button['list1'] = array('字段设置', '"info_field&search_option_active_id={id}&oper_table=info"');
|
|
|
|
|
|
+ if (Dever::load('manage/auth')->checkFunc('active.info', 'editworld', '自定义字段设置')) {
|
|
|
|
+ $list_button['list1'] = array('自定义字段设置', '"info_field&search_option_active_id={id}&oper_table=info"');
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
if (Dever::load('manage/auth')->checkFunc('active.info', 'editOff', '核销活动')) {
|
|
if (Dever::load('manage/auth')->checkFunc('active.info', 'editOff', '核销活动')) {
|
|
@@ -66,7 +71,7 @@ $off = function() use($search_auth)
|
|
};
|
|
};
|
|
$col = Dever::input('col');
|
|
$col = Dever::input('col');
|
|
if (!$col) {
|
|
if (!$col) {
|
|
- $tab = array('基础设置', '活动设置', '购买限制', '价格设置');
|
|
|
|
|
|
+ $tab = array('基础设置', '时间设置', '购买限制', '其他设置');
|
|
} else {
|
|
} else {
|
|
$tab = '';
|
|
$tab = '';
|
|
}
|
|
}
|
|
@@ -209,7 +214,7 @@ return array
|
|
// 'search' => 'select',
|
|
// 'search' => 'select',
|
|
'list_name' => $search_auth == 2 ? '待核销数量' : false,
|
|
'list_name' => $search_auth == 2 ? '待核销数量' : false,
|
|
'list' => $search_auth == 2 ? "Dever::load('active/lib/manage.dOff',{id})" : false,
|
|
'list' => $search_auth == 2 ? "Dever::load('active/lib/manage.dOff',{id})" : false,
|
|
- 'tab' => 1,
|
|
|
|
|
|
+ 'tab' => 2,
|
|
),
|
|
),
|
|
|
|
|
|
'type' => array
|
|
'type' => array
|
|
@@ -223,7 +228,7 @@ return array
|
|
'option' => $type,
|
|
'option' => $type,
|
|
// 'search' => 'select',
|
|
// 'search' => 'select',
|
|
'list' => $search_auth == 1 ? true : false,
|
|
'list' => $search_auth == 1 ? true : false,
|
|
- 'tab' => 1,
|
|
|
|
|
|
+ 'tab' => 2,
|
|
),
|
|
),
|
|
|
|
|
|
'act_status' => array
|
|
'act_status' => array
|
|
@@ -326,7 +331,7 @@ return array
|
|
'update' => 'text',
|
|
'update' => 'text',
|
|
'list' => $search_auth == 1 ? true : false,
|
|
'list' => $search_auth == 1 ? true : false,
|
|
'list_order' => '3',
|
|
'list_order' => '3',
|
|
- 'tab' => 3,
|
|
|
|
|
|
+ 'tab' => 0,
|
|
),
|
|
),
|
|
|
|
|
|
'cost_type' => array
|
|
'cost_type' => array
|
|
@@ -350,12 +355,24 @@ return array
|
|
'default' => '',
|
|
'default' => '',
|
|
'desc' => '购买成功后的背景图',
|
|
'desc' => '购买成功后的背景图',
|
|
'match' => 'option',
|
|
'match' => 'option',
|
|
- 'update' => 'image',
|
|
|
|
|
|
+ //'update' => 'image',
|
|
'key' => '1',
|
|
'key' => '1',
|
|
// 'place' => '759*562',
|
|
// 'place' => '759*562',
|
|
'tab' => 3,
|
|
'tab' => 3,
|
|
),
|
|
),
|
|
|
|
|
|
|
|
+ 'col' => array
|
|
|
|
+ (
|
|
|
|
+ 'type' => 'varchar-300',
|
|
|
|
+ 'name' => '字段设置',
|
|
|
|
+ 'default' => 'idcard',
|
|
|
|
+ 'desc' => '字段设置',
|
|
|
|
+ 'match' => 'is_string',
|
|
|
|
+ 'update' => 'checkbox',
|
|
|
|
+ 'option' => $col_set,
|
|
|
|
+ 'tab' => 3,
|
|
|
|
+ ),
|
|
|
|
+
|
|
'mobile' => array
|
|
'mobile' => array
|
|
(
|
|
(
|
|
'type' => 'bigint-11',
|
|
'type' => 'bigint-11',
|
|
@@ -390,7 +407,7 @@ return array
|
|
'update' => 'editor',
|
|
'update' => 'editor',
|
|
//'search' => 'fulltext',
|
|
//'search' => 'fulltext',
|
|
//'list' => true,
|
|
//'list' => true,
|
|
- 'tab' => 3,
|
|
|
|
|
|
+ 'tab' => 0,
|
|
),
|
|
),
|
|
|
|
|
|
'off_id' => array
|
|
'off_id' => array
|