840abffc by 田浩浩
2 parents 0ca0258d d8289368
......@@ -89,6 +89,7 @@
width: 190px;
float: left;
margin-right: 2%;
min-height: 564px;
}
.office_halls h2 {
font-weight: 600;
......
......@@ -418,6 +418,16 @@ input[type='file'] {
line-height: 23px;
}
.acceptance li{
width: 33%!important;
}
#titleCertificate {
width: 50%!important;
}
#titleCertificate span {
width: 112px!important;
}
.pic {
width: 240px;
height: 240px;
......
......@@ -74,7 +74,7 @@ $(function () {
})
// 点击注册的时候
$(document).on('click', '#registerButton', function () {
window.open(`${localhostPaht}/staticViews/register.html`, '_self')
window.open(''+localhostPaht+'/staticViews/register.html', '_self')
});
function clicklogin(data) {
$.ajax({
......
var list;
var houseInfo;
$(function () {
layui.use('element', function () {
layui.use('element', function () {
let element = layui.element;
});
});
$(function () {
addTabs('#wssq')
setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
list = getApplyRecord(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
// 房屋信息
houseInfo = getFDCQ2(GetQueryString('bsm_slsq'));
console.log(list , houseInfo);
console.log(list);
$('#typesPower p').text(list.qllxmc);
$('#businessType p').text(list.shortname);
$('#acceptanceNumber p').text(list.wwsqbh);
......@@ -45,9 +45,15 @@ $(function () {
$('#informationList').append(listItem)
}
}
// 确定按钮
if(list.ajzt!=6) {
$('#complete').append('<p>如您已经完成办理请点击确定</p>'+
'<button type="button" class="layui-btn completeAudit layui-btn-radius layui-btn-normal">确定</button>')
}
})
$('.completeAudit').click(function(){
_completeBusiness()
$(document).on("click", ".completeAudit", function (e) {
_completeBusiness();
})
// 完成办理
......@@ -64,8 +70,39 @@ function _completeBusiness() {
if (result.code == 200 ) {
layui.use('layer', function () {
layer.msg(result.message);
})
skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
});
_completePage(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
$('#complete').empty();
}
}
});
}
function _completePage(bsm_slsq, businessno) {
var nextStepIndex;
$.each(business.stepList, function (index, item) {
if (item.stepState == 1) {
nextStepIndex = index;
return;
}
});
var datajson = {
"bsmSlsq": bsm_slsq,
"businessNo": businessno,
"stepNo": business.stepList[nextStepIndex].stepno
};
//更新当前流程所处环节
$.ajax({
type: "post", //提交方式
contentType: 'application/json',
url: portal.api_url + "/portal/FillInformation/updateStepNo",//路径
dataType: "json",
async: false,
data: JSON.stringify(datajson),
//数据,这里使用的是Json格式进行传输
success: function (result) {//返回数据根据结果进行相应的处理
if (result.code == 200) {
setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
}
}
});
......
$(function () {
layui.use('element', function () {
layui.use('element', function () {
let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
});
});
$(function () {
addTabs('#wssq');
setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
//
$('.payment_channel_con li').click(function () {
setAcceptFlow(GetQueryString('bsm_slsq'), GetQueryString('businessno'));
_getSfxx(GetQueryString('bsm_slsq'));
list = getApplyRecord(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
if(list.ajzt !='4' || list.ajzt !='5') {
$('#submitButton').append('<button type="button" class="layui-btn layui-btn-normal">下一步</button>')
}
})
// layui.use('layer', function () {
// layer.open({
// type: 1,
// title: false,
// closeBtn: 0,
// shade:0,
// shadeClose: true,
// skin: 'paymentSuccess',
// btn: ['下一步'],
// yes : function() {
// skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
// },
// content: '<ul>'
// + '<li><img src="../../staticImages/xuanzhong.png"></li>'
// + '<li>支付成功</li>'
// + '<li class="info"><span>支付流水号:</span><p>9898989989</p></li>'
// + '<li class="info"><span>支付时间:</span><p>2023255-102-13</p></li>'
// + '<li class="info"><span>支付金额:</span><p>600元</p></li>'
// + '</ul>'
// });
// })
$('.payment_channel_con li').click(function () {
$('.payment_channel_con li').removeClass()
$(this).addClass('payActive')
})
$('.payment_channel_con li').click(function () {
$('.payment_channel_con li').removeClass('payActive');
$(this).addClass('payActive');
let index = $(this).index()
$('.codeShowImg').show()
if (index ==0) {
$('.codeShowImg').attr('src','../staticImages/weixinShow.png')
if (index == 0) {
$('.codeShowImg').attr('src', '../../staticImages/weixinShow.png')
$('.paymentText').text('打开手机微信')
}else {
$('.codeShowImg').attr('src','../staticImages/alipayShow.png')
} else {
$('.codeShowImg').attr('src', '../../staticImages/alipayShow.png')
$('.paymentText').text('打开手机支付宝')
}
})
// layui.use('layer', function () {
// layer.open({
// type: 1,
// title: false,
// closeBtn: 0,
// shade:0,
// shadeClose: true,
// skin: 'paymentSuccess',
// btn: ['下一步'],
// yes : function() {
// skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
// },
// content: '<ul>'
// + '<li><img src="../../staticImages/xuanzhong.png"></li>'
// + '<li>支付成功</li>'
// + '<li class="info"><span>支付流水号:</span><p>9898989989</p></li>'
// + '<li class="info"><span>支付时间:</span><p>2023255-102-13</p></li>'
// + '<li class="info"><span>支付金额:</span><p>600元</p></li>'
// + '</ul>'
// });
// })
$('.payment_channel_con li').click(function () {
$('.payment_channel_con li').removeClass()
$(this).addClass('payActive')
})
_getSfxx(GetQueryString('bsm_slsq'));
})
$('.submitButton button').click(function(){
skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
$(document).on("click", ".submitButton button", function (e) {
skipNextPage(GetQueryString('bsm_slsq'), GetQueryString('businessno'));
})
// 获取缴费信息
function _getSfxx(bsm_slsq) {
......@@ -62,7 +64,7 @@ function _getSfxx(bsm_slsq) {
success: function (result) {//返回数据根据结果进行相应的处理
if (result.code == 200 && result.data != null) {
for (var i = 0; i < result.data.length; i++) {
$('.paymentDetails').append('<h6>'+result.data[i].sfkm+''+result.data[i].ysje+'元 </h6>');
$('.paymentDetails').append('<h6>' + result.data[i].sfkm + '' + result.data[i].ysje + '元 </h6>');
}
}
}
......
......@@ -105,10 +105,10 @@ function NoticeData() {
li = '<li class="item_notice"><a href="./staticViews/ggxq.html?id='+result.data[i].id+'" title="' + result.data[i].title + '" target="_blank">';
li += '<p>' + result.data[i].title + '</P>';
if (result.data[i].noticeType == 1) {
li += '<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongonggao1"></use> </svg>';
li += '<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongongshi"></use> </svg>';
}
else {
li += '<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongongshi"></use> </svg>';
li += '<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongonggao1"></use> </svg>';
}
li += '</a></li>';
ulTag.append(li);
......
......@@ -8,7 +8,8 @@ $(function () {
addTabs('#news');
});
//加载新闻列表数据
function LoadNewsData(currentPage = 1) {
function LoadNewsData(currentPage) {
var currentPage = currentPage || 1;
$.ajax({
type: "get", //提交方式
url: portal.api_url + "/portal/MhNews/getNewsArticleList",//路径
......@@ -19,7 +20,7 @@ function LoadNewsData(currentPage = 1) {
async: false,
dataType: "json",
//数据,这里使用的是Json格式进行传输
success: function (result) {//返回数据根据结果进行相应的处理
success: function (result) {
data.total = result.data.total;
if (result.code == 200 && result.data != null) {
data.list = result.data.records;
......@@ -30,8 +31,8 @@ function LoadNewsData(currentPage = 1) {
, view = document.getElementById('ulNews');
laytpl(getTpl).render(data, function (html) {
view.innerHTML = html;
});
});
})
})
}
})
}
......
No preview for this file type
......@@ -57,9 +57,7 @@
</p>
</li>
</ul>
<div class="complete">
<p>如您已经完成办理请点击确定</p>
<button type="button" class="layui-btn completeAudit layui-btn-radius layui-btn-normal">确定</button>
<div class="complete" id="complete">
</div>
</div>
<!-- ------------受理信息-------------- -->
......
......@@ -35,7 +35,7 @@
<!-- 受理情况 -->
<div class="acceptance_information">
<h3>受理情况</h3>
<ul>
<ul class="acceptance">
<li id="11">
<span>登记业务名称:</span>
......@@ -146,7 +146,7 @@
<!-- 受理情况 -->
<div class="acceptance_information">
<h3>网签合同情况</h3>
<ul>
<ul class="acceptance">
<li id="recordNo">
<span>合同备案号:</span>
<p>YS000000000001</p>
......
......@@ -95,9 +95,7 @@
</div>
</div>
<div class="submitButton">
<button type="button" class="layui-btn layui-btn-normal">下一步</button>
</div>
<div class="submitButton" id="submitButton"></div>
</div>
</div>
<!-- ------------------支付成功----------------- -->
......
......@@ -50,12 +50,9 @@
<a class="left-top" title=" {{ item.headline }}" href='./xwxq.html?id={{item.id}}' target="_blank">
{{ item.headline }}
</a>
<a class="xw" href='./xwxq.html?id="{{item.id}}"' target="_blank">
<a class="xw" href='./xwxq.html?id={{item.id}}' target="_blank">
<div class="xw-left">
{{# if(item.cover == null){ }}
<img src="../staticImages/news_demo.jpg">
{{# } }}
{{# if(item.cover != null){ }}
{{# if(item.cover != null ){ }}
<img src="{{ item.cover }}">
{{# } }}
</div>
......