推广员内外团归属优化2

master
chenzhi 5 years ago
parent 55d49e8b4b
commit 121fc02f18

@ -39,6 +39,9 @@ class PromoteCompanyController extends ThinkController
if (isset($_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));

@ -1326,6 +1326,9 @@ class PromoteController extends ThinkController
if (strlen(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'))) {
$map['verify_status'] = I('verify_status');

@ -75,21 +75,30 @@
</select>
</div>
<div class="input-list input-list-channelstatus">
<select name="company_relation">
<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-channelstatus">
<select name="company_relation" class="select_gallery">
<option value="">归属状态</option>
<option value="0">自主开发及维护</option>
<option value="1">只维护</option>
<volist name=":getCompanyRelation()" id="vo">
<option value="{$vo.id}" <php> if($_GET['company_relation'] !='' && $vo['id'] == $_GET['company_relation'])echo selected;</php>>{$vo.name}</option>
</volist>
</select>
</div>
<div class="input-list input-list-channelstatus">
<select name="company_type">
<select name="company_type" class="select_gallery">
<option value="">工会类型</option>
<option value="1">公司</option>
<option value="2">个人</option>
</select>
</div>
<div class="input-list input-list-channelstatus">
<select name="verify_status">
<select name="verify_status" class="select_gallery">
<option value="">审核状态</option>
<option value="1">已审核</option>
<option value="0">待审核</option>
@ -97,12 +106,13 @@
</select>
</div>
<div class="input-list input-list-channelstatus">
<select name="can_view_recharge">
<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="type" value="{$_GET['type']}">
<div class="input-list">

@ -269,9 +269,9 @@
<else/>
<a href="{:U("Promote/set_status",array('ids'=>$data['id'],"status"=>1,"msg_type"=>12,"field"=>"status"))}" class="ajax-get ">解锁</a>
</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>
</if>
</if> -->
<if condition="$data.level = 1">
<a href="{:U('certification', array('id' => $data['id']))}">资质认证</a>
</if>

@ -111,10 +111,9 @@
<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;">
<option value="">请选择团体归属</option>
<option value="0">内团</option>
<option value="1">外团</option>
<option value="2">外团-分发</option>
<option value="3">其他</option>
<volist name=":getCompanyBlong()" id="vo">
<option value="{$vo.id}">{$vo.name}</option>
</volist>
</select>
</div>
</td>

@ -115,14 +115,9 @@
<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;">
<option value="">请选择团体归属</option>
<option value="0" <if condition="$data['company_belong'] eq 0">selected
</if>>内团</option>
<option value="1" <if condition="$data['company_belong'] eq 1">selected
</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>
<volist name=":getCompanyBlong()" id="vo">
<option value="{$vo.id}" <php> if($data['company_belong'] !='' && $vo['id'] == $data['company_belong'])echo selected;</php>>{$vo.name}</option>
</volist>
</select>
</div>
</td>

@ -65,6 +65,14 @@
</volist>
</select>
</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">
<select id="company_type" name="company_type" class="select_gallery">
<option value="">请选择公司性质</option>

Loading…
Cancel
Save