Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
前端资源
RuoYi-Vue
提交
74f52677
R
RuoYi-Vue
项目概览
前端资源
/
RuoYi-Vue
10 个月 前同步成功
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
RuoYi-Vue
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
74f52677
编写于
8月 10, 2020
作者:
R
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
表格右侧工具栏组件
上级
60d5c03e
变更
18
隐藏空白更改
内联
并排
Showing
18 changed file
with
57 addition
and
57 deletion
+57
-57
ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm
ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm
+1
-1
ruoyi-generator/src/main/resources/vm/vue/index.vue.vm
ruoyi-generator/src/main/resources/vm/vue/index.vue.vm
+1
-1
ruoyi-ui/src/components/RightToolbar/index.vue
ruoyi-ui/src/components/RightToolbar/index.vue
+38
-38
ruoyi-ui/src/main.js
ruoyi-ui/src/main.js
+2
-2
ruoyi-ui/src/views/monitor/job/index.vue
ruoyi-ui/src/views/monitor/job/index.vue
+1
-1
ruoyi-ui/src/views/monitor/job/log.vue
ruoyi-ui/src/views/monitor/job/log.vue
+1
-1
ruoyi-ui/src/views/monitor/logininfor/index.vue
ruoyi-ui/src/views/monitor/logininfor/index.vue
+1
-1
ruoyi-ui/src/views/monitor/operlog/index.vue
ruoyi-ui/src/views/monitor/operlog/index.vue
+1
-1
ruoyi-ui/src/views/system/config/index.vue
ruoyi-ui/src/views/system/config/index.vue
+1
-1
ruoyi-ui/src/views/system/dept/index.vue
ruoyi-ui/src/views/system/dept/index.vue
+1
-1
ruoyi-ui/src/views/system/dict/data.vue
ruoyi-ui/src/views/system/dict/data.vue
+1
-1
ruoyi-ui/src/views/system/dict/index.vue
ruoyi-ui/src/views/system/dict/index.vue
+1
-1
ruoyi-ui/src/views/system/menu/index.vue
ruoyi-ui/src/views/system/menu/index.vue
+1
-1
ruoyi-ui/src/views/system/notice/index.vue
ruoyi-ui/src/views/system/notice/index.vue
+2
-2
ruoyi-ui/src/views/system/post/index.vue
ruoyi-ui/src/views/system/post/index.vue
+1
-1
ruoyi-ui/src/views/system/role/index.vue
ruoyi-ui/src/views/system/role/index.vue
+1
-1
ruoyi-ui/src/views/system/user/index.vue
ruoyi-ui/src/views/system/user/index.vue
+1
-1
ruoyi-ui/src/views/tool/gen/index.vue
ruoyi-ui/src/views/tool/gen/index.vue
+1
-1
未找到文件。
ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm
浏览文件 @
74f52677
...
...
@@ -66,7 +66,7 @@
v-hasPermi=
"['
${
moduleName
}
:
${
businessName
}
:add']"
>
新增
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
...
...
ruoyi-generator/src/main/resources/vm/vue/index.vue.vm
浏览文件 @
74f52677
...
...
@@ -95,7 +95,7 @@
v-hasPermi=
"['
${
moduleName
}
:
${
businessName
}
:export']"
>
导出
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"
${
businessName
}
List"
@
selection-change=
"handleSelectionChange"
>
...
...
ruoyi-ui/src/components/
TableToolsExt
/index.vue
→
ruoyi-ui/src/components/
RightToolbar
/index.vue
浏览文件 @
74f52677
<!-- @author Shiyn/ huangmx 20200807优化-->
<
template
>
<div
class=
"top-right-btn"
>
<el-row>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"showSearch ? '隐藏搜索' : '显示搜索'"
placement=
"top"
>
<el-button
size=
"mini"
circle
icon=
"el-icon-search"
@
click=
"clickSearch()"
/>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"刷新"
placement=
"top"
>
<el-button
size=
"mini"
circle
icon=
"el-icon-refresh"
@
click=
"clickFresh()"
/>
</el-tooltip>
</el-row>
</div>
</
template
>
<
script
>
export
default
{
name
:
"
TableToolsExt
"
,
data
()
{
return
{};
},
props
:
{
showSearch
:
{
type
:
Boolean
,
default
:
true
,
},
},
methods
:
{
//搜索
clickSearch
()
{
this
.
$emit
(
"
update:showSearch
"
,
!
this
.
showSearch
);
},
//刷新
clickFresh
()
{
this
.
$emit
(
"
queryTable
"
);
},
},
};
</
script
>
\ No newline at end of file
<!-- @author Shiyn/ huangmx 20200807优化-->
<
template
>
<div
class=
"top-right-btn"
>
<el-row>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"showSearch ? '隐藏搜索' : '显示搜索'"
placement=
"top"
>
<el-button
size=
"mini"
circle
icon=
"el-icon-search"
@
click=
"toggleSearch()"
/>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"刷新"
placement=
"top"
>
<el-button
size=
"mini"
circle
icon=
"el-icon-refresh"
@
click=
"refresh()"
/>
</el-tooltip>
</el-row>
</div>
</
template
>
<
script
>
export
default
{
name
:
"
RightToolbar
"
,
data
()
{
return
{};
},
props
:
{
showSearch
:
{
type
:
Boolean
,
default
:
true
,
},
},
methods
:
{
//搜索
toggleSearch
()
{
this
.
$emit
(
"
update:showSearch
"
,
!
this
.
showSearch
);
},
//刷新
refresh
()
{
this
.
$emit
(
"
queryTable
"
);
},
},
};
</
script
>
ruoyi-ui/src/main.js
浏览文件 @
74f52677
...
...
@@ -21,7 +21,7 @@ import { getConfigKey } from "@/api/system/config";
import
{
parseTime
,
resetForm
,
addDateRange
,
selectDictLabel
,
selectDictLabels
,
download
,
handleTree
}
from
"
@/utils/ruoyi
"
;
import
Pagination
from
"
@/components/Pagination
"
;
//自定义表格工具扩展
import
TableToolsExt
from
"
@/components/TableToolsExt
"
import
RightToolbar
from
"
@/components/RightToolbar
"
// 全局方法挂载
Vue
.
prototype
.
getDicts
=
getDicts
...
...
@@ -48,7 +48,7 @@ Vue.prototype.msgInfo = function (msg) {
// 全局组件挂载
Vue
.
component
(
'
Pagination
'
,
Pagination
)
Vue
.
component
(
'
TableToolsExt
'
,
TableToolsExt
)
Vue
.
component
(
'
RightToolbar
'
,
RightToolbar
)
Vue
.
use
(
permission
)
...
...
ruoyi-ui/src/views/monitor/job/index.vue
浏览文件 @
74f52677
...
...
@@ -84,7 +84,7 @@
v-hasPermi=
"['monitor:job:query']"
>
日志
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"jobList"
@
selection-change=
"handleSelectionChange"
>
...
...
ruoyi-ui/src/views/monitor/job/log.vue
浏览文件 @
74f52677
...
...
@@ -90,7 +90,7 @@
v-hasPermi=
"['monitor:job:export']"
>
导出
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"jobLogList"
@
selection-change=
"handleSelectionChange"
>
...
...
ruoyi-ui/src/views/monitor/logininfor/index.vue
浏览文件 @
74f52677
...
...
@@ -84,7 +84,7 @@
v-hasPermi=
"['system:logininfor:export']"
>
导出
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
...
...
ruoyi-ui/src/views/monitor/operlog/index.vue
浏览文件 @
74f52677
...
...
@@ -100,7 +100,7 @@
v-hasPermi=
"['system:config:export']"
>
导出
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
...
...
ruoyi-ui/src/views/system/config/index.vue
浏览文件 @
74f52677
...
...
@@ -97,7 +97,7 @@
v-hasPermi=
"['system:config:remove']"
>
清理缓存
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"configList"
@
selection-change=
"handleSelectionChange"
>
...
...
ruoyi-ui/src/views/system/dept/index.vue
浏览文件 @
74f52677
...
...
@@ -36,7 +36,7 @@
v-hasPermi=
"['system:dept:add']"
>
新增
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
...
...
ruoyi-ui/src/views/system/dict/data.vue
浏览文件 @
74f52677
...
...
@@ -75,7 +75,7 @@
v-hasPermi=
"['system:dict:export']"
>
导出
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"dataList"
@
selection-change=
"handleSelectionChange"
>
...
...
ruoyi-ui/src/views/system/dict/index.vue
浏览文件 @
74f52677
...
...
@@ -103,7 +103,7 @@
v-hasPermi=
"['system:dict:remove']"
>
清理缓存
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"typeList"
@
selection-change=
"handleSelectionChange"
>
...
...
ruoyi-ui/src/views/system/menu/index.vue
浏览文件 @
74f52677
...
...
@@ -36,7 +36,7 @@
v-hasPermi=
"['system:menu:add']"
>
新增
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
...
...
ruoyi-ui/src/views/system/notice/index.vue
浏览文件 @
74f52677
...
...
@@ -65,7 +65,7 @@
v-hasPermi=
"['system:notice:remove']"
>
删除
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"noticeList"
@
selection-change=
"handleSelectionChange"
>
...
...
@@ -164,7 +164,7 @@
<
/el-col>
<
/el-row>
<
/el-form>
<
div
slot
=
"
footer
"
class
=
"
dialog-footer
"
style
=
"
padding-top:
2
0px
"
>
<
div
slot
=
"
footer
"
class
=
"
dialog-footer
"
style
=
"
padding-top:
3
0px
"
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
submitForm
"
>
确
定
<
/el-button>
<
el
-
button
@
click
=
"
cancel
"
>
取
消
<
/el-button>
<
/div>
...
...
ruoyi-ui/src/views/system/post/index.vue
浏览文件 @
74f52677
...
...
@@ -74,7 +74,7 @@
v-hasPermi=
"['system:post:export']"
>
导出
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"postList"
@
selection-change=
"handleSelectionChange"
>
...
...
ruoyi-ui/src/views/system/role/index.vue
浏览文件 @
74f52677
...
...
@@ -94,7 +94,7 @@
v-hasPermi=
"['system:role:export']"
>
导出
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"roleList"
@
selection-change=
"handleSelectionChange"
>
...
...
ruoyi-ui/src/views/system/user/index.vue
浏览文件 @
74f52677
...
...
@@ -49,7 +49,7 @@
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
v-hasPermi=
"['system:user:export']"
>
导出
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"userList"
@
selection-change=
"handleSelectionChange"
>
...
...
ruoyi-ui/src/views/tool/gen/index.vue
浏览文件 @
74f52677
...
...
@@ -76,7 +76,7 @@
v-hasPermi=
"['tool:gen:remove']"
>
删除
</el-button>
</el-col>
<
table-tools-ext
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></table-tools-ext
>
<
right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar
>
</el-row>
<el-table
v-loading=
"loading"
:data=
"tableList"
@
selection-change=
"handleSelectionChange"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录