Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
C
competitionWeb
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
competitionWeb
提交
20973e97
提交
20973e97
编写于
4月 17, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
V20240417 应急添加成绩申报和师生奖励
上级
3cbc9941
变更
12
展开全部
显示空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
2442 行增加
和
75 行删除
+2442
-75
dist.zip
dist.zip
+0
-0
index.html
dist/index.html
+1
-1
pc.zip
pc.zip
+0
-0
index.js
src/hook/index.js
+8
-2
eventStatistics.js
src/menu/modules/eventStatistics.js
+12
-0
index.vue
src/pages/Certificate/index.vue
+77
-67
index.vue
src/pages/CompetitionSign/index.vue
+0
-1
reportWorkloadAndSubsidy.vue
src/pages/competitionCount/reportWorkloadAndSubsidy.vue
+1202
-0
rewardForTeachersAndStudents.vue
src/pages/competitionCount/rewardForTeachersAndStudents.vue
+1121
-0
log.vue
src/pages/systemConfiguration/log.vue
+0
-4
index.js
src/plugins/request/index.js
+1
-0
competitionCount.js
src/router/modules/competitionCount.js
+20
-0
未找到文件。
dist.zip
浏览文件 @
20973e97
无法预览此类型文件
dist/index.html
浏览文件 @
20973e97
<!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.064c214c.css
rel=
stylesheet
><link
href=
css/app.8be0473e.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.85f930d9.js
></script><script
src=
js/app.a48f11ef.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.064c214c.css
rel=
stylesheet
><link
href=
css/app.8be0473e.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.4efdd74b.js
></script><script
src=
js/app.a329a78f.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
pc.zip
已删除
100644 → 0
浏览文件 @
3cbc9941
文件已删除
src/hook/index.js
浏览文件 @
20973e97
...
@@ -69,17 +69,23 @@ export function storageAddEventListener(fun) {
...
@@ -69,17 +69,23 @@ export function storageAddEventListener(fun) {
export
async
function
myEncapsulationFunction
(
fun
)
{
export
async
function
myEncapsulationFunction
(
fun
)
{
// Spin.show()
// Spin.show()
Message
.
loading
({
duration
:
0
,
content
:
'
正在提交中...
'
,
})
let
res
=
await
fun
()
let
res
=
await
fun
()
Message
.
destroy
()
try
{
try
{
switch
(
res
.
code
)
{
switch
(
res
.
code
)
{
case
1
:
case
1
:
Message
[
'
success
'
]({
Message
[
'
success
'
]({
background
:
true
,
background
:
true
,
content
:
res
.
msg
content
:
res
.
msg
,
duration
:
2
,
});
});
break
;
break
;
default
:
default
:
Message
[
'
error
'
]({
Message
[
'
error
'
]({
background
:
true
,
background
:
true
,
content
:
res
.
msg_detail
,
content
:
res
.
msg_detail
,
...
...
src/menu/modules/eventStatistics.js
浏览文件 @
20973e97
...
@@ -49,6 +49,18 @@ export default {
...
@@ -49,6 +49,18 @@ export default {
// auth: ['admin'],
// auth: ['admin'],
//
//
// },
// },
{
path
:
'
/reportWorkloadAndSubsidy
'
,
title
:
'
成绩申报(测试)
'
,
header
:
'
home
'
,
icon
:
''
},
{
path
:
'
/rewardForTeachersAndStudents
'
,
title
:
'
师生奖励(测试)
'
,
header
:
'
home
'
,
icon
:
''
},
]
]
}
}
src/pages/Certificate/index.vue
浏览文件 @
20973e97
...
@@ -171,65 +171,69 @@
...
@@ -171,65 +171,69 @@
<div
class=
"tableList"
>
<div
class=
"tableList"
>
<h1
style=
"display: flex;justify-content: center"
>
成绩申报上传
</h1>
<h1
style=
"display: flex;justify-content: center"
>
成绩申报上传
</h1>
<table
border=
"1"
class=
"container1"
>
<table
border=
"1"
class=
"container1"
>
<tr
class=
"row"
v-for=
"(item,index) in drawerKeyValueArray"
:key=
"index"
>
<tr
v-for=
"(item,index) in drawerKeyValueArray"
:key=
"index"
>
<th
v-if=
"item[0]==='level'"
class=
"colTitle"
>
{{ item[2] }}
</th>
<th
class=
"colTitle"
>
{{ item.title }}
</th>
<td
v-if=
"item[0]==='level'"
class=
"colContent"
>
{{ ['国家级', '省一级', '省二级'][item[1]] }}
</td>
<td
class=
"colContent"
>
{{ item.value }}
</td>
</tr>
<!-- <th v-if="item[0]==='team_id'" class="colTitle">{{ item[2] }}</th>-->
<!-- <tr class="row" v-for="(item,index) in drawerKeyValueArray" :key="index">-->
<!-- <td v-if="item[0]==='team_id'" class="colContent">-->
<!-- <th v-if="item[0]==='level'" class="colTitle">{{ item[2] }}</th>-->
<!-- <template>-->
<!-- <td v-if="item[0]==='level'" class="colContent">{{ ['国家级', '省一级', '省二级'][item[1]] }}</td>-->
<!-- <a @click="teamInfo(item[1])">详细</a>-->
<!-- </template>-->
<!-- <!– <th v-if="item[0]==='team_id'" class="colTitle">{{ item[2] }}</th>–>-->
<!-- <!– <td v-if="item[0]==='team_id'" class="colContent">–>-->
<!-- <!– <template>–>-->
<!-- <!– <a @click="teamInfo(item[1])">详细</a>–>-->
<!-- <!– </template>–>-->
<!-- <!– </td>–>-->
<!-- <th v-if="item[0]==='competition_level_id'" class="colTitle">{{ item[2] }}</th>-->
<!-- <td v-if="item[0]==='competition_level_id'" class="colContent">-->
<!-- {{ ['', '国家级', '省一级', '省二级', '国际级'][item[1]] }}-->
<!-- </td>-->
<!-- </td>-->
<th
v-if=
"item[0]==='competition_level_id'"
class=
"colTitle"
>
{{ item[2] }}
</th>
<!-- <th v-if="item[0]==='approval_state'" class="colTitle">{{ item[2] }}</th>-->
<td
v-if=
"item[0]==='competition_level_id'"
class=
"colContent"
>
<!-- <td v-if="item[0]==='approval_state'" class="colContent">-->
{{ ['', '国家级', '省一级', '省二级', '国际级'][item[1]] }}
<!-- {{ ['未审批', '审批中', '审批通过', '审批不通过'][item[1]] }}-->
</td>
<!-- </td>-->
<th
v-if=
"item[0]==='approval_state'"
class=
"colTitle"
>
{{ item[2] }}
</th>
<td
v-if=
"item[0]==='approval_state'"
class=
"colContent"
>
{{ ['未审批', '审批中', '审批通过', '审批不通过'][item[1]] }}
</td>
<th
v-if=
"item[0]==='competition_type_id'"
class=
"colTitle"
>
{{ item[2] }}
</th
>
<!-- <th v-if="item[0]==='competition_type_id'" class="colTitle">{{ item[2] }}</th>--
>
<td
v-if=
"item[0]==='competition_type_id'"
class=
"colContent"
>
<!-- <td v-if="item[0]==='competition_type_id'" class="colContent">--
>
{{ ['', 'A类', 'B类'][item[1]] }}
<!-- {{ ['', 'A类', 'B类'][item[1]] }}-->
</td
>
<!-- </td>--
>
<th
v-if=
"item[0]==='way'"
class=
"colTitle"
>
{{ item[2] }}
</th
>
<!-- <th v-if="item[0]==='way'" class="colTitle">{{ item[2] }}</th>--
>
<td
v-if=
"item[0]==='way'"
class=
"colContent"
>
<!-- <td v-if="item[0]==='way'" class="colContent">--
>
{{ ['团队', '个人'][item[1]] }}
<!-- {{ ['团队', '个人'][item[1]] }}-->
</td
>
<!-- </td>--
>
<th
v-if=
"item[0]!=='studentExcellenceFileList'&&item[0]!=='StudentExcellence'&&item[0]!=='teacherExcellenceFileList'&&item[0]!=='competition_type_id'&&item[0]!=='team_id'&&item[0]!=='level' &&item[0]!=='competition_level_id'&& item[0]!=='way'&& item[0]!=='approval_state'"
<!-- <th v-if="item[0]!=='studentExcellenceFileList'&&item[0]!=='StudentExcellence'&&item[0]!=='teacherExcellenceFileList'&&item[0]!=='competition_type_id'&&item[0]!=='team_id'&&item[0]!=='level' &&item[0]!=='competition_level_id'&& item[0]!=='way'&& item[0]!=='approval_state'"-->
class=
"colTitle"
>
{{
<!-- class="colTitle">{{-->
item[2]
<!-- item[2]-->
}}
<!-- }}-->
</th
>
<!-- </th>--
>
<td
v-if=
"item[0]!=='studentExcellenceFileList'&&item[0]!=='StudentExcellence'&&item[0]!=='teacherExcellenceFileList'&&item[0]!=='competition_type_id'&&item[0]!=='team_id'&&item[0]!=='level'&&item[0]!=='competition_level_id' && item[0]!=='way'&& item[0]!=='approval_state'"
<!-- <td v-if="item[0]!=='studentExcellenceFileList'&&item[0]!=='StudentExcellence'&&item[0]!=='teacherExcellenceFileList'&&item[0]!=='competition_type_id'&&item[0]!=='team_id'&&item[0]!=='level'&&item[0]!=='competition_level_id' && item[0]!=='way'&& item[0]!=='approval_state'"-->
class=
"colContent"
>
{{
<!-- class="colContent">{{-->
item[1]
<!-- item[1]-->
}}
<!-- }}-->
</td
>
<!-- </td>--
>
<th
v-if=
"item[0]==='teacherExcellenceFileList'"
class=
"colTitle"
>
{{ item[2] }}
</th
>
<!-- <th v-if="item[0]==='teacherExcellenceFileList'" class="colTitle">{{ item[2] }}</th>--
>
<td
v-if=
"item[0]==='teacherExcellenceFileList'"
class=
"colContent"
>
<!-- <td v-if="item[0]==='teacherExcellenceFileList'" class="colContent">--
>
<a
:href=
"ite.path"
class=
"aText"
style=
"display: flex;flex-wrap: wrap;justify-content: center"
<!-- <a :href="ite.path" class="aText" style="display: flex;flex-wrap: wrap;justify-content: center"-->
v-for=
"(ite,inde) in item[1]"
<!-- v-for="(ite,inde) in item[1]"-->
:key=
"inde"
>
<!-- :key="inde">--
>
{{ ite.file_name }}
<!-- {{ ite.file_name }}-->
</a
>
<!-- </a>--
>
</td
>
<!-- </td>--
>
<th
v-if=
"item[0]==='studentExcellenceFileList'"
class=
"colTitle"
>
{{ item[2] }}
</th
>
<!-- <th v-if="item[0]==='studentExcellenceFileList'" class="colTitle">{{ item[2] }}</th>--
>
<td
v-if=
"item[0]==='studentExcellenceFileList'"
class=
"colContent"
>
<!-- <td v-if="item[0]==='studentExcellenceFileList'" class="colContent">--
>
<a
:href=
"ite.path"
class=
"aText"
style=
"display: flex;flex-wrap: wrap;justify-content: center"
<!-- <a :href="ite.path" class="aText" style="display: flex;flex-wrap: wrap;justify-content: center"-->
v-for=
"(ite,inde) in item[1]"
<!-- v-for="(ite,inde) in item[1]"-->
:key=
"inde"
>
<!-- :key="inde">--
>
{{ ite.file_name }}
<!-- {{ ite.file_name }}-->
</a
>
<!-- </a>--
>
</td
>
<!-- </td>--
>
<
/tr
>
<
!-- </tr>--
>
<tr>
<tr>
<th>
附件
</th>
<th>
附件
</th>
<td
class=
"colContent"
>
<td
class=
"colContent"
>
...
@@ -1117,21 +1121,27 @@ export default {
...
@@ -1117,21 +1121,27 @@ export default {
'
竞赛形式
'
,
'
竞赛形式
'
,
'
竞赛类别
'
,
'
竞赛类别
'
,
'
赛事级别
'
,
'
赛事级别
'
,
// '证书名称',
// '获奖奖金',
// '证书描述',
'
赛事编号
'
,
'
赛事编号
'
,
// '教师证书',
// '学生证书',
// '审批意见'
];
];
cur
.
push
(
data
[
index
])
cur
.
push
(
data
[
index
])
})
})
this
.
drawerKeyValueArray
=
[
{
title
:
'
赛事名称
'
,
value
:
res
.
response
.
competitionname
},
{
title
:
'
赛事编号
'
,
value
:
res
.
response
.
report_code
},
{
title
:
'
赛项名称
'
,
value
:
res
.
response
.
competitionsubitem_name
},
// {title: '赛事类型', value: ['学生赛', '教师赛'][res.response.bonus.competition_method]},
{
title
:
'
主办单位
'
,
value
:
res
.
response
.
sponsor
},
{
title
:
'
赛事级别
'
,
value
:
res
.
response
.
competition_level_name
},
{
title
:
'
赛事类别
'
,
value
:
res
.
response
.
competition_type_name
},
{
title
:
'
竞赛形式
'
,
value
:
[
'
团队
'
,
'
个人
'
,
'
不限
'
][
res
.
response
.
way
]},
{
title
:
'
比赛开始时间
'
,
value
:
res
.
response
.
begin_time
},
{
title
:
'
比赛结束时间
'
,
value
:
res
.
response
.
end_time
},
{
title
:
'
审批状态
'
,
value
:
publicState
.
flowApprovalState
[
res
.
response
.
approval_state
]},
// {title: '批次', value: res.response.bonus.competitionbatch_name},
]
},
},
// 删除
// 删除
...
...
src/pages/CompetitionSign/index.vue
浏览文件 @
20973e97
...
@@ -582,7 +582,6 @@ export default {
...
@@ -582,7 +582,6 @@ export default {
],
],
loading
:
false
,
loading
:
false
,
tableData
:
[
tableData
:
[
{},
{},
],
],
...
...
src/pages/competitionCount/reportWorkloadAndSubsidy.vue
0 → 100644
浏览文件 @
20973e97
此差异已折叠。
点击以展开。
src/pages/competitionCount/rewardForTeachersAndStudents.vue
0 → 100644
浏览文件 @
20973e97
此差异已折叠。
点击以展开。
src/pages/systemConfiguration/log.vue
浏览文件 @
20973e97
...
@@ -67,7 +67,6 @@
...
@@ -67,7 +67,6 @@
<
template
#is_succeed
="{
row
}"
>
<
template
#is_succeed
="{
row
}"
>
<tag
:color=
"['','error','success'][row.is_succeed]"
>
{{
[
''
,
'
失败
'
,
'
成功
'
][
row
.
is_succeed
]
}}
</tag>
<tag
:color=
"['','error','success'][row.is_succeed]"
>
{{
[
''
,
'
失败
'
,
'
成功
'
][
row
.
is_succeed
]
}}
</tag>
</
template
>
</
template
>
<
template
#messageinfo
="{
row
}"
>
<
template
#messageinfo
="{
row
}"
>
<Ellipsis
:text=
"row.messageinfo"
:height=
"60"
tooltip
transfer
/>
<Ellipsis
:text=
"row.messageinfo"
:height=
"60"
tooltip
transfer
/>
</
template
>
</
template
>
...
@@ -77,7 +76,6 @@
...
@@ -77,7 +76,6 @@
<
template
#remark
="{
row
}"
>
<
template
#remark
="{
row
}"
>
<Ellipsis
:text=
"row.remark"
:height=
"60"
tooltip
transfer
/>
<Ellipsis
:text=
"row.remark"
:height=
"60"
tooltip
transfer
/>
</
template
>
</
template
>
</Table>
</Table>
<div
style=
"height: 60px;display: flex;align-items: center;"
>
<div
style=
"height: 60px;display: flex;align-items: center;"
>
<Page
<Page
...
@@ -225,14 +223,12 @@ export default {
...
@@ -225,14 +223,12 @@ export default {
{
{
title
:
'
链接
'
,
title
:
'
链接
'
,
slot
:
'
meg_link
'
,
slot
:
'
meg_link
'
,
show
:
true
,
show
:
true
,
minWidth
:
250
,
minWidth
:
250
,
},
},
{
{
title
:
'
失败原因
'
,
title
:
'
失败原因
'
,
slot
:
'
remark
'
,
slot
:
'
remark
'
,
show
:
true
,
show
:
true
,
minWidth
:
250
,
minWidth
:
250
,
},
},
...
...
src/plugins/request/index.js
浏览文件 @
20973e97
...
@@ -117,6 +117,7 @@ service.interceptors.response.use(
...
@@ -117,6 +117,7 @@ service.interceptors.response.use(
// errorCreate(`[ code: xxx ] ${dataAxios.msg}: ${response.config.url}`);
// errorCreate(`[ code: xxx ] ${dataAxios.msg}: ${response.config.url}`);
// break;
// break;
default
:
default
:
Message
.
destroy
()
// 不是正确的 code
// 不是正确的 code
// errorCreate(`${dataAxios.msg_detail}: ${response.config.url}`);
// errorCreate(`${dataAxios.msg_detail}: ${response.config.url}`);
errorCreate
(
`
${
dataAxios
.
msg_detail
}
`
);
errorCreate
(
`
${
dataAxios
.
msg_detail
}
`
);
...
...
src/router/modules/competitionCount.js
浏览文件 @
20973e97
...
@@ -63,6 +63,26 @@ export default {
...
@@ -63,6 +63,26 @@ export default {
},
},
component
:
()
=>
import
(
'
@/pages/competitionCount/listOfCollegeGrants.vue
'
)
component
:
()
=>
import
(
'
@/pages/competitionCount/listOfCollegeGrants.vue
'
)
},
},
{
path
:
`reportWorkloadAndSubsidy`
,
name
:
`reportWorkloadAndSubsidy`
,
meta
:
{
...
meta
,
title
:
'
成绩申报(测试)
'
,
closable
:
false
},
component
:
()
=>
import
(
'
@/pages/competitionCount/reportWorkloadAndSubsidy.vue
'
)
},
{
path
:
`rewardForTeachersAndStudents`
,
name
:
`rewardForTeachersAndStudents`
,
meta
:
{
...
meta
,
title
:
'
师生奖励(测试)
'
,
closable
:
false
},
component
:
()
=>
import
(
'
@/pages/competitionCount/rewardForTeachersAndStudents.vue
'
)
},
]
]
};
};
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录