diff --git a/hchyun-ui/src/api/system/module.js b/hchyun-ui/src/api/system/module.js new file mode 100644 index 0000000..95d5108 --- /dev/null +++ b/hchyun-ui/src/api/system/module.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询模块管理列表 +export function listModule(query) { + return request({ + url: '/system/module/list', + method: 'get', + params: query + }) +} + +// 查询模块管理详细 +export function getModule(id) { + return request({ + url: '/system/module/' + id, + method: 'get' + }) +} + +// 新增模块管理 +export function addModule(data) { + return request({ + url: '/system/module', + method: 'post', + data: data + }) +} + +// 修改模块管理 +export function updateModule(data) { + return request({ + url: '/system/module', + method: 'put', + data: data + }) +} + +// 删除模块管理 +export function delModule(id) { + return request({ + url: '/system/module/' + id, + method: 'delete' + }) +} + +// 导出模块管理 +export function exportModule(query) { + return request({ + url: '/system/module/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/hchyun-ui/src/assets/styles/hcy.scss b/hchyun-ui/src/assets/styles/hcy.scss index c4b9b7c..ef22569 100644 --- a/hchyun-ui/src/assets/styles/hcy.scss +++ b/hchyun-ui/src/assets/styles/hcy.scss @@ -1,6 +1,6 @@ /** * 通用css样式布局处理 - * Copyright (c) 2019 ruoyi + * Copyright (c) 2019 hchyun */ /** 基础通用 **/ @@ -237,4 +237,4 @@ .top-right-btn { position: relative; float: right; -} \ No newline at end of file +} diff --git a/hchyun-ui/src/directive/permission/hasPermi.js b/hchyun-ui/src/directive/permission/hasPermi.js index d7107ce..0e75612 100644 --- a/hchyun-ui/src/directive/permission/hasPermi.js +++ b/hchyun-ui/src/directive/permission/hasPermi.js @@ -1,8 +1,8 @@ /** * 操作权限处理 - * Copyright (c) 2019 ruoyi + * Copyright (c) 2019 hchyun */ - + import store from '@/store' export default { diff --git a/hchyun-ui/src/directive/permission/hasRole.js b/hchyun-ui/src/directive/permission/hasRole.js index 1303809..00f730c 100644 --- a/hchyun-ui/src/directive/permission/hasRole.js +++ b/hchyun-ui/src/directive/permission/hasRole.js @@ -1,8 +1,8 @@ /** * 角色权限处理 - * Copyright (c) 2019 ruoyi + * Copyright (c) 2019 hchyun */ - + import store from '@/store' export default { diff --git a/hchyun-ui/src/main.js b/hchyun-ui/src/main.js index 0f775e2..b2774cd 100644 --- a/hchyun-ui/src/main.js +++ b/hchyun-ui/src/main.js @@ -8,7 +8,7 @@ import Element from 'element-ui' import './assets/styles/element-variables.scss' import '@/assets/styles/index.scss' // global css -import '@/assets/styles/hcy.scss' // ruoyi css +import '@/assets/styles/hcy.scss' // hchyun css import App from './App' import store from './store' import router from './router' diff --git a/hchyun-ui/src/utils/hcy.js b/hchyun-ui/src/utils/hcy.js index 3cd5e94..0d1500b 100644 --- a/hchyun-ui/src/utils/hcy.js +++ b/hchyun-ui/src/utils/hcy.js @@ -1,6 +1,6 @@ /** * 通用js方法封装处理 - * Copyright (c) 2019 ruoyi + * Copyright (c) 2019 hchyun */ const baseURL = process.env.VUE_APP_BASE_API diff --git a/hchyun-ui/src/views/monitor/job/index.vue b/hchyun-ui/src/views/monitor/job/index.vue index 8c725b2..6760e78 100644 --- a/hchyun-ui/src/views/monitor/job/index.vue +++ b/hchyun-ui/src/views/monitor/job/index.vue @@ -160,7 +160,7 @@
Bean调用示例:ryTask.ryParams('ry') -
Class类调用示例:com.ruoyi.quartz.task.RyTask.ryParams('ry') +
Class类调用示例:com.hchyun.quartz.task.RyTask.ryParams('ry')
参数说明:支持字符串,布尔类型,长整型,浮点型,整型
@@ -480,4 +480,4 @@ export default { } } }; - \ No newline at end of file + diff --git a/hchyun-ui/src/views/system/module/index.vue b/hchyun-ui/src/views/system/module/index.vue new file mode 100644 index 0000000..a47b4c2 --- /dev/null +++ b/hchyun-ui/src/views/system/module/index.vue @@ -0,0 +1,304 @@ + + + diff --git a/hchyun-ui/src/views/tool/gen/genInfoForm.vue b/hchyun-ui/src/views/tool/gen/genInfoForm.vue index 9d36b9d..c99f150 100644 --- a/hchyun-ui/src/views/tool/gen/genInfoForm.vue +++ b/hchyun-ui/src/views/tool/gen/genInfoForm.vue @@ -16,7 +16,7 @@ 生成包路径 - + diff --git a/hchyun-ui/src/views/tool/gen/index.vue b/hchyun-ui/src/views/tool/gen/index.vue index 8e9b513..46b05fb 100644 --- a/hchyun-ui/src/views/tool/gen/index.vue +++ b/hchyun-ui/src/views/tool/gen/index.vue @@ -269,7 +269,7 @@ export default { this.msgSuccess("成功生成到自定义路径:" + row.genPath); }); } else { - downLoadZip("/tool/gen/batchGenCode?tables=" + tableNames, "ruoyi"); + downLoadZip("/tool/gen/batchGenCode?tables=" + tableNames, "hchyun"); } }, /** 同步数据库操作 */ @@ -337,4 +337,4 @@ export default { } } }; - \ No newline at end of file + diff --git a/hchyun-ui/vue.config.js b/hchyun-ui/vue.config.js index 0ab437b..ceac998 100644 --- a/hchyun-ui/vue.config.js +++ b/hchyun-ui/vue.config.js @@ -16,7 +16,7 @@ const port = process.env.port || process.env.npm_config_port || 80 // 端口 module.exports = { // 部署生产环境和开发环境下的URL。 // 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上 - // 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。 + // 例如 https://www.hchyun.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.hchyun.vip/admin/,则设置 baseUrl 为 /admin/。 publicPath: process.env.NODE_ENV === "production" ? "/" : "/", // 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist) outputDir: 'dist',