fb836df3b3c54c3cb0e361cd10a1ae37.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta name="description" content="Webpage description goes here" />
  5. <meta charset="utf-8">
  6. <title>幸福工具</title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <meta name="author" content="">
  9. <link rel="stylesheet" href="css/style.css">
  10. <script src="https://code.jquery.com/jquery-latest.min.js"></script>
  11. <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
  12. <script>
  13. function copyToStage() {
  14. //alert('https://m3.hhh.com.tw:18686/movexoopstostage?designerid=' + $('#did').val() + '&caseid=' + $('#cid').val());
  15. axios.get('https://m3.hhh.com.tw:18686/movexoopstostage?designerid=' + $('#did').val() + '&caseid=' + $('#cid').val()).then((data) => {
  16. if (data["data"] == "success") {
  17. $('#msg')[0].innerHTML = '(' + $('#did').val() + ')' + $('#cid').val() + ' 複製成功';
  18. }
  19. });
  20. }
  21. </script>
  22. </head>
  23. <body>
  24. <div class="container">
  25. 設計師ID:<input type="text" id="did" />
  26. CASEID:<input type="text" id="cid" />
  27. <button onclick="copyToStage();">複製到測試機</button>
  28. <div id='msg'></div>
  29. </div>
  30. <script>
  31. </script>
  32. </body>
  33. </html>