| | |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | |
| | | var totalArray = ["ååæ»éé¢", "产åè´¹", "宿½äººå¤©", "é¢ä¼°äºæ¬¡å¼å人天", "ç»ç®éé¢", "ä¸ç»©å æ¯","å·²èç¨æ»å·¥æ¶","å·²èç¨å®æ½å·¥æ¶"]; |
| | | var data = []; |
| | | var col = []; |
| | | //ç»ç©ºçæ°ç»èµå¼ |
| | |
| | | if ($.inArray(data[i].name, titleData) > -1) { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //éèidå |
| | | } |
| | | else if ($.inArray(data[i].name, totalArray) > -1) { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120 }); |
| | | } |
| | | else { |
| | | switch (data[i].Type) { |
| | | //int |