推广员内外团归属优化2

master
chenzhi 5 years ago
parent 55d49e8b4b
commit 121fc02f18

@ -39,6 +39,9 @@ class PromoteCompanyController extends ThinkController
if (isset($_REQUEST['company_type'])) { if (isset($_REQUEST['company_type'])) {
$map['company_type'] = $_REQUEST['company_type']; $map['company_type'] = $_REQUEST['company_type'];
} }
if (isset($_REQUEST['company_belong'])) {
$map['company_belong'] = $_REQUEST['company_belong'];
}
$page = intval(I('get.p', 0)); $page = intval(I('get.p', 0));

@ -1326,6 +1326,9 @@ class PromoteController extends ThinkController
if (strlen(I('company_relation'))) { if (strlen(I('company_relation'))) {
$map['pb.company_relation'] = I('company_relation'); $map['pb.company_relation'] = I('company_relation');
} }
if (isset($_REQUEST['company_belong'])) {
$map['p.company_belong'] = $_REQUEST['company_belong'];
}
if (strlen(I('verify_status'))) { if (strlen(I('verify_status'))) {
$map['verify_status'] = I('verify_status'); $map['verify_status'] = I('verify_status');

@ -74,35 +74,45 @@
</volist> </volist>
</select> </select>
</div> </div>
<div class="input-list input-list-channelstatus"> <div class="input-list input-list-channelstatus">
<select name="company_relation"> <select name="company_belong" class="select_gallery">
<option value="">归属状态</option> <option value="">请选择团体类型</option>
<option value="0">自主开发及维护</option> <volist name=":getCompanyBlong()" id="vo">
<option value="1">只维护</option> <option value="{$vo.id}" <php> if($_GET['company_belong'] !='' && $vo['id'] == $_GET['company_belong'])echo selected;</php>>{$vo.name}</option>
</select> </volist>
</div> </select>
<div class="input-list input-list-channelstatus"> </div>
<select name="company_type"> <div class="input-list input-list-channelstatus">
<option value="">工会类型</option> <select name="company_relation" class="select_gallery">
<option value="1">公司</option> <option value="">归属状态</option>
<option value="2">个人</option> <volist name=":getCompanyRelation()" id="vo">
</select> <option value="{$vo.id}" <php> if($_GET['company_relation'] !='' && $vo['id'] == $_GET['company_relation'])echo selected;</php>>{$vo.name}</option>
</div> </volist>
<div class="input-list input-list-channelstatus"> </select>
<select name="verify_status"> </div>
<option value="">审核状态</option> <div class="input-list input-list-channelstatus">
<option value="1">已审核</option> <select name="company_type" class="select_gallery">
<option value="0">待审核</option> <option value="">工会类型</option>
<option value="2">审核未通过</option> <option value="1">公司</option>
</select> <option value="2">个人</option>
</div> </select>
<div class="input-list input-list-channelstatus"> </div>
<select name="can_view_recharge"> <div class="input-list input-list-channelstatus">
<option value="">充值信息权限</option> <select name="verify_status" class="select_gallery">
<option value="0">禁止</option> <option value="">审核状态</option>
<option value="1">开放</option> <option value="1">已审核</option>
</select> <option value="0">待审核</option>
</div> <option value="2">审核未通过</option>
</select>
</div>
<div class="input-list input-list-channelstatus">
<select name="can_view_recharge" class="select_gallery">
<option value="">充值信息权限</option>
<option value="0">禁止</option>
<option value="1">开放</option>
</select>
</div>
<input type="hidden" name="" value="" class="sortBy"> <input type="hidden" name="" value="" class="sortBy">
<input type="hidden" name="type" value="{$_GET['type']}"> <input type="hidden" name="type" value="{$_GET['type']}">
<div class="input-list"> <div class="input-list">

@ -269,9 +269,9 @@
<else/> <else/>
<a href="{:U("Promote/set_status",array('ids'=>$data['id'],"status"=>1,"msg_type"=>12,"field"=>"status"))}" class="ajax-get ">解锁</a> <a href="{:U("Promote/set_status",array('ids'=>$data['id'],"status"=>1,"msg_type"=>12,"field"=>"status"))}" class="ajax-get ">解锁</a>
</if> </if>
<if condition="session('user_auth.uid') eq 1"> <!-- <if condition="session('user_auth.uid') eq 1">
<a class='delete' data-id="{$data.id}">删除</a> <a class='delete' data-id="{$data.id}">删除</a>
</if> </if> -->
<if condition="$data.level = 1"> <if condition="$data.level = 1">
<a href="{:U('certification', array('id' => $data['id']))}">资质认证</a> <a href="{:U('certification', array('id' => $data['id']))}">资质认证</a>
</if> </if>

@ -111,10 +111,9 @@
<div class="input-list input-list-server search_label_rehab" style="margin:0;"> <div class="input-list input-list-server search_label_rehab" style="margin:0;">
<select id="company_belong" name="company_belong" class="select_gallery" style="width: 215px;"> <select id="company_belong" name="company_belong" class="select_gallery" style="width: 215px;">
<option value="">请选择团体归属</option> <option value="">请选择团体归属</option>
<option value="0">内团</option> <volist name=":getCompanyBlong()" id="vo">
<option value="1">外团</option> <option value="{$vo.id}">{$vo.name}</option>
<option value="2">外团-分发</option> </volist>
<option value="3">其他</option>
</select> </select>
</div> </div>
</td> </td>

@ -115,14 +115,9 @@
<div class="input-list input-list-server search_label_rehab" style="margin:0;"> <div class="input-list input-list-server search_label_rehab" style="margin:0;">
<select id="company_belong" name="company_belong" class="select_gallery" style="width: 215px;"> <select id="company_belong" name="company_belong" class="select_gallery" style="width: 215px;">
<option value="">请选择团体归属</option> <option value="">请选择团体归属</option>
<option value="0" <if condition="$data['company_belong'] eq 0">selected <volist name=":getCompanyBlong()" id="vo">
</if>>内团</option> <option value="{$vo.id}" <php> if($data['company_belong'] !='' && $vo['id'] == $data['company_belong'])echo selected;</php>>{$vo.name}</option>
<option value="1" <if condition="$data['company_belong'] eq 1">selected </volist>
</if>>外团</option>
<option value="2" <if condition="$data['company_belong'] eq 2">selected
</if>>外团-分发</option>
<option value="3" <if condition="$data['company_belong'] eq 3">selected
</if>>其他</option>
</select> </select>
</div> </div>
</td> </td>

@ -65,6 +65,14 @@
</volist> </volist>
</select> </select>
</div> </div>
<div class="input-list input-list-channelstatus">
<select name="company_belong" class="select_gallery">
<option value="">请选择团体类型</option>
<volist name=":getCompanyBlong()" id="vo">
<option value="{$vo.id}" <php> if($_GET['company_belong'] !='' && $vo['id'] == $_GET['company_belong'])echo selected;</php>>{$vo.name}</option>
</volist>
</select>
</div>
<div class="input-list input-list-game search_label_rehab"> <div class="input-list input-list-game search_label_rehab">
<select id="company_type" name="company_type" class="select_gallery"> <select id="company_type" name="company_type" class="select_gallery">
<option value="">请选择公司性质</option> <option value="">请选择公司性质</option>

Loading…
Cancel
Save