|
|
|
@ -1007,6 +1007,7 @@ class QueryController extends ThinkController
|
|
|
|
|
{
|
|
|
|
|
$page = I('p', 1);
|
|
|
|
|
$row = I('row', 10);
|
|
|
|
|
$reviewTypeList = WithdrawModel::$reviewTypeList;
|
|
|
|
|
$map['_string'] = '1=1';
|
|
|
|
|
$adminid = C('USER_ADMINISTRATOR');//获取超管id
|
|
|
|
|
$adminmobile = M('UcenterMember')->field('mobile')->find($adminid);
|
|
|
|
@ -1023,6 +1024,9 @@ class QueryController extends ThinkController
|
|
|
|
|
if (isset($_REQUEST['settlement_type'])) {
|
|
|
|
|
$map['settlement_type'] = $_REQUEST['settlement_type'];
|
|
|
|
|
}
|
|
|
|
|
if (isset($_REQUEST['review_type'])) {
|
|
|
|
|
$map['review_type'] = $_REQUEST['review_type'];
|
|
|
|
|
}
|
|
|
|
|
if (isset($_REQUEST['promote_account'])) {
|
|
|
|
|
if ($_REQUEST['promote_account'] == '全部') {
|
|
|
|
|
unset($_REQUEST['promote_account']);
|
|
|
|
@ -1052,7 +1056,7 @@ class QueryController extends ThinkController
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$fields = 'id, widthdraw_number, sum_money, promote_id, promote_account, op_id, op_type, last_op_id, last_op_type, settlement_type, settlement_begin_time, settlement_end_time, create_time, status, respond, audit_time';
|
|
|
|
|
$fields = 'id, widthdraw_number, sum_money, promote_id, promote_account, op_id, op_type, last_op_id, last_op_type, settlement_type, settlement_begin_time, settlement_end_time, create_time, status, respond, audit_time, review_type';
|
|
|
|
|
$count = 0;
|
|
|
|
|
if (I('export', 0) == 1) {
|
|
|
|
|
$records = D('withdraw')->field($fields)
|
|
|
|
@ -1093,6 +1097,7 @@ class QueryController extends ThinkController
|
|
|
|
|
'last_op_id_text' => $this->getOpTypeText($record['last_op_type'], $record['last_op_id']),
|
|
|
|
|
'op_type_text' => getPromoteWithdrawOpType($record['op_type']),
|
|
|
|
|
'last_op_type_text' => getPromoteWithdrawOpType($record['last_op_type']),
|
|
|
|
|
'review_type_text' => $reviewTypeList[$record['review_type']] ?? '未知',
|
|
|
|
|
'settlement_type_text' => getPromoteWithdrawSettlementType($record['settlement_type']),
|
|
|
|
|
'settlement_begin_time' => $record['settlement_begin_time'] ? date('Y-m-d H:i:s', $record['settlement_begin_time']) : '--',
|
|
|
|
|
'settlement_end_time' => date('Y-m-d H:i:s', $record['settlement_end_time']),
|
|
|
|
@ -1118,6 +1123,7 @@ class QueryController extends ThinkController
|
|
|
|
|
'op_type_text' => '操作人类型',
|
|
|
|
|
'last_op_id_text' => '最后操作人',
|
|
|
|
|
'last_op_type_text' => '最后操作人类型',
|
|
|
|
|
'review_type_text' => '审核模式',
|
|
|
|
|
'settlement_type_text' => '提现模式',
|
|
|
|
|
'settlement_begin_time' => '结算开始时间',
|
|
|
|
|
'settlement_end_time' => '结算截止时间',
|
|
|
|
@ -1153,6 +1159,7 @@ class QueryController extends ThinkController
|
|
|
|
|
setPowerPromoteIds($map);
|
|
|
|
|
$companys = getPromoteCompanys();
|
|
|
|
|
$this->assign('companys', $companys);
|
|
|
|
|
$this->assign('reviewTypeList', $reviewTypeList);
|
|
|
|
|
$this->assign('is_admin', is_administrator());
|
|
|
|
|
$this->assign('list_data', $datas);
|
|
|
|
|
$this->display();
|
|
|
|
|