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
56177b85
authored
2021-02-03 09:42:32 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:网上申请
1 parent
4c2b09ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
26 deletions
staticCss/dzzs.css
staticJs/onlineApply/certificateIssuance.js
staticCss/dzzs.css
View file @
56177b8
...
...
@@ -137,4 +137,8 @@
.complete
p
{
margin-bottom
:
5px
;
color
:
#0091FF
;
}
.completed-button
{
background-color
:
#9b9b9b
;
color
:
#fff
;
}
\ No newline at end of file
...
...
staticJs/onlineApply/certificateIssuance.js
View file @
56177b8
...
...
@@ -5,27 +5,27 @@ layui.use('element', function () {
});
$
(
function
()
{
addTabs
(
'#wssq'
)
setAcceptFlow
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
if
(
business
.
sqfs
==
'1'
)
{
setAcceptFlow
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
if
(
business
.
sqfs
==
'1'
)
{
$
(
'#sqfs'
).
text
(
'单方申请'
)
}
else
{
}
else
{
$
(
'#sqfs'
).
text
(
'双方申请'
)
}
list
=
getApplyRecord
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
console
.
log
(
666
,
list
)
list
=
getApplyRecord
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
console
.
log
(
666
,
list
)
// 领证方式
if
(
list
.
lzfs
==
'1'
)
{
if
(
list
.
lzfs
==
'1'
)
{
$
(
'.mail'
).
hide
();
}
else
{
}
else
{
$
(
'.scene'
).
hide
();
}
if
(
list
.
sqrlb
==
'1'
)
{
if
(
list
.
sqrlb
==
'1'
)
{
$
(
'#acceptance_info h3'
).
text
(
'权利人信息'
);
}
else
{
}
else
{
$
(
'#acceptance_info h3'
).
text
(
'义务人信息'
);
}
// 房屋信息
houseInfo
=
getFDCQ2
(
GetQueryString
(
'bsm_slsq'
));
houseInfo
=
getFDCQ2
(
GetQueryString
(
'bsm_slsq'
));
$
(
'#typesPower p'
).
text
(
list
.
qllxmc
);
$
(
'#businessType p'
).
text
(
list
.
shortname
);
$
(
'#acceptanceNumber p'
).
text
(
list
.
wwsqbh
);
...
...
@@ -38,33 +38,36 @@ $(function () {
var
listItem
;
let
userInfo
=
[];
userInfo
.
push
(
getItem
(
'myCookie'
));
if
(
list
.
sqrList
&&
list
.
sqrList
.
length
>
0
)
{
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
)
}
}
// 确定按钮
if
(
list
.
ajzt
!=
6
)
{
$
(
'#complete'
).
append
(
'<p>如您已经完成办理请点击确定</p>'
+
'<button type="button" class="layui-btn completeAudit layui-btn-radius layui-btn-normal">确定</button>'
)
if
(
list
.
ajzt
!=
6
)
{
$
(
'#complete'
).
append
(
'<p>如您已经完成办理请点击确定</p>'
+
'<button type="button" class="layui-btn completeAudit layui-btn-radius layui-btn-normal">确定</button>'
)
}
else
{
$
(
'#complete'
).
append
(
'<button type="button" class="layui-btn completed-button layui-btn-radius layui-btn-normal">已完成</button>'
);
}
})
...
...
@@ -78,17 +81,19 @@ function _completeBusiness() {
type
:
"post"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/ApplyBusinessService/completeBusiness"
,
//路径
dataType
:
"json"
,
data
:{
data
:
{
'bsmSlsq'
:
GetQueryString
(
'bsm_slsq'
)
},
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
)
{
if
(
result
.
code
==
200
)
{
layui
.
use
(
'layer'
,
function
()
{
layer
.
msg
(
result
.
message
);
});
_completePage
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
$
(
'#complete'
).
empty
();
_completePage
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
$
(
'#complete'
).
empty
()
$
(
'#complete'
).
append
(
'<button type="button" class="layui-btn completed-button layui-btn-radius layui-btn-normal">已完成</button>'
);
}
}
});
...
...
@@ -118,7 +123,7 @@ function _completePage(bsm_slsq, businessno) {
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
)
{
setAcceptFlow
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
setAcceptFlow
(
GetQueryString
(
'bsm_slsq'
),
GetQueryString
(
'businessno'
));
}
}
});
...
...
Please
register
or
sign in
to post a comment