Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
T
topology
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
姜立玮
topology
Commits
5ce4291e
提交
5ce4291e
authored
6月 01, 2020
作者:
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
若依 2.3
上级
d48475c5
变更
22
隐藏空白字符变更
内嵌
并排
正在显示
22 个修改的文件
包含
19 行增加
和
80 行删除
+19
-80
README.md
README.md
+1
-0
package.json
ruoyi-ui/package.json
+1
-1
index.js
ruoyi-ui/src/router/index.js
+9
-9
permission.js
ruoyi-ui/src/store/modules/permission.js
+1
-1
index.vue
ruoyi-ui/src/views/monitor/job/index.vue
+0
-4
index.vue
ruoyi-ui/src/views/system/config/index.vue
+0
-6
index.vue
ruoyi-ui/src/views/system/dept/index.vue
+0
-4
data.vue
ruoyi-ui/src/views/system/dict/data.vue
+0
-4
index.vue
ruoyi-ui/src/views/system/dict/index.vue
+0
-6
index.vue
ruoyi-ui/src/views/system/menu/index.vue
+0
-4
index.vue
ruoyi-ui/src/views/system/notice/index.vue
+0
-4
index.vue
ruoyi-ui/src/views/system/post/index.vue
+0
-4
index.vue
ruoyi-ui/src/views/system/role/index.vue
+0
-6
index.vue
ruoyi-ui/src/views/system/user/index.vue
+0
-6
resetPwd.vue
ruoyi-ui/src/views/system/user/profile/resetPwd.vue
+0
-2
userAvatar.vue
ruoyi-ui/src/views/system/user/profile/userAvatar.vue
+0
-2
userInfo.vue
ruoyi-ui/src/views/system/user/profile/userInfo.vue
+0
-2
pom.xml
ruoyi/pom.xml
+1
-1
application.yml
ruoyi/src/main/resources/application.yml
+1
-1
sql.vm
ruoyi/src/main/resources/vm/sql/sql.vm
+5
-5
index-tree.vue.vm
ruoyi/src/main/resources/vm/vue/index-tree.vue.vm
+0
-4
index.vue.vm
ruoyi/src/main/resources/vm/vue/index.vue.vm
+0
-4
没有找到文件。
README.md
浏览文件 @
5ce4291e
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
*
权限认证使用Jwt,支持多终端认证系统。
*
权限认证使用Jwt,支持多终端认证系统。
*
支持加载动态权限菜单,多方式轻松权限控制。
*
支持加载动态权限菜单,多方式轻松权限控制。
*
高效率开发,使用代码生成器可以一键生成前后端代码。
*
高效率开发,使用代码生成器可以一键生成前后端代码。
*
提供了一个Oracle版本
[
RuoYi-Vue-Oracle
](
https://github.com/yangzongzhuan/RuoYi-Vue-Oracle
)
,保持同步更新。
*
感谢
[
Vue-Element-Admin
](
https://github.com/PanJiaChen/vue-element-admin
)
,
[
eladmin-web
](
https://gitee.com/elunez/eladmin-web?_from=gitee_search
)
。
*
感谢
[
Vue-Element-Admin
](
https://github.com/PanJiaChen/vue-element-admin
)
,
[
eladmin-web
](
https://gitee.com/elunez/eladmin-web?_from=gitee_search
)
。
*
不分离版本,请移步
[
RuoYi
](
https://gitee.com/y_project/RuoYi
)
,微服务版本,请移步
[
RuoYi-Cloud
](
https://gitee.com/y_project/RuoYi-Cloud
)
*
不分离版本,请移步
[
RuoYi
](
https://gitee.com/y_project/RuoYi
)
,微服务版本,请移步
[
RuoYi-Cloud
](
https://gitee.com/y_project/RuoYi-Cloud
)
*
阿里云优惠券:
[
点我进入
](
https://www.aliyun.com/minisite/goods?userCode=brki8iof&share_source=copy_link
)
,腾讯云优惠券:
[
点我领取
](
https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console
)
*
阿里云优惠券:
[
点我进入
](
https://www.aliyun.com/minisite/goods?userCode=brki8iof&share_source=copy_link
)
,腾讯云优惠券:
[
点我领取
](
https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console
)
...
...
ruoyi-ui/package.json
浏览文件 @
5ce4291e
{
{
"name"
:
"ruoyi"
,
"name"
:
"ruoyi"
,
"version"
:
"2.
2
.0"
,
"version"
:
"2.
3
.0"
,
"description"
:
"若依管理系统"
,
"description"
:
"若依管理系统"
,
"author"
:
"若依"
,
"author"
:
"若依"
,
"license"
:
"MIT"
,
"license"
:
"MIT"
,
...
...
ruoyi-ui/src/router/index.js
浏览文件 @
5ce4291e
...
@@ -33,23 +33,23 @@ export const constantRoutes = [
...
@@ -33,23 +33,23 @@ export const constantRoutes = [
children
:
[
children
:
[
{
{
path
:
'/redirect/:path(.*)'
,
path
:
'/redirect/:path(.*)'
,
component
:
(
resolve
)
=>
require
([
'@/views/redirect'
],
resolve
)
component
:
(
)
=>
import
(
'@/views/redirect'
)
}
}
]
]
},
},
{
{
path
:
'/login'
,
path
:
'/login'
,
component
:
(
resolve
)
=>
require
([
'@/views/login'
],
resolve
),
component
:
(
)
=>
import
(
'@/views/login'
),
hidden
:
true
hidden
:
true
},
},
{
{
path
:
'/404'
,
path
:
'/404'
,
component
:
(
resolve
)
=>
require
([
'@/views/error/404'
],
resolve
),
component
:
(
)
=>
import
(
'@/views/error/404'
),
hidden
:
true
hidden
:
true
},
},
{
{
path
:
'/401'
,
path
:
'/401'
,
component
:
(
resolve
)
=>
require
([
'@/views/error/401'
],
resolve
),
component
:
(
)
=>
import
(
'@/views/error/401'
),
hidden
:
true
hidden
:
true
},
},
{
{
...
@@ -59,7 +59,7 @@ export const constantRoutes = [
...
@@ -59,7 +59,7 @@ export const constantRoutes = [
children
:
[
children
:
[
{
{
path
:
'index'
,
path
:
'index'
,
component
:
(
resolve
)
=>
require
([
'@/views/index'
],
resolve
),
component
:
(
)
=>
import
(
'@/views/index'
),
name
:
'首页'
,
name
:
'首页'
,
meta
:
{
title
:
'首页'
,
icon
:
'dashboard'
,
noCache
:
true
,
affix
:
true
}
meta
:
{
title
:
'首页'
,
icon
:
'dashboard'
,
noCache
:
true
,
affix
:
true
}
}
}
...
@@ -73,7 +73,7 @@ export const constantRoutes = [
...
@@ -73,7 +73,7 @@ export const constantRoutes = [
children
:
[
children
:
[
{
{
path
:
'profile'
,
path
:
'profile'
,
component
:
(
resolve
)
=>
require
([
'@/views/system/user/profile/index'
],
resolve
),
component
:
(
)
=>
import
(
'@/views/system/user/profile/index'
),
name
:
'Profile'
,
name
:
'Profile'
,
meta
:
{
title
:
'个人中心'
,
icon
:
'user'
}
meta
:
{
title
:
'个人中心'
,
icon
:
'user'
}
}
}
...
@@ -86,7 +86,7 @@ export const constantRoutes = [
...
@@ -86,7 +86,7 @@ export const constantRoutes = [
children
:
[
children
:
[
{
{
path
:
'type/data/:dictId(
\\
d+)'
,
path
:
'type/data/:dictId(
\\
d+)'
,
component
:
(
resolve
)
=>
require
([
'@/views/system/dict/data'
],
resolve
),
component
:
(
)
=>
import
(
'@/views/system/dict/data'
),
name
:
'Data'
,
name
:
'Data'
,
meta
:
{
title
:
'字典数据'
,
icon
:
''
}
meta
:
{
title
:
'字典数据'
,
icon
:
''
}
}
}
...
@@ -99,7 +99,7 @@ export const constantRoutes = [
...
@@ -99,7 +99,7 @@ export const constantRoutes = [
children
:
[
children
:
[
{
{
path
:
'log'
,
path
:
'log'
,
component
:
(
resolve
)
=>
require
([
'@/views/monitor/job/log'
],
resolve
),
component
:
(
)
=>
import
(
'@/views/monitor/job/log'
),
name
:
'JobLog'
,
name
:
'JobLog'
,
meta
:
{
title
:
'调度日志'
}
meta
:
{
title
:
'调度日志'
}
}
}
...
@@ -112,7 +112,7 @@ export const constantRoutes = [
...
@@ -112,7 +112,7 @@ export const constantRoutes = [
children
:
[
children
:
[
{
{
path
:
'edit'
,
path
:
'edit'
,
component
:
(
resolve
)
=>
require
([
'@/views/tool/gen/editTable'
],
resolve
),
component
:
(
)
=>
import
(
'@/views/tool/gen/editTable'
),
name
:
'GenEdit'
,
name
:
'GenEdit'
,
meta
:
{
title
:
'修改生成配置'
}
meta
:
{
title
:
'修改生成配置'
}
}
}
...
...
ruoyi-ui/src/store/modules/permission.js
浏览文件 @
5ce4291e
...
@@ -48,7 +48,7 @@ function filterAsyncRouter(asyncRouterMap) {
...
@@ -48,7 +48,7 @@ function filterAsyncRouter(asyncRouterMap) {
}
}
export
const
loadView
=
(
view
)
=>
{
// 路由懒加载
export
const
loadView
=
(
view
)
=>
{
// 路由懒加载
return
(
resolve
)
=>
require
([
`@/views/
${
view
}
`
],
resolve
)
return
(
)
=>
import
(
`@/views/
${
view
}
`
)
}
}
export
default
permission
export
default
permission
ruoyi-ui/src/views/monitor/job/index.vue
浏览文件 @
5ce4291e
...
@@ -438,8 +438,6 @@ export default {
...
@@ -438,8 +438,6 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
else
{
}
else
{
...
@@ -448,8 +446,6 @@ export default {
...
@@ -448,8 +446,6 @@ export default {
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
...
ruoyi-ui/src/views/system/config/index.vue
浏览文件 @
5ce4291e
...
@@ -305,8 +305,6 @@ export default {
...
@@ -305,8 +305,6 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
else
{
}
else
{
...
@@ -315,8 +313,6 @@ export default {
...
@@ -315,8 +313,6 @@ export default {
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
@@ -355,8 +351,6 @@ export default {
...
@@ -355,8 +351,6 @@ export default {
clearCache
().
then
(
response
=>
{
clearCache
().
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
if
(
response
.
code
===
200
)
{
this
.
msgSuccess
(
"清理成功"
);
this
.
msgSuccess
(
"清理成功"
);
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
...
ruoyi-ui/src/views/system/dept/index.vue
浏览文件 @
5ce4291e
...
@@ -281,8 +281,6 @@ export default {
...
@@ -281,8 +281,6 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
else
{
}
else
{
...
@@ -291,8 +289,6 @@ export default {
...
@@ -291,8 +289,6 @@ export default {
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
...
ruoyi-ui/src/views/system/dict/data.vue
浏览文件 @
5ce4291e
...
@@ -305,8 +305,6 @@ export default {
...
@@ -305,8 +305,6 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
else
{
}
else
{
...
@@ -315,8 +313,6 @@ export default {
...
@@ -315,8 +313,6 @@ export default {
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
...
ruoyi-ui/src/views/system/dict/index.vue
浏览文件 @
5ce4291e
...
@@ -309,8 +309,6 @@ export default {
...
@@ -309,8 +309,6 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
else
{
}
else
{
...
@@ -319,8 +317,6 @@ export default {
...
@@ -319,8 +317,6 @@ export default {
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
@@ -359,8 +355,6 @@ export default {
...
@@ -359,8 +355,6 @@ export default {
clearCache
().
then
(
response
=>
{
clearCache
().
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
if
(
response
.
code
===
200
)
{
this
.
msgSuccess
(
"清理成功"
);
this
.
msgSuccess
(
"清理成功"
);
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
...
ruoyi-ui/src/views/system/menu/index.vue
浏览文件 @
5ce4291e
...
@@ -340,8 +340,6 @@ export default {
...
@@ -340,8 +340,6 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
else
{
}
else
{
...
@@ -350,8 +348,6 @@ export default {
...
@@ -350,8 +348,6 @@ export default {
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
...
ruoyi-ui/src/views/system/notice/index.vue
浏览文件 @
5ce4291e
...
@@ -308,8 +308,6 @@ export default {
...
@@ -308,8 +308,6 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
}
);
}
);
}
else
{
}
else
{
...
@@ -318,8 +316,6 @@ export default {
...
@@ -318,8 +316,6 @@ export default {
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
}
);
}
);
}
}
...
...
ruoyi-ui/src/views/system/post/index.vue
浏览文件 @
5ce4291e
...
@@ -277,8 +277,6 @@ export default {
...
@@ -277,8 +277,6 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
else
{
}
else
{
...
@@ -287,8 +285,6 @@ export default {
...
@@ -287,8 +285,6 @@ export default {
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
...
ruoyi-ui/src/views/system/role/index.vue
浏览文件 @
5ce4291e
...
@@ -482,8 +482,6 @@ export default {
...
@@ -482,8 +482,6 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
else
{
}
else
{
...
@@ -493,8 +491,6 @@ export default {
...
@@ -493,8 +491,6 @@ export default {
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
@@ -510,8 +506,6 @@ export default {
...
@@ -510,8 +506,6 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
openDataScope
=
false
;
this
.
openDataScope
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
...
ruoyi-ui/src/views/system/user/index.vue
浏览文件 @
5ce4291e
...
@@ -572,8 +572,6 @@ export default {
...
@@ -572,8 +572,6 @@ export default {
resetUserPwd
(
row
.
userId
,
value
).
then
(
response
=>
{
resetUserPwd
(
row
.
userId
,
value
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
if
(
response
.
code
===
200
)
{
this
.
msgSuccess
(
"修改成功,新密码是:"
+
value
);
this
.
msgSuccess
(
"修改成功,新密码是:"
+
value
);
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}).
catch
(()
=>
{});
}).
catch
(()
=>
{});
...
@@ -588,8 +586,6 @@ export default {
...
@@ -588,8 +586,6 @@ export default {
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
else
{
}
else
{
...
@@ -598,8 +594,6 @@ export default {
...
@@ -598,8 +594,6 @@ export default {
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
...
ruoyi-ui/src/views/system/user/profile/resetPwd.vue
浏览文件 @
5ce4291e
...
@@ -59,8 +59,6 @@ export default {
...
@@ -59,8 +59,6 @@ export default {
response
=>
{
response
=>
{
if
(
response
.
code
===
200
)
{
if
(
response
.
code
===
200
)
{
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
}
}
);
);
...
...
ruoyi-ui/src/views/system/user/profile/userAvatar.vue
浏览文件 @
5ce4291e
...
@@ -122,8 +122,6 @@ export default {
...
@@ -122,8 +122,6 @@ export default {
this
.
open
=
false
;
this
.
open
=
false
;
this
.
options
.
img
=
process
.
env
.
VUE_APP_BASE_API
+
response
.
imgUrl
;
this
.
options
.
img
=
process
.
env
.
VUE_APP_BASE_API
+
response
.
imgUrl
;
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
this
.
$refs
.
cropper
.
clearCrop
();
this
.
$refs
.
cropper
.
clearCrop
();
});
});
...
...
ruoyi-ui/src/views/system/user/profile/userInfo.vue
浏览文件 @
5ce4291e
...
@@ -64,8 +64,6 @@ export default {
...
@@ -64,8 +64,6 @@ export default {
updateUserProfile
(
this
.
user
).
then
(
response
=>
{
updateUserProfile
(
this
.
user
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
if
(
response
.
code
===
200
)
{
this
.
msgSuccess
(
"修改成功"
);
this
.
msgSuccess
(
"修改成功"
);
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
});
});
}
}
...
...
ruoyi/pom.xml
浏览文件 @
5ce4291e
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<groupId>
com.ruoyi
</groupId>
<groupId>
com.ruoyi
</groupId>
<artifactId>
ruoyi
</artifactId>
<artifactId>
ruoyi
</artifactId>
<version>
2.
2
.0
</version>
<version>
2.
3
.0
</version>
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
<name>
ruoyi
</name>
<name>
ruoyi
</name>
...
...
ruoyi/src/main/resources/application.yml
浏览文件 @
5ce4291e
...
@@ -3,7 +3,7 @@ ruoyi:
...
@@ -3,7 +3,7 @@ ruoyi:
# 名称
# 名称
name
:
RuoYi
name
:
RuoYi
# 版本
# 版本
version
:
2.
2
.0
version
:
2.
3
.0
# 版权年份
# 版权年份
copyrightYear
:
2019
copyrightYear
:
2019
# 实例演示开关
# 实例演示开关
...
...
ruoyi/src/main/resources/vm/sql/sql.vm
浏览文件 @
5ce4291e
...
@@ -6,17 +6,17 @@ values('${functionName}', '3', '1', '${businessName}', '${moduleName}/${business
...
@@ -6,17 +6,17 @@ values('${functionName}', '3', '1', '${businessName}', '${moduleName}/${business
SELECT @parentId := LAST_INSERT_ID();
SELECT @parentId := LAST_INSERT_ID();
-- 按钮 SQL
-- 按钮 SQL
insert into sys_menu
(menu_name, parent_id, order_num, path, component, is_frame, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('${functionName}查询', @parentId, '1', '#', '', 1, 'F', '0', '0', '${permissionPrefix}:query', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
values('${functionName}查询', @parentId, '1', '#', '', 1, 'F', '0', '0', '${permissionPrefix}:query', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
insert into sys_menu
(menu_name, parent_id, order_num, path, component, is_frame, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('${functionName}新增', @parentId, '2', '#', '', 1, 'F', '0', '0', '${permissionPrefix}:add', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
values('${functionName}新增', @parentId, '2', '#', '', 1, 'F', '0', '0', '${permissionPrefix}:add', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
insert into sys_menu
(menu_name, parent_id, order_num, path, component, is_frame, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('${functionName}修改', @parentId, '3', '#', '', 1, 'F', '0', '0', '${permissionPrefix}:edit', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
values('${functionName}修改', @parentId, '3', '#', '', 1, 'F', '0', '0', '${permissionPrefix}:edit', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
insert into sys_menu
(menu_name, parent_id, order_num, path, component, is_frame, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('${functionName}删除', @parentId, '4', '#', '', 1, 'F', '0', '0', '${permissionPrefix}:remove', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
values('${functionName}删除', @parentId, '4', '#', '', 1, 'F', '0', '0', '${permissionPrefix}:remove', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
insert into sys_menu
(menu_name, parent_id, order_num, path, component, is_frame, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('${functionName}导出', @parentId, '5', '#', '', 1, 'F', '0', '0', '${permissionPrefix}:export', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
values('${functionName}导出', @parentId, '5', '#', '', 1, 'F', '0', '0', '${permissionPrefix}:export', '#', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
\ No newline at end of file
ruoyi/src/main/resources/vm/vue/index-tree.vue.vm
浏览文件 @
5ce4291e
...
@@ -375,8 +375,6 @@ export default {
...
@@ -375,8 +375,6 @@ export default {
this.msgSuccess("修改成功");
this.msgSuccess("修改成功");
this.open = false;
this.open = false;
this.getList();
this.getList();
} else {
this.msgError(response.msg);
}
}
});
});
} else {
} else {
...
@@ -385,8 +383,6 @@ export default {
...
@@ -385,8 +383,6 @@ export default {
this.msgSuccess("新增成功");
this.msgSuccess("新增成功");
this.open = false;
this.open = false;
this.getList();
this.getList();
} else {
this.msgError(response.msg);
}
}
});
});
}
}
...
...
ruoyi/src/main/resources/vm/vue/index.vue.vm
浏览文件 @
5ce4291e
...
@@ -392,8 +392,6 @@ export default {
...
@@ -392,8 +392,6 @@ export default {
this.msgSuccess("修改成功");
this.msgSuccess("修改成功");
this.open = false;
this.open = false;
this.getList();
this.getList();
} else {
this.msgError(response.msg);
}
}
});
});
} else {
} else {
...
@@ -402,8 +400,6 @@ export default {
...
@@ -402,8 +400,6 @@ export default {
this.msgSuccess("新增成功");
this.msgSuccess("新增成功");
this.open = false;
this.open = false;
this.getList();
this.getList();
} else {
this.msgError(response.msg);
}
}
});
});
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论