Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
1 changed file
with
2 additions
and
9 deletions
... | @@ -202,6 +202,7 @@ export default { | ... | @@ -202,6 +202,7 @@ export default { |
202 | } | 202 | } |
203 | }, | 203 | }, |
204 | operation(index, item) { | 204 | operation(index, item) { |
205 | let that = this; | ||
205 | switch (item.value) { | 206 | switch (item.value) { |
206 | case "zsyl": | 207 | case "zsyl": |
207 | this.zsylFlag = true; | 208 | this.zsylFlag = true; |
... | @@ -243,19 +244,11 @@ export default { | ... | @@ -243,19 +244,11 @@ export default { |
243 | }) | 244 | }) |
244 | .then(function () { | 245 | .then(function () { |
245 | record(formdata).then((res) => { | 246 | record(formdata).then((res) => { |
246 | debugger; | ||
247 | if (res.code === 200 || res.code === 2002) { | 247 | if (res.code === 200 || res.code === 2002) { |
248 | this.$alert(res.message); | 248 | that.$alert(res.message); |
249 | } | 249 | } |
250 | }); | 250 | }); |
251 | }) | ||
252 | .then((data) => { | ||
253 | this.$alert("res.Message"); | ||
254 | }) | ||
255 | .catch(function (err) { | ||
256 | //捕获异常 | ||
257 | }); | 251 | }); |
258 | |||
259 | break; | 252 | break; |
260 | } | 253 | } |
261 | }, | 254 | }, | ... | ... |
-
Please register or sign in to post a comment