Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
C
competitionWeb
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
competitionWeb
提交
170e8f22
提交
170e8f22
编写于
7月 23, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 20240723更新
上级
565a7b26
流水线
#27968
已通过 ,包含阶段
in 41 second
变更
21
流水线
1
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
21 个修改的文件
包含
237 行增加
和
116 行删除
+237
-116
README.md
README.md
+5
-3
chunk-5df0b75b.f758b81a.css
dist/css/chunk-5df0b75b.f758b81a.css
+1
-0
chunk-6e80ba00.a53fce60.css
dist/css/chunk-6e80ba00.a53fce60.css
+1
-0
chunk-7623528c.bd49af03.css
dist/css/chunk-7623528c.bd49af03.css
+1
-1
index.html
dist/index.html
+1
-1
app.49a67d05.js
dist/js/app.49a67d05.js
+2
-2
chunk-28824624.9f995c9d.js
dist/js/chunk-28824624.9f995c9d.js
+0
-1
chunk-5df0b75b.6c82c7ec.js
dist/js/chunk-5df0b75b.6c82c7ec.js
+1
-0
chunk-6e80ba00.c559741c.js
dist/js/chunk-6e80ba00.c559741c.js
+1
-0
chunk-7623528c.693ab464.js
dist/js/chunk-7623528c.693ab464.js
+1
-0
chunk-79dbe901.5ee68e32.js
dist/js/chunk-79dbe901.5ee68e32.js
+0
-1
chunk-vendors.98ed7692.js
dist/js/chunk-vendors.98ed7692.js
+1
-1
postApiCompetitionReportApiCompetitionReportReportTempSave.d.ts
...iCompetitionReportApiCompetitionReportReportTempSave.d.ts
+2
-2
getApiFlowViewApiFlowViewGetFlowInfo.d.ts
...roller/FlowView/getApiFlowViewApiFlowViewGetFlowInfo.d.ts
+1
-0
CodeRequests.d.ts
src/api/interface/apiTypes/CodeRequests.d.ts
+1
-0
FlowReport.d.ts
src/api/interface/apiTypes/FlowReport.d.ts
+1
-3
FlowViewModel.d.ts
src/api/interface/apiTypes/FlowViewModel.d.ts
+1
-0
edit.vue
src/pages/eventApplication/components/student/edit.vue
+50
-21
edit.vue
src/pages/eventApplication/components/teacher/edit.vue
+56
-25
edit.vue
src/pages/eventApplication/student/edit.vue
+50
-25
edit.vue
src/pages/eventApplication/teacher/edit.vue
+60
-30
未找到文件。
README.md
浏览文件 @
170e8f22
...
@@ -72,6 +72,8 @@ _# 竞赛管理系统
...
@@ -72,6 +72,8 @@ _# 竞赛管理系统
-
赛事报名审批页和详情页增加专家字段
-
赛事报名审批页和详情页增加专家字段
-
所有我的流程,流程状态:“退回发起人”,可重新发起流程。
-
所有我的流程,流程状态:“退回发起人”,可重新发起流程。
-
新增事申请待办、已办、我的流程列表
-
新增事申请待办、已办、我的流程列表
-
20240531
-
20240723
-
放开赛事目录权限为所有用户;
1.
赛事申请:
-
专家列表编辑、删除,管理员鉴权;
-
教师调整获取赛事编号追加批次字段作为查询条件
-
学生调整获取赛事编号追加批次字段作为查询条件
dist/css/chunk-
28824624.1faa3401
.css
→
dist/css/chunk-
5df0b75b.f758b81a
.css
浏览文件 @
170e8f22
[
data-v-1c6ffbeb
]
.ivu-select-single
.ivu-select-selection
.ivu-select-placeholder
{
color
:
#515a6e
}
.Select
[
data-v-1c6ffbeb
]
.ivu-select-dropdown
{
width
:
500px
;
max-height
:
600px
;
overflow
:
auto
;
margin
:
5px
0
;
padding
:
5px
0
;
background-color
:
#fff
;
box-sizing
:
border-box
;
border-radius
:
4px
;
box-shadow
:
0
1px
6px
rgba
(
0
,
0
,
0
,
.2
);
position
:
absolute
;
z-index
:
900
}
.con
[
data-v-1c6ffbeb
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-1c6ffbeb
]
{
width
:
1000px
;
height
:
610px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
box-shadow
:
0
0
10px
#bdbdbd
}
.filelist
[
data-v-1c6ffbeb
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-1c6ffbeb
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
[
data-v-ab091bc6
]
.ivu-select-single
.ivu-select-selection
.ivu-select-placeholder
{
color
:
#515a6e
}
.Select
[
data-v-ab091bc6
]
.ivu-select-dropdown
{
width
:
500px
;
max-height
:
600px
;
overflow
:
auto
;
margin
:
5px
0
;
padding
:
5px
0
;
background-color
:
#fff
;
box-sizing
:
border-box
;
border-radius
:
4px
;
box-shadow
:
0
1px
6px
rgba
(
0
,
0
,
0
,
.2
);
position
:
absolute
;
z-index
:
900
}
.con
[
data-v-ab091bc6
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-ab091bc6
]
{
width
:
1000px
;
height
:
610px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
box-shadow
:
0
0
10px
#bdbdbd
}
.filelist
[
data-v-ab091bc6
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-ab091bc6
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
\ No newline at end of file
\ No newline at end of file
dist/css/chunk-
79dbe901.a35b5bac
.css
→
dist/css/chunk-
6e80ba00.a53fce60
.css
浏览文件 @
170e8f22
[
data-v-9140f2c8
]
.ivu-select-single
.ivu-select-selection
.ivu-select-placeholder
{
color
:
#515a6e
}
.Select
[
data-v-9140f2c8
]
.ivu-select-dropdown
{
width
:
500px
;
max-height
:
600px
;
overflow
:
auto
;
margin
:
5px
0
;
padding
:
5px
0
;
background-color
:
#fff
;
box-sizing
:
border-box
;
border-radius
:
4px
;
box-shadow
:
0
1px
6px
rgba
(
0
,
0
,
0
,
.2
);
position
:
absolute
;
z-index
:
900
}
.con
[
data-v-9140f2c8
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-9140f2c8
]
{
width
:
1000px
;
height
:
610px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
box-shadow
:
0
0
10px
#bdbdbd
}
.filelist
[
data-v-9140f2c8
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-9140f2c8
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
[
data-v-6ec32152
]
.ivu-select-single
.ivu-select-selection
.ivu-select-placeholder
{
color
:
#515a6e
}
.Select
[
data-v-6ec32152
]
.ivu-select-dropdown
{
width
:
500px
;
max-height
:
600px
;
overflow
:
auto
;
margin
:
5px
0
;
padding
:
5px
0
;
background-color
:
#fff
;
box-sizing
:
border-box
;
border-radius
:
4px
;
box-shadow
:
0
1px
6px
rgba
(
0
,
0
,
0
,
.2
);
position
:
absolute
;
z-index
:
900
}
.con
[
data-v-6ec32152
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-6ec32152
]
{
width
:
1000px
;
height
:
610px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
box-shadow
:
0
0
10px
#bdbdbd
}
.filelist
[
data-v-6ec32152
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-6ec32152
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
\ No newline at end of file
\ No newline at end of file
dist/css/chunk-7
859b939.0cbddd86
.css
→
dist/css/chunk-7
623528c.bd49af03
.css
浏览文件 @
170e8f22
.con
[
data-v-cc7f2272
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-cc7f2272
]
{
height
:
410px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
overflow-y
:
auto
}
.filelist
[
data-v-cc7f2272
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-cc7f2272
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
[
data-v-1e6167cb
]
.ivu-select-single
.ivu-select-selection
.ivu-select-placeholder
{
color
:
#515a6e
}
.Select
[
data-v-1e6167cb
]
.ivu-select-dropdown
{
width
:
500px
;
max-height
:
600px
;
overflow
:
auto
;
margin
:
5px
0
;
padding
:
5px
0
;
background-color
:
#fff
;
box-sizing
:
border-box
;
border-radius
:
4px
;
box-shadow
:
0
1px
6px
rgba
(
0
,
0
,
0
,
.2
);
position
:
absolute
;
z-index
:
900
}
.con
[
data-v-1e6167cb
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-1e6167cb
]
{
height
:
410px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
overflow-y
:
auto
}
.filelist
[
data-v-1e6167cb
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-1e6167cb
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
.con
[
data-v-7907c181
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-7907c181
]
{
height
:
410px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
overflow-y
:
auto
}
.filelist
[
data-v-7907c181
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-7907c181
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
[
data-v-b9f5d926
]
.ivu-select-single
.ivu-select-selection
.ivu-select-placeholder
{
color
:
#515a6e
}
.Select
[
data-v-b9f5d926
]
.ivu-select-dropdown
{
width
:
500px
;
max-height
:
600px
;
overflow
:
auto
;
margin
:
5px
0
;
padding
:
5px
0
;
background-color
:
#fff
;
box-sizing
:
border-box
;
border-radius
:
4px
;
box-shadow
:
0
1px
6px
rgba
(
0
,
0
,
0
,
.2
);
position
:
absolute
;
z-index
:
900
}
.con
[
data-v-b9f5d926
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-b9f5d926
]
{
height
:
410px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
overflow-y
:
auto
}
.filelist
[
data-v-b9f5d926
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-b9f5d926
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
.cancel
{
cursor
:
not-allowed
;
color
:
#c5c8ce
}
.con
[
data-v-cc7f2272
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-cc7f2272
]
{
height
:
410px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
overflow-y
:
auto
}
.filelist
[
data-v-cc7f2272
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-cc7f2272
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
[
data-v-14f2980c
]
.ivu-select-single
.ivu-select-selection
.ivu-select-placeholder
{
color
:
#515a6e
}
.Select
[
data-v-14f2980c
]
.ivu-select-dropdown
{
width
:
500px
;
max-height
:
600px
;
overflow
:
auto
;
margin
:
5px
0
;
padding
:
5px
0
;
background-color
:
#fff
;
box-sizing
:
border-box
;
border-radius
:
4px
;
box-shadow
:
0
1px
6px
rgba
(
0
,
0
,
0
,
.2
);
position
:
absolute
;
z-index
:
900
}
.con
[
data-v-14f2980c
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-14f2980c
]
{
height
:
410px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
overflow-y
:
auto
}
.filelist
[
data-v-14f2980c
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-14f2980c
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
.con
[
data-v-7907c181
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-7907c181
]
{
height
:
410px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
overflow-y
:
auto
}
.filelist
[
data-v-7907c181
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-7907c181
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
[
data-v-1f6f9472
]
.ivu-select-single
.ivu-select-selection
.ivu-select-placeholder
{
color
:
#515a6e
}
.Select
[
data-v-1f6f9472
]
.ivu-select-dropdown
{
width
:
500px
;
max-height
:
600px
;
overflow
:
auto
;
margin
:
5px
0
;
padding
:
5px
0
;
background-color
:
#fff
;
box-sizing
:
border-box
;
border-radius
:
4px
;
box-shadow
:
0
1px
6px
rgba
(
0
,
0
,
0
,
.2
);
position
:
absolute
;
z-index
:
900
}
.con
[
data-v-1f6f9472
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-1f6f9472
]
{
height
:
410px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
overflow-y
:
auto
}
.filelist
[
data-v-1f6f9472
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-1f6f9472
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
.cancel
{
cursor
:
not-allowed
;
color
:
#c5c8ce
}
\ No newline at end of file
\ No newline at end of file
dist/index.html
浏览文件 @
170e8f22
<!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.ad11fdf3.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.d0680bec.js
></script><script
src=
js/app.52f35e52.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.ad11fdf3.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.98ed7692.js
></script><script
src=
js/app.49a67d05.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app.
52f35e52
.js
→
dist/js/app.
49a67d05
.js
浏览文件 @
170e8f22
此差异已折叠。
点击以展开。
dist/js/chunk-28824624.9f995c9d.js
已删除
100644 → 0
浏览文件 @
565a7b26
此差异已折叠。
点击以展开。
dist/js/chunk-5df0b75b.6c82c7ec.js
0 → 100644
浏览文件 @
170e8f22
此差异已折叠。
点击以展开。
dist/js/chunk-6e80ba00.c559741c.js
0 → 100644
浏览文件 @
170e8f22
此差异已折叠。
点击以展开。
dist/js/chunk-7
859b939.8b205255
.js
→
dist/js/chunk-7
623528c.693ab464
.js
浏览文件 @
170e8f22
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-79dbe901.5ee68e32.js
已删除
100644 → 0
浏览文件 @
565a7b26
此差异已折叠。
点击以展开。
dist/js/chunk-vendors.
d0680bec
.js
→
dist/js/chunk-vendors.
98ed7692
.js
浏览文件 @
170e8f22
此差异已折叠。
点击以展开。
src/api/controller/CompetitionReport/postApiCompetitionReportApiCompetitionReportReportTempSave.d.ts
浏览文件 @
170e8f22
import
{
type
AxiosRequestConfig
}
from
"
axios
"
;
import
{
type
AxiosRequestConfig
}
from
"
axios
"
;
import
{
type
ReportTempUpdate
}
from
"
../../interface
"
;
import
{
type
FlowReportUpdateRequests
}
from
"
../../interface
"
;
/**
/**
* 赛事修改暂存修改
* 赛事修改暂存修改
* /api/CompetitionReport/api/CompetitionReport/ReportTempSave
* /api/CompetitionReport/api/CompetitionReport/ReportTempSave
*/
*/
export
declare
function
postApiCompetitionReportApiCompetitionReportReportTempSave
(
input
?:
ReportTempUpdate
,
config
?:
AxiosRequestConfig
):
import
(
"
axios
"
).
AxiosPromise
<
{
export
declare
function
postApiCompetitionReportApiCompetitionReportReportTempSave
(
input
?:
FlowReportUpdateRequests
,
config
?:
AxiosRequestConfig
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
code
:
number
;
status
:
string
;
status
:
string
;
msg
:
string
;
msg
:
string
;
...
...
src/api/controller/FlowView/getApiFlowViewApiFlowViewGetFlowInfo.d.ts
浏览文件 @
170e8f22
...
@@ -11,6 +11,7 @@ export declare function getApiFlowViewApiFlowViewGetFlowInfo(params: GetApiFlowV
...
@@ -11,6 +11,7 @@ export declare function getApiFlowViewApiFlowViewGetFlowInfo(params: GetApiFlowV
response
:
{
response
:
{
taskid
:
string
;
taskid
:
string
;
runid
:
string
;
runid
:
string
;
flowid
:
string
;
module
:
string
;
module
:
string
;
competitionReport
:
{
competitionReport
:
{
competitionreportid
:
string
;
competitionreportid
:
string
;
...
...
src/api/interface/apiTypes/CodeRequests.d.ts
浏览文件 @
170e8f22
export
interface
CodeRequests
{
export
interface
CodeRequests
{
condition
?:
string
;
condition
?:
string
;
competition_method
?:
number
;
competition_method
?:
number
;
competitionbatch_id
?:
string
;
page_index
?:
number
;
page_index
?:
number
;
page_size
?:
number
;
page_size
?:
number
;
}
}
src/api/interface/apiTypes/FlowReport.d.ts
浏览文件 @
170e8f22
import
{
type
CompetitionFile
,
type
Subitem
}
from
"
../../interface
"
;
import
{
type
CompetitionFile
}
from
"
../../interface
"
;
export
interface
FlowReport
{
export
interface
FlowReport
{
/** 流程id */
/** 流程id */
flowid
?:
string
;
flowid
?:
string
;
...
@@ -197,6 +197,4 @@ export interface FlowReport {
...
@@ -197,6 +197,4 @@ export interface FlowReport {
is_del
?:
number
;
is_del
?:
number
;
/** 附件列表 */
/** 附件列表 */
files_list
?:
CompetitionFile
[];
files_list
?:
CompetitionFile
[];
/** 赛项子项集合 */
subitem_list
?:
Subitem
[];
}
}
src/api/interface/apiTypes/FlowViewModel.d.ts
浏览文件 @
170e8f22
...
@@ -2,6 +2,7 @@ import { type CompetitionReport, type CompetitionSign, type Certificate, type Bu
...
@@ -2,6 +2,7 @@ import { type CompetitionReport, type CompetitionSign, type Certificate, type Bu
export
interface
FlowViewModel
{
export
interface
FlowViewModel
{
taskid
?:
string
;
taskid
?:
string
;
runid
?:
string
;
runid
?:
string
;
flowid
?:
string
;
module
?:
string
;
module
?:
string
;
competitionReport
?:
CompetitionReport
;
competitionReport
?:
CompetitionReport
;
competitionSign
?:
CompetitionSign
;
competitionSign
?:
CompetitionSign
;
...
...
src/pages/eventApplication/components/student/edit.vue
浏览文件 @
170e8f22
...
@@ -34,7 +34,8 @@
...
@@ -34,7 +34,8 @@
total
:
0
,
total
:
0
,
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
5
,
pageSize
:
5
,
competition_method
:
0
competition_method
:
0
,
"
competitionbatch_id
"
:
""
,
},
},
changecommitid
:
''
,
changecommitid
:
''
,
flowid
:
113
,
flowid
:
113
,
...
@@ -126,7 +127,30 @@
...
@@ -126,7 +127,30 @@
},
},
props
:
[
'
formId
'
,
'
runId
'
,],
props
:
[
'
formId
'
,
'
runId
'
,],
methods
:
{
methods
:
{
batchChange
(
value
)
{
//批次变化
this
.
formValidate
=
{
flowid
:
113
,
competition_method
:
0
,
name
:
''
,
competitionreportid
:
''
,
competitionbatch_id
:
''
,
report_code
:
''
,
competitionname
:
''
,
competitionsubitem_name
:
''
,
dept_id
:
[],
sponsor
:
''
,
competition_level_id
:
''
,
competition_type_id
:
''
,
way
:
''
,
specialty
:
''
,
"
files_list
"
:
[],
}
},
async
addAddressManually
()
{
async
addAddressManually
()
{
//编号列表
this
.
selectionOfEvents
=
true
this
.
selectionOfEvents
=
true
this
.
contestItem
.
loading
=
true
this
.
contestItem
.
loading
=
true
await
new
Promise
((
resolve
)
=>
{
await
new
Promise
((
resolve
)
=>
{
...
@@ -136,6 +160,7 @@
...
@@ -136,6 +160,7 @@
page_index
:
this
.
contestItem
.
pageIndex
,
page_index
:
this
.
contestItem
.
pageIndex
,
page_size
:
this
.
contestItem
.
pageSize
,
page_size
:
this
.
contestItem
.
pageSize
,
competition_method
:
this
.
contestItem
.
competition_method
,
competition_method
:
this
.
contestItem
.
competition_method
,
competitionbatch_id
:
this
.
formValidate
.
competitionbatch_id
,
}
}
api
.
GetCodeList
(
data
).
then
(
res
=>
{
api
.
GetCodeList
(
data
).
then
(
res
=>
{
this
.
contestItem
.
total
=
res
.
response
.
data_count
this
.
contestItem
.
total
=
res
.
response
.
data_count
...
@@ -148,29 +173,17 @@
...
@@ -148,29 +173,17 @@
this
.
contestItem
.
loading
=
false
this
.
contestItem
.
loading
=
false
},
},
saveTheEventSingleOption
()
{
saveTheEventSingleOption
()
{
this
.
formValidate
=
{...
this
.
formValidate
,
...
this
.
selectTheNumberMedian
,
competition_method
:
this
.
tabsName
}
this
.
formValidate
=
{
...
this
.
formValidate
,
...
this
.
selectTheNumberMedian
,
competitionbatch_id
:
this
.
formValidate
.
competitionbatch_id
,
competition_method
:
this
.
tabsName
,
dept_id
:
this
.
selectTheNumberMedian
.
dept_id
?
this
.
selectTheNumberMedian
.
dept_id
.
split
(
'
;
'
).
filter
(
cur
=>
cur
!==
''
)
:
[]
}
this
.
formValidate
.
competition_type_name
!==
'
A类
'
?
this
.
formValidate
.
class_hour
=
String
(
0
)
:
null
this
.
formValidate
.
competition_type_name
!==
'
A类
'
?
this
.
formValidate
.
class_hour
=
String
(
0
)
:
null
this
.
$refs
.
select
.
visible
=
false
this
.
$refs
.
select
.
visible
=
false
this
.
$refs
.
select1
.
visible
=
false
this
.
selectionOfEvents
=
false
this
.
selectionOfEvents
=
false
},
},
contestItemhandleChangePage
(
e
)
{
this
.
contestItem
.
pageIndex
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
contestItemhandleChangePageSize
(
e
)
{
this
.
contestItem
.
pageSize
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
tableRadio
(
e
)
{
this
.
selectTheNumberMedian
=
e
console
.
log
(
"
🚀🚀🚀,
"
,
e
)
},
async
onOpenChange
(
e
)
{
async
onOpenChange
(
e
)
{
if
(
e
)
{
if
(
e
)
{
this
.
contestItem
.
loading
=
true
this
.
contestItem
.
loading
=
true
...
@@ -181,6 +194,7 @@
...
@@ -181,6 +194,7 @@
page_index
:
this
.
contestItem
.
pageIndex
,
page_index
:
this
.
contestItem
.
pageIndex
,
page_size
:
this
.
contestItem
.
pageSize
,
page_size
:
this
.
contestItem
.
pageSize
,
competition_method
:
this
.
contestItem
.
competition_method
,
competition_method
:
this
.
contestItem
.
competition_method
,
competitionbatch_id
:
this
.
formValidate
.
competitionbatch_id
,
}
}
api
.
GetCodeList
(
data
).
then
(
res
=>
{
api
.
GetCodeList
(
data
).
then
(
res
=>
{
this
.
contestItem
.
total
=
res
.
response
.
data_count
this
.
contestItem
.
total
=
res
.
response
.
data_count
...
@@ -194,6 +208,19 @@
...
@@ -194,6 +208,19 @@
}
}
},
},
contestItemhandleChangePage
(
e
)
{
this
.
contestItem
.
pageIndex
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
contestItemhandleChangePageSize
(
e
)
{
this
.
contestItem
.
pageSize
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
tableRadio
(
e
)
{
this
.
selectTheNumberMedian
=
e
},
async
competitionSelectName
(
e
)
{
async
competitionSelectName
(
e
)
{
// const res = await api.ReportChange({id: e})
// const res = await api.ReportChange({id: e})
const
res
=
await
api
.
ReportChangeById
({
id
:
e
})
const
res
=
await
api
.
ReportChangeById
({
id
:
e
})
...
@@ -380,7 +407,8 @@
...
@@ -380,7 +407,8 @@
<Row
:span=
"24"
style=
"display: flex;justify-content: space-between"
>
<Row
:span=
"24"
style=
"display: flex;justify-content: space-between"
>
<Col
v-bind=
"grid"
>
<Col
v-bind=
"grid"
>
<FormItem
label=
"学年名称"
prop=
"competitionbatch_id"
>
<FormItem
label=
"学年名称"
prop=
"competitionbatch_id"
>
<Select
clearable
filterable
v-model=
"formValidate.competitionbatch_id"
style=
"width:100%"
>
<Select
@
on-clear=
"batchChange"
clearable
filterable
v-model=
"formValidate.competitionbatch_id"
style=
"width:100%"
>
<Option
v-for=
"item in batchList"
:value=
"item.id"
:key=
"item.id"
>
{{
item
.
name
}}
</Option>
<Option
v-for=
"item in batchList"
:value=
"item.id"
:key=
"item.id"
>
{{
item
.
name
}}
</Option>
</Select>
</Select>
</FormItem>
</FormItem>
...
@@ -392,6 +420,7 @@
...
@@ -392,6 +420,7 @@
<FormItem
label=
"赛事编号"
prop=
"report_code"
>
<FormItem
label=
"赛事编号"
prop=
"report_code"
>
<div
style=
"display: flex"
>
<div
style=
"display: flex"
>
<Select
<Select
:disabled=
"!formValidate.competitionbatch_id"
class=
"Select"
class=
"Select"
ref=
"select"
ref=
"select"
v-model=
"formValidate.report_code"
v-model=
"formValidate.report_code"
...
...
src/pages/eventApplication/components/teacher/edit.vue
浏览文件 @
170e8f22
...
@@ -127,6 +127,27 @@
...
@@ -127,6 +127,27 @@
props
:
[
'
formId
'
,
'
runId
'
,],
props
:
[
'
formId
'
,
'
runId
'
,],
methods
:
{
methods
:
{
batchChange
(
value
)
{
//批次变化
this
.
formValidate
=
{
flowid
:
114
,
competition_method
:
1
,
name
:
''
,
competitionreportid
:
''
,
competitionbatch_id
:
''
,
report_code
:
''
,
competitionname
:
''
,
competitionsubitem_name
:
''
,
dept_id
:
[],
sponsor
:
''
,
competition_level_id
:
''
,
competition_type_id
:
''
,
way
:
''
,
specialty
:
''
,
"
files_list
"
:
[],
}
},
async
addAddressManually
()
{
async
addAddressManually
()
{
this
.
selectionOfEvents
=
true
this
.
selectionOfEvents
=
true
this
.
contestItem
.
loading
=
true
this
.
contestItem
.
loading
=
true
...
@@ -137,6 +158,7 @@
...
@@ -137,6 +158,7 @@
page_index
:
this
.
contestItem
.
pageIndex
,
page_index
:
this
.
contestItem
.
pageIndex
,
page_size
:
this
.
contestItem
.
pageSize
,
page_size
:
this
.
contestItem
.
pageSize
,
competition_method
:
this
.
contestItem
.
competition_method
,
competition_method
:
this
.
contestItem
.
competition_method
,
competitionbatch_id
:
this
.
formValidate
.
competitionbatch_id
,
}
}
api
.
GetCodeList
(
data
).
then
(
res
=>
{
api
.
GetCodeList
(
data
).
then
(
res
=>
{
this
.
contestItem
.
total
=
res
.
response
.
data_count
this
.
contestItem
.
total
=
res
.
response
.
data_count
...
@@ -148,30 +170,6 @@
...
@@ -148,30 +170,6 @@
})
})
this
.
contestItem
.
loading
=
false
this
.
contestItem
.
loading
=
false
},
},
saveTheEventSingleOption
()
{
this
.
formValidate
=
{...
this
.
formValidate
,
...
this
.
selectTheNumberMedian
,
competition_method
:
this
.
tabsName
}
this
.
formValidate
.
competition_type_name
!==
'
A类
'
?
this
.
formValidate
.
class_hour
=
String
(
0
)
:
null
this
.
$refs
.
select
.
visible
=
false
this
.
$refs
.
select1
.
visible
=
false
this
.
selectionOfEvents
=
false
},
contestItemhandleChangePage
(
e
)
{
this
.
contestItem
.
pageIndex
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
contestItemhandleChangePageSize
(
e
)
{
this
.
contestItem
.
pageSize
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
tableRadio
(
e
)
{
this
.
selectTheNumberMedian
=
e
console
.
log
(
"
🚀🚀🚀,
"
,
e
)
},
async
onOpenChange
(
e
)
{
async
onOpenChange
(
e
)
{
if
(
e
)
{
if
(
e
)
{
this
.
contestItem
.
loading
=
true
this
.
contestItem
.
loading
=
true
...
@@ -182,6 +180,7 @@
...
@@ -182,6 +180,7 @@
page_index
:
this
.
contestItem
.
pageIndex
,
page_index
:
this
.
contestItem
.
pageIndex
,
page_size
:
this
.
contestItem
.
pageSize
,
page_size
:
this
.
contestItem
.
pageSize
,
competition_method
:
this
.
contestItem
.
competition_method
,
competition_method
:
this
.
contestItem
.
competition_method
,
competitionbatch_id
:
this
.
formValidate
.
competitionbatch_id
,
}
}
api
.
GetCodeList
(
data
).
then
(
res
=>
{
api
.
GetCodeList
(
data
).
then
(
res
=>
{
this
.
contestItem
.
total
=
res
.
response
.
data_count
this
.
contestItem
.
total
=
res
.
response
.
data_count
...
@@ -194,7 +193,37 @@
...
@@ -194,7 +193,37 @@
this
.
contestItem
.
loading
=
false
this
.
contestItem
.
loading
=
false
}
}
},
},
saveTheEventSingleOption
()
{
//
this
.
formValidate
=
{
...
this
.
formValidate
,
...
this
.
selectTheNumberMedian
,
competitionbatch_id
:
this
.
formValidate
.
competitionbatch_id
,
competition_method
:
this
.
tabsName
,
dept_id
:
this
.
selectTheNumberMedian
.
dept_id
?
this
.
selectTheNumberMedian
.
dept_id
.
split
(
'
;
'
).
filter
(
cur
=>
cur
!==
''
)
:
[]
}
this
.
formValidate
.
competition_type_name
!==
'
A类
'
?
this
.
formValidate
.
class_hour
=
String
(
0
)
:
null
this
.
$refs
.
select
.
visible
=
false
this
.
selectionOfEvents
=
false
},
contestItemhandleChangePage
(
e
)
{
this
.
contestItem
.
pageIndex
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
contestItemhandleChangePageSize
(
e
)
{
this
.
contestItem
.
pageSize
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
tableRadio
(
e
)
{
this
.
selectTheNumberMedian
=
e
console
.
log
(
"
🚀🚀🚀,
"
,
e
)
},
async
competitionSelectName
(
e
)
{
async
competitionSelectName
(
e
)
{
const
res
=
await
api
.
ReportChangeById
({
id
:
e
})
const
res
=
await
api
.
ReportChangeById
({
id
:
e
})
this
.
formValidate
.
sponsor
=
res
.
response
.
sponsor
this
.
formValidate
.
sponsor
=
res
.
response
.
sponsor
...
@@ -378,7 +407,8 @@
...
@@ -378,7 +407,8 @@
<Row
:span=
"24"
style=
"display: flex;justify-content: space-between"
>
<Row
:span=
"24"
style=
"display: flex;justify-content: space-between"
>
<Col
v-bind=
"grid"
>
<Col
v-bind=
"grid"
>
<FormItem
label=
"学年名称"
prop=
"competitionbatch_id"
>
<FormItem
label=
"学年名称"
prop=
"competitionbatch_id"
>
<Select
clearable
filterable
v-model=
"formValidate.competitionbatch_id"
style=
"width:100%"
>
<Select
@
on-clear=
"batchChange"
clearable
filterable
v-model=
"formValidate.competitionbatch_id"
style=
"width:100%"
>
<Option
v-for=
"item in batchList"
:value=
"item.id"
:key=
"item.id"
>
{{
item
.
name
}}
</Option>
<Option
v-for=
"item in batchList"
:value=
"item.id"
:key=
"item.id"
>
{{
item
.
name
}}
</Option>
</Select>
</Select>
</FormItem>
</FormItem>
...
@@ -390,6 +420,7 @@
...
@@ -390,6 +420,7 @@
<FormItem
label=
"赛事编号"
prop=
"report_code"
>
<FormItem
label=
"赛事编号"
prop=
"report_code"
>
<div
style=
"display: flex"
>
<div
style=
"display: flex"
>
<Select
<Select
:disabled=
"!formValidate.competitionbatch_id"
class=
"Select"
class=
"Select"
ref=
"select"
ref=
"select"
v-model=
"formValidate.report_code"
v-model=
"formValidate.report_code"
...
...
src/pages/eventApplication/student/edit.vue
浏览文件 @
170e8f22
...
@@ -34,7 +34,8 @@
...
@@ -34,7 +34,8 @@
total
:
0
,
total
:
0
,
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
5
,
pageSize
:
5
,
competition_method
:
0
competition_method
:
0
,
"
competitionbatch_id
"
:
""
,
},
},
changecommitid
:
''
,
changecommitid
:
''
,
flowid
:
113
,
flowid
:
113
,
...
@@ -125,7 +126,29 @@
...
@@ -125,7 +126,29 @@
this
.
GetDeptSeletct
()
this
.
GetDeptSeletct
()
},
},
methods
:
{
methods
:
{
batchChange
(
value
)
{
//批次变化
this
.
formValidate
=
{
flowid
:
113
,
competition_method
:
0
,
name
:
''
,
competitionreportid
:
''
,
competitionbatch_id
:
''
,
report_code
:
''
,
competitionname
:
''
,
competitionsubitem_name
:
''
,
dept_id
:
[],
sponsor
:
''
,
competition_level_id
:
''
,
competition_type_id
:
''
,
way
:
''
,
specialty
:
''
,
"
files_list
"
:
[],
}
},
async
addAddressManually
()
{
async
addAddressManually
()
{
//编号列表
this
.
selectionOfEvents
=
true
this
.
selectionOfEvents
=
true
this
.
contestItem
.
loading
=
true
this
.
contestItem
.
loading
=
true
await
new
Promise
((
resolve
)
=>
{
await
new
Promise
((
resolve
)
=>
{
...
@@ -135,6 +158,7 @@
...
@@ -135,6 +158,7 @@
page_index
:
this
.
contestItem
.
pageIndex
,
page_index
:
this
.
contestItem
.
pageIndex
,
page_size
:
this
.
contestItem
.
pageSize
,
page_size
:
this
.
contestItem
.
pageSize
,
competition_method
:
this
.
contestItem
.
competition_method
,
competition_method
:
this
.
contestItem
.
competition_method
,
competitionbatch_id
:
this
.
formValidate
.
competitionbatch_id
,
}
}
api
.
GetCodeList
(
data
).
then
(
res
=>
{
api
.
GetCodeList
(
data
).
then
(
res
=>
{
this
.
contestItem
.
total
=
res
.
response
.
data_count
this
.
contestItem
.
total
=
res
.
response
.
data_count
...
@@ -147,29 +171,17 @@
...
@@ -147,29 +171,17 @@
this
.
contestItem
.
loading
=
false
this
.
contestItem
.
loading
=
false
},
},
saveTheEventSingleOption
()
{
saveTheEventSingleOption
()
{
this
.
formValidate
=
{...
this
.
formValidate
,
...
this
.
selectTheNumberMedian
,
competition_method
:
this
.
tabsName
}
this
.
formValidate
=
{
...
this
.
formValidate
,
...
this
.
selectTheNumberMedian
,
competitionbatch_id
:
this
.
formValidate
.
competitionbatch_id
,
competition_method
:
this
.
tabsName
,
dept_id
:
this
.
selectTheNumberMedian
.
dept_id
?
this
.
selectTheNumberMedian
.
dept_id
.
split
(
'
;
'
).
filter
(
cur
=>
cur
!==
''
)
:
[]
}
this
.
formValidate
.
competition_type_name
!==
'
A类
'
?
this
.
formValidate
.
class_hour
=
String
(
0
)
:
null
this
.
formValidate
.
competition_type_name
!==
'
A类
'
?
this
.
formValidate
.
class_hour
=
String
(
0
)
:
null
this
.
$refs
.
select
.
visible
=
false
this
.
$refs
.
select
.
visible
=
false
this
.
$refs
.
select1
.
visible
=
false
this
.
selectionOfEvents
=
false
this
.
selectionOfEvents
=
false
},
},
contestItemhandleChangePage
(
e
)
{
this
.
contestItem
.
pageIndex
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
contestItemhandleChangePageSize
(
e
)
{
this
.
contestItem
.
pageSize
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
tableRadio
(
e
)
{
this
.
selectTheNumberMedian
=
e
console
.
log
(
"
🚀🚀🚀,
"
,
e
)
},
async
onOpenChange
(
e
)
{
async
onOpenChange
(
e
)
{
if
(
e
)
{
if
(
e
)
{
this
.
contestItem
.
loading
=
true
this
.
contestItem
.
loading
=
true
...
@@ -180,6 +192,7 @@
...
@@ -180,6 +192,7 @@
page_index
:
this
.
contestItem
.
pageIndex
,
page_index
:
this
.
contestItem
.
pageIndex
,
page_size
:
this
.
contestItem
.
pageSize
,
page_size
:
this
.
contestItem
.
pageSize
,
competition_method
:
this
.
contestItem
.
competition_method
,
competition_method
:
this
.
contestItem
.
competition_method
,
competitionbatch_id
:
this
.
formValidate
.
competitionbatch_id
,
}
}
api
.
GetCodeList
(
data
).
then
(
res
=>
{
api
.
GetCodeList
(
data
).
then
(
res
=>
{
this
.
contestItem
.
total
=
res
.
response
.
data_count
this
.
contestItem
.
total
=
res
.
response
.
data_count
...
@@ -192,6 +205,20 @@
...
@@ -192,6 +205,20 @@
this
.
contestItem
.
loading
=
false
this
.
contestItem
.
loading
=
false
}
}
},
},
contestItemhandleChangePage
(
e
)
{
this
.
contestItem
.
pageIndex
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
contestItemhandleChangePageSize
(
e
)
{
this
.
contestItem
.
pageSize
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
tableRadio
(
e
)
{
this
.
selectTheNumberMedian
=
e
},
async
competitionSelectName
(
e
)
{
async
competitionSelectName
(
e
)
{
// const res = await api.ReportChange({id: e})
// const res = await api.ReportChange({id: e})
...
@@ -377,25 +404,23 @@
...
@@ -377,25 +404,23 @@
<Row
:span=
"24"
style=
"display: flex;justify-content: space-between"
>
<Row
:span=
"24"
style=
"display: flex;justify-content: space-between"
>
<Col
v-bind=
"grid"
>
<Col
v-bind=
"grid"
>
<FormItem
label=
"学年名称"
prop=
"competitionbatch_id"
>
<FormItem
label=
"学年名称"
prop=
"competitionbatch_id"
>
<Select
clearable
filterable
v-model=
"formValidate.competitionbatch_id"
style=
"width:100%"
>
<Select
@
on-clear=
"batchChange"
clearable
filterable
v-model=
"formValidate.competitionbatch_id"
style=
"width:100%"
>
<Option
v-for=
"item in batchList"
:value=
"item.id"
:key=
"item.id"
>
{{
item
.
name
}}
</Option>
<Option
v-for=
"item in batchList"
:value=
"item.id"
:key=
"item.id"
>
{{
item
.
name
}}
</Option>
</Select>
</Select>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
v-bind=
"grid"
>
<Col
v-bind=
"grid"
>
<!--
<FormItem
label=
"赛事编码"
prop=
"report_code"
>
<Input
clearable
v-model=
"formValidate.report_code"
placeholder=
"请输入赛事编码"
></Input>
</FormItem>
-->
<FormItem
label=
"赛事编号"
prop=
"report_code"
>
<FormItem
label=
"赛事编号"
prop=
"report_code"
>
<div
style=
"display: flex"
>
<div
style=
"display: flex"
>
<Select
<Select
:disabled=
"!formValidate.competitionbatch_id"
class=
"Select"
class=
"Select"
ref=
"select"
ref=
"select"
v-model=
"formValidate.report_code"
v-model=
"formValidate.report_code"
:placeholder=
"formValidate.report_code"
:placeholder=
"formValidate.report_code"
@
on-open-change=
"onOpenChange"
@
on-open-change=
"onOpenChange"
@
on-change=
"competitionSelectName"
@
on-change=
"competitionSelectName"
>
>
<Card>
<Card>
<template
#title
>
<template
#title
>
...
...
src/pages/eventApplication/teacher/edit.vue
浏览文件 @
170e8f22
...
@@ -34,7 +34,8 @@
...
@@ -34,7 +34,8 @@
total
:
0
,
total
:
0
,
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
5
,
pageSize
:
5
,
competition_method
:
1
competition_method
:
1
,
"
competitionbatch_id
"
:
""
,
},
},
changecommitid
:
''
,
changecommitid
:
''
,
flowid
:
114
,
flowid
:
114
,
...
@@ -125,6 +126,27 @@
...
@@ -125,6 +126,27 @@
this
.
GetDeptSeletct
()
this
.
GetDeptSeletct
()
},
},
methods
:
{
methods
:
{
batchChange
(
value
)
{
//批次变化
this
.
formValidate
=
{
flowid
:
114
,
competition_method
:
1
,
name
:
''
,
competitionreportid
:
''
,
competitionbatch_id
:
''
,
report_code
:
''
,
competitionname
:
''
,
competitionsubitem_name
:
''
,
dept_id
:
[],
sponsor
:
''
,
competition_level_id
:
''
,
competition_type_id
:
''
,
way
:
''
,
specialty
:
''
,
"
files_list
"
:
[],
}
},
async
addAddressManually
()
{
async
addAddressManually
()
{
this
.
selectionOfEvents
=
true
this
.
selectionOfEvents
=
true
this
.
contestItem
.
loading
=
true
this
.
contestItem
.
loading
=
true
...
@@ -135,6 +157,7 @@
...
@@ -135,6 +157,7 @@
page_index
:
this
.
contestItem
.
pageIndex
,
page_index
:
this
.
contestItem
.
pageIndex
,
page_size
:
this
.
contestItem
.
pageSize
,
page_size
:
this
.
contestItem
.
pageSize
,
competition_method
:
this
.
contestItem
.
competition_method
,
competition_method
:
this
.
contestItem
.
competition_method
,
competitionbatch_id
:
this
.
formValidate
.
competitionbatch_id
,
}
}
api
.
GetCodeList
(
data
).
then
(
res
=>
{
api
.
GetCodeList
(
data
).
then
(
res
=>
{
this
.
contestItem
.
total
=
res
.
response
.
data_count
this
.
contestItem
.
total
=
res
.
response
.
data_count
...
@@ -146,30 +169,6 @@
...
@@ -146,30 +169,6 @@
})
})
this
.
contestItem
.
loading
=
false
this
.
contestItem
.
loading
=
false
},
},
saveTheEventSingleOption
()
{
this
.
formValidate
=
{...
this
.
formValidate
,
...
this
.
selectTheNumberMedian
,
competition_method
:
this
.
tabsName
}
this
.
formValidate
.
competition_type_name
!==
'
A类
'
?
this
.
formValidate
.
class_hour
=
String
(
0
)
:
null
this
.
$refs
.
select
.
visible
=
false
this
.
$refs
.
select1
.
visible
=
false
this
.
selectionOfEvents
=
false
},
contestItemhandleChangePage
(
e
)
{
this
.
contestItem
.
pageIndex
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
contestItemhandleChangePageSize
(
e
)
{
this
.
contestItem
.
pageSize
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
tableRadio
(
e
)
{
this
.
selectTheNumberMedian
=
e
console
.
log
(
"
🚀🚀🚀,
"
,
e
)
},
async
onOpenChange
(
e
)
{
async
onOpenChange
(
e
)
{
if
(
e
)
{
if
(
e
)
{
this
.
contestItem
.
loading
=
true
this
.
contestItem
.
loading
=
true
...
@@ -180,6 +179,7 @@
...
@@ -180,6 +179,7 @@
page_index
:
this
.
contestItem
.
pageIndex
,
page_index
:
this
.
contestItem
.
pageIndex
,
page_size
:
this
.
contestItem
.
pageSize
,
page_size
:
this
.
contestItem
.
pageSize
,
competition_method
:
this
.
contestItem
.
competition_method
,
competition_method
:
this
.
contestItem
.
competition_method
,
competitionbatch_id
:
this
.
formValidate
.
competitionbatch_id
,
}
}
api
.
GetCodeList
(
data
).
then
(
res
=>
{
api
.
GetCodeList
(
data
).
then
(
res
=>
{
this
.
contestItem
.
total
=
res
.
response
.
data_count
this
.
contestItem
.
total
=
res
.
response
.
data_count
...
@@ -192,6 +192,36 @@
...
@@ -192,6 +192,36 @@
this
.
contestItem
.
loading
=
false
this
.
contestItem
.
loading
=
false
}
}
},
},
saveTheEventSingleOption
()
{
//
this
.
formValidate
=
{
...
this
.
formValidate
,
...
this
.
selectTheNumberMedian
,
competitionbatch_id
:
this
.
formValidate
.
competitionbatch_id
,
competition_method
:
this
.
tabsName
,
dept_id
:
this
.
selectTheNumberMedian
.
dept_id
?
this
.
selectTheNumberMedian
.
dept_id
.
split
(
'
;
'
).
filter
(
cur
=>
cur
!==
''
)
:
[]
}
this
.
formValidate
.
competition_type_name
!==
'
A类
'
?
this
.
formValidate
.
class_hour
=
String
(
0
)
:
null
this
.
$refs
.
select
.
visible
=
false
this
.
selectionOfEvents
=
false
},
contestItemhandleChangePage
(
e
)
{
this
.
contestItem
.
pageIndex
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
contestItemhandleChangePageSize
(
e
)
{
this
.
contestItem
.
pageSize
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
tableRadio
(
e
)
{
this
.
selectTheNumberMedian
=
e
console
.
log
(
"
🚀🚀xx🚀,
"
,
e
)
},
async
competitionSelectName
(
e
)
{
async
competitionSelectName
(
e
)
{
const
res
=
await
api
.
ReportChangeById
({
id
:
e
})
const
res
=
await
api
.
ReportChangeById
({
id
:
e
})
...
@@ -277,12 +307,14 @@
...
@@ -277,12 +307,14 @@
info
.
race_level
=
Number
(
info
.
race_level
)
info
.
race_level
=
Number
(
info
.
race_level
)
this
.
formValidate
=
{...
this
.
formValidate
,
...
info
}
this
.
formValidate
=
{...
this
.
formValidate
,
...
info
}
console
.
log
(
"
🚀🚀formValidate🚀,
"
,
this
.
formValidate
)
if
(
this
.
formValidate
.
dept_id
)
{
if
(
this
.
formValidate
.
dept_id
)
{
//分割格式
//分割格式
this
.
formValidate
.
dept_id
=
this
.
formValidate
.
dept_id
.
split
(
'
;
'
).
filter
(
cur
=>
cur
!==
''
)
this
.
formValidate
.
dept_id
=
this
.
formValidate
.
dept_id
.
split
(
'
;
'
).
filter
(
cur
=>
cur
!==
''
)
}
}
this
.
formValidate
.
files_list
=
res
.
response
.
files_list
this
.
formValidate
.
files_list
=
res
.
response
.
files_list
console
.
log
(
"
🚀🚀formValidate🚀,
"
,
this
.
formValidate
)
/*res.response.files_list.map((cur, index) => {
/*res.response.files_list.map((cur, index) => {
if (cur.module === 'Project') this.preparationPlan.push(cur)
if (cur.module === 'Project') this.preparationPlan.push(cur)
}) // 培训方案文件 仅标识*/
}) // 培训方案文件 仅标识*/
...
@@ -375,15 +407,13 @@
...
@@ -375,15 +407,13 @@
<Row
:span=
"24"
style=
"display: flex;justify-content: space-between"
>
<Row
:span=
"24"
style=
"display: flex;justify-content: space-between"
>
<Col
v-bind=
"grid"
>
<Col
v-bind=
"grid"
>
<FormItem
label=
"学年名称"
prop=
"competitionbatch_id"
>
<FormItem
label=
"学年名称"
prop=
"competitionbatch_id"
>
<Select
clearable
filterable
v-model=
"formValidate.competitionbatch_id"
style=
"width:100%"
>
<Select
@
on-clear=
"batchChange"
clearable
filterable
v-model=
"formValidate.competitionbatch_id"
style=
"width:100%"
>
<Option
v-for=
"item in batchList"
:value=
"item.id"
:key=
"item.id"
>
{{
item
.
name
}}
</Option>
<Option
v-for=
"item in batchList"
:value=
"item.id"
:key=
"item.id"
>
{{
item
.
name
}}
</Option>
</Select>
</Select>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
v-bind=
"grid"
>
<Col
v-bind=
"grid"
>
<!--
<FormItem
label=
"赛事编码"
prop=
"report_code"
>
<Input
clearable
v-model=
"formValidate.report_code"
placeholder=
"请输入赛事编码"
></Input>
</FormItem>
-->
<FormItem
label=
"赛事编号"
prop=
"report_code"
>
<FormItem
label=
"赛事编号"
prop=
"report_code"
>
<div
style=
"display: flex"
>
<div
style=
"display: flex"
>
<Select
<Select
...
@@ -393,7 +423,7 @@
...
@@ -393,7 +423,7 @@
:placeholder=
"formValidate.report_code"
:placeholder=
"formValidate.report_code"
@
on-open-change=
"onOpenChange"
@
on-open-change=
"onOpenChange"
@
on-change=
"competitionSelectName"
@
on-change=
"competitionSelectName"
:disabled=
"!formValidate.competitionbatch_id"
>
>
<Card>
<Card>
<template
#title
>
<template
#title
>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录