Merge branch 'master' of yun.pashanhoo.com:renchao/portalStaticPage
Showing
14 changed files
with
220 additions
and
263 deletions
| ... | @@ -13,8 +13,9 @@ function SetServicesPath() { | ... | @@ -13,8 +13,9 @@ function SetServicesPath() { |
| 13 | //设置全局參數 | 13 | //设置全局參數 |
| 14 | var portal = | 14 | var portal = |
| 15 | { | 15 | { |
| 16 | 'api_url': "http://192.168.2.59: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 | } | ... | ... |
| ... | @@ -15,7 +15,7 @@ function getLawsArticleList() { | ... | @@ -15,7 +15,7 @@ function getLawsArticleList() { |
| 15 | var li = ''; | 15 | var li = ''; |
| 16 | $.ajax({ | 16 | $.ajax({ |
| 17 | type: "get", //提交方式 | 17 | type: "get", //提交方式 |
| 18 | url: portal.api_url + "/hlwj/MhLaws/getLawsArticleList",//路径 | 18 | url: portal.api_url + "/portal/MhLaws/getLawsArticleList",//路径 |
| 19 | dataType: "json", | 19 | dataType: "json", |
| 20 | async: false, | 20 | async: false, |
| 21 | data: { | 21 | data: { |
| ... | @@ -48,7 +48,7 @@ function getPolicyHotArticleList() { | ... | @@ -48,7 +48,7 @@ function getPolicyHotArticleList() { |
| 48 | var li = ''; | 48 | var li = ''; |
| 49 | $.ajax({ | 49 | $.ajax({ |
| 50 | type: "get", //提交方式 | 50 | type: "get", //提交方式 |
| 51 | url: portal.api_url + "/hlwj/MhPolicy/getPolicyHotArticleList",//路径 | 51 | url: portal.api_url + "/portal/MhPolicy/getPolicyHotArticleList",//路径 |
| 52 | dataType: "json", | 52 | dataType: "json", |
| 53 | async: false, | 53 | async: false, |
| 54 | //数据,这里使用的是Json格式进行传输 | 54 | //数据,这里使用的是Json格式进行传输 |
| ... | @@ -73,7 +73,7 @@ function HotArticle() { | ... | @@ -73,7 +73,7 @@ function HotArticle() { |
| 73 | var li = ''; | 73 | var li = ''; |
| 74 | $.ajax({ | 74 | $.ajax({ |
| 75 | type: "get", //提交方式 | 75 | type: "get", //提交方式 |
| 76 | url: portal.api_url + "/hlwj/MhNews/getNewsHotArticleList",//路径 | 76 | url: portal.api_url + "/portal/MhNews/getNewsHotArticleList",//路径 |
| 77 | dataType: "json", | 77 | dataType: "json", |
| 78 | async: false, | 78 | async: false, |
| 79 | //数据,这里使用的是Json格式进行传输 | 79 | //数据,这里使用的是Json格式进行传输 | ... | ... |
| ... | @@ -38,7 +38,7 @@ layui.use('element', function(){ | ... | @@ -38,7 +38,7 @@ layui.use('element', function(){ |
| 38 | function initData() { | 38 | function initData() { |
| 39 | $.ajax({ | 39 | $.ajax({ |
| 40 | type: "get", //提交方式 | 40 | type: "get", //提交方式 |
| 41 | url: portal.api_url + "/hlwj/MhNotice/getNoticeList",//路径 | 41 | url: portal.api_url + "/portal/MhNotice/getNoticeList",//路径 |
| 42 | data: { | 42 | data: { |
| 43 | "currentPage": data.currentPage, | 43 | "currentPage": data.currentPage, |
| 44 | "pageSize": data.limit, | 44 | "pageSize": data.limit, |
| ... | @@ -71,7 +71,7 @@ function HotArticle() { | ... | @@ -71,7 +71,7 @@ function HotArticle() { |
| 71 | var li = ''; | 71 | var li = ''; |
| 72 | $.ajax({ | 72 | $.ajax({ |
| 73 | type: "get", //提交方式 | 73 | type: "get", //提交方式 |
| 74 | url: portal.api_url + "/hlwj/MhNews/getNewsHotArticleList",//路径 | 74 | url: portal.api_url + "/portal/MhNews/getNewsHotArticleList",//路径 |
| 75 | dataType: "json", | 75 | dataType: "json", |
| 76 | async: false, | 76 | async: false, |
| 77 | //数据,这里使用的是Json格式进行传输 | 77 | //数据,这里使用的是Json格式进行传输 |
| ... | @@ -96,7 +96,7 @@ function PolicyHotArticle() { | ... | @@ -96,7 +96,7 @@ function PolicyHotArticle() { |
| 96 | var li = ''; | 96 | var li = ''; |
| 97 | $.ajax({ | 97 | $.ajax({ |
| 98 | type: "get", //提交方式 | 98 | type: "get", //提交方式 |
| 99 | url: portal.api_url + "/hlwj/MhPolicy/getPolicyHotArticleList",//路径 | 99 | url: portal.api_url + "/portal/MhPolicy/getPolicyHotArticleList",//路径 |
| 100 | dataType: "json", | 100 | dataType: "json", |
| 101 | async: false, | 101 | async: false, |
| 102 | //数据,这里使用的是Json格式进行传输 | 102 | //数据,这里使用的是Json格式进行传输 | ... | ... |
| 1 | |||
| 1 | $(function () { | 2 | $(function () { |
| 2 | layui.use('element', function () { | 3 | layui.use('element', function () { |
| 3 | let element = layui.element; | 4 | let element = layui.element; |
| 4 | }); | 5 | }); |
| 5 | addTabs('#wssq') | 6 | addTabs('#wssq'); |
| 6 | _acceptanceProcess(GetRequest('ywid').ywid) | 7 | setFristStepPageFLow(GetQueryString('ywid')); |
| 7 | // 业务 | 8 | // 业务 |
| 8 | layui.use(['form'], function () { | 9 | layui.use(['form'], function () { |
| 9 | var form = layui.form | 10 | var form = layui.form |
| ... | @@ -31,7 +32,7 @@ $(function () { | ... | @@ -31,7 +32,7 @@ $(function () { |
| 31 | successResult() | 32 | successResult() |
| 32 | // seizureResult() | 33 | // seizureResult() |
| 33 | }) | 34 | }) |
| 34 | 35 | SetCheckContent(); | |
| 35 | }) | 36 | }) |
| 36 | function successResult() { | 37 | function successResult() { |
| 37 | layui.use('layer', function () { | 38 | layui.use('layer', function () { |
| ... | @@ -41,7 +42,7 @@ function successResult() { | ... | @@ -41,7 +42,7 @@ function successResult() { |
| 41 | scrollbar: false, | 42 | scrollbar: false, |
| 42 | btn: ['下一步'], | 43 | btn: ['下一步'], |
| 43 | yes: function () { | 44 | yes: function () { |
| 44 | window.location.href = "./esf-tbxx.html"; | 45 | skipNextPage(); |
| 45 | }, | 46 | }, |
| 46 | content: '<ul class="dialog_con">' | 47 | content: '<ul class="dialog_con">' |
| 47 | + '<li><span>姓名:</span>任超</li>' | 48 | + '<li><span>姓名:</span>任超</li>' |
| ... | @@ -77,53 +78,28 @@ function seizureResult() { | ... | @@ -77,53 +78,28 @@ function seizureResult() { |
| 77 | }) | 78 | }) |
| 78 | } | 79 | } |
| 79 | 80 | ||
| 80 | // 获取受理流程信息 | 81 | |
| 81 | function _acceptanceProcess(ywid, lclb = 1) { | 82 | |
| 82 | $.ajax({ | 83 | //设置查验内容 |
| 83 | type: "post", //提交方式 | 84 | function SetCheckContent() { |
| 84 | url: portal.api_url + "/portal/ApplyBusinessService/getApplyFlow",//路径 | 85 | layui.use(['form', 'upload', 'layer'], function () { |
| 85 | dataType: "json", | 86 | var bdcqzType = $('#bdcqzType'); |
| 86 | data: { | 87 | var form = layui.form; |
| 87 | "ywid": ywid, | 88 | if (business.sqrlb == "1") { |
| 88 | "lclb": lclb | 89 | $("#sqrlx").text("权利人名称:"); |
| 89 | }, | 90 | // bdcqzType.append(new Option("不动产权证书号", "bdcqzh"));// 下拉菜单里添加元素 |
| 90 | //数据,这里使用的是Json格式进行传输 | 91 | // bdcqzType.append(new Option("不动产权证明号", "bdcqzh"));// 下拉菜单里添加元素 |
| 91 | success: function (result) {//返回数据根据结果进行相应的处理 | 92 | bdcqzType.append(new Option("合同号", "hth"));// 下拉菜单里添加元素 |
| 92 | if (result.code == 200 && result.data != null) { | 93 | // bdcqzType.append(new Option("房产证号", "hth"));// 下拉菜单里添加元素 |
| 93 | console.log(result.data) | 94 | // bdcqzType.append(new Option("土地证号", "hth"));// 下拉菜单里添加元素 |
| 94 | $('.name_title h2').text(result.data.shortName) | 95 | } else { |
| 95 | $('.name_title p').text(result.data.businessName) | 96 | $("#sqrlx").text("义务人名称:"); |
| 96 | data.progressList = result.data.stepList | 97 | bdcqzType.append(new Option("不动产权证书号", "bdcqzh"));// 下拉菜单里添加元素 |
| 97 | } | 98 | // bdcqzType.append(new Option("不动产权证明号", "bdcqzh"));// 下拉菜单里添加元素 |
| 98 | layui.use('laytpl', function () { | 99 | bdcqzType.append(new Option("合同号", "hth"));// 下拉菜单里添加元素 |
| 99 | laytpl = layui.laytpl; | 100 | // bdcqzType.append(new Option("房产证号", "hth"));// 下拉菜单里添加元素 |
| 100 | var getTpl = document.getElementById('progress').innerHTML | 101 | // bdcqzType.append(new Option("土地证号", "hth"));// 下拉菜单里添加元素 |
| 101 | , view = document.getElementById('app_progress'); | ||
| 102 | laytpl(getTpl).render(data, function (html) { | ||
| 103 | view.innerHTML = html; | ||
| 104 | }); | ||
| 105 | |||
| 106 | layui.use(['element'], function () { | ||
| 107 | var element = layui.element; | ||
| 108 | //初始化动态元素,一些动态生成的元素如果不设置初始化,将不会有默认的动态效果 | ||
| 109 | element.init(); | ||
| 110 | }); | ||
| 111 | }); | ||
| 112 | } | 102 | } |
| 103 | layui.form.render("select"); | ||
| 113 | }); | 104 | }); |
| 114 | } | ||
| 115 | function GetRequest() { | ||
| 116 | var url = location.search; //获取url中"?"符后的字串 | ||
| 117 | var theRequest = new Object(); | ||
| 118 | if (url.indexOf("?") != -1) { | ||
| 119 | var str = url.substr(1); | ||
| 120 | strs = str.split("?"); | ||
| 121 | for (var i = 0; i < strs.length; i++) { | ||
| 122 | theRequest[strs[i].split("=")[0]] = decodeURIComponent(strs[i].split("=")[1]); | ||
| 123 | } | ||
| 124 | } | ||
| 125 | return theRequest; | ||
| 126 | } | ||
| 127 | var data = { //数据 | ||
| 128 | 'progressList': [], | ||
| 129 | }; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 105 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -2,19 +2,7 @@ layui.use('element', function () { | ... | @@ -2,19 +2,7 @@ layui.use('element', function () { |
| 2 | let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 | 2 | let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 |
| 3 | }); | 3 | }); |
| 4 | addTabs('#wssq') | 4 | addTabs('#wssq') |
| 5 | layui.use('laytpl', function () { | 5 | setAcceptFlow(GetQueryString('ywid'),GetQueryString('lclb')); |
| 6 | laytpl = layui.laytpl; | ||
| 7 | var getTpl = document.getElementById('progress').innerHTML | ||
| 8 | , view = document.getElementById('app_progress'); | ||
| 9 | laytpl(getTpl).render(data, function (html) { | ||
| 10 | view.innerHTML = html; | ||
| 11 | }); | ||
| 12 | |||
| 13 | layui.use(['element'], function () { | ||
| 14 | var element = layui.element; | ||
| 15 | element.init(); | ||
| 16 | }); | ||
| 17 | }); | ||
| 18 | // form 表单 | 6 | // form 表单 |
| 19 | layui.use('form', function () { | 7 | layui.use('form', function () { |
| 20 | var form = layui.form; | 8 | var form = layui.form; |
| ... | @@ -137,46 +125,7 @@ layui.use(['form', 'common'], function () { | ... | @@ -137,46 +125,7 @@ layui.use(['form', 'common'], function () { |
| 137 | // }); | 125 | // }); |
| 138 | }); | 126 | }); |
| 139 | 127 | ||
| 140 | var data = { //数据 | ||
| 141 | 'progressList': [ | ||
| 142 | { | ||
| 143 | stepName: "信息效验", | ||
| 144 | stepState: 2 //0:未办理 1:正在办理 2:已办理 | ||
| 145 | }, | ||
| 146 | { | ||
| 147 | stepName: "填报信息", | ||
| 148 | stepState: 1 | ||
| 149 | }, | ||
| 150 | { | ||
| 151 | stepName: "完税核税", | ||
| 152 | stepState: 0 | ||
| 153 | }, | ||
| 154 | { | ||
| 155 | stepName: "身份认证", | ||
| 156 | stepState: 0 | ||
| 157 | }, | ||
| 158 | { | ||
| 159 | stepName: "资料审核", | ||
| 160 | stepState: 0 | ||
| 161 | } | ||
| 162 | ], | ||
| 163 | }; | ||
| 164 | |||
| 165 | // 获取受理流程信息 | ||
| 166 | function _acceptanceProcess(ywid,lclb=1) { | ||
| 167 | $.ajax({ | ||
| 168 | type: "post", //提交方式 | ||
| 169 | url: portal.api_url + "/portal/ApplyBusinessService/getApplyFlow",//路径 | ||
| 170 | dataType: "json", | ||
| 171 | data: { | ||
| 172 | "ywid": ywid, | ||
| 173 | "lclb": lclb | ||
| 174 | }, | ||
| 175 | //数据,这里使用的是Json格式进行传输 | ||
| 176 | success: function (result) {//返回数据根据结果进行相应的处理 | ||
| 177 | if (result.code == 200 && result.data != null) { | ||
| 178 | console.log(result.data) | ||
| 179 | } | ||
| 180 | } | ||
| 181 | }); | ||
| 182 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 128 | //下一步事件 | ||
| 129 | function skipClick(){ | ||
| 130 | skipNextPage(); | ||
| 131 | } | ... | ... |
staticJs/onlineApply/workFlow.js
0 → 100644
| 1 | var business; | ||
| 2 | //获取创建的流程业务 | ||
| 3 | function getCreateFlow(ywid) { | ||
| 4 | $.ajax({ | ||
| 5 | type: "post", //提交方式 | ||
| 6 | url: portal.api_url + "/portal/ApplyBusinessService/getBusinessFlow",//路径 | ||
| 7 | dataType: "json", | ||
| 8 | async: false, | ||
| 9 | data: { | ||
| 10 | "ywid": ywid | ||
| 11 | }, | ||
| 12 | //数据,这里使用的是Json格式进行传输 | ||
| 13 | success: function (result) {//返回数据根据结果进行相应的处理 | ||
| 14 | if (result.code == 200 && result.data != null) { | ||
| 15 | business = result.data; | ||
| 16 | } | ||
| 17 | } | ||
| 18 | }); | ||
| 19 | } | ||
| 20 | |||
| 21 | //获取正在办理的流程业务 | ||
| 22 | function getAcceptFlow(ywid, lclb) { | ||
| 23 | $.ajax({ | ||
| 24 | type: "post", //提交方式 | ||
| 25 | url: portal.api_url + "/portal/ApplyBusinessService/getApplyFlow",//路径 | ||
| 26 | dataType: "json", | ||
| 27 | async: false, | ||
| 28 | data: { | ||
| 29 | "ywid": ywid, | ||
| 30 | "lclb": lclb | ||
| 31 | }, | ||
| 32 | //数据,这里使用的是Json格式进行传输 | ||
| 33 | success: function (result) {//返回数据根据结果进行相应的处理 | ||
| 34 | if (result.code == 200 && result.data != null) { | ||
| 35 | business = result.data; | ||
| 36 | } | ||
| 37 | } | ||
| 38 | }); | ||
| 39 | } | ||
| 40 | |||
| 41 | //设置步骤条信息 | ||
| 42 | function setArticleSteps() { | ||
| 43 | $('.name_title h2').text(business.shortName); | ||
| 44 | var ArticleContent = $("#app_progress"); | ||
| 45 | $.each(business.stepList, function (index, item) { | ||
| 46 | switch (item.stepState) { | ||
| 47 | case 0: | ||
| 48 | ArticleContent.append('<li class="item_proress"><p></p><h5>' + item.stepname + '</h5></li>'); | ||
| 49 | ArticleContent.append('<li class="layui-progress"><div class="layui-progress-bar" lay-percent="0%"></div></li>'); | ||
| 50 | break; | ||
| 51 | case 1: | ||
| 52 | ArticleContent.append('<li class="item_proress"><p class="activeing"></p><h5 class="activeingtext">' + item.stepname + '</h5></li>'); | ||
| 53 | ArticleContent.append('<li class="layui-progress"><div class="layui-progress-bar" lay-percent="50%"></div></li>'); | ||
| 54 | break; | ||
| 55 | case 2: | ||
| 56 | ArticleContent.append('<li class="item_proress"><p class="active"></p><h5>' + item.stepname + '</h5></li>'); | ||
| 57 | ArticleContent.append('<li class="layui-progress"><div class="layui-progress-bar" lay-percent="100%"></div></li>'); | ||
| 58 | break; | ||
| 59 | } | ||
| 60 | }); | ||
| 61 | } | ||
| 62 | |||
| 63 | //获取业务发起流程方法 | ||
| 64 | function getInitiateFLow(ywid) { | ||
| 65 | getCreateFlow(ywid); | ||
| 66 | window.open(portal.rootPath + business.stepList[0].pageurl + "?ywid=" + ywid, "_self") | ||
| 67 | } | ||
| 68 | |||
| 69 | //工作箱调取流程方法 | ||
| 70 | function getWorkBoxFLow(ywid, lclb) { | ||
| 71 | getAcceptFlow(ywid, lclb); | ||
| 72 | var pageurl; | ||
| 73 | $.each(business.stepList, function (index, item) { | ||
| 74 | if (item.stepState == 1) { | ||
| 75 | page = item.pageurl; | ||
| 76 | return; | ||
| 77 | } | ||
| 78 | }); | ||
| 79 | window.open(portal.rootPath + pageurl + "?ywid=" + ywid, "_self") | ||
| 80 | } | ||
| 81 | |||
| 82 | |||
| 83 | //设置首环节页面相关内容 | ||
| 84 | function setFristStepPageFLow(ywid) { | ||
| 85 | getCreateFlow(ywid); | ||
| 86 | setArticleSteps(); | ||
| 87 | } | ||
| 88 | |||
| 89 | //设置正在办理页面相关内容 | ||
| 90 | function setAcceptFlow(ywid, lclb) { | ||
| 91 | getAcceptFlow(ywid, lclb); | ||
| 92 | setArticleSteps(); | ||
| 93 | } | ||
| 94 | |||
| 95 | //跳转下一个环节页面 | ||
| 96 | function skipNextPage() { | ||
| 97 | //更新当前流程所处环节 | ||
| 98 | var nextStepIndex; | ||
| 99 | $.each(business.stepList, function (index, item) { | ||
| 100 | if (item.stepState == 1) { | ||
| 101 | nextStepIndex = index + 1; | ||
| 102 | return; | ||
| 103 | } | ||
| 104 | }); | ||
| 105 | window.location.href = portal.rootPath + business.stepList[nextStepIndex].pageurl + "?ywid=" + business.ywid + "&lclb=" + business.lclb; | ||
| 106 | } | ||
| 107 |
| ... | @@ -65,7 +65,7 @@ function NewsData() { | ... | @@ -65,7 +65,7 @@ function NewsData() { |
| 65 | var li, publishTime; | 65 | var li, publishTime; |
| 66 | $.ajax({ | 66 | $.ajax({ |
| 67 | type: "get", //提交方式 | 67 | type: "get", //提交方式 |
| 68 | url: portal.api_url + "/hlwj/MhNews/getNewsList",//路径 | 68 | url: portal.api_url + "/portal/MhNews/getNewsList",//路径 |
| 69 | dataType: "json", | 69 | dataType: "json", |
| 70 | //数据,这里使用的是Json格式进行传输 | 70 | //数据,这里使用的是Json格式进行传输 |
| 71 | success: function (result) {//返回数据根据结果进行相应的处理 | 71 | success: function (result) {//返回数据根据结果进行相应的处理 |
| ... | @@ -95,7 +95,7 @@ function NoticeData() { | ... | @@ -95,7 +95,7 @@ function NoticeData() { |
| 95 | var li; | 95 | var li; |
| 96 | $.ajax({ | 96 | $.ajax({ |
| 97 | type: "get", //提交方式 | 97 | type: "get", //提交方式 |
| 98 | url: portal.api_url + "/hlwj/MhNotice/getMHNotice",//路径 | 98 | url: portal.api_url + "/portal/MhNotice/getMHNotice",//路径 |
| 99 | dataType: "json", | 99 | dataType: "json", |
| 100 | //数据,这里使用的是Json格式进行传输 | 100 | //数据,这里使用的是Json格式进行传输 |
| 101 | success: function (result) {//返回数据根据结果进行相应的处理 | 101 | success: function (result) {//返回数据根据结果进行相应的处理 |
| ... | @@ -126,7 +126,7 @@ function LawsData() { | ... | @@ -126,7 +126,7 @@ function LawsData() { |
| 126 | var li; | 126 | var li; |
| 127 | $.ajax({ | 127 | $.ajax({ |
| 128 | type: "get", //提交方式 | 128 | type: "get", //提交方式 |
| 129 | url: portal.api_url + "/hlwj/MhLaws/getLawsList",//路径 | 129 | url: portal.api_url + "/portal/MhLaws/getLawsList",//路径 |
| 130 | dataType: "json", | 130 | dataType: "json", |
| 131 | //数据,这里使用的是Json格式进行传输 | 131 | //数据,这里使用的是Json格式进行传输 |
| 132 | success: function (result) {//返回数据根据结果进行相应的处理 | 132 | success: function (result) {//返回数据根据结果进行相应的处理 |
| ... | @@ -148,7 +148,7 @@ function policiesData() { | ... | @@ -148,7 +148,7 @@ function policiesData() { |
| 148 | var li; | 148 | var li; |
| 149 | $.ajax({ | 149 | $.ajax({ |
| 150 | type: "get", //提交方式 | 150 | type: "get", //提交方式 |
| 151 | url: portal.api_url + "/hlwj/MhPolicy/getPolicyList",//路径 | 151 | url: portal.api_url + "/portal/MhPolicy/getPolicyList",//路径 |
| 152 | dataType: "json", | 152 | dataType: "json", |
| 153 | //数据,这里使用的是Json格式进行传输 | 153 | //数据,这里使用的是Json格式进行传输 |
| 154 | success: function (result) {//返回数据根据结果进行相应的处理 | 154 | success: function (result) {//返回数据根据结果进行相应的处理 | ... | ... |
| ... | @@ -33,8 +33,7 @@ $(function () { | ... | @@ -33,8 +33,7 @@ $(function () { |
| 33 | _initData() | 33 | _initData() |
| 34 | // 网上申请 | 34 | // 网上申请 |
| 35 | $(document).on("click", ".handleBus", function (e) { | 35 | $(document).on("click", ".handleBus", function (e) { |
| 36 | console.log($(this).attr("ywid")) | 36 | getInitiateFLow($(this).attr("ywid")); |
| 37 | _acceptanceProcess($(this).attr("ywid")) | ||
| 38 | }) | 37 | }) |
| 39 | }) | 38 | }) |
| 40 | 39 | ||
| ... | @@ -96,25 +95,6 @@ function _businessList(districtId) { | ... | @@ -96,25 +95,6 @@ function _businessList(districtId) { |
| 96 | }); | 95 | }); |
| 97 | } | 96 | } |
| 98 | 97 | ||
| 99 | // 获取受理流程信息 | ||
| 100 | function _acceptanceProcess(ywid,lclb=1) { | ||
| 101 | $.ajax({ | ||
| 102 | type: "post", //提交方式 | ||
| 103 | url: portal.api_url + "/portal/ApplyBusinessService/getApplyFlow",//路径 | ||
| 104 | dataType: "json", | ||
| 105 | data: { | ||
| 106 | "ywid": ywid, | ||
| 107 | "lclb": lclb | ||
| 108 | }, | ||
| 109 | //数据,这里使用的是Json格式进行传输 | ||
| 110 | success: function (result) {//返回数据根据结果进行相应的处理 | ||
| 111 | if (result.code == 200 && result.data != null) { | ||
| 112 | console.log(result.data) | ||
| 113 | window.open("./esf-xxjy.html?ywid="+ywid+"","_self") | ||
| 114 | } | ||
| 115 | } | ||
| 116 | }); | ||
| 117 | } | ||
| 118 | 98 | ||
| 119 | var data = { //数据 | 99 | var data = { //数据 |
| 120 | "immediateList": [], | 100 | "immediateList": [], | ... | ... |
| ... | @@ -16,7 +16,7 @@ $(function () { | ... | @@ -16,7 +16,7 @@ $(function () { |
| 16 | function LoadNewsData(currentPage=1) { | 16 | function LoadNewsData(currentPage=1) { |
| 17 | $.ajax({ | 17 | $.ajax({ |
| 18 | type: "get", //提交方式 | 18 | type: "get", //提交方式 |
| 19 | url: portal.api_url + "/hlwj/MhNews/getNewsArticleList",//路径 | 19 | url: portal.api_url + "/portal/MhNews/getNewsArticleList",//路径 |
| 20 | data:{ | 20 | data:{ |
| 21 | "currentPage":currentPage, | 21 | "currentPage":currentPage, |
| 22 | "pageSize":5 | 22 | "pageSize":5 |
| ... | @@ -47,7 +47,7 @@ function HotArticle() { | ... | @@ -47,7 +47,7 @@ function HotArticle() { |
| 47 | var li = ''; | 47 | var li = ''; |
| 48 | $.ajax({ | 48 | $.ajax({ |
| 49 | type: "get", //提交方式 | 49 | type: "get", //提交方式 |
| 50 | url: portal.api_url + "/hlwj/MhNews/getNewsHotArticleList",//路径 | 50 | url: portal.api_url + "/portal/MhNews/getNewsHotArticleList",//路径 |
| 51 | dataType: "json", | 51 | dataType: "json", |
| 52 | async: false, | 52 | async: false, |
| 53 | //数据,这里使用的是Json格式进行传输 | 53 | //数据,这里使用的是Json格式进行传输 |
| ... | @@ -73,7 +73,7 @@ function PolicyHotArticle() { | ... | @@ -73,7 +73,7 @@ function PolicyHotArticle() { |
| 73 | var li = ''; | 73 | var li = ''; |
| 74 | $.ajax({ | 74 | $.ajax({ |
| 75 | type: "get", //提交方式 | 75 | type: "get", //提交方式 |
| 76 | url: portal.api_url + "/hlwj/MhPolicy/getPolicyHotArticleList",//路径 | 76 | url: portal.api_url + "/portal/MhPolicy/getPolicyHotArticleList",//路径 |
| 77 | dataType: "json", | 77 | dataType: "json", |
| 78 | async: false, | 78 | async: false, |
| 79 | //数据,这里使用的是Json格式进行传输 | 79 | //数据,这里使用的是Json格式进行传输 | ... | ... |
| ... | @@ -15,7 +15,7 @@ function getLawsArticleList() { | ... | @@ -15,7 +15,7 @@ function getLawsArticleList() { |
| 15 | var li = ''; | 15 | var li = ''; |
| 16 | $.ajax({ | 16 | $.ajax({ |
| 17 | type: "get", //提交方式 | 17 | type: "get", //提交方式 |
| 18 | url: portal.api_url + "/hlwj/MhPolicy/getPolicyArticleList",//路径 | 18 | url: portal.api_url + "/portal/MhPolicy/getPolicyArticleList",//路径 |
| 19 | dataType: "json", | 19 | dataType: "json", |
| 20 | async: false, | 20 | async: false, |
| 21 | data: { | 21 | data: { | ... | ... |
| 1 | <!DOCTYPE html | 1 | <!DOCTYPE html |
| 2 | PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 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"> | 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | |||
| 4 | <head> | 5 | <head> |
| 5 | <style> | 6 | <style> |
| 6 | </style> | 7 | </style> |
| 7 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 8 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 8 | <title>立即办理-信息校验</title> | 9 | <title>立即办理-信息校验</title> |
| 9 | <script type="text/javascript" src="../staticJs/head.js"></script> | 10 | <script type="text/javascript" src="../../staticJs/head.js"></script> |
| 10 | <link rel="stylesheet" type="text/css" href="../staticCss/progress.css"> | 11 | <link rel="stylesheet" type="text/css" href="../../staticCss/progress.css"> |
| 11 | <link rel="stylesheet" type="text/css" href="../staticCss/bljy.css"> | 12 | <link rel="stylesheet" type="text/css" href="../../staticCss/bljy.css"> |
| 12 | </head> | 13 | </head> |
| 13 | 14 | ||
| 14 | <body> | 15 | <body> |
| 15 | <div class="navigation_crumbs"> | 16 | <div class="navigation_crumbs"> |
| 16 | <div class="contentBox"> | 17 | <div class="contentBox"> |
| 17 | <span class="layui-breadcrumb"> | 18 | <span class="layui-breadcrumb"> |
| 18 | <a href="../../index.html">首页</a> | 19 | <a href="../../../index.html">首页</a> |
| 19 | <a href="./wssq.html">网上申请</a> | 20 | <a href="../../wssq.html">网上申请</a> |
| 20 | <a><cite>信息校验</cite></a> | 21 | <a><cite>信息校验</cite></a> |
| 21 | </span> | 22 | </span> |
| 22 | </div> | 23 | </div> |
| ... | @@ -24,7 +25,7 @@ | ... | @@ -24,7 +25,7 @@ |
| 24 | <div class="content_box"> | 25 | <div class="content_box"> |
| 25 | <div class="name_title"> | 26 | <div class="name_title"> |
| 26 | <h2>商品房</h2> | 27 | <h2>商品房</h2> |
| 27 | <p>转移登记</p> | 28 | <!-- <p>转移登记</p> --> |
| 28 | </div> | 29 | </div> |
| 29 | <div class="content_area"> | 30 | <div class="content_area"> |
| 30 | <div class="progressBar"> | 31 | <div class="progressBar"> |
| ... | @@ -38,33 +39,33 @@ | ... | @@ -38,33 +39,33 @@ |
| 38 | <form class="layui-form" action=""> | 39 | <form class="layui-form" action=""> |
| 39 | <div class="layui-form-item"> | 40 | <div class="layui-form-item"> |
| 40 | <div class="layui-inline"> | 41 | <div class="layui-inline"> |
| 41 | <label class="layui-form-label">权利人</label> | 42 | <label id="sqrlx">权利人</label> |
| 42 | <div class="layui-input-block"> | 43 | <label id="sqrxm">张*某</label> |
| 43 | <input type="text" name="title" required lay-verify="title" placeholder="请输权利人" | 44 | </div> |
| 44 | class="layui-input"> | 45 | <div class="layui-inline"> |
| 45 | </div> | 46 | <label>证件种类:</label> |
| 47 | <label id="zjzl">身份证</label> | ||
| 46 | </div> | 48 | </div> |
| 47 | <div class="layui-inline"> | 49 | <div class="layui-inline"> |
| 48 | <label class="layui-form-label">身份证</label> | 50 | <label>证件号码:</label> |
| 49 | <div class="layui-input-block"> | 51 | <label id="zjhm">610100********3411</label> |
| 50 | <input type="text" name="idcard" required lay-verify="identity" placeholder="请输身份证" | ||
| 51 | class="layui-input"> | ||
| 52 | </div> | ||
| 53 | </div> | 52 | </div> |
| 54 | </div> | 53 | </div> |
| 55 | 54 | <div class="layui-form-item"> | |
| 56 | <div class="layui-form-item record_con"> | 55 | <div style="float: left;width: 220px;"> |
| 57 | <label class="layui-form-label">合同备案号</label> | 56 | <select id="bdcqzType" lay-verify="required" lay-filter="xmFilter"> |
| 58 | <div class="layui-input-block record"> | 57 | </select> |
| 59 | <input type="text" name="record" required lay-verify="record" placeholder="请输合同备案号" | 58 | </div> |
| 60 | class="layui-input"> | 59 | <div style="float: left;width: 300px;"> |
| 60 | <input type="text" name="record" required lay-verify="record" class="layui-input"> | ||
| 61 | </div> | 61 | </div> |
| 62 | </div> | 62 | </div> |
| 63 | 63 | ||
| 64 | <div class="layui-form-item submitbutton_con"> | 64 | <div class="layui-form-item submitbutton_con"> |
| 65 | <div class="layui-input-block submitbutton"> | 65 | <div class="layui-input-block submitbutton"> |
| 66 | <button type="reset" class="layui-btn layui-btn-primary reset">重 置</button> | 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="" lay-filter="demo1">查 | 67 | <button type="submit" class="layui-btn layui-btn-normal submit" lay-submit="" |
| 68 | lay-filter="demo1">查 | ||
| 68 | 询</button> | 69 | 询</button> |
| 69 | </div> | 70 | </div> |
| 70 | </div> | 71 | </div> |
| ... | @@ -73,42 +74,8 @@ | ... | @@ -73,42 +74,8 @@ |
| 73 | </div> | 74 | </div> |
| 74 | </div> | 75 | </div> |
| 75 | </body> | 76 | </body> |
| 76 | <script type="text/javascript" src="../staticJs/common.js"></script> | 77 | <script type="text/javascript" src="../../staticJs/common.js"></script> |
| 77 | <script type="text/javascript" src="../staticJs/down.js"></script> | 78 | <script type="text/javascript" src="../../staticJs/onlineApply/workFlow.js"></script> |
| 78 | <script type="text/javascript" src="../staticJs/esf-xxjy.js"></script> | 79 | <script type="text/javascript" src="../../staticJs/onlineApply/bdcqlCheck.js"></script> |
| 79 | <script id="progress" type="text/html"> | 80 | <script type="text/javascript" src="../../staticJs/down.js"></script> |
| 80 | {{# layui.each(d.progressList, function(index, item){ }} | ||
| 81 | {{# if(item.stepState==2){ }} | ||
| 82 | <li class="item_proress"> | ||
| 83 | <p class="active"></p> | ||
| 84 | <h5>{{item.stepname}}</h5> | ||
| 85 | </li> | ||
| 86 | <li class="layui-progress"> | ||
| 87 | <div class="layui-progress-bar" lay-percent="100%"></div> | ||
| 88 | </li> | ||
| 89 | {{# } }} | ||
| 90 | {{# if(item.stepState==1){ }} | ||
| 91 | <li class="item_proress"> | ||
| 92 | <p class="activeing"></p> | ||
| 93 | <h5 class="activeingtext">{{item.stepname}}</h5> | ||
| 94 | </li> | ||
| 95 | {{# if(index!=(d.progressList.length-1)){ }} | ||
| 96 | <li class="layui-progress"> | ||
| 97 | <div class="layui-progress-bar" lay-percent="50%"></div> | ||
| 98 | </li> | ||
| 99 | {{# } }} | ||
| 100 | {{# } }} | ||
| 101 | {{# if(item.stepState==0){ }} | ||
| 102 | <li class="item_proress"> | ||
| 103 | <p></p> | ||
| 104 | <h5>{{item.stepname}}</h5> | ||
| 105 | </li> | ||
| 106 | {{# if(index!=(d.progressList.length-1)){ }} | ||
| 107 | <li class="layui-progress"> | ||
| 108 | <div class="layui-progress-bar" lay-percent="0%"></div> | ||
| 109 | </li> | ||
| 110 | {{# } }} | ||
| 111 | {{# } }} | ||
| 112 | {{# }); }} | ||
| 113 | </script> | ||
| 114 | </html> | 81 | </html> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -7,17 +7,17 @@ | ... | @@ -7,17 +7,17 @@ |
| 7 | </style> | 7 | </style> |
| 8 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 8 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 9 | <title>立即办理-填报信息</title> | 9 | <title>立即办理-填报信息</title> |
| 10 | <script type="text/javascript" src="../staticJs/head.js"></script> | 10 | <script type="text/javascript" src="../../staticJs/head.js"></script> |
| 11 | <link rel="stylesheet" type="text/css" href="../staticCss/yysq.css"> | 11 | <link rel="stylesheet" type="text/css" href="../../staticCss/yysq.css"> |
| 12 | <link rel="stylesheet" type="text/css" href="../staticCss/progress.css"> | 12 | <link rel="stylesheet" type="text/css" href="../../staticCss/progress.css"> |
| 13 | </head> | 13 | </head> |
| 14 | 14 | ||
| 15 | <body> | 15 | <body> |
| 16 | <div class="navigation_crumbs"> | 16 | <div class="navigation_crumbs"> |
| 17 | <div class="contentBox"> | 17 | <div class="contentBox"> |
| 18 | <span class="layui-breadcrumb"> | 18 | <span class="layui-breadcrumb"> |
| 19 | <a href="../../index.html">首页</a> | 19 | <a href="../../../index.html">首页</a> |
| 20 | <a href="./wssq.html">网上申请</a> | 20 | <a href="../../wssq.html">网上申请</a> |
| 21 | <a><cite>填报信息</cite></a> | 21 | <a><cite>填报信息</cite></a> |
| 22 | </span> | 22 | </span> |
| 23 | </div> | 23 | </div> |
| ... | @@ -118,7 +118,7 @@ | ... | @@ -118,7 +118,7 @@ |
| 118 | <div class="fileSpan vm"> | 118 | <div class="fileSpan vm"> |
| 119 | <input type="file" multiple id="fileInput" /> | 119 | <input type="file" multiple id="fileInput" /> |
| 120 | <div class="file_name"> | 120 | <div class="file_name"> |
| 121 | <img class="update" src="../staticImages/update.png"> | 121 | <img class="update" src="../../staticImages/update.png"> |
| 122 | <p class="updatetext">点击文件上传</p> | 122 | <p class="updatetext">点击文件上传</p> |
| 123 | </div> | 123 | </div> |
| 124 | <div class="fileListName"></div> | 124 | <div class="fileListName"></div> |
| ... | @@ -132,7 +132,7 @@ | ... | @@ -132,7 +132,7 @@ |
| 132 | <div class="fileSpan vm"> | 132 | <div class="fileSpan vm"> |
| 133 | <input type="file" multiple id="fileInput1" /> | 133 | <input type="file" multiple id="fileInput1" /> |
| 134 | <div class="file_name"> | 134 | <div class="file_name"> |
| 135 | <img class="update" src="../staticImages/update.png"> | 135 | <img class="update" src="../../staticImages/update.png"> |
| 136 | <p class="updatetext">点击文件上传</p> | 136 | <p class="updatetext">点击文件上传</p> |
| 137 | </div> | 137 | </div> |
| 138 | <div class="fileListName1"></div> | 138 | <div class="fileListName1"></div> |
| ... | @@ -147,7 +147,7 @@ | ... | @@ -147,7 +147,7 @@ |
| 147 | <div class="fileSpan vm"> | 147 | <div class="fileSpan vm"> |
| 148 | <input type="file" multiple id="fileInput3" /> | 148 | <input type="file" multiple id="fileInput3" /> |
| 149 | <div class="file_name"> | 149 | <div class="file_name"> |
| 150 | <img class="update" src="../staticImages/update.png"> | 150 | <img class="update" src="../../staticImages/update.png"> |
| 151 | <p class="updatetext">点击文件上传</p> | 151 | <p class="updatetext">点击文件上传</p> |
| 152 | </div> | 152 | </div> |
| 153 | <div class="fileListName3"></div> | 153 | <div class="fileListName3"></div> |
| ... | @@ -158,59 +158,22 @@ | ... | @@ -158,59 +158,22 @@ |
| 158 | </div> | 158 | </div> |
| 159 | </div> | 159 | </div> |
| 160 | <div class="next_button submitButton"> | 160 | <div class="next_button submitButton"> |
| 161 | <button type="button" class="layui-btn layui-btn-normal"> | 161 | <button type="button" class="layui-btn layui-btn-normal" onclick="skipClick()"> |
| 162 | <a href="./wshs.html"> | 162 | 下一步 |
| 163 | 下一步 | ||
| 164 | </a> | ||
| 165 | </button> | 163 | </button> |
| 166 | </div> | 164 | </div> |
| 167 | </div> | 165 | </div> |
| 168 | </div> | 166 | </div> |
| 169 | </body> | 167 | </body> |
| 170 | <script type="text/javascript" src="../staticJs/common.js"></script> | 168 | <script type="text/javascript" src="../../staticJs/common.js"></script> |
| 171 | <script type="text/javascript" src="../staticJs/down.js"></script> | 169 | <script type="text/javascript" src="../../staticJs/onlineApply/workFlow.js"></script> |
| 172 | <script type="text/javascript" src="../staticJs/esf-tbxx.js"></script> | 170 | <script type="text/javascript" src="../../staticJs/onlineApply/houseFill.js"></script> |
| 173 | <script type="text/javascript" src="../staticJs/imageUpdate.js"></script> | 171 | <script type="text/javascript" src="../../staticJs/imageUpdate.js"></script> |
| 174 | <script type="text/javascript" src="../staticJs/imageUpdate1.js"></script> | 172 | <script type="text/javascript" src="../../staticJs/imageUpdate1.js"></script> |
| 175 | <script type="text/javascript" src="../staticJs/imageUpdate3.js"></script> | 173 | <script type="text/javascript" src="../../staticJs/imageUpdate3.js"></script> |
| 176 | <script type="text/javascript" src="../staticJs/city-picker.js"></script> | 174 | <script type="text/javascript" src="../../staticJs/city-picker.js"></script> |
| 175 | <script type="text/javascript" src="../../staticJs/down.js"></script> | ||
| 177 | <script type="text/html" id="barDemo"> | 176 | <script type="text/html" id="barDemo"> |
| 178 | <i class="layui-icon layui-icon-reduce-circle" lay-event="edit"></i> | 177 | <i class="layui-icon layui-icon-reduce-circle" lay-event="edit"></i> |
| 179 | </script> | 178 | </script> |
| 180 | <script id="progress" type="text/html"> | ||
| 181 | {{# layui.each(d.progressList, function(index, item){ }} | ||
| 182 | {{# if(item.stepState==2){ }} | ||
| 183 | <li class="item_proress"> | ||
| 184 | <p class="active"></p> | ||
| 185 | <h5>{{item.stepName}}</h5> | ||
| 186 | </li> | ||
| 187 | <li class="layui-progress"> | ||
| 188 | <div class="layui-progress-bar" lay-percent="100%"></div> | ||
| 189 | </li> | ||
| 190 | {{# } }} | ||
| 191 | {{# if(item.stepState==1){ }} | ||
| 192 | <li class="item_proress"> | ||
| 193 | <p class="activeing"></p> | ||
| 194 | <h5 class="activeingtext">{{item.stepName}}</h5> | ||
| 195 | </li> | ||
| 196 | {{# if(index!=(d.progressList.length-1)){ }} | ||
| 197 | <li class="layui-progress"> | ||
| 198 | <div class="layui-progress-bar" lay-percent="50%"></div> | ||
| 199 | </li> | ||
| 200 | {{# } }} | ||
| 201 | {{# } }} | ||
| 202 | {{# if(item.stepState==0){ }} | ||
| 203 | <li class="item_proress"> | ||
| 204 | <p></p> | ||
| 205 | <h5>{{item.stepName}}</h5> | ||
| 206 | </li> | ||
| 207 | {{# if(index!=(d.progressList.length-1)){ }} | ||
| 208 | <li class="layui-progress"> | ||
| 209 | <div class="layui-progress-bar" lay-percent="0%"></div> | ||
| 210 | </li> | ||
| 211 | {{# } }} | ||
| 212 | {{# } }} | ||
| 213 | {{# }); }} | ||
| 214 | </script> | ||
| 215 | |||
| 216 | </html> | 179 | </html> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -85,6 +85,7 @@ | ... | @@ -85,6 +85,7 @@ |
| 85 | </body> | 85 | </body> |
| 86 | <script type="text/javascript" src="../staticJs/down.js"></script> | 86 | <script type="text/javascript" src="../staticJs/down.js"></script> |
| 87 | <script type="text/javascript" src="../staticJs/common.js"></script> | 87 | <script type="text/javascript" src="../staticJs/common.js"></script> |
| 88 | <script type="text/javascript" src="../staticJs/onlineApply/workFlow.js"></script> | ||
| 88 | <script type="text/javascript" src="../staticJs/city-picker.js"></script> | 89 | <script type="text/javascript" src="../staticJs/city-picker.js"></script> |
| 89 | <script type="text/javascript" src="../staticJs/wssq.js"></script> | 90 | <script type="text/javascript" src="../staticJs/wssq.js"></script> |
| 90 | <!-- 及时办结 --> | 91 | <!-- 及时办结 --> | ... | ... |
-
Please register or sign in to post a comment