Browse Source

工单地区修改表内容显示顺序

machenyang 8 years ago
parent
commit
8fc9469176
1 changed files with 12 additions and 7 deletions
  1. 12 7
      CallCenterWeb.UI/ReportForm/orderArea.html

+ 12 - 7
CallCenterWeb.UI/ReportForm/orderArea.html

@@ -1,4 +1,4 @@
1
-<!DOCTYPE html>
1
+<!DOCTYPE html>
2 2
 <html>
3 3
 
4 4
 <head>
@@ -128,12 +128,17 @@
128 128
 		        			$('#list thead').append(thead_trs);
129 129
 		        			var tbody=res.data.dt;
130 130
 		        			$(tbody).each(function(k,g){
131
-								var str="";
132
-								 str='<tr>'
133
-								 	$.each(g,function(k,val){
134
-				        				str +='<td>' + val + '</td>'
135
-				        			})
136
-								 	str +='</tr>';
131
+								//var str="";
132
+								// str='<tr>'
133
+								// 	$.each(g,function(k,val){
134
+				        		//		str +='<td>' + val + '</td>'
135
+				        		//	})
136
+		        			    // 	str +='</tr>';
137
+		        			    var str = '<tr>';
138
+		        			    $(thead).each(function (i, n) {
139
+		        			        str += '<td>' + g[n] + '</td>';
140
+		        			    })
141
+		        			    str += '</tr>';
137 142
 								 $('#list tbody').append(str);
138 143
 								})
139 144
 		        		}