From 642512aa915466c6e7b7a835972a501299040ef3 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Fri, 3 Sep 2021 09:53:26 +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 5927b6c91..1c67f38fa 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 000000000..9a38a1ca9 --- /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 000000000..50833fc19 --- /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 000000000..629bad7a7 --- /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 000000000..bd12ab597 --- /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 000000000..7d0e0c84a --- /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 000000000..0e75b9ee2 --- /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 000000000..0776e7597 --- /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 000000000..cb4c542ba --- /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 000000000..8cb886f76 --- /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 f6f0966ea..62f4e1ae9 100644 --- a/ruoyi-ui/src/views/monitor/job/index.vue +++ b/ruoyi-ui/src/views/monitor/job/index.vue @@ -155,7 +155,7 @@ /> - + @@ -191,17 +191,16 @@ - + - - - - - - - 允许 - 禁止 - + + + @@ -213,7 +212,15 @@ - + + + + 允许 + 禁止 + + + + + + + + @@ -284,8 +295,10 @@