entity_AttendanceSetting.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>main_entiity</title>
  6. <script src="./entity_AttendanceSetting.js"></script>
  7. <script>
  8. $(document).ready(function() {
  9. $('#get').click(function() {
  10. data_get_attendancesetting($('#id').val());
  11. });
  12. $('#post').click(function() {
  13. data_post_attendancesetting();
  14. });
  15. $('#delete').click(function() {
  16. data_delete_attendancesetting( $('#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>
  32. AttendanceSetting
  33. </td>
  34. </tr>
  35. <tr>
  36. <td colspan="2">
  37. <button id="get">GET</button>
  38. <button id="post">POST</button>
  39. <button id="delete">DELETE</button>
  40. </td>
  41. </tr>
  42. <tr>
  43. <td colspan="2">
  44. <textarea id="content" style="width:97%;height:300px"></textarea>
  45. </td>
  46. </tr>
  47. <tr>
  48. <td colspan="2">
  49. <textarea id="result" style="width:97%;height:400px"></textarea>
  50. </td>
  51. </tr>
  52. </table>
  53. </div>
  54. </div>
  55. </body>
  56. </html>