From 50b33fb220acd4fa2468bdb0ac5c0cf39c543c75 Mon Sep 17 00:00:00 2001
From: kgdxpr
Date: Mon, 8 Jan 2024 13:48:11 +0800
Subject: [PATCH 1/3] 'commit'
---
WebRoot/view/tb/m_login.html | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/WebRoot/view/tb/m_login.html b/WebRoot/view/tb/m_login.html
index 73af4db7..6957bd99 100644
--- a/WebRoot/view/tb/m_login.html
+++ b/WebRoot/view/tb/m_login.html
@@ -222,7 +222,8 @@
-
+
@@ -235,14 +236,7 @@
$(function () {
var jobId = GetQueryString("job_id");
-
-
-
- $("#jump").click(function () {
- window.location = "/QingLong/view/tb/form/report.html?job_id=" + jobId;
- });
-
-
+
$("#login").click(function () {
var publicKey = "-----BEGIN PUBLIC KEY-----\MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCcd+0zTY9Gn94iqkQJTlxYnEnCeFsLkk0a7hoAvi2B74VzDVV3xH0ZO9RkXvo1SgCB+uzbEWdrgQkzTqyjfTtgOguu3OnkVxIMJF34ibchTY0LWHGxq1m2gLGuVVqrlu1LtdV0X7xo/5zc8Mr+46veWb86kSpqe6rOAm69WWo5GwIDAQAB\-----END PUBLIC KEY-----";
@@ -264,9 +258,7 @@
async: false,
success: function (result) {
if (result.success) {
-
- console.log('登录成功!');
-
+ window.location = "/QingLong/view/tb/form/report.html?job_id=" + jobId;
} else {
alert(result.msg);
}
From b072eb18e46cbde3db88de2fcc1c12cfde720b23 Mon Sep 17 00:00:00 2001
From: kgdxpr
Date: Mon, 8 Jan 2024 14:15:32 +0800
Subject: [PATCH 2/3] 'commit'
---
WebRoot/view/tb/form/designer.html | 4 --
WebRoot/view/tb/form/report.html | 2 +-
WebRoot/view/tb/m_jump.html | 75 ++++++++++++++++++++++++++++++
WebRoot/view/tb/m_login.html | 5 +-
4 files changed, 79 insertions(+), 7 deletions(-)
create mode 100644 WebRoot/view/tb/m_jump.html
diff --git a/WebRoot/view/tb/form/designer.html b/WebRoot/view/tb/form/designer.html
index b2d6d1f7..faaed4b2 100644
--- a/WebRoot/view/tb/form/designer.html
+++ b/WebRoot/view/tb/form/designer.html
@@ -46,10 +46,6 @@
});
} else {
localStorage.removeItem('job_id');
- if(window.localStorage.getItem('job_id')==null){
- console.log(1111);
- }
-
}
diff --git a/WebRoot/view/tb/form/report.html b/WebRoot/view/tb/form/report.html
index 58bd0661..444e5273 100644
--- a/WebRoot/view/tb/form/report.html
+++ b/WebRoot/view/tb/form/report.html
@@ -4,7 +4,7 @@
- Layui
+ 填报
diff --git a/WebRoot/view/tb/m_jump.html b/WebRoot/view/tb/m_jump.html
new file mode 100644
index 00000000..394792fe
--- /dev/null
+++ b/WebRoot/view/tb/m_jump.html
@@ -0,0 +1,75 @@
+
+
+
+
+ 登录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebRoot/view/tb/m_login.html b/WebRoot/view/tb/m_login.html
index 6957bd99..26a0de6c 100644
--- a/WebRoot/view/tb/m_login.html
+++ b/WebRoot/view/tb/m_login.html
@@ -222,8 +222,7 @@
-

+
@@ -258,6 +257,8 @@
async: false,
success: function (result) {
if (result.success) {
+ window.localStorage.setItem('username', username);
+ window.localStorage.setItem('password', password);
window.location = "/QingLong/view/tb/form/report.html?job_id=" + jobId;
} else {
alert(result.msg);
From 352a640de5647b72c5a7c33bea0c726d8bc564bc Mon Sep 17 00:00:00 2001
From: kgdxpr
Date: Mon, 8 Jan 2024 15:10:16 +0800
Subject: [PATCH 3/3] 'commit'
---
WebRoot/view/tb/m_jump.html | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/WebRoot/view/tb/m_jump.html b/WebRoot/view/tb/m_jump.html
index 394792fe..98d4a19e 100644
--- a/WebRoot/view/tb/m_jump.html
+++ b/WebRoot/view/tb/m_jump.html
@@ -6,10 +6,15 @@
+
-
+
@@ -53,9 +58,6 @@
});
}
-
-
-
function GetQueryString(name, istop) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);