|
|
|
<!-- 成员授权编辑页面 -->
|
|
|
|
<extend name="Public/base" />
|
|
|
|
<block name="body">
|
|
|
|
<div class="main-place">
|
|
|
|
<span class="main-placetitle">位置</span>
|
|
|
|
<ul class="main-placeul">
|
|
|
|
<li><a href="{:U('User/index')}">用户</a></li>
|
|
|
|
<li><a href="{:U('User/index')}">管理组</a></li>
|
|
|
|
<li><a href="#">{$meta_title}</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="tab-wrap">
|
|
|
|
<div class="tab_nav">
|
|
|
|
<ul>
|
|
|
|
<li><a href="{:U('AuthManager/access',array('group_name'=>I('group_name') ,'group_id'=> I('group_id')))}">访问授权</a></li>
|
|
|
|
<li><a href="{:U('AuthManager/category',array('group_name'=>I('group_name') ,'group_id'=> I('group_id')))}">分类授权</a></li>
|
|
|
|
<li><a href="{:U('AuthManager/dataempower',array('group_name'=>I('group_name') ,'group_id'=> I('group_id')))}">数据授权</a></li>
|
|
|
|
<li><a href="{:U('AuthManager/user',array('group_name'=>I('group_name') ,'group_id'=> I('group_id')))}">成员授权</a></li>
|
|
|
|
<li class="current"><a href="javascript:;">市场专员分成</a></li>
|
|
|
|
<li class="fr tab_select">
|
|
|
|
<select name="group">
|
|
|
|
<volist name="auth_group" id="vo">
|
|
|
|
<option value="{:U('AuthManager/AuthMarketMember',array('group_id'=>$vo['id'],'group_name'=>$vo['title']))}" <eq name="vo['id']" value="$_GET['group_id']">selected</eq> >{$vo.title}</option>
|
|
|
|
</volist>
|
|
|
|
</select>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="tab-wrap">
|
|
|
|
|
|
|
|
<div class="tab-content tabcon1711" style="margin-top: 20px;">
|
|
|
|
<span style="font-size: 20px;font-weight: 600;padding-left: 15px;padding-bottom: 30px">市场专员分成</span>
|
|
|
|
<!-- 表单 -->
|
|
|
|
<form id="form" action="{:U('AuthMarketMember?model='.$model['id'])}" method="post" class="form-horizontal">
|
|
|
|
<!-- 基础文档模型 -->
|
|
|
|
<div id="tab1" class="tab-pane in tab1" style="margin-top: 10px;">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="l" style="padding-left: 15px;">业绩提成起提流水:</td>
|
|
|
|
<td class="r table_radio">
|
|
|
|
<input type="text" name="performance_revenue" id="performance_revenue" value="{$data.performance_revenue}" onkeyup ="value=value.replace(/[^\d]/g,'')">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="l" style="padding-left: 15px;">开发业绩提成比例:</td>
|
|
|
|
<td class="r table_radio">
|
|
|
|
<input type="text" name="develop_commission_ratio" id="develop_commission_ratio" value="{$data['develop_commission_ratio']}" onkeyup ="if(value>100){value=100}else{value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')}if(value.indexOf(0)==0){value=0}">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="l" style="padding-left: 15px;">维护业绩提成比例:</td>
|
|
|
|
<td class="r table_radio">
|
|
|
|
<input type="text" name="maintain_commission_ratio" id="maintain_commission_ratio" value="{$data['maintain_commission_ratio']}" onkeyup ="if(value>100){value=100}else{value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')}if(value.indexOf(0)==0){value=0}">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="l" style="padding-left: 15px;">业绩月发放比例:</td>
|
|
|
|
<td class="r table_radio">
|
|
|
|
<input type="text" name="performance_monthly_ratio" id="performance_monthly_ratio" value="{$data['performance_monthly_ratio']}" onkeyup ="if(value>100){value=100}else{value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')}if(value.indexOf(0)==0){value=0}">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="l" style="padding-left: 15px;">余下业绩发放时间选择:</td>
|
|
|
|
<td class="r table_radio">
|
|
|
|
<select name="time" class="select_gallery" id="time" style="text-align: center">
|
|
|
|
<option value="0" <if condition="$data['time'] eq '0'">selected</if>>月</option>
|
|
|
|
<option value="1" <if condition="$data['time'] eq '1'">selected</if>>跨季</option>
|
|
|
|
<option value="2" <if condition="$data['time'] eq '2'">selected</if>>半年</option>
|
|
|
|
<option value="3" <if condition="$data['time'] eq '3'">selected</if>>一年</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="l" style="padding-left: 15px;">考核奖金起提流水:</td>
|
|
|
|
<td class="r table_radio">
|
|
|
|
<input type="text" name="appraisal_bonuses" id="appraisal_bonuses" value="{$data['appraisal_bonuses']}" onkeyup ="value=value.replace(/[^\d]/g,'')">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="l" style="padding-left: 15px;">开发考核奖金比例:</td>
|
|
|
|
<td class="r table_radio">
|
|
|
|
<input type="text" name="appraisal_bonuses_ratio" id="appraisal_bonuses_ratio" value="{$data['appraisal_bonuses_ratio']}" onkeyup ="if(value>100){value=100}else{value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')}if(value.indexOf(0)==0){value=0}">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="l" style="padding-left: 15px;">维护考核奖金比例:</td>
|
|
|
|
<td class="r table_radio">
|
|
|
|
<input type="text" name="maintain_appraisal_bonuses_ratio" id="maintain_appraisal_bonuses_ratio" value="{$data['maintain_appraisal_bonuses_ratio']}" onkeyup ="if(value>100){value=100}else{value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')}if(value.indexOf(0)==0){value=0}">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="l" style="padding-left: 15px;">奖金月发放比例:</td>
|
|
|
|
<td class="r table_radio">
|
|
|
|
<input type="text" name="month_bonus_ratio" id="month_bonus_ratio" value="{$data['month_bonus_ratio']}" onkeyup ="if(value>100){value=100}else{value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')}if(value.indexOf(0)==0){value=0}">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="l" style="padding-left: 15px;">余下奖金发放时间选择:</td>
|
|
|
|
<td class="r table_radio">
|
|
|
|
<select name="remain_time" class="select_gallery" id="remain_time">
|
|
|
|
<option value="0" <if condition="$data.remain_time eq '0'">selected</if>>月</option>
|
|
|
|
<option value="1" <if condition="$data.remain_time eq '1'">selected</if>>跨季</option>
|
|
|
|
<option value="2" <if condition="$data.remain_time eq '2'">selected</if>>半年</option>
|
|
|
|
<option value="3" <if condition="$data.remain_time eq '3'">selected</if>>一年</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-item cf">
|
|
|
|
|
|
|
|
<input type="hidden" name="group_id" id="group_id" value="{$_GET['group_id']}">
|
|
|
|
<button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="form-horizontal" >
|
|
|
|
确认
|
|
|
|
</button>
|
|
|
|
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="{:U('index')}" style="color:#000000;background:#ffffff;border: solid 1px #000">
|
|
|
|
返回
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="main-title" style="border-bottom: 0px solid #C1C1C1 !important;margin-bottom: 0;padding-bottom: 0">
|
|
|
|
<div class="page_nav fl">
|
|
|
|
{$_page}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="tabcon1711">
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="common_settings">
|
|
|
|
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
|
|
|
|
<form class="addShortcutIcon">
|
|
|
|
<input type="hidden" name="title" value="{$m_title}">
|
|
|
|
<input type="hidden" name="url" value="AuthManager/index">
|
|
|
|
</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>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
<block name="script">
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
|
|
$('select[name=group]').change(function(){
|
|
|
|
location.href = this.value;
|
|
|
|
});
|
|
|
|
//导航高亮
|
|
|
|
highlight_subnav('{:U('AuthManager/index')}');
|
|
|
|
</script>
|
|
|
|
</block>
|