diff --git a/Application/Admin/Controller/PromoteController.class.php b/Application/Admin/Controller/PromoteController.class.php index ef77192dc..74e8e64be 100644 --- a/Application/Admin/Controller/PromoteController.class.php +++ b/Application/Admin/Controller/PromoteController.class.php @@ -1309,16 +1309,21 @@ class PromoteController extends ThinkController //为数据权限添加 setPowerPromoteIds($map, 'pb.promote_id'); $model = M('promote_belong', 'tab_'); + $field = " + pb.id,pb.promote_id,pb.verify_status,pb.company_relation,pb.remark,pb.can_view_recharge,pb.approver_name,pb.applicant_name,pb.verify_time,pb.applicant_time,pb.company_type, + pc.company_name, + p.company_belong,p.account,p.mobile_phone,p.admin_id,p.ver_status,p.status,p.create_time + "; $list_data = $model->alias('pb') ->join('left join tab_promote as p on p.id=pb.promote_id') ->join('left join tab_promote_company as pc on pc.id = p.company_id') ->where($map) - ->field('p.*,pb.*, pc.company_name') + ->field($field) ->page($p, $row) ->order('verify_status asc,applicant_time asc') ->select(); // dd($model->_sql()); -// dd($list_data); + // dd($list_data); $count = $model->alias('pb') ->join('left join tab_promote as p on p.id=pb.promote_id')->where($map)->count(); $page = set_pagination($count, $row); if ($page) { diff --git a/Application/Admin/View/Promote/belong_add.html b/Application/Admin/View/Promote/belong_add.html index 3d0814dac..99ad10e4e 100644 --- a/Application/Admin/View/Promote/belong_add.html +++ b/Application/Admin/View/Promote/belong_add.html @@ -53,29 +53,30 @@ - + 工会归属: - -