Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
C
competitionWeb
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
competitionWeb
提交
0008f9c0
提交
0008f9c0
编写于
11月 19, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 20241118 学生赛事报名,关联课程字段必填
上级
8b1f782f
流水线
#31032
已通过 ,包含阶段
in 51 second
变更
12
流水线
1
展开全部
显示空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
24 行增加
和
23 行删除
+24
-23
chunk-1aff950c.b041a949.css
dist/css/chunk-1aff950c.b041a949.css
+1
-1
index.html
dist/index.html
+1
-1
app~748942c6.f494c04b.js
dist/js/app~748942c6.f494c04b.js
+3
-3
chunk-1aff950c.facc755b.js
dist/js/chunk-1aff950c.facc755b.js
+1
-1
chunk-vendors~f9ca8911.f121cdcb.js
dist/js/chunk-vendors~f9ca8911.f121cdcb.js
+1
-1
index.vue
src/layouts/basic-layout/header-user/index.vue
+2
-1
eventApproval.js
src/menu/modules/eventApproval.js
+2
-2
eventCatalogue.js
src/menu/modules/eventCatalogue.js
+3
-2
gradeDeclaration.js
src/menu/modules/gradeDeclaration.js
+5
-5
systemConmfiguration.js
src/menu/modules/systemConmfiguration.js
+1
-1
studentDirectory.vue
src/pages/eventCatalogue/studentDirectory.vue
+0
-2
account.js
src/store/modules/admin/modules/account.js
+4
-3
未找到文件。
dist/css/chunk-
5b046a20.e0a7b2f3
.css
→
dist/css/chunk-
1aff950c.b041a949
.css
浏览文件 @
0008f9c0
.buttonFocus
[
data-v-52df1ff8
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-52df1ff8
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-52df1ff8
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-45d6c00e
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.demo-drawer-footer
[
data-v-45d6c00e
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
[
data-v-5a3bcc38
]
.ivu-menu
{
display
:
block
;
margin
:
0
;
padding
:
0
;
outline
:
none
;
list-style
:
none
;
color
:
#515a6e
;
font-size
:
14px
;
position
:
relative
;
z-index
:
1
}
.buttonFocus
[
data-v-52df1ff8
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-52df1ff8
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-52df1ff8
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-45d6c00e
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.demo-drawer-footer
[
data-v-45d6c00e
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
[
data-v-3892b798
]
.ivu-menu
{
display
:
block
;
margin
:
0
;
padding
:
0
;
outline
:
none
;
list-style
:
none
;
color
:
#515a6e
;
font-size
:
14px
;
position
:
relative
;
z-index
:
1
}
\ No newline at end of file
\ No newline at end of file
dist/index.html
浏览文件 @
0008f9c0
<!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.30aeb3e3.js
></script><script
src=
js/app~748942c6.8012e15c.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.f121cdcb.js
></script><script
src=
js/app~748942c6.f494c04b.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app~748942c6.
8012e15c
.js
→
dist/js/app~748942c6.
f494c04b
.js
浏览文件 @
0008f9c0
此差异已折叠。
点击以展开。
dist/js/chunk-
5b046a20.0d654ac6
.js
→
dist/js/chunk-
1aff950c.facc755b
.js
浏览文件 @
0008f9c0
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-vendors~f9ca8911.
30aeb3e3
.js
→
dist/js/chunk-vendors~f9ca8911.
f121cdcb
.js
浏览文件 @
0008f9c0
此差异已折叠。
点击以展开。
src/layouts/basic-layout/header-user/index.vue
浏览文件 @
0008f9c0
...
@@ -79,7 +79,8 @@
...
@@ -79,7 +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
===
'
管理员
'
?
'
admin
'
:
"
xxx
"
,
(
key
.
role_name
===
'
管理员
'
||
key
.
role_name
===
'
学院负责人
'
)
?
'
adminOrDeptPrincipal
'
:
"
xxx
"
]
access
:
[
key
.
role_name
]
// 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
浏览文件 @
0008f9c0
...
@@ -17,12 +17,12 @@ export default {
...
@@ -17,12 +17,12 @@ export default {
{
{
path
:
`/flow-awaitDoneList`
,
path
:
`/flow-awaitDoneList`
,
title
:
'
待办流程
'
,
title
:
'
待办流程
'
,
auth
:
[
'
admin
'
],
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
},
},
{
{
path
:
`/flow-processedList`
,
path
:
`/flow-processedList`
,
title
:
'
已办流程
'
,
title
:
'
已办流程
'
,
auth
:
[
'
admin
'
],
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
},
},
{
{
path
:
`/flow-myFlowList`
,
path
:
`/flow-myFlowList`
,
...
...
src/menu/modules/eventCatalogue.js
浏览文件 @
0008f9c0
...
@@ -23,14 +23,15 @@ export default {
...
@@ -23,14 +23,15 @@ export default {
},
},
{
{
path
:
`
${
pre
}
-expertsInformation`
,
path
:
`
${
pre
}
-expertsInformation`
,
title
:
'
专家信息
'
title
:
'
专家信息
'
,
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
},
},
{
{
// path: `${pre}-eventApplication`,
// path: `${pre}-eventApplication`,
title
:
'
赛事申请
'
,
title
:
'
赛事申请
'
,
path
:
'
/77-1
'
,
path
:
'
/77-1
'
,
header
:
'
home
'
,
header
:
'
home
'
,
auth
:
[
'
adminOrDeptPrincipal
'
],
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
children
:
[
children
:
[
{
{
path
:
`
${
pre
}
-teacherAdd`
,
path
:
`
${
pre
}
-teacherAdd`
,
...
...
src/menu/modules/gradeDeclaration.js
浏览文件 @
0008f9c0
...
@@ -33,12 +33,12 @@ export default {
...
@@ -33,12 +33,12 @@ export default {
{
{
path
:
`/flow-awaitDoneList-Certificate`
,
path
:
`/flow-awaitDoneList-Certificate`
,
title
:
'
待办流程
'
,
title
:
'
待办流程
'
,
auth
:
[
'
admin
'
],
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
},
},
{
{
path
:
`/flow-processedList-Certificate`
,
path
:
`/flow-processedList-Certificate`
,
title
:
'
已办流程
'
,
title
:
'
已办流程
'
,
auth
:
[
'
admin
'
],
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
},
},
{
{
path
:
`/flow-myFlowList-Certificate`
,
path
:
`/flow-myFlowList-Certificate`
,
...
@@ -166,16 +166,16 @@ export default {
...
@@ -166,16 +166,16 @@ export default {
{
{
path
:
`/flow-awaitDoneList-rewardForTeachersAndStudents`
,
path
:
`/flow-awaitDoneList-rewardForTeachersAndStudents`
,
title
:
'
待办流程
'
,
title
:
'
待办流程
'
,
auth
:
[
'
admin
'
],
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
},
},
{
{
path
:
`/flow-processedList-rewardForTeachersAndStudents`
,
path
:
`/flow-processedList-rewardForTeachersAndStudents`
,
title
:
'
已办流程
'
,
title
:
'
已办流程
'
,
auth
:
[
'
admin
'
],
auth
:
[
'
管理员
'
,
'
学院负责人
'
],
},
},
{
{
path
:
`/flow-myFlowList-rewardForTeachersAndStudents`
,
path
:
`/flow-myFlowList-rewardForTeachersAndStudents`
,
title
:
'
我的流程
'
title
:
'
我的流程
'
,
}
}
]
]
},
},
...
...
src/menu/modules/systemConmfiguration.js
浏览文件 @
0008f9c0
...
@@ -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
:
[
'
admin
'
],
auth
:
[
'
管理员
'
],
children
:
[
children
:
[
{
{
path
:
'
/9-1
'
,
path
:
'
/9-1
'
,
...
...
src/pages/eventCatalogue/studentDirectory.vue
浏览文件 @
0008f9c0
...
@@ -9,12 +9,10 @@
...
@@ -9,12 +9,10 @@
<Icon
type=
"ios-paper"
/>
<Icon
type=
"ios-paper"
/>
批次管理
批次管理
</MenuItem>
</MenuItem>
</Menu>
</Menu>
<br>
<br>
<eventMatalogMaintenance
v-if=
"componentState === 1"
:studentOrTeacher=
"'student'"
/>
<eventMatalogMaintenance
v-if=
"componentState === 1"
:studentOrTeacher=
"'student'"
/>
<batchManagement
v-if=
"componentState === 2"
:studentOrTeacher=
"'student'"
/>
<batchManagement
v-if=
"componentState === 2"
:studentOrTeacher=
"'student'"
/>
</Card>
</Card>
</
template
>
</
template
>
...
...
src/store/modules/admin/modules/account.js
浏览文件 @
0008f9c0
...
@@ -72,13 +72,14 @@ export default {
...
@@ -72,13 +72,14 @@ export default {
// let Role = '管理员'
// let Role = '管理员'
// let split = res.response.role[0].split('"')
// let split = res.response.role[0].split('"')
// if(split.indexOf(Role)!== -1){
// if(split.indexOf(Role)!== -1){
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
)],
}
console
.
log
(
"
🚀res.response.role.map(cur => cur.role_name)🚀🚀,
"
,
res
.
response
.
role
.
map
(
cur
=>
cur
.
role_name
))
// await
// await
dispatch
(
'
admin/user/set
'
,
info
,
{
root
:
true
});
dispatch
(
'
admin/user/set
'
,
info
,
{
root
:
true
});
// 用户登录后从持久化数据加载一系列的设置
// 用户登录后从持久化数据加载一系列的设置
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录