| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- clock_parameter = {};
- function clock_listTimer() {
- $('#content').html('');
- $('#result').html('');
- $.ajax({
- type : 'get',
- dataType : 'json',
- contentType : 'application/json; charset=utf-8',
- url : '../jaxrs/clock/list/timer',
- xhrFields : {
- 'withCredentials' : true
- },
- crossDomain : true
- }).done(function(json) {
- $('#result').html(JSON.stringify(json, null, 4));
- });
- }
- function clock_listTimerLog_init() {
- $('#context').html('');
- $('#result').html('');
- var str = '<table border="1" width="100%">';
- str += '<thead><tr><td colspan="2"><a href="#" id="get">get</a></td></tr></thead>';
- str += '<tbody>';
- str += '<tr><td>application</td><td><input type="text" id="application" style="width:95%"/></td></tr>';
- str += '</tbody>';
- str += '</table>';
- $('#content').html(str);
- $('#get').click(function() {
- clock_listTimerLog($('#application').val());
- });
- }
- function clock_listTimerLog(application) {
- $('#content').html('');
- $('#result').html('');
- $.ajax({
- type : 'get',
- dataType : 'json',
- contentType : 'application/json; charset=utf-8',
- url : '../jaxrs/clock/list/timerlog/application/' + application,
- xhrFields : {
- 'withCredentials' : true
- },
- crossDomain : true
- }).done(function(json) {
- $('#result').html(JSON.stringify(json, null, 4));
- });
- }
- function clock_listSchedule() {
- $('#content').html('');
- $('#result').html('');
- $.ajax({
- type : 'get',
- dataType : 'json',
- contentType : 'application/json; charset=utf-8',
- url : '../jaxrs/clock/list/schedule',
- xhrFields : {
- 'withCredentials' : true
- },
- crossDomain : true
- }).done(function(json) {
- $('#result').html(JSON.stringify(json, null, 4));
- });
- }
- function clock_listScheduleLog_init() {
- $('#context').html('');
- $('#result').html('');
- var str = '<table border="1" width="100%">';
- str += '<thead><tr><td colspan="2"><a href="#" id="get">get</a></td></tr></thead>';
- str += '<tbody>';
- str += '<tr><td>application</td><td><input type="text" id="application" style="width:95%"/></td></tr>';
- str += '</tbody>';
- str += '</table>';
- $('#content').html(str);
- $('#get').click(function() {
- clock_listScheduleLog($('#application').val());
- });
- }
- function clock_listScheduleLog(application) {
- $('#content').html('');
- $('#result').html('');
- $.ajax({
- type : 'get',
- dataType : 'json',
- contentType : 'application/json; charset=utf-8',
- url : '../jaxrs/clock/list/schedulelog/application/' + application,
- xhrFields : {
- 'withCredentials' : true
- },
- crossDomain : true
- }).done(function(json) {
- $('#result').html(JSON.stringify(json, null, 4));
- });
- }
|