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
32cf54b1
authored
2020-12-24 14:59:18 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:网上申请
1 parent
2b4e213d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
33 deletions
staticJs/onlineApply/bdcqlCheck.js
staticJs/onlineApply/dataReview.js
staticJs/onlineApply/workFlow.js
staticViews/onlineApply/houseFill.html
staticViews/onlineApply/identityAuthentication.html
staticViews/onlineApply/taxAssessment.html
staticJs/onlineApply/bdcqlCheck.js
View file @
32cf54b
...
...
@@ -5,10 +5,32 @@ layui.use('element', function () {
$
(
function
()
{
addTabs
(
'#wssq'
);
setFristStepPageFLow
(
GetQueryString
(
'ywid'
),
GetQueryString
(
'businessno'
));
bugSearch
();
SetCheckContent
();
fetchDataReview
();
})
// 初始化渲染数据
function
bugSearch
()
{
// 业务
layui
.
use
([
'form'
],
function
()
{
var
form
=
layui
.
form
//自定义验证规则
form
.
verify
({
title
:
function
(
value
)
{
if
(
value
.
length
==
0
)
{
return
'权利人不能为空'
;
}
else
if
(
value
.
length
<
2
)
{
return
'权利人至少得2个字符啊'
;
}
}
});
//监听提交
form
.
on
(
'submit(check)'
,
function
(
data
)
{
bdcqlVerify
(
data
.
field
);
return
false
;
});
})
}
// 初始化数据
function
fetchDataReview
(){
console
.
log
(
getCookie
(
'myCookie'
))
let
userInfo
=
getCookie
(
'myCookie'
);
...
...
staticJs/onlineApply/dataReview.js
View file @
32cf54b
layui
.
use
(
'element'
,
function
()
{
let
element
=
layui
.
element
;
//导航的hover效果、二级菜单等功能,需要依赖element模块
});
var
list
;
var
houseInfo
;
$
(
function
()
{
addTabs
(
'#wssq'
)
setAcceptFlow
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
list
=
getApplyRecord
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
fetchDataReview
();
})
function
fetchDataReview
()
{
let
list
=
getApplyRecord
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
// 房屋信息
console
.
log
(
list
,
houseInfo
);
houseInfo
=
getFDCQ2
(
GetQueryString
(
'bsm_slsq'
));
let
houseInfo
=
getFDCQ2
(
GetQueryString
(
'bsm_slsq'
));
$
(
'#typesPower p'
).
text
(
list
.
qllxmc
);
$
(
'#businessType p'
).
text
(
list
.
shortname
);
$
(
'#acceptanceNumber p'
).
text
(
list
.
wwsqbh
);
...
...
@@ -22,11 +22,6 @@ $(function () {
var
listItem
;
let
userInfo
=
[];
userInfo
.
push
(
getCookie
(
'myCookie'
));
if
(
list
.
ajzt
!=
'4'
||
list
.
ajzt
!=
'5'
)
{
$
(
'.next_button'
).
append
(
'<button type="button" class="layui-btn layui-btn-normal">'
+
'<a onclick="skipClick()">下一步</a>'
+
'</button>'
)
}
if
(
list
.
sqrList
&&
list
.
sqrList
.
length
>
0
)
{
for
(
var
i
=
0
;
i
<
list
.
sqrList
.
length
;
i
++
)
{
listItem
=
'<li>'
...
...
@@ -50,8 +45,7 @@ $(function () {
$
(
'#informationList'
).
append
(
listItem
)
}
}
})
}
//下一步事件
function
skipClick
()
{
skipNextPage
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
...
...
staticJs/onlineApply/workFlow.js
View file @
32cf54b
...
...
@@ -172,6 +172,17 @@ function setFristStepPageFLow(ywid, businessno) {
function
setAcceptFlow
(
bsmSlsq
,
businessNo
)
{
getAcceptFlow
(
bsmSlsq
,
businessNo
);
setArticleSteps
();
let
num
=
0
;
for
(
var
i
=
0
;
i
<
business
.
stepList
.
length
;
i
++
)
{
if
(
business
.
stepList
[
i
].
stepState
==
'2'
)
{
num
++
}
}
if
((
business
.
ajzt
!=
'4'
||
business
.
ajzt
!=
'5'
)
&&
(
business
.
stepList
.
length
!=
(
num
+
1
)))
{
$
(
'.next_button'
).
append
(
'<button type="button" class="layui-btn layui-btn-normal">'
+
'<a onclick="skipClick()">下一步</a>'
+
'</button>'
)
}
}
//跳转下一个环节页面
...
...
staticViews/onlineApply/houseFill.html
View file @
32cf54b
...
...
@@ -291,19 +291,9 @@
</div>
</div>
<div
class=
"next_button"
>
<button
type=
"button"
lay-submit=
""
lay-filter=
"submit1"
class=
"layui-btn layui-btn-normal"
>
<a
onclick=
"skipClick()"
>
下一步
</a>
</button>
</div>
</div>
<div
class=
"next_button submitButton"
>
<button
type=
"button"
class=
"layui-btn layui-btn-normal"
>
<a
onclick=
"skipClick()"
>
下一步
</a>
</button>
</div>
</form>
</div>
...
...
staticViews/onlineApply/identityAuthentication.html
View file @
32cf54b
...
...
@@ -58,11 +58,7 @@
</form>
</div>
</div>
<div
class=
"next_button"
>
<button
type=
"button"
class=
"layui-btn layui-btn-normal"
>
<a
onclick=
"skipClick()"
>
下一步
</a>
</button>
</div>
<div
class=
"next_button"
></div>
</div>
</div>
</body>
...
...
staticViews/onlineApply/taxAssessment.html
View file @
32cf54b
...
...
@@ -65,11 +65,7 @@
<ul
id=
"informationList"
class=
"informationList"
></ul>
</div>
</div>
<div
class=
"next_button"
>
<button
type=
"button"
class=
"layui-btn layui-btn-normal"
>
<a
onclick=
"skipClick()"
>
下一步
</a>
</button>
</div>
<div
class=
"next_button"
></div>
</div>
</div>
</body>
...
...
Please
register
or
sign in
to post a comment