Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cocktail-party-server
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
cocktail-party
cocktail-party-server
Commits
026a4271
提交
026a4271
authored
11月 24, 2021
作者:
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化前端代码
上级
bafb1372
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
19 行增加
和
20 行删除
+19
-20
package.json
ruoyi-ui/package.json
+1
-1
index.vue
ruoyi-ui/src/components/Breadcrumb/index.vue
+1
-1
index.vue
ruoyi-ui/src/components/RuoYi/Doc/index.vue
+1
-1
index.vue
ruoyi-ui/src/components/RuoYi/Git/index.vue
+1
-1
index.vue
ruoyi-ui/src/components/SizeSelect/index.vue
+1
-2
Logo.vue
ruoyi-ui/src/layout/components/Sidebar/Logo.vue
+1
-1
index.vue
ruoyi-ui/src/layout/index.vue
+1
-1
main.js
ruoyi-ui/src/main.js
+1
-1
download.js
ruoyi-ui/src/plugins/download.js
+2
-2
index.js
ruoyi-ui/src/router/index.js
+5
-5
permission.js
ruoyi-ui/src/store/modules/permission.js
+2
-2
settings.js
ruoyi-ui/src/store/modules/settings.js
+1
-1
user.js
ruoyi-ui/src/store/modules/user.js
+1
-1
没有找到文件。
ruoyi-ui/package.json
浏览文件 @
026a4271
...
...
@@ -55,7 +55,7 @@
"vue"
:
"2.6.12"
,
"vue-count-to"
:
"1.0.13"
,
"vue-cropper"
:
"0.5.5"
,
"vue-meta"
:
"
^
2.4.0"
,
"vue-meta"
:
"2.4.0"
,
"vue-router"
:
"3.4.9"
,
"vuedraggable"
:
"2.24.3"
,
"vuex"
:
"3.6.0"
...
...
ruoyi-ui/src/components/Breadcrumb/index.vue
浏览文件 @
026a4271
...
...
@@ -2,7 +2,7 @@
<el-breadcrumb
class=
"app-breadcrumb"
separator=
"/"
>
<transition-group
name=
"breadcrumb"
>
<el-breadcrumb-item
v-for=
"(item,index) in levelList"
:key=
"item.path"
>
<span
v-if=
"item.redirect
==='noRedirect'||index==levelList.length-
1"
class=
"no-redirect"
>
{{
item
.
meta
.
title
}}
</span>
<span
v-if=
"item.redirect
=== 'noRedirect' || index == levelList.length -
1"
class=
"no-redirect"
>
{{
item
.
meta
.
title
}}
</span>
<a
v-else
@
click
.
prevent=
"handleLink(item)"
>
{{
item
.
meta
.
title
}}
</a>
</el-breadcrumb-item>
</transition-group>
...
...
ruoyi-ui/src/components/RuoYi/Doc/index.vue
浏览文件 @
026a4271
<
template
>
<div>
<svg-icon
icon-class=
"question"
@
click=
"goto"
/>
<svg-icon
icon-class=
"question"
@
click=
"goto"
/>
</div>
</
template
>
...
...
ruoyi-ui/src/components/RuoYi/Git/index.vue
浏览文件 @
026a4271
<
template
>
<div>
<svg-icon
icon-class=
"github"
@
click=
"goto"
/>
<svg-icon
icon-class=
"github"
@
click=
"goto"
/>
</div>
</
template
>
...
...
ruoyi-ui/src/components/SizeSelect/index.vue
浏览文件 @
026a4271
...
...
@@ -5,8 +5,7 @@
</div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
v-for=
"item of sizeOptions"
:key=
"item.value"
:disabled=
"size===item.value"
:command=
"item.value"
>
{{
item
.
label
}}
{{
item
.
label
}}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
...
...
ruoyi-ui/src/layout/components/Sidebar/Logo.vue
浏览文件 @
026a4271
...
...
@@ -29,7 +29,7 @@ export default {
variables
()
{
return
variables
;
},
sideTheme
()
{
sideTheme
()
{
return
this
.
$store
.
state
.
settings
.
sideTheme
}
},
...
...
ruoyi-ui/src/layout/index.vue
浏览文件 @
026a4271
...
...
@@ -98,7 +98,7 @@ export default {
}
.hideSidebar
.fixed-header
{
width
:
calc
(
100%
-
54px
)
width
:
calc
(
100%
-
54px
)
;
}
.mobile
.fixed-header
{
...
...
ruoyi-ui/src/main.js
浏览文件 @
026a4271
...
...
@@ -10,7 +10,7 @@ import '@/assets/styles/ruoyi.scss' // ruoyi css
import
App
from
'./App'
import
store
from
'./store'
import
router
from
'./router'
import
directive
from
'./directive'
//directive
import
directive
from
'./directive'
//
directive
import
plugins
from
'./plugins'
// plugins
import
{
download
}
from
'@/utils/request'
...
...
ruoyi-ui/src/plugins/download.js
浏览文件 @
026a4271
...
...
@@ -15,7 +15,7 @@ export default {
responseType
:
'blob'
,
headers
:
{
'Authorization'
:
'Bearer '
+
getToken
()
}
}).
then
(
async
(
res
)
=>
{
const
isLogin
=
await
this
.
blobValidate
(
res
.
data
);
const
isLogin
=
await
blobValidate
(
res
.
data
);
if
(
isLogin
)
{
const
blob
=
new
Blob
([
res
.
data
])
this
.
saveAs
(
blob
,
decodeURI
(
res
.
headers
[
'download-filename'
]))
...
...
@@ -32,7 +32,7 @@ export default {
responseType
:
'blob'
,
headers
:
{
'Authorization'
:
'Bearer '
+
getToken
()
}
}).
then
(
async
(
res
)
=>
{
const
isLogin
=
await
this
.
blobValidate
(
res
.
data
);
const
isLogin
=
await
blobValidate
(
res
.
data
);
if
(
isLogin
)
{
const
blob
=
new
Blob
([
res
.
data
])
this
.
saveAs
(
blob
,
decodeURI
(
res
.
headers
[
'download-filename'
]))
...
...
ruoyi-ui/src/router/index.js
浏览文件 @
026a4271
...
...
@@ -95,7 +95,7 @@ export const constantRoutes = [
path
:
'role/:userId(
\\
d+)'
,
component
:
(
resolve
)
=>
require
([
'@/views/system/user/authRole'
],
resolve
),
name
:
'AuthRole'
,
meta
:
{
title
:
'分配角色'
,
activeMenu
:
'/system/user'
}
meta
:
{
title
:
'分配角色'
,
activeMenu
:
'/system/user'
}
}
]
},
...
...
@@ -108,7 +108,7 @@ export const constantRoutes = [
path
:
'user/:roleId(
\\
d+)'
,
component
:
(
resolve
)
=>
require
([
'@/views/system/role/authUser'
],
resolve
),
name
:
'AuthUser'
,
meta
:
{
title
:
'分配用户'
,
activeMenu
:
'/system/role'
}
meta
:
{
title
:
'分配用户'
,
activeMenu
:
'/system/role'
}
}
]
},
...
...
@@ -121,7 +121,7 @@ export const constantRoutes = [
path
:
'index/:dictId(
\\
d+)'
,
component
:
(
resolve
)
=>
require
([
'@/views/system/dict/data'
],
resolve
),
name
:
'Data'
,
meta
:
{
title
:
'字典数据'
,
activeMenu
:
'/system/dict'
}
meta
:
{
title
:
'字典数据'
,
activeMenu
:
'/system/dict'
}
}
]
},
...
...
@@ -134,7 +134,7 @@ export const constantRoutes = [
path
:
'index'
,
component
:
(
resolve
)
=>
require
([
'@/views/monitor/job/log'
],
resolve
),
name
:
'JobLog'
,
meta
:
{
title
:
'调度日志'
,
activeMenu
:
'/monitor/job'
}
meta
:
{
title
:
'调度日志'
,
activeMenu
:
'/monitor/job'
}
}
]
},
...
...
@@ -147,7 +147,7 @@ export const constantRoutes = [
path
:
'index'
,
component
:
(
resolve
)
=>
require
([
'@/views/tool/gen/editTable'
],
resolve
),
name
:
'GenEdit'
,
meta
:
{
title
:
'修改生成配置'
,
activeMenu
:
'/tool/gen'
}
meta
:
{
title
:
'修改生成配置'
,
activeMenu
:
'/tool/gen'
}
}
]
}
...
...
ruoyi-ui/src/store/modules/permission.js
浏览文件 @
026a4271
import
{
constantRoutes
}
from
'@/router'
import
{
getRouters
}
from
'@/api/menu'
import
Layout
from
'@/layout/index'
import
ParentView
from
'@/components/ParentView'
;
import
ParentView
from
'@/components/ParentView'
import
InnerLink
from
'@/layout/components/InnerLink'
const
permission
=
{
...
...
@@ -24,7 +24,7 @@ const permission = {
// 顶部导航菜单默认添加统计报表栏指向首页
const
index
=
[{
path
:
'index'
,
meta
:
{
title
:
'统计报表'
,
icon
:
'dashboard'
}
meta
:
{
title
:
'统计报表'
,
icon
:
'dashboard'
}
}]
state
.
topbarRouters
=
routes
.
concat
(
index
);
},
...
...
ruoyi-ui/src/store/modules/settings.js
浏览文件 @
026a4271
...
...
@@ -8,7 +8,7 @@ const state = {
theme
:
storageSetting
.
theme
||
'#409EFF'
,
sideTheme
:
storageSetting
.
sideTheme
||
sideTheme
,
showSettings
:
showSettings
,
topNav
:
storageSetting
.
topNav
===
undefined
?
topNav
:
storageSetting
.
topNav
,
topNav
:
storageSetting
.
topNav
===
undefined
?
topNav
:
storageSetting
.
topNav
,
tagsView
:
storageSetting
.
tagsView
===
undefined
?
tagsView
:
storageSetting
.
tagsView
,
fixedHeader
:
storageSetting
.
fixedHeader
===
undefined
?
fixedHeader
:
storageSetting
.
fixedHeader
,
sidebarLogo
:
storageSetting
.
sidebarLogo
===
undefined
?
sidebarLogo
:
storageSetting
.
sidebarLogo
,
...
...
ruoyi-ui/src/store/modules/user.js
浏览文件 @
026a4271
...
...
@@ -66,7 +66,7 @@ const user = {
})
})
},
// 退出系统
LogOut
({
commit
,
state
})
{
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论