Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cocktail-party-server
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
cocktail-party
cocktail-party-server
Commits
4988b585
提交
4988b585
authored
9月 07, 2021
作者:
若依
提交者:
Gitee
9月 07, 2021
浏览文件
操作
浏览文件
下载
差异文件
!309 修正单词拼写错误
Merge pull request !309 from 稚屿/master
上级
0e615072
b35f708c
全部展开
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
19 行增加
和
19 行删除
+19
-19
day.vue
ruoyi-ui/src/components/Crontab/day.vue
+1
-1
index.vue
ruoyi-ui/src/components/Crontab/index.vue
+0
-0
month.vue
ruoyi-ui/src/components/Crontab/month.vue
+12
-12
result.vue
ruoyi-ui/src/components/Crontab/result.vue
+0
-0
second.vue
ruoyi-ui/src/components/Crontab/second.vue
+1
-1
week.vue
ruoyi-ui/src/components/Crontab/week.vue
+2
-2
year.vue
ruoyi-ui/src/components/Crontab/year.vue
+3
-3
没有找到文件。
ruoyi-ui/src/components/Crontab/day.vue
浏览文件 @
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
浏览文件 @
4988b585
差异被折叠。
点击展开。
ruoyi-ui/src/components/Crontab/mo
u
th.vue
→
ruoyi-ui/src/components/Crontab/mo
n
th.vue
浏览文件 @
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
浏览文件 @
4988b585
差异被折叠。
点击展开。
ruoyi-ui/src/components/Crontab/second.vue
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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'
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论