okrworkreportbaseinfo.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title> API - OKRWORKREPORTBASEINFO</title>
  6. <script src="./okrworkreportbaseinfo.js"></script>
  7. <script>
  8. $(document).ready(function() {
  9. $('#get').click(function() {
  10. query_by_id($('#id').val());
  11. });
  12. $('#post').click(function() {
  13. saveEntity();
  14. });
  15. $('#delete').click(function() {
  16. deleteEntity( $('#id').val() );
  17. });
  18. });
  19. </script>
  20. </head>
  21. <body>
  22. <div style="float: left; width: 720px;">
  23. <div style="width: 100%;">
  24. <table border="1" style="width:100%">
  25. <tr>
  26. <td>id:</td>
  27. <td><input type="text" id="id" style="width:95%"/></td>
  28. </tr>
  29. <tr>
  30. <td>type:</td>
  31. <td>实体(OKRWORKREPORTBASEINFO)</td>
  32. </tr>
  33. <tr>
  34. <td colspan="2">
  35. <button id="get">GET</button>
  36. <button id="post">POST</button>
  37. <button id="delete">DELETE</button>
  38. </td> </tr>
  39. <tr>
  40. <td colspan="2">
  41. <textarea id="content" style="width:97%;height:300px">{}</textarea>
  42. </td>
  43. </tr>
  44. <tr>
  45. <td colspan="2">
  46. <textarea id="result" style="width:97%;height:300px">{}</textarea>
  47. </td>
  48. </tr>
  49. </table>
  50. </div>
  51. </div>
  52. </body>
  53. </html>