86f11914 by 焦小希
2 parents d4e69f28 1ba396d8
Pipeline #22 for 86f11914 failed in 0 seconds
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
168 .layui-layer-btn { 168 .layui-layer-btn {
169 position: relative; 169 position: relative;
170 top: 50px; 170 top: 50px;
171 left: -89px; 171 left: -153px;
172 } 172 }
173 .layui-layer-btn0 { 173 .layui-layer-btn0 {
174 width: 120px!important; 174 width: 120px!important;
......
...@@ -156,6 +156,16 @@ ...@@ -156,6 +156,16 @@
156 margin-top: 26px; 156 margin-top: 26px;
157 cursor: pointer; 157 cursor: pointer;
158 } 158 }
159 .delete {
160 color: red;
161 float: right;
162 cursor: pointer;
163 margin-left: 20px;
164 margin-top: 26px;
165 }
166 .delete:hover {
167 color: red;
168 }
159 .handle:hover { 169 .handle:hover {
160 color: #0091FF; 170 color: #0091FF;
161 } 171 }
......
...@@ -4,7 +4,7 @@ $(function () { ...@@ -4,7 +4,7 @@ $(function () {
4 let element = layui.element; 4 let element = layui.element;
5 }); 5 });
6 addTabs('#wssq'); 6 addTabs('#wssq');
7 setFristStepPageFLow(GetQueryString('ywid')); 7 setFristStepPageFLow(GetQueryString('ywid'), GetQueryString('businessno'));
8 // 业务 8 // 业务
9 layui.use(['form'], function () { 9 layui.use(['form'], function () {
10 var form = layui.form 10 var form = layui.form
......
...@@ -3,40 +3,7 @@ $(function () { ...@@ -3,40 +3,7 @@ $(function () {
3 let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 3 let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
4 }); 4 });
5 addTabs('#wssq') 5 addTabs('#wssq')
6 // 业务 6 setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
7 // 业务
8 var data = {
9 'progressList': [
10 {
11 stepName: "信息效验",
12 stepState: 2 //0:未办理 1:正在办理 2:已办理
13 },
14 {
15 stepName: "填报信息",
16 stepState: 2
17 },
18 {
19 stepName: "完税核税",
20 stepState: 2
21 },
22 {
23 stepName: "身份认证",
24 stepState: 1
25 },
26 {
27 stepName: "资料审核",
28 stepState: 0
29 },
30 {
31 stepName: "线上缴费",
32 stepState: 0
33 },
34 {
35 stepName: "生成电子证书",
36 stepState: 0
37 }
38 ],
39 }
40 7
41 layui.use('laytpl', function () { 8 layui.use('laytpl', function () {
42 laytpl = layui.laytpl; 9 laytpl = layui.laytpl;
...@@ -70,3 +37,7 @@ function take_snapshot() { ...@@ -70,3 +37,7 @@ function take_snapshot() {
70 '<img src="' + data_uri + '"/>'; 37 '<img src="' + data_uri + '"/>';
71 }); 38 });
72 } 39 }
40 //下一步事件
41 function skipClick(){
42 skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
43 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -7,40 +7,7 @@ $(function () { ...@@ -7,40 +7,7 @@ $(function () {
7 }); 7 });
8 }); 8 });
9 addTabs('#wssq') 9 addTabs('#wssq')
10 // 业务 10 setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
11 // 进度条
12 var data = {
13 'progressList': [
14 {
15 stepName: "信息效验",
16 stepState: 2 //0:未办理 1:正在办理 2:已办理
17 },
18 {
19 stepName: "填报信息",
20 stepState: 2
21 },
22 {
23 stepName: "完税核税",
24 stepState: 1
25 },
26 {
27 stepName: "身份认证",
28 stepState: 0
29 },
30 {
31 stepName: "资料审核",
32 stepState: 0
33 },
34 {
35 stepName: "线上缴费",
36 stepState: 0
37 },
38 {
39 stepName: "生成电子证书",
40 stepState: 0
41 }
42 ],
43 }
44 11
45 layui.use('laytpl', function () { 12 layui.use('laytpl', function () {
46 laytpl = layui.laytpl; 13 laytpl = layui.laytpl;
...@@ -57,3 +24,7 @@ $(function () { ...@@ -57,3 +24,7 @@ $(function () {
57 }); 24 });
58 }); 25 });
59 }) 26 })
27 //下一步事件
28 function skipClick(){
29 skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
30 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -7,7 +7,8 @@ function getBusinessConfig(ywid, businessno) { ...@@ -7,7 +7,8 @@ function getBusinessConfig(ywid, businessno) {
7 dataType: "json", 7 dataType: "json",
8 async: false, 8 async: false,
9 data: { 9 data: {
10 "ywid": ywid 10 "ywid": ywid,
11 "businessNo": businessno
11 }, 12 },
12 //数据,这里使用的是Json格式进行传输 13 //数据,这里使用的是Json格式进行传输
13 success: function (result) {//返回数据根据结果进行相应的处理 14 success: function (result) {//返回数据根据结果进行相应的处理
...@@ -88,8 +89,8 @@ function getWorkBoxFLow(bsm_slsq, businessno) { ...@@ -88,8 +89,8 @@ function getWorkBoxFLow(bsm_slsq, businessno) {
88 89
89 90
90 //设置首环节页面相关内容 91 //设置首环节页面相关内容
91 function setFristStepPageFLow(ywid) { 92 function setFristStepPageFLow(ywid, businessno) {
92 getBusinessConfig(ywid); 93 getBusinessConfig(ywid, businessno);
93 setArticleSteps(); 94 setArticleSteps();
94 } 95 }
95 96
......
...@@ -13,28 +13,62 @@ $(function () { ...@@ -13,28 +13,62 @@ $(function () {
13 $('.business_titleList li a').removeClass('itemTitleActive') 13 $('.business_titleList li a').removeClass('itemTitleActive')
14 $(this).addClass('itemTitleActive') 14 $(this).addClass('itemTitleActive')
15 let dataId = ($(this).attr('data-id')) 15 let dataId = ($(this).attr('data-id'))
16 if(dataId=='1') { 16 if (dataId == '1') {
17 _applyBusinessRecord() 17 _applyBusinessRecord()
18 dataRendering(dataList.list) 18 dataRendering(dataList.list)
19 }else if (dataId=='2') { 19 } else if (dataId == '2') {
20 _applyBusinessWiat() 20 _applyBusinessWiat()
21 dataRendering(dataList.list) 21 dataRendering(dataList.list)
22 }else if (dataId=='3') { 22 } else if (dataId == '3') {
23 _applyBusinessIn() 23 _applyBusinessIn()
24 dataRendering(dataList.list) 24 dataRendering(dataList.list)
25 }else if (dataId=='6') { 25 } else if (dataId == '6') {
26 _applyBusinessEnd() 26 _applyBusinessEnd()
27 dataRendering(dataList.list) 27 dataRendering(dataList.list)
28 } 28 }
29 }) 29 })
30 30
31 $(document).on("click", ".appintmentList li", function (e) { 31 $(document).on("click", ".appintmentList li .handle", function () {
32 let businessNo = $(this).attr('data-businessNo'); 32 let businessNo = $(this).attr('data-businessNo');
33 let slsqBsm = $(this).attr('data-slsqBsm'); 33 let slsqBsm = $(this).attr('data-slsqBsm');
34 getWorkBoxFLow(slsqBsm, businessNo) 34 getWorkBoxFLow(slsqBsm, businessNo)
35 }) 35 })
36 // 业务列表操作
37
38 $(document).on("click", ".delete", function () {
39 let slsqBsm = $(this).attr('slsqBsm')
40 layui.use('layer', function () {
41 var layer = layui.layer;
42 layer.confirm('此操作将删除业务是否继续?', {
43 scrollbar: false,
44 btn: ['是', '否'] //按钮
45 }, function () {
46 _listDel(slsqBsm)
47 }, function () {
48 layer.closeAll();
49 });
50 });
51 })
36 }) 52 })
37 53
54 // 列表操作
55
56 function _listDel(slsqBsm) {
57 $.ajax({
58 type: "delete", //提交方式
59 url: portal.api_url + "/portal/FillInformation/deleteSlsqBybsmSlsq?bsmSlsq="+slsqBsm,//路径
60 dataType: "json",
61 //数据,这里使用的是Json格式进行传输
62 success: function (result) {//返回数据根据结果进行相应的处理
63 if (result.code == 200) {
64 layer.msg('操作成功!');
65 _applyBusinessRecord()
66 dataRendering(dataList.list)
67 }
68 }
69 });
70 }
71
38 72
39 //网上申请业务待提交 73 //网上申请业务待提交
40 function _applyBusinessWiat(currentPage = 1) { 74 function _applyBusinessWiat(currentPage = 1) {
...@@ -50,7 +84,7 @@ function _applyBusinessWiat(currentPage = 1) { ...@@ -50,7 +84,7 @@ function _applyBusinessWiat(currentPage = 1) {
50 }, 84 },
51 //数据,这里使用的是Json格式进行传输 85 //数据,这里使用的是Json格式进行传输
52 success: function (result) {//返回数据根据结果进行相应的处理 86 success: function (result) {//返回数据根据结果进行相应的处理
53 $('.appintmentList').empty(); 87 $('.appintmentList').empty();
54 if (result.code == 200 && result.data != null) { 88 if (result.code == 200 && result.data != null) {
55 dataList.list = result.data.records 89 dataList.list = result.data.records
56 dataRendering() 90 dataRendering()
...@@ -73,7 +107,7 @@ function _applyBusinessIn(currentPage = 1) { ...@@ -73,7 +107,7 @@ function _applyBusinessIn(currentPage = 1) {
73 }, 107 },
74 //数据,这里使用的是Json格式进行传输 108 //数据,这里使用的是Json格式进行传输
75 success: function (result) {//返回数据根据结果进行相应的处理 109 success: function (result) {//返回数据根据结果进行相应的处理
76 $('.appintmentList').empty(); 110 $('.appintmentList').empty();
77 if (result.code == 200 && result.data != null) { 111 if (result.code == 200 && result.data != null) {
78 dataList.list = result.data.records 112 dataList.list = result.data.records
79 dataRendering() 113 dataRendering()
...@@ -97,7 +131,7 @@ function _applyBusinessEnd(currentPage = 1) { ...@@ -97,7 +131,7 @@ function _applyBusinessEnd(currentPage = 1) {
97 }, 131 },
98 //数据,这里使用的是Json格式进行传输 132 //数据,这里使用的是Json格式进行传输
99 success: function (result) {//返回数据根据结果进行相应的处理 133 success: function (result) {//返回数据根据结果进行相应的处理
100 $('.appintmentList').empty(); 134 $('.appintmentList').empty();
101 if (result.code == 200 && result.data != null) { 135 if (result.code == 200 && result.data != null) {
102 dataList.list = result.data.records 136 dataList.list = result.data.records
103 dataRendering() 137 dataRendering()
...@@ -121,12 +155,12 @@ function _applyBusinessRecord(currentPage = 1) { ...@@ -121,12 +155,12 @@ function _applyBusinessRecord(currentPage = 1) {
121 }, 155 },
122 //数据,这里使用的是Json格式进行传输 156 //数据,这里使用的是Json格式进行传输
123 success: function (result) {//返回数据根据结果进行相应的处理 157 success: function (result) {//返回数据根据结果进行相应的处理
124 $('.appintmentList').empty(); 158 $('.appintmentList').empty();
125 if (result.code == 200 && result.data != null) { 159 if (result.code == 200 && result.data != null) {
126 dataList.list = result.data.records 160 dataList.list = result.data.records
127 dataRendering() 161 dataRendering()
128 } 162 }
129 paged(result.data.total, result.data.current ); 163 paged(result.data.total, result.data.current);
130 } 164 }
131 }); 165 });
132 } 166 }
...@@ -135,7 +169,7 @@ function _applyBusinessRecord(currentPage = 1) { ...@@ -135,7 +169,7 @@ function _applyBusinessRecord(currentPage = 1) {
135 function _applyBusinessAJZTCount() { 169 function _applyBusinessAJZTCount() {
136 $.ajax({ 170 $.ajax({
137 type: "get", //提交方式 171 type: "get", //提交方式
138 url: portal.api_url + "/portal/WorkBoxService/applyBusinessAJZTCount?userId="+dataList.userid,//路径 172 url: portal.api_url + "/portal/WorkBoxService/applyBusinessAJZTCount?userId=" + dataList.userid,//路径
139 dataType: "json", 173 dataType: "json",
140 //数据,这里使用的是Json格式进行传输 174 //数据,这里使用的是Json格式进行传输
141 success: function (result) {//返回数据根据结果进行相应的处理 175 success: function (result) {//返回数据根据结果进行相应的处理
...@@ -173,7 +207,7 @@ function paged(pageCount, curr) { ...@@ -173,7 +207,7 @@ function paged(pageCount, curr) {
173 207
174 // 列表数据渲染 208 // 列表数据渲染
175 209
176 function dataRendering () { 210 function dataRendering() {
177 for (var i = 0; i < dataList.list.length; i++) { 211 for (var i = 0; i < dataList.list.length; i++) {
178 li = '<li data-slsqBsm="' + dataList.list[i].slsqBsm + '" data-businessNo="' + dataList.list[i].businessNo + '">'; 212 li = '<li data-slsqBsm="' + dataList.list[i].slsqBsm + '" data-businessNo="' + dataList.list[i].businessNo + '">';
179 if (dataList.list[i].ajzt == '1') { 213 if (dataList.list[i].ajzt == '1') {
...@@ -209,16 +243,17 @@ function dataRendering () { ...@@ -209,16 +243,17 @@ function dataRendering () {
209 li += '<p>办理时间</p>' 243 li += '<p>办理时间</p>'
210 li += '<p>' + dataList.list[i].sqrq + '</p>' 244 li += '<p>' + dataList.list[i].sqrq + '</p>'
211 li += '</div>' 245 li += '</div>'
246 li += '<a slsqBsm="'+dataList.list[i].slsqBsm+'" class="delete">删除</a>'
212 if (dataList.list[i].ajzt == '1') { 247 if (dataList.list[i].ajzt == '1') {
213 li += '<a class="handle">继续办理</a>' 248 li += '<a class="handle">继续办理</a>'
214 } else if (dataList.list[i].ajzt == '3') { 249 } else if (dataList.list[i].ajzt == '3') {
215 li += '<a class="handle">缴费</a>' 250 li += '<a slsqBsm="'+dataList.list[i].slsqBsm+'" class="handle">缴费</a>'
216 } 251 }
217 $('.appintmentList').append(li) 252 $('.appintmentList').append(li)
218 } 253 }
219 } 254 }
220 255
221 var dataList = { 256 var dataList = {
222 "list": [], 257 "list": [],
223 "userid":'0026609ddc6d2afabaa3c9b0ea3b0ec3' 258 "userid": '0026609ddc6d2afabaa3c9b0ea3b0ec3'
224 }; 259 };
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
7 </style> 7 </style>
8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9 <title>立即办理-资料审核</title> 9 <title>立即办理-资料审核</title>
10 <script type="text/javascript" src="../staticJs/head.js"></script> 10 <script type="text/javascript" src="../../staticJs/head.js"></script>
11 <link rel="stylesheet" type="text/css" href="../staticCss/progress.css"> 11 <link rel="stylesheet" type="text/css" href="../../staticCss/progress.css">
12 <link rel="stylesheet" type="text/css" href="../staticCss/zlsh.css"> 12 <link rel="stylesheet" type="text/css" href="../../staticCss/zlsh.css">
13 </head> 13 </head>
14 14
15 <body> 15 <body>
...@@ -165,9 +165,9 @@ ...@@ -165,9 +165,9 @@
165 </div> 165 </div>
166 </div> 166 </div>
167 </body> 167 </body>
168 <script type="text/javascript" src="../staticJs/common.js"></script> 168 <script type="text/javascript" src="../../staticJs/common.js"></script>
169 <script type="text/javascript" src="../staticJs/down.js"></script> 169 <script type="text/javascript" src="../../staticJs/down.js"></script>
170 <script type="text/javascript" src="../staticJs/zlsh.js"></script> 170 <script type="text/javascript" src="../../staticJs/onlineApply/dataReview.js"></script>
171 <script id="progress" type="text/html"> 171 <script id="progress" type="text/html">
172 {{# layui.each(d.progressList, function(index, item){ }} 172 {{# layui.each(d.progressList, function(index, item){ }}
173 {{# if(item.stepState==2){ }} 173 {{# if(item.stepState==2){ }}
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
7 </style> 7 </style>
8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9 <title>立即办理-身份认证</title> 9 <title>立即办理-身份认证</title>
10 <script type="text/javascript" src="../staticJs/head.js"></script> 10 <script type="text/javascript" src="../../staticJs/head.js"></script>
11 <link rel="stylesheet" type="text/css" href="../staticCss/progress.css"> 11 <link rel="stylesheet" type="text/css" href="../../staticCss/progress.css">
12 <link rel="stylesheet" type="text/css" href="../staticCss/sfrz.css"> 12 <link rel="stylesheet" type="text/css" href="../../staticCss/sfrz.css">
13 </head> 13 </head>
14 14
15 <body> 15 <body>
...@@ -46,16 +46,18 @@ ...@@ -46,16 +46,18 @@
46 </div> 46 </div>
47 <div class="next_button"> 47 <div class="next_button">
48 <button type="button" class="layui-btn layui-btn-normal"> 48 <button type="button" class="layui-btn layui-btn-normal">
49 <a href="./zlsh.html">下一步</a> 49 <a onclick="skipClick()">下一步</a>
50 </button> 50 </button>
51 </div> 51 </div>
52 </div> 52 </div>
53 </div> 53 </div>
54 </body> 54 </body>
55 <script type="text/javascript" src="../staticJs/common.js"></script> 55 <script type="text/javascript" src="../../staticJs/common.js"></script>
56 <script type="text/javascript" src="../staticJs/down.js"></script> 56 <script type="text/javascript" src="../../staticJs/down.js"></script>
57 <script type="text/javascript" src="../staticJs/jquery.webcam.min.js"></script> 57 <script type="text/javascript" src="../../staticJs/jquery.webcam.min.js"></script>
58 <script type="text/javascript" src="../staticJs/sfrz.js"></script> 58 <script type="text/javascript" src="../../staticJs/onlineApply/workFlow.js"></script>
59 +88
60 <script type="text/javascript" src="../../staticJs/onlineApply/identityAuthentication.js"></script>
59 <script id="progress" type="text/html"> 61 <script id="progress" type="text/html">
60 {{# layui.each(d.progressList, function(index, item){ }} 62 {{# layui.each(d.progressList, function(index, item){ }}
61 {{# if(item.stepState==2){ }} 63 {{# if(item.stepState==2){ }}
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
7 </style> 7 </style>
8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9 <title>立即办理-完税核税</title> 9 <title>立即办理-完税核税</title>
10 <script type="text/javascript" src="../staticJs/head.js"></script> 10 <script type="text/javascript" src="../../staticJs/head.js"></script>
11 <link rel="stylesheet" type="text/css" href="../staticCss/progress.css"> 11 <link rel="stylesheet" type="text/css" href="../../staticCss/progress.css">
12 <link rel="stylesheet" type="text/css" href="../staticCss/yyws.css"> 12 <link rel="stylesheet" type="text/css" href="../../staticCss/yyws.css">
13 </head> 13 </head>
14 14
15 <body> 15 <body>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
36 <div class="query_results"> 36 <div class="query_results">
37 <div class="success_info"> 37 <div class="success_info">
38 <h2> 38 <h2>
39 <img src="../staticImages/xuanzhong.png" /> 39 <img src="../../staticImages/xuanzhong.png" />
40 温馨提示:完税校验通过! 40 温馨提示:完税校验通过!
41 </h2> 41 </h2>
42 </div> 42 </div>
...@@ -132,15 +132,16 @@ ...@@ -132,15 +132,16 @@
132 </div> 132 </div>
133 <div class="next_button"> 133 <div class="next_button">
134 <button type="button" class="layui-btn layui-btn-normal"> 134 <button type="button" class="layui-btn layui-btn-normal">
135 <a href="./sfrz.html">下一步</a> 135 <a onclick="skipClick()">下一步</a>
136 </button> 136 </button>
137 </div> 137 </div>
138 </div> 138 </div>
139 </div> 139 </div>
140 </body> 140 </body>
141 <script type="text/javascript" src="../staticJs/common.js"></script> 141 <script type="text/javascript" src="../../staticJs/common.js"></script>
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/yyws.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 id="progress" type="text/html"> 145 <script id="progress" type="text/html">
145 {{# layui.each(d.progressList, function(index, item){ }} 146 {{# layui.each(d.progressList, function(index, item){ }}
146 {{# if(item.stepState==2){ }} 147 {{# if(item.stepState==2){ }}
......