|
@@ -21,7 +21,7 @@
|
|
resize: none;
|
|
resize: none;
|
|
padding-left: 5px;
|
|
padding-left: 5px;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
- line-height: 35px;
|
|
|
|
|
|
+ height: 40px;
|
|
}
|
|
}
|
|
|
|
|
|
#reclist{
|
|
#reclist{
|
|
@@ -87,7 +87,8 @@
|
|
sessionStorage.version="0";
|
|
sessionStorage.version="0";
|
|
}
|
|
}
|
|
//window.location.href = "/followeEnt/set/add/"+r.id;
|
|
//window.location.href = "/followeEnt/set/add/"+r.id;
|
|
- window.location.href = "/jyapp/followent/entList";
|
|
|
|
|
|
+ //window.location.href = "/jyapp/followent/entList";
|
|
|
|
+ window.history.back();
|
|
}else if(r.status == "m"){
|
|
}else if(r.status == "m"){
|
|
EasyAlert.show("最多可关注<br>10个企业!");
|
|
EasyAlert.show("最多可关注<br>10个企业!");
|
|
}else{
|
|
}else{
|
|
@@ -102,7 +103,7 @@
|
|
$("#recList").html("");
|
|
$("#recList").html("");
|
|
$.post("/jyapp/followent/recList",{entName:entName_key},function(r){
|
|
$.post("/jyapp/followent/recList",{entName:entName_key},function(r){
|
|
if(r){
|
|
if(r){
|
|
- if(typeof (r.recList)!="undefined"){
|
|
|
|
|
|
+ if(typeof(r.recList)!="undefined" && r.recList != null && r.recList.length > 0){
|
|
var recList = r.recList;
|
|
var recList = r.recList;
|
|
for(var i=0;i<recList.length;i++){
|
|
for(var i=0;i<recList.length;i++){
|
|
var entName = recList[i].name;
|
|
var entName = recList[i].name;
|
|
@@ -113,10 +114,9 @@
|
|
var obj=$("<div class='rec' data-id='"+id+"'>"+entName.replace(entName_key,"<span class='highLight'>"+entName_key+"</span>")+"</div>");
|
|
var obj=$("<div class='rec' data-id='"+id+"'>"+entName.replace(entName_key,"<span class='highLight'>"+entName_key+"</span>")+"</div>");
|
|
$("#recList").append(obj);
|
|
$("#recList").append(obj);
|
|
}
|
|
}
|
|
|
|
+ $("#recList").show();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- $("#recList").show();
|
|
|
|
-
|
|
|
|
$(".rec").click(function(){
|
|
$(".rec").click(function(){
|
|
if($(this).text()!=""){
|
|
if($(this).text()!=""){
|
|
$("input").val($(this).text());
|
|
$("input").val($(this).text());
|
|
@@ -139,7 +139,7 @@
|
|
<span class="opation disabled">完成</span>
|
|
<span class="opation disabled">完成</span>
|
|
</div>
|
|
</div>
|
|
<from>
|
|
<from>
|
|
- <input placeholder="企业名称" name="title"/>
|
|
|
|
|
|
+ <input type="text" placeholder="企业名称" name="title"/>
|
|
<div id="recList" style="display: none">
|
|
<div id="recList" style="display: none">
|
|
</div>
|
|
</div>
|
|
</from>
|
|
</from>
|