From 6361e4efdc94935fa95ecf04e99b114f0aefbe32 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Fri, 3 Sep 2021 09:54:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=9C=A8=E7=BA=BF=E7=94=9F=E6=88=90cron=E8=A1=A8?= =?UTF-8?q?=E8=BE=BE=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/assets/styles/ruoyi.scss | 9 +- ruoyi-ui/src/components/Crontab/day.vue | 179 +++++++ ruoyi-ui/src/components/Crontab/hour.vue | 122 +++++ ruoyi-ui/src/components/Crontab/index.vue | 425 ++++++++++++++++ ruoyi-ui/src/components/Crontab/min.vue | 120 +++++ ruoyi-ui/src/components/Crontab/mouth.vue | 128 +++++ ruoyi-ui/src/components/Crontab/result.vue | 566 +++++++++++++++++++++ ruoyi-ui/src/components/Crontab/second.vue | 133 +++++ ruoyi-ui/src/components/Crontab/week.vue | 167 ++++++ ruoyi-ui/src/components/Crontab/year.vue | 144 ++++++ ruoyi-ui/src/views/monitor/job/index.vue | 50 +- 11 files changed, 2030 insertions(+), 13 deletions(-) create mode 100644 ruoyi-ui/src/components/Crontab/day.vue create mode 100644 ruoyi-ui/src/components/Crontab/hour.vue create mode 100644 ruoyi-ui/src/components/Crontab/index.vue create mode 100644 ruoyi-ui/src/components/Crontab/min.vue create mode 100644 ruoyi-ui/src/components/Crontab/mouth.vue create mode 100644 ruoyi-ui/src/components/Crontab/result.vue create mode 100644 ruoyi-ui/src/components/Crontab/second.vue create mode 100644 ruoyi-ui/src/components/Crontab/week.vue create mode 100644 ruoyi-ui/src/components/Crontab/year.vue diff --git a/ruoyi-ui/src/assets/styles/ruoyi.scss b/ruoyi-ui/src/assets/styles/ruoyi.scss index 5927b6c..1c67f38 100644 --- a/ruoyi-ui/src/assets/styles/ruoyi.scss +++ b/ruoyi-ui/src/assets/styles/ruoyi.scss @@ -60,10 +60,17 @@ color: inherit; } -.el-dialog:not(.is-fullscreen){ +.el-dialog:not(.is-fullscreen) { margin-top: 6vh !important; } +.el-dialog .el-dialog__body { + overflow: auto; + overflow-x: hidden; + max-height: 70vh; + padding: 10px 20px 0; +} + .el-table { .el-table__header-wrapper, .el-table__fixed-header-wrapper { th { diff --git a/ruoyi-ui/src/components/Crontab/day.vue b/ruoyi-ui/src/components/Crontab/day.vue new file mode 100644 index 0000000..7f0a3d2 --- /dev/null +++ b/ruoyi-ui/src/components/Crontab/day.vue @@ -0,0 +1,179 @@ + + + \ No newline at end of file diff --git a/ruoyi-ui/src/components/Crontab/hour.vue b/ruoyi-ui/src/components/Crontab/hour.vue new file mode 100644 index 0000000..5a1e146 --- /dev/null +++ b/ruoyi-ui/src/components/Crontab/hour.vue @@ -0,0 +1,122 @@ + + + \ No newline at end of file diff --git a/ruoyi-ui/src/components/Crontab/index.vue b/ruoyi-ui/src/components/Crontab/index.vue new file mode 100644 index 0000000..c1d08f6 --- /dev/null +++ b/ruoyi-ui/src/components/Crontab/index.vue @@ -0,0 +1,425 @@ + + + + diff --git a/ruoyi-ui/src/components/Crontab/min.vue b/ruoyi-ui/src/components/Crontab/min.vue new file mode 100644 index 0000000..980c4e7 --- /dev/null +++ b/ruoyi-ui/src/components/Crontab/min.vue @@ -0,0 +1,120 @@ + + + \ No newline at end of file diff --git a/ruoyi-ui/src/components/Crontab/mouth.vue b/ruoyi-ui/src/components/Crontab/mouth.vue new file mode 100644 index 0000000..4e2c8a7 --- /dev/null +++ b/ruoyi-ui/src/components/Crontab/mouth.vue @@ -0,0 +1,128 @@ + + + \ No newline at end of file diff --git a/ruoyi-ui/src/components/Crontab/result.vue b/ruoyi-ui/src/components/Crontab/result.vue new file mode 100644 index 0000000..3b9b6c8 --- /dev/null +++ b/ruoyi-ui/src/components/Crontab/result.vue @@ -0,0 +1,566 @@ + + + \ No newline at end of file diff --git a/ruoyi-ui/src/components/Crontab/second.vue b/ruoyi-ui/src/components/Crontab/second.vue new file mode 100644 index 0000000..20a8eb3 --- /dev/null +++ b/ruoyi-ui/src/components/Crontab/second.vue @@ -0,0 +1,133 @@ + + + \ No newline at end of file diff --git a/ruoyi-ui/src/components/Crontab/week.vue b/ruoyi-ui/src/components/Crontab/week.vue new file mode 100644 index 0000000..8a7cb6b --- /dev/null +++ b/ruoyi-ui/src/components/Crontab/week.vue @@ -0,0 +1,167 @@ + + + \ No newline at end of file diff --git a/ruoyi-ui/src/components/Crontab/year.vue b/ruoyi-ui/src/components/Crontab/year.vue new file mode 100644 index 0000000..02bcac3 --- /dev/null +++ b/ruoyi-ui/src/components/Crontab/year.vue @@ -0,0 +1,144 @@ + + + \ No newline at end of file diff --git a/ruoyi-ui/src/views/monitor/job/index.vue b/ruoyi-ui/src/views/monitor/job/index.vue index 6146633..8924226 100644 --- a/ruoyi-ui/src/views/monitor/job/index.vue +++ b/ruoyi-ui/src/views/monitor/job/index.vue @@ -156,7 +156,7 @@ /> - + @@ -192,17 +192,16 @@ - + - - - - - - - 允许 - 禁止 - + + + @@ -214,7 +213,15 @@ - + + + + 允许 + 禁止 + + + + + + + + @@ -285,8 +296,10 @@