提交后点击查询信息
Showing
3 changed files
with
15 additions
and
1 deletions
... | @@ -209,6 +209,7 @@ | ... | @@ -209,6 +209,7 @@ |
209 | import Qlxz from "../../../components/formMenu/qlxz_simple"; | 209 | import Qlxz from "../../../components/formMenu/qlxz_simple"; |
210 | import {saveDzInfo,getBdcdyh,getDzDetailByBsm} from "../../../api/dz"; | 210 | import {saveDzInfo,getBdcdyh,getDzDetailByBsm} from "../../../api/dz"; |
211 | import {getQjZdjbxxDetailById} from "../../../api/zd" | 211 | import {getQjZdjbxxDetailById} from "../../../api/zd" |
212 | import {submit} from "../../../api/common" | ||
212 | export default { | 213 | export default { |
213 | name:'zrz', | 214 | name:'zrz', |
214 | components:{ | 215 | components:{ |
... | @@ -416,6 +417,17 @@ | ... | @@ -416,6 +417,17 @@ |
416 | }, | 417 | }, |
417 | onSubmit(){ | 418 | onSubmit(){ |
418 | console.log(this.form) | 419 | console.log(this.form) |
420 | let data={ | ||
421 | glbsm:this.bsm, | ||
422 | status:1, | ||
423 | type:"dz" | ||
424 | } | ||
425 | submit(data).then((res)=>{ | ||
426 | if(res.code===200){ | ||
427 | this.$message.success("提交完成!"); | ||
428 | this.getDzDetailByBsm(this.$route.query.bsm) | ||
429 | } | ||
430 | }) | ||
419 | }, | 431 | }, |
420 | getZddm(zdbsm){ | 432 | getZddm(zdbsm){ |
421 | getQjZdjbxxDetailById(zdbsm).then((res)=>{ | 433 | getQjZdjbxxDetailById(zdbsm).then((res)=>{ | ... | ... |
... | @@ -591,6 +591,7 @@ export default { | ... | @@ -591,6 +591,7 @@ export default { |
591 | submit(data).then((res)=>{ | 591 | submit(data).then((res)=>{ |
592 | if(res.code===200){ | 592 | if(res.code===200){ |
593 | this.$message.success("提交完成!") | 593 | this.$message.success("提交完成!") |
594 | this.getZdjbxxData(this.$store.state.zdbsm); | ||
594 | } | 595 | } |
595 | }) | 596 | }) |
596 | }, | 597 | }, | ... | ... |
... | @@ -432,7 +432,8 @@ | ... | @@ -432,7 +432,8 @@ |
432 | } | 432 | } |
433 | submit(data).then((res)=>{ | 433 | submit(data).then((res)=>{ |
434 | if(res.code===200){ | 434 | if(res.code===200){ |
435 | this.$message.success("提交完成!") | 435 | this.$message.success("提交完成!"); |
436 | this.getZrzDetailByBsm(this.$route.query.bsm) | ||
436 | } | 437 | } |
437 | }) | 438 | }) |
438 | }, | 439 | }, | ... | ... |
-
Please register or sign in to post a comment