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 a6ae2026..21f51385 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 ffb04a33..968040e3 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 00000000..534dd23a --- /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 7a28b51f..037ecf9d 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 bd39c16d..5f0cc21a 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 0ddbba60..ab159653 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 7c83aab4..9aec14e8 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 77d04101..cdee7ee9 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 fcbbfe53..fe4d42ed 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']" >删除 -
- - - - - - -
+