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
57178e72
提交
57178e72
authored
9月 01, 2021
作者:
若依
提交者:
Gitee
9月 01, 2021
浏览文件
操作
浏览文件
下载
差异文件
!304 修改数据字典样式回显
Merge pull request !304 from 马小法/master
上级
b8317a56
8040ad8c
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
21 行增加
和
42 行删除
+21
-42
index-tree.vue.vm
ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm
+5
-15
index.vue.vm
ruoyi-generator/src/main/resources/vm/vue/index.vue.vm
+5
-15
index.vue
ruoyi-ui/src/views/monitor/job/index.vue
+0
-0
log.vue
ruoyi-ui/src/views/monitor/job/log.vue
+11
-12
index.vue
ruoyi-ui/src/views/monitor/logininfor/index.vue
+0
-0
index.vue
ruoyi-ui/src/views/monitor/operlog/index.vue
+0
-0
index.vue
ruoyi-ui/src/views/system/config/index.vue
+0
-0
index.vue
ruoyi-ui/src/views/system/dept/index.vue
+0
-0
index.vue
ruoyi-ui/src/views/system/menu/index.vue
+0
-0
index.vue
ruoyi-ui/src/views/system/notice/index.vue
+0
-0
index.vue
ruoyi-ui/src/views/system/post/index.vue
+0
-0
没有找到文件。
ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm
浏览文件 @
57178e72
...
@@ -106,7 +106,11 @@
...
@@ -106,7 +106,11 @@
</template>
</template>
</el-table-column>
</el-table-column>
#elseif($column.list && "" != $column.dictType)
#elseif($column.list && "" != $column.dictType)
<el-table-column label="${comment}" align="center" prop="${javaField}" :formatter="${javaField}Format" />
<el-table-column label="${comment}" align="center" prop="${javaField}">
<template slot-scope="scope">
<dict-tag :options="${javaField}Options" :value="scope.row.${javaField}"/>
</template>
</el-table-column>
#elseif($column.list && "" != $javaField)
#elseif($column.list && "" != $javaField)
#if(${foreach.index} == 1)
#if(${foreach.index} == 1)
<el-table-column label="${comment}" prop="${javaField}" />
<el-table-column label="${comment}" prop="${javaField}" />
...
@@ -378,20 +382,6 @@ export default {
...
@@ -378,20 +382,6 @@ export default {
this.${businessName}Options.push(data);
this.${businessName}Options.push(data);
});
});
},
},
#foreach ($column in $columns)
#if(${column.dictType} != '')
#set($parentheseIndex=$column.columnComment.indexOf("("))
#if($parentheseIndex != -1)
#set($comment=$column.columnComment.substring(0, $parentheseIndex))
#else
#set($comment=$column.columnComment)
#end
// $comment字典翻译
${column.javaField}Format(row, column) {
return this.selectDictLabel#if($column.htmlType == "checkbox")s#end(this.${column.javaField}Options, row.${column.javaField});
},
#end
#end
// 取消按钮
// 取消按钮
cancel() {
cancel() {
this.open = false;
this.open = false;
...
...
ruoyi-generator/src/main/resources/vm/vue/index.vue.vm
浏览文件 @
57178e72
...
@@ -135,7 +135,11 @@
...
@@ -135,7 +135,11 @@
</template>
</template>
</el-table-column>
</el-table-column>
#elseif($column.list && "" != $column.dictType)
#elseif($column.list && "" != $column.dictType)
<el-table-column label="${comment}" align="center" prop="${javaField}" :formatter="${javaField}Format" />
<el-table-column label="${comment}" align="center" prop="${javaField}">
<template slot-scope="scope">
<dict-tag :options="${javaField}Options" :value="scope.row.${javaField}"/>
</template>
</el-table-column>
#elseif($column.list && "" != $javaField)
#elseif($column.list && "" != $javaField)
<el-table-column label="${comment}" align="center" prop="${javaField}" />
<el-table-column label="${comment}" align="center" prop="${javaField}" />
#end
#end
...
@@ -426,20 +430,6 @@ export default {
...
@@ -426,20 +430,6 @@ export default {
this.loading = false;
this.loading = false;
});
});
},
},
#foreach ($column in $columns)
#if(${column.dictType} != '')
#set($parentheseIndex=$column.columnComment.indexOf("("))
#if($parentheseIndex != -1)
#set($comment=$column.columnComment.substring(0, $parentheseIndex))
#else
#set($comment=$column.columnComment)
#end
// $comment字典翻译
${column.javaField}Format(row, column) {
return this.selectDictLabel#if($column.htmlType == "checkbox")s#end(this.${column.javaField}Options, row.${column.javaField});
},
#end
#end
// 取消按钮
// 取消按钮
cancel() {
cancel() {
this.open = false;
this.open = false;
...
...
ruoyi-ui/src/views/monitor/job/index.vue
浏览文件 @
57178e72
差异被折叠。
点击展开。
ruoyi-ui/src/views/monitor/job/log.vue
浏览文件 @
57178e72
...
@@ -110,10 +110,18 @@
...
@@ -110,10 +110,18 @@
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"日志编号"
width=
"80"
align=
"center"
prop=
"jobLogId"
/>
<el-table-column
label=
"日志编号"
width=
"80"
align=
"center"
prop=
"jobLogId"
/>
<el-table-column
label=
"任务名称"
align=
"center"
prop=
"jobName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"任务名称"
align=
"center"
prop=
"jobName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"任务组名"
align=
"center"
prop=
"jobGroup"
:formatter=
"jobGroupFormat"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"任务组名"
align=
"center"
prop=
"jobGroup"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"jobGroupOptions"
:value=
"scope.row.jobGroup"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"调用目标字符串"
align=
"center"
prop=
"invokeTarget"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"调用目标字符串"
align=
"center"
prop=
"invokeTarget"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"日志信息"
align=
"center"
prop=
"jobMessage"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"日志信息"
align=
"center"
prop=
"jobMessage"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"执行状态"
align=
"center"
prop=
"status"
:formatter=
"statusFormat"
/>
<el-table-column
label=
"执行状态"
align=
"center"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"statusOptions"
:value=
"scope.row.status"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"执行时间"
align=
"center"
prop=
"createTime"
width=
"180"
>
<el-table-column
label=
"执行时间"
align=
"center"
prop=
"createTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
...
@@ -247,14 +255,6 @@ export default {
...
@@ -247,14 +255,6 @@ export default {
}
}
);
);
},
},
// 执行状态字典翻译
statusFormat
(
row
,
column
)
{
return
this
.
selectDictLabel
(
this
.
statusOptions
,
row
.
status
);
},
// 任务组名字典翻译
jobGroupFormat
(
row
,
column
)
{
return
this
.
selectDictLabel
(
this
.
jobGroupOptions
,
row
.
jobGroup
);
},
// 返回按钮
// 返回按钮
handleClose
()
{
handleClose
()
{
this
.
$store
.
dispatch
(
"tagsView/delView"
,
this
.
$route
);
this
.
$store
.
dispatch
(
"tagsView/delView"
,
this
.
$route
);
...
@@ -325,4 +325,4 @@ export default {
...
@@ -325,4 +325,4 @@ export default {
}
}
}
}
};
};
</
script
>
</
script
>
\ No newline at end of file
ruoyi-ui/src/views/monitor/logininfor/index.vue
浏览文件 @
57178e72
差异被折叠。
点击展开。
ruoyi-ui/src/views/monitor/operlog/index.vue
浏览文件 @
57178e72
差异被折叠。
点击展开。
ruoyi-ui/src/views/system/config/index.vue
浏览文件 @
57178e72
差异被折叠。
点击展开。
ruoyi-ui/src/views/system/dept/index.vue
浏览文件 @
57178e72
差异被折叠。
点击展开。
ruoyi-ui/src/views/system/menu/index.vue
浏览文件 @
57178e72
差异被折叠。
点击展开。
ruoyi-ui/src/views/system/notice/index.vue
浏览文件 @
57178e72
差异被折叠。
点击展开。
ruoyi-ui/src/views/system/post/index.vue
浏览文件 @
57178e72
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论