683f38f2 by 杨威
2 parents a8d72516 0a581c89
......@@ -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)=>{
......
......@@ -162,7 +162,7 @@
this.$router.push({
path: path,
query: {
bsm: res.result,
bsm: row.glbsm,
source: 2
}
});
......
......@@ -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)
}
})
},
......