diff --git a/o2server/x_program_center/src/main/webapp/jest/index.html b/o2server/x_program_center/src/main/webapp/jest/index.html index d4f43170fd864f8c2871a5a59ce0816dbfaffb35..31a04a079dd6c5f2f8a850cf6c2df7561d2e8c72 100644 --- a/o2server/x_program_center/src/main/webapp/jest/index.html +++ b/o2server/x_program_center/src/main/webapp/jest/index.html @@ -4,7 +4,7 @@ - + + + + + + + + + +
+
+ search +
 
+
+
+ API Menu + +
+
+ + +
 
+
+ + Result copy  + +
 
+
+ +
+ + Sample copy  +
+
 
+
+
- - -
O2OA Service API URL
-
 
-
 
+
- + \ No newline at end of file diff --git a/o2server/x_program_center/src/main/webapp/jest/list.html b/o2server/x_program_center/src/main/webapp/jest/list.html index b7302adc76ce388f7e6ad1e4d3890c1f0d030647..1726812aaf416a8118d22a2e123dc14fa48aedbc 100644 --- a/o2server/x_program_center/src/main/webapp/jest/list.html +++ b/o2server/x_program_center/src/main/webapp/jest/list.html @@ -1,194 +1,157 @@ - - - - - - + + + + } + + $(function() { + $.ajax({ + type : 'get', + dataType : 'json', + contentType : 'application/json; charset=utf-8', + url : '../jaxrs/jest/list', + xhrFields : { + 'withCredentials' : true + }, + crossDomain : true, + error : function(e){ + $('#contentTable').hide(); + } + }).done(function(json) { + if (json.type == 'success') { + if (json.data) { + var str = ''; + $.each(json.data, function(index, o) { + str += ''; + str += ''; + str += ''; + str += ''; + str += ''; + }); + + str += ''; + str += '
' + o.name + '' + o.className + ''; + $.each(o.urlList, function(i, url) { + url = url.replace(/(127.0.0.1)/g, window.location.hostname); + str += '' + url + '
'; + }); + str += '
中心服务com.x.base.core.project.x_program_centerhttp://'+window.location.hostname+':20030/x_program_center/jest/index.html
'; + $('#content').html(str); + tableStructure(); + } + } + }); + }); + + + -
O2OA Service API URL
-
 
-
 
+
O2OA Service API URL
+
 
+
 
\ No newline at end of file