|
@@ -0,0 +1,41 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="en">
|
|
|
+
|
|
|
+<head>
|
|
|
+ <meta name="description" content="Webpage description goes here" />
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <title>幸福工具</title>
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
+ <meta name="author" content="">
|
|
|
+ <link rel="stylesheet" href="css/style.css">
|
|
|
+ <script src="https://code.jquery.com/jquery-latest.min.js"></script>
|
|
|
+ <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
|
|
|
+ <script>
|
|
|
+ function copyToStage() {
|
|
|
+ //alert('https://m3.hhh.com.tw:18686/movexoopstostage?designerid=' + $('#did').val() + '&caseid=' + $('#cid').val());
|
|
|
+ axios.get('https://m3.hhh.com.tw:18686/movexoopstostage?designerid=' + $('#did').val() + '&caseid=' + $('#cid').val()).then((data) => {
|
|
|
+
|
|
|
+ if (data["data"] == "success") {
|
|
|
+ $('#msg')[0].innerHTML = '(' + $('#did').val() + ')' + $('#cid').val() + ' 複製成功';
|
|
|
+ }
|
|
|
+
|
|
|
+ });
|
|
|
+ }
|
|
|
+ </script>
|
|
|
+</head>
|
|
|
+
|
|
|
+<body>
|
|
|
+
|
|
|
+ <div class="container">
|
|
|
+ 設計師ID:<input type="text" id="did" />
|
|
|
+ CASEID:<input type="text" id="cid" />
|
|
|
+ <button onclick="copyToStage();">複製到測試機</button>
|
|
|
+ <div id='msg'></div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <script>
|
|
|
+ </script>
|
|
|
+
|
|
|
+</body>
|
|
|
+
|
|
|
+</html>
|