849fed7b by 任超

style:身份验证

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