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
7c207e01
authored
2020-12-21 19:41:17 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:我的预约
1 parent
2b8b186c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
19 deletions
staticJs/onlineApply/dataReview.js
staticJs/wdyy.js
staticViews/onlineApply/dataReview.html
staticJs/onlineApply/dataReview.js
View file @
7c207e0
...
...
@@ -5,11 +5,11 @@ var list;
var
houseInfo
;
$
(
function
()
{
addTabs
(
'#wssq'
)
setAcceptFlow
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
list
=
getApplyRecord
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
setAcceptFlow
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
list
=
getApplyRecord
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
// 房屋信息
console
.
log
(
list
,
houseInfo
);
houseInfo
=
getFDCQ2
(
GetQueryString
(
'bsm_slsq'
));
console
.
log
(
list
,
houseInfo
);
houseInfo
=
getFDCQ2
(
GetQueryString
(
'bsm_slsq'
));
$
(
'#typesPower p'
).
text
(
list
.
qllxmc
);
$
(
'#businessType p'
).
text
(
list
.
shortname
);
$
(
'#acceptanceNumber p'
).
text
(
list
.
wwsqbh
);
...
...
@@ -22,34 +22,37 @@ $(function () {
var
listItem
;
let
userInfo
=
[];
userInfo
.
push
(
getCookie
(
'myCookie'
));
console
.
log
(
userInfo
)
if
(
list
.
sqrList
&&
list
.
sqrList
.
length
>
0
)
{
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>'
listItem
+=
'<p><span>姓名</span>:'
+
list
.
sqrList
[
i
].
sqrmc
+
'</p>'
listItem
+=
'<p><span>姓名</span>:'
+
list
.
sqrList
[
i
].
sqrmc
+
'</p>'
if
(
list
.
sqrList
[
i
].
sqrzj
==
1
)
{
listItem
+=
'<p><span>证件类型</span>:身份证</p>'
}
listItem
+=
'<p><span>证件号码</span>:'
+
list
.
sqrList
[
i
].
zjhm
+
'</p>'
listItem
+=
'<p><span>联系电话</span>:'
+
list
.
sqrList
[
i
].
dhhm
+
'</p>'
listItem
+=
'<p><span>证件号码</span>:'
+
list
.
sqrList
[
i
].
zjhm
+
'</p>'
listItem
+=
'<p><span>联系电话</span>:'
+
list
.
sqrList
[
i
].
dhhm
+
'</p>'
$
(
'#informationList'
).
append
(
listItem
)
}
}
else
{
}
else
{
for
(
var
i
=
0
;
i
<
userInfo
.
length
;
i
++
)
{
listItem
=
'<li>'
listItem
+=
'<p><span>姓名</span>:'
+
userInfo
[
i
].
username
+
'</p>'
listItem
+=
'<p><span>姓名</span>:'
+
userInfo
[
i
].
username
+
'</p>'
if
(
userInfo
[
i
].
zjzl
==
1
)
{
listItem
+=
'<p><span>证件类型</span>:身份证</p>'
}
listItem
+=
'<p><span>证件号码</span>:'
+
userInfo
[
i
].
zjhm
+
'</p>'
listItem
+=
'<p><span>联系电话</span>:'
+
userInfo
[
i
].
phone
+
'</p>'
listItem
+=
'<p><span>证件号码</span>:'
+
userInfo
[
i
].
zjhm
+
'</p>'
listItem
+=
'<p><span>联系电话</span>:'
+
userInfo
[
i
].
phone
+
'</p>'
$
(
'#informationList'
).
append
(
listItem
)
}
}
})
//下一步事件
function
skipClick
(){
skipNextPage
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
function
skipClick
()
{
skipNextPage
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
}
...
...
staticJs/wdyy.js
View file @
7c207e0
...
...
@@ -34,7 +34,7 @@ function _initData(currentPage = 1) {
if
(
records
[
i
].
state
==
'0'
)
{
li
+=
'<div class="item_title success">'
li
+=
'<h3>预约成功</h3>'
li
+=
'<a href="./yyjg.html">查看<i class="layui-icon layui-icon-right"></i></a>'
li
+=
'<a href="./yyjg.html
?appointmentId='
+
records
[
i
].
appointmentId
+
'
">查看<i class="layui-icon layui-icon-right"></i></a>'
li
+=
'</div>'
}
else
if
(
records
[
i
].
state
==
'1'
)
{
li
+=
'<div class="item_title success">'
...
...
staticViews/onlineApply/dataReview.html
View file @
7c207e0
...
...
@@ -141,9 +141,9 @@
</ul>
</div>
<div
class=
"next_button"
>
<button
type=
"button"
class=
"layui-btn layui-btn-normal"
>
<
!-- <
button type="button" class="layui-btn layui-btn-normal">
<a onclick="skipClick()">下一步</a>
</button>
</button>
-->
</div>
</div>
</div>
...
...
Please
register
or
sign in
to post a comment