Commit cd4b4e6e authored by agping's avatar agping

批量修改

parent 978641bf
...@@ -48,6 +48,9 @@ ...@@ -48,6 +48,9 @@
.ld-Marheight{ .ld-Marheight{
margin-top: 15px; margin-top: 15px;
} }
.phone_list{
border: 0px solid #d0d0d0;
}
.phone_list li:nth-of-type(even) { .phone_list li:nth-of-type(even) {
display: none; display: none;
} }
...@@ -406,13 +409,13 @@ ...@@ -406,13 +409,13 @@
<br> <br>
<!-- ============添加========== --> <!-- ============添加========== -->
<div class="jian_class"> <div class="jian_class">
<input name="ues_id" placeholder="请输入" type="tel" value="" class="phone_jia old_agents" > <input name="ues_id" placeholder="请输入经纪人姓名" type="tel" value="" class="phone_jia old_agents form-control" >
<ul class="phone_list"></ul> <ul class="phone_list"></ul>
</div> </div>
<span class="btn3" id="batch">批量修改为</span> <span class="btn3" id="batch">批量修改为&nbsp;&nbsp;</span>
<div class="jian_class"> <div class="jian_class">
<input name="ues_id" placeholder="请输入" type="tel" value="" class="phone_jia new_agents"> <input name="ues_id" placeholder="请输入经纪人姓名" type="tel" value="" class="phone_jia new_agents form-control">
<ul class="phone_list"></ul> <ul class="phone_list"></ul>
</div> </div>
......
...@@ -163,6 +163,9 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css ...@@ -163,6 +163,9 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
//e代表索引 从0开始 eq(0)就是第一行 //e代表索引 从0开始 eq(0)就是第一行
var temp = $("#follow_list").find("tr").eq(e).find("td").eq(4).html(); //获取一列的值 var temp = $("#follow_list").find("tr").eq(e).find("td").eq(4).html(); //获取一列的值
var temp_two = $("#follow_list").find("tr").eq(e).find("td").eq(5).html(); var temp_two = $("#follow_list").find("tr").eq(e).find("td").eq(5).html();
// null
var temp_one = $("#follow_list").find("tr").eq(e).find("td").eq(1).html();
console.log(temp_one);
if(temp*1==10){ if(temp*1==10){
$("#follow_list").find("tr").eq(e).find("td").eq(4).html("支付宝") $("#follow_list").find("tr").eq(e).find("td").eq(4).html("支付宝")
} }
...@@ -206,6 +209,10 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css ...@@ -206,6 +209,10 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
if(temp_two*1==80){ if(temp_two*1==80){
$("#follow_list").find("tr").eq(e).find("td").eq(5).html("其他") $("#follow_list").find("tr").eq(e).find("td").eq(5).html("其他")
} }
// null
if(temp_one=='null'){
$("#follow_list").find("tr").eq(e).find("td").eq(1).html(" ")
}
}); });
$("#money_total").html(data.data.money_total) $("#money_total").html(data.data.money_total)
......
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