Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-manage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
finance-oa
finance-manage
Commits
4988b585
Commit
4988b585
authored
Sep 07, 2021
by
若依
Committed by
Gitee
Sep 07, 2021
Browse files
Options
Browse Files
Download
Plain Diff
!309 修正单词拼写错误
Merge pull request !309 from 稚屿/master
parents
0e615072
b35f708c
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1742 additions
and
1742 deletions
+1742
-1742
ruoyi-ui/src/components/Crontab/day.vue
ruoyi-ui/src/components/Crontab/day.vue
+179
-179
ruoyi-ui/src/components/Crontab/index.vue
ruoyi-ui/src/components/Crontab/index.vue
+425
-425
ruoyi-ui/src/components/Crontab/month.vue
ruoyi-ui/src/components/Crontab/month.vue
+128
-128
ruoyi-ui/src/components/Crontab/result.vue
ruoyi-ui/src/components/Crontab/result.vue
+566
-566
ruoyi-ui/src/components/Crontab/second.vue
ruoyi-ui/src/components/Crontab/second.vue
+133
-133
ruoyi-ui/src/components/Crontab/week.vue
ruoyi-ui/src/components/Crontab/week.vue
+167
-167
ruoyi-ui/src/components/Crontab/year.vue
ruoyi-ui/src/components/Crontab/year.vue
+144
-144
No files found.
ruoyi-ui/src/components/Crontab/day.vue
View file @
4988b585
...
@@ -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 @
4988b585
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 @
4988b585
...
@@ -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 @
4988b585
This diff is collapsed.
Click to expand it.
ruoyi-ui/src/components/Crontab/second.vue
View file @
4988b585
...
@@ -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 @
4988b585
...
@@ -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 @
4988b585
...
@@ -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