xuncharenwu

This commit is contained in:
shilixia 2021-05-07 09:52:38 +08:00
parent 1f2c9f1278
commit c8cd6681f9
1 changed files with 2 additions and 2 deletions

View File

@ -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) => {