b4d41bec by 任超

style:电子证书

1 parent 75abc20f
......@@ -71,8 +71,11 @@
.acceptance_information ul li p {
display: inline-block;
}
.informationList li {
width: 100%!important;
}
.informationList p {
display: block!important;
width: 25%!important;
}
.informationList p span {
width: 80px!important;
......
......@@ -6,8 +6,6 @@ $(function () {
});
addTabs('#wssq')
setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
list = getApplyRecord(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
// 房屋信息
houseInfo = getFDCQ2(GetQueryString('bsm_slsq'));
......@@ -22,14 +20,31 @@ $(function () {
$('#area p').text(houseInfo.jzmj);
// 买方信息
var listItem;
for (var i = 0; i < list.sqrList.length; i++) {
listItem = '<li>'
listItem += '<p><span>姓名</span>:'+list.sqrList[i].sqrmc+'</p>'
if (list.sqrList[i].sqrzj == 1) {
listItem += '<p><span>证件类型</span>:身份证</p>'
let userInfo = [];
userInfo.push(getCookie('myCookie'));
console.log(userInfo)
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>'
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>'
$('#informationList').append(listItem)
}
}else {
for (var i = 0; i < userInfo.length; i++) {
listItem = '<li>'
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>'
$('#informationList').append(listItem)
}
listItem += '<p><span>证件号码</span>:'+list.sqrList[i].zjhm+'</p>'
listItem += '<p><span>联系电话</span>:'+list.sqrList[i].dhhm+'</p>'
$('#informationList').append(listItem)
}
})
......
......@@ -86,7 +86,7 @@
</div>
<!-- ------------房屋信息-------------- -->
<div class="acceptance_information">
<h3>屋信息</h3>
<h3>屋信息</h3>
<ul>
<li id="unitNumber">
<span>不动产单元号:</span>
......