|
|
|
@ -12,7 +12,8 @@
|
|
|
|
|
|
|
|
|
|
<div class="cf main-place top_nav_list navtab_list">
|
|
|
|
|
<ul class="tabnav1711 fr jstabnav">
|
|
|
|
|
<li data-tab="tab1" class="current"><a href="javascript:void(0);">基本信息</a></li></li>
|
|
|
|
|
<li data-tab="tab1" class="current"><a href="javascript:void(0);">基本信息</a></li>
|
|
|
|
|
</li>
|
|
|
|
|
<li data-tab="tab2"><a href="javascript:void(0);">结算信息</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h3 class="page_title">编辑推广员</h3>
|
|
|
|
@ -33,7 +34,8 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">登录账号:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="account" value="{$data['account']}" onKeyUp="value=value.replace(/[^\w\.\/]/ig,'')">
|
|
|
|
|
<input type="text" class="txt" name="account" value="{$data['account']}"
|
|
|
|
|
onKeyUp="value=value.replace(/[^\w\.\/]/ig,'')">
|
|
|
|
|
<span class="notice-text">通过推广员后台注册申请或者管理后台创建的账号</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
@ -48,10 +50,12 @@
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="1" name="status" <eq name="data['status']" value="1">checked="checked"</eq>>正常
|
|
|
|
|
<input type="radio" value="1" name="status" <eq name="data['status']"
|
|
|
|
|
value="1">checked="checked"</eq>>正常
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="2" name="status" <eq name="data['status']" value="2">checked="checked"</eq>>{:L('Lock')}
|
|
|
|
|
<input type="radio" value="2" name="status" <eq name="data['status']"
|
|
|
|
|
value="2">checked="checked"</eq>>{:L('Lock')}
|
|
|
|
|
</label></span>
|
|
|
|
|
<span class="notice-text">锁定状态下,推广员账号则无法登录</span>
|
|
|
|
|
<input type="hidden" name="status" id="status" value="{$data['status']}">
|
|
|
|
@ -73,10 +77,14 @@
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="0" name="child_game_permission" <eq name="data['child_game_permission']" value="0">checked="checked"</eq>>会长已添加游戏
|
|
|
|
|
<input type="radio" value="0" name="child_game_permission" <eq
|
|
|
|
|
name="data['child_game_permission']" value="0">checked="checked"
|
|
|
|
|
</eq>>会长已添加游戏
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="1" name="child_game_permission" <eq name="data['child_game_permission']" value="1">checked="checked"</eq>>所有游戏
|
|
|
|
|
<input type="radio" value="1" name="child_game_permission" <eq
|
|
|
|
|
name="data['child_game_permission']" value="1">checked="checked"
|
|
|
|
|
</eq>>所有游戏
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
@ -86,9 +94,12 @@
|
|
|
|
|
<td class="l">真实姓名:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<if condition="$show_data_power eq true ">
|
|
|
|
|
<input type="text" class="txt" name="real_name" value="{$data['real_name']}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="real_name" value="{$data['real_name']}"
|
|
|
|
|
disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<else />
|
|
|
|
|
<input type="text" class="txt" name="real_name" value="{$data['real_name']|encryptRealName}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="real_name"
|
|
|
|
|
value="{$data['real_name']|encryptRealName}" disabled="disabled"
|
|
|
|
|
style="background:#CCCCCC">
|
|
|
|
|
</if>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
@ -96,9 +107,13 @@
|
|
|
|
|
<td class="l">手机号码:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<if condition="$show_data_power eq true ">
|
|
|
|
|
<input type="text" class="txt" name="mobile_phone" value="{$data['mobile_phone']}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="mobile_phone"
|
|
|
|
|
value="{$data['mobile_phone']}" disabled="disabled"
|
|
|
|
|
style="background:#CCCCCC">
|
|
|
|
|
<else />
|
|
|
|
|
<input type="text" class="txt" name="mobile_phone" value="{$data['mobile_phone']|encryptStr}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="mobile_phone"
|
|
|
|
|
value="{$data['mobile_phone']|encryptStr}" disabled="disabled"
|
|
|
|
|
style="background:#CCCCCC">
|
|
|
|
|
</if>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
@ -108,7 +123,8 @@
|
|
|
|
|
<div id="businesspicList" class="uploader-list" style="display: flex;">
|
|
|
|
|
<?php if(!empty($idcardimg)):?>
|
|
|
|
|
<?php foreach ($idcardimg as $key => $info):?>
|
|
|
|
|
<a href="javascript:;"><img src="<?php echo $info?>" style="width: 100px;height: 100px;cursor: move;"></a>
|
|
|
|
|
<a href="javascript:;"><img src="<?php echo $info?>"
|
|
|
|
|
style="width: 100px;height: 100px;cursor: move;"></a>
|
|
|
|
|
<?php endforeach;?>
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
</div>
|
|
|
|
@ -121,7 +137,8 @@
|
|
|
|
|
<div id="businesspicList" class="uploader-list" style="display: flex;">
|
|
|
|
|
<?php if(!empty($businesspicImg)):?>
|
|
|
|
|
<?php foreach ($businesspicImg as $key => $info1):?>
|
|
|
|
|
<a href="javascript:;"><img src="<?php echo $info1?>" style="width: 100px;height: 100px;cursor: move;"></a>
|
|
|
|
|
<a href="javascript:;"><img src="<?php echo $info1?>"
|
|
|
|
|
style="width: 100px;height: 100px;cursor: move;"></a>
|
|
|
|
|
<?php endforeach;?>
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
</div>
|
|
|
|
@ -133,7 +150,8 @@
|
|
|
|
|
<div id="businesspicList" class="uploader-list" style="display: flex;">
|
|
|
|
|
<?php if(!empty($agreementpicimg)):?>
|
|
|
|
|
<?php foreach ($agreementpicimg as $key => $info2):?>
|
|
|
|
|
<a href="javascript:;"><img src="<?php echo $info2?>" style="width: 100px;height: 100px;cursor: move;"></a>
|
|
|
|
|
<a href="javascript:;"><img src="<?php echo $info2?>"
|
|
|
|
|
style="width: 100px;height: 100px;cursor: move;"></a>
|
|
|
|
|
<?php endforeach;?>
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
</div>
|
|
|
|
@ -145,7 +163,8 @@
|
|
|
|
|
<div id="businesspicList" class="uploader-list" style="display: flex;">
|
|
|
|
|
<?php if(!empty($anothpicimg)):?>
|
|
|
|
|
<?php foreach ($anothpicimg as $key => $info3):?>
|
|
|
|
|
<a href="javascript:;"><img src="<?php echo $info3?>" style="width: 100px;height: 100px;cursor: move;"></a>
|
|
|
|
|
<a href="javascript:;"><img src="<?php echo $info3?>"
|
|
|
|
|
style="width: 100px;height: 100px;cursor: move;"></a>
|
|
|
|
|
<?php endforeach;?>
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
</div>
|
|
|
|
@ -153,134 +172,47 @@
|
|
|
|
|
</tr>
|
|
|
|
|
<td class="l">邮箱:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="email" value="{$data['email']}" placeholder="输入推广员邮箱">
|
|
|
|
|
<input type="text" class="txt" name="email" value="{$data['email']}"
|
|
|
|
|
placeholder="输入推广员邮箱">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">渠道等级:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="parent_id" value="{:get_promote_levels($data['id'])}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="parent_id"
|
|
|
|
|
value="{:get_promote_levels($data['id'])}" disabled="disabled"
|
|
|
|
|
style="background:#CCCCCC">
|
|
|
|
|
<span class="notice-text">自主申请或者管理后台添加的账号为一级推广员,一级推广员后台添加的子渠道为二级</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<if condition="$data['parent_id'] == 0">
|
|
|
|
|
<!-- <tr>-->
|
|
|
|
|
<!-- <td class="l">商务专员:</td>-->
|
|
|
|
|
<!-- <td class="r">-->
|
|
|
|
|
<!-- <select name="ba_id" id="ba_id">-->
|
|
|
|
|
<!-- <option value="0">请选择商务专员</option>-->
|
|
|
|
|
<!-- <volist name=":get_business_affairs_list()" id="vo">-->
|
|
|
|
|
<!-- <option value="{$vo.id}">{$vo.account}</option>-->
|
|
|
|
|
<!-- </volist>-->
|
|
|
|
|
<!-- </select>-->
|
|
|
|
|
<!-- <span class="notice-text">设置该推广员所属的商务专员组</span>-->
|
|
|
|
|
<!-- </td>-->
|
|
|
|
|
<!-- </tr>-->
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">推广公司:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<select name="company_id" id="company_id" class="select_gallery"
|
|
|
|
|
<if condition="$data['level'] != 1">
|
|
|
|
|
<select name="company_id" id="company_id" class="select_gallery" <if condition="$data['level'] != 1">
|
|
|
|
|
disabled style="background:#CCCCCC" </if>>
|
|
|
|
|
<option value="-1">请选择推广公司</option>
|
|
|
|
|
<option value="0" <?php echo (0==$data['company_id'] ? 'selected' :''); ?>>{:C(DEFAULT_COMPANY)}</option>
|
|
|
|
|
<volist name="companys" id="vo">
|
|
|
|
|
|
|
|
|
|
<option value="{$vo.id}" <?php echo ($vo['id'] == $data['company_id'] ? 'selected':''); ?>
|
|
|
|
|
>{$vo.company_name} </option>
|
|
|
|
|
<option value="{$vo.id}" <?php echo ($vo['id']==$data['company_id'] ? 'selected' :''); ?>>{$vo.company_name} </option>
|
|
|
|
|
</volist>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="notice-text">设置该推广员所属的推广公司</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<!--如果是会长可编辑,其他人只能查看-->
|
|
|
|
|
<!-- <if condition="$data['level'] == 1">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">工会归属:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label >
|
|
|
|
|
<input type="radio" value="0"
|
|
|
|
|
<if condition="$data['company_belong'] == 0">
|
|
|
|
|
checked="checked"
|
|
|
|
|
</if>
|
|
|
|
|
name="company_belong" class="company_belong"> 内团
|
|
|
|
|
</label >
|
|
|
|
|
<label >
|
|
|
|
|
<input type="radio" value="1"
|
|
|
|
|
<if condition="$data['company_belong'] == 1">
|
|
|
|
|
checked="checked"
|
|
|
|
|
</if>
|
|
|
|
|
name="company_belong" class="company_belong"> 外团
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
<!– <span class="notice-text"></span>–>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr <?php echo (0 == $data['company_belong'] ? 'style="display: none"':''); ?> id="company_relation">
|
|
|
|
|
<td class="l">工会关系:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label >
|
|
|
|
|
<input type="radio" value="0"
|
|
|
|
|
<?php echo (1 == $data['company_relation'] ? 'checked':''); ?>
|
|
|
|
|
name="company_relation" checked="checked"> 自主开发及维护
|
|
|
|
|
</label >
|
|
|
|
|
<label >
|
|
|
|
|
<input type="radio" value="1"
|
|
|
|
|
<?php echo (1 == $data['company_relation'] ? 'checked':''); ?>
|
|
|
|
|
name="company_relation" > 只维护
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
<!– <span class="notice-text"></span>–>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<else/>
|
|
|
|
|
<!–非会长只能查看–>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">工会归属:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label >
|
|
|
|
|
<input type="radio" value="0" <?php echo (0 == $data['company_belong'] ? 'checked':''); ?> disabled="disabled" name="company_belong" checked="checked" class="company_belong"> 内团
|
|
|
|
|
</label >
|
|
|
|
|
<label >
|
|
|
|
|
<input type="radio" value="1" <?php echo (1 == $data['company_belong'] ? 'checked':''); ?> disabled="disabled" name="company_belong" class="company_belong"> 外团
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
<!– <span class="notice-text"></span>–>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr <?php echo (0 == $data['company_belong'] ? 'style="display: none"':''); ?> id="company_relation">
|
|
|
|
|
<td class="l">工会关系:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label >
|
|
|
|
|
<input type="radio" value="0" <?php echo (0 == $data['company_relation'] ? 'checked':''); ?> disabled="disabled" name="company_relation" checked="checked"> 自主开发及维护
|
|
|
|
|
</label >
|
|
|
|
|
<label >
|
|
|
|
|
<input type="radio" value="1" <?php echo (1 == $data['company_relation'] ? 'checked':''); ?> disabled="disabled" name="company_relation" > 只维护
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
<!– <span class="notice-text"></span>–>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</if>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">注册时间:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="create_time" value="{:set_show_time($data['create_time'])}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="create_time"
|
|
|
|
|
value="{:set_show_time($data['create_time'])}" disabled="disabled"
|
|
|
|
|
style="background:#CCCCCC">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<td class="l">最后登录时间:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="last_login_time" value="{:set_show_time($data['last_login_time'])}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="last_login_time"
|
|
|
|
|
value="{:set_show_time($data['last_login_time'])}" disabled="disabled"
|
|
|
|
|
style="background:#CCCCCC">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
@ -296,10 +228,14 @@
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="1" name="can_view_recharge" class="can_view_recharge" <if condition="$data['can_view_recharge'] eq 1">checked="checked"</if>> 开启
|
|
|
|
|
<input type="radio" value="1" name="can_view_recharge"
|
|
|
|
|
class="can_view_recharge" <if
|
|
|
|
|
condition="$data['can_view_recharge'] eq 1">checked="checked"</if>> 开启
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="0" name="can_view_recharge" class="can_view_recharge" <if condition="$data['can_view_recharge'] eq 0">checked="checked"</if>> 锁定
|
|
|
|
|
<input type="radio" value="0" name="can_view_recharge"
|
|
|
|
|
class="can_view_recharge" <if
|
|
|
|
|
condition="$data['can_view_recharge'] eq 0">checked="checked"</if>> 锁定
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
@ -310,10 +246,12 @@
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="1" name="withdraw_show" <if condition="$data['withdraw_show'] eq 1">checked="checked"</if>> 开启
|
|
|
|
|
<input type="radio" value="1" name="withdraw_show" <if
|
|
|
|
|
condition="$data['withdraw_show'] eq 1">checked="checked"</if>> 开启
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="0" name="withdraw_show" <if condition="$data['withdraw_show'] eq 0">checked="checked"</if>> 锁定
|
|
|
|
|
<input type="radio" value="0" name="withdraw_show" <if
|
|
|
|
|
condition="$data['withdraw_show'] eq 0">checked="checked"</if>> 锁定
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
@ -324,10 +262,12 @@
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="1" name="withdraw_done" class="withdraw_done" <if condition="$data['withdraw_done'] eq 1">checked="checked"</if>> 开启
|
|
|
|
|
<input type="radio" value="1" name="withdraw_done" class="withdraw_done" <if
|
|
|
|
|
condition="$data['withdraw_done'] eq 1">checked="checked"</if>> 开启
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="0" name="withdraw_done" class="withdraw_done" <if condition="$data['withdraw_done'] eq 0">checked="checked"</if>> 锁定
|
|
|
|
|
<input type="radio" value="0" name="withdraw_done" class="withdraw_done" <if
|
|
|
|
|
condition="$data['withdraw_done'] eq 0">checked="checked"</if>> 锁定
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
@ -338,10 +278,12 @@
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="1" name="ts_over_apply" class="withdraw_done" <if condition="$data['ts_over_apply'] eq 1">checked="checked"</if>> 开启
|
|
|
|
|
<input type="radio" value="1" name="ts_over_apply" class="withdraw_done" <if
|
|
|
|
|
condition="$data['ts_over_apply'] eq 1">checked="checked"</if>> 开启
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="0" name="ts_over_apply" class="withdraw_done" <if condition="$data['ts_over_apply'] eq 0">checked="checked"</if>> 锁定
|
|
|
|
|
<input type="radio" value="0" name="ts_over_apply" class="withdraw_done" <if
|
|
|
|
|
condition="$data['ts_over_apply'] eq 0">checked="checked"</if>> 锁定
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="notice-text">开启后该推广员有权限操作整个公会的测试资源查看与申请</span>
|
|
|
|
@ -354,10 +296,14 @@
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="1" name="shift_over_apply" class="withdraw_done" <if condition="$data['shift_over_apply'] eq 1">checked="checked"</if>> 开启
|
|
|
|
|
<input type="radio" value="1" name="shift_over_apply" class="withdraw_done"
|
|
|
|
|
<if condition="$data['shift_over_apply'] eq 1">checked="checked"</if>>
|
|
|
|
|
开启
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="0" name="shift_over_apply" class="withdraw_done" <if condition="$data['shift_over_apply'] eq 0">checked="checked"</if>> 锁定
|
|
|
|
|
<input type="radio" value="0" name="shift_over_apply" class="withdraw_done"
|
|
|
|
|
<if condition="$data['shift_over_apply'] eq 0">checked="checked"</if>>
|
|
|
|
|
锁定
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="notice-text">开启后该推广员有权限操作整个公会的玩家换绑</span>
|
|
|
|
@ -369,10 +315,14 @@
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="1" name="rebate_over_perm" class="withdraw_done" <if condition="$data['rebate_over_perm'] eq 1">checked="checked"</if>> 开启
|
|
|
|
|
<input type="radio" value="1" name="rebate_over_perm" class="withdraw_done"
|
|
|
|
|
<if condition="$data['rebate_over_perm'] eq 1">checked="checked"</if>>
|
|
|
|
|
开启
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" value="0" name="rebate_over_perm" class="withdraw_done" <if condition="$data['rebate_over_perm'] eq 0">checked="checked"</if>> 锁定
|
|
|
|
|
<input type="radio" value="0" name="rebate_over_perm" class="withdraw_done"
|
|
|
|
|
<if condition="$data['rebate_over_perm'] eq 0">checked="checked"</if>>
|
|
|
|
|
锁定
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="notice-text">开启后该推广员有权限查看并操作整个公会用户返利功能</span>
|
|
|
|
@ -400,13 +350,15 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">结算联系人</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="real_name" value="{$data['real_name']}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="real_name" value="{$data['real_name']}"
|
|
|
|
|
disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">结算电话</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="mobile_phone" value="{$data['mobile_phone']}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="mobile_phone" value="{$data['mobile_phone']}"
|
|
|
|
|
disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
@ -418,12 +370,12 @@
|
|
|
|
|
<select id="s_city" name="s_city" disabled="disabled" style="background:#CCCCCC"></select>
|
|
|
|
|
<select id="s_county" name="s_county" disabled="disabled" style="background:#CCCCCC"></select>
|
|
|
|
|
<script class="resources library" src="__STATIC__/provincecityarea/Area.js" type="text/javascript"></script>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
var pro = "{:$data['bank_area']['0']}";
|
|
|
|
|
var city = "{:$data['bank_area']['1']}";
|
|
|
|
|
var are = "{:$data['bank_area']['2']}";
|
|
|
|
|
_init_area(pro,city,are);</script>
|
|
|
|
|
_init_area(pro, city, are);
|
|
|
|
|
</script>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="show"></div>
|
|
|
|
|
</div>
|
|
|
|
@ -433,38 +385,45 @@
|
|
|
|
|
$('#s_city').value + " - 县/区" +
|
|
|
|
|
$('#s_county').value + "</h3>"
|
|
|
|
|
}
|
|
|
|
|
$('#s_county').attr('onchange','showArea()');
|
|
|
|
|
$('#s_county').attr('onchange', showArea);
|
|
|
|
|
</script>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">收款银行</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="bank_name" value="{$data['bank_name']}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="bank_name" value="{$data['bank_name']}"
|
|
|
|
|
disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">开户网点</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="account_openin" value="{$data['account_openin']}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="account_openin"
|
|
|
|
|
value="{$data['account_openin']}" disabled="disabled"
|
|
|
|
|
style="background:#CCCCCC">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">银行户名</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="bank_account" value="{$data['bank_account']}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="bank_account" value="{$data['bank_account']}"
|
|
|
|
|
disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">银行卡号</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="bank_card" value="{$data['bank_card']}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="bank_card" value="{$data['bank_card']}"
|
|
|
|
|
disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">支付宝账号:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="alipay_account" value="{$data['alipay_account']}" disabled="disabled" style="background:#CCCCCC">
|
|
|
|
|
<input type="text" class="txt" name="alipay_account"
|
|
|
|
|
value="{$data['alipay_account']}" disabled="disabled"
|
|
|
|
|
style="background:#CCCCCC">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
@ -480,7 +439,8 @@
|
|
|
|
|
<input type="hidden" name="id" value="{$data['id']}" class="promote_id" />
|
|
|
|
|
|
|
|
|
|
<div class="form-item cf">
|
|
|
|
|
<button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="form-horizontal">
|
|
|
|
|
<button class="submit_btn ajax-post mlspacing" id="submit" type="submit"
|
|
|
|
|
target-form="form-horizontal">
|
|
|
|
|
保存
|
|
|
|
|
</button>
|
|
|
|
|
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back(-1);">
|
|
|
|
@ -497,7 +457,13 @@
|
|
|
|
|
<input type="hidden" name="title" value="{$m_title}">
|
|
|
|
|
<input type="hidden" name="url" value="Promote/lists/type/1">
|
|
|
|
|
</form>
|
|
|
|
|
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
|
|
|
|
|
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;"
|
|
|
|
|
target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img
|
|
|
|
|
src="__IMG__/zwmimages/icon_jia.png"><span>
|
|
|
|
|
<notempty name='commonset'>已添加
|
|
|
|
|
<else />添加至常用设置
|
|
|
|
|
</notempty>
|
|
|
|
|
</span></a>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</block>
|
|
|
|
@ -510,18 +476,15 @@
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
//导航高亮
|
|
|
|
|
highlight_subnav("{:U('Promote/lists')}");
|
|
|
|
|
Think.setValue("game_type_id", {$data.game_type_id|default = 0});
|
|
|
|
|
Think.setValue("category", {$data.category|default = 0});
|
|
|
|
|
Think.setValue("ba_id", {$data.ba_id|default = 0});
|
|
|
|
|
Think.setValue("game_type_id", '{ $data.game_type_id |default = 0 }');
|
|
|
|
|
Think.setValue("category", '{ $data.category |default = 0 }');
|
|
|
|
|
Think.setValue("ba_id", '{ $data.ba_id |default = 0 }');
|
|
|
|
|
|
|
|
|
|
$(function () {
|
|
|
|
|
// var pro="{:$data['bank_area']['0']}";
|
|
|
|
|
// alert (pro);
|
|
|
|
|
showTab();
|
|
|
|
|
prov = "{:substr($data['bank_area'],0,2)}";
|
|
|
|
|
city = "{:substr($data['bank_area'],2,2)}";
|
|
|
|
|
ciarea = "{:substr($data['bank_area'],4,2)}";
|
|
|
|
|
//initComplexArea('seachprov', 'seachcity', 'seachdistrict', area_array, sub_array, prov, city, ciarea);
|
|
|
|
|
$(".select_gallery").select2();
|
|
|
|
|
$("input[name=company_belong]").click(function () {
|
|
|
|
|
if ($(this).val() == 1) {
|
|
|
|
@ -532,7 +495,6 @@ $(function(){
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
$(".withdraw_done").click(function () {
|
|
|
|
|
|
|
|
|
|
if ($(this).val() == 1) {
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "{:U('Promote/getWithdrawDone')}",
|
|
|
|
@ -540,46 +502,13 @@ $(function(){
|
|
|
|
|
data: { company_id: $("#company_id option:selected").val(), promote_id: $(".promote_id").val() },
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
success: function (data) {
|
|
|
|
|
|
|
|
|
|
if (data.status == 1) {
|
|
|
|
|
layer.alert('公司提现推广员只能设置一个,原先已设置提现推广员,保存后会将这个推广员设置成提现推广员');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
// //得到地区码
|
|
|
|
|
// function getAreaID(){
|
|
|
|
|
// var area = 0;
|
|
|
|
|
// if($("#seachdistrict").val() != "0"){
|
|
|
|
|
// area = $("#seachdistrict").val();
|
|
|
|
|
// }else if ($("#seachcity").val() != "0"){
|
|
|
|
|
// area = $("#seachcity").val();
|
|
|
|
|
// }else{
|
|
|
|
|
// area = $("#seachprov").val();
|
|
|
|
|
// }
|
|
|
|
|
// return area;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// //根据地区码查询地区名
|
|
|
|
|
// function getAreaNamebyID(areaID){
|
|
|
|
|
// var areaName = "";
|
|
|
|
|
// if(areaID.length == 2){
|
|
|
|
|
// areaName = area_array[areaID];
|
|
|
|
|
// }else if(areaID.length == 4){
|
|
|
|
|
// var index1 = areaID.substring(0, 2);
|
|
|
|
|
// areaName = area_array[index1] + " " + sub_array[index1][areaID];
|
|
|
|
|
// }else if(areaID.length == 6){
|
|
|
|
|
// var index1 = areaID.substring(0, 2);
|
|
|
|
|
// var index2 = areaID.substring(0, 4);
|
|
|
|
|
// areaName = area_array[index1] + " " + sub_array[index1][index2] + " " + sub_arr[index2][areaID];
|
|
|
|
|
// }
|
|
|
|
|
// return areaName;
|
|
|
|
|
// }
|
|
|
|
|
</script>
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
|
|