component_parameter = {}; function component_listAll() { $('#content').html(''); $('#result').html(''); $.ajax({ type : 'get', dataType : 'json', contentType : 'application/json; charset=utf-8', url : '../jaxrs/component/list/all', xhrFields : { 'withCredentials' : true }, crossDomain : true }).done(function(json) { $('#result').html(JSON.stringify(json, null, 4)); if (json.type == 'success') { if (json.data) { var str = ''; str += ''; $.each(json.data, function(index, o) { str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; }); str += '
nametitlewidgetNamewidgetTitlepathoperate
' + o.name + '' + o.title + '' + o.widgetName + '' + o.widgetTitle + '' + o.path + ''; str += 'edit '; str += 'delete'; str += '
'; $('#content').html(str); } } }).always(function(json) { $('#result').html(JSON.stringify(json, null, 4)); }); } function component_create(id) { $('#content').html(''); $('#result').html(''); var str = ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += ''; str += '
post
name:
title:
path:
iconPath:
widgetName:
widgetTitle:
widgetIconPath:
widgetStart:
widgetVisible:
visible:
order:
allowList: