diff --git a/Application/Admin/Controller/AjaxController.class.php b/Application/Admin/Controller/AjaxController.class.php index a92e4fd6f..d837eafe7 100644 --- a/Application/Admin/Controller/AjaxController.class.php +++ b/Application/Admin/Controller/AjaxController.class.php @@ -362,14 +362,18 @@ class AjaxController extends ThinkController{ } // var_dump($map);die(); if ($_REQUEST['company_id']) { - $map['company_id'] = $_REQUEST['company_id']; + $map['_string'] = "tab_promote.company_id={$_REQUEST['company_id']} and ext_field is null"; } +// $map['widthdraw_number'] = ['neq','']; + $data = M("withdraw","tab_") - ->field("widthdraw_number,promote_account,tab_promote_company.id as company_id,company_name,tab_withdraw.settlement_type,mobile_phone,real_name,bank_card,account_openin,address,game_ratio,bank_account") + ->field("widthdraw_number,promote_account,tab_promote_company.id as company_id,tab_promote_company.company_name,tab_withdraw.settlement_type,mobile_phone,real_name,bank_card,account_openin,address,game_ratio,bank_account") ->join("left join tab_promote on tab_withdraw.promote_id=tab_promote.id") ->join("left join tab_promote_company on tab_promote.company_id=tab_promote_company.id") + ->join("left join tab_statement as statement on tab_withdraw.widthdraw_number = statement.ext_field") ->where($map) +// ->where("widthdraw_number is not NULL") ->select(); diff --git a/Application/Admin/Controller/AutoController.class.php b/Application/Admin/Controller/AutoController.class.php index e75d464ac..ba3504d8e 100644 --- a/Application/Admin/Controller/AutoController.class.php +++ b/Application/Admin/Controller/AutoController.class.php @@ -1070,7 +1070,6 @@ public function auto_rrdae(){ private function promoteWithdraw($settlement = 1, $initial = false) { $withdrawModel = new WithdrawModel(); - $map['id'] = 84; $map['level'] = 1; $map['ver_status'] = 1; $map['settlement_type'] = ($settlement == 3) ? 1 : $settlement; diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index 6b26217cf..c3f8eada7 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -14,9 +14,9 @@ class MemberController extends ThinkController */ public function user_info($p=0){ //设定默认时间 -// if(!array_key_exists("time_start",$_REQUEST) && I('type') != 2){ -// $this->redirect(ACTION_NAME, array('time_start' => date('Y-m-d',strtotime('-30 day')),"time_end"=>date('Y-m-d'))); -// } + if(!array_key_exists("time_start",$_REQUEST) && I('type') != 2){ + $this->redirect(ACTION_NAME, array('time_start' => date('Y-m-d',strtotime('-30 day')),"time_end"=>date('Y-m-d'))); + } //基础信息 $page = intval($p); $page = $page ? $page : 1; //默认显示第一页数据 @@ -204,9 +204,6 @@ class MemberController extends ThinkController $v['login_time'] = date('Y-m-d H:i:s',$v['login_time']); $v['lock_status'] = get_info_status($v['lock_status'],4); $v['check_status'] = $v['check_status']==1 ? "正常" :"拉黑"; - if(get_info_status($v['lock_status'],4) != '锁定') { - $v['lock_status'] = ''; - } // $data[$k] = $v; } diff --git a/Application/Admin/Controller/QueryController.class.php b/Application/Admin/Controller/QueryController.class.php index 91ba3c37a..4bc33ad8f 100644 --- a/Application/Admin/Controller/QueryController.class.php +++ b/Application/Admin/Controller/QueryController.class.php @@ -1352,6 +1352,7 @@ class QueryController extends ThinkController foreach ($gameRatios as $gameId => $gameRatio) { $gameName = D('game')->where(array('id' => $gameId))->getField('game_name'); foreach ($gameRatio as $list) { + $list['selle_ratio'] = $list['selle_ratio'] ?? '0.00'; $records[] = [ 'settlement_time' => "{$list['begin_time']} - {$list['end_time']}", 'game_name' => $gameName ?? '未知', diff --git a/Application/Admin/View/Promote/belong.html b/Application/Admin/View/Promote/belong.html index a9a61708a..ae7200bee 100644 --- a/Application/Admin/View/Promote/belong.html +++ b/Application/Admin/View/Promote/belong.html @@ -181,7 +181,7 @@ 只维护 - {$data['applicant_time']} + {:set_show_time($data['applicant_time'])} {$data['remark']} diff --git a/Application/Admin/View/Promote/belong_edit.html b/Application/Admin/View/Promote/belong_edit.html index 64cae2757..24e8665a0 100644 --- a/Application/Admin/View/Promote/belong_edit.html +++ b/Application/Admin/View/Promote/belong_edit.html @@ -50,7 +50,7 @@ 会长账号: - @@ -60,6 +60,7 @@ + 工会归属: diff --git a/Application/Admin/View/Query/marketList.html b/Application/Admin/View/Query/marketList.html index 8cfddb092..61ab31b83 100644 --- a/Application/Admin/View/Query/marketList.html +++ b/Application/Admin/View/Query/marketList.html @@ -265,6 +265,9 @@ console.log(game_name) console.log(count_date) console.log(device) + var display=$(_this).children().css('display'); + $(".tooltiptext").hide(); + console.log(display) if ($(_this).children().children().text()=='') { $.ajax({ url: "{:U('Query/getChannelStream')}", @@ -278,7 +281,11 @@ } }); } else { - $(_this).children().toggle(); + + $(_this).children().toggle(); + if(display!='none') { + $(_this).children().toggle(); + } } }