d21c8d1e by 任超

style:填报信息

1 parent 62ffe4c5
......@@ -8,6 +8,7 @@ $(function () {
setAcceptFlow(GetQueryString('bsm_slsq'), GetQueryString('businessno'));
slsqxx = getApplyRecord(GetQueryString('bsm_slsq'), GetQueryString('businessno'));
LoadClxxDiv();
console.log(9999, slsqxx)
//config的设置是全局的
layui.config({
base: '../../staticJs/'
......@@ -236,8 +237,11 @@ function _saveSQR() {
});
d.userid = getCookie('myCookie').userid
sqrList.push(d)
sqrList.forEach((item, index)=> {
item.sqrlb = slsqxx.sqrlb
})
// 领证方式-邮寄地址
var addMailRecordRequest = {};
if (lzfs==2) {
var addressList = $('.addressForm').serializeArray();
......@@ -254,6 +258,7 @@ function _saveSQR() {
data: JSON.stringify({
'bsmSlsq': slsqxx.bsmSlsq,
'gyfsbm': 1,
'sqrlx': 1,
'gyfsmc': '单独所有',
'lzfs': lzfs,
'sqrList':sqrList,
......
var dataList;
$(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'));
layui.use('laytpl', function () {
laytpl = layui.laytpl;
var getTpl = document.getElementById('progress').innerHTML
, view = document.getElementById('app_progress');
laytpl(getTpl).render(data, function (html) {
view.innerHTML = html;
});
layui.use(['element'], function () {
var element = layui.element;
//初始化动态元素,一些动态生成的元素如果不设置初始化,将不会有默认的动态效果
element.init();
});
});
// 获取页面信息
dataList = getApplyRecord(GetQueryString('bsm_slsq'), GetQueryString('businessno'));
console.log(dataList)
})
//下一步事件
function skipClick(){
......
......@@ -84,7 +84,6 @@ function getApplyRecord(bsm_slsq, businessno) {
return bdc;
}
//设置步骤条信息
function setArticleSteps() {
$('.name_title h2').text(business.shortName);
......
......@@ -142,39 +142,4 @@
<script type="text/javascript" src="../../staticJs/down.js"></script>
<script type="text/javascript" src="../../staticJs/onlineApply/workFlow.js"></script>
<script type="text/javascript" src="../../staticJs/onlineApply/taxAssessment.js"></script>
<script id="progress" type="text/html">
{{# layui.each(d.progressList, function(index, item){ }}
{{# if(item.stepState==2){ }}
<li class="item_proress">
<p class="active"></p>
<h5>{{item.stepName}}</h5>
</li>
<li class="layui-progress">
<div class="layui-progress-bar" lay-percent="100%"></div>
</li>
{{# } }}
{{# if(item.stepState==1){ }}
<li class="item_proress">
<p class="activeing"></p>
<h5 class="activeingtext">{{item.stepName}}</h5>
</li>
{{# if(index!=(d.progressList.length-1)){ }}
<li class="layui-progress">
<div class="layui-progress-bar" lay-percent="50%"></div>
</li>
{{# } }}
{{# } }}
{{# if(item.stepState==0){ }}
<li class="item_proress">
<p></p>
<h5>{{item.stepName}}</h5>
</li>
{{# if(index!=(d.progressList.length-1)){ }}
<li class="layui-progress">
<div class="layui-progress-bar" lay-percent="0%"></div>
</li>
{{# } }}
{{# } }}
{{# }); }}
</script>
</html>
\ No newline at end of file
......