Commit 8c9c4086 authored by agping's avatar agping

客户列表修改

parent efd2a3d1
......@@ -6,9 +6,11 @@
overflow-y: auto;
padding-bottom: 60px;
}
.modal-body-details{
.modal-body-details {
width: 850px;
}
.user-ul {
width: 100%;
height: auto;
......@@ -222,6 +224,13 @@
height: 450px;
overflow-y: scroll;
}
/*客户详情 头像*/
#user_pic {
width: 30px;
height: 30px;
border-radius: 15px;
}
</style>
<!--导航star-->
......@@ -552,7 +561,7 @@
</h4>
</div>
<div class="modal-body modal-body1">
<table class="table table-striped table-bordered table-hover table-condensed" id="caozuo_hide">
<table class="" id="caozuo_hide" border='0'>
<thead>
<tr>
<td width="40%">
......@@ -632,6 +641,7 @@
</td>
<td>
<span class="fore-span ld-Marheight">昵称:</span>
<img src="" alt="" id="user_pic" class="fore-span ld-Marheight diagram-image J_preview" />
<span class="fore-span ld-Marheight" id="cus_nick"></span>
</td>
</tr>
......@@ -652,10 +662,18 @@
</td>
</tr>
<tr class="ld-Marheight">
<td class="text-left" >客方修改记录:</td>
<td class="text-left "><label>客方修改记录:</label></td>
</tr>
</thead>
</table>
<table class="table table-striped table-bordered table-hover table-condensed">
<!--<thead>
<tr class="ld-Marheight">
<td class="text-left">客方修改记录:</td>
</tr>
</thead>-->
<tbody class="text-center" id="caozuo_table"></tbody>
</table>
......
define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart', 'css!style/home.css', "datetimepicker", 'pagination', 'bootstrapJs'], function(doT, template) {
define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart', 'css!style/home.css', "datetimepicker", 'pagination', 'bootstrapJs','blow-up'], function(doT, template) {
var user = {
pageNo: 1,
/*第几页*/
......@@ -46,6 +46,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
},
event: function() {
var _doc = $(document);
$('.J_preview').preview();//预览图片
//约带看列表 点击新增商铺
var _iYJAAObj = $('.detail-modal-bargaininfo-commission-addarea');
_doc.on('click', '#bargaininfo_commission_add_btn>img', function(e) {
......@@ -620,6 +621,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
$("#cus_id").html(data.data.user_info.user_id); //客户编号
$("#cus_name").val(data.data.user_info.user_name); //姓名
$("#cus_nick").html(data.data.user_info.user_nick); //昵称
$("#user_pic").attr('src',data.data.user_info.user_pic); //头像
$("#registration_time").html(data.data.user_info.registration_time);
$("#firstlogin_time").html(data.data.user_info.first_login_time);//第一次登陆时间
$("#sex").val(data.data.user_info.sex); //性别
......
......@@ -13,24 +13,16 @@
<td>
[% if(it[item]["follow_time"] != null) { %] [%= it[item]["follow_time"] %] [% } %]
</td>
<td>
<!--<td>
[% if(it[item]["user_status"] != null) { %] [%= it[item]["user_status"] %] [% } %]
</td>-->
<td>
[% if(it[item]["user_status"] == 0) { %] 求租 [% }else if(it[item]["user_status"] == 1) { %] 以租 [% }else{ %] 无效 [% } %]
</td>
<td>
[% if(it[item]["industry_type"] != null) { %] [%= it[item]["industry_type"] %] [% } %]
</td>
<!--<td>
[% if(it[item]["status"] == -1) { %] 未注册 [% }else if(it[item]["status"] == 0) { %] 注册 [% }else{ %] 删除 [% } %]
</td>
<td>
[% if (it[item]['last_login_time'] != null){ %]
[% } else if (it[item]['first_login_time'] != null){ %]
[% }else{ %]
[% } %]
</td>-->
<td>
[% if (it[item]['price_demand'] != null){ %] [%= it[item]["price_demand"] %] [% } %]
</td>
......@@ -38,7 +30,8 @@
[% if (it[item]['area_demand'] != null){ %] [%= it[item]["area_demand"] %] [% } %]
</td>
<td>
[% if (it[item]['source'] != null){ %] [%= it[item]["source"] %] [% } %]
[% if(it[item]["source"] == 10) { %] 客户c端注册 [% }else if(it[item]["source"] == 20) { %] 经纪人报备时添加,状态未激 [% }else{ %] 老数据报备客户 [% } %]
<!--[% if (it[item]['source'] != null){ %] [%= it[item]["source"] %] [% } %]-->
</td>
<td>
[% if((check_auth('auth_vip') && it[item]['vip']) || (it[item]['agent_id'] == 0) || (it[item]['agent_id'] == it[item]['current_agent_id']) || check_auth('index/pcEditClient') ) { %]
......
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