c8810a1b by zhaoqian

提交后点击查询信息

1 parent 67dd7292
......@@ -209,6 +209,7 @@
import Qlxz from "../../../components/formMenu/qlxz_simple";
import {saveDzInfo,getBdcdyh,getDzDetailByBsm} from "../../../api/dz";
import {getQjZdjbxxDetailById} from "../../../api/zd"
import {submit} from "../../../api/common"
export default {
name:'zrz',
components:{
......@@ -416,6 +417,17 @@
},
onSubmit(){
console.log(this.form)
let data={
glbsm:this.bsm,
status:1,
type:"dz"
}
submit(data).then((res)=>{
if(res.code===200){
this.$message.success("提交完成!");
this.getDzDetailByBsm(this.$route.query.bsm)
}
})
},
getZddm(zdbsm){
getQjZdjbxxDetailById(zdbsm).then((res)=>{
......
......@@ -591,6 +591,7 @@ export default {
submit(data).then((res)=>{
if(res.code===200){
this.$message.success("提交完成!")
this.getZdjbxxData(this.$store.state.zdbsm);
}
})
},
......
......@@ -432,7 +432,8 @@
}
submit(data).then((res)=>{
if(res.code===200){
this.$message.success("提交完成!")
this.$message.success("提交完成!");
this.getZrzDetailByBsm(this.$route.query.bsm)
}
})
},
......