diff --git a/ruoyi-ui/src/components/Crontab/day.vue b/ruoyi-ui/src/components/Crontab/day.vue
index d2f67298f..901cef9f9 100644
--- a/ruoyi-ui/src/components/Crontab/day.vue
+++ b/ruoyi-ui/src/components/Crontab/day.vue
@@ -1,180 +1,184 @@
-
-
-
- 日,允许的通配符[, - * / L M]
-
-
+
+
+
+ 日,允许的通配符[, - * / L M]
+
+
-
-
- 不指定
-
-
+
+
+ 不指定
+
+
-
-
- 周期从
-
- -
-
- 日
-
-
+
+
+ 周期从
+
+ -
+
+ 日
+
+
-
-
- 从
-
- 号开始,每
-
- 日执行一次
-
-
+
+
+ 从
+
+ 号开始,每
+
+ 日执行一次
+
+
-
-
- 每月
-
- 号最近的那个工作日
-
-
+
+
+ 每月
+
+ 号最近的那个工作日
+
+
-
-
- 本月最后一天
-
-
+
+
+ 本月最后一天
+
+
-
-
- 指定
-
- {{ item }}
-
-
-
-
+
+
+ 指定
+
+ {{ item }}
+
+
+
+
diff --git a/ruoyi-ui/src/components/Crontab/hour.vue b/ruoyi-ui/src/components/Crontab/hour.vue
index 236691d12..c4bf01ca2 100644
--- a/ruoyi-ui/src/components/Crontab/hour.vue
+++ b/ruoyi-ui/src/components/Crontab/hour.vue
@@ -1,125 +1,129 @@
-
-
-
- 小时,允许的通配符[, - * /]
-
-
+
+
+
+ 小时,允许的通配符[, - * /]
+
+
-
-
- 周期从
-
- -
-
- 小时
-
-
+
+
+ 周期从
+
+ -
+
+ 小时
+
+
-
-
- 从
-
- 小时开始,每
-
- 小时执行一次
-
-
+
+
+ 从
+
+ 小时开始,每
+
+ 小时执行一次
+
+
-
-
- 指定
-
- {{ item - 1 }}
-
-
-
-
+
+
+ 指定
+
+ {{ item - 1 }}
+
+
+
+
diff --git a/ruoyi-ui/src/components/Crontab/min.vue b/ruoyi-ui/src/components/Crontab/min.vue
index 41d7bb19b..55befd0d3 100644
--- a/ruoyi-ui/src/components/Crontab/min.vue
+++ b/ruoyi-ui/src/components/Crontab/min.vue
@@ -25,7 +25,7 @@
指定
-
+
{{item-1}}
@@ -50,6 +50,9 @@ export default {
name: 'crontab-min',
props: ['check', 'cron'],
methods: {
+ selectChange() {
+ this.radioValue = 4
+ },
init() {
this.cycle01 = 1
this.cycle02 = 2
diff --git a/ruoyi-ui/src/components/Crontab/month.vue b/ruoyi-ui/src/components/Crontab/month.vue
index 1ebcb3b97..1f5f64110 100644
--- a/ruoyi-ui/src/components/Crontab/month.vue
+++ b/ruoyi-ui/src/components/Crontab/month.vue
@@ -25,7 +25,7 @@
指定
-
+
{{item}}
@@ -48,7 +48,9 @@ export default {
},
name: 'crontab-month',
props: ['check', 'cron'],
- methods: {
+ methods: { selectChange() {
+ this.radioValue = 4
+ },
init() {
this.cycle01 = 1
this.cycle02 = 2
diff --git a/ruoyi-ui/src/components/Crontab/second.vue b/ruoyi-ui/src/components/Crontab/second.vue
index 60bda69b2..b001eaeb9 100644
--- a/ruoyi-ui/src/components/Crontab/second.vue
+++ b/ruoyi-ui/src/components/Crontab/second.vue
@@ -1,54 +1,62 @@
-
-
-
- 秒,允许的通配符[, - * /]
-
-
+
+
+
+ 秒,允许的通配符[, - * /]
+
+
-
-
- 周期从
- -
- 秒
-
-
+
+
+ 周期从
+
+ -
+
+ 秒
+
+
-
-
- 从
- 秒开始,每
- 秒执行一次
-
-
+
+
+ 从
+
+ 秒开始,每
+
+ 秒执行一次
+
+
-
-
- 指定
-
- {{item-1}}
-
-
-
-
+
+
+ 指定
+
+ {{ item - 1 }}
+
+
+
+
diff --git a/ruoyi-ui/src/components/Crontab/week.vue b/ruoyi-ui/src/components/Crontab/week.vue
index fda5fa4d8..f42fb60ad 100644
--- a/ruoyi-ui/src/components/Crontab/week.vue
+++ b/ruoyi-ui/src/components/Crontab/week.vue
@@ -40,7 +40,8 @@
指定
-
+
{{ item }}
@@ -68,11 +69,16 @@ export default {
name: 'crontab-week',
props: ['check', 'cron'],
methods: {
- checkChange(data) {
+ selectChange(data) {
+ console.log(data);
+ this.radioValue = 6
this.checkboxList = []
+ this.checkboxDescribeList = []
data.forEach(value => {
- this.weekList.find((item, index) => {
- if (item === value) {
+ this.weekList.forEach((item,index) => {
+ if (index+1 === value) {
+ console.log((item));
+ this.checkboxDescribeList.push(this.weekList[index])
this.checkboxList.push(index + 1)
}
})
@@ -90,7 +96,6 @@ export default {
// 单选按钮值变化时
radioChange() {
-
switch (this.radioValue) {
case 1:
this.$emit('update', 'week', '*');