style:填报信息
Showing
4 changed files
with
9 additions
and
56 deletions
... | @@ -8,6 +8,7 @@ $(function () { | ... | @@ -8,6 +8,7 @@ $(function () { |
8 | setAcceptFlow(GetQueryString('bsm_slsq'), GetQueryString('businessno')); | 8 | setAcceptFlow(GetQueryString('bsm_slsq'), GetQueryString('businessno')); |
9 | slsqxx = getApplyRecord(GetQueryString('bsm_slsq'), GetQueryString('businessno')); | 9 | slsqxx = getApplyRecord(GetQueryString('bsm_slsq'), GetQueryString('businessno')); |
10 | LoadClxxDiv(); | 10 | LoadClxxDiv(); |
11 | console.log(9999, slsqxx) | ||
11 | //config的设置是全局的 | 12 | //config的设置是全局的 |
12 | layui.config({ | 13 | layui.config({ |
13 | base: '../../staticJs/' | 14 | base: '../../staticJs/' |
... | @@ -236,6 +237,9 @@ function _saveSQR() { | ... | @@ -236,6 +237,9 @@ function _saveSQR() { |
236 | }); | 237 | }); |
237 | d.userid = getCookie('myCookie').userid | 238 | d.userid = getCookie('myCookie').userid |
238 | sqrList.push(d) | 239 | sqrList.push(d) |
240 | sqrList.forEach((item, index)=> { | ||
241 | item.sqrlb = slsqxx.sqrlb | ||
242 | }) | ||
239 | // 领证方式-邮寄地址 | 243 | // 领证方式-邮寄地址 |
240 | 244 | ||
241 | var addMailRecordRequest = {}; | 245 | var addMailRecordRequest = {}; |
... | @@ -254,6 +258,7 @@ function _saveSQR() { | ... | @@ -254,6 +258,7 @@ function _saveSQR() { |
254 | data: JSON.stringify({ | 258 | data: JSON.stringify({ |
255 | 'bsmSlsq': slsqxx.bsmSlsq, | 259 | 'bsmSlsq': slsqxx.bsmSlsq, |
256 | 'gyfsbm': 1, | 260 | 'gyfsbm': 1, |
261 | 'sqrlx': 1, | ||
257 | 'gyfsmc': '单独所有', | 262 | 'gyfsmc': '单独所有', |
258 | 'lzfs': lzfs, | 263 | 'lzfs': lzfs, |
259 | 'sqrList':sqrList, | 264 | 'sqrList':sqrList, | ... | ... |
1 | var dataList; | ||
1 | $(function () { | 2 | $(function () { |
2 | layui.use('element', function () { | 3 | layui.use('element', function () { |
3 | let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 | ||
4 | //监听导航点击 | ||
5 | element.on('nav(demo)', function (elem) { | ||
6 | layer.msg(elem.text()); | ||
7 | }); | ||
8 | }); | 4 | }); |
9 | addTabs('#wssq') | 5 | addTabs('#wssq') |
10 | setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno')); | 6 | setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno')); |
11 | 7 | // 获取页面信息 | |
12 | layui.use('laytpl', function () { | 8 | dataList = getApplyRecord(GetQueryString('bsm_slsq'), GetQueryString('businessno')); |
13 | laytpl = layui.laytpl; | 9 | console.log(dataList) |
14 | var getTpl = document.getElementById('progress').innerHTML | ||
15 | , view = document.getElementById('app_progress'); | ||
16 | laytpl(getTpl).render(data, function (html) { | ||
17 | view.innerHTML = html; | ||
18 | }); | ||
19 | |||
20 | layui.use(['element'], function () { | ||
21 | var element = layui.element; | ||
22 | //初始化动态元素,一些动态生成的元素如果不设置初始化,将不会有默认的动态效果 | ||
23 | element.init(); | ||
24 | }); | ||
25 | }); | ||
26 | }) | 10 | }) |
27 | //下一步事件 | 11 | //下一步事件 |
28 | function skipClick(){ | 12 | function skipClick(){ | ... | ... |
... | @@ -84,7 +84,6 @@ function getApplyRecord(bsm_slsq, businessno) { | ... | @@ -84,7 +84,6 @@ function getApplyRecord(bsm_slsq, businessno) { |
84 | return bdc; | 84 | return bdc; |
85 | } | 85 | } |
86 | 86 | ||
87 | |||
88 | //设置步骤条信息 | 87 | //设置步骤条信息 |
89 | function setArticleSteps() { | 88 | function setArticleSteps() { |
90 | $('.name_title h2').text(business.shortName); | 89 | $('.name_title h2').text(business.shortName); | ... | ... |
... | @@ -142,39 +142,4 @@ | ... | @@ -142,39 +142,4 @@ |
142 | <script type="text/javascript" src="../../staticJs/down.js"></script> | 142 | <script type="text/javascript" src="../../staticJs/down.js"></script> |
143 | <script type="text/javascript" src="../../staticJs/onlineApply/workFlow.js"></script> | 143 | <script type="text/javascript" src="../../staticJs/onlineApply/workFlow.js"></script> |
144 | <script type="text/javascript" src="../../staticJs/onlineApply/taxAssessment.js"></script> | 144 | <script type="text/javascript" src="../../staticJs/onlineApply/taxAssessment.js"></script> |
145 | <script id="progress" type="text/html"> | ||
146 | {{# layui.each(d.progressList, function(index, item){ }} | ||
147 | {{# if(item.stepState==2){ }} | ||
148 | <li class="item_proress"> | ||
149 | <p class="active"></p> | ||
150 | <h5>{{item.stepName}}</h5> | ||
151 | </li> | ||
152 | <li class="layui-progress"> | ||
153 | <div class="layui-progress-bar" lay-percent="100%"></div> | ||
154 | </li> | ||
155 | {{# } }} | ||
156 | {{# if(item.stepState==1){ }} | ||
157 | <li class="item_proress"> | ||
158 | <p class="activeing"></p> | ||
159 | <h5 class="activeingtext">{{item.stepName}}</h5> | ||
160 | </li> | ||
161 | {{# if(index!=(d.progressList.length-1)){ }} | ||
162 | <li class="layui-progress"> | ||
163 | <div class="layui-progress-bar" lay-percent="50%"></div> | ||
164 | </li> | ||
165 | {{# } }} | ||
166 | {{# } }} | ||
167 | {{# if(item.stepState==0){ }} | ||
168 | <li class="item_proress"> | ||
169 | <p></p> | ||
170 | <h5>{{item.stepName}}</h5> | ||
171 | </li> | ||
172 | {{# if(index!=(d.progressList.length-1)){ }} | ||
173 | <li class="layui-progress"> | ||
174 | <div class="layui-progress-bar" lay-percent="0%"></div> | ||
175 | </li> | ||
176 | {{# } }} | ||
177 | {{# } }} | ||
178 | {{# }); }} | ||
179 | </script> | ||
180 | </html> | 145 | </html> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment