修改信息效验功能
Showing
3 changed files
with
133 additions
and
3 deletions
| ... | @@ -14,7 +14,8 @@ function SetServicesPath() { | ... | @@ -14,7 +14,8 @@ function SetServicesPath() { |
| 14 | var portal = | 14 | var portal = |
| 15 | { | 15 | { |
| 16 | 'api_url': "http://192.168.2.108:8000", //属性名用引号括起来,属性间由逗号隔开 | 16 | 'api_url': "http://192.168.2.108:8000", //属性名用引号括起来,属性间由逗号隔开 |
| 17 | 'name': 'myName' | 17 | 'name': 'myName', |
| 18 | "rootPath": GetRootPath() | ||
| 18 | }; | 19 | }; |
| 19 | 20 | ||
| 20 | //截取日期 | 21 | //截取日期 |
| ... | @@ -24,3 +25,16 @@ function CutDate(times) { | ... | @@ -24,3 +25,16 @@ function CutDate(times) { |
| 24 | //var timestr = "" + timearr[1].split("")[1] + "月" + timearr[2] + "日\t" + timearr[3] + ":" + timearr[4] + "" | 25 | //var timestr = "" + timearr[1].split("")[1] + "月" + timearr[2] + "日\t" + timearr[3] + ":" + timearr[4] + "" |
| 25 | return timestr | 26 | return timestr |
| 26 | } | 27 | } |
| 28 | |||
| 29 | function GetRootPath() { | ||
| 30 | var curWwwPath = window.document.location.href; | ||
| 31 | var pathName = window.document.location.pathname; | ||
| 32 | var pos = curWwwPath.indexOf(pathName); | ||
| 33 | return curWwwPath.substring(0, pos); | ||
| 34 | } | ||
| 35 | |||
| 36 | function GetQueryString(name) { | ||
| 37 | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i"); | ||
| 38 | var r = window.location.search.substr(1).match(reg); | ||
| 39 | if (r!=null) return (r[2]); return null; | ||
| 40 | } | ... | ... |
| ... | @@ -108,8 +108,8 @@ function _acceptanceProcess(ywid) { | ... | @@ -108,8 +108,8 @@ function _acceptanceProcess(ywid) { |
| 108 | //数据,这里使用的是Json格式进行传输 | 108 | //数据,这里使用的是Json格式进行传输 |
| 109 | success: function (result) {//返回数据根据结果进行相应的处理 | 109 | success: function (result) {//返回数据根据结果进行相应的处理 |
| 110 | if (result.code == 200 && result.data != null) { | 110 | if (result.code == 200 && result.data != null) { |
| 111 | console.log(result.data) | 111 | console.log(result.data) |
| 112 | window.open("./esf-xxjy.html?ywid="+ywid+"","_self") | 112 | window.open(portal.rootPath + result.data.stepList[0].pageurl + "?ywid=" + ywid + "&stepno="+ result.data.stepList[0].stepno, "_self") |
| 113 | } | 113 | } |
| 114 | } | 114 | } |
| 115 | }); | 115 | }); | ... | ... |
staticViews/onlineApply/bdcqlCheck.html
0 → 100644
| 1 | <!DOCTYPE html | ||
| 2 | PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
| 4 | |||
| 5 | <head> | ||
| 6 | <style> | ||
| 7 | </style> | ||
| 8 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
| 9 | <title>立即办理-信息校验</title> | ||
| 10 | <script type="text/javascript" src="../../staticJs/head.js"></script> | ||
| 11 | <link rel="stylesheet" type="text/css" href="../../staticCss/progress.css"> | ||
| 12 | <link rel="stylesheet" type="text/css" href="../../staticCss/bljy.css"> | ||
| 13 | </head> | ||
| 14 | |||
| 15 | <body> | ||
| 16 | <div class="navigation_crumbs"> | ||
| 17 | <div class="contentBox"> | ||
| 18 | <span class="layui-breadcrumb"> | ||
| 19 | <a href="../../../index.html">首页</a> | ||
| 20 | <a href="../../wssq.html">网上申请</a> | ||
| 21 | <a><cite>信息校验</cite></a> | ||
| 22 | </span> | ||
| 23 | </div> | ||
| 24 | </div> | ||
| 25 | <div class="content_box"> | ||
| 26 | <div class="name_title"> | ||
| 27 | <h2>商品房</h2> | ||
| 28 | <p>转移登记</p> | ||
| 29 | </div> | ||
| 30 | <div class="content_area"> | ||
| 31 | <div class="progressBar"> | ||
| 32 | <ul class="app_progress" id="app_progress"> | ||
| 33 | </ul> | ||
| 34 | </div> | ||
| 35 | <div class="input_search"> | ||
| 36 | <div class="form_title"> | ||
| 37 | <h2>信息校验</h2> | ||
| 38 | </div> | ||
| 39 | <form class="layui-form" action=""> | ||
| 40 | <div class="layui-form-item"> | ||
| 41 | <div class="layui-inline"> | ||
| 42 | <label id="sqrlx">权利人</label> | ||
| 43 | <label id="sqrxm">张*某</label> | ||
| 44 | </div> | ||
| 45 | <div class="layui-inline"> | ||
| 46 | <label>证件种类:</label> | ||
| 47 | <label id="zjzl">身份证</label> | ||
| 48 | </div> | ||
| 49 | <div class="layui-inline"> | ||
| 50 | <label>证件号码:</label> | ||
| 51 | <label id="zjhm">610100********3411</label> | ||
| 52 | </div> | ||
| 53 | </div> | ||
| 54 | <div class="layui-form-item"> | ||
| 55 | <div style="float: left;width: 220px;"> | ||
| 56 | <select id="bdcqzType" lay-verify="required" lay-filter="xmFilter"> | ||
| 57 | </select> | ||
| 58 | </div> | ||
| 59 | <div style="float: left;width: 300px;"> | ||
| 60 | <input type="text" name="record" required lay-verify="record" class="layui-input"> | ||
| 61 | </div> | ||
| 62 | </div> | ||
| 63 | |||
| 64 | <div class="layui-form-item submitbutton_con"> | ||
| 65 | <div class="layui-input-block submitbutton"> | ||
| 66 | <button type="reset" class="layui-btn layui-btn-primary reset">重 置</button> | ||
| 67 | <button type="submit" class="layui-btn layui-btn-normal submit" lay-submit="" | ||
| 68 | lay-filter="demo1">查 | ||
| 69 | 询</button> | ||
| 70 | </div> | ||
| 71 | </div> | ||
| 72 | </form> | ||
| 73 | </div> | ||
| 74 | </div> | ||
| 75 | </div> | ||
| 76 | </body> | ||
| 77 | <script type="text/javascript" src="../../staticJs/common.js"></script> | ||
| 78 | <script type="text/javascript" src="../../staticJs/down.js"></script> | ||
| 79 | <script type="text/javascript" src="../../staticJs/onlineApply/bdcqlCheck.js"></script> | ||
| 80 | <script id="progress" type="text/html"> | ||
| 81 | {{# layui.each(d.progressList, function(index, item){ }} | ||
| 82 | {{# if(item.stepState==2){ }} | ||
| 83 | <li class="item_proress"> | ||
| 84 | <p class="active"></p> | ||
| 85 | <h5>{{item.stepname}}</h5> | ||
| 86 | </li> | ||
| 87 | <li class="layui-progress"> | ||
| 88 | <div class="layui-progress-bar" lay-percent="100%"></div> | ||
| 89 | </li> | ||
| 90 | {{# } }} | ||
| 91 | {{# if(item.stepState==1){ }} | ||
| 92 | <li class="item_proress"> | ||
| 93 | <p class="activeing"></p> | ||
| 94 | <h5 class="activeingtext">{{item.stepname}}</h5> | ||
| 95 | </li> | ||
| 96 | {{# if(index!=(d.progressList.length-1)){ }} | ||
| 97 | <li class="layui-progress"> | ||
| 98 | <div class="layui-progress-bar" lay-percent="50%"></div> | ||
| 99 | </li> | ||
| 100 | {{# } }} | ||
| 101 | {{# } }} | ||
| 102 | {{# if(item.stepState==0){ }} | ||
| 103 | <li class="item_proress"> | ||
| 104 | <p></p> | ||
| 105 | <h5>{{item.stepname}}</h5> | ||
| 106 | </li> | ||
| 107 | {{# if(index!=(d.progressList.length-1)){ }} | ||
| 108 | <li class="layui-progress"> | ||
| 109 | <div class="layui-progress-bar" lay-percent="0%"></div> | ||
| 110 | </li> | ||
| 111 | {{# } }} | ||
| 112 | {{# } }} | ||
| 113 | {{# }); }} | ||
| 114 | </script> | ||
| 115 | |||
| 116 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment