| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8" />
- <title> API - OKRWORKREPORTBASEINFO</title>
- <script src="./okrworkreportbaseinfo.js"></script>
- <script>
- $(document).ready(function() {
- $('#get').click(function() {
- query_by_id($('#id').val());
- });
- $('#post').click(function() {
- saveEntity();
- });
- $('#delete').click(function() {
- deleteEntity( $('#id').val() );
- });
- });
- </script>
- </head>
- <body>
- <div style="float: left; width: 720px;">
- <div style="width: 100%;">
- <table border="1" style="width:100%">
- <tr>
- <td>id:</td>
- <td><input type="text" id="id" style="width:95%"/></td>
- </tr>
- <tr>
- <td>type:</td>
- <td>实体(OKRWORKREPORTBASEINFO)</td>
- </tr>
- <tr>
- <td colspan="2">
- <button id="get">GET</button>
- <button id="post">POST</button>
- <button id="delete">DELETE</button>
- </td> </tr>
- <tr>
- <td colspan="2">
- <textarea id="content" style="width:97%;height:300px">{}</textarea>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <textarea id="result" style="width:97%;height:300px">{}</textarea>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </body>
- </html>
|