Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
C
competitionWeb
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
competitionWeb
提交
c5f04f6b
提交
c5f04f6b
编写于
11月 22, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 20241122 更改成绩申报统计列表字段
上级
0aa6ddac
变更
9
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
14 行增加
和
106 行删除
+14
-106
index.html
dist/index.html
+1
-1
app~748942c6.545164ae.js
dist/js/app~748942c6.545164ae.js
+0
-30
chunk-vendors~f9ca8911.69de5c32.js
dist/js/chunk-vendors~f9ca8911.69de5c32.js
+0
-60
index.vue
src/layouts/basic-layout/header-user/index.vue
+2
-2
eventApproval.js
src/menu/modules/eventApproval.js
+2
-2
eventCatalogue.js
src/menu/modules/eventCatalogue.js
+2
-2
gradeDeclaration.js
src/menu/modules/gradeDeclaration.js
+4
-4
systemConmfiguration.js
src/menu/modules/systemConmfiguration.js
+1
-1
account.js
src/store/modules/admin/modules/account.js
+2
-4
未找到文件。
dist/index.html
浏览文件 @
c5f04f6b
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
竞赛管理
</title><link
href=
css/chunk-vendors~253ae210.71a233fb.css
rel=
stylesheet
><link
href=
css/chunk-vendors~f9ca8911.6d189742.css
rel=
stylesheet
><link
href=
css/app~748942c6.db0ab0a4.css
rel=
stylesheet
></head><body><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 竞赛管理。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors~253ae210.c21551cb.js
></script><script
src=
js/chunk-vendors~db300d2f.e266578a.js
></script><script
src=
js/chunk-vendors~690b702c.00a2f77e.js
></script><script
src=
js/chunk-vendors~f9ca8911.69de5c32.js
></script><script
src=
js/app~748942c6.545164ae.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
竞赛管理
</title><link
href=
css/chunk-vendors~253ae210.71a233fb.css
rel=
stylesheet
><link
href=
css/chunk-vendors~f9ca8911.6d189742.css
rel=
stylesheet
><link
href=
css/app~748942c6.db0ab0a4.css
rel=
stylesheet
></head><body><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 竞赛管理。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors~253ae210.c21551cb.js
></script><script
src=
js/chunk-vendors~db300d2f.e266578a.js
></script><script
src=
js/chunk-vendors~690b702c.00a2f77e.js
></script><script
src=
js/chunk-vendors~f9ca8911.d601ce0e.js
></script><script
src=
js/app~748942c6.565ef9f6.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app~748942c6.545164ae.js
已删除
100644 → 0
浏览文件 @
0aa6ddac
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-vendors~f9ca8911.69de5c32.js
已删除
100644 → 0
浏览文件 @
0aa6ddac
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
src/layouts/basic-layout/header-user/index.vue
浏览文件 @
c5f04f6b
...
@@ -79,8 +79,8 @@
...
@@ -79,8 +79,8 @@
let
info
=
{
let
info
=
{
name
:
'
asc666
'
,
name
:
'
asc666
'
,
avatar
:
'
https://dev-file.iviewui.com/userinfoPDvn9gKWYihR24SpgC319vXY8qniCqj4/avatar
'
,
avatar
:
'
https://dev-file.iviewui.com/userinfoPDvn9gKWYihR24SpgC319vXY8qniCqj4/avatar
'
,
access
:
[
key
.
role_name
]
//
access: [key.role_name]
//
access: [key.role_name === '管理员' ? 'admin' : "xxx", (key.role_name === '管理员' || key.role_name === '学院负责人') ? 'adminOrDeptPrincipal' : "xxx"]
access
:
[
key
.
role_name
===
'
管理员
'
?
'
admin
'
:
"
xxx
"
,
(
key
.
role_name
===
'
管理员
'
||
key
.
role_name
===
'
学院负责人
'
)
?
'
adminOrDeptPrincipal
'
:
"
xxx
"
]
}
}
// await
// await
await
this
.
$store
.
dispatch
(
'
admin/user/set
'
,
info
,
{
root
:
true
}
);
await
this
.
$store
.
dispatch
(
'
admin/user/set
'
,
info
,
{
root
:
true
}
);
...
...
src/menu/modules/eventApproval.js
浏览文件 @
c5f04f6b
...
@@ -17,12 +17,12 @@ export default {
...
@@ -17,12 +17,12 @@ export default {
{
{
path
:
`/flow-awaitDoneList`
,
path
:
`/flow-awaitDoneList`
,
title
:
'
待办流程
'
,
title
:
'
待办流程
'
,
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
auth
:
[
'
adminOrDeptPrincipal
'
],
},
},
{
{
path
:
`/flow-processedList`
,
path
:
`/flow-processedList`
,
title
:
'
已办流程
'
,
title
:
'
已办流程
'
,
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
auth
:
[
'
adminOrDeptPrincipal
'
],
},
},
{
{
path
:
`/flow-myFlowList`
,
path
:
`/flow-myFlowList`
,
...
...
src/menu/modules/eventCatalogue.js
浏览文件 @
c5f04f6b
...
@@ -24,14 +24,14 @@ export default {
...
@@ -24,14 +24,14 @@ export default {
{
{
path
:
`
${
pre
}
-expertsInformation`
,
path
:
`
${
pre
}
-expertsInformation`
,
title
:
'
专家信息
'
,
title
:
'
专家信息
'
,
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
auth
:
[
'
adminOrDeptPrincipal
'
],
},
},
{
{
// path: `${pre}-eventApplication`,
// path: `${pre}-eventApplication`,
title
:
'
赛事申请
'
,
title
:
'
赛事申请
'
,
path
:
'
/77-1
'
,
path
:
'
/77-1
'
,
header
:
'
home
'
,
header
:
'
home
'
,
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
auth
:
[
'
adminOrDeptPrincipal
'
],
children
:
[
children
:
[
{
{
path
:
`
${
pre
}
-teacherAdd`
,
path
:
`
${
pre
}
-teacherAdd`
,
...
...
src/menu/modules/gradeDeclaration.js
浏览文件 @
c5f04f6b
...
@@ -33,12 +33,12 @@ export default {
...
@@ -33,12 +33,12 @@ export default {
{
{
path
:
`/flow-awaitDoneList-Certificate`
,
path
:
`/flow-awaitDoneList-Certificate`
,
title
:
'
待办流程
'
,
title
:
'
待办流程
'
,
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
auth
:
[
'
adminOrDeptPrincipal
'
],
},
},
{
{
path
:
`/flow-processedList-Certificate`
,
path
:
`/flow-processedList-Certificate`
,
title
:
'
已办流程
'
,
title
:
'
已办流程
'
,
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
auth
:
[
'
adminOrDeptPrincipal
'
],
},
},
{
{
path
:
`/flow-myFlowList-Certificate`
,
path
:
`/flow-myFlowList-Certificate`
,
...
@@ -166,12 +166,12 @@ export default {
...
@@ -166,12 +166,12 @@ export default {
{
{
path
:
`/flow-awaitDoneList-rewardForTeachersAndStudents`
,
path
:
`/flow-awaitDoneList-rewardForTeachersAndStudents`
,
title
:
'
待办流程
'
,
title
:
'
待办流程
'
,
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
auth
:
[
'
adminOrDeptPrincipal
'
],
},
},
{
{
path
:
`/flow-processedList-rewardForTeachersAndStudents`
,
path
:
`/flow-processedList-rewardForTeachersAndStudents`
,
title
:
'
已办流程
'
,
title
:
'
已办流程
'
,
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
auth
:
[
'
adminOrDeptPrincipal
'
],
},
},
{
{
path
:
`/flow-myFlowList-rewardForTeachersAndStudents`
,
path
:
`/flow-myFlowList-rewardForTeachersAndStudents`
,
...
...
src/menu/modules/systemConmfiguration.js
浏览文件 @
c5f04f6b
...
@@ -12,7 +12,7 @@ export let config = {
...
@@ -12,7 +12,7 @@ export let config = {
icon
:
'
md-flower
'
,
icon
:
'
md-flower
'
,
// auth: ['ordinaryUser', 'admin'][Number(hooks.getUserRole() ? hooks.getUserRole() : false)],
// auth: ['ordinaryUser', 'admin'][Number(hooks.getUserRole() ? hooks.getUserRole() : false)],
// auth: ['ordinaryUser', 'admin'][1],
// auth: ['ordinaryUser', 'admin'][1],
auth
:
[
'
管理员
'
],
auth
:
[
'
admin
'
],
children
:
[
children
:
[
{
{
path
:
'
/9-1
'
,
path
:
'
/9-1
'
,
...
...
src/store/modules/admin/modules/account.js
浏览文件 @
c5f04f6b
...
@@ -75,9 +75,8 @@ export default {
...
@@ -75,9 +75,8 @@ export default {
var
info
=
{
var
info
=
{
name
:
'
asc666
'
,
name
:
'
asc666
'
,
avatar
:
'
https://dev-file.iviewui.com/userinfoPDvn9gKWYihR24SpgC319vXY8qniCqj4/avatar
'
,
avatar
:
'
https://dev-file.iviewui.com/userinfoPDvn9gKWYihR24SpgC319vXY8qniCqj4/avatar
'
,
// access: [hooks.isAdmin() ? 'admin' : "xxx", hooks.isAdminOrDeptPrincipal() ? 'adminOrDeptPrincipal' : "xxx",],
access
:
[
hooks
.
isAdmin
()
?
'
admin
'
:
"
xxx
"
,
hooks
.
isAdminOrDeptPrincipal
()
?
'
adminOrDeptPrincipal
'
:
"
xxx
"
,],
access
:
[
res
.
response
.
role
.
map
(
cur
=>
cur
.
role_name
)],
// access: [res.response.role.map(cur => cur.role_name)],
}
}
console
.
log
(
"
🚀res.response.role.map(cur => cur.role_name)🚀🚀,
"
,
res
.
response
.
role
.
map
(
cur
=>
cur
.
role_name
))
console
.
log
(
"
🚀res.response.role.map(cur => cur.role_name)🚀🚀,
"
,
res
.
response
.
role
.
map
(
cur
=>
cur
.
role_name
))
// await
// await
...
@@ -92,7 +91,6 @@ export default {
...
@@ -92,7 +91,6 @@ export default {
// name:'403',
// name:'403',
// })
// })
// }
// }
})
})
// // 设置 vuex 用户信息
// // 设置 vuex 用户信息
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录