From 8a62368141a93ee7d8fd53e3d88414904ab5eb3d Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 01 六月 2020 13:40:01 +0800 Subject: [PATCH] 同步若依2.3版本 --- ruoyi-ui/src/views/monitor/job/index.vue | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/ruoyi-ui/src/views/monitor/job/index.vue b/ruoyi-ui/src/views/monitor/job/index.vue index 52ef7b7..c5f2f40 100644 --- a/ruoyi-ui/src/views/monitor/job/index.vue +++ b/ruoyi-ui/src/views/monitor/job/index.vue @@ -132,7 +132,7 @@ /> <!-- 娣诲姞鎴栦慨鏀瑰畾鏃朵换鍔″璇濇 --> - <el-dialog :title="title" :visible.sync="open" width="700px"> + <el-dialog :title="title" :visible.sync="open" width="700px" append-to-body> <el-form ref="form" :model="form" :rules="rules" label-width="100px"> <el-row> <el-col :span="12"> @@ -210,7 +210,7 @@ </el-dialog> <!-- 浠诲姟鏃ュ織璇︾粏 --> - <el-dialog title="浠诲姟璇︾粏" :visible.sync="openView" width="700px"> + <el-dialog title="浠诲姟璇︾粏" :visible.sync="openView" width="700px" append-to-body> <el-form ref="form" :model="form" label-width="120px" size="mini"> <el-row> <el-col :span="12"> @@ -397,7 +397,7 @@ type: "warning" }).then(function() { return runJob(row.jobId, row.jobGroup); - }).then(function() { + }).then(() => { this.msgSuccess("鎵ц鎴愬姛"); }).catch(function() {}); }, @@ -438,8 +438,6 @@ this.msgSuccess("淇敼鎴愬姛"); this.open = false; this.getList(); - } else { - this.msgError(response.msg); } }); } else { @@ -448,8 +446,6 @@ this.msgSuccess("鏂板鎴愬姛"); this.open = false; this.getList(); - } else { - this.msgError(response.msg); } }); } @@ -485,4 +481,4 @@ } } }; -</script> \ No newline at end of file +</script> -- Gitblit v1.9.3