|
@@ -102,7 +102,10 @@ appMap.set("zoneland.unicom.bj.assemble.control.zoneland_unicom_bj_assemble_cont
|
|
|
xhrFields : {
|
|
xhrFields : {
|
|
|
'withCredentials' : true
|
|
'withCredentials' : true
|
|
|
},
|
|
},
|
|
|
- crossDomain : true
|
|
|
|
|
|
|
+ crossDomain : true,
|
|
|
|
|
+ error : function(e){
|
|
|
|
|
+ $('#contentTable').hide();
|
|
|
|
|
+ }
|
|
|
}).done(function(json) {
|
|
}).done(function(json) {
|
|
|
debugger;
|
|
debugger;
|
|
|
if (json.type == 'success') {
|
|
if (json.type == 'success') {
|
|
@@ -130,7 +133,7 @@ appMap.set("zoneland.unicom.bj.assemble.control.zoneland_unicom_bj_assemble_cont
|
|
|
str += '</table>';
|
|
str += '</table>';
|
|
|
$('#content').html(str);
|
|
$('#content').html(str);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ $('#contentTable').show();
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
@@ -160,14 +163,14 @@ entityMap.set("x_teamwork_core_entity", "团队");
|
|
|
$(function() {
|
|
$(function() {
|
|
|
$.getJSON('../describe/table/tableList.json?rd=' + Math.random(), function(json) {
|
|
$.getJSON('../describe/table/tableList.json?rd=' + Math.random(), function(json) {
|
|
|
var str = '<center id="title" style="font-size:32px; font-weight:bold;">O2OA Table structure URL</center> <table border="1">';
|
|
var str = '<center id="title" style="font-size:32px; font-weight:bold;">O2OA Table structure URL</center> <table border="1">';
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
for(var key in json){
|
|
for(var key in json){
|
|
|
- str += '<tr>';
|
|
|
|
|
|
|
+ str += '<tr>';
|
|
|
if(typeof(entityMap.get(key)) == "undefined"){
|
|
if(typeof(entityMap.get(key)) == "undefined"){
|
|
|
str += '<td>' + '</td>';
|
|
str += '<td>' + '</td>';
|
|
|
}else{
|
|
}else{
|
|
|
str += '<td>' + entityMap.get(key) + '</td>';
|
|
str += '<td>' + entityMap.get(key) + '</td>';
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
str += '<td>' + key + '</td>';
|
|
str += '<td>' + key + '</td>';
|
|
|
str += '<td>';
|
|
str += '<td>';
|
|
|
var url = "./listTableDetail.html?param="+ json[key]
|
|
var url = "./listTableDetail.html?param="+ json[key]
|