提交 2c9a8fe3 编写于 作者: O o2null

Merge branch 'cherry-pick-b01058a8' into 'release'

Merge branch 'fix/list0922' into 'develop'

See merge request o2oa/o2oa!1670
...@@ -621,11 +621,11 @@ public class NodeAgent extends Thread { ...@@ -621,11 +621,11 @@ public class NodeAgent extends Thread {
private void customJar(String simpleName, byte[] bytes, boolean rebootApp) throws Exception { private void customJar(String simpleName, byte[] bytes, boolean rebootApp) throws Exception {
File jar = new File(Config.dir_custom_jars(true), simpleName + ".jar"); File jar = new File(Config.dir_custom_jars(true), simpleName + ".jar");
FileUtils.writeByteArrayToFile(jar, bytes, false); FileUtils.writeByteArrayToFile(jar, bytes, false);
/*if (rebootApp) { if (rebootApp) {
Servers.stopApplicationServer(); Servers.stopApplicationServer();
Thread.sleep(3000); Thread.sleep(3000);
Servers.startApplicationServer(); Servers.startApplicationServer();
}*/ }
} }
private void customZip(String simpleName, byte[] bytes, boolean rebootApp) throws Exception { private void customZip(String simpleName, byte[] bytes, boolean rebootApp) throws Exception {
......
...@@ -102,7 +102,10 @@ appMap.set("zoneland.unicom.bj.assemble.control.zoneland_unicom_bj_assemble_cont ...@@ -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 ...@@ -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", "团队"); ...@@ -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]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册