df3ecda4 by 任超

style:资料审核

1 parent 32ba9e03
......@@ -72,6 +72,12 @@
.acceptance_information ul li p {
display: inline-block;
}
.informationList p {
display: block!important;
}
.informationList p span {
width: 80px!important;
}
/* -----------受理流程-------------- */
.acceptance_process {
......
var list;
var houseInfo;
$(function () {
layui.use('element', function () {
let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
......@@ -8,20 +10,30 @@ $(function () {
});
addTabs('#wssq')
setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
layui.use('laytpl', function () {
laytpl = layui.laytpl;
var getTpl = document.getElementById('progress').innerHTML
, view = document.getElementById('app_progress');
laytpl(getTpl).render(data, function (html) {
view.innerHTML = html;
});
layui.use(['element'], function () {
var element = layui.element;
//初始化动态元素,一些动态生成的元素如果不设置初始化,将不会有默认的动态效果
element.init();
});
});
list = getApplyRecord(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
// 房屋信息
houseInfo = getFDCQ2(GetQueryString('bsm_slsq'));
console.log(list , houseInfo);
$('#typesPower p').text(list.qllxmc);
$('#businessType p').text(list.shortname);
$('#acceptanceNumber p').text(list.wwsqbh);
$('#dateAcceptance p').text(list.sqrq);
$('#unitNumber p').text(houseInfo.bdcdyh);
$('#titleCertificate p').text(houseInfo.bdcqzh);
$('#beLocated p').text(houseInfo.fdzl);
$('#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>'
}
listItem += '<p><span>证件号码</span>:'+list.sqrList[i].zjhm+'</p>'
listItem += '<p><span>联系电话</span>:'+list.sqrList[i].dhhm+'</p>'
$('#informationList').append(listItem)
}
})
//下一步事件
function skipClick(){
......
$(function () {
layui.use('element', function () {
let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
});
addTabs('#wssq')
setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
layui.use('laytpl', function () {
laytpl = layui.laytpl;
var getTpl = document.getElementById('progress').innerHTML
, view = document.getElementById('app_progress');
laytpl(getTpl).render(data, function (html) {
view.innerHTML = html;
});
layui.use(['element'], function () {
var element = layui.element;
//初始化动态元素,一些动态生成的元素如果不设置初始化,将不会有默认的动态效果
element.init();
});
});
Webcam.set({
width: 320,
height: 240,
......@@ -39,5 +23,46 @@ function take_snapshot() {
}
//下一步事件
function skipClick(){
if(_SFYz()) {
$.ajax({
type: "post", //提交方式
url: portal.api_url + "/portal/FillInformation/ToZRF",//路径
dataType: "json",
contentType: 'application/json',
data: JSON.stringify({
"bsmSlsq": GetQueryString('bsm_slsq'),
}),
//数据,这里使用的是Json格式进行传输
success: function (result) {//返回数据根据结果进行相应的处理
if (result.code == 200 ) {
skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
}
}
});
}
}
// 身份验证
function _SFYz() {
var isVerification;
$.ajax({
type: "post", //提交方式
url: portal.api_url + "/portal/FillInformation/SFYz",//路径
dataType: "json",
contentType: 'application/json',
async: false,
data: JSON.stringify({
"dhhm": $('#phone').val(),
"yzm": $('#code').val()
}),
//数据,这里使用的是Json格式进行传输
success: function (result) {//返回数据根据结果进行相应的处理
if (result.code == 200 ) {
isVerification = true
}else {
isVerification = false
}
}
});
return isVerification
}
// /portal/FillInformation/ToZRF转给转入方进行流转
\ No newline at end of file
......
......@@ -124,6 +124,28 @@ function createBusinesseFlow(ywid) {
window.open(portal.rootPath + business.stepList[0].pageurl + "?ywid=" + ywid + "&businessno=" + business.businessno, "_self")
}
// 房屋独幢信息读取
function getFDCQ2(bsm_slsq) {
let bdc = null;
$.ajax({
type: "post", //提交方式
url: portal.api_url + "/portal/bdcqlReadService/getFDCQ2",//路径
dataType: "json",
async: false,
data: {
"bsm_ql": bsm_slsq,
},
//数据,这里使用的是Json格式进行传输
success: function (result) {//返回数据根据结果进行相应的处理
if (result.code == 200 && result.data != null) {
bdc = result.data;
}
}
});
return bdc;
}
//工作箱调取流程方法
function getWorkBoxFLow(bsm_slsq, businessno) {
......
......@@ -41,21 +41,21 @@
<div class="acceptance_information">
<h3>受理信息</h3>
<ul>
<li>
<li id="typesPower">
<span>权利类型:</span>
<p>房屋等建筑物、构筑物所有权</p>
</li>
<li>
<li id="businessType">
<span>业务类型:</span>
<p>
商品房买卖转移登记(个人)
</p>
</li>
<li>
<li id="acceptanceNumber">
<span>受理编号:</span>
<p>78979879879</p>
</li>
<li>
<li id="dateAcceptance">
<span>受理日期:</span>
<p>
2023-5-9
......@@ -67,25 +67,25 @@
<div class="acceptance_information">
<h3>房屋信息</h3>
<ul>
<li>
<li id="unitNumber">
<span>不动产单元号:</span>
<p>450101 450002 GB 00740W00000000</p>
</li>
<li>
<li id="titleCertificate">
<span>产权证号:</span>
<p>70205004005GB10030</p>
</li>
<li>
<li id="beLocated">
<span>坐落:</span>
<p>
XXX市(县)XXX街道(乡镇)XXX社区(村委会)XXX街(巷)xxx号XXXX楼XXX室
</p>
</li>
<li>
<li id="area">
<span>面积:</span>
<p>526</p>
</li>
<li>
<li id="recordNo">
<span>合同备案号:</span>
<p>YS000000000001</p>
</li>
......@@ -94,7 +94,8 @@
<!-- ----------买方信息--------- -->
<div class="acceptance_information">
<h3>买方信息</h3>
<ul>
<ul id="informationList" class="informationList"></ul>
<!-- <ul>
<li>
<span>姓名:</span>
<p>郭小美</p>
......@@ -111,7 +112,7 @@
<span>联系电话:</span>
<p>1977897987987</p>
</li>
</ul>
</ul> -->
</div>
<!-- ------------受理流程-------------- -->
<div class="acceptance_process">
......@@ -169,39 +170,4 @@
<script type="text/javascript" src="../../staticJs/down.js"></script>
<script type="text/javascript" src="../../staticJs/onlineApply/workFlow.js"></script>
<script type="text/javascript" src="../../staticJs/onlineApply/dataReview.js"></script>
<script id="progress" type="text/html">
{{# layui.each(d.progressList, function(index, item){ }}
{{# if(item.stepState==2){ }}
<li class="item_proress">
<p class="active"></p>
<h5>{{item.stepName}}</h5>
</li>
<li class="layui-progress">
<div class="layui-progress-bar" lay-percent="100%"></div>
</li>
{{# } }}
{{# if(item.stepState==1){ }}
<li class="item_proress">
<p class="activeing"></p>
<h5 class="activeingtext">{{item.stepName}}</h5>
</li>
{{# if(index!=(d.progressList.length-1)){ }}
<li class="layui-progress">
<div class="layui-progress-bar" lay-percent="50%"></div>
</li>
{{# } }}
{{# } }}
{{# if(item.stepState==0){ }}
<li class="item_proress">
<p></p>
<h5>{{item.stepName}}</h5>
</li>
{{# if(index!=(d.progressList.length-1)){ }}
<li class="layui-progress">
<div class="layui-progress-bar" lay-percent="0%"></div>
</li>
{{# } }}
{{# } }}
{{# }); }}
</script>
</html>
\ No newline at end of file
......
......@@ -40,11 +40,11 @@
<h5>短信认证</h5>
<div>
<span>手机号</span>
<input type="tel" name="phone" placeholder="请输入手机号" class="layui-input">
<input type="tel" id="phone" name="phone" placeholder="请输入手机号" class="layui-input">
</div>
<div>
<span>验证码</span>
<input type="tel" name="code" placeholder="请输入验证码" class="layui-input">
<input type="tel" id="code" name="code" placeholder="请输入验证码" class="layui-input">
</div>
</div>
......@@ -69,40 +69,4 @@
<script type="text/javascript" src="../../staticJs/jquery.webcam.min.js"></script>
<script type="text/javascript" src="../../staticJs/onlineApply/workFlow.js"></script>
<script type="text/javascript" src="../../staticJs/onlineApply/identityAuthentication.js"></script>
<script id="progress" type="text/html">
{{# layui.each(d.progressList, function(index, item){ }}
{{# if(item.stepState==2){ }}
<li class="item_proress">
<p class="active"></p>
<h5>{{item.stepName}}</h5>
</li>
<li class="layui-progress">
<div class="layui-progress-bar" lay-percent="100%"></div>
</li>
{{# } }}
{{# if(item.stepState==1){ }}
<li class="item_proress">
<p class="activeing"></p>
<h5 class="activeingtext">{{item.stepName}}</h5>
</li>
{{# if(index!=(d.progressList.length-1)){ }}
<li class="layui-progress">
<div class="layui-progress-bar" lay-percent="50%"></div>
</li>
{{# } }}
{{# } }}
{{# if(item.stepState==0){ }}
<li class="item_proress">
<p></p>
<h5>{{item.stepName}}</h5>
</li>
{{# if(index!=(d.progressList.length-1)){ }}
<li class="layui-progress">
<div class="layui-progress-bar" lay-percent="0%"></div>
</li>
{{# } }}
{{# } }}
{{# }); }}
</script>
</html>
\ No newline at end of file
......