diff --git a/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm b/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm index a6ae2026f..21f513852 100644 --- a/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm +++ b/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm @@ -66,14 +66,7 @@ v-hasPermi="['${moduleName}:${businessName}:add']" >新增 -
- - - - - - -
+ 导出 -
- - - - - - -
+ diff --git a/ruoyi-ui/src/assets/styles/ruoyi.scss b/ruoyi-ui/src/assets/styles/ruoyi.scss index ffb04a33d..968040e38 100644 --- a/ruoyi-ui/src/assets/styles/ruoyi.scss +++ b/ruoyi-ui/src/assets/styles/ruoyi.scss @@ -222,5 +222,6 @@ } .top-right-btn { + position: relative; float: right; } \ No newline at end of file diff --git a/ruoyi-ui/src/components/TableToolsExt/index.vue b/ruoyi-ui/src/components/TableToolsExt/index.vue new file mode 100644 index 000000000..534dd23af --- /dev/null +++ b/ruoyi-ui/src/components/TableToolsExt/index.vue @@ -0,0 +1,38 @@ + + + \ No newline at end of file diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js index 7a28b51f8..037ecf9d8 100644 --- a/ruoyi-ui/src/main.js +++ b/ruoyi-ui/src/main.js @@ -20,6 +20,8 @@ import { getDicts } from "@/api/system/dict/data"; 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" // 全局方法挂载 Vue.prototype.getDicts = getDicts @@ -46,6 +48,7 @@ Vue.prototype.msgInfo = function (msg) { // 全局组件挂载 Vue.component('Pagination', Pagination) +Vue.component('TableToolsExt', TableToolsExt) Vue.use(permission) diff --git a/ruoyi-ui/src/views/monitor/job/index.vue b/ruoyi-ui/src/views/monitor/job/index.vue index bd39c16df..5f0cc21a5 100644 --- a/ruoyi-ui/src/views/monitor/job/index.vue +++ b/ruoyi-ui/src/views/monitor/job/index.vue @@ -84,14 +84,7 @@ v-hasPermi="['monitor:job:query']" >日志 -
- - - - - - -
+ diff --git a/ruoyi-ui/src/views/monitor/job/log.vue b/ruoyi-ui/src/views/monitor/job/log.vue index 0ddbba600..ab1596532 100644 --- a/ruoyi-ui/src/views/monitor/job/log.vue +++ b/ruoyi-ui/src/views/monitor/job/log.vue @@ -90,14 +90,7 @@ v-hasPermi="['monitor:job:export']" >导出 -
- - - - - - -
+ diff --git a/ruoyi-ui/src/views/monitor/logininfor/index.vue b/ruoyi-ui/src/views/monitor/logininfor/index.vue index 7c83aab40..9aec14e8c 100644 --- a/ruoyi-ui/src/views/monitor/logininfor/index.vue +++ b/ruoyi-ui/src/views/monitor/logininfor/index.vue @@ -84,14 +84,7 @@ v-hasPermi="['system:logininfor:export']" >导出 -
- - - - - - -
+ diff --git a/ruoyi-ui/src/views/monitor/online/index.vue b/ruoyi-ui/src/views/monitor/online/index.vue index 77d04101e..cdee7ee91 100644 --- a/ruoyi-ui/src/views/monitor/online/index.vue +++ b/ruoyi-ui/src/views/monitor/online/index.vue @@ -1,6 +1,6 @@ - + - + @@ -248,23 +125,14 @@ - + - {{dict.dictLabel}} + {{dict.dictLabel}} @@ -273,26 +141,14 @@ - + - + @@ -313,18 +169,7 @@ - +
将文件拖到此处,或 @@ -345,7 +190,17 @@ \ No newline at end of file diff --git a/ruoyi-ui/src/views/tool/gen/index.vue b/ruoyi-ui/src/views/tool/gen/index.vue index fcbbfe535..fe4d42ed7 100644 --- a/ruoyi-ui/src/views/tool/gen/index.vue +++ b/ruoyi-ui/src/views/tool/gen/index.vue @@ -76,14 +76,7 @@ v-hasPermi="['tool:gen:remove']" >删除 -
- - - - - - -
+