Commit ad3fc58e authored by agping's avatar agping

后台样式修改

parent be58cd41
......@@ -12,7 +12,7 @@
<div class="panel panel-default">
<div class="panel-heading breadcrumb">
<li>
<a href="#">成交报告撤销</a>
<a href="#">成交报告</a>
</li>
</div>
<div class="panel-body">
......@@ -24,7 +24,7 @@
<a class="btn btn-info liudan_pic_btn">第一级审核</a>
<a class="btn btn-default liudan_pic_btn">第二级审核</a>
<a class="btn btn-default liudan_pic_btn">第三级审核</a>
<a class="btn btn-default liudan_pic_btn">撤销</a>
<a class="btn btn-default liudan_pic_btn">结单</a>
</td>
</tr>
......@@ -38,25 +38,25 @@
<option value="0">商场</option>
<option value="1">街铺</option>
</select>
<select class="form-control btn2" name="maintable_shop_type" id="maintable_deal_type">
<option value="">成交类型</option>
<option value="10">出租</option>
<option value="20">增佣</option>
<option value="30">代理费</option>
<option value="40">好处费</option>
</select>
<span class="fore-span margin-left-10">撤销提交时间:</span>
<span class="fore-span margin-left-10">提交时间:</span>
<input class="form-control btn4" value="" data-rule-phoneus="false" data-rule-required="false" id="maintable_create_time" name="start_date" type="date">
<span class="fore-span margin-left-10"></span>
<input class="form-control btn4" value="" data-rule-phoneus="false" data-rule-required="false" id="maintable_end_time" name="end_date" type="date">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="maintable_shop_num" placeholder="商铺编号" type="text" value="">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="maintable_user_report_id" placeholder="成交报告ID" type="text" value="">
<!--<div class="clear">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="maintable_internal_address" placeholder="商铺地址" type="text" value="">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="maintable_shop_num" placeholder="商铺号" type="text" value="">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="maintable_user_phone" placeholder="客户电话" type="text" value="">
<select name="district_id" class="form-control btn4">
<option value="">约带看人所在部门</option>
</select>
<select name="store_id" class="form-control btn4">
<option value="">约带看人所在门店</option>
</select>
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="agent_name" placeholder="约带看人姓名" type="text" value="">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="agent_phone" placeholder="约带看人手机号" type="text" value="">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="partical_name" placeholder="分佣方姓名" type="text" value="">
<div class="clear">
</div>-->
</div>
<span class="btn btn-info btn3 search" id="maintable_search">搜索</span>
<span class="btn btn-info btn3" id="maintable_reset">重置</span>
<!--<span class="btn btn-info btn3" id="maintable_export">导出excel</span>-->
......@@ -64,13 +64,14 @@
</td>
</tr>
<tr class="maintable-tr-bar">
<th class="text-center">成交报告ID</th>
<th class="text-center">撤销提交时间</th>
<th class="text-center">提交时间</th>
<th class="text-center">是否开业</th>
<th class="text-center">商铺地址</th>
<th class="text-center">商铺</th>
<th class="text-center">商铺号</th>
<th class="text-center">成交客户</th>
<th class="text-center">客户电话</th>
<th class="text-center">撤销原因</th>
<th class="text-center">成交类型</th>
<th class="text-center">应收佣金(元)</th>
<th class="text-center">操作</th>
</tr>
</thead>
......
define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function (doT, $,template, layer) {
var init = {
doTinit: function () {
doT.templateSettings = {
......@@ -82,18 +81,31 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
if(window.location.pathname == '/index/getHouseList' || window.location.pathname == '/index/followUpList' || window.location.pathname == '/index/users_list' || window.location.pathname == '/index/RemarkFollowList'){
$('#user_city_choose').show();
}
//改变title的文字
if(window.location.pathname == '/index/getHouseList'){
document.title = '商铺列表';
};
if(window.location.pathname == '/index/followUpList'){
document.title = '商铺跟进列表';
};
if(window.location.pathname == '/index/users_list'){
document.title = '客户列表';
};
if(window.location.pathname == '/index/RemarkFollowList'){
document.title = '客户跟进列表';
};
_doc.on('click', '.menu-sub-alink', function(e){
e.preventDefault();
e.stopPropagation();
var _this = $(this);
if(window.location.pathname == '/index/getHouseList' || window.location.pathname == '/index/followUpList' || window.location.pathname == '/index/users_list' || window.location.pathname == '/index/RemarkFollowList'){
window.open(_this.data('href'));//改为在新标签页打开
if(_this.data('href') == '/index/getHouseList' || _this.data('href') == '/index/followUpList' || _this.data('href') == '/index/users_list' || _this.data('href') == '/index/RemarkFollowList'){
window.open(_this.data('href'));//改为在新标签页打开
}else{
location.href = _this.data('href');
}
});
_doc.on('click', '.menu-main-li', function(e){
e.preventDefault();
e.stopPropagation();
......
......@@ -279,11 +279,12 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
_doc.on('click', '#maid_ok_btn', function(e){
e.preventDefault();
e.stopPropagation();
if(bargain.mainTabIndex === 2){
bargain.maidConfirmOk(1);
}else{
alert('财务第三级审核人员才能确认分佣!');
}
bargain.maidConfirmOk(1);
// if(bargain.mainTabIndex === 2){
// bargain.maidConfirmOk(1);
// }else{
// alert('财务第三级审核人员才能确认分佣!');
// }
});
//详情弹出框,分佣提成里,点击保存触发的事件
......@@ -1315,13 +1316,13 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
switchUrl: function(){
switch (Number(this.mainTabIndex)){
case 0:
return '/index/backOutOne/5';
return '/index/reportListOne/1';
case 1:
return '/index/backOutTwo/7';
return '/index/reportListTwo/2';
case 2:
return '/index/backOutThree/8';
return '/index/reportListThree/3';
case 3:
return '/index/reportListUndone/6';
return '/index/reportListStatement/4';
default:
return '';
}
......
......@@ -10,20 +10,21 @@
<td class="text-center">[%= it["list"][item]['user_name'] %]</td>
<td class="text-center">[%= hideTel(it["list"][item]['user_phone']) %]</td>
<td class="text-center">[%= sw(it["list"][item]['trade_type']) %]</td>
<td class="text-center">[%= it["list"][item]['commission'] %]</td>
<td class="text-center" width="15%">
[% if(check_auth('index/bargainInfo')) { %]
<a class="btn1 btn-success details-btn" href="#modal_detail" data-toggle="modal">查看详情</a>
<a class="btn1 btn-success details-btn" href="#modal_detail" data-toggle="modal">详情</a>
[% } %]
[% if(it["step"]<4) { %]
[% if(it["step"]<3) { %]
[% if(check_auth('index/checkReportAttache/0')||check_auth('index/checkReportManager/1')||check_auth('index/checkReportMajordomo/2')||check_auth('index/checkReportCashier/3')) { %]
<a class="btn1 btn-success" href="#modal-pass" data-toggle="modal">通过</a>
[% } %]
[% }else if(it["step"]==3) { %]
[% if(check_auth('index/toReportListOne')) { %]
<!--<a class="btn1 btn-success maintable-btn-trans-one">转到一级审核</a>-->
<a class="btn1 btn-success maintable-btn-trans-one">转到一级审核</a>
[% } %]
[% if(check_auth('index/checkOver')) { %]
<!--<a class="btn1 btn-success maintable-btn-account">结单</a>-->
<a class="btn1 btn-success maintable-btn-account">结单</a>
[% } %]
[% } %]
<a class="btn1 btn-success timeline" href="#modal-time" data-toggle="modal">时间轴</a>
......@@ -116,7 +117,7 @@
[% } %]
</td>
<td>
[% if(check_auth('index/getBargainCommission')) { %]
[% if(check_auth('account_commission')) { %]
<a href="#modal_new_maid" class="btn-success detail-modal-maid-a-edit" data-toggle="modal">编辑</a>
[% } %]
[% if(check_auth('index/delPartialCommission') && (it['data'][i]['father_id'] != 0)) { %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment