34eed108 by 田浩浩

修改信息效验功能

1 parent 773339ac
......@@ -14,7 +14,8 @@ function SetServicesPath() {
var portal =
{
'api_url': "http://192.168.2.108:8000", //属性名用引号括起来,属性间由逗号隔开
'name': 'myName'
'name': 'myName',
"rootPath": GetRootPath()
};
//截取日期
......@@ -24,3 +25,16 @@ function CutDate(times) {
//var timestr = "" + timearr[1].split("")[1] + "月" + timearr[2] + "日\t" + timearr[3] + ":" + timearr[4] + ""
return timestr
}
function GetRootPath() {
var curWwwPath = window.document.location.href;
var pathName = window.document.location.pathname;
var pos = curWwwPath.indexOf(pathName);
return curWwwPath.substring(0, pos);
}
function GetQueryString(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i");
var r = window.location.search.substr(1).match(reg);
if (r!=null) return (r[2]); return null;
}
......
......@@ -109,7 +109,7 @@ function _acceptanceProcess(ywid) {
success: function (result) {//返回数据根据结果进行相应的处理
if (result.code == 200 && result.data != null) {
console.log(result.data)
window.open("./esf-xxjy.html?ywid="+ywid+"","_self")
window.open(portal.rootPath + result.data.stepList[0].pageurl + "?ywid=" + ywid + "&stepno="+ result.data.stepList[0].stepno, "_self")
}
}
});
......
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>立即办理-信息校验</title>
<script type="text/javascript" src="../../staticJs/head.js"></script>
<link rel="stylesheet" type="text/css" href="../../staticCss/progress.css">
<link rel="stylesheet" type="text/css" href="../../staticCss/bljy.css">
</head>
<body>
<div class="navigation_crumbs">
<div class="contentBox">
<span class="layui-breadcrumb">
<a href="../../../index.html">首页</a>
<a href="../../wssq.html">网上申请</a>
<a><cite>信息校验</cite></a>
</span>
</div>
</div>
<div class="content_box">
<div class="name_title">
<h2>商品房</h2>
<p>转移登记</p>
</div>
<div class="content_area">
<div class="progressBar">
<ul class="app_progress" id="app_progress">
</ul>
</div>
<div class="input_search">
<div class="form_title">
<h2>信息校验</h2>
</div>
<form class="layui-form" action="">
<div class="layui-form-item">
<div class="layui-inline">
<label id="sqrlx">权利人</label>
<label id="sqrxm">张*某</label>
</div>
<div class="layui-inline">
<label>证件种类:</label>
<label id="zjzl">身份证</label>
</div>
<div class="layui-inline">
<label>证件号码:</label>
<label id="zjhm">610100********3411</label>
</div>
</div>
<div class="layui-form-item">
<div style="float: left;width: 220px;">
<select id="bdcqzType" lay-verify="required" lay-filter="xmFilter">
</select>
</div>
<div style="float: left;width: 300px;">
<input type="text" name="record" required lay-verify="record" class="layui-input">
</div>
</div>
<div class="layui-form-item submitbutton_con">
<div class="layui-input-block submitbutton">
<button type="reset" class="layui-btn layui-btn-primary reset">重 置</button>
<button type="submit" class="layui-btn layui-btn-normal submit" lay-submit=""
lay-filter="demo1">
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="../../staticJs/common.js"></script>
<script type="text/javascript" src="../../staticJs/down.js"></script>
<script type="text/javascript" src="../../staticJs/onlineApply/bdcqlCheck.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