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
b35f708c
Commit
b35f708c
authored
Sep 05, 2021
by
linzh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正单词拼写错误
parent
0e615072
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 @
b35f708c
...
...
@@ -75,7 +75,7 @@ export default {
if
(
this
.
radioValue
===
1
)
{
this
.
$emit
(
'
update
'
,
'
day
'
,
'
*
'
,
'
day
'
);
this
.
$emit
(
'
update
'
,
'
week
'
,
'
?
'
,
'
day
'
);
this
.
$emit
(
'
update
'
,
'
mo
uth
'
,
'
*
'
,
'
day
'
);
this
.
$emit
(
'
update
'
,
'
mo
nth
'
,
'
*
'
,
'
day
'
);
}
else
{
if
(
this
.
cron
.
hour
===
'
*
'
)
{
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 {
checkNum
:
this
.
check
}
},
name
:
'
crontab-mo
uth
'
,
name
:
'
crontab-mo
nth
'
,
props
:
[
'
check
'
,
'
cron
'
],
methods
:
{
// 单选按钮值变化时
radioChange
()
{
if
(
this
.
radioValue
===
1
)
{
this
.
$emit
(
'
update
'
,
'
mo
uth
'
,
'
*
'
);
this
.
$emit
(
'
update
'
,
'
mo
nth
'
,
'
*
'
);
this
.
$emit
(
'
update
'
,
'
year
'
,
'
*
'
);
}
else
{
if
(
this
.
cron
.
day
===
'
*
'
)
{
this
.
$emit
(
'
update
'
,
'
day
'
,
'
0
'
,
'
mo
uth
'
);
this
.
$emit
(
'
update
'
,
'
day
'
,
'
0
'
,
'
mo
nth
'
);
}
if
(
this
.
cron
.
hour
===
'
*
'
)
{
this
.
$emit
(
'
update
'
,
'
hour
'
,
'
0
'
,
'
mo
uth
'
);
this
.
$emit
(
'
update
'
,
'
hour
'
,
'
0
'
,
'
mo
nth
'
);
}
if
(
this
.
cron
.
min
===
'
*
'
)
{
this
.
$emit
(
'
update
'
,
'
min
'
,
'
0
'
,
'
mo
uth
'
);
this
.
$emit
(
'
update
'
,
'
min
'
,
'
0
'
,
'
mo
nth
'
);
}
if
(
this
.
cron
.
second
===
'
*
'
)
{
this
.
$emit
(
'
update
'
,
'
second
'
,
'
0
'
,
'
mo
uth
'
);
this
.
$emit
(
'
update
'
,
'
second
'
,
'
0
'
,
'
mo
nth
'
);
}
}
switch
(
this
.
radioValue
)
{
case
2
:
this
.
$emit
(
'
update
'
,
'
mo
uth
'
,
this
.
cycle01
+
'
-
'
+
this
.
cycle02
);
this
.
$emit
(
'
update
'
,
'
mo
nth
'
,
this
.
cycle01
+
'
-
'
+
this
.
cycle02
);
break
;
case
3
:
this
.
$emit
(
'
update
'
,
'
mo
uth
'
,
this
.
average01
+
'
/
'
+
this
.
average02
);
this
.
$emit
(
'
update
'
,
'
mo
nth
'
,
this
.
average01
+
'
/
'
+
this
.
average02
);
break
;
case
4
:
this
.
$emit
(
'
update
'
,
'
mo
uth
'
,
this
.
checkboxString
);
this
.
$emit
(
'
update
'
,
'
mo
nth
'
,
this
.
checkboxString
);
break
;
}
},
// 周期两个值变化时
cycleChange
()
{
if
(
this
.
radioValue
==
'
2
'
)
{
this
.
$emit
(
'
update
'
,
'
mo
uth
'
,
this
.
cycleTotal
);
this
.
$emit
(
'
update
'
,
'
mo
nth
'
,
this
.
cycleTotal
);
}
},
// 平均两个值变化时
averageChange
()
{
if
(
this
.
radioValue
==
'
3
'
)
{
this
.
$emit
(
'
update
'
,
'
mo
uth
'
,
this
.
averageTotal
);
this
.
$emit
(
'
update
'
,
'
mo
nth
'
,
this
.
averageTotal
);
}
},
// checkbox值变化时
checkboxChange
()
{
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 {
}
},
othChange
()
{
//
反解析
//
反解析
let
ins
=
this
.
cron
.
second
(
'
反解析 second
'
,
ins
);
if
(
ins
===
'
*
'
)
{
...
...
ruoyi-ui/src/components/Crontab/week.vue
View file @
b35f708c
...
...
@@ -71,8 +71,8 @@ export default {
this
.
$emit
(
'
update
'
,
'
week
'
,
'
*
'
);
this
.
$emit
(
'
update
'
,
'
year
'
,
'
*
'
);
}
else
{
if
(
this
.
cron
.
mo
uth
===
'
*
'
)
{
this
.
$emit
(
'
update
'
,
'
mo
uth
'
,
'
0
'
,
'
week
'
);
if
(
this
.
cron
.
mo
nth
===
'
*
'
)
{
this
.
$emit
(
'
update
'
,
'
mo
nth
'
,
'
0
'
,
'
week
'
);
}
if
(
this
.
cron
.
day
===
'
*
'
)
{
this
.
$emit
(
'
update
'
,
'
day
'
,
'
0
'
,
'
week
'
);
...
...
ruoyi-ui/src/components/Crontab/year.vue
View file @
b35f708c
...
...
@@ -55,12 +55,12 @@ export default {
}
},
name
:
'
crontab-year
'
,
props
:
[
'
check
'
,
'
mo
uth
'
,
'
cron
'
],
props
:
[
'
check
'
,
'
mo
nth
'
,
'
cron
'
],
methods
:
{
// 单选按钮值变化时
radioChange
()
{
if
(
this
.
cron
.
mo
uth
===
'
*
'
)
{
this
.
$emit
(
'
update
'
,
'
mo
uth
'
,
'
0
'
,
'
year
'
);
if
(
this
.
cron
.
mo
nth
===
'
*
'
)
{
this
.
$emit
(
'
update
'
,
'
mo
nth
'
,
'
0
'
,
'
year
'
);
}
if
(
this
.
cron
.
day
===
'
*
'
)
{
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