Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8edf6267
authored
2020-12-17 19:59:30 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:样式
1 parent
f2251464
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
5 deletions
staticJs/common.js
staticJs/login.js
staticJs/onlineApply/workFlow.js
staticJs/wssq.js
staticJs/common.js
View file @
8edf626
...
...
@@ -57,4 +57,4 @@ function getCookie(){
var
arr
=
str
.
replace
(
/
(\s)
+/g
,
''
).
split
(
'='
);
return
JSON
.
parse
(
arr
[
1
]);
}
};
\ No newline at end of file
};
...
...
staticJs/login.js
View file @
8edf626
...
...
@@ -65,5 +65,15 @@ function clicklogin(data){
});
}
// 点击判断是否登录
function
isLogin
()
{
let
login1
;
if
(
getCookie
().
username
)
{
login1
=
true
;
}
else
{
login
();
login1
=
false
;
}
return
login1
;
}
\ No newline at end of file
...
...
staticJs/onlineApply/workFlow.js
View file @
8edf626
...
...
@@ -99,13 +99,13 @@ function setArticleSteps() {
case
1
:
ArticleContent
.
append
(
'<li class="item_proress"><p class="activeing"></p><h5 class="activeingtext">'
+
item
.
stepname
+
'</h5></li>'
);
if
((
index
+
1
)
<
business
.
stepList
.
length
)
{
ArticleContent
.
append
(
'<li class="layui-progress"><div class="layui-progress-bar" lay-percent="50%"></div></li>'
);
ArticleContent
.
append
(
'<li class="layui-progress"><div class="layui-progress-bar"
style="width: 50%;"
lay-percent="50%"></div></li>'
);
}
break
;
case
2
:
ArticleContent
.
append
(
'<li class="item_proress"><p class="active"></p><h5>'
+
item
.
stepname
+
'</h5></li>'
);
if
((
index
+
1
)
<
business
.
stepList
.
length
)
{
ArticleContent
.
append
(
'<li class="layui-progress"><div class="layui-progress-bar" lay-percent="100%"></div></li>'
);
ArticleContent
.
append
(
'<li class="layui-progress"><div class="layui-progress-bar"
style="width:100%"
lay-percent="100%"></div></li>'
);
}
break
;
}
...
...
staticJs/wssq.js
View file @
8edf626
...
...
@@ -33,7 +33,9 @@ $(function () {
_initData
()
// 网上申请
$
(
document
).
on
(
"click"
,
".handleBus"
,
function
(
e
)
{
getInitiateFLow
(
$
(
this
).
attr
(
"ywid"
),
$
(
this
).
attr
(
"businessNo"
));
if
(
isLogin
())
{
getInitiateFLow
(
$
(
this
).
attr
(
"ywid"
),
$
(
this
).
attr
(
"businessNo"
));
}
})
})
...
...
Please
register
or
sign in
to post a comment