style:办事指南
Showing
2 changed files
with
2 additions
and
24 deletions
... | @@ -181,7 +181,7 @@ function _listBusinessIdsByBsznId(id) { | ... | @@ -181,7 +181,7 @@ function _listBusinessIdsByBsznId(id) { |
181 | success: function (result) {//返回数据根据结果进行相应的处理 | 181 | success: function (result) {//返回数据根据结果进行相应的处理 |
182 | if (result.code == 200 && result.data != null) { | 182 | if (result.code == 200 && result.data != null) { |
183 | if(result.data.length==1) { | 183 | if(result.data.length==1) { |
184 | _getFQFBusinessFlow(result.data[0]) | 184 | createBusinesseFlow(result.data[0]) |
185 | }else { | 185 | }else { |
186 | window.open('./wssq.html', "_self") | 186 | window.open('./wssq.html', "_self") |
187 | } | 187 | } |
... | @@ -190,27 +190,6 @@ function _listBusinessIdsByBsznId(id) { | ... | @@ -190,27 +190,6 @@ function _listBusinessIdsByBsznId(id) { |
190 | }); | 190 | }); |
191 | } | 191 | } |
192 | 192 | ||
193 | // /portal/ApplyBusinessService/getFQFBusinessFlow获取发起方业务流程信息 | ||
194 | function _getFQFBusinessFlow(id) { | ||
195 | $.ajax({ | ||
196 | type: "post", //提交方式 | ||
197 | url: portal.api_url + "/portal/ApplyBusinessService/getFQFBusinessFlow",//路径 | ||
198 | dataType: "json", | ||
199 | data: { | ||
200 | 'ywid':id | ||
201 | }, | ||
202 | //数据,这里使用的是Json格式进行传输 | ||
203 | success: function (result) {//返回数据根据结果进行相应的处理 | ||
204 | if (result.code == 200 && result.data != null) { | ||
205 | console.log(result.data) | ||
206 | // getInitiateFLow($(this).attr("ywid"),$(this).attr("businessNo")); | ||
207 | getInitiateFLow(id,result.data.businessNo); | ||
208 | } | ||
209 | } | ||
210 | }); | ||
211 | } | ||
212 | |||
213 | |||
214 | 193 | ||
215 | var data = { //数据 | 194 | var data = { //数据 |
216 | "list": [], | 195 | "list": [], | ... | ... |
... | @@ -27,8 +27,7 @@ function loadBusinessConfig(ywid) { | ... | @@ -27,8 +27,7 @@ function loadBusinessConfig(ywid) { |
27 | dataType: "json", | 27 | dataType: "json", |
28 | async: false, | 28 | async: false, |
29 | data: { | 29 | data: { |
30 | "ywid": ywid, | 30 | "ywid": ywid |
31 | "businessNo": businessno | ||
32 | }, | 31 | }, |
33 | //数据,这里使用的是Json格式进行传输 | 32 | //数据,这里使用的是Json格式进行传输 |
34 | success: function (result) {//返回数据根据结果进行相应的处理 | 33 | success: function (result) {//返回数据根据结果进行相应的处理 | ... | ... |
-
Please register or sign in to post a comment