From 609729b91832aad1e8a1c7b16e3c0cea6fa8ba1f Mon Sep 17 00:00:00 2001
From: 钟日健 <5689795+arsn@user.noreply.gitee.com>
Date: Sat, 19 Mar 2022 13:51:09 +0800
Subject: [PATCH] 定时任务修改

---
 deploy/deploy.yml           |    2 +-
 src/views/system/quartz.vue |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/deploy/deploy.yml b/deploy/deploy.yml
index 23c0593..a1a6d41 100644
--- a/deploy/deploy.yml
+++ b/deploy/deploy.yml
@@ -25,7 +25,7 @@
         - name: aliyun  #提前在项目下配置访问阿里云的账号密码
       containers:
         # - image: $REGISTRY/$ALIYUNHUB_NAMESPACE/zhba-vue:SNAPSHOT-$BUILD_NUMBER
-        - image: registry.cn-hangzhou.aliyuncs.com/arsn/zhba-vue:SNAPSHOT-5
+        - image: registry.cn-hangzhou.aliyuncs.com/arsn/zhba-vue:SNAPSHOT-6
           imagePullPolicy: Always
           name: app
           ports:
diff --git a/src/views/system/quartz.vue b/src/views/system/quartz.vue
index 67c3130..ae10ed2 100644
--- a/src/views/system/quartz.vue
+++ b/src/views/system/quartz.vue
@@ -371,6 +371,7 @@
     },
     //任务恢复
     activateQuartz(row) {
+      row['status'] = 1;
       this.$confirm(
         "确定恢复当前任务?",
         {
@@ -413,6 +414,7 @@
     },
     //停止任务
     stopQuartz(row) {
+      row['status'] = 2;
       this.$confirm(
         "确定停止当前任务?",
         {

--
Gitblit v1.9.3