Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sts网站
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyang
sts网站
Commits
b35f708c
Commit
b35f708c
authored
Sep 05, 2021
by
linzh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正单词拼写错误
parent
0e615072
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1742 additions
and
1742 deletions
+1742
-1742
day.vue
ruoyi-ui/src/components/Crontab/day.vue
+179
-179
index.vue
ruoyi-ui/src/components/Crontab/index.vue
+425
-425
month.vue
ruoyi-ui/src/components/Crontab/month.vue
+128
-128
result.vue
ruoyi-ui/src/components/Crontab/result.vue
+566
-566
second.vue
ruoyi-ui/src/components/Crontab/second.vue
+133
-133
week.vue
ruoyi-ui/src/components/Crontab/week.vue
+167
-167
year.vue
ruoyi-ui/src/components/Crontab/year.vue
+144
-144
No files found.
ruoyi-ui/src/components/Crontab/day.vue
View file @
b35f708c
...
@@ -75,7 +75,7 @@ export default {
...
@@ -75,7 +75,7 @@ export default {
if
(
this
.
radioValue
===
1
)
{
if
(
this
.
radioValue
===
1
)
{
this
.
$emit
(
'update'
,
'day'
,
'*'
,
'day'
);
this
.
$emit
(
'update'
,
'day'
,
'*'
,
'day'
);
this
.
$emit
(
'update'
,
'week'
,
'?'
,
'day'
);
this
.
$emit
(
'update'
,
'week'
,
'?'
,
'day'
);
this
.
$emit
(
'update'
,
'mo
uth'
,
'*'
,
'day'
);
this
.
$emit
(
'update'
,
'mo
nth'
,
'*'
,
'day'
);
}
else
{
}
else
{
if
(
this
.
cron
.
hour
===
'*'
)
{
if
(
this
.
cron
.
hour
===
'*'
)
{
this
.
$emit
(
'update'
,
'hour'
,
'0'
,
'day'
);
this
.
$emit
(
'update'
,
'hour'
,
'0'
,
'day'
);
...
...
ruoyi-ui/src/components/Crontab/index.vue
View file @
b35f708c
This diff is collapsed.
Click to expand it.
ruoyi-ui/src/components/Crontab/mo
u
th.vue
→
ruoyi-ui/src/components/Crontab/mo
n
th.vue
View file @
b35f708c
...
@@ -46,56 +46,56 @@ export default {
...
@@ -46,56 +46,56 @@ export default {
checkNum
:
this
.
check
checkNum
:
this
.
check
}
}
},
},
name
:
'crontab-mo
uth'
,
name
:
'crontab-mo
nth'
,
props
:
[
'check'
,
'cron'
],
props
:
[
'check'
,
'cron'
],
methods
:
{
methods
:
{
// 单选按钮值变化时
// 单选按钮值变化时
radioChange
()
{
radioChange
()
{
if
(
this
.
radioValue
===
1
)
{
if
(
this
.
radioValue
===
1
)
{
this
.
$emit
(
'update'
,
'mo
uth'
,
'*'
);
this
.
$emit
(
'update'
,
'mo
nth'
,
'*'
);
this
.
$emit
(
'update'
,
'year'
,
'*'
);
this
.
$emit
(
'update'
,
'year'
,
'*'
);
}
else
{
}
else
{
if
(
this
.
cron
.
day
===
'*'
)
{
if
(
this
.
cron
.
day
===
'*'
)
{
this
.
$emit
(
'update'
,
'day'
,
'0'
,
'mo
uth'
);
this
.
$emit
(
'update'
,
'day'
,
'0'
,
'mo
nth'
);
}
}
if
(
this
.
cron
.
hour
===
'*'
)
{
if
(
this
.
cron
.
hour
===
'*'
)
{
this
.
$emit
(
'update'
,
'hour'
,
'0'
,
'mo
uth'
);
this
.
$emit
(
'update'
,
'hour'
,
'0'
,
'mo
nth'
);
}
}
if
(
this
.
cron
.
min
===
'*'
)
{
if
(
this
.
cron
.
min
===
'*'
)
{
this
.
$emit
(
'update'
,
'min'
,
'0'
,
'mo
uth'
);
this
.
$emit
(
'update'
,
'min'
,
'0'
,
'mo
nth'
);
}
}
if
(
this
.
cron
.
second
===
'*'
)
{
if
(
this
.
cron
.
second
===
'*'
)
{
this
.
$emit
(
'update'
,
'second'
,
'0'
,
'mo
uth'
);
this
.
$emit
(
'update'
,
'second'
,
'0'
,
'mo
nth'
);
}
}
}
}
switch
(
this
.
radioValue
)
{
switch
(
this
.
radioValue
)
{
case
2
:
case
2
:
this
.
$emit
(
'update'
,
'mo
uth'
,
this
.
cycle01
+
'-'
+
this
.
cycle02
);
this
.
$emit
(
'update'
,
'mo
nth'
,
this
.
cycle01
+
'-'
+
this
.
cycle02
);
break
;
break
;
case
3
:
case
3
:
this
.
$emit
(
'update'
,
'mo
uth'
,
this
.
average01
+
'/'
+
this
.
average02
);
this
.
$emit
(
'update'
,
'mo
nth'
,
this
.
average01
+
'/'
+
this
.
average02
);
break
;
break
;
case
4
:
case
4
:
this
.
$emit
(
'update'
,
'mo
uth'
,
this
.
checkboxString
);
this
.
$emit
(
'update'
,
'mo
nth'
,
this
.
checkboxString
);
break
;
break
;
}
}
},
},
// 周期两个值变化时
// 周期两个值变化时
cycleChange
()
{
cycleChange
()
{
if
(
this
.
radioValue
==
'2'
)
{
if
(
this
.
radioValue
==
'2'
)
{
this
.
$emit
(
'update'
,
'mo
uth'
,
this
.
cycleTotal
);
this
.
$emit
(
'update'
,
'mo
nth'
,
this
.
cycleTotal
);
}
}
},
},
// 平均两个值变化时
// 平均两个值变化时
averageChange
()
{
averageChange
()
{
if
(
this
.
radioValue
==
'3'
)
{
if
(
this
.
radioValue
==
'3'
)
{
this
.
$emit
(
'update'
,
'mo
uth'
,
this
.
averageTotal
);
this
.
$emit
(
'update'
,
'mo
nth'
,
this
.
averageTotal
);
}
}
},
},
// checkbox值变化时
// checkbox值变化时
checkboxChange
()
{
checkboxChange
()
{
if
(
this
.
radioValue
==
'4'
)
{
if
(
this
.
radioValue
==
'4'
)
{
this
.
$emit
(
'update'
,
'mo
uth'
,
this
.
checkboxString
);
this
.
$emit
(
'update'
,
'mo
nth'
,
this
.
checkboxString
);
}
}
}
}
},
},
...
...
ruoyi-ui/src/components/Crontab/result.vue
View file @
b35f708c
This diff is collapsed.
Click to expand it.
ruoyi-ui/src/components/Crontab/second.vue
View file @
b35f708c
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
}
}
},
},
othChange
()
{
othChange
()
{
//
反解析
//
反解析
let
ins
=
this
.
cron
.
second
let
ins
=
this
.
cron
.
second
(
'反解析 second'
,
ins
);
(
'反解析 second'
,
ins
);
if
(
ins
===
'*'
)
{
if
(
ins
===
'*'
)
{
...
...
ruoyi-ui/src/components/Crontab/week.vue
View file @
b35f708c
...
@@ -71,8 +71,8 @@ export default {
...
@@ -71,8 +71,8 @@ export default {
this
.
$emit
(
'update'
,
'week'
,
'*'
);
this
.
$emit
(
'update'
,
'week'
,
'*'
);
this
.
$emit
(
'update'
,
'year'
,
'*'
);
this
.
$emit
(
'update'
,
'year'
,
'*'
);
}
else
{
}
else
{
if
(
this
.
cron
.
mo
uth
===
'*'
)
{
if
(
this
.
cron
.
mo
nth
===
'*'
)
{
this
.
$emit
(
'update'
,
'mo
uth'
,
'0'
,
'week'
);
this
.
$emit
(
'update'
,
'mo
nth'
,
'0'
,
'week'
);
}
}
if
(
this
.
cron
.
day
===
'*'
)
{
if
(
this
.
cron
.
day
===
'*'
)
{
this
.
$emit
(
'update'
,
'day'
,
'0'
,
'week'
);
this
.
$emit
(
'update'
,
'day'
,
'0'
,
'week'
);
...
...
ruoyi-ui/src/components/Crontab/year.vue
View file @
b35f708c
...
@@ -55,12 +55,12 @@ export default {
...
@@ -55,12 +55,12 @@ export default {
}
}
},
},
name
:
'crontab-year'
,
name
:
'crontab-year'
,
props
:
[
'check'
,
'mo
uth'
,
'cron'
],
props
:
[
'check'
,
'mo
nth'
,
'cron'
],
methods
:
{
methods
:
{
// 单选按钮值变化时
// 单选按钮值变化时
radioChange
()
{
radioChange
()
{
if
(
this
.
cron
.
mo
uth
===
'*'
)
{
if
(
this
.
cron
.
mo
nth
===
'*'
)
{
this
.
$emit
(
'update'
,
'mo
uth'
,
'0'
,
'year'
);
this
.
$emit
(
'update'
,
'mo
nth'
,
'0'
,
'year'
);
}
}
if
(
this
.
cron
.
day
===
'*'
)
{
if
(
this
.
cron
.
day
===
'*'
)
{
this
.
$emit
(
'update'
,
'day'
,
'0'
,
'year'
);
this
.
$emit
(
'update'
,
'day'
,
'0'
,
'year'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment