entity_AttendanceImportFileInfo.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>main_entiity</title>
  6. <script src="./ajaxfileupload.js"></script>
  7. <script src="./entity_AttendanceImportFileInfo.js"></script>
  8. <script>
  9. $(document).ready(function() {
  10. $('#upload').click(function() {
  11. upload_attendanceimportfileinfo();
  12. });
  13. $('#download').click(function() {
  14. download_attendanceimportfileinfo($('#id').val());
  15. });
  16. $('#get').click(function() {
  17. data_get_attendanceimportfileinfo($('#id').val());
  18. });
  19. $('#delete').click(function() {
  20. data_delete_attendanceimportfileinfo( $('#id').val() );
  21. });
  22. });
  23. </script>
  24. </head>
  25. <body>
  26. <div style="float: left; width: 720px;">
  27. <div style="width: 100%;">
  28. <table border="1" style="width:100%">
  29. <tr>
  30. <td>id:</td>
  31. <td><input type="text" id="id" style="width:95%"/></td>
  32. </tr>
  33. <tr>
  34. <td>file:</td>
  35. <td><input type="file" id="file" style="width:95%"/></td>
  36. </tr>
  37. <tr>
  38. <td>type:</td>
  39. <td>
  40. AttendanceSetting
  41. </td>
  42. </tr>
  43. <tr>
  44. <td colspan="2">
  45. <button id="upload">Upload</button>
  46. <button id="download">Download</button>
  47. <button id="get">GET</button>
  48. <button id="delete">DELETE</button>
  49. </td>
  50. </tr>
  51. <tr>
  52. <td colspan="2">
  53. <textarea id="content" style="width:97%;height:300px"></textarea>
  54. </td>
  55. </tr>
  56. <tr>
  57. <td colspan="2">
  58. <textarea id="result" style="width:97%;height:400px"></textarea>
  59. </td>
  60. </tr>
  61. </table>
  62. </div>
  63. </div>
  64. </body>
  65. </html>