849fed7b by 任超

style:身份验证

1 parent f4cc47ed
...@@ -22,8 +22,6 @@ $(function () { ...@@ -22,8 +22,6 @@ $(function () {
22 var listItem; 22 var listItem;
23 let userInfo = []; 23 let userInfo = [];
24 userInfo.push(getCookie('myCookie')); 24 userInfo.push(getCookie('myCookie'));
25
26 console.log(userInfo)
27 if(list.sqrList && list.sqrList.length>0) { 25 if(list.sqrList && list.sqrList.length>0) {
28 for (var i = 0; i < list.sqrList.length; i++) { 26 for (var i = 0; i < list.sqrList.length; i++) {
29 listItem = '<li>' 27 listItem = '<li>'
...@@ -48,3 +46,27 @@ $(function () { ...@@ -48,3 +46,27 @@ $(function () {
48 } 46 }
49 } 47 }
50 }) 48 })
49 $('.completeAudit').click(function(){
50 _completeBusiness()
51 })
52
53 // 完成办理
54 function _completeBusiness() {
55 $.ajax({
56 type: "post", //提交方式
57 url: portal.api_url + "/portal/ApplyBusinessService/completeBusiness",//路径
58 dataType: "json",
59 data:{
60 'bsmSlsq': GetQueryString('bsm_slsq')
61 },
62 //数据,这里使用的是Json格式进行传输
63 success: function (result) {//返回数据根据结果进行相应的处理
64 if (result.code == 200 ) {
65 layui.use('layer', function () {
66 layer.msg(result.message);
67 })
68 skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
69 }
70 }
71 });
72 }
...\ No newline at end of file ...\ No newline at end of file
......
1 layui.use('element', function () {
2 let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
3 });
1 var list; 4 var list;
2 var houseInfo; 5 var houseInfo;
3 $(function () { 6 $(function () {
4 layui.use('element', function () {
5 let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
6 //监听导航点击
7 element.on('nav(demo)', function (elem) {
8 layer.msg(elem.text());
9 });
10 });
11 addTabs('#wssq') 7 addTabs('#wssq')
12 setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno')); 8 setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
13 list = getApplyRecord(GetQueryString('bsm_slsq'),GetQueryString('businessno')); 9 list = getApplyRecord(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
......
...@@ -52,7 +52,8 @@ function _SFYz() { ...@@ -52,7 +52,8 @@ function _SFYz() {
52 async: false, 52 async: false,
53 data: JSON.stringify({ 53 data: JSON.stringify({
54 "dhhm": $('#phone').val(), 54 "dhhm": $('#phone').val(),
55 "yzm": $('#code').val() 55 "yzm": $('#code').val(),
56 "bsmSlsq": GetQueryString('bsm_slsq')
56 }), 57 }),
57 //数据,这里使用的是Json格式进行传输 58 //数据,这里使用的是Json格式进行传输
58 success: function (result) {//返回数据根据结果进行相应的处理 59 success: function (result) {//返回数据根据结果进行相应的处理
......
...@@ -88,6 +88,7 @@ function getApplyRecord(bsm_slsq, businessno) { ...@@ -88,6 +88,7 @@ function getApplyRecord(bsm_slsq, businessno) {
88 function setArticleSteps() { 88 function setArticleSteps() {
89 $('.name_title h2').text(business.shortName); 89 $('.name_title h2').text(business.shortName);
90 var ArticleContent = $("#app_progress"); 90 var ArticleContent = $("#app_progress");
91 ArticleContent.empty();
91 $.each(business.stepList, function (index, item) { 92 $.each(business.stepList, function (index, item) {
92 switch (item.stepState) { 93 switch (item.stepState) {
93 case 0: 94 case 0:
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
59 </ul> 59 </ul>
60 <div class="complete"> 60 <div class="complete">
61 <p>如您已经完成办理请点击确定</p> 61 <p>如您已经完成办理请点击确定</p>
62 <button type="button" class="layui-btn layui-btn-radius layui-btn-normal">确定</button> 62 <button type="button" class="layui-btn completeAudit layui-btn-radius layui-btn-normal">确定</button>
63 </div> 63 </div>
64 </div> 64 </div>
65 <!-- ------------受理信息-------------- --> 65 <!-- ------------受理信息-------------- -->
...@@ -82,9 +82,7 @@ ...@@ -82,9 +82,7 @@
82 </li> 82 </li>
83 <li id="dateAcceptance"> 83 <li id="dateAcceptance">
84 <span>受理日期:</span> 84 <span>受理日期:</span>
85 <p> 85 <p></p>
86 2023-5-9
87 </p>
88 </li> 86 </li>
89 </ul> 87 </ul>
90 </div> 88 </div>
......