caipin 5 vuotta sitten
vanhempi
commit
52a10eb8a2
1 muutettua tiedostoa jossa 10 lisäystä ja 4 poistoa
  1. 10 4
      global/js/cloud/buildHtml.js

+ 10 - 4
global/js/cloud/buildHtml.js

@@ -19,13 +19,19 @@ function buildClientBySearch(data){
 function fnStructureCuringUser(data){
     var html='';
     $.each(data, function(k, v) {
-        html+='<tr curingInfoEdi dataCid="'+setUndefined(v.client_id)+'" data='+setUndefined(v.sso_id)+' dataId="'+setUndefined(v.id)+'" data-toggle="modal" data-target="#detail">';
+        html+='<tr curingInfoEdi dataCid="'+setUndefined(v.client_id)+'" data='+setUndefined(v.sso_id)+' dataId="'+setUndefined(v._id)+'" data-toggle="modal" data-target="#detail">';
         html+='<td>'+setUndefined(v.mobile)+'</td>';
-        html+='<td>'+setUndefined(v.curingCompany)+'</td>';
+        html+='<td>'+setUndefined(v.company)+'</td>';
         html+='<td>'+setUndefined(v.clientInfo.clientname)+'</td>';
         html+='<td>'+setUndefined(v.clientInfo.companyname)+'</td>';
-        html+='<td><span class="badge badge-primary">'+v.updateTotal+'</span></td>';
-        html+='<td>'+v.addtime+'</td>';
+        
+        html+='<td>'+setUndefined(v.latest_login)+'</td>';
+        html+='<td>'+setUndefined(v.latest_usedName)+'</td>';
+        html+='<td>'+setUndefined(v.online_newest)+'</td>';
+        html+='<td>'+setUndefined(v.addtime)+'</td>';
+        html+='<td>'+setUndefined(v.upgradeListName)+'</td>';
+        
+       
         html+='</tr>';
     });
     $('tbody[curingUser]').html(html);