Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kwell-mes
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gavelinfo
kwell-mes
Commits
9d84a766
Commit
9d84a766
authored
Feb 28, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录页面
parent
74ec4bb2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
kmeshome.js
gavel/src/main/resources/static/js/kmeshome.js
+0
-1
index.html
...l/src/main/resources/templates/views/kmes/gphy/index.html
+3
-1
login_view.html
gavel/src/main/resources/templates/views/login_view.html
+2
-1
No files found.
gavel/src/main/resources/static/js/kmeshome.js
View file @
9d84a766
...
@@ -40,7 +40,6 @@ $(function () {
...
@@ -40,7 +40,6 @@ $(function () {
let
smkid
=
hash
.
substring
(
hashindex
+
1
,
idindex
)
let
smkid
=
hash
.
substring
(
hashindex
+
1
,
idindex
)
let
sbzlx
=
hash
.
substring
(
idindex
+
1
,
gxindex
)
let
sbzlx
=
hash
.
substring
(
idindex
+
1
,
gxindex
)
let
gxname
=
hash
.
substring
(
gxindex
+
1
,
hash
.
length
)
let
gxname
=
hash
.
substring
(
gxindex
+
1
,
hash
.
length
)
console
.
log
(
"gxname"
)
window
.
bzlx
=
sbzlx
window
.
bzlx
=
sbzlx
HTTP
.
post
(
"frame/init"
,
{},
function
(
result
)
{
HTTP
.
post
(
"frame/init"
,
{},
function
(
result
)
{
let
isShow
=
false
let
isShow
=
false
...
...
gavel/src/main/resources/templates/views/kmes/gphy/index.html
View file @
9d84a766
...
@@ -45,6 +45,8 @@
...
@@ -45,6 +45,8 @@
/* 取登录值 */
/* 取登录值 */
/* 通用代码 */
/* 通用代码 */
/* 通用pdf参数 */
const
pdfUr
=
"kmes/gpfk/queryPdfByWoidAndZpgx"
/* 大屏内部弹框 */
/* 大屏内部弹框 */
function
screenAlert
(
dom
,
msg
,
timeNum
){
function
screenAlert
(
dom
,
msg
,
timeNum
){
let
getdom
=
$
(
dom
)
let
getdom
=
$
(
dom
)
...
@@ -176,7 +178,7 @@
...
@@ -176,7 +178,7 @@
function
zpfk_pdfshow
(
e
,
woid
){
function
zpfk_pdfshow
(
e
,
woid
){
console
.
log
(
"pdf"
)
console
.
log
(
"pdf"
)
let
that
=
e
let
that
=
e
let
newpdfurl
=
that
.
pdfurl
+
"/"
+
woid
+
"/"
+
window
.
bzlx
let
newpdfurl
=
pdfUr
+
"/"
+
woid
+
"/"
+
window
.
bzlx
if
(
newpdfurl
!=
that
.
pdfurl
){
if
(
newpdfurl
!=
that
.
pdfurl
){
that
.
pdfurl
=
newpdfurl
that
.
pdfurl
=
newpdfurl
if
(
that
.
sivpdf
){
if
(
that
.
sivpdf
){
...
...
gavel/src/main/resources/templates/views/login_view.html
View file @
9d84a766
...
@@ -129,6 +129,7 @@
...
@@ -129,6 +129,7 @@
let
bzgxsn
=
$gylx
.
val
()
let
bzgxsn
=
$gylx
.
val
()
HTTP
.
post
(
"kmes/gpfk/login "
,
{
usersn
:
usersn
,
bzgxsn
:
bzgxsn
},
function
(
result
)
{
HTTP
.
post
(
"kmes/gpfk/login "
,
{
usersn
:
usersn
,
bzgxsn
:
bzgxsn
},
function
(
result
)
{
if
(
result
[
'success'
])
{
if
(
result
[
'success'
])
{
localStorage
.
setItem
(
"username"
,
result
.
data
.
username
||
"未知用户"
);
// window.location.href = "index";
// window.location.href = "index";
let
mkurl
=
result
.
data
.
records
.
fkurl
let
mkurl
=
result
.
data
.
records
.
fkurl
let
mkid
=
result
.
data
.
records
.
modulecode
let
mkid
=
result
.
data
.
records
.
modulecode
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment