xuncharenwu
This commit is contained in:
parent
1f2c9f1278
commit
c8cd6681f9
|
@ -279,7 +279,7 @@ export default {
|
||||||
},
|
},
|
||||||
//子任务信息
|
//子任务信息
|
||||||
getsubinspecttasklist(){
|
getsubinspecttasklist(){
|
||||||
getsubinspecttasklist({pageoff:true,inpecttask:this.$route.params.inpecttask}).then((res)=>{
|
getsubinspecttasklist({pageoff:true,inspecttask:this.$route.params.inpecttask}).then((res)=>{
|
||||||
this.subinsecttask=res.data;
|
this.subinsecttask=res.data;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -311,7 +311,7 @@ export default {
|
||||||
this.$confirm("确认发布任务吗?", "提示")
|
this.$confirm("确认发布任务吗?", "提示")
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
await starttask(this.task.id);
|
await starttask(this.task.id);
|
||||||
location.reload();
|
this.getsubinspecttasklist();
|
||||||
this.$message.success("成功");
|
this.$message.success("成功");
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|
Loading…
Reference in New Issue