diff --git a/ruoyi-ui/src/api/tool/testDemo.js b/ruoyi-ui/src/api/tool/testDemo.js
index c4a5117ca..461601935 100644
--- a/ruoyi-ui/src/api/tool/testDemo.js
+++ b/ruoyi-ui/src/api/tool/testDemo.js
@@ -22,7 +22,7 @@ export function updateTestDemo(data) {
// 删除字典类型
export function deleteTestDemo(id) {
return request({
- url: '/tool/test-demo/delelte?id=' + id,
+ url: '/tool/test-demo/delete?id=' + id,
method: 'delete'
})
}
@@ -50,6 +50,6 @@ export function exportTestDemoExcel(query) {
url: '/tool/test-demo/export-excel',
method: 'get',
params: query,
- reponseBody: 'blob'
+ responseType: 'blob'
})
}
diff --git a/ruoyi-ui/src/utils/ruoyi.js b/ruoyi-ui/src/utils/ruoyi.js
index 1e261cfd0..17f235f22 100644
--- a/ruoyi-ui/src/utils/ruoyi.js
+++ b/ruoyi-ui/src/utils/ruoyi.js
@@ -93,7 +93,7 @@ export function addBeginAndEndTime(params, dateRange, propName) {
params['begin' + propName] = dateRange[0] + ' 00:00:00';
}
if (dateRange[1]) {
- params['end' + propName] = dateRange[0] + ' 23:59:59';
+ params['end' + propName] = dateRange[1] + ' 23:59:59';
}
return params;
}
diff --git a/ruoyi-ui/src/views/system/menu/index.vue b/ruoyi-ui/src/views/system/menu/index.vue
index f758b8e6d..e2e759eeb 100644
--- a/ruoyi-ui/src/views/system/menu/index.vue
+++ b/ruoyi-ui/src/views/system/menu/index.vue
@@ -160,14 +160,10 @@
-
+
- {{dict.label}}
+ {{dict.label}}
diff --git a/ruoyi-ui/src/views/tool/gen/editTable.vue b/ruoyi-ui/src/views/tool/gen/editTable.vue
index 3a57e6fa1..23e646e54 100644
--- a/ruoyi-ui/src/views/tool/gen/editTable.vue
+++ b/ruoyi-ui/src/views/tool/gen/editTable.vue
@@ -129,6 +129,7 @@
import { getCodegenDetail, updateCodegen } from "@/api/tool/codegen";
import { listAllSimple as listAllSimpleDictType } from "@/api/system/dict/type";
import { listMenu as getMenuTreeselect } from "@/api/system/menu";
+import { listSimpleMenus } from "@/api/system/menu";
import basicInfoForm from "./basicInfoForm";
import genInfoForm from "./genInfoForm";
import Sortable from 'sortablejs'
@@ -170,8 +171,9 @@ export default {
this.dictOptions = response.data;
});
/** 查询菜单下拉列表 */
- getMenuTreeselect().then(response => {
- this.menus = this.handleTree(response.data, "menuId");
+ listSimpleMenus().then(response => {
+ this.menus = [];
+ this.menus.push(...this.handleTree(response.data, "id"));
});
}
},
diff --git a/ruoyi-ui/src/views/tool/gen/genInfoForm.vue b/ruoyi-ui/src/views/tool/gen/genInfoForm.vue
index 3e6ec8eed..959ab9f6d 100644
--- a/ruoyi-ui/src/views/tool/gen/genInfoForm.vue
+++ b/ruoyi-ui/src/views/tool/gen/genInfoForm.vue
@@ -51,17 +51,17 @@
-
-
-
- 业务包
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -95,14 +95,8 @@
-
+
@@ -289,8 +283,8 @@ export default {
delete node.children;
}
return {
- id: node.menuId,
- label: node.menuName,
+ id: node.id,
+ label: node.name,
children: node.children
};
},
diff --git a/ruoyi-ui/src/views/tool/testDemo/index.vue b/ruoyi-ui/src/views/tool/testDemo/index.vue
new file mode 100644
index 000000000..ac2c5d23f
--- /dev/null
+++ b/ruoyi-ui/src/views/tool/testDemo/index.vue
@@ -0,0 +1,294 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+ {{ getDictDataLabel(DICT_TYPE.SYS_COMMON_STATUS, scope.row.status) }}
+
+ >
+
+
+ {{ getDictDataLabel(DICT_TYPE.SYS_OPERATE_TYPE, scope.row.type) }}
+
+ >
+
+
+ {{ getDictDataLabel(DICT_TYPE.INF_REDIS_TIMEOUT_TYPE, scope.row.category) }}
+
+ >
+
+
+
+ {{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{dict.label}}
+
+
+
+
+
+
+
+
+
+ {{dict.label}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/java/cn/iocoder/dashboard/framework/excel/core/convert/DictConvert.java b/src/main/java/cn/iocoder/dashboard/framework/excel/core/convert/DictConvert.java
index 45da733a3..a332235d3 100644
--- a/src/main/java/cn/iocoder/dashboard/framework/excel/core/convert/DictConvert.java
+++ b/src/main/java/cn/iocoder/dashboard/framework/excel/core/convert/DictConvert.java
@@ -44,14 +44,19 @@ public class DictConvert implements Converter