Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
b4b3ff88
Commit
b4b3ff88
authored
Jun 01, 2020
by
RuoYi
Browse files
若依 2.3
parent
4cf3786f
Changes
20
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
b4b3ff88
...
...
@@ -5,6 +5,7 @@
*
权限认证使用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
)
。
*
不分离版本,请移步
[
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
)
...
...
ruoyi-ui/package.json
View file @
b4b3ff88
{
"name"
:
"ruoyi"
,
"version"
:
"2.
2
.0"
,
"version"
:
"2.
3
.0"
,
"description"
:
"若依管理系统"
,
"author"
:
"若依"
,
"license"
:
"MIT"
,
...
...
ruoyi-ui/src/views/monitor/job/index.vue
View file @
b4b3ff88
...
...
@@ -438,8 +438,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
else
{
...
...
@@ -448,8 +446,6 @@ export default {
this
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
ruoyi-ui/src/views/system/config/index.vue
View file @
b4b3ff88
...
...
@@ -305,8 +305,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
else
{
...
...
@@ -315,8 +313,6 @@ export default {
this
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
@@ -355,8 +351,6 @@ export default {
clearCache
().
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
msgSuccess
(
"
清理成功
"
);
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
ruoyi-ui/src/views/system/dept/index.vue
View file @
b4b3ff88
...
...
@@ -281,8 +281,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
else
{
...
...
@@ -291,8 +289,6 @@ export default {
this
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
ruoyi-ui/src/views/system/dict/data.vue
View file @
b4b3ff88
...
...
@@ -305,8 +305,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
else
{
...
...
@@ -315,8 +313,6 @@ export default {
this
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
ruoyi-ui/src/views/system/dict/index.vue
View file @
b4b3ff88
...
...
@@ -309,8 +309,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
else
{
...
...
@@ -319,8 +317,6 @@ export default {
this
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
@@ -359,8 +355,6 @@ export default {
clearCache
().
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
msgSuccess
(
"
清理成功
"
);
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
ruoyi-ui/src/views/system/menu/index.vue
View file @
b4b3ff88
...
...
@@ -340,8 +340,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
else
{
...
...
@@ -350,8 +348,6 @@ export default {
this
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
ruoyi-ui/src/views/system/notice/index.vue
View file @
b4b3ff88
...
...
@@ -308,8 +308,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
);
}
else
{
...
...
@@ -318,8 +316,6 @@ export default {
this
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
);
}
...
...
ruoyi-ui/src/views/system/post/index.vue
View file @
b4b3ff88
...
...
@@ -277,8 +277,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
else
{
...
...
@@ -287,8 +285,6 @@ export default {
this
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
ruoyi-ui/src/views/system/role/index.vue
View file @
b4b3ff88
...
...
@@ -482,8 +482,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
else
{
...
...
@@ -493,8 +491,6 @@ export default {
this
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
@@ -510,8 +506,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
openDataScope
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
ruoyi-ui/src/views/system/user/index.vue
View file @
b4b3ff88
...
...
@@ -572,8 +572,6 @@ export default {
resetUserPwd
(
row
.
userId
,
value
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
msgSuccess
(
"
修改成功,新密码是:
"
+
value
);
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}).
catch
(()
=>
{});
...
...
@@ -588,8 +586,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
else
{
...
...
@@ -598,8 +594,6 @@ export default {
this
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
ruoyi-ui/src/views/system/user/profile/resetPwd.vue
View file @
b4b3ff88
...
...
@@ -59,8 +59,6 @@ export default {
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
msgSuccess
(
"
修改成功
"
);
}
else
{
this
.
msgError
(
response
.
msg
);
}
}
);
...
...
ruoyi-ui/src/views/system/user/profile/userAvatar.vue
View file @
b4b3ff88
...
...
@@ -122,8 +122,6 @@ export default {
this
.
open
=
false
;
this
.
options
.
img
=
process
.
env
.
VUE_APP_BASE_API
+
response
.
imgUrl
;
this
.
msgSuccess
(
"
修改成功
"
);
}
else
{
this
.
msgError
(
response
.
msg
);
}
this
.
$refs
.
cropper
.
clearCrop
();
});
...
...
ruoyi-ui/src/views/system/user/profile/userInfo.vue
View file @
b4b3ff88
...
...
@@ -64,8 +64,6 @@ export default {
updateUserProfile
(
this
.
user
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
msgSuccess
(
"
修改成功
"
);
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
ruoyi/pom.xml
View file @
b4b3ff88
...
...
@@ -5,7 +5,7 @@
<groupId>
com.ruoyi
</groupId>
<artifactId>
ruoyi
</artifactId>
<version>
2.
2
.0
</version>
<version>
2.
3
.0
</version>
<packaging>
jar
</packaging>
<name>
ruoyi
</name>
...
...
ruoyi/src/main/resources/application.yml
View file @
b4b3ff88
...
...
@@ -3,7 +3,7 @@ ruoyi:
# 名称
name
:
RuoYi
# 版本
version
:
2.
2
.0
version
:
2.
3
.0
# 版权年份
copyrightYear
:
2019
# 实例演示开关
...
...
ruoyi/src/main/resources/vm/sql/sql.vm
View file @
b4b3ff88
...
...
@@ -6,17 +6,17 @@ values('${functionName}', '3', '1', '${businessName}', '${moduleName}/${business
SELECT @parentId := LAST_INSERT_ID();
-- 按钮 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', '');
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', '');
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', '');
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', '');
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', '');
\ No newline at end of file
ruoyi/src/main/resources/vm/vue/index-tree.vue.vm
View file @
b4b3ff88
...
...
@@ -375,8 +375,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
else
{
...
...
@@ -385,8 +383,6 @@ export default {
this
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
ruoyi/src/main/resources/vm/vue/index.vue.vm
View file @
b4b3ff88
...
...
@@ -392,8 +392,6 @@ export default {
this
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
else
{
...
...
@@ -402,8 +400,6 @@ export default {
this
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
getList
();
}
else
{
this
.
msgError
(
response
.
msg
);
}
});
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment