Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
C
competitionWeb
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
competitionWeb
提交
7053bb4f
提交
7053bb4f
编写于
7月 17, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 20240717更新
上级
d2fa94e5
流水线
#27887
已通过 ,包含阶段
in 42 second
变更
29
流水线
1
显示空白字符变更
内嵌
并排
正在显示
29 个修改的文件
包含
47 行增加
和
37 行删除
+47
-37
app.ad11fdf3.css
dist/css/app.ad11fdf3.css
+1
-1
chunk-0b02ae5b.9f9ab294.css
dist/css/chunk-0b02ae5b.9f9ab294.css
+0
-1
chunk-2655b0cd.4be0fd19.css
dist/css/chunk-2655b0cd.4be0fd19.css
+1
-0
chunk-3bea7212.fb32c0af.css
dist/css/chunk-3bea7212.fb32c0af.css
+0
-1
chunk-6c13f532.3a6c0a09.css
dist/css/chunk-6c13f532.3a6c0a09.css
+1
-1
chunk-7859b939.0cbddd86.css
dist/css/chunk-7859b939.0cbddd86.css
+1
-1
chunk-b6497032.001c39dc.css
dist/css/chunk-b6497032.001c39dc.css
+1
-0
index.html
dist/index.html
+1
-1
app.b7b84ec3.js
dist/js/app.b7b84ec3.js
+3
-3
chunk-0b02ae5b.3494565f.js
dist/js/chunk-0b02ae5b.3494565f.js
+0
-1
chunk-2655b0cd.4583f72e.js
dist/js/chunk-2655b0cd.4583f72e.js
+1
-0
chunk-3a4fee04.63165daa.js
dist/js/chunk-3a4fee04.63165daa.js
+1
-1
chunk-3bea7212.8b1c0252.js
dist/js/chunk-3bea7212.8b1c0252.js
+0
-1
chunk-45e8c55e.1360d92e.js
dist/js/chunk-45e8c55e.1360d92e.js
+1
-1
chunk-5e8505da.d3d1a59b.js
dist/js/chunk-5e8505da.d3d1a59b.js
+0
-1
chunk-6c13f532.ad4c8108.js
dist/js/chunk-6c13f532.ad4c8108.js
+1
-0
chunk-7859b939.8b205255.js
dist/js/chunk-7859b939.8b205255.js
+1
-0
chunk-aaf3d210.788a7f1d.js
dist/js/chunk-aaf3d210.788a7f1d.js
+0
-1
chunk-b6497032.884ad94d.js
dist/js/chunk-b6497032.884ad94d.js
+1
-0
chunk-vendors.affefbbf.js
dist/js/chunk-vendors.affefbbf.js
+1
-1
CEditModal.vue
src/components/CEditModal.vue
+2
-0
UpdateSignModal.vue
src/pages/CompetitionSign/components/UpdateSignModal.vue
+7
-11
UpdateSignModalStudentSIgn.vue
...CompetitionSign/components/UpdateSignModalStudentSIgn.vue
+1
-0
index.vue
src/pages/CompetitionSign/index.vue
+12
-6
add.vue
src/pages/eventApplication/components/student/add.vue
+2
-1
eventMatalogMaintenance.vue
...ges/eventCatalogue/components/eventMatalogMaintenance.vue
+3
-2
awaitDoneList.vue
src/pages/flowAssemble/awaitDoneList.vue
+1
-0
completeFlow.vue
src/pages/flowAssemble/completeFlow.vue
+1
-0
myFlow.vue
src/pages/flowAssemble/myFlow.vue
+2
-1
未找到文件。
dist/css/app.
9c550e7f
.css
→
dist/css/app.
ad11fdf3
.css
浏览文件 @
7053bb4f
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/css/chunk-0b02ae5b.9f9ab294.css
已删除
100644 → 0
浏览文件 @
d2fa94e5
.buttonFocus
[
data-v-40eaa8d2
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-40eaa8d2
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-40eaa8d2
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-7769bfe8
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
\ No newline at end of file
dist/css/chunk-2655b0cd.4be0fd19.css
0 → 100644
浏览文件 @
7053bb4f
.tableList
[
data-v-2ce56c92
]
{
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.tableList
.container1
[
data-v-2ce56c92
]
{
border-collapse
:
collapse
;
width
:
100%
;
margin-bottom
:
20px
}
.tableList
.container1
.row
[
data-v-2ce56c92
]
{
width
:
100%
;
height
:
100%
}
.tableList
.container1
.colTitle
[
data-v-2ce56c92
]
{
text-align
:
center
;
width
:
200px
;
height
:
50px
}
.tableList
.container1
.colContent
[
data-v-2ce56c92
]
{
width
:
500px
;
height
:
50px
;
text-align
:
center
}
.tableList
.container1
.aText
[
data-v-2ce56c92
]
:hover
{
transform
:
scale
(
1.2
)}
.tableList
.container1
.Atext
[
data-v-2ce56c92
]
{
float
:
right
;
margin-bottom
:
.7vw
;
margin-top
:
.7vw
;
font-size
:
16px
}
.tableList
.container1
.Atext
[
data-v-2ce56c92
]
:hover
{
transform
:
scale
(
1.2
)}
.carClass
[
data-v-2ce56c92
]
{
border-radius
:
0
!important
;
margin-bottom
:
20px
}
.carClass
[
data-v-2ce56c92
]
.ivu-card
{
display
:
block
;
background
:
#fff
;
border-radius
:
0
!important
;
font-size
:
14px
;
position
:
relative
;
transition
:
all
.2s
ease-in-out
}
\ No newline at end of file
dist/css/chunk-3bea7212.fb32c0af.css
已删除
100644 → 0
浏览文件 @
d2fa94e5
.tableList
[
data-v-cd819aec
]
{
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.tableList
.container1
[
data-v-cd819aec
]
{
border-collapse
:
collapse
;
width
:
100%
;
margin-bottom
:
20px
}
.tableList
.container1
.row
[
data-v-cd819aec
]
{
width
:
100%
;
height
:
100%
}
.tableList
.container1
.colTitle
[
data-v-cd819aec
]
{
text-align
:
center
;
width
:
200px
;
height
:
50px
}
.tableList
.container1
.colContent
[
data-v-cd819aec
]
{
width
:
500px
;
height
:
50px
;
text-align
:
center
}
.tableList
.container1
.aText
[
data-v-cd819aec
]
:hover
{
transform
:
scale
(
1.2
)}
.tableList
.container1
.Atext
[
data-v-cd819aec
]
{
float
:
right
;
margin-bottom
:
.7vw
;
margin-top
:
.7vw
;
font-size
:
16px
}
.tableList
.container1
.Atext
[
data-v-cd819aec
]
:hover
{
transform
:
scale
(
1.2
)}
.carClass
[
data-v-cd819aec
]
{
border-radius
:
0
!important
;
margin-bottom
:
20px
}
.carClass
[
data-v-cd819aec
]
.ivu-card
{
display
:
block
;
background
:
#fff
;
border-radius
:
0
!important
;
font-size
:
14px
;
position
:
relative
;
transition
:
all
.2s
ease-in-out
}
\ No newline at end of file
dist/css/chunk-
aaf3d210.2d74978d
.css
→
dist/css/chunk-
6c13f532.3a6c0a09
.css
浏览文件 @
7053bb4f
[
data-v-e92c37f8
]
.ivu-select-single
.ivu-select-selection
.ivu-select-placeholder
{
color
:
#515a6e
}
[
data-v-e92c37f8
]
.ivu-select-dropdown
{
width
:
inherit
;
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
}
.filelist
[
data-v-e92c37f8
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
}
.fileddelete
[
data-v-e92c37f8
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
[
data-v-50e36116
]
.ivu-select-single
.ivu-select-selection
.ivu-select-placeholder
{
color
:
#515a6e
}
[
data-v-50e36116
]
.ivu-select-dropdown
{
width
:
inherit
;
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
}
.filelist
[
data-v-50e36116
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
}
.fileddelete
[
data-v-50e36116
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
.competitionClassIcon
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.container
{
overflow-y
:
auto
;
width
:
100%
;
//
min-height
:
987px
;
display
:
flex
;
align-content
:
center
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.Atext
{
float
:
right
;
margin-bottom
:
.7vw
;
margin-top
:
.7vw
;
font-size
:
16px
}
.Atext
:hover
{
transform
:
scale
(
1.2
)}
\ No newline at end of file
[
data-v-1ddb1816
]
.ivu-select-single
.ivu-select-selection
.ivu-select-placeholder
{
color
:
#515a6e
}
[
data-v-1ddb1816
]
.ivu-select-dropdown
{
width
:
inherit
;
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
}
.filelist
[
data-v-1ddb1816
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
}
.fileddelete
[
data-v-1ddb1816
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
[
data-v-646029d0
]
.ivu-select-single
.ivu-select-selection
.ivu-select-placeholder
{
color
:
#515a6e
}
[
data-v-646029d0
]
.ivu-select-dropdown
{
width
:
inherit
;
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
}
.filelist
[
data-v-646029d0
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
}
.fileddelete
[
data-v-646029d0
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
.competitionClassIcon
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.container
{
overflow-y
:
auto
;
width
:
100%
;
//
min-height
:
987px
;
display
:
flex
;
align-content
:
center
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.Atext
{
float
:
right
;
margin-bottom
:
.7vw
;
margin-top
:
.7vw
;
font-size
:
16px
}
.Atext
:hover
{
transform
:
scale
(
1.2
)}
\ No newline at end of file
dist/css/chunk-
5e8505da.5d8d44ec
.css
→
dist/css/chunk-
7859b939.0cbddd86
.css
浏览文件 @
7053bb4f
.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-517ce0f3
]
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.card
[
data-v-517ce0f3
]
{
height
:
410px
;
margin
:
15px
auto
;
padding
:
15px
50px
;
background-color
:
#fff
;
overflow-y
:
auto
}
.filelist
[
data-v-517ce0f3
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
;
cursor
:
pointer
}
.fileddelete
[
data-v-517ce0f3
]
: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
}
\ No newline at end of file
.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
}
\ No newline at end of file
dist/css/chunk-b6497032.001c39dc.css
0 → 100644
浏览文件 @
7053bb4f
.buttonFocus
[
data-v-2478f6cb
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-2478f6cb
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-2478f6cb
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-7769bfe8
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
\ No newline at end of file
dist/index.html
浏览文件 @
7053bb4f
<!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.9c550e7f.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.e61d2fe0.js
></script><script
src=
js/app.6660944c.js
></script></body></html>
\ No newline at end of file
<!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.affefbbf.js
></script><script
src=
js/app.b7b84ec3.js
></script></body></html>
\ No newline at end of file
dist/js/app.
6660944c
.js
→
dist/js/app.
b7b84ec3
.js
浏览文件 @
7053bb4f
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-0b02ae5b.3494565f.js
已删除
100644 → 0
浏览文件 @
d2fa94e5
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-0b02ae5b
"
],{
"
22d1
"
:
function
(
t
,
e
){
var
n
=
{};
n
=
"
object
"
===
typeof
wx
&&
"
function
"
===
typeof
wx
.
getSystemInfoSync
?{
browser
:{},
os
:{},
node
:
!
1
,
wxa
:
!
0
,
canvasSupported
:
!
0
,
svgSupported
:
!
1
,
touchEventsSupported
:
!
0
,
domSupported
:
!
1
}:
"
undefined
"
===
typeof
document
&&
"
undefined
"
!==
typeof
self
?{
browser
:{},
os
:{},
node
:
!
1
,
worker
:
!
0
,
canvasSupported
:
!
0
,
domSupported
:
!
1
}:
"
undefined
"
===
typeof
navigator
?{
browser
:{},
os
:{},
node
:
!
0
,
worker
:
!
1
,
canvasSupported
:
!
0
,
svgSupported
:
!
0
,
domSupported
:
!
1
}:
i
(
navigator
.
userAgent
);
var
a
=
n
;
function
i
(
t
){
var
e
=
{},
n
=
{},
a
=
t
.
match
(
/Firefox
\/([\d
.
]
+
)
/
),
i
=
t
.
match
(
/MSIE
\s([\d
.
]
+
)
/
)
||
t
.
match
(
/Trident
\/
.+
?
rv:
(([\d
.
]
+
))
/
),
r
=
t
.
match
(
/Edge
\/([\d
.
]
+
)
/
),
o
=
/micromessenger/i
.
test
(
t
);
return
a
&&
(
n
.
firefox
=!
0
,
n
.
version
=
a
[
1
]),
i
&&
(
n
.
ie
=!
0
,
n
.
version
=
i
[
1
]),
r
&&
(
n
.
edge
=!
0
,
n
.
version
=
r
[
1
]),
o
&&
(
n
.
weChat
=!
0
),{
browser
:
n
,
os
:
e
,
node
:
!
1
,
canvasSupported
:
!!
document
.
createElement
(
"
canvas
"
).
getContext
,
svgSupported
:
"
undefined
"
!==
typeof
SVGRect
,
touchEventsSupported
:
"
ontouchstart
"
in
window
&&!
n
.
ie
&&!
n
.
edge
,
pointerEventsSupported
:
"
onpointerdown
"
in
window
&&
(
n
.
edge
||
n
.
ie
&&
n
.
version
>=
11
),
domSupported
:
"
undefined
"
!==
typeof
document
}}
t
.
exports
=
a
},
"
386d
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
var
a
=
n
(
"
cb7c
"
),
i
=
n
(
"
83a1
"
),
r
=
n
(
"
5f1b
"
);
n
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
n
,
o
){
return
[
function
(
n
){
var
a
=
t
(
this
),
i
=
void
0
==
n
?
void
0
:
n
[
e
];
return
void
0
!==
i
?
i
.
call
(
n
,
a
):
new
RegExp
(
n
)[
e
](
String
(
a
))},
function
(
t
){
var
e
=
o
(
n
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
s
=
a
(
t
),
c
=
String
(
this
),
l
=
s
.
lastIndex
;
i
(
l
,
0
)
||
(
s
.
lastIndex
=
0
);
var
d
=
r
(
s
,
c
);
return
i
(
s
.
lastIndex
,
l
)
||
(
s
.
lastIndex
=
l
),
null
===
d
?
-
1
:
d
.
index
}]}))},
4831
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
(
"
9d17
"
)},
4944
:
function
(
t
,
e
,
n
){},
"
6d8b
"
:
function
(
t
,
e
){
var
n
=
{
"
[object Function]
"
:
1
,
"
[object RegExp]
"
:
1
,
"
[object Date]
"
:
1
,
"
[object Error]
"
:
1
,
"
[object CanvasGradient]
"
:
1
,
"
[object CanvasPattern]
"
:
1
,
"
[object Image]
"
:
1
,
"
[object Canvas]
"
:
1
},
a
=
{
"
[object Int8Array]
"
:
1
,
"
[object Uint8Array]
"
:
1
,
"
[object Uint8ClampedArray]
"
:
1
,
"
[object Int16Array]
"
:
1
,
"
[object Uint16Array]
"
:
1
,
"
[object Int32Array]
"
:
1
,
"
[object Uint32Array]
"
:
1
,
"
[object Float32Array]
"
:
1
,
"
[object Float64Array]
"
:
1
},
i
=
Object
.
prototype
.
toString
,
r
=
Array
.
prototype
,
o
=
r
.
forEach
,
s
=
r
.
filter
,
c
=
r
.
slice
,
l
=
r
.
map
,
d
=
r
.
reduce
,
u
=
{};
function
p
(
t
,
e
){
"
createCanvas
"
===
t
&&
(
y
=
null
),
u
[
t
]
=
e
}
function
m
(
t
){
if
(
null
==
t
||
"
object
"
!==
typeof
t
)
return
t
;
var
e
=
t
,
r
=
i
.
call
(
t
);
if
(
"
[object Array]
"
===
r
){
if
(
!
Y
(
t
)){
e
=
[];
for
(
var
o
=
0
,
s
=
t
.
length
;
o
<
s
;
o
++
)
e
[
o
]
=
m
(
t
[
o
])}}
else
if
(
a
[
r
]){
if
(
!
Y
(
t
)){
var
c
=
t
.
constructor
;
if
(
t
.
constructor
.
from
)
e
=
c
.
from
(
t
);
else
{
e
=
new
c
(
t
.
length
);
for
(
o
=
0
,
s
=
t
.
length
;
o
<
s
;
o
++
)
e
[
o
]
=
m
(
t
[
o
])}}}
else
if
(
!
n
[
r
]
&&!
Y
(
t
)
&&!
G
(
t
))
for
(
var
l
in
e
=
{},
t
)
t
.
hasOwnProperty
(
l
)
&&
(
e
[
l
]
=
m
(
t
[
l
]));
return
e
}
function
f
(
t
,
e
,
n
){
if
(
!
M
(
e
)
||!
M
(
t
))
return
n
?
m
(
e
):
t
;
for
(
var
a
in
e
)
if
(
e
.
hasOwnProperty
(
a
)){
var
i
=
t
[
a
],
r
=
e
[
a
];
!
M
(
r
)
||!
M
(
i
)
||
F
(
r
)
||
F
(
i
)
||
G
(
r
)
||
G
(
i
)
||
T
(
r
)
||
T
(
i
)
||
Y
(
r
)
||
Y
(
i
)?
!
n
&&
a
in
t
||
(
t
[
a
]
=
m
(
e
[
a
],
!
0
)):
f
(
i
,
r
,
n
)}
return
t
}
function
h
(
t
,
e
){
for
(
var
n
=
t
[
0
],
a
=
1
,
i
=
t
.
length
;
a
<
i
;
a
++
)
n
=
f
(
n
,
t
[
a
],
e
);
return
n
}
function
v
(
t
,
e
){
for
(
var
n
in
e
)
e
.
hasOwnProperty
(
n
)
&&
(
t
[
n
]
=
e
[
n
]);
return
t
}
function
g
(
t
,
e
,
n
){
for
(
var
a
in
e
)
e
.
hasOwnProperty
(
a
)
&&
(
n
?
null
!=
e
[
a
]:
null
==
t
[
a
])
&&
(
t
[
a
]
=
e
[
a
]);
return
t
}
var
y
,
b
=
function
(){
return
u
.
createCanvas
()};
function
_
(){
return
y
||
(
y
=
b
().
getContext
(
"
2d
"
)),
y
}
function
w
(
t
,
e
){
if
(
t
){
if
(
t
.
indexOf
)
return
t
.
indexOf
(
e
);
for
(
var
n
=
0
,
a
=
t
.
length
;
n
<
a
;
n
++
)
if
(
t
[
n
]
===
e
)
return
n
}
return
-
1
}
function
x
(
t
,
e
){
var
n
=
t
.
prototype
;
function
a
(){}
for
(
var
i
in
a
.
prototype
=
e
.
prototype
,
t
.
prototype
=
new
a
,
n
)
n
.
hasOwnProperty
(
i
)
&&
(
t
.
prototype
[
i
]
=
n
[
i
]);
t
.
prototype
.
constructor
=
t
,
t
.
superClass
=
e
}
function
k
(
t
,
e
,
n
){
t
=
"
prototype
"
in
t
?
t
.
prototype
:
t
,
e
=
"
prototype
"
in
e
?
e
.
prototype
:
e
,
g
(
t
,
e
,
n
)}
function
S
(
t
){
if
(
t
)
return
"
string
"
!==
typeof
t
&&
"
number
"
===
typeof
t
.
length
}
function
V
(
t
,
e
,
n
){
if
(
t
&&
e
)
if
(
t
.
forEach
&&
t
.
forEach
===
o
)
t
.
forEach
(
e
,
n
);
else
if
(
t
.
length
===+
t
.
length
)
for
(
var
a
=
0
,
i
=
t
.
length
;
a
<
i
;
a
++
)
e
.
call
(
n
,
t
[
a
],
a
,
t
);
else
for
(
var
r
in
t
)
t
.
hasOwnProperty
(
r
)
&&
e
.
call
(
n
,
t
[
r
],
r
,
t
)}
function
O
(
t
,
e
,
n
){
if
(
t
&&
e
){
if
(
t
.
map
&&
t
.
map
===
l
)
return
t
.
map
(
e
,
n
);
for
(
var
a
=
[],
i
=
0
,
r
=
t
.
length
;
i
<
r
;
i
++
)
a
.
push
(
e
.
call
(
n
,
t
[
i
],
i
,
t
));
return
a
}}
function
I
(
t
,
e
,
n
,
a
){
if
(
t
&&
e
){
if
(
t
.
reduce
&&
t
.
reduce
===
d
)
return
t
.
reduce
(
e
,
n
,
a
);
for
(
var
i
=
0
,
r
=
t
.
length
;
i
<
r
;
i
++
)
n
=
e
.
call
(
a
,
n
,
t
[
i
],
i
,
t
);
return
n
}}
function
C
(
t
,
e
,
n
){
if
(
t
&&
e
){
if
(
t
.
filter
&&
t
.
filter
===
s
)
return
t
.
filter
(
e
,
n
);
for
(
var
a
=
[],
i
=
0
,
r
=
t
.
length
;
i
<
r
;
i
++
)
e
.
call
(
n
,
t
[
i
],
i
,
t
)
&&
a
.
push
(
t
[
i
]);
return
a
}}
function
L
(
t
,
e
,
n
){
if
(
t
&&
e
)
for
(
var
a
=
0
,
i
=
t
.
length
;
a
<
i
;
a
++
)
if
(
e
.
call
(
n
,
t
[
a
],
a
,
t
))
return
t
[
a
]}
function
j
(
t
,
e
){
var
n
=
c
.
call
(
arguments
,
2
);
return
function
(){
return
t
.
apply
(
e
,
n
.
concat
(
c
.
call
(
arguments
)))}}
function
E
(
t
){
var
e
=
c
.
call
(
arguments
,
1
);
return
function
(){
return
t
.
apply
(
this
,
e
.
concat
(
c
.
call
(
arguments
)))}}
function
F
(
t
){
return
"
[object Array]
"
===
i
.
call
(
t
)}
function
R
(
t
){
return
"
function
"
===
typeof
t
}
function
B
(
t
){
return
"
[object String]
"
===
i
.
call
(
t
)}
function
M
(
t
){
var
e
=
typeof
t
;
return
"
function
"
===
e
||!!
t
&&
"
object
"
===
e
}
function
T
(
t
){
return
!!
n
[
i
.
call
(
t
)]}
function
P
(
t
){
return
!!
a
[
i
.
call
(
t
)]}
function
G
(
t
){
return
"
object
"
===
typeof
t
&&
"
number
"
===
typeof
t
.
nodeType
&&
"
object
"
===
typeof
t
.
ownerDocument
}
function
A
(
t
){
return
t
!==
t
}
function
$
(
t
){
for
(
var
e
=
0
,
n
=
arguments
.
length
;
e
<
n
;
e
++
)
if
(
null
!=
arguments
[
e
])
return
arguments
[
e
]}
function
q
(
t
,
e
){
return
null
!=
t
?
t
:
e
}
function
D
(
t
,
e
,
n
){
return
null
!=
t
?
t
:
null
!=
e
?
e
:
n
}
function
z
(){
return
Function
.
call
.
apply
(
c
,
arguments
)}
function
W
(
t
){
if
(
"
number
"
===
typeof
t
)
return
[
t
,
t
,
t
,
t
];
var
e
=
t
.
length
;
return
2
===
e
?[
t
[
0
],
t
[
1
],
t
[
0
],
t
[
1
]]:
3
===
e
?[
t
[
0
],
t
[
1
],
t
[
2
],
t
[
1
]]:
t
}
function
U
(
t
,
e
){
if
(
!
t
)
throw
new
Error
(
e
)}
function
N
(
t
){
return
null
==
t
?
null
:
"
function
"
===
typeof
t
.
trim
?
t
.
trim
():
t
.
replace
(
/^
[\s\u
FEFF
\x
A0
]
+|
[\s\u
FEFF
\x
A0
]
+$/g
,
""
)}
u
.
createCanvas
=
function
(){
return
document
.
createElement
(
"
canvas
"
)};
var
H
=
"
__ec_primitive__
"
;
function
K
(
t
){
t
[
H
]
=!
0
}
function
Y
(
t
){
return
t
[
H
]}
function
X
(
t
){
var
e
=
F
(
t
);
this
.
data
=
{};
var
n
=
this
;
function
a
(
t
,
a
){
e
?
n
.
set
(
t
,
a
):
n
.
set
(
a
,
t
)}
t
instanceof
X
?
t
.
each
(
a
):
t
&&
V
(
t
,
a
)}
function
J
(
t
){
return
new
X
(
t
)}
function
Q
(
t
,
e
){
for
(
var
n
=
new
t
.
constructor
(
t
.
length
+
e
.
length
),
a
=
0
;
a
<
t
.
length
;
a
++
)
n
[
a
]
=
t
[
a
];
var
i
=
t
.
length
;
for
(
a
=
0
;
a
<
e
.
length
;
a
++
)
n
[
a
+
i
]
=
e
[
a
];
return
n
}
function
Z
(){}
X
.
prototype
=
{
constructor
:
X
,
get
:
function
(
t
){
return
this
.
data
.
hasOwnProperty
(
t
)?
this
.
data
[
t
]:
null
},
set
:
function
(
t
,
e
){
return
this
.
data
[
t
]
=
e
},
each
:
function
(
t
,
e
){
for
(
var
n
in
void
0
!==
e
&&
(
t
=
j
(
t
,
e
)),
this
.
data
)
this
.
data
.
hasOwnProperty
(
n
)
&&
t
(
this
.
data
[
n
],
n
)},
removeKey
:
function
(
t
){
delete
this
.
data
[
t
]}},
e
.
$override
=
p
,
e
.
clone
=
m
,
e
.
merge
=
f
,
e
.
mergeAll
=
h
,
e
.
extend
=
v
,
e
.
defaults
=
g
,
e
.
createCanvas
=
b
,
e
.
getContext
=
_
,
e
.
indexOf
=
w
,
e
.
inherits
=
x
,
e
.
mixin
=
k
,
e
.
isArrayLike
=
S
,
e
.
each
=
V
,
e
.
map
=
O
,
e
.
reduce
=
I
,
e
.
filter
=
C
,
e
.
find
=
L
,
e
.
bind
=
j
,
e
.
curry
=
E
,
e
.
isArray
=
F
,
e
.
isFunction
=
R
,
e
.
isString
=
B
,
e
.
isObject
=
M
,
e
.
isBuiltInObject
=
T
,
e
.
isTypedArray
=
P
,
e
.
isDom
=
G
,
e
.
eqNaN
=
A
,
e
.
retrieve
=
$
,
e
.
retrieve2
=
q
,
e
.
retrieve3
=
D
,
e
.
slice
=
z
,
e
.
normalizeCssArray
=
W
,
e
.
assert
=
U
,
e
.
trim
=
N
,
e
.
setAsPrimitive
=
K
,
e
.
isPrimitive
=
Y
,
e
.
createHashMap
=
J
,
e
.
concatArray
=
Q
,
e
.
noop
=
Z
},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
"
9cc4
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
t
.
addBatch
}},[
t
.
_v
(
"
添加赛事批次
"
)])]},
proxy
:
!
0
}])},[
n
(
"
br
"
),
n
(
"
br
"
),
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
bed_time
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
a
.
bed_time
?
n
(
"
span
"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
a
.
bed_time
.
split
(
"
00:00
"
)[
0
]
+
"
~
"
+
a
.
end_time
.
split
(
"
00:00
"
)[
0
])
+
"
\n
"
)]):
t
.
_e
()]}},{
key
:
"
competition_method
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
blue
"
][
a
.
competition_method
]}},[
t
.
_v
(
t
.
_s
([
"
学生
"
,
"
教师
"
][
a
.
competition_method
]))])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
edit
(
a
)}}},[
t
.
_v
(
"
编辑
"
)]),
n
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
a
)},
"
on-cancel
"
:
t
.
cancel
}},[
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)])])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
width
:
50
,
title
:
"
添加赛事学年
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
batchModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate
"
)}}},[
t
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
batchModal
,
callback
:
function
(
e
){
t
.
batchModal
=
e
},
expression
:
"
batchModal
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
n
(
"
Row
"
,[
n
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_name
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionbatch_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionbatch_name
"
,
e
)},
expression
:
"
formValidate.competitionbatch_name
"
}})],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛起止时间
"
,
prop
:
"
dateRange
"
}},[
n
(
"
DatePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
type
:
"
daterange
"
,
placement
:
"
bottom-end
"
,
placeholder
:
"
请选择竞赛起止时间
"
},
on
:{
"
on-change
"
:
t
.
obtainingAcademicYearTime
},
model
:{
value
:
t
.
formValidate
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
dateRange
"
,
e
)},
expression
:
"
formValidate.dateRange
"
}})],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
备注
"
,
prop
:
"
remark
"
}},[
n
(
"
Input
"
,{
attrs
:{
type
:
"
textarea
"
,
autosize
:{
minRows
:
5
,
maxRows
:
5
},
placeholder
:
"
请输入备注
"
},
model
:{
value
:
t
.
formValidate
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
remark
"
,
e
)},
expression
:
"
formValidate.remark
"
}})],
1
)],
1
)],
1
)],
1
)],
1
)],
1
)},
i
=
[],
r
=
(
n
(
"
8e6e
"
),
n
(
"
ac6a
"
),
n
(
"
456d
"
),
n
(
"
7f7f
"
),
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
o
=
n
(
"
ade3
"
),
s
=
(
n
(
"
28a5
"
),
n
(
"
967e
"
)),
c
=
n
.
n
(
s
),
l
=
n
(
"
7f6b
"
),
d
=
n
(
"
61be
"
);
function
u
(
t
,
e
){
var
n
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
a
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
a
=
a
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
n
.
push
.
apply
(
n
,
a
)}
return
n
}
function
p
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
n
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
u
(
Object
(
n
),
!
0
).
forEach
((
function
(
e
){
Object
(
o
[
"
a
"
])(
t
,
e
,
n
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
n
)):
u
(
Object
(
n
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
n
,
e
))}))}
return
t
}
var
m
=
{
components
:{},
props
:[
"
studentOrTeacher
"
],
data
:
function
(){
return
{
bactchType
:[{
label
:
"
学生
"
,
value
:
0
},{
label
:
"
教师
"
,
value
:
1
}],
searchCondList
:[{
id
:
"
competition_method
"
,
name
:
"
批次类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生
"
,
value
:
0
},{
label
:
"
教师
"
,
value
:
1
}]}],
loading
:
!
1
,
batchModal
:
!
1
,
formValidate
:{
id_del
:
0
,
competition_method
:
""
,
competitionbatch_name
:
""
,
dateRange
:
""
,
remark
:
""
,
bed_time
:
""
,
end_time
:
""
},
ruleValidate
:{
competition_method
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionbatch_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
dateRange
:[{
required
:
!
0
,
type
:
"
array
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
remark1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
blur
"
}]},
init
:{
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
competition_method
:
""
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
minWidth
:
80
},{
title
:
"
学年
"
,
key
:
"
competitionbatch_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
竞赛起止时间
"
,
slot
:
"
bed_time
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
批次类型
"
,
slot
:
"
competition_method
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
备注
"
,
key
:
"
remark
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
minWidth
:
120
,
show
:
!
0
,
slot
:
"
action
"
}],
data
:[],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
addBatch
:
function
(){
this
.
$refs
[
"
formValidate
"
].
resetFields
(),
this
.
batchModal
=!
0
},
search
:
function
(
t
){
this
.
init
.
competition_method
=
t
.
competition_method
,
this
.
init
.
page_index
=
1
,
this
.
GetBatchList
()},
reset
:
function
(
t
){
this
.
init
.
competition_method
=
""
,
this
.
init
.
page_index
=
1
,
this
.
GetBatchList
()},
BatchDel
:
function
(){},
importFile
:
function
(){},
edit
:
function
(
t
){
this
.
batchModal
=!
0
;
var
e
=
t
.
bed_time
&&
t
.
end_time
?[
t
.
bed_time
.
split
(
"
00:00
"
)[
0
],
t
.
end_time
.
split
(
"
00:00
"
)[
0
]]:[];
this
.
formValidate
=
p
(
p
({},
t
),{},{
dateRange
:
e
})},
cancel
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
Object
(
d
[
"
myEncapsulationFunction
"
])(
Object
(
r
[
"
a
"
])(
c
.
a
.
mark
((
function
n
(){
var
a
;
return
c
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
l
[
"
BatchDel
"
]({
id
:
t
.
competitionbatchid
});
case
2
:
return
a
=
n
.
sent
,
e
.
GetBatchList
(),
n
.
abrupt
(
"
return
"
,
a
);
case
5
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))},
obtainingAcademicYearTime
:
function
(
t
){
this
.
formValidate
.
bed_time
=
t
[
0
],
this
.
formValidate
.
end_time
=
t
[
1
],
console
.
log
(
"
🚀🚀🚀,
"
,
t
)},
importOk
:
function
(){},
saveBatch
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
BatchSave
"
](
t
.
formValidate
);
case
2
:
return
n
=
e
.
sent
,
1
===
n
.
code
&&
t
.
GetBatchList
(),
e
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
handleSubmit
:
function
(
t
){
var
e
=
this
;
this
.
$refs
[
t
].
validate
((
function
(
t
){
t
&&
""
!==
e
.
formValidate
.
dateRange
[
0
]?(
e
.
saveBatch
(),
e
.
batchModal
=!
1
):
e
.
$Message
.
error
(
"
请完善必选项
"
)}))},
handleReset
:
function
(
t
){
this
.
$refs
[
t
].
resetFields
()},
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
GetBatchList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
GetBatchList
()},
GetBatchList
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
loading
=!
0
,
n
=
{
page_index
:
t
.
init
.
page_index
,
page_size
:
t
.
init
.
page_size
,
competition_method
:
t
.
init
.
competition_method
},
e
.
next
=
4
,
t
.
asc
.
getApiCommonGetBatchList
(
n
);
case
4
:
a
=
e
.
sent
,
t
.
data
=
a
.
response
.
data
,
t
.
init
.
total
=
a
.
response
.
data_count
,
t
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
init
.
competition_method
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
formValidate
.
competition_method
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
GetBatchList
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
m
,
h
=
(
n
(
"
ce72
"
),
n
(
"
2877
"
)),
v
=
Object
(
h
[
"
a
"
])(
f
,
a
,
i
,
!
1
,
null
,
"
7769bfe8
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
"
9d17
"
:
function
(
t
,
e
,
n
){},
c827
:
function
(
t
,
e
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
cs-search-cond-form
"
,{
attrs
:{
searchCondList
:
t
.
searchCondList
,
labelWidth
:
120
},
on
:{
onSubmit
:
t
.
search1
,
onReset
:
t
.
reset
}}),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-add
"
},
on
:{
click
:
t
.
addEvent
}},[
t
.
_v
(
"
\n
添加赛事
\n
"
)]):
t
.
_e
(),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-add
"
},
on
:{
click
:
t
.
addEventClass
}},[
t
.
_v
(
"
\n
添加赛事级别
\n
"
)]):
t
.
_e
(),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-add
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventCategory
=!
0
}}},[
t
.
_v
(
"
\n
添加赛事类别
\n
"
)]):
t
.
_e
(),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-cloud-upload
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
ImportModal
=!
0
}}},[
t
.
_v
(
"
导入数据
\n
"
)]):
t
.
_e
(),
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-cloud-download
"
},
on
:{
click
:
t
.
ReportExportToExcel
}},[
t
.
_v
(
"
\n
导出数据
\n
"
)]),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-cloud-download
"
,
loading
:
t
.
Bloading
},
on
:{
click
:
t
.
GetReportImportTemplate
}},[
t
.
_v
(
"
下载模板
\n
"
)]):
t
.
_e
()]},
proxy
:
!
0
}])},[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
hooks
.
getUserRole
()?
t
.
columns
:
t
.
columns
.
filter
((
function
(
t
){
return
"
操作
"
!==
t
.
title
})),
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
dept
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Tooltip
"
,{
attrs
:{
placement
:
"
right-end
"
,
transfer
:
!
1
,
"
max-width
"
:
500
},
scopedSlots
:
t
.
_u
([{
key
:
"
content
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,[
t
.
_v
(
"
"
+
t
.
_s
(
a
.
dept
))])]},
proxy
:
!
0
}],
null
,
!
0
)},[
a
.
dept
?
n
(
"
Ellipsis
"
,{
attrs
:{
text
:
a
.
dept
,
length
:
18
}}):
t
.
_e
()],
1
)]}},{
key
:
"
way
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
a
.
way
]}},[
n
(
"
span
"
,{
staticStyle
:{
color
:
"
white
"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
团队
"
,
"
个人
"
][
a
.
way
])
+
"
\n
"
)])])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
t
.
getUserRole
()?
n
(
"
a
"
,{
on
:{
click
:
function
(
e
){
t
.
eventTitle
=
"
编辑赛事
"
,
t
.
importFile
(
a
)}}},[
t
.
_v
(
"
编辑
"
)]):
t
.
_e
(),
n
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
a
)},
"
on-cancel
"
:
t
.
cancel
}},[
t
.
getUserRole
()?
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)]):
t
.
_e
()])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
key
:
t
.
pageKey
,
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
width
:
45
,
title
:
t
.
eventTitle
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
dashed
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventsModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate
"
)}}},[
t
.
_v
(
"
确定
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
.
addEventsModal
,
callback
:
function
(
e
){
t
.
$set
(
t
.
modal
,
"
addEventsModal
"
,
e
)},
expression
:
"
modal.addEventsModal
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
t
.
formValidate
.
competitionbatch_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionbatch_id
"
,
e
)},
expression
:
"
formValidate.competitionbatch_id
"
}},
t
.
_l
(
t
.
batchList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事编码
"
},
model
:{
value
:
t
.
formValidate
.
report_code
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
report_code
"
,
e
)},
expression
:
"
formValidate.report_code
"
}})],
1
)],
1
)],
1
),
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionname
"
,
e
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name1
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionsubitem_name
"
,
e
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
)],
1
)],
1
),
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id1
"
}},[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
,
multiple
:
""
},
model
:{
value
:
t
.
formValidate
.
dept_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
dept_id
"
,
e
)},
expression
:
"
formValidate.dept_id
"
}},
t
.
_l
(
t
.
deptList
,(
function
(
e
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
t
.
formValidate
.
sponsor
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
sponsor
"
,
e
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
)],
1
),
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id1
"
}},[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
t
.
formValidate
.
competition_level_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competition_level_id
"
,
e
)},
expression
:
"
formValidate.competition_level_id
"
}},
t
.
_l
(
t
.
levelList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
t
.
formValidate
.
competition_type_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competition_type_id
"
,
e
)},
expression
:
"
formValidate.competition_type_id
"
}},
t
.
_l
(
t
.
classList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
)],
1
),
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入相关专业
"
},
model
:{
value
:
t
.
formValidate
.
specialty
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
specialty
"
,
e
)},
expression
:
"
formValidate.specialty
"
}})],
1
)],
1
)],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事级别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addeventLevel
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate1
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
t
.
f1EditState
=!
0
,
t
.
handleSubmit
(
"
formValidate1
"
)}}},[
t
.
_v
(
"
新增
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
.
addeventLevel
,
callback
:
function
(
e
){
t
.
$set
(
t
.
modal
,
"
addeventLevel
"
,
e
)},
expression
:
"
modal.addeventLevel
"
}},[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
30%
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
,
padding
:
"
0 0 2vw 0
"
,
"
border-bottom
"
:
"
0.2vw #E6E6E6 solid
"
,
"
margin-bottom
"
:
"
1vw
"
}},
t
.
_l
(
t
.
competitionLevel
,(
function
(
e
,
a
){
return
n
(
"
div
"
,{
key
:
a
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
n
){
return
t
.
formValidate1Edit
(
e
)}}},[
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitionlevel_name
))]),
n
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
n
){
return
t
.
delLevel
(
e
)}}},[
n
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
n
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
t
.
formValidate1
,
rules
:
t
.
ruleValidate1
,
"
label-width
"
:
110
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competitionlevel_name
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate1
.
competitionlevel_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
competitionlevel_name
"
,
e
)},
expression
:
"
formValidate1.competitionlevel_name
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark1
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate1
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
remark
"
,
e
)},
expression
:
"
formValidate1.remark
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
n
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate1
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
status
"
,
e
)},
expression
:
"
formValidate1.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
a
){
return
n
(
"
Radio
"
,{
key
:
a
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事类别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventCategory
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate2
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
t
.
f1EditState
=!
0
,
t
.
handleSubmit
(
"
formValidate2
"
)}}},[
t
.
_v
(
"
新增
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
.
addEventCategory
,
callback
:
function
(
e
){
t
.
$set
(
t
.
modal
,
"
addEventCategory
"
,
e
)},
expression
:
"
modal.addEventCategory
"
}},[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
30%
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
,
padding
:
"
0 0 2vw 0
"
,
"
border-bottom
"
:
"
0.2vw #E6E6E6 solid
"
,
"
margin-bottom
"
:
"
1vw
"
}},
t
.
_l
(
t
.
competitionClass
,(
function
(
e
,
a
){
return
n
(
"
div
"
,{
key
:
a
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
n
){
return
t
.
formValidate2Edit
(
e
)}}},[
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitiontype_name
)
+
"
\n\n
"
)]),
n
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
n
){
return
t
.
delClass
(
e
)}}},[
n
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
n
(
"
Form
"
,{
ref
:
"
formValidate2
"
,
attrs
:{
model
:
t
.
formValidate2
,
rules
:
t
.
ruleValidate2
,
"
label-width
"
:
110
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛类别
"
,
prop
:
"
competitiontype_name
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入竞赛类别
"
},
model
:{
value
:
t
.
formValidate2
.
competitiontype_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
competitiontype_name
"
,
e
)},
expression
:
"
formValidate2.competitiontype_name
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入描述
"
},
model
:{
value
:
t
.
formValidate2
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
remark
"
,
e
)},
expression
:
"
formValidate2.remark
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
n
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate2
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
status
"
,
e
)},
expression
:
"
formValidate2.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
a
){
return
n
(
"
Radio
"
,{
key
:
a
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
模板导入
"
,
width
:
"
40%
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
ImportModal
=!
1
}}},[
t
.
_v
(
"
取消
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
.
ImportModal
,
callback
:
function
(
e
){
t
.
$set
(
t
.
modal
,
"
ImportModal
"
,
e
)},
expression
:
"
modal.ImportModal
"
}},[
n
(
"
Upload
"
,{
attrs
:{
"
before-upload
"
:
t
.
dutyModelUpload
,
"
on-error
"
:
t
.
dutyModelError
,
"
on-success
"
:
t
.
dutyModelSuccess
,
"
on-format-error
"
:
t
.
dutyModelFormatError
,
format
:[
"
xlsx
"
],
multiple
:
!
1
,
type
:
"
drag
"
,
action
:
""
}},[
n
(
"
div
"
,{
staticStyle
:{
padding
:
"
120px 0
"
}},[
n
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
n
(
"
p
"
,[
t
.
_v
(
"
竞赛模板文件上传
"
)])],
1
)])],
1
)],
1
)},
i
=
[],
r
=
(
n
(
"
8e6e
"
),
n
(
"
456d
"
),
n
(
"
7f7f
"
),
n
(
"
ac6a
"
),
n
(
"
ade3
"
)),
o
=
(
n
(
"
28a5
"
),
n
(
"
386d
"
),
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
s
=
n
(
"
967e
"
),
c
=
n
.
n
(
s
),
l
=
(
n
(
"
a78e
"
),
n
(
"
7f6b
"
)),
d
=
n
(
"
61be
"
);
n
(
"
e0d3
"
);
function
u
(
t
,
e
){
var
n
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
a
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
a
=
a
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
n
.
push
.
apply
(
n
,
a
)}
return
n
}
function
p
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
n
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
u
(
Object
(
n
),
!
0
).
forEach
((
function
(
e
){
Object
(
r
[
"
a
"
])(
t
,
e
,
n
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
n
)):
u
(
Object
(
n
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
n
,
e
))}))}
return
t
}
var
m
=
{
components
:{},
props
:[
"
studentOrTeacher
"
],
data
:
function
(){
return
{
pageKey
:
1
,
bactchType
:[{
label
:
"
学生
"
,
value
:
0
},{
label
:
"
教师
"
,
value
:
1
}],
searchCondList
:[{
id
:
"
batch
"
,
name
:
"
赛事批次
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
level
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
type
"
,
name
:
"
竞赛类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
way
"
,
name
:
"
比赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
不限
"
,
value
:
2
}]}],
Bloading
:
!
1
,
eventTitle
:
""
,
loading
:
!
1
,
f1EditState
:
!
1
,
batchList
:[],
classList
:[],
levelList
:[],
competitionLevel
:[],
competitionClass
:[],
isItDisabled
:[{
value
:
1
,
label
:
"
是
"
},{
value
:
0
,
label
:
"
否
"
}],
wayList
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}],
formValidate2
:{
competitiontype_name
:
""
,
remark
:
""
,
status
:
""
},
formValidate1
:{
competitionlevel_name
:
""
,
remark
:
""
,
status
:
""
},
search
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
},
formValidate
:{
is_del
:
0
,
competition_method
:
""
,
name1
:
""
,
name
:
""
,
competitionreportid
:
""
,
competitionbatch_id
:
""
,
report_code
:
""
,
competitionname
:
""
,
competitionsubitem_name
:
""
,
dept_id
:
""
,
sponsor
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
way
:
""
,
specialty
:
""
},
ruleValidate2
:{
competitiontype_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
remark
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
status
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
ruleValidate1
:{
competitionlevel_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
blur
"
}],
remark
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
blur
"
}],
status
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
ruleValidate
:{
competitionbatch_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
report_code
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionsubitem_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
dept_id
:[{
required
:
!
0
,
type
:
"
array
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_level_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_method
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_type_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
way
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
specialty1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
modal
:{
addEventsModal
:
!
1
,
addeventLevel
:
!
1
,
addEventCategory
:
!
1
,
ImportModal
:
!
1
},
init
:{
competition_method
:
""
,
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
minWidth
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
slot
:
"
dept
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛项名称
"
,
key
:
"
competitionsubitem_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
主办单位
"
,
key
:
"
sponsor
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事级别
"
,
key
:
"
competition_level_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
竞赛类别
"
,
key
:
"
competition_type_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
相关专业
"
,
key
:
"
specialty
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
minWidth
:
130
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
data
:[],
theme
:
"
light
"
,
deptList
:[]}},
computed
:{},
watch
:{},
methods
:{
ReportExportToExcel
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportExportToExcel
"
](
t
.
search
);
case
2
:
n
=
e
.
sent
,
t
.
blobFileImport
(
n
,
"
赛事目录导出
"
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetReportImportTemplate
:
function
(){
var
t
=
this
;
this
.
Bloading
=
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
Bloading
=!
0
,
e
.
next
=
3
,
l
[
"
GetReportImportTemplate
"
]();
case
3
:
n
=
e
.
sent
,
window
.
location
.
href
=
n
.
response
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
addEventClass
:
function
(){
this
.
modal
.
addeventLevel
=!
0
},
addEvent
:
function
(){
this
.
eventTitle
=
"
添加赛事
"
,
this
.
modal
.
addEventsModal
=!
0
,
this
.
formValidate
.
competitionreportid
=
""
,
this
.
$refs
.
formValidate
.
resetFields
()},
importFile
:
function
(
t
){
var
e
=
[];
t
.
dept_id
&&
t
.
dept_id
.
split
(
"
;
"
).
map
((
function
(
t
,
n
){
""
!==
t
&&
e
.
push
(
t
)})),
this
.
formValidate
=
p
(
p
({},
t
),{},{
dept_id
:
e
}),
this
.
modal
.
addEventsModal
=!
0
},
edit
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
n
(){
var
a
;
return
c
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
l
[
"
ReportDel
"
]({
id
:
t
.
competitionreportid
});
case
2
:
return
a
=
n
.
sent
,
e
.
getCompetitionList
(),
n
.
abrupt
(
"
return
"
,
a
);
case
5
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))},
cancel
:
function
(){},
reset
:
function
(){
this
.
search
=
{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
},
this
.
pageKey
++
,
this
.
getCompetitionList
()},
search1
:
function
(
t
){
this
.
search
=
p
(
p
(
p
({},
this
.
search
),
t
),{},{
page_index
:
1
}),
this
.
pageKey
++
,
this
.
getCompetitionList
()},
getCompetitionList
:
function
(){
var
t
=
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
.
loading
=!
0
,{
name
:
e
.
formValidate
.
name1
,
level
:
""
,
way
:
""
,
approval_state
:
""
,
page_index
:
e
.
init
.
page_index
,
page_size
:
e
.
init
.
page_size
},
t
.
next
=
4
,
l
[
"
GetReportList
"
](
e
.
search
);
case
4
:
n
=
t
.
sent
,
e
.
data
=
n
.
response
.
data
,
e
.
init
.
total
=
n
.
response
.
data_count
,
e
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
1
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
GetHierarchySelect
:
function
(){
var
t
=
this
;
this
.
asc
.
getApiCommonGetHierarchySelect
().
then
((
function
(
e
){
t
.
searchCondList
.
forEach
((
function
(
t
){
"
h_id
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))},
GetLevelBySelect
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
n
=
e
.
sent
,
t
.
levelList
=
n
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
n
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
n
=
e
.
sent
,
t
.
classList
=
n
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
n
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetBatchBySelect
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
]((
function
(){
t
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
t
.
formValidate
.
competition_method
}).
then
((
function
(
e
){
t
.
batchList
=
e
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))}))},
GetDeptSeletct
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetDeptSeletct
"
]();
case
2
:
n
=
e
.
sent
,
t
.
deptList
=
n
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
formValidate1Edit
:
function
(
t
){
this
.
formValidate1
=
t
},
delLevel
:
function
(
t
){
var
e
=
this
;
Object
(
d
[
"
myEncapsulationFunction
"
])((
function
(){
return
d
[
"
publicConfirm
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
n
(){
var
a
;
return
c
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
l
[
"
LevelDel
"
]({
id
:
t
.
competitionlevelid
});
case
2
:
return
a
=
n
.
sent
,
e
.
GetLevelList
(),
n
.
abrupt
(
"
return
"
,
a
);
case
5
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))}))},
GetLevelList
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelList
"
]();
case
2
:
n
=
e
.
sent
,
t
.
competitionLevel
=
n
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
delClass
:
function
(
t
){
var
e
=
this
;
Object
(
d
[
"
myEncapsulationFunction
"
])((
function
(){
return
d
[
"
publicConfirm
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
n
(){
var
a
;
return
c
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
l
[
"
TypeDel
"
]({
id
:
t
.
competitiontypeid
});
case
2
:
return
a
=
n
.
sent
,
e
.
GetTypeList
(),
n
.
abrupt
(
"
return
"
,
a
);
case
5
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))}))},
formValidate2Edit
:
function
(
t
){
this
.
formValidate2
=
t
},
LevelSave
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
f1EditState
&&
(
t
.
formValidate1
.
competitionlevelid
=
""
),
e
.
next
=
3
,
l
[
"
LevelSave
"
](
t
.
formValidate1
);
case
3
:
return
n
=
e
.
sent
,
t
.
GetLevelList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
n
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
TypeSave
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
f1EditState
&&
(
t
.
formValidate2
.
competitiontypeid
=
""
),
e
.
next
=
3
,
l
[
"
TypeSave
"
](
t
.
formValidate2
);
case
3
:
return
n
=
e
.
sent
,
t
.
GetTypeList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
n
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
ReportSave
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportSave
"
](
t
.
formValidate
);
case
2
:
return
n
=
e
.
sent
,
e
.
next
=
5
,
t
.
getCompetitionList
();
case
5
:
return
t
.
modal
.
addEventsModal
=!
1
,
t
.
formValidate
=
{},
e
.
abrupt
(
"
return
"
,
n
);
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
validateSwitch
:
function
(
t
){
switch
(
t
){
case
"
formValidate2
"
:
this
.
TypeSave
();
break
;
case
"
formValidate1
"
:
this
.
LevelSave
();
break
;
case
"
formValidate
"
:
this
.
ReportSave
();
break
}},
handleSubmit
:
function
(
t
){
var
e
=
this
;
this
.
$refs
[
t
].
validate
((
function
(
n
){
n
?
e
.
validateSwitch
(
t
):(
e
.
$Message
.
destroy
(),
e
.
$Message
.
error
(
"
请检查必填选项!
"
))}))},
handleReset
:
function
(
t
){
this
.
$refs
[
t
].
resetFields
()},
GetTypeList
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeList
"
]();
case
2
:
n
=
e
.
sent
,
t
.
competitionClass
=
n
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
dutyModelUpload
:
function
(){
var
t
=
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(
e
){
var
n
,
a
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
new
FormData
,
n
.
append
(
"
file
"
,
e
),
t
.
next
=
4
,
l
[
"
ReportImport
"
](
n
);
case
4
:
if
(
a
=
t
.
sent
,
1
===
a
.
code
){
t
.
next
=
10
;
break
}
window
.
location
.
href
=
a
.
response
,
this
.
$Message
.
error
(
a
.
msg_detail
),
t
.
next
=
13
;
break
;
case
10
:
return
t
.
next
=
12
,
this
.
getCompetitionList
();
case
12
:
this
.
modal
.
ImportModal
=!
1
;
case
13
:
return
t
.
abrupt
(
"
return
"
,
!
1
);
case
14
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
dutyModelFormatError
:
function
(
t
,
e
){
this
.
$Message
.
error
(
"
文件格式错误!
"
)},
dutyModelSuccess
:
function
(
t
,
e
,
n
){
this
.
$Message
.
info
(
t
.
msg
)},
dutyModelError
:
function
(
t
,
e
,
n
){},
handleChangePage
:
function
(
t
){
this
.
search
.
page_index
=
t
,
this
.
getCompetitionList
()},
handleChangePageSize
:
function
(
t
){
this
.
search
.
page_size
=
t
,
this
.
getCompetitionList
()}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
formValidate
.
competition_method
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
search
.
is_tea
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
GetHierarchySelect
(),
this
.
getCompetitionList
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetBatchBySelect
(),
this
.
GetDeptSeletct
(),
this
.
GetLevelList
(),
this
.
GetTypeList
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
m
,
h
=
(
n
(
"
4831
"
),
n
(
"
2877
"
)),
v
=
Object
(
h
[
"
a
"
])(
f
,
a
,
i
,
!
1
,
null
,
"
40eaa8d2
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
ce72
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
(
"
4944
"
)},
e0d3
:
function
(
t
,
e
,
n
){
var
a
=
n
(
"
6d8b
"
),
i
=
n
(
"
22d1
"
),
r
=
a
.
each
,
o
=
a
.
isObject
,
s
=
a
.
isArray
,
c
=
"
series
\
0
"
;
function
l
(
t
){
return
t
instanceof
Array
?
t
:
null
==
t
?[]:[
t
]}
function
d
(
t
,
e
,
n
){
if
(
t
){
t
[
e
]
=
t
[
e
]
||
{},
t
.
emphasis
=
t
.
emphasis
||
{},
t
.
emphasis
[
e
]
=
t
.
emphasis
[
e
]
||
{};
for
(
var
a
=
0
,
i
=
n
.
length
;
a
<
i
;
a
++
){
var
r
=
n
[
a
];
!
t
.
emphasis
[
e
].
hasOwnProperty
(
r
)
&&
t
[
e
].
hasOwnProperty
(
r
)
&&
(
t
.
emphasis
[
e
][
r
]
=
t
[
e
][
r
])}}}
var
u
=
[
"
fontStyle
"
,
"
fontWeight
"
,
"
fontSize
"
,
"
fontFamily
"
,
"
rich
"
,
"
tag
"
,
"
color
"
,
"
textBorderColor
"
,
"
textBorderWidth
"
,
"
width
"
,
"
height
"
,
"
lineHeight
"
,
"
align
"
,
"
verticalAlign
"
,
"
baseline
"
,
"
shadowColor
"
,
"
shadowBlur
"
,
"
shadowOffsetX
"
,
"
shadowOffsetY
"
,
"
textShadowColor
"
,
"
textShadowBlur
"
,
"
textShadowOffsetX
"
,
"
textShadowOffsetY
"
,
"
backgroundColor
"
,
"
borderColor
"
,
"
borderWidth
"
,
"
borderRadius
"
,
"
padding
"
];
function
p
(
t
){
return
!
o
(
t
)
||
s
(
t
)
||
t
instanceof
Date
?
t
:
t
.
value
}
function
m
(
t
){
return
o
(
t
)
&&!
(
t
instanceof
Array
)}
function
f
(
t
,
e
){
e
=
(
e
||
[]).
slice
();
var
n
=
a
.
map
(
t
||
[],(
function
(
t
,
e
){
return
{
exist
:
t
}}));
return
r
(
e
,(
function
(
t
,
a
){
if
(
o
(
t
)){
for
(
var
i
=
0
;
i
<
n
.
length
;
i
++
)
if
(
!
n
[
i
].
option
&&
null
!=
t
.
id
&&
n
[
i
].
exist
.
id
===
t
.
id
+
""
)
return
n
[
i
].
option
=
t
,
void
(
e
[
a
]
=
null
);
for
(
i
=
0
;
i
<
n
.
length
;
i
++
){
var
r
=
n
[
i
].
exist
;
if
(
!
n
[
i
].
option
&&
(
null
==
r
.
id
||
null
==
t
.
id
)
&&
null
!=
t
.
name
&&!
g
(
t
)
&&!
g
(
r
)
&&
r
.
name
===
t
.
name
+
""
)
return
n
[
i
].
option
=
t
,
void
(
e
[
a
]
=
null
)}}})),
r
(
e
,(
function
(
t
,
e
){
if
(
o
(
t
)){
for
(
var
a
=
0
;
a
<
n
.
length
;
a
++
){
var
i
=
n
[
a
].
exist
;
if
(
!
n
[
a
].
option
&&!
g
(
i
)
&&
null
==
t
.
id
){
n
[
a
].
option
=
t
;
break
}}
a
>=
n
.
length
&&
n
.
push
({
option
:
t
})}})),
n
}
function
h
(
t
){
var
e
=
a
.
createHashMap
();
r
(
t
,(
function
(
t
,
n
){
var
a
=
t
.
exist
;
a
&&
e
.
set
(
a
.
id
,
t
)})),
r
(
t
,(
function
(
t
,
n
){
var
i
=
t
.
option
;
a
.
assert
(
!
i
||
null
==
i
.
id
||!
e
.
get
(
i
.
id
)
||
e
.
get
(
i
.
id
)
===
t
,
"
id duplicates:
"
+
(
i
&&
i
.
id
)),
i
&&
null
!=
i
.
id
&&
e
.
set
(
i
.
id
,
t
),
!
t
.
keyInfo
&&
(
t
.
keyInfo
=
{})})),
r
(
t
,(
function
(
t
,
n
){
var
a
=
t
.
exist
,
i
=
t
.
option
,
r
=
t
.
keyInfo
;
if
(
o
(
i
)){
if
(
r
.
name
=
null
!=
i
.
name
?
i
.
name
+
""
:
a
?
a
.
name
:
c
+
n
,
a
)
r
.
id
=
a
.
id
;
else
if
(
null
!=
i
.
id
)
r
.
id
=
i
.
id
+
""
;
else
{
var
s
=
0
;
do
{
r
.
id
=
"
\
0
"
+
r
.
name
+
"
\
0
"
+
s
++
}
while
(
e
.
get
(
r
.
id
))}
e
.
set
(
r
.
id
,
t
)}}))}
function
v
(
t
){
var
e
=
t
.
name
;
return
!
(
!
e
||!
e
.
indexOf
(
c
))}
function
g
(
t
){
return
o
(
t
)
&&
t
.
id
&&
0
===
(
t
.
id
+
""
).
indexOf
(
"
\
0_ec_
\
0
"
)}
function
y
(
t
,
e
){
var
n
=
{},
a
=
{};
return
i
(
t
||
[],
n
),
i
(
e
||
[],
a
,
n
),[
r
(
n
),
r
(
a
)];
function
i
(
t
,
e
,
n
){
for
(
var
a
=
0
,
i
=
t
.
length
;
a
<
i
;
a
++
)
for
(
var
r
=
t
[
a
].
seriesId
,
o
=
l
(
t
[
a
].
dataIndex
),
s
=
n
&&
n
[
r
],
c
=
0
,
d
=
o
.
length
;
c
<
d
;
c
++
){
var
u
=
o
[
c
];
s
&&
s
[
u
]?
s
[
u
]
=
null
:(
e
[
r
]
||
(
e
[
r
]
=
{}))[
u
]
=
1
}}
function
r
(
t
,
e
){
var
n
=
[];
for
(
var
a
in
t
)
if
(
t
.
hasOwnProperty
(
a
)
&&
null
!=
t
[
a
])
if
(
e
)
n
.
push
(
+
a
);
else
{
var
i
=
r
(
t
[
a
],
!
0
);
i
.
length
&&
n
.
push
({
seriesId
:
a
,
dataIndex
:
i
})}
return
n
}}
function
b
(
t
,
e
){
return
null
!=
e
.
dataIndexInside
?
e
.
dataIndexInside
:
null
!=
e
.
dataIndex
?
a
.
isArray
(
e
.
dataIndex
)?
a
.
map
(
e
.
dataIndex
,(
function
(
e
){
return
t
.
indexOfRawIndex
(
e
)})):
t
.
indexOfRawIndex
(
e
.
dataIndex
):
null
!=
e
.
name
?
a
.
isArray
(
e
.
name
)?
a
.
map
(
e
.
name
,(
function
(
e
){
return
t
.
indexOfName
(
e
)})):
t
.
indexOfName
(
e
.
name
):
void
0
}
function
_
(){
var
t
=
"
__
\
0ec_inner_
"
+
w
+++
"
_
"
+
Math
.
random
().
toFixed
(
5
);
return
function
(
e
){
return
e
[
t
]
||
(
e
[
t
]
=
{})}}
var
w
=
0
;
function
x
(
t
,
e
,
n
){
if
(
a
.
isString
(
e
)){
var
i
=
{};
i
[
e
+
"
Index
"
]
=
0
,
e
=
i
}
var
o
=
n
&&
n
.
defaultMainType
;
!
o
||
k
(
e
,
o
+
"
Index
"
)
||
k
(
e
,
o
+
"
Id
"
)
||
k
(
e
,
o
+
"
Name
"
)
||
(
e
[
o
+
"
Index
"
]
=
0
);
var
s
=
{};
return
r
(
e
,(
function
(
i
,
r
){
i
=
e
[
r
];
if
(
"
dataIndex
"
!==
r
&&
"
dataIndexInside
"
!==
r
){
var
o
=
r
.
match
(
/^
(\w
+
)(
Index|Id|Name
)
$/
)
||
[],
c
=
o
[
1
],
l
=
(
o
[
2
]
||
""
).
toLowerCase
();
if
(
!
(
!
c
||!
l
||
null
==
i
||
"
index
"
===
l
&&
"
none
"
===
i
||
n
&&
n
.
includeMainTypes
&&
a
.
indexOf
(
n
.
includeMainTypes
,
c
)
<
0
)){
var
d
=
{
mainType
:
c
};
"
index
"
===
l
&&
"
all
"
===
i
||
(
d
[
l
]
=
i
);
var
u
=
t
.
queryComponents
(
d
);
s
[
c
+
"
Models
"
]
=
u
,
s
[
c
+
"
Model
"
]
=
u
[
0
]}}
else
s
[
r
]
=
i
})),
s
}
function
k
(
t
,
e
){
return
t
&&
t
.
hasOwnProperty
(
e
)}
function
S
(
t
,
e
,
n
){
t
.
setAttribute
?
t
.
setAttribute
(
e
,
n
):
t
[
e
]
=
n
}
function
V
(
t
,
e
){
return
t
.
getAttribute
?
t
.
getAttribute
(
e
):
t
[
e
]}
function
O
(
t
){
return
"
auto
"
===
t
?
i
.
domSupported
?
"
html
"
:
"
richText
"
:
t
||
"
html
"
}
function
I
(
t
,
e
){
var
n
=
a
.
createHashMap
(),
i
=
[];
return
a
.
each
(
t
,(
function
(
t
){
var
a
=
e
(
t
);(
n
.
get
(
a
)
||
(
i
.
push
(
a
),
n
.
set
(
a
,[]))).
push
(
t
)})),{
keys
:
i
,
buckets
:
n
}}
e
.
normalizeToArray
=
l
,
e
.
defaultEmphasis
=
d
,
e
.
TEXT_STYLE_OPTIONS
=
u
,
e
.
getDataItemValue
=
p
,
e
.
isDataItemOption
=
m
,
e
.
mappingToExists
=
f
,
e
.
makeIdAndName
=
h
,
e
.
isNameSpecified
=
v
,
e
.
isIdInner
=
g
,
e
.
compressBatches
=
y
,
e
.
queryDataIndex
=
b
,
e
.
makeInner
=
_
,
e
.
parseFinder
=
x
,
e
.
setAttribute
=
S
,
e
.
getAttribute
=
V
,
e
.
getTooltipRenderMode
=
O
,
e
.
groupData
=
I
}}]);
\ No newline at end of file
dist/js/chunk-2655b0cd.4583f72e.js
0 → 100644
浏览文件 @
7053bb4f
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2655b0cd
"
],{
"
386d
"
:
function
(
t
,
e
,
i
){
"
use strict
"
;
var
n
=
i
(
"
cb7c
"
),
a
=
i
(
"
83a1
"
),
s
=
i
(
"
5f1b
"
);
i
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
i
,
o
){
return
[
function
(
i
){
var
n
=
t
(
this
),
a
=
void
0
==
i
?
void
0
:
i
[
e
];
return
void
0
!==
a
?
a
.
call
(
i
,
n
):
new
RegExp
(
i
)[
e
](
String
(
n
))},
function
(
t
){
var
e
=
o
(
i
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
r
=
n
(
t
),
l
=
String
(
this
),
c
=
r
.
lastIndex
;
a
(
c
,
0
)
||
(
r
.
lastIndex
=
0
);
var
u
=
s
(
r
,
l
);
return
a
(
r
.
lastIndex
,
c
)
||
(
r
.
lastIndex
=
c
),
null
===
u
?
-
1
:
u
.
index
}]}))},
40104
:
function
(
t
,
e
,
i
){},
"
504c
"
:
function
(
t
,
e
,
i
){
var
n
=
i
(
"
9e1e
"
),
a
=
i
(
"
0d58
"
),
s
=
i
(
"
6821
"
),
o
=
i
(
"
52a7
"
).
f
;
t
.
exports
=
function
(
t
){
return
function
(
e
){
var
i
,
r
=
s
(
e
),
l
=
a
(
r
),
c
=
l
.
length
,
u
=
0
,
p
=
[];
while
(
c
>
u
)
i
=
l
[
u
++
],
n
&&!
o
.
call
(
r
,
i
)
||
p
.
push
(
t
?[
i
,
r
[
i
]]:
r
[
i
]);
return
p
}}},
"
76aa
"
:
function
(
t
,
e
,
i
){
"
use strict
"
;
i
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
auto
"
}},[
i
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
t
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
search
},
on
:{
watchIsTea
:
t
.
watchIsTea
,
onSubmit
:
t
.
cssearch
,
onReset
:
t
.
csreset
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
tableData
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
way
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
i
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
n
.
way
]}},[
t
.
_v
(
t
.
_s
([
"
团队
"
,
"
个人
"
][
n
.
way
]))])]}},{
key
:
"
sponsor
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
sponsor
,
height
:
80
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
approval_state
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
i
(
"
Tag
"
,{
attrs
:{
color
:
t
.
publicState
.
flowApprovalState
.
color
[
n
.
approval_state
]}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
publicState
.
flowApprovalState
[
n
.
approval_state
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
i
(
"
a
"
,{
staticStyle
:{
"
margin-right
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
printFile
(
n
)}}},[
t
.
_v
(
"
打印
"
)]),
i
(
"
Poptip
"
,{
attrs
:{
title
:
"
更多选项
"
,
transfer
:
!
0
},
scopedSlots
:
t
.
_u
([{
key
:
"
content
"
,
fn
:
function
(){
return
[
2
===
n
.
approval_state
&&
t
.
hooks
.
fourtableButtonAuthentication
(
n
.
createby
)?
i
(
"
a
"
,{
staticStyle
:{
"
margin-right
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
generateCertificateMaterialData
(
n
)}}},[
t
.
_v
(
"
生成成绩申报
"
)]):
i
(
"
a
"
,{
staticStyle
:{
cursor
:
"
not-allowed
"
,
color
:
"
#9297a1
"
,
"
margin-right
"
:
"
15px
"
}},[
t
.
_v
(
"
生成成绩申报
"
)])]},
proxy
:
!
0
}],
null
,
!
0
)},[
2
===
n
.
approval_state
&&
t
.
hooks
.
fourtableButtonAuthentication
(
n
.
createby
)?
i
(
"
a
"
,{
staticStyle
:{
"
margin-right
"
:
"
15px
"
}},[
t
.
_v
(
"
更多
"
)]):
i
(
"
a
"
,{
staticStyle
:{
color
:
"
#9297a1
"
,
"
margin-right
"
:
"
15px
"
}},[
t
.
_v
(
"
更多
"
)])]),
4
===
n
.
approval_state
&&
t
.
hooks
.
fourtableButtonAuthentication
(
n
.
createby
)?
i
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
signUpdate
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]):
i
(
"
a
"
,{
staticStyle
:{
cursor
:
"
not-allowed
"
,
color
:
"
#9297a1
"
}},[
t
.
_v
(
"
编辑
"
)]),
i
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
edit
(
n
)}}},[
t
.
_v
(
"
详细
"
)])]}}])}),
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
key
:
t
.
pageKey
,
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
),
i
(
"
Drawer
"
,{
attrs
:{
width
:
850
,
title
:
"
详细
"
,
draggable
:
!
0
,
closable
:
!
0
},
model
:{
value
:
t
.
drawer
,
callback
:
function
(
e
){
t
.
drawer
=
e
},
expression
:
"
drawer
"
}},[
i
(
"
div
"
,{
staticClass
:
"
tableList
"
,
staticStyle
:{
position
:
"
relative
"
}},[
t
.
data
.
loading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
t
.
_e
(),
i
(
"
h1
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
width
:
"
100%
"
}},[
t
.
_v
(
"
竞赛报名内容详细
"
)]),
i
(
"
table
"
,{
staticClass
:
"
container1
"
,
staticStyle
:{
"
margin-bottom
"
:
"
20px
"
},
attrs
:{
border
:
"
1
"
}},[
t
.
_l
(
t
.
data
.
array
,(
function
(
e
,
n
){
return
i
(
"
tr
"
,{
key
:
n
},[
i
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
i
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
(
e
.
value
))])])})),
i
(
"
tr
"
,[
i
(
"
th
"
,[
t
.
_v
(
"
附件:
"
)]),
i
(
"
td
"
,{
staticClass
:
"
colContent
"
},
t
.
_l
(
t
.
data
.
Object
.
files_list
,(
function
(
e
,
n
){
return
i
(
"
a
"
,{
key
:
n
,
staticClass
:
"
aText
"
,
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
},
on
:{
click
:
function
(
i
){
return
t
.
viewFile
(
e
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
file_name
)
+
"
\n
"
)])})),
0
)])],
2
),
t
.
specialist
.
signList
.
data
.
length
&&
0
===
t
.
data
.
Object
.
competition_method
?
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
}},[
i
(
"
cardTopPerches
"
,{
attrs
:{
title
:
"
专家信息
"
}}),
i
(
"
Card
"
,{
staticClass
:
"
carClass
"
,
attrs
:{
"
dis-hover
"
:
!
0
}},[
i
(
"
Table
"
,{
attrs
:{
loading
:
t
.
specialist
.
signList
.
loading
,
columns
:
t
.
specialist
.
signList
.
columns
,
data
:
t
.
specialist
.
signList
.
data
}})],
1
)],
1
):
t
.
_e
(),
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
}},[
i
(
"
div
"
,{
style
:
"
width: 100%;max-height:
"
+
t
.
unfold
.
height
+
"
px;overflow-y:hidden ;
"
},[
i
(
"
cardTopPerches
"
,{
attrs
:{
title
:
"
团队信息
"
}}),
t
.
_l
(
t
.
competitionsignTeam
,(
function
(
e
,
n
){
return
i
(
"
Card
"
,{
key
:
n
,
staticClass
:
"
carClass
"
,
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
h3
"
,[
t
.
_v
(
t
.
_s
(
e
.
teanname
)
+
"
(指导教师
"
),
i
(
"
span
"
,{
staticStyle
:{
color
:
"
#1e93ff
"
}},[
t
.
_v
(
t
.
_s
(
e
.
guide_teacher_list
.
length
))]),
t
.
_v
(
"
位,参赛教师
\n
"
),
i
(
"
span
"
,{
staticStyle
:{
color
:
"
#1e93ff
"
}},[
t
.
_v
(
t
.
_s
(
e
.
contestant_teacher_list
.
length
))]),
t
.
_v
(
"
位,参赛学生
\n
"
),
i
(
"
span
"
,{
staticStyle
:{
color
:
"
#1e93ff
"
}},[
t
.
_v
(
t
.
_s
(
e
.
student_list
.
length
))]),
t
.
_v
(
"
\n
位)
"
)])]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){},
proxy
:
!
0
}],
null
,
!
0
)},[
e
.
guide_teacher_list
.
length
?
i
(
"
Table
"
,{
attrs
:{
columns
:
t
.
guidecolumnsTeacher
,
data
:
e
.
guide_teacher_list
}}):
t
.
_e
(),
e
.
contestant_teacher_list
.
length
?
i
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columnsTeacher
,
data
:
e
.
contestant_teacher_list
}}):
t
.
_e
(),
e
.
student_list
.
length
?
i
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columnsStudent
,
data
:
e
.
student_list
}}):
t
.
_e
()],
1
)}))],
2
),
i
(
"
div
"
,{
staticClass
:
"
Atext
"
},[
t
.
competitionsignTeam
.
length
?
i
(
"
a
"
,{
on
:{
click
:
t
.
unfoldTeamCard
}},[
0
===
t
.
unfold
.
State
?
i
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-arrow-dropdown-circle
"
}}):
i
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-arrow-dropup-circle
"
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
unfold
.
flag
[
t
.
unfold
.
State
])
+
"
\n
"
)],
1
):
t
.
_e
()])])],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
title
:
"
文件导出
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
importModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
importModal
,
callback
:
function
(
e
){
t
.
importModal
=
e
},
expression
:
"
importModal
"
}},[
t
.
importLoading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
t
.
_e
(),
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},
t
.
_l
(
t
.
fileObject
,(
function
(
e
,
n
){
return
i
(
"
Button
"
,{
key
:
n
,
attrs
:{
icon
:
"
md-log-in
"
},
on
:{
click
:
function
(
i
){
return
t
.
importButton
(
e
[
1
])}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
[
2
])
+
"
\n
"
)])})),
1
)],
1
),
i
(
"
Modal
"
,{
attrs
:{
title
:
"
修改
"
,
width
:
"
60
"
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
importModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
updateSignModal
,
callback
:
function
(
e
){
t
.
updateSignModal
=
e
},
expression
:
"
updateSignModal
"
}},[
t
.
importLoading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
t
.
_e
(),
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
t
.
updateSignModal
&&
1
===
t
.
signFlag
?
i
(
"
UpdateSignModal
"
,{
attrs
:{
signId
:
t
.
signId
},
on
:{
GetSignList
:
t
.
getCompetitionSignList
,
resultValue
:
t
.
resultValue
}}):
t
.
_e
(),
t
.
updateSignModal
&&
0
===
t
.
signFlag
?
i
(
"
UpdateSignModalStudentSIgn
"
,{
attrs
:{
signId
:
t
.
signId
},
on
:{
GetSignList
:
t
.
getCompetitionSignList
,
resultValue
:
t
.
resultValue
}}):
t
.
_e
()],
1
)],
1
),
i
(
"
Drawer
"
,{
attrs
:{
draggable
:
!
0
,
width
:
"
50%
"
,
title
:
"
打印文件
"
,
closable
:
!
0
},
model
:{
value
:
t
.
printFiles
.
modal
,
callback
:
function
(
e
){
t
.
$set
(
t
.
printFiles
,
"
modal
"
,
e
)},
expression
:
"
printFiles.modal
"
}},[
t
.
printFiles
.
show
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
t
.
_e
(),
i
(
"
iframe
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
},
attrs
:{
src
:
t
.
printFiles
.
src
}})],
1
),
i
(
"
Drawer
"
,{
attrs
:{
draggable
:
!
0
,
width
:
"
90
"
,
closable
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
header
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
mix-height
"
:
"
35px
"
,
"
max-height
"
:
"
auto
"
,
position
:
"
relative
"
}},[
i
(
"
h3
"
,{
staticStyle
:{
"
margin-bottom
"
:
"
5px
"
}},[
t
.
_v
(
"
附件预览
"
)]),
t
.
_l
(
t
.
data
.
Object
.
files_list
,(
function
(
e
,
n
){
return
i
(
"
a
"
,{
key
:
n
,
staticClass
:
"
aText
"
,
staticStyle
:{
"
margin-right
"
:
"
3vw
"
},
on
:{
click
:
function
(
i
){
return
t
.
updateViewFile
(
e
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
file_name
)
+
"
\n
"
)])}))],
2
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
drawerPreview
,
callback
:
function
(
e
){
t
.
drawerPreview
=
e
},
expression
:
"
drawerPreview
"
}},[
t
.
src
&&
"
office
"
===
t
.
fileType
?
i
(
"
VueDocPreview
"
,{
key
:
t
.
viewFileUpdataKeys
,
attrs
:{
value
:
t
.
src
,
url
:
t
.
src
,
language
:
"
JavaScript
"
,
type
:
"
office
"
}}):
t
.
_e
(),
t
.
src
&&
"
image
"
===
t
.
fileType
?
i
(
"
i-frame
"
,{
key
:
t
.
viewFileUpdataKeys
,
attrs
:{
src
:
t
.
src
}}):
t
.
_e
()],
1
)],
1
)},
a
=
[],
s
=
(
i
(
"
8e6e
"
),
i
(
"
456d
"
),
i
(
"
ffc1
"
),
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
o
=
i
(
"
ade3
"
),
r
=
(
i
(
"
ac6a
"
),
i
(
"
7f7f
"
),
i
(
"
386d
"
),
i
(
"
967e
"
)),
l
=
i
.
n
(
r
),
c
=
i
(
"
61be
"
),
u
=
i
(
"
7f6b
"
),
p
=
i
(
"
2ef0
"
),
d
=
i
.
n
(
p
),
h
=
i
(
"
78e2
"
),
f
=
i
(
"
7fde
"
),
g
=
i
(
"
a78e
"
),
m
=
i
.
n
(
g
),
y
=
i
(
"
3252
"
);
function
v
(
t
,
e
){
var
i
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
_
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
i
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
v
(
Object
(
i
),
!
0
).
forEach
((
function
(
e
){
Object
(
o
[
"
a
"
])(
t
,
e
,
i
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
i
)):
v
(
Object
(
i
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
i
,
e
))}))}
return
t
}
var
w
=
{
name
:
"
list
"
,
components
:{
UpdateSignModal
:
h
[
"
a
"
],
UpdateSignModalStudentSIgn
:
f
[
"
a
"
]},
data
:
function
(){
return
{
signFlag
:
""
,
searchCondList
:[{
id
:
"
batch
"
,
name
:
"
赛事批次
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
level
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
type
"
,
name
:
"
竞赛类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
way
"
,
name
:
"
比赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
approval_state
"
,
name
:
"
审批状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
未审批
"
,
value
:
0
},{
label
:
"
审批中
"
,
value
:
1
},{
label
:
"
审批通过
"
,
value
:
2
},{
label
:
"
审批不通过
"
,
value
:
3
}]},{
id
:
"
is_tea
"
,
name
:
"
参赛身份
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生
"
,
value
:
0
},{
label
:
"
教师
"
,
value
:
1
}]}],
unfold
:{
State
:
0
,
height
:
"
500
"
,
flag
:[
"
展开
"
,
"
收起
"
]},
signId
:
""
,
updateSignModal
:
!
1
,
keys1
:
1
,
guidecolumnsTeacher
:[{
title
:
"
指导教师
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
工号
"
,
minWidth
:
120
,
key
:
"
card_name
"
},{
title
:
"
身份证号
"
,
minWidth
:
180
,
key
:
"
sfzh
"
},{
title
:
"
教学院系
"
,
minWidth
:
150
,
key
:
"
dept
"
},{
title
:
"
性别
"
,
minWidth
:
80
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
columnsStudent
:[{
title
:
"
参赛学生
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
学号
"
,
minWidth
:
120
,
key
:
"
card_name
"
},{
title
:
"
身份证号
"
,
minWidth
:
180
,
key
:
"
sfzh
"
},{
title
:
"
班级
"
,
minWidth
:
150
,
key
:
"
classname
"
},{
title
:
"
性别
"
,
minWidth
:
80
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
columnsTeacher
:[{
title
:
"
参赛教师
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
工号
"
,
minWidth
:
120
,
key
:
"
card_name
"
},{
title
:
"
身份证号
"
,
minWidth
:
180
,
key
:
"
sfzh
"
},{
title
:
"
教学院系
"
,
minWidth
:
150
,
key
:
"
dept
"
},{
title
:
"
性别
"
,
minWidth
:
80
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
competitionsignTeam
:[],
drawerKeyValueArray
:[],
viewFileUpdataKeys
:
1
,
drawerPreview
:
!
1
,
fileType
:
""
,
src
:
""
,
data
:{
loading
:
!
1
,
keyValueArray
:[],
Object
:{},
array
:[]},
specialist
:{
signList
:{
columns
:[{
type
:
"
index
"
,
title
:
""
,
align
:
"
left
"
,
width
:
80
,
show
:
!
0
},{
key
:
"
name
"
,
title
:
"
姓名
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
},{
key
:
"
unit
"
,
title
:
"
工作单位
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
},{
key
:
"
job
"
,
title
:
"
职务
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
},{
key
:
"
phone
"
,
title
:
"
联系方式
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
}],
data
:[],
loading
:
!
1
},
deptList
:[],
formData
:{
name
:
""
,
dept_id
:
""
,
dept_name
:
""
,
competitionsubitem_name
:
""
,
specialty
:
""
,
unit
:
""
,
job
:
""
,
phone
:
""
,
email
:
""
,
remark
:
""
,
state
:
0
,
sign_id
:
""
},
batchFormData
:{
sign_id
:
""
,
specialist_id_list
:[]},
show
:
!
1
,
tabsName
:
"
0
"
,
params
:{
name
:
""
,
page_index
:
1
,
page_size
:
5
},
table
:{
columns
:[{
type
:
"
selection
"
,
title
:
""
,
align
:
"
left
"
,
width
:
80
,
show
:
!
0
},{
key
:
"
name
"
,
title
:
"
姓名
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
},{
key
:
"
unit
"
,
title
:
"
工作单位
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
},{
key
:
"
job
"
,
title
:
"
职务
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
},{
key
:
"
phone
"
,
title
:
"
联系方式
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
}],
data
:[],
loading
:
!
1
}},
drawer
:
!
1
,
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
赛项名称
"
,
key
:
"
competitionsubitem_name
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
赛事编号
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
主办单位
"
,
slot
:
"
sponsor
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
经费预算
"
,
key
:
"
money
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事级别
"
,
key
:
"
competition_level_name
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
赛事类别
"
,
key
:
"
competition_type_name
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
竞赛形式(团/个)
"
,
slot
:
"
way
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
计划培训量
"
,
key
:
"
class_hour
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
竞赛开始时间
"
,
key
:
"
begin_time
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
竞赛结束时间
"
,
key
:
"
end_time
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
审批状态
"
,
slot
:
"
approval_state
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
操作
"
,
minWidth
:
200
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
search
:{
is_tea
:
0
,
batch
:
""
,
type
:
""
,
way
:
""
,
name
:
""
,
approval_state
:
""
,
level
:
""
,
wayCurrentValue
:
""
,
nameCurrentValue
:
""
,
approval_stateCurrentValue
:
""
,
levelCurrentValue
:
""
,
approval_stateArray
:[{
value
:
0
,
label
:
"
未审批
"
},{
value
:
1
,
label
:
"
审批中
"
},{
value
:
2
,
label
:
"
审批通过
"
},{
value
:
3
,
label
:
"
审批不通过
"
},{
value
:
4
,
label
:
"
退回
"
}],
levelArray
:[],
wayArray
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}]},
init
:{
page_index
:
1
,
page_size
:
10
,
total
:
0
},
printFiles
:{
show
:
!
1
,
modal
:
!
1
,
src
:
""
},
pageKey
:
1
,
importLoading
:
!
1
,
importModal
:
!
1
,
fileObject
:[]}},
created
:
function
(){},
watch
:{
"
$refs.search.searchCondObj.is_tea
"
:{
handler
:
function
(
t
,
e
){
console
.
log
(
111
,
t
,
e
)},
deep
:
!
0
,
immediate
:
!
0
}},
computed
:{
roleId
:
function
(){
return
m
.
a
.
get
(
"
admin-competition-roleId
"
)?
JSON
.
parse
(
m
.
a
.
get
(
"
admin-competition-roleId
"
)).
role_id
:
""
},
searchButton
:
function
(){
return
""
===
this
.
search
.
way
&&
""
===
this
.
search
.
level
&&
""
===
this
.
search
.
name
&&
""
===
this
.
search
.
approval_state
}},
mounted
:
function
(){
this
.
getCompetitionSignList
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetBatchBySelect
()},
methods
:{
updateViewFile
:
function
(
t
){
var
e
=
this
,
i
=
function
(
t
,
i
){
e
.
src
=
window
.
location
.
protocol
+
"
//
"
+
window
.
location
.
host
+
i
.
path
,
e
.
fileType
=
t
,
e
.
viewFileUpdataKeys
++
};
"
.jpg
"
===
t
.
suffix
||
"
.jpeg
"
===
t
.
suffix
||
"
.png
"
===
t
.
suffix
||
"
.pdf
"
===
t
.
suffix
?
i
(
"
image
"
,
t
):
"
.doc
"
!==
t
.
suffix
&&
"
.docx
"
!==
t
.
suffix
&&
"
.xls
"
!==
t
.
suffix
&&
"
.xlsx
"
!==
t
.
suffix
||
i
(
"
office
"
,
t
)},
viewFile
:
function
(
t
){
var
e
=
this
,
i
=
function
(
t
,
i
){
e
.
src
=
window
.
location
.
protocol
+
"
//
"
+
window
.
location
.
host
+
i
.
path
,
e
.
fileType
=
t
,
e
.
drawerPreview
=!
0
};
"
.jpg
"
===
t
.
suffix
||
"
.jpeg
"
===
t
.
suffix
||
"
.png
"
===
t
.
suffix
||
"
.pdf
"
===
t
.
suffix
?
i
(
"
image
"
,
t
):
"
.doc
"
!==
t
.
suffix
&&
"
.docx
"
!==
t
.
suffix
&&
"
.xls
"
!==
t
.
suffix
&&
"
.xlsx
"
!==
t
.
suffix
||
i
(
"
office
"
,
t
)},
getAListOfRegistrationExperts
:
function
(
t
){
var
e
=
this
;
this
.
specialist
.
signList
.
loading
=!
0
,
y
[
"
f
"
]({
sign_id
:
t
}).
then
((
function
(
t
){
e
.
specialist
.
signList
.
data
=
t
.
response
,
e
.
specialist
.
signList
.
loading
=!
1
})).
finally
((
function
(){
e
.
specialist
.
signList
.
loading
=!
1
}))},
watchIsTea
:
function
(
t
){
this
.
search
.
is_tea
=
t
,
this
.
GetBatchBySelect
()},
GetBatchBySelect
:
function
(){
var
t
=
this
;
this
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
this
.
search
.
is_tea
}).
then
((
function
(
e
){
t
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
this
.
asc
.
getApiCommonGetTypeBySelect
().
then
((
function
(
e
){
t
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))},
fourtableButtonAuthentication
:
c
[
"
fourtableButtonAuthentication
"
],
cssearch
:
function
(
t
){
this
.
search
=
_
(
_
({},
this
.
search
),
t
),
this
.
searchFun
()},
csreset
:
function
(){
this
.
search
=
{
way
:
""
,
name
:
""
,
approval_state
:
""
,
level
:
""
,
is_tea
:
0
,
type
:
""
,
batch
:
""
,
levelArray
:[]},
this
.
searchFun
()},
generateStudentOrTeacherRewards
:
function
(
t
,
e
){
var
i
=
this
,
n
=
{
0
:
function
(){
return
i
.
asc
.
getApiCompetitionSignApiCompetitionSignSignAutoInsSubsidy
({
id
:
t
.
competitionsignid
}).
then
((
function
(
t
){
return
1
===
t
.
code
&&
i
.
getCompetitionSignList
(),
t
}))},
1
:
function
(){
return
i
.
asc
.
getApiCompetitionSignApiCompetitionSignSignAutoInsWorkload
({
id
:
t
.
competitionsignid
}).
then
((
function
(
t
){
return
1
===
t
.
code
&&
i
.
getCompetitionSignList
(),
t
}))}};
this
.
hooks
.
publicConfirm
((
function
(){
i
.
hooks
.
myEncapsulationFunction
((
function
(){
return
n
[
e
]()}))}))},
generateCertificateMaterialData
:
function
(
t
){
var
e
=
this
;
this
.
hooks
.
publicConfirm
((
function
(){
e
.
hooks
.
myEncapsulationFunction
(
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
i
(){
var
n
;
return
l
.
a
.
wrap
((
function
(
i
){
while
(
1
)
switch
(
i
.
prev
=
i
.
next
){
case
0
:
return
i
.
next
=
2
,
e
.
api
.
SignAutoInsCertificate
({
id
:
t
.
competitionsignid
});
case
2
:
if
(
n
=
i
.
sent
,
1
!==
n
.
code
){
i
.
next
=
6
;
break
}
return
i
.
next
=
6
,
e
.
getCompetitionSignList
();
case
6
:
return
i
.
abrupt
(
"
return
"
,
n
);
case
7
:
case
"
end
"
:
return
i
.
stop
()}}),
i
)}))))}))},
printFile
:
function
(
t
){
var
e
=
this
;
this
.
printFiles
.
modal
=!
0
,
this
.
printFiles
.
show
=!
0
,
this
.
printFiles
.
src
=
""
,
c
[
"
getInitListRequest
"
](
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
i
(){
return
l
.
a
.
wrap
((
function
(
i
){
while
(
1
)
switch
(
i
.
prev
=
i
.
next
){
case
0
:
u
[
"
SignExport
"
]({
id
:
t
.
competitionsignid
}).
then
((
function
(
t
){
e
.
printFiles
.
src
=
t
.
response
.
response
.
pdf
,
e
.
printFiles
.
show
=!
1
}));
case
1
:
case
"
end
"
:
return
i
.
stop
()}}),
i
)})))),
console
.
log
(
"
🚀🚀res🚀,
"
,
res
)},
unfoldTeamCard
:
function
(){
Boolean
(
this
.
unfold
.
State
)?(
this
.
unfold
.
height
=
"
500
"
,
this
.
unfold
.
State
=
0
):(
this
.
unfold
.
height
=
"
9999
"
,
this
.
unfold
.
State
=
1
)},
resultValue
:
function
(
t
){
this
.
updateSignModal
=
t
,
this
.
getCompetitionSignList
()},
signUpdate
:
function
(
t
){
this
.
signFlag
=
t
.
competition_method
,
this
.
signId
=
t
.
competitionsignid
,
this
.
updateSignModal
=!
0
},
GetLevelBySelect
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
,
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
u
[
"
GetLevelBySelect
"
]();
case
2
:
e
=
t
.
sent
,
this
.
search
.
levelArray
=
e
.
response
,
i
=
e
.
response
.
map
((
function
(
t
){
return
{
label
:
t
.
name
,
value
:
t
.
id
}})),
this
.
searchCondList
.
map
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
i
)}));
case
6
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
importButton
:
function
(
t
){
window
.
open
(
t
,
"
_blank
"
)},
importFile
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
){
var
i
,
n
,
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
importModal
=!
0
,
this
.
importLoading
=!
0
,
t
.
next
=
5
,
u
[
"
SignExport
"
]({
id
:
e
.
competitionsignid
});
case
5
:
i
=
t
.
sent
;
try
{
delete
i
.
response
.
response
.
file_name
,
n
=
Object
.
entries
(
i
.
response
.
response
),
a
=
[
"
PDF导出
"
,
"
Word导出
"
],
n
.
map
((
function
(
t
,
e
){
t
.
push
(
a
[
e
])})),
this
.
fileObject
=
n
,
this
.
importLoading
=!
1
}
catch
(
s
){
this
.
importLoading
=!
1
}
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
delCompetition
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
){
var
i
,
n
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
i
=
{
id
:
e
.
competitionsignid
},
t
.
next
=
3
,
u
[
"
SignDel
"
](
i
);
case
3
:
return
n
=
t
.
sent
,
c
[
"
publicMessage
"
](
n
),
t
.
next
=
7
,
this
.
getCompetitionSignList
();
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
getCompetitionSignList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
getCompetitionSignList
()},
searchFun
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
pageKey
++
,
this
.
init
.
page_index
=
1
,
t
.
next
=
4
,
this
.
getCompetitionSignList
();
case
4
:
t
.
sent
;
case
5
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
getCompetitionSignList
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
,
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
e
=
{
role_id
:
m
.
a
.
get
(
"
admin-competition-roleId
"
)?
JSON
.
parse
(
m
.
a
.
get
(
"
admin-competition-roleId
"
)).
role_id
:
""
,
name
:
this
.
search
.
name
,
level
:
this
.
search
.
level
,
way
:
this
.
search
.
way
,
approval_state
:
this
.
search
.
approval_state
,
is_tea
:
this
.
search
.
is_tea
,
batch
:
this
.
search
.
batch
,
type
:
this
.
search
.
type
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
t
.
next
=
4
,
u
[
"
GetSignList
"
](
e
);
case
4
:
i
=
t
.
sent
,
this
.
tableData
=
i
.
response
.
data
,
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
edit
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
){
var
i
=
this
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
this
.
drawer
=!
0
,
this
.
data
.
loading
=!
0
,
u
[
"
GetSignInfo
"
]({
id
:
e
.
competitionsignid
}).
then
((
function
(
t
){
var
n
=
d
.
a
.
cloneDeep
(
e
);
u
[
"
TeamAndMemberSel
"
]({
signid
:
n
.
competitionsignid
}).
then
((
function
(
t
){
i
.
competitionsignTeam
=
t
.
response
})),
i
.
data
.
Object
=
t
.
response
;
var
a
=
t
.
response
;
i
.
data
.
array
=
[{
title
:
"
赛事名称
"
,
value
:
a
.
competitionname
},{
title
:
"
赛事编号
"
,
value
:
a
.
report_code
},{
title
:
"
赛项名称
"
,
value
:
a
.
competitionsubitem_name
},{
title
:
"
主办单位
"
,
value
:
a
.
sponsor
},{
title
:
"
赛事级别
"
,
value
:
a
.
competition_level_name
},{
title
:
"
赛事类别
"
,
value
:
a
.
competition_type_name
},{
title
:
"
竞赛形式
"
,
value
:[
"
团队
"
,
"
个人
"
,
"
不限
"
][
a
.
way
]},{
title
:
"
比赛开始时间
"
,
value
:
a
.
begin_time
},{
title
:
"
比赛结束时间
"
,
value
:
a
.
end_time
},{
title
:
"
经费预算
"
,
value
:
a
.
money
},{
title
:
"
计划培训课时
"
,
value
:
a
.
class_hour
}];
var
s
=
{
0
:
function
(){
i
.
data
.
array
.
push
({
title
:
"
关联课程
"
,
value
:
a
.
course
},{
title
:
"
是否邀请专家
"
,
value
:[
"
否
"
,
"
是
"
][
a
.
is_specialist
]}),
i
.
getAListOfRegistrationExperts
(
a
.
competitionsignid
)},
1
:
function
(){}};
s
[
a
.
competition_method
](),
i
.
data
.
loading
=!
1
})).
finally
((
function
(){
i
.
data
.
loading
=!
1
}));
case
3
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
del
:
function
(
t
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)}}},
b
=
w
,
S
=
(
i
(
"
a0a0
"
),
i
(
"
2877
"
)),
x
=
Object
(
S
[
"
a
"
])(
b
,
n
,
a
,
!
1
,
null
,
"
2ce56c92
"
,
null
);
e
[
"
default
"
]
=
x
.
exports
},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
a0a0
:
function
(
t
,
e
,
i
){
"
use strict
"
;
i
(
"
40104
"
)},
ffc1
:
function
(
t
,
e
,
i
){
var
n
=
i
(
"
5ca1
"
),
a
=
i
(
"
504c
"
)(
!
0
);
n
(
n
.
S
,
"
Object
"
,{
entries
:
function
(
t
){
return
a
(
t
)}})}}]);
\ No newline at end of file
dist/js/chunk-3a4fee04.
ee9f1d45
.js
→
dist/js/chunk-3a4fee04.
63165daa
.js
浏览文件 @
7053bb4f
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-3a4fee04
"
],{
"
0ce8
"
:
function
(
t
,
e
,
i
){
"
use strict
"
;
i
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
auto
"
}},[
i
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
t
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
init
},
on
:{
onSubmit
:
t
.
cssearch
,
onReset
:
t
.
csreset
}}),
i
(
"
cs-button
"
,{
ref
:
"
batApproval
"
,
attrs
:{
"
cs-type
"
:
"
warning
"
,
"
cs-style
"
:
""
,
"
cs-click
"
:
t
.
batApproval
,
"
cs-text
"
:
"
批量审批
"
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
tableData
,
loading
:
t
.
loading
},
on
:{
"
on-selection-change
"
:
t
.
onSelectionChange
},
scopedSlots
:
t
.
_u
([{
key
:
"
todo
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
todo
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
partcipant
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
partcipant
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
status
"
,
fn
:
function
(
e
){
var
i
=
e
.
row
;
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
草稿
"
,
"
运行中
"
,
"
已结束
"
][
i
.
status
])
+
"
\n
"
)]}},{
key
:
"
action_type
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
i
(
"
Tag
"
,{
attrs
:{
color
:
t
.
publicState
.
completeFlow
.
color
[
n
.
action_type
]}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
publicState
.
completeFlow
.
action_type
[
n
.
action_type
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
i
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
approvalLisFun
(
n
)}}},[
t
.
_v
(
"
审批
"
)])]}}])}),
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
,
current
:
t
.
init
.
page_index
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
)],
1
)},
a
=
[],
o
=
(
i
(
"
8e6e
"
),
i
(
"
456d
"
),
i
(
"
7f7f
"
),
i
(
"
ac6a
"
),
i
(
"
ade3
"
)),
s
=
(
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
l
=
(
i
(
"
386d
"
),
i
(
"
967e
"
)),
r
=
i
.
n
(
l
),
c
=
i
(
"
61be
"
),
d
=
i
(
"
7f6b
"
),
p
=
i
(
"
5ccc
"
),
h
=
i
(
"
d02c
"
);
function
u
(
t
,
e
){
var
i
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
f
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
i
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
u
(
Object
(
i
),
!
0
).
forEach
((
function
(
e
){
Object
(
o
[
"
a
"
])(
t
,
e
,
i
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
i
)):
u
(
Object
(
i
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
i
,
e
))}))}
return
t
}
var
w
=
{
name
:
"
list
"
,
computed
:{
publicState
:
function
(){
return
p
[
"
a
"
]}},
data
:
function
(){
var
t
=
this
;
return
{
transferParams
:{},
searchCondList
:[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]}],
batApprovalArray
:[],
ddd
:
""
,
ccc
:
""
,
bbb
:
""
,
aaa
:
""
,
flowStateArray
:[{
name
:
"
草稿
"
,
value
:
0
},{
name
:
"
运行中
"
,
value
:
1
},{
name
:
"
已结束
"
,
value
:
2
}],
flowSelect
:[],
formData
:{
name
:
""
,
url
:
""
,
owner
:
""
,
type
:
""
,
approver
:
""
,
date
:
""
,
desc
:
""
},
approvalDrawer
:
!
1
,
formValidate
:{
runid
:
""
,
title
:
""
,
flow_name
:
""
,
flow_id
:
""
,
status
:
0
,
action_type
:
0
,
starter
:
""
,
starter_name
:
""
,
start_time
:
""
,
current_node_id
:
""
,
current_node_name
:
""
,
todo
:
""
,
partcipant
:
""
,
modifyby
:
""
,
modifytime
:
""
,
form_id
:
""
,
form_name
:
""
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
type
:
"
selection
"
,
width
:
60
,
align
:
"
center
"
},{
title
:
"
赛事名称
"
,
key
:
"
title
"
,
show
:
!
0
,
minWidth
:
300
},{
title
:
"
流程名称
"
,
key
:
"
flow_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
流程状态
"
,
slot
:
"
status
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
操作类型
"
,
slot
:
"
action_type
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
当前节点名称
"
,
key
:
"
current_node_name
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
当前节点待办人员
"
,
slot
:
"
todo
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
参与人员
"
,
slot
:
"
partcipant
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发起人工号
"
,
key
:
"
starter
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
发起人姓名
"
,
key
:
"
starter_name
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
发起时间
"
,
key
:
"
start_time
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
,
rewardType
:
""
,
declarationType
:
""
},
pageKey
:
1
,
strategy
:{
"
/flow-awaitDoneList-rewardForTeachersAndStudents
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
107
,
t
.
deleteSearchCondition
(
"
flow_id
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-WorkloadDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
109
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-TeacherBonusDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
107
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-SubsidyDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
108
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-StudentBonusDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
106
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-Certificate
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
103
,
t
.
deleteSearchCondition
(
"
flow_id
"
),
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
102
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-eventCatalogue
"
:
function
(){
t
.
initSearchCondition
(),
t
.
$route
.
query
.
transferParams
||
(
t
.
init
.
flow_id1
=
101
),
t
.
deleteSearchCondition
(
"
flow_id
"
),
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
)}},
strategyReset
:{
"
/flow-awaitDoneList-rewardForTeachersAndStudents
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
107
,
t
.
deleteSearchCondition
(
"
flow_id
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-WorkloadDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
109
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-TeacherBonusDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
107
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-SubsidyDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
108
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-StudentBonusDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
106
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-Certificate
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
103
,
t
.
deleteSearchCondition
(
"
flow_id
"
),
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
102
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-eventCatalogue
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
101
,
t
.
deleteSearchCondition
(
"
flow_id
"
),
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
)}}}},
watch
:{
$route
:
function
(
t
,
e
){
this
.
init
=
{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
},
this
.
strategy
[
t
.
path
](),
this
.
$refs
.
search
.
resetBt
()}},
mounted
:
function
(){
var
t
=
this
;
this
.
routerCarryConditionQuery
(),
this
.
strategy
[
this
.
$route
.
path
](),
this
.
GetFlowTaskList
(),
c
[
"
storageAddEventListener
"
](
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
t
.
GetFlowTaskList
();
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})))),
this
.
GetFlowIdSelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
()},
methods
:{
routerCarryConditionQuery
:
function
(){
this
.
$route
.
query
.
transferParams
?(
this
.
init
=
f
(
f
({},
this
.
init
),
JSON
.
parse
(
this
.
$route
.
query
.
transferParams
)),
this
.
$refs
.
search
.
searchCondObj
=
this
.
init
,
this
.
cssearch
(
this
.
init
)):
console
.
log
(
"
🚀🚀没有查询参数transferParams🚀,
"
)},
GetLevelBySelect
:
function
(){
var
t
=
this
;
h
[
"
getApiCommonGetLevelBySelect
"
]().
then
((
function
(
e
){
t
.
searchCondList
.
forEach
((
function
(
t
){
"
competition_level_id
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
){
return
{
label
:
t
.
name
,
value
:
t
.
id
}})))}))}))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
h
[
"
getApiCommonGetTypeBySelect
"
]().
then
((
function
(
e
){
t
.
searchCondList
.
forEach
((
function
(
t
){
"
competition_type_id
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))},
deleteSearchCondition
:
function
(
t
){
var
e
=
this
;
this
.
searchCondList
.
forEach
((
function
(
i
,
n
){
i
.
id
===
t
&&
e
.
searchCondList
.
splice
(
n
,
1
)}))},
initSearchCondition
:
function
(){
this
.
searchCondList
=
[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
eventApplication
"
,
name
:
"
申请类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师赛事申请
"
,
value
:
112
},{
label
:
"
教师赛事调整
"
,
value
:
114
},{
label
:
"
学生赛事申请
"
,
value
:
101
},{
label
:
"
学生赛事调整
"
,
value
:
113
}]},{
id
:
"
declarationType
"
,
name
:
"
申报类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师申报
"
,
value
:
111
},{
label
:
"
学生申报
"
,
value
:
103
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
t
){
return
t
.
id
})).
indexOf
(
"
competition_level_id
"
)].
optList
},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
t
){
return
t
.
id
})).
indexOf
(
"
competition_type_id
"
)].
optList
}]},
cssearch
:
function
(
t
){
t
.
rewardType
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
t
),{},{
flow_id
:
t
.
rewardType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
t
.
declarationType
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
t
),{},{
flow_id
:
t
.
declarationType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
t
.
eventApplication
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
t
),{},{
flow_id
:
t
.
eventApplication
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):(
this
.
strategy
[
this
.
$route
.
path
](),
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
t
),{},{
flow_id
:
t
.
flow_id
?
t
.
flow_id
:
this
.
init
.
flow_id1
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
),
this
.
transferParams
=
t
,
this
.
search
()},
csreset
:
function
(){
this
.
init
=
{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
},
this
.
transferParams
=
this
.
init
,
this
.
strategyReset
[
this
.
$route
.
path
](),
this
.
initData
()},
getFlowId
:
function
(){
this
.
strategyReset
[
this
.
$route
.
path
]()},
initData
:
function
(){
this
.
getFlowId
(),
this
.
init
.
status1
=
this
.
init
.
status
=
""
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
=
""
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
=
""
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
=
""
,
this
.
GetFlowTaskList
()},
search
:
function
(){
this
.
init
.
status1
=
this
.
init
.
status
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
,
this
.
GetFlowTaskList
()},
onSelectionChange
:
function
(
t
){
var
e
=
[];
t
.
map
((
function
(
t
){
e
.
push
(
t
.
runid
)})),
this
.
batApprovalArray
=
e
},
batApproval
:
function
(){
var
t
=
this
;
c
[
"
publicConfirm
"
]((
function
(){
return
c
[
"
myEncapsulationFunction
"
](
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
i
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
$refs
.
batApproval
.
load
=!
0
,
e
.
next
=
3
,
d
[
"
FlowApprovalBatch
"
]({
runid_list
:
t
.
batApprovalArray
});
case
3
:
return
i
=
e
.
sent
,
t
.
$refs
.
batApproval
.
load
=!
1
,
t
.
GetFlowTaskList
(),
e
.
abrupt
(
"
return
"
,
i
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))}))},
flowSelectOnChnage
:
function
(
t
){
this
.
init
.
flow_id
=
t
,
this
.
GetFlowTaskList
()},
GetFlowIdSelect
:
function
(){
var
t
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
d
[
"
GetFlowIdSelect
"
]().
then
((
function
(
e
){
e
.
response
.
map
((
function
(
t
,
i
){
"
102
"
===
t
.
id
&&
(
e
.
response
.
unshift
(
t
),
e
.
response
.
splice
(
i
+
1
,
1
))})),
t
.
flowSelect
=
e
.
response
}))}))},
GetFlowTaskList
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
t
(){
var
e
,
i
;
return
r
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
e
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
flow_id
:
this
.
init
.
flow_id1
,
key_name
:
this
.
init
.
key_name1
,
action_type
:
this
.
init
.
action_type1
,
status
:
this
.
init
.
status1
,
flow_name
:
this
.
init
.
flow_name1
,
competitionsubitem_name
:
this
.
init
.
competitionsubitem_name
,
competition_level_id
:
this
.
init
.
competition_level_id
,
competition_type_id
:
this
.
init
.
competition_type_id
,
sponsor
:
this
.
init
.
sponsor
,
way
:
this
.
init
.
way
},
this
.
hooks
.
setSession
(
"
flowSearchParams
"
,
e
),
t
.
next
=
5
,
d
[
"
GetFlowTaskList
"
](
e
);
case
5
:
i
=
t
.
sent
,
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
tableData
=
i
.
response
.
data
,
this
.
loading
=!
1
;
case
9
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
approvalLisFun
:
function
(
t
){
this
.
$router
.
push
({
name
:
"
awaitDoneInformation
"
,
query
:{
runid
:
t
.
runid
,
form_name
:
t
.
form_name
,
transferParams
:
JSON
.
stringify
(
f
(
f
({},
this
.
transferParams
),{},{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
})),
path
:
this
.
$route
.
path
}})},
del
:
function
(
t
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
GetFlowTaskList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
GetFlowTaskList
()}}},
_
=
w
,
y
=
i
(
"
2877
"
),
m
=
Object
(
y
[
"
a
"
])(
_
,
n
,
a
,
!
1
,
null
,
null
,
null
);
e
[
"
default
"
]
=
m
.
exports
},
"
386d
"
:
function
(
t
,
e
,
i
){
"
use strict
"
;
var
n
=
i
(
"
cb7c
"
),
a
=
i
(
"
83a1
"
),
o
=
i
(
"
5f1b
"
);
i
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
i
,
s
){
return
[
function
(
i
){
var
n
=
t
(
this
),
a
=
void
0
==
i
?
void
0
:
i
[
e
];
return
void
0
!==
a
?
a
.
call
(
i
,
n
):
new
RegExp
(
i
)[
e
](
String
(
n
))},
function
(
t
){
var
e
=
s
(
i
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
l
=
n
(
t
),
r
=
String
(
this
),
c
=
l
.
lastIndex
;
a
(
c
,
0
)
||
(
l
.
lastIndex
=
0
);
var
d
=
o
(
l
,
r
);
return
a
(
l
.
lastIndex
,
c
)
||
(
l
.
lastIndex
=
c
),
null
===
d
?
-
1
:
d
.
index
}]}))},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}}}]);
\ No newline at end of file
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-3a4fee04
"
],{
"
0ce8
"
:
function
(
t
,
e
,
i
){
"
use strict
"
;
i
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
auto
"
}},[
i
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
t
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
init
},
on
:{
onSubmit
:
t
.
cssearch
,
onReset
:
t
.
csreset
}}),
i
(
"
cs-button
"
,{
ref
:
"
batApproval
"
,
attrs
:{
"
cs-type
"
:
"
warning
"
,
"
cs-style
"
:
""
,
"
cs-click
"
:
t
.
batApproval
,
"
cs-text
"
:
"
批量审批
"
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
tableData
,
loading
:
t
.
loading
},
on
:{
"
on-selection-change
"
:
t
.
onSelectionChange
},
scopedSlots
:
t
.
_u
([{
key
:
"
todo
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
todo
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
partcipant
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
partcipant
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
status
"
,
fn
:
function
(
e
){
var
i
=
e
.
row
;
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
草稿
"
,
"
运行中
"
,
"
已结束
"
][
i
.
status
])
+
"
\n
"
)]}},{
key
:
"
action_type
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
i
(
"
Tag
"
,{
attrs
:{
color
:
t
.
publicState
.
completeFlow
.
color
[
n
.
action_type
]}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
publicState
.
completeFlow
.
action_type
[
n
.
action_type
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
i
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
approvalLisFun
(
n
)}}},[
t
.
_v
(
"
审批
"
)])]}}])}),
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
,
current
:
t
.
init
.
page_index
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
)],
1
)},
a
=
[],
o
=
(
i
(
"
8e6e
"
),
i
(
"
456d
"
),
i
(
"
7f7f
"
),
i
(
"
ac6a
"
),
i
(
"
ade3
"
)),
s
=
(
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
l
=
(
i
(
"
386d
"
),
i
(
"
967e
"
)),
r
=
i
.
n
(
l
),
c
=
i
(
"
61be
"
),
d
=
i
(
"
7f6b
"
),
p
=
i
(
"
5ccc
"
),
h
=
i
(
"
d02c
"
);
function
u
(
t
,
e
){
var
i
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
f
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
i
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
u
(
Object
(
i
),
!
0
).
forEach
((
function
(
e
){
Object
(
o
[
"
a
"
])(
t
,
e
,
i
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
i
)):
u
(
Object
(
i
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
i
,
e
))}))}
return
t
}
var
w
=
{
name
:
"
list
"
,
computed
:{
publicState
:
function
(){
return
p
[
"
a
"
]}},
data
:
function
(){
var
t
=
this
;
return
{
transferParams
:{},
searchCondList
:[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]}],
batApprovalArray
:[],
ddd
:
""
,
ccc
:
""
,
bbb
:
""
,
aaa
:
""
,
flowStateArray
:[{
name
:
"
草稿
"
,
value
:
0
},{
name
:
"
运行中
"
,
value
:
1
},{
name
:
"
已结束
"
,
value
:
2
}],
flowSelect
:[],
formData
:{
name
:
""
,
url
:
""
,
owner
:
""
,
type
:
""
,
approver
:
""
,
date
:
""
,
desc
:
""
},
approvalDrawer
:
!
1
,
formValidate
:{
runid
:
""
,
title
:
""
,
flow_name
:
""
,
flow_id
:
""
,
status
:
0
,
action_type
:
0
,
starter
:
""
,
starter_name
:
""
,
start_time
:
""
,
current_node_id
:
""
,
current_node_name
:
""
,
todo
:
""
,
partcipant
:
""
,
modifyby
:
""
,
modifytime
:
""
,
form_id
:
""
,
form_name
:
""
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
type
:
"
selection
"
,
width
:
60
,
align
:
"
center
"
},{
title
:
"
赛事名称
"
,
key
:
"
title
"
,
show
:
!
0
,
minWidth
:
300
},{
title
:
"
流程名称
"
,
key
:
"
flow_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
流程状态
"
,
slot
:
"
status
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
操作类型
"
,
slot
:
"
action_type
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
当前节点名称
"
,
key
:
"
current_node_name
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
当前节点待办人员
"
,
slot
:
"
todo
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
参与人员
"
,
slot
:
"
partcipant
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发起人工号
"
,
key
:
"
starter
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
发起人姓名
"
,
key
:
"
starter_name
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
发起时间
"
,
key
:
"
start_time
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
,
rewardType
:
""
,
declarationType
:
""
},
pageKey
:
1
,
strategy
:{
"
/flow-awaitDoneList-rewardForTeachersAndStudents
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
107
,
t
.
deleteSearchCondition
(
"
flow_id
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-WorkloadDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
109
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-TeacherBonusDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
107
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-SubsidyDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
108
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-StudentBonusDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
106
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-Certificate
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
103
,
t
.
deleteSearchCondition
(
"
flow_id
"
),
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
102
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-eventCatalogue
"
:
function
(){
t
.
initSearchCondition
(),
t
.
$route
.
query
.
transferParams
||
(
t
.
init
.
flow_id1
=
101
),
t
.
deleteSearchCondition
(
"
flow_id
"
),
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
)}},
strategyReset
:{
"
/flow-awaitDoneList-rewardForTeachersAndStudents
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
107
,
t
.
deleteSearchCondition
(
"
flow_id
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-WorkloadDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
109
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-TeacherBonusDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
107
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-SubsidyDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
108
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-StudentBonusDeclare
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
106
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-Certificate
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
103
,
t
.
deleteSearchCondition
(
"
flow_id
"
),
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
102
,
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
),
t
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-awaitDoneList-eventCatalogue
"
:
function
(){
t
.
initSearchCondition
(),
t
.
init
.
flow_id1
=
101
,
t
.
deleteSearchCondition
(
"
flow_id
"
),
t
.
deleteSearchCondition
(
"
rewardType
"
),
t
.
deleteSearchCondition
(
"
declarationType
"
)}}}},
watch
:{
$route
:
function
(
t
,
e
){
this
.
init
=
{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
},
this
.
strategy
[
t
.
path
](),
this
.
$refs
.
search
.
resetBt
()}},
mounted
:
function
(){
var
t
=
this
;
this
.
routerCarryConditionQuery
(),
this
.
strategy
[
this
.
$route
.
path
](),
this
.
GetFlowTaskList
(),
c
[
"
storageAddEventListener
"
](
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
t
.
GetFlowTaskList
();
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})))),
this
.
GetFlowIdSelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
()},
methods
:{
routerCarryConditionQuery
:
function
(){
this
.
$route
.
query
.
transferParams
?(
this
.
init
=
f
(
f
({},
this
.
init
),
JSON
.
parse
(
this
.
$route
.
query
.
transferParams
)),
this
.
$refs
.
search
.
searchCondObj
=
this
.
init
,
this
.
cssearch
(
this
.
init
)):
console
.
log
(
"
🚀🚀没有查询参数transferParams🚀,
"
)},
GetLevelBySelect
:
function
(){
var
t
=
this
;
h
[
"
getApiCommonGetLevelBySelect
"
]().
then
((
function
(
e
){
t
.
searchCondList
.
forEach
((
function
(
t
){
"
competition_level_id
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
){
return
{
label
:
t
.
name
,
value
:
t
.
id
}})))}))}))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
h
[
"
getApiCommonGetTypeBySelect
"
]().
then
((
function
(
e
){
t
.
searchCondList
.
forEach
((
function
(
t
){
"
competition_type_id
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))},
deleteSearchCondition
:
function
(
t
){
var
e
=
this
;
this
.
searchCondList
.
forEach
((
function
(
i
,
n
){
i
.
id
===
t
&&
e
.
searchCondList
.
splice
(
n
,
1
)}))},
initSearchCondition
:
function
(){
this
.
searchCondList
=
[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
eventApplication
"
,
name
:
"
申请类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师赛事申请
"
,
value
:
112
},{
label
:
"
教师赛事调整
"
,
value
:
114
},{
label
:
"
学生赛事申请
"
,
value
:
101
},{
label
:
"
学生赛事调整
"
,
value
:
113
}]},{
id
:
"
declarationType
"
,
name
:
"
申报类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师申报
"
,
value
:
111
},{
label
:
"
学生申报
"
,
value
:
103
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
t
){
return
t
.
id
})).
indexOf
(
"
competition_level_id
"
)].
optList
},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
t
){
return
t
.
id
})).
indexOf
(
"
competition_type_id
"
)].
optList
}]},
cssearch
:
function
(
t
){
t
.
rewardType
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
t
),{},{
flow_id
:
t
.
rewardType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
t
.
declarationType
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
t
),{},{
flow_id
:
t
.
declarationType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
t
.
eventApplication
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
t
),{},{
flow_id
:
t
.
eventApplication
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):(
this
.
strategy
[
this
.
$route
.
path
](),
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
t
),{},{
flow_id
:
t
.
flow_id
?
t
.
flow_id
:
this
.
init
.
flow_id1
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
),
this
.
transferParams
=
t
,
this
.
search
()},
csreset
:
function
(){
this
.
init
=
{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
},
this
.
transferParams
=
this
.
init
,
this
.
strategyReset
[
this
.
$route
.
path
](),
this
.
initData
()},
getFlowId
:
function
(){
this
.
strategyReset
[
this
.
$route
.
path
]()},
initData
:
function
(){
this
.
getFlowId
(),
this
.
init
.
status1
=
this
.
init
.
status
=
""
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
=
""
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
=
""
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
=
""
,
this
.
GetFlowTaskList
()},
search
:
function
(){
this
.
init
.
status1
=
this
.
init
.
status
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
,
this
.
GetFlowTaskList
()},
onSelectionChange
:
function
(
t
){
var
e
=
[];
t
.
map
((
function
(
t
){
e
.
push
(
t
.
runid
)})),
this
.
batApprovalArray
=
e
},
batApproval
:
function
(){
var
t
=
this
;
c
[
"
publicConfirm
"
]((
function
(){
return
c
[
"
myEncapsulationFunction
"
](
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
i
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
$refs
.
batApproval
.
load
=!
0
,
e
.
next
=
3
,
d
[
"
FlowApprovalBatch
"
]({
runid_list
:
t
.
batApprovalArray
});
case
3
:
return
i
=
e
.
sent
,
t
.
$refs
.
batApproval
.
load
=!
1
,
t
.
GetFlowTaskList
(),
e
.
abrupt
(
"
return
"
,
i
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))}))},
flowSelectOnChnage
:
function
(
t
){
this
.
init
.
flow_id
=
t
,
this
.
GetFlowTaskList
()},
GetFlowIdSelect
:
function
(){
var
t
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
d
[
"
GetFlowIdSelect
"
]().
then
((
function
(
e
){
e
.
response
.
map
((
function
(
t
,
i
){
"
102
"
===
t
.
id
&&
(
e
.
response
.
unshift
(
t
),
e
.
response
.
splice
(
i
+
1
,
1
))})),
t
.
flowSelect
=
e
.
response
}))}))},
GetFlowTaskList
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
t
(){
var
e
,
i
;
return
r
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
e
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
flow_id
:
this
.
init
.
flow_id1
,
key_name
:
this
.
init
.
key_name1
,
action_type
:
this
.
init
.
action_type1
,
status
:
this
.
init
.
status1
,
flow_name
:
this
.
init
.
flow_name1
,
competitionsubitem_name
:
this
.
init
.
competitionsubitem_name
,
competition_level_id
:
this
.
init
.
competition_level_id
,
competition_type_id
:
this
.
init
.
competition_type_id
,
sponsor
:
this
.
init
.
sponsor
,
way
:
this
.
init
.
way
},
this
.
hooks
.
setSession
(
"
flowSearchParams
"
,
e
),
t
.
next
=
5
,
d
[
"
GetFlowTaskList
"
](
e
);
case
5
:
i
=
t
.
sent
,
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
tableData
=
i
.
response
.
data
,
this
.
loading
=!
1
;
case
9
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
approvalLisFun
:
function
(
t
){
this
.
$router
.
push
({
name
:
"
awaitDoneInformation
"
,
query
:{
runid
:
t
.
runid
,
form_name
:
t
.
form_name
,
transferParams
:
JSON
.
stringify
(
f
(
f
({},
this
.
transferParams
),{},{
flow_id
:
this
.
init
.
flow_id1
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
})),
path
:
this
.
$route
.
path
}})},
del
:
function
(
t
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
GetFlowTaskList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
GetFlowTaskList
()}}},
_
=
w
,
y
=
i
(
"
2877
"
),
m
=
Object
(
y
[
"
a
"
])(
_
,
n
,
a
,
!
1
,
null
,
null
,
null
);
e
[
"
default
"
]
=
m
.
exports
},
"
386d
"
:
function
(
t
,
e
,
i
){
"
use strict
"
;
var
n
=
i
(
"
cb7c
"
),
a
=
i
(
"
83a1
"
),
o
=
i
(
"
5f1b
"
);
i
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
i
,
s
){
return
[
function
(
i
){
var
n
=
t
(
this
),
a
=
void
0
==
i
?
void
0
:
i
[
e
];
return
void
0
!==
a
?
a
.
call
(
i
,
n
):
new
RegExp
(
i
)[
e
](
String
(
n
))},
function
(
t
){
var
e
=
s
(
i
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
l
=
n
(
t
),
r
=
String
(
this
),
c
=
l
.
lastIndex
;
a
(
c
,
0
)
||
(
l
.
lastIndex
=
0
);
var
d
=
o
(
l
,
r
);
return
a
(
l
.
lastIndex
,
c
)
||
(
l
.
lastIndex
=
c
),
null
===
d
?
-
1
:
d
.
index
}]}))},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}}}]);
\ No newline at end of file
dist/js/chunk-3bea7212.8b1c0252.js
已删除
100644 → 0
浏览文件 @
d2fa94e5
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-3bea7212
"
],{
"
25d9
"
:
function
(
t
,
e
,
i
){
"
use strict
"
;
i
(
"
7ca6
"
)},
"
386d
"
:
function
(
t
,
e
,
i
){
"
use strict
"
;
var
n
=
i
(
"
cb7c
"
),
a
=
i
(
"
83a1
"
),
s
=
i
(
"
5f1b
"
);
i
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
i
,
o
){
return
[
function
(
i
){
var
n
=
t
(
this
),
a
=
void
0
==
i
?
void
0
:
i
[
e
];
return
void
0
!==
a
?
a
.
call
(
i
,
n
):
new
RegExp
(
i
)[
e
](
String
(
n
))},
function
(
t
){
var
e
=
o
(
i
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
r
=
n
(
t
),
l
=
String
(
this
),
c
=
r
.
lastIndex
;
a
(
c
,
0
)
||
(
r
.
lastIndex
=
0
);
var
u
=
s
(
r
,
l
);
return
a
(
r
.
lastIndex
,
c
)
||
(
r
.
lastIndex
=
c
),
null
===
u
?
-
1
:
u
.
index
}]}))},
"
504c
"
:
function
(
t
,
e
,
i
){
var
n
=
i
(
"
9e1e
"
),
a
=
i
(
"
0d58
"
),
s
=
i
(
"
6821
"
),
o
=
i
(
"
52a7
"
).
f
;
t
.
exports
=
function
(
t
){
return
function
(
e
){
var
i
,
r
=
s
(
e
),
l
=
a
(
r
),
c
=
l
.
length
,
u
=
0
,
d
=
[];
while
(
c
>
u
)
i
=
l
[
u
++
],
n
&&!
o
.
call
(
r
,
i
)
||
d
.
push
(
t
?[
i
,
r
[
i
]]:
r
[
i
]);
return
d
}}},
"
76aa
"
:
function
(
t
,
e
,
i
){
"
use strict
"
;
i
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
auto
"
}},[
i
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
t
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
search
},
on
:{
watchIsTea
:
t
.
watchIsTea
,
onSubmit
:
t
.
cssearch
,
onReset
:
t
.
csreset
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
tableData
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
way
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
i
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
n
.
way
]}},[
t
.
_v
(
t
.
_s
([
"
团队
"
,
"
个人
"
][
n
.
way
]))])]}},{
key
:
"
sponsor
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
sponsor
,
height
:
80
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
approval_state
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
i
(
"
Tag
"
,{
attrs
:{
color
:
t
.
publicState
.
flowApprovalState
.
color
[
n
.
approval_state
]}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
publicState
.
flowApprovalState
[
n
.
approval_state
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
i
(
"
a
"
,{
staticStyle
:{
"
margin-right
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
printFile
(
n
)}}},[
t
.
_v
(
"
打印
"
)]),
i
(
"
Poptip
"
,{
attrs
:{
title
:
"
更多选项
"
,
transfer
:
!
0
},
scopedSlots
:
t
.
_u
([{
key
:
"
content
"
,
fn
:
function
(){
return
[
2
===
n
.
approval_state
&&
t
.
hooks
.
fourtableButtonAuthentication
(
n
.
createby
)?
i
(
"
a
"
,{
staticStyle
:{
"
margin-right
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
generateCertificateMaterialData
(
n
)}}},[
t
.
_v
(
"
生成成绩申报
"
)]):
i
(
"
a
"
,{
staticStyle
:{
cursor
:
"
not-allowed
"
,
color
:
"
#9297a1
"
,
"
margin-right
"
:
"
15px
"
}},[
t
.
_v
(
"
生成成绩申报
"
)])]},
proxy
:
!
0
}],
null
,
!
0
)},[
2
===
n
.
approval_state
&&
t
.
hooks
.
fourtableButtonAuthentication
(
n
.
createby
)?
i
(
"
a
"
,{
staticStyle
:{
"
margin-right
"
:
"
15px
"
}},[
t
.
_v
(
"
更多
"
)]):
i
(
"
a
"
,{
staticStyle
:{
color
:
"
#9297a1
"
,
"
margin-right
"
:
"
15px
"
}},[
t
.
_v
(
"
更多
"
)])]),
4
===
n
.
approval_state
&&
t
.
hooks
.
fourtableButtonAuthentication
(
n
.
createby
)?
i
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
signUpdate
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]):
i
(
"
a
"
,{
staticStyle
:{
cursor
:
"
not-allowed
"
,
color
:
"
#9297a1
"
}},[
t
.
_v
(
"
编辑
"
)]),
i
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
edit
(
n
)}}},[
t
.
_v
(
"
详细
"
)])]}}])}),
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
key
:
t
.
pageKey
,
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
),
i
(
"
Drawer
"
,{
attrs
:{
width
:
850
,
title
:
"
详细
"
,
draggable
:
!
0
,
closable
:
!
0
},
model
:{
value
:
t
.
drawer
,
callback
:
function
(
e
){
t
.
drawer
=
e
},
expression
:
"
drawer
"
}},[
i
(
"
div
"
,{
staticClass
:
"
tableList
"
,
staticStyle
:{
position
:
"
relative
"
}},[
t
.
data
.
loading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
t
.
_e
(),
i
(
"
h1
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
width
:
"
100%
"
}},[
t
.
_v
(
"
竞赛报名内容详细
"
)]),
i
(
"
table
"
,{
staticClass
:
"
container1
"
,
staticStyle
:{
"
margin-bottom
"
:
"
20px
"
},
attrs
:{
border
:
"
1
"
}},[
t
.
_l
(
t
.
data
.
array
,(
function
(
e
,
n
){
return
i
(
"
tr
"
,{
key
:
n
},[
i
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
i
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
(
e
.
value
))])])})),
i
(
"
tr
"
,[
i
(
"
th
"
,[
t
.
_v
(
"
附件:
"
)]),
i
(
"
td
"
,{
staticClass
:
"
colContent
"
},
t
.
_l
(
t
.
data
.
Object
.
files_list
,(
function
(
e
,
n
){
return
i
(
"
a
"
,{
key
:
n
,
staticClass
:
"
aText
"
,
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
},
on
:{
click
:
function
(
i
){
return
t
.
viewFile
(
e
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
file_name
)
+
"
\n
"
)])})),
0
)])],
2
),
t
.
specialist
.
signList
.
data
.
length
&&
0
===
t
.
data
.
Object
.
competition_method
?
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
}},[
i
(
"
cardTopPerches
"
,{
attrs
:{
title
:
"
专家信息
"
}}),
i
(
"
Card
"
,{
staticClass
:
"
carClass
"
,
attrs
:{
"
dis-hover
"
:
!
0
}},[
i
(
"
Table
"
,{
attrs
:{
loading
:
t
.
specialist
.
signList
.
loading
,
columns
:
t
.
specialist
.
signList
.
columns
,
data
:
t
.
specialist
.
signList
.
data
}})],
1
)],
1
):
t
.
_e
(),
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
}},[
i
(
"
div
"
,{
style
:
"
width: 100%;max-height:
"
+
t
.
unfold
.
height
+
"
px;overflow-y:hidden ;
"
},[
i
(
"
cardTopPerches
"
,{
attrs
:{
title
:
"
团队信息
"
}}),
t
.
_l
(
t
.
competitionsignTeam
,(
function
(
e
,
n
){
return
i
(
"
Card
"
,{
key
:
n
,
staticClass
:
"
carClass
"
,
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
h3
"
,[
t
.
_v
(
t
.
_s
(
e
.
teanname
)
+
"
(指导教师
"
),
i
(
"
span
"
,{
staticStyle
:{
color
:
"
#1e93ff
"
}},[
t
.
_v
(
t
.
_s
(
e
.
guide_teacher_list
.
length
))]),
t
.
_v
(
"
位,参赛教师
\n
"
),
i
(
"
span
"
,{
staticStyle
:{
color
:
"
#1e93ff
"
}},[
t
.
_v
(
t
.
_s
(
e
.
contestant_teacher_list
.
length
))]),
t
.
_v
(
"
位,参赛学生
\n
"
),
i
(
"
span
"
,{
staticStyle
:{
color
:
"
#1e93ff
"
}},[
t
.
_v
(
t
.
_s
(
e
.
student_list
.
length
))]),
t
.
_v
(
"
\n
位)
"
)])]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){},
proxy
:
!
0
}],
null
,
!
0
)},[
e
.
guide_teacher_list
.
length
?
i
(
"
Table
"
,{
attrs
:{
columns
:
t
.
guidecolumnsTeacher
,
data
:
e
.
guide_teacher_list
}}):
t
.
_e
(),
e
.
contestant_teacher_list
.
length
?
i
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columnsTeacher
,
data
:
e
.
contestant_teacher_list
}}):
t
.
_e
(),
e
.
student_list
.
length
?
i
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columnsStudent
,
data
:
e
.
student_list
}}):
t
.
_e
()],
1
)}))],
2
),
i
(
"
div
"
,{
staticClass
:
"
Atext
"
},[
t
.
competitionsignTeam
.
length
?
i
(
"
a
"
,{
on
:{
click
:
t
.
unfoldTeamCard
}},[
0
===
t
.
unfold
.
State
?
i
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-arrow-dropdown-circle
"
}}):
i
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-arrow-dropup-circle
"
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
unfold
.
flag
[
t
.
unfold
.
State
])
+
"
\n
"
)],
1
):
t
.
_e
()])])],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
title
:
"
文件导出
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
importModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
importModal
,
callback
:
function
(
e
){
t
.
importModal
=
e
},
expression
:
"
importModal
"
}},[
t
.
importLoading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
t
.
_e
(),
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},
t
.
_l
(
t
.
fileObject
,(
function
(
e
,
n
){
return
i
(
"
Button
"
,{
key
:
n
,
attrs
:{
icon
:
"
md-log-in
"
},
on
:{
click
:
function
(
i
){
return
t
.
importButton
(
e
[
1
])}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
[
2
])
+
"
\n
"
)])})),
1
)],
1
),
i
(
"
Modal
"
,{
attrs
:{
title
:
"
修改
"
,
width
:
"
60
"
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
importModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
updateSignModal
,
callback
:
function
(
e
){
t
.
updateSignModal
=
e
},
expression
:
"
updateSignModal
"
}},[
t
.
importLoading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
t
.
_e
(),
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
t
.
updateSignModal
&&
1
===
t
.
signFlag
?
i
(
"
UpdateSignModal
"
,{
attrs
:{
signId
:
t
.
signId
},
on
:{
GetSignList
:
t
.
getCompetitionSignList
,
resultValue
:
t
.
resultValue
}}):
t
.
_e
(),
t
.
updateSignModal
&&
0
===
t
.
signFlag
?
i
(
"
UpdateSignModalStudentSIgn
"
,{
attrs
:{
signId
:
t
.
signId
},
on
:{
GetSignList
:
t
.
getCompetitionSignList
,
resultValue
:
t
.
resultValue
}}):
t
.
_e
()],
1
)],
1
),
i
(
"
Drawer
"
,{
attrs
:{
draggable
:
!
0
,
width
:
"
50%
"
,
title
:
"
打印文件
"
,
closable
:
!
0
},
model
:{
value
:
t
.
printFiles
.
modal
,
callback
:
function
(
e
){
t
.
$set
(
t
.
printFiles
,
"
modal
"
,
e
)},
expression
:
"
printFiles.modal
"
}},[
t
.
printFiles
.
show
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
t
.
_e
(),
i
(
"
iframe
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
},
attrs
:{
src
:
t
.
printFiles
.
src
}})],
1
),
i
(
"
Drawer
"
,{
attrs
:{
draggable
:
!
0
,
width
:
"
90
"
,
closable
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
header
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
mix-height
"
:
"
35px
"
,
"
max-height
"
:
"
auto
"
,
position
:
"
relative
"
}},[
i
(
"
h3
"
,{
staticStyle
:{
"
margin-bottom
"
:
"
5px
"
}},[
t
.
_v
(
"
附件预览
"
)]),
t
.
_l
(
t
.
data
.
Object
.
files_list
,(
function
(
e
,
n
){
return
i
(
"
a
"
,{
key
:
n
,
staticClass
:
"
aText
"
,
staticStyle
:{
"
margin-right
"
:
"
3vw
"
},
on
:{
click
:
function
(
i
){
return
t
.
updateViewFile
(
e
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
file_name
)
+
"
\n
"
)])}))],
2
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
drawerPreview
,
callback
:
function
(
e
){
t
.
drawerPreview
=
e
},
expression
:
"
drawerPreview
"
}},[
t
.
src
&&
"
office
"
===
t
.
fileType
?
i
(
"
VueDocPreview
"
,{
key
:
t
.
viewFileUpdataKeys
,
attrs
:{
value
:
t
.
src
,
url
:
t
.
src
,
language
:
"
JavaScript
"
,
type
:
"
office
"
}}):
t
.
_e
(),
t
.
src
&&
"
image
"
===
t
.
fileType
?
i
(
"
i-frame
"
,{
key
:
t
.
viewFileUpdataKeys
,
attrs
:{
src
:
t
.
src
}}):
t
.
_e
()],
1
)],
1
)},
a
=
[],
s
=
(
i
(
"
8e6e
"
),
i
(
"
456d
"
),
i
(
"
ffc1
"
),
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
o
=
i
(
"
ade3
"
),
r
=
(
i
(
"
ac6a
"
),
i
(
"
7f7f
"
),
i
(
"
386d
"
),
i
(
"
967e
"
)),
l
=
i
.
n
(
r
),
c
=
i
(
"
61be
"
),
u
=
i
(
"
7f6b
"
),
d
=
i
(
"
2ef0
"
),
p
=
i
.
n
(
d
),
h
=
i
(
"
78e2
"
),
f
=
i
(
"
7fde
"
),
g
=
i
(
"
a78e
"
),
m
=
i
.
n
(
g
),
y
=
i
(
"
3252
"
);
function
v
(
t
,
e
){
var
i
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
_
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
i
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
v
(
Object
(
i
),
!
0
).
forEach
((
function
(
e
){
Object
(
o
[
"
a
"
])(
t
,
e
,
i
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
i
)):
v
(
Object
(
i
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
i
,
e
))}))}
return
t
}
var
w
=
{
name
:
"
list
"
,
components
:{
UpdateSignModal
:
h
[
"
a
"
],
UpdateSignModalStudentSIgn
:
f
[
"
a
"
]},
data
:
function
(){
return
{
signFlag
:
""
,
searchCondList
:[{
id
:
"
batch
"
,
name
:
"
赛事批次
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
level
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
type
"
,
name
:
"
竞赛类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
way
"
,
name
:
"
比赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
approval_state
"
,
name
:
"
审批状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
未审批
"
,
value
:
0
},{
label
:
"
审批中
"
,
value
:
1
},{
label
:
"
审批通过
"
,
value
:
2
},{
label
:
"
审批不通过
"
,
value
:
3
}]},{
id
:
"
is_tea
"
,
name
:
"
参赛身份
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生
"
,
value
:
0
},{
label
:
"
教师
"
,
value
:
1
}]}],
unfold
:{
State
:
0
,
height
:
"
500
"
,
flag
:[
"
展开
"
,
"
收起
"
]},
signId
:
""
,
updateSignModal
:
!
1
,
keys1
:
1
,
guidecolumnsTeacher
:[{
title
:
"
指导教师
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
工号
"
,
minWidth
:
120
,
key
:
"
card_name
"
},{
title
:
"
身份证号
"
,
minWidth
:
180
,
key
:
"
sfzh
"
},{
title
:
"
教学院系
"
,
minWidth
:
150
,
key
:
"
dept
"
},{
title
:
"
性别
"
,
minWidth
:
80
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
columnsStudent
:[{
title
:
"
参赛学生
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
学号
"
,
minWidth
:
120
,
key
:
"
card_name
"
},{
title
:
"
身份证号
"
,
minWidth
:
180
,
key
:
"
sfzh
"
},{
title
:
"
班级
"
,
minWidth
:
150
,
key
:
"
classname
"
},{
title
:
"
性别
"
,
minWidth
:
80
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
columnsTeacher
:[{
title
:
"
参赛教师
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
工号
"
,
minWidth
:
120
,
key
:
"
card_name
"
},{
title
:
"
身份证号
"
,
minWidth
:
180
,
key
:
"
sfzh
"
},{
title
:
"
教学院系
"
,
minWidth
:
150
,
key
:
"
dept
"
},{
title
:
"
性别
"
,
minWidth
:
80
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
competitionsignTeam
:[],
drawerKeyValueArray
:[],
viewFileUpdataKeys
:
1
,
drawerPreview
:
!
1
,
fileType
:
""
,
src
:
""
,
data
:{
loading
:
!
1
,
keyValueArray
:[],
Object
:{},
array
:[]},
specialist
:{
signList
:{
columns
:[{
type
:
"
index
"
,
title
:
""
,
align
:
"
left
"
,
width
:
80
,
show
:
!
0
},{
key
:
"
name
"
,
title
:
"
姓名
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
},{
key
:
"
unit
"
,
title
:
"
工作单位
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
},{
key
:
"
job
"
,
title
:
"
职务
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
},{
key
:
"
phone
"
,
title
:
"
联系方式
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
}],
data
:[],
loading
:
!
1
},
deptList
:[],
formData
:{
name
:
""
,
dept_id
:
""
,
dept_name
:
""
,
competitionsubitem_name
:
""
,
specialty
:
""
,
unit
:
""
,
job
:
""
,
phone
:
""
,
email
:
""
,
remark
:
""
,
state
:
0
,
sign_id
:
""
},
batchFormData
:{
sign_id
:
""
,
specialist_id_list
:[]},
show
:
!
1
,
tabsName
:
"
0
"
,
params
:{
name
:
""
,
page_index
:
1
,
page_size
:
5
},
table
:{
columns
:[{
type
:
"
selection
"
,
title
:
""
,
align
:
"
left
"
,
width
:
80
,
show
:
!
0
},{
key
:
"
name
"
,
title
:
"
姓名
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
},{
key
:
"
unit
"
,
title
:
"
工作单位
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
},{
key
:
"
job
"
,
title
:
"
职务
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
},{
key
:
"
phone
"
,
title
:
"
联系方式
"
,
align
:
"
left
"
,
minWidth
:
150
,
show
:
!
0
}],
data
:[],
loading
:
!
1
}},
drawer
:
!
1
,
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
赛项名称
"
,
key
:
"
competitionsubitem_name
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
赛事编号
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
主办单位
"
,
slot
:
"
sponsor
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
经费预算
"
,
key
:
"
money
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事级别
"
,
key
:
"
competition_level_name
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
赛事类别
"
,
key
:
"
competition_type_name
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
竞赛形式(团/个)
"
,
slot
:
"
way
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
计划培训量
"
,
key
:
"
class_hour
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
竞赛开始时间
"
,
key
:
"
begin_time
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
竞赛结束时间
"
,
key
:
"
end_time
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
审批状态
"
,
slot
:
"
approval_state
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
操作
"
,
minWidth
:
200
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
search
:{
is_tea
:
0
,
batch
:
""
,
type
:
""
,
way
:
""
,
name
:
""
,
approval_state
:
""
,
level
:
""
,
wayCurrentValue
:
""
,
nameCurrentValue
:
""
,
approval_stateCurrentValue
:
""
,
levelCurrentValue
:
""
,
approval_stateArray
:[{
value
:
0
,
label
:
"
未审批
"
},{
value
:
1
,
label
:
"
审批中
"
},{
value
:
2
,
label
:
"
审批通过
"
},{
value
:
3
,
label
:
"
审批不通过
"
},{
value
:
4
,
label
:
"
退回
"
}],
levelArray
:[],
wayArray
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}]},
init
:{
page_index
:
1
,
page_size
:
10
,
total
:
0
},
printFiles
:{
show
:
!
1
,
modal
:
!
1
,
src
:
""
},
pageKey
:
1
,
importLoading
:
!
1
,
importModal
:
!
1
,
fileObject
:[]}},
created
:
function
(){},
watch
:{
"
$refs.search.searchCondObj.is_tea
"
:{
handler
:
function
(
t
,
e
){
console
.
log
(
111
,
t
,
e
)},
deep
:
!
0
,
immediate
:
!
0
}},
computed
:{
roleId
:
function
(){
return
m
.
a
.
get
(
"
admin-competition-roleId
"
)?
JSON
.
parse
(
m
.
a
.
get
(
"
admin-competition-roleId
"
)).
role_id
:
""
},
searchButton
:
function
(){
return
""
===
this
.
search
.
way
&&
""
===
this
.
search
.
level
&&
""
===
this
.
search
.
name
&&
""
===
this
.
search
.
approval_state
}},
mounted
:
function
(){
this
.
getCompetitionSignList
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetBatchBySelect
()},
methods
:{
updateViewFile
:
function
(
t
){
var
e
=
this
,
i
=
function
(
t
,
i
){
e
.
src
=
window
.
location
.
protocol
+
"
//
"
+
window
.
location
.
host
+
i
.
path
,
e
.
fileType
=
t
,
e
.
viewFileUpdataKeys
++
};
"
.jpg
"
===
t
.
suffix
||
"
.jpeg
"
===
t
.
suffix
||
"
.png
"
===
t
.
suffix
||
"
.pdf
"
===
t
.
suffix
?
i
(
"
image
"
,
t
):
"
.doc
"
!==
t
.
suffix
&&
"
.docx
"
!==
t
.
suffix
&&
"
.xls
"
!==
t
.
suffix
&&
"
.xlsx
"
!==
t
.
suffix
||
i
(
"
office
"
,
t
)},
viewFile
:
function
(
t
){
var
e
=
this
,
i
=
function
(
t
,
i
){
e
.
src
=
window
.
location
.
protocol
+
"
//
"
+
window
.
location
.
host
+
i
.
path
,
e
.
fileType
=
t
,
e
.
drawerPreview
=!
0
};
"
.jpg
"
===
t
.
suffix
||
"
.jpeg
"
===
t
.
suffix
||
"
.png
"
===
t
.
suffix
||
"
.pdf
"
===
t
.
suffix
?
i
(
"
image
"
,
t
):
"
.doc
"
!==
t
.
suffix
&&
"
.docx
"
!==
t
.
suffix
&&
"
.xls
"
!==
t
.
suffix
&&
"
.xlsx
"
!==
t
.
suffix
||
i
(
"
office
"
,
t
)},
getAListOfRegistrationExperts
:
function
(
t
){
var
e
=
this
;
this
.
specialist
.
signList
.
loading
=!
0
,
y
[
"
f
"
]({
sign_id
:
t
}).
then
((
function
(
t
){
e
.
specialist
.
signList
.
data
=
t
.
response
,
e
.
specialist
.
signList
.
loading
=!
1
})).
finally
((
function
(){
e
.
specialist
.
signList
.
loading
=!
1
}))},
watchIsTea
:
function
(
t
){
this
.
search
.
is_tea
=
t
,
this
.
GetBatchBySelect
()},
GetBatchBySelect
:
function
(){
var
t
=
this
;
this
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
this
.
search
.
is_tea
}).
then
((
function
(
e
){
t
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
this
.
asc
.
getApiCommonGetTypeBySelect
().
then
((
function
(
e
){
t
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))},
fourtableButtonAuthentication
:
c
[
"
fourtableButtonAuthentication
"
],
cssearch
:
function
(
t
){
this
.
search
=
_
(
_
({},
this
.
search
),
t
),
this
.
searchFun
()},
csreset
:
function
(){
this
.
search
=
{
way
:
""
,
name
:
""
,
approval_state
:
""
,
level
:
""
,
is_tea
:
0
,
type
:
""
,
batch
:
""
,
levelArray
:[]},
this
.
searchFun
()},
generateStudentOrTeacherRewards
:
function
(
t
,
e
){
var
i
=
this
,
n
=
{
0
:
function
(){
return
i
.
asc
.
getApiCompetitionSignApiCompetitionSignSignAutoInsSubsidy
({
id
:
t
.
competitionsignid
}).
then
((
function
(
t
){
return
1
===
t
.
code
&&
i
.
getCompetitionSignList
(),
t
}))},
1
:
function
(){
return
i
.
asc
.
getApiCompetitionSignApiCompetitionSignSignAutoInsWorkload
({
id
:
t
.
competitionsignid
}).
then
((
function
(
t
){
return
1
===
t
.
code
&&
i
.
getCompetitionSignList
(),
t
}))}};
this
.
hooks
.
publicConfirm
((
function
(){
i
.
hooks
.
myEncapsulationFunction
((
function
(){
return
n
[
e
]()}))}))},
generateCertificateMaterialData
:
function
(
t
){
var
e
=
this
;
this
.
hooks
.
publicConfirm
((
function
(){
e
.
hooks
.
myEncapsulationFunction
(
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
i
(){
var
n
;
return
l
.
a
.
wrap
((
function
(
i
){
while
(
1
)
switch
(
i
.
prev
=
i
.
next
){
case
0
:
return
i
.
next
=
2
,
e
.
api
.
SignAutoInsCertificate
({
id
:
t
.
competitionsignid
});
case
2
:
if
(
n
=
i
.
sent
,
1
!==
n
.
code
){
i
.
next
=
6
;
break
}
return
i
.
next
=
6
,
e
.
getCompetitionSignList
();
case
6
:
return
i
.
abrupt
(
"
return
"
,
n
);
case
7
:
case
"
end
"
:
return
i
.
stop
()}}),
i
)}))))}))},
printFile
:
function
(
t
){
var
e
=
this
;
this
.
printFiles
.
modal
=!
0
,
this
.
printFiles
.
show
=!
0
,
this
.
printFiles
.
src
=
""
,
c
[
"
getInitListRequest
"
](
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
i
(){
return
l
.
a
.
wrap
((
function
(
i
){
while
(
1
)
switch
(
i
.
prev
=
i
.
next
){
case
0
:
u
[
"
SignExport
"
]({
id
:
t
.
competitionsignid
}).
then
((
function
(
t
){
e
.
printFiles
.
src
=
t
.
response
.
response
.
pdf
,
e
.
printFiles
.
show
=!
1
}));
case
1
:
case
"
end
"
:
return
i
.
stop
()}}),
i
)})))),
console
.
log
(
"
🚀🚀res🚀,
"
,
res
)},
unfoldTeamCard
:
function
(){
Boolean
(
this
.
unfold
.
State
)?(
this
.
unfold
.
height
=
"
500
"
,
this
.
unfold
.
State
=
0
):(
this
.
unfold
.
height
=
"
9999
"
,
this
.
unfold
.
State
=
1
)},
resultValue
:
function
(
t
){
this
.
updateSignModal
=
t
,
this
.
getCompetitionSignList
()},
signUpdate
:
function
(
t
){
this
.
signFlag
=
t
.
competition_method
,
this
.
signId
=
t
.
competitionsignid
,
this
.
updateSignModal
=!
0
},
GetLevelBySelect
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
,
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
u
[
"
GetLevelBySelect
"
]();
case
2
:
e
=
t
.
sent
,
this
.
search
.
levelArray
=
e
.
response
,
i
=
e
.
response
.
map
((
function
(
t
){
return
{
label
:
t
.
name
,
value
:
t
.
id
}})),
this
.
searchCondList
.
map
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
i
)}));
case
6
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
importButton
:
function
(
t
){
window
.
open
(
t
,
"
_blank
"
)},
importFile
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
){
var
i
,
n
,
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
importModal
=!
0
,
this
.
importLoading
=!
0
,
t
.
next
=
5
,
u
[
"
SignExport
"
]({
id
:
e
.
competitionsignid
});
case
5
:
i
=
t
.
sent
;
try
{
delete
i
.
response
.
response
.
file_name
,
n
=
Object
.
entries
(
i
.
response
.
response
),
a
=
[
"
PDF导出
"
,
"
Word导出
"
],
n
.
map
((
function
(
t
,
e
){
t
.
push
(
a
[
e
])})),
this
.
fileObject
=
n
,
this
.
importLoading
=!
1
}
catch
(
s
){
this
.
importLoading
=!
1
}
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
delCompetition
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
){
var
i
,
n
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
i
=
{
id
:
e
.
competitionsignid
},
t
.
next
=
3
,
u
[
"
SignDel
"
](
i
);
case
3
:
return
n
=
t
.
sent
,
c
[
"
publicMessage
"
](
n
),
t
.
next
=
7
,
this
.
getCompetitionSignList
();
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
getCompetitionSignList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
getCompetitionSignList
()},
searchFun
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
pageKey
++
,
this
.
init
.
page_index
=
1
,
t
.
next
=
4
,
this
.
getCompetitionSignList
();
case
4
:
t
.
sent
;
case
5
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
getCompetitionSignList
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
,
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
e
=
{
role_id
:
m
.
a
.
get
(
"
admin-competition-roleId
"
)?
JSON
.
parse
(
m
.
a
.
get
(
"
admin-competition-roleId
"
)).
role_id
:
""
,
name
:
this
.
search
.
name
,
level
:
this
.
search
.
level
,
way
:
this
.
search
.
way
,
approval_state
:
this
.
search
.
approval_state
,
is_tea
:
this
.
search
.
is_tea
,
batch
:
this
.
search
.
batch
,
type
:
this
.
search
.
type
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
t
.
next
=
4
,
u
[
"
GetSignList
"
](
e
);
case
4
:
i
=
t
.
sent
,
this
.
tableData
=
i
.
response
.
data
,
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
edit
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
){
var
i
=
this
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
this
.
drawer
=!
0
,
this
.
data
.
loading
=!
0
,
u
[
"
GetSignInfo
"
]({
id
:
e
.
competitionsignid
}).
then
((
function
(
t
){
var
n
=
p
.
a
.
cloneDeep
(
e
);
u
[
"
TeamAndMemberSel
"
]({
signid
:
n
.
competitionsignid
}).
then
((
function
(
t
){
i
.
competitionsignTeam
=
t
.
response
})),
i
.
data
.
Object
=
t
.
response
;
var
a
=
t
.
response
;
i
.
data
.
array
=
[{
title
:
"
赛事名称
"
,
value
:
a
.
competitionname
},{
title
:
"
赛事编号
"
,
value
:
a
.
report_code
},{
title
:
"
赛项名称
"
,
value
:
a
.
competitionsubitem_name
},{
title
:
"
主办单位
"
,
value
:
a
.
sponsor
},{
title
:
"
赛事级别
"
,
value
:
a
.
competition_level_name
},{
title
:
"
赛事类别
"
,
value
:
a
.
competition_type_name
},{
title
:
"
竞赛形式
"
,
value
:[
"
团队
"
,
"
个人
"
,
"
不限
"
][
a
.
way
]},{
title
:
"
比赛开始时间
"
,
value
:
a
.
begin_time
},{
title
:
"
比赛结束时间
"
,
value
:
a
.
end_time
},{
title
:
"
经费预算
"
,
value
:
a
.
money
},{
title
:
"
计划培训课时
"
,
value
:
a
.
class_hour
}];
var
s
=
{
0
:
function
(){
i
.
data
.
array
.
push
({
title
:
"
关联课程
"
,
value
:
a
.
course
},{
title
:
"
是否邀请专家
"
,
value
:[
"
否
"
,
"
是
"
][
a
.
is_specialist
]}),
i
.
getAListOfRegistrationExperts
(
a
.
competitionsignid
)},
1
:
function
(){}};
s
[
a
.
competition_method
](),
i
.
data
.
loading
=!
1
})).
finally
((
function
(){
i
.
data
.
loading
=!
1
}));
case
3
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
del
:
function
(
t
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)}}},
b
=
w
,
S
=
(
i
(
"
25d9
"
),
i
(
"
2877
"
)),
x
=
Object
(
S
[
"
a
"
])(
b
,
n
,
a
,
!
1
,
null
,
"
cd819aec
"
,
null
);
e
[
"
default
"
]
=
x
.
exports
},
"
7ca6
"
:
function
(
t
,
e
,
i
){},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
ffc1
:
function
(
t
,
e
,
i
){
var
n
=
i
(
"
5ca1
"
),
a
=
i
(
"
504c
"
)(
!
0
);
n
(
n
.
S
,
"
Object
"
,{
entries
:
function
(
t
){
return
a
(
t
)}})}}]);
\ No newline at end of file
dist/js/chunk-45e8c55e.
81b23c87
.js
→
dist/js/chunk-45e8c55e.
1360d92e
.js
浏览文件 @
7053bb4f
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-45e8c55e
"
],{
"
386d
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
var
n
=
i
(
"
cb7c
"
),
o
=
i
(
"
83a1
"
),
a
=
i
(
"
5f1b
"
);
i
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
e
,
t
,
i
,
s
){
return
[
function
(
i
){
var
n
=
e
(
this
),
o
=
void
0
==
i
?
void
0
:
i
[
t
];
return
void
0
!==
o
?
o
.
call
(
i
,
n
):
new
RegExp
(
i
)[
t
](
String
(
n
))},
function
(
e
){
var
t
=
s
(
i
,
e
,
this
);
if
(
t
.
done
)
return
t
.
value
;
var
l
=
n
(
e
),
r
=
String
(
this
),
d
=
l
.
lastIndex
;
o
(
d
,
0
)
||
(
l
.
lastIndex
=
0
);
var
c
=
a
(
l
,
r
);
return
o
(
l
.
lastIndex
,
d
)
||
(
l
.
lastIndex
=
d
),
null
===
c
?
-
1
:
c
.
index
}]}))},
"
83a1
"
:
function
(
e
,
t
){
e
.
exports
=
Object
.
is
||
function
(
e
,
t
){
return
e
===
t
?
0
!==
e
||
1
/
e
===
1
/
t
:
e
!=
e
&&
t
!=
t
}},
"
882e
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
.
r
(
t
);
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
auto
"
}},[
i
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
e
.
searchCondList
,
labelWidth
:
120
,
params
:
e
.
init
},
on
:{
onSubmit
:
e
.
cssearch
,
onReset
:
e
.
csreset
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
todo
"
,
fn
:
function
(
e
){
var
t
=
e
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
t
.
todo
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
partcipant
"
,
fn
:
function
(
e
){
var
t
=
e
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
t
.
partcipant
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
status
"
,
fn
:
function
(
t
){
var
i
=
t
.
row
;
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
草稿
"
,
"
运行中
"
,
"
已结束
"
][
i
.
status
])
+
"
\n
"
)]}},{
key
:
"
action_type
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
Tag
"
,{
attrs
:{
color
:
e
.
publicState
.
completeFlow
.
color
[
n
.
action_type
]}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
publicState
.
completeFlow
.
action_type
[
n
.
action_type
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
approvalLisFun
(
n
)}}},[
e
.
_v
(
"
详细
"
)])]}}])}),
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
attrs
:{
total
:
e
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
,
current
:
e
.
init
.
page_index
},
on
:{
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
},
model
:{
value
:
e
.
init
.
page_index
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
)],
1
)},
o
=
[],
a
=
(
i
(
"
8e6e
"
),
i
(
"
456d
"
),
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
s
=
(
i
(
"
7f7f
"
),
i
(
"
ac6a
"
),
i
(
"
386d
"
),
i
(
"
ade3
"
)),
l
=
i
(
"
967e
"
),
r
=
i
.
n
(
l
),
d
=
i
(
"
61be
"
),
c
=
i
(
"
7f6b
"
),
p
=
i
(
"
5ccc
"
),
h
=
(
i
(
"
a18c
"
),
i
(
"
3252
"
));
function
u
(
e
,
t
){
var
i
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
f
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
i
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
u
(
Object
(
i
),
!
0
).
forEach
((
function
(
t
){
Object
(
s
[
"
a
"
])(
e
,
t
,
i
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
i
)):
u
(
Object
(
i
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
i
,
t
))}))}
return
e
}
var
w
=
{
name
:
"
list
"
,
computed
:{
publicState
:
function
(){
return
p
[
"
a
"
]}},
data
:
function
(){
var
e
=
this
;
return
{
transferParams
:{},
searchCondList
:[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
eventApplication
"
,
name
:
"
申请类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师赛事申请
"
,
value
:
112
},{
label
:
"
教师赛事调整
"
,
value
:
114
},{
label
:
"
学生赛事调整
"
,
value
:
101
},{
label
:
"
学生赛事调整
"
,
value
:
113
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]}],
flowSelect
:[],
ddd
:
""
,
ccc
:
""
,
bbb
:
""
,
aaa
:
""
,
flowStateArray
:[{
name
:
"
草稿
"
,
value
:
0
},{
name
:
"
运行中
"
,
value
:
1
},{
name
:
"
已结束
"
,
value
:
2
}],
formData
:{
name
:
""
,
url
:
""
,
owner
:
""
,
type
:
""
,
approver
:
""
,
date
:
""
,
desc
:
""
},
approvalDrawer
:
!
1
,
formValidate
:{
runid
:
""
,
title
:
""
,
flow_name
:
""
,
flow_id
:
""
,
status
:
0
,
action_type
:
0
,
starter
:
""
,
starter_name
:
""
,
start_time
:
""
,
current_node_id
:
""
,
current_node_name
:
""
,
todo
:
""
,
partcipant
:
""
,
modifyby
:
""
,
modifytime
:
""
,
form_id
:
""
,
form_name
:
""
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
title
"
,
show
:
!
0
,
minWidth
:
300
},{
title
:
"
流程名称
"
,
key
:
"
flow_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
流程状态
"
,
slot
:
"
status
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
操作类型
"
,
slot
:
"
action_type
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
当前节点名称
"
,
key
:
"
current_node_name
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
当前节点待办人员
"
,
slot
:
"
todo
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
参与人
"
,
slot
:
"
partcipant
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发起人
"
,
key
:
"
starter
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
发起人姓名
"
,
key
:
"
starter_name
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
发起时间
"
,
key
:
"
start_time
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
,
rewardType
:
""
,
declarationType
:
""
},
strategy
:{
"
/flow-processedList-rewardForTeachersAndStudents
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-WorkloadDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
109
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-TeacherBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-SubsidyDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
108
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-StudentBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
106
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-Certificate
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
103
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
102
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-eventCatalogue
"
:
function
(){
e
.
initSearchCondition
(),
e
.
$route
.
query
.
transferParams
||
(
e
.
init
.
flow_id1
=
101
),
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
flow_id
"
)}},
strategyReset
:{
"
/flow-processedList-rewardForTeachersAndStudents
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-WorkloadDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
109
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-TeacherBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-SubsidyDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
108
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-StudentBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
106
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-Certificate
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
103
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
102
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-eventCatalogue
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
101
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
flow_id
"
)}}}},
initSearchCondition
:
function
(){
this
.
searchCondList
=
[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
eventApplication
"
,
name
:
"
申请类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师赛事申请
"
,
value
:
112
},{
label
:
"
教师赛事调整
"
,
value
:
114
},{
label
:
"
学生赛事申请
"
,
value
:
101
},{
label
:
"
学生赛事调整
"
,
value
:
113
}]},{
id
:
"
declarationType
"
,
name
:
"
申报类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师申报
"
,
value
:
111
},{
label
:
"
学生申报
"
,
value
:
103
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
e
){
return
e
.
id
})).
indexOf
(
"
competition_level_id
"
)].
optList
},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
e
){
return
e
.
id
})).
indexOf
(
"
competition_type_id
"
)].
optList
}]},
cssearch
:
function
(
e
){
e
.
rewardType
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
rewardType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
e
.
declarationType
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
declarationType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
e
.
eventApplication
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
eventApplication
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):(
this
.
strategy
[
this
.
$route
.
path
](),
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
flow_id
?
e
.
flow_id
:
this
.
init
.
flow_id1
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
),
this
.
transferParams
=
e
,
this
.
search
()},
created
:
function
(){},
watch
:{
$route
:
function
(
e
,
t
){
this
.
init
=
{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
,
rewardType
:
""
,
declarationType
:
""
},
this
.
strategy
[
e
.
path
](),
this
.
$refs
.
search
.
resetBt
()}},
mounted
:
function
(){
this
.
routerCarryConditionQuery
(),
this
.
strategy
[
this
.
$route
.
path
](),
this
.
GetFlowTaskList
(),
this
.
GetFlowIdSelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
()},
methods
:{
routerCarryConditionQuery
:
function
(){
this
.
$route
.
query
.
transferParams
?(
this
.
init
=
f
(
f
({},
this
.
init
),
JSON
.
parse
(
this
.
$route
.
query
.
transferParams
)),
this
.
$refs
.
search
.
searchCondObj
=
this
.
init
,
this
.
cssearch
(
this
.
init
)):
console
.
log
(
"
🚀🚀没有查询参数transferParams🚀,
"
)},
GetLevelBySelect
:
function
(){
var
e
=
this
;
h
[
"
a
"
]().
then
((
function
(
t
){
e
.
searchCondList
.
forEach
((
function
(
e
){
"
competition_level_id
"
===
e
.
id
&&
(
e
.
optList
=
t
.
response
.
map
((
function
(
e
){
return
{
label
:
e
.
name
,
value
:
e
.
id
}})))}))}))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
h
[
"
b
"
]().
then
((
function
(
t
){
e
.
searchCondList
.
forEach
((
function
(
e
){
"
competition_type_id
"
===
e
.
id
&&
(
e
.
optList
=
t
.
response
.
map
((
function
(
e
,
t
){
return
{
value
:
e
.
id
,
label
:
e
.
name
}})))}))}))},
deleteSearchCondition
:
function
(
e
){
var
t
=
this
;
this
.
searchCondList
.
forEach
((
function
(
i
,
n
){
i
.
id
===
e
&&
t
.
searchCondList
.
splice
(
n
,
1
)}))},
initSearchCondition
:
function
(){
this
.
searchCondList
=
[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
eventApplication
"
,
name
:
"
申请类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师赛事申请
"
,
value
:
112
},{
label
:
"
教师赛事调整
"
,
value
:
114
},{
label
:
"
学生赛事申请
"
,
value
:
101
},{
label
:
"
学生赛事调整
"
,
value
:
113
}]},{
id
:
"
declarationType
"
,
name
:
"
申报类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师申报
"
,
value
:
111
},{
label
:
"
学生申报
"
,
value
:
103
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
e
){
return
e
.
id
})).
indexOf
(
"
competition_level_id
"
)].
optList
},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
e
){
return
e
.
id
})).
indexOf
(
"
competition_type_id
"
)].
optList
}]},
cssearch
:
function
(
e
){
e
.
rewardType
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
rewardType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
e
.
declarationType
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
declarationType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
e
.
eventApplication
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
eventApplication
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):(
this
.
strategy
[
this
.
$route
.
path
](),
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
flow_id
?
e
.
flow_id
:
this
.
init
.
flow_id1
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
),
this
.
transferParams
=
e
,
this
.
search
()},
csreset
:
function
(){
this
.
init
=
{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
},
this
.
transferParams
=
this
.
init
,
this
.
strategyReset
[
this
.
$route
.
path
](),
this
.
initData
()},
getFlowId
:
function
(){
this
.
strategyReset
[
this
.
$route
.
path
]()},
initData
:
function
(){
this
.
getFlowId
(),
this
.
init
.
status1
=
this
.
init
.
status
=
""
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
=
""
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
=
""
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
=
""
,
this
.
GetFlowTaskList
()},
search
:
function
(){
this
.
init
.
status1
=
this
.
init
.
status
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
,
this
.
GetFlowTaskList
()},
GetFlowIdSelect
:
function
(){
var
e
=
this
;
d
[
"
getInitListRequest
"
]((
function
(){
c
[
"
GetFlowIdSelect
"
]().
then
((
function
(
t
){
t
.
response
.
map
((
function
(
e
,
i
){
"
102
"
===
e
.
id
&&
(
t
.
response
.
unshift
(
e
),
t
.
response
.
splice
(
i
+
1
,
1
))})),
e
.
flowSelect
=
t
.
response
}))}))},
GetFlowTaskList
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
t
,
i
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
flow_id
:
this
.
init
.
flow_id1
,
key_name
:
this
.
init
.
key_name1
,
action_type
:
this
.
init
.
action_type1
,
status
:
this
.
init
.
status1
,
flow_name
:
this
.
init
.
flow_name1
,
competitionsubitem_name
:
this
.
init
.
competitionsubitem_name
,
competition_level_id
:
this
.
init
.
competition_level_id
,
competition_type_id
:
this
.
init
.
competition_type_id
,
sponsor
:
this
.
init
.
sponsor
,
way
:
this
.
init
.
way
},
e
.
next
=
4
,
c
[
"
GetAlreadyFlowTaskList
"
](
t
);
case
4
:
i
=
e
.
sent
,
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
tableData
=
i
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
approvalLisFun
:
function
(
e
){
this
.
$router
.
push
({
name
:
"
awaitDoneInformation
"
,
query
:{
runid
:
e
.
runid
,
form_name
:
e
.
form_name
,
flowInfo
:
"
流程详细信息
"
,
transferParams
:
JSON
.
stringify
(
f
(
f
({},
this
.
transferParams
),{},{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
})),
path
:
this
.
$route
.
path
}}),
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetFlowTaskList
()},
handleChangePageSize
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
GetFlowTaskList
()}}},
_
=
w
,
y
=
i
(
"
2877
"
),
m
=
Object
(
y
[
"
a
"
])(
_
,
n
,
o
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
m
.
exports
}}]);
\ No newline at end of file
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-45e8c55e
"
],{
"
386d
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
var
n
=
i
(
"
cb7c
"
),
o
=
i
(
"
83a1
"
),
a
=
i
(
"
5f1b
"
);
i
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
e
,
t
,
i
,
s
){
return
[
function
(
i
){
var
n
=
e
(
this
),
o
=
void
0
==
i
?
void
0
:
i
[
t
];
return
void
0
!==
o
?
o
.
call
(
i
,
n
):
new
RegExp
(
i
)[
t
](
String
(
n
))},
function
(
e
){
var
t
=
s
(
i
,
e
,
this
);
if
(
t
.
done
)
return
t
.
value
;
var
l
=
n
(
e
),
r
=
String
(
this
),
d
=
l
.
lastIndex
;
o
(
d
,
0
)
||
(
l
.
lastIndex
=
0
);
var
c
=
a
(
l
,
r
);
return
o
(
l
.
lastIndex
,
d
)
||
(
l
.
lastIndex
=
d
),
null
===
c
?
-
1
:
c
.
index
}]}))},
"
83a1
"
:
function
(
e
,
t
){
e
.
exports
=
Object
.
is
||
function
(
e
,
t
){
return
e
===
t
?
0
!==
e
||
1
/
e
===
1
/
t
:
e
!=
e
&&
t
!=
t
}},
"
882e
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
.
r
(
t
);
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
auto
"
}},[
i
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
e
.
searchCondList
,
labelWidth
:
120
,
params
:
e
.
init
},
on
:{
onSubmit
:
e
.
cssearch
,
onReset
:
e
.
csreset
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
todo
"
,
fn
:
function
(
e
){
var
t
=
e
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
t
.
todo
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
partcipant
"
,
fn
:
function
(
e
){
var
t
=
e
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
t
.
partcipant
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
status
"
,
fn
:
function
(
t
){
var
i
=
t
.
row
;
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
草稿
"
,
"
运行中
"
,
"
已结束
"
][
i
.
status
])
+
"
\n
"
)]}},{
key
:
"
action_type
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
Tag
"
,{
attrs
:{
color
:
e
.
publicState
.
completeFlow
.
color
[
n
.
action_type
]}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
publicState
.
completeFlow
.
action_type
[
n
.
action_type
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
approvalLisFun
(
n
)}}},[
e
.
_v
(
"
详细
"
)])]}}])}),
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
attrs
:{
total
:
e
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
,
current
:
e
.
init
.
page_index
},
on
:{
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
},
model
:{
value
:
e
.
init
.
page_index
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
)],
1
)},
o
=
[],
a
=
(
i
(
"
8e6e
"
),
i
(
"
456d
"
),
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
s
=
(
i
(
"
7f7f
"
),
i
(
"
ac6a
"
),
i
(
"
386d
"
),
i
(
"
ade3
"
)),
l
=
i
(
"
967e
"
),
r
=
i
.
n
(
l
),
d
=
i
(
"
61be
"
),
c
=
i
(
"
7f6b
"
),
p
=
i
(
"
5ccc
"
),
h
=
(
i
(
"
a18c
"
),
i
(
"
3252
"
));
function
u
(
e
,
t
){
var
i
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
f
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
i
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
u
(
Object
(
i
),
!
0
).
forEach
((
function
(
t
){
Object
(
s
[
"
a
"
])(
e
,
t
,
i
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
i
)):
u
(
Object
(
i
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
i
,
t
))}))}
return
e
}
var
w
=
{
name
:
"
list
"
,
computed
:{
publicState
:
function
(){
return
p
[
"
a
"
]}},
data
:
function
(){
var
e
=
this
;
return
{
transferParams
:{},
searchCondList
:[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
eventApplication
"
,
name
:
"
申请类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师赛事申请
"
,
value
:
112
},{
label
:
"
教师赛事调整
"
,
value
:
114
},{
label
:
"
学生赛事调整
"
,
value
:
101
},{
label
:
"
学生赛事调整
"
,
value
:
113
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]}],
flowSelect
:[],
ddd
:
""
,
ccc
:
""
,
bbb
:
""
,
aaa
:
""
,
flowStateArray
:[{
name
:
"
草稿
"
,
value
:
0
},{
name
:
"
运行中
"
,
value
:
1
},{
name
:
"
已结束
"
,
value
:
2
}],
formData
:{
name
:
""
,
url
:
""
,
owner
:
""
,
type
:
""
,
approver
:
""
,
date
:
""
,
desc
:
""
},
approvalDrawer
:
!
1
,
formValidate
:{
runid
:
""
,
title
:
""
,
flow_name
:
""
,
flow_id
:
""
,
status
:
0
,
action_type
:
0
,
starter
:
""
,
starter_name
:
""
,
start_time
:
""
,
current_node_id
:
""
,
current_node_name
:
""
,
todo
:
""
,
partcipant
:
""
,
modifyby
:
""
,
modifytime
:
""
,
form_id
:
""
,
form_name
:
""
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
title
"
,
show
:
!
0
,
minWidth
:
300
},{
title
:
"
流程名称
"
,
key
:
"
flow_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
流程状态
"
,
slot
:
"
status
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
操作类型
"
,
slot
:
"
action_type
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
当前节点名称
"
,
key
:
"
current_node_name
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
当前节点待办人员
"
,
slot
:
"
todo
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
参与人
"
,
slot
:
"
partcipant
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发起人
"
,
key
:
"
starter
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
发起人姓名
"
,
key
:
"
starter_name
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
发起时间
"
,
key
:
"
start_time
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
,
rewardType
:
""
,
declarationType
:
""
},
strategy
:{
"
/flow-processedList-rewardForTeachersAndStudents
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-WorkloadDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
109
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-TeacherBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-SubsidyDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
108
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-StudentBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
106
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-Certificate
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
103
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
102
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-eventCatalogue
"
:
function
(){
e
.
initSearchCondition
(),
e
.
$route
.
query
.
transferParams
||
(
e
.
init
.
flow_id1
=
101
),
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
flow_id
"
)}},
strategyReset
:{
"
/flow-processedList-rewardForTeachersAndStudents
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-WorkloadDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
109
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-TeacherBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-SubsidyDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
108
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-StudentBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
106
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-Certificate
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
103
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
102
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-processedList-eventCatalogue
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
101
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
flow_id
"
)}}}},
initSearchCondition
:
function
(){
this
.
searchCondList
=
[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
eventApplication
"
,
name
:
"
申请类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师赛事申请
"
,
value
:
112
},{
label
:
"
教师赛事调整
"
,
value
:
114
},{
label
:
"
学生赛事申请
"
,
value
:
101
},{
label
:
"
学生赛事调整
"
,
value
:
113
}]},{
id
:
"
declarationType
"
,
name
:
"
申报类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师申报
"
,
value
:
111
},{
label
:
"
学生申报
"
,
value
:
103
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
e
){
return
e
.
id
})).
indexOf
(
"
competition_level_id
"
)].
optList
},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
e
){
return
e
.
id
})).
indexOf
(
"
competition_type_id
"
)].
optList
}]},
cssearch
:
function
(
e
){
e
.
rewardType
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
rewardType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
e
.
declarationType
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
declarationType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
e
.
eventApplication
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
eventApplication
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):(
this
.
strategy
[
this
.
$route
.
path
](),
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
flow_id
?
e
.
flow_id
:
this
.
init
.
flow_id1
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
),
this
.
transferParams
=
e
,
this
.
search
()},
created
:
function
(){},
watch
:{
$route
:
function
(
e
,
t
){
this
.
init
=
{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
,
rewardType
:
""
,
declarationType
:
""
},
this
.
strategy
[
e
.
path
](),
this
.
$refs
.
search
.
resetBt
()}},
mounted
:
function
(){
this
.
routerCarryConditionQuery
(),
this
.
strategy
[
this
.
$route
.
path
](),
this
.
GetFlowTaskList
(),
this
.
GetFlowIdSelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
()},
methods
:{
routerCarryConditionQuery
:
function
(){
this
.
$route
.
query
.
transferParams
?(
this
.
init
=
f
(
f
({},
this
.
init
),
JSON
.
parse
(
this
.
$route
.
query
.
transferParams
)),
this
.
$refs
.
search
.
searchCondObj
=
this
.
init
,
this
.
cssearch
(
this
.
init
)):
console
.
log
(
"
🚀🚀没有查询参数transferParams🚀,
"
)},
GetLevelBySelect
:
function
(){
var
e
=
this
;
h
[
"
a
"
]().
then
((
function
(
t
){
e
.
searchCondList
.
forEach
((
function
(
e
){
"
competition_level_id
"
===
e
.
id
&&
(
e
.
optList
=
t
.
response
.
map
((
function
(
e
){
return
{
label
:
e
.
name
,
value
:
e
.
id
}})))}))}))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
h
[
"
b
"
]().
then
((
function
(
t
){
e
.
searchCondList
.
forEach
((
function
(
e
){
"
competition_type_id
"
===
e
.
id
&&
(
e
.
optList
=
t
.
response
.
map
((
function
(
e
,
t
){
return
{
value
:
e
.
id
,
label
:
e
.
name
}})))}))}))},
deleteSearchCondition
:
function
(
e
){
var
t
=
this
;
this
.
searchCondList
.
forEach
((
function
(
i
,
n
){
i
.
id
===
e
&&
t
.
searchCondList
.
splice
(
n
,
1
)}))},
initSearchCondition
:
function
(){
this
.
searchCondList
=
[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
eventApplication
"
,
name
:
"
申请类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师赛事申请
"
,
value
:
112
},{
label
:
"
教师赛事调整
"
,
value
:
114
},{
label
:
"
学生赛事申请
"
,
value
:
101
},{
label
:
"
学生赛事调整
"
,
value
:
113
}]},{
id
:
"
declarationType
"
,
name
:
"
申报类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师申报
"
,
value
:
111
},{
label
:
"
学生申报
"
,
value
:
103
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
e
){
return
e
.
id
})).
indexOf
(
"
competition_level_id
"
)].
optList
},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
e
){
return
e
.
id
})).
indexOf
(
"
competition_type_id
"
)].
optList
}]},
cssearch
:
function
(
e
){
e
.
rewardType
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
rewardType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
e
.
declarationType
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
declarationType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
e
.
eventApplication
?(
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
eventApplication
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):(
this
.
strategy
[
this
.
$route
.
path
](),
this
.
init
=
f
(
f
(
f
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
flow_id
?
e
.
flow_id
:
this
.
init
.
flow_id1
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
),
this
.
transferParams
=
e
,
this
.
search
()},
csreset
:
function
(){
this
.
init
=
{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
},
this
.
transferParams
=
this
.
init
,
this
.
strategyReset
[
this
.
$route
.
path
](),
this
.
initData
()},
getFlowId
:
function
(){
this
.
strategyReset
[
this
.
$route
.
path
]()},
initData
:
function
(){
this
.
getFlowId
(),
this
.
init
.
status1
=
this
.
init
.
status
=
""
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
=
""
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
=
""
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
=
""
,
this
.
GetFlowTaskList
()},
search
:
function
(){
this
.
init
.
status1
=
this
.
init
.
status
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
,
this
.
GetFlowTaskList
()},
GetFlowIdSelect
:
function
(){
var
e
=
this
;
d
[
"
getInitListRequest
"
]((
function
(){
c
[
"
GetFlowIdSelect
"
]().
then
((
function
(
t
){
t
.
response
.
map
((
function
(
e
,
i
){
"
102
"
===
e
.
id
&&
(
t
.
response
.
unshift
(
e
),
t
.
response
.
splice
(
i
+
1
,
1
))})),
e
.
flowSelect
=
t
.
response
}))}))},
GetFlowTaskList
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
t
,
i
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
flow_id
:
this
.
init
.
flow_id1
,
key_name
:
this
.
init
.
key_name1
,
action_type
:
this
.
init
.
action_type1
,
status
:
this
.
init
.
status1
,
flow_name
:
this
.
init
.
flow_name1
,
competitionsubitem_name
:
this
.
init
.
competitionsubitem_name
,
competition_level_id
:
this
.
init
.
competition_level_id
,
competition_type_id
:
this
.
init
.
competition_type_id
,
sponsor
:
this
.
init
.
sponsor
,
way
:
this
.
init
.
way
},
e
.
next
=
4
,
c
[
"
GetAlreadyFlowTaskList
"
](
t
);
case
4
:
i
=
e
.
sent
,
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
tableData
=
i
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
approvalLisFun
:
function
(
e
){
this
.
$router
.
push
({
name
:
"
awaitDoneInformation
"
,
query
:{
runid
:
e
.
runid
,
form_name
:
e
.
form_name
,
flowInfo
:
"
流程详细信息
"
,
transferParams
:
JSON
.
stringify
(
f
(
f
({},
this
.
transferParams
),{},{
flow_id
:
this
.
init
.
flow_id1
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
})),
path
:
this
.
$route
.
path
}}),
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetFlowTaskList
()},
handleChangePageSize
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
GetFlowTaskList
()}}},
_
=
w
,
y
=
i
(
"
2877
"
),
m
=
Object
(
y
[
"
a
"
])(
_
,
n
,
o
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
m
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-5e8505da.d3d1a59b.js
已删除
100644 → 0
浏览文件 @
d2fa94e5
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-5e8505da
"
],{
"
1ac1
"
:
function
(
e
,
t
,
i
){},
"
45ca
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
cbc4
"
)},
4759
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
1ac1
"
)},
"
511e
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
7651
"
)},
"
6de6
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
abd3
"
)},
7651
:
function
(
e
,
t
,
i
){},
"
8ab2
"
:
function
(
e
,
t
,
i
){},
a48d
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
8ab2
"
)},
abd3
:
function
(
e
,
t
,
i
){},
bbca
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
edf6
"
)},
cbc4
:
function
(
e
,
t
,
i
){},
e8c1
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
.
r
(
t
);
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
auto
"
}},[
i
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
e
.
searchCondList
,
labelWidth
:
120
,
params
:
e
.
init
},
on
:{
onSubmit
:
e
.
cssearch
,
onReset
:
e
.
csreset
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
todo
"
,
fn
:
function
(
e
){
var
t
=
e
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
t
.
todo
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
partcipant
"
,
fn
:
function
(
e
){
var
t
=
e
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
t
.
partcipant
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
status
"
,
fn
:
function
(
t
){
var
i
=
t
.
row
;
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
草稿
"
,
"
运行中
"
,
"
已结束
"
][
i
.
status
])
+
"
\n
"
)]}},{
key
:
"
action_type
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
Tag
"
,{
attrs
:{
color
:
e
.
publicState
.
completeFlow
.
color
[
n
.
action_type
]}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
publicState
.
completeFlow
.
action_type
[
n
.
action_type
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
2
===
n
.
status
?
i
(
"
a
"
,{
key
:
e
.
cancelKey
,
staticClass
:
"
cancel
"
,
staticStyle
:{
"
margin-right
"
:
"
15px
"
}},[
e
.
_v
(
"
取消
"
)]):
i
(
"
a
"
,{
key
:
e
.
cancelKey
,
staticStyle
:{
"
margin-right
"
:
"
15px
"
,
color
:
"
red
"
},
on
:{
click
:
function
(
t
){
return
e
.
flowCancel
(
n
)}}},[
e
.
_v
(
"
取消
"
)]),
i
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
approvalLisFun
(
n
)}}},[
e
.
_v
(
"
详细
"
)]),
6
!==
n
.
action_type
?
i
(
"
a
"
,{
key
:
e
.
cancelKey
+
"
1
"
,
staticClass
:
"
cancel
"
,
staticStyle
:{
"
margin-left
"
:
"
15px
"
}},[
e
.
_v
(
"
重新发起流程
"
)]):
i
(
"
a
"
,{
key
:
e
.
cancelKey
+
"
1
"
,
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
t
){
return
e
.
reinitiateTheProcess
(
n
)}}},[
e
.
_v
(
"
重新发起流程
"
)])]}}])}),
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
attrs
:{
current
:
e
.
init
.
page_index
,
total
:
e
.
init
.
total
,
modelValue
:
e
.
init
.
page_index
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
}})],
1
)],
1
),
i
(
"
Modal
"
,{
attrs
:{
styles
:{
top
:
"
10px
"
},
title
:
"
修改
"
,
width
:
"
70
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
cs-button
"
,{
attrs
:{
"
cs-click
"
:
function
(){
return
e
.
$refs
.
teacherCompetitionApplication
.
handleSubmit
()},
"
cs-style
"
:
"
width: 12vw;margin-right:10px;
"
,
"
cs-text
"
:
"
提交流程
"
,
type
:
"
primary
"
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
teacherCompetitionApplication
.
save
()}}},[
e
.
_v
(
"
保存
\n
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
,
width
:
"
12vw
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
teacherCompetitionApplication
.
$refs
.
formValidate
.
resetFields
()}}},[
e
.
_v
(
"
重置
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
eventApplication
.
teacher
.
add
.
show
,
callback
:
function
(
t
){
e
.
$set
(
e
.
eventApplication
.
teacher
.
add
,
"
show
"
,
t
)},
expression
:
"
eventApplication.teacher.add.show
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
eventApplication
.
teacher
.
add
.
show
?
i
(
"
teacherCompetitionApplication
"
,{
ref
:
"
teacherCompetitionApplication
"
,
attrs
:{
formId
:
e
.
eventApplication
.
teacher
.
add
.
form_id
,
runId
:
e
.
eventApplication
.
teacher
.
add
.
runId
},
on
:{
closeModal
:
function
(){
return
e
.
eventApplication
.
teacher
.
add
.
show
=!
1
},
getData
:
e
.
GetFlowTaskList
}}):
e
.
_e
()],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
styles
:{
top
:
"
10px
"
},
title
:
"
修改
"
,
width
:
"
70
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
cs-button
"
,{
attrs
:{
"
cs-click
"
:
function
(){
return
e
.
$refs
.
teacherCompetitionAdjustment
.
handleSubmit
()},
"
cs-style
"
:
"
width: 12vw;margin-right:10px;
"
,
"
cs-text
"
:
"
提交流程
"
,
type
:
"
primary
"
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
teacherCompetitionAdjustment
.
save
()}}},[
e
.
_v
(
"
保存
\n
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
,
width
:
"
12vw
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
teacherCompetitionAdjustment
.
$refs
.
formValidate
.
resetFields
()}}},[
e
.
_v
(
"
重置
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
eventApplication
.
teacher
.
edit
.
show
,
callback
:
function
(
t
){
e
.
$set
(
e
.
eventApplication
.
teacher
.
edit
,
"
show
"
,
t
)},
expression
:
"
eventApplication.teacher.edit.show
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
eventApplication
.
teacher
.
edit
.
show
?
i
(
"
teacherCompetitionAdjustment
"
,{
ref
:
"
teacherCompetitionAdjustment
"
,
attrs
:{
formId
:
e
.
eventApplication
.
teacher
.
edit
.
form_id
,
runId
:
e
.
eventApplication
.
teacher
.
edit
.
runId
},
on
:{
closeModal
:
function
(){
return
e
.
eventApplication
.
teacher
.
edit
.
show
=!
1
},
getData
:
e
.
GetFlowTaskList
}}):
e
.
_e
()],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
styles
:{
top
:
"
10px
"
},
title
:
"
修改
"
,
width
:
"
70
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
cs-button
"
,{
attrs
:{
"
cs-click
"
:
function
(){
return
e
.
$refs
.
studentCompetitionApplication
.
handleSubmit
()},
"
cs-style
"
:
"
width: 12vw;margin-right:10px;
"
,
"
cs-text
"
:
"
提交流程
"
,
type
:
"
primary
"
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
studentCompetitionApplication
.
save
()}}},[
e
.
_v
(
"
保存
\n
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
,
width
:
"
12vw
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
studentCompetitionApplication
.
$refs
.
formValidate
.
resetFields
()}}},[
e
.
_v
(
"
重置
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
eventApplication
.
student
.
add
.
show
,
callback
:
function
(
t
){
e
.
$set
(
e
.
eventApplication
.
student
.
add
,
"
show
"
,
t
)},
expression
:
"
eventApplication.student.add.show
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
eventApplication
.
student
.
add
.
show
?
i
(
"
studentCompetitionApplication
"
,{
ref
:
"
studentCompetitionApplication
"
,
attrs
:{
formId
:
e
.
eventApplication
.
student
.
add
.
form_id
,
runId
:
e
.
eventApplication
.
student
.
add
.
runId
},
on
:{
closeModal
:
function
(){
return
e
.
eventApplication
.
student
.
add
.
show
=!
1
},
getData
:
e
.
GetFlowTaskList
}}):
e
.
_e
()],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
styles
:{
top
:
"
10px
"
},
title
:
"
修改
"
,
width
:
"
70
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
cs-button
"
,{
attrs
:{
"
cs-click
"
:
function
(){
return
e
.
$refs
.
studentCompetitionAdjustment
.
handleSubmit
()},
"
cs-style
"
:
"
width: 12vw;margin-right:10px;
"
,
"
cs-text
"
:
"
提交流程
"
,
type
:
"
primary
"
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
studentCompetitionAdjustment
.
save
()}}},[
e
.
_v
(
"
保存
\n
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
,
width
:
"
12vw
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
studentCompetitionAdjustment
.
$refs
.
formValidate
.
resetFields
()}}},[
e
.
_v
(
"
重置
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
eventApplication
.
student
.
edit
.
show
,
callback
:
function
(
t
){
e
.
$set
(
e
.
eventApplication
.
student
.
edit
,
"
show
"
,
t
)},
expression
:
"
eventApplication.student.edit.show
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
eventApplication
.
student
.
edit
.
show
?
i
(
"
studentCompetitionAdjustment
"
,{
ref
:
"
studentCompetitionAdjustment
"
,
attrs
:{
formId
:
e
.
eventApplication
.
student
.
edit
.
form_id
,
runId
:
e
.
eventApplication
.
student
.
edit
.
runId
},
on
:{
closeModal
:
function
(){
return
e
.
eventApplication
.
student
.
edit
.
show
=!
1
},
getData
:
e
.
GetFlowTaskList
}}):
e
.
_e
()],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
title
:
"
修改
"
,
width
:
"
60
"
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){},
proxy
:
!
0
}]),
model
:{
value
:
e
.
sign
.
updateSignModal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
sign
,
"
updateSignModal
"
,
t
)},
expression
:
"
sign.updateSignModal
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
sign
.
updateSignModal
&&
1
===
e
.
sign
.
signFlag
?
i
(
"
UpdateSignModal
"
,{
attrs
:{
signId
:
e
.
sign
.
signId
},
on
:{
GetSignList
:
e
.
GetFlowTaskList
,
resultValue
:
e
.
resultValue
}}):
e
.
_e
(),
e
.
sign
.
updateSignModal
&&
0
===
e
.
sign
.
signFlag
?
i
(
"
UpdateSignModalStudentSIgn
"
,{
attrs
:{
signId
:
e
.
sign
.
signId
,
runId
:
e
.
sign
.
runId
},
on
:{
GetSignList
:
e
.
GetFlowTaskList
,
resultValue
:
e
.
resultValue
}}):
e
.
_e
()],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
title
:
"
修改
"
,
width
:
"
70
"
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
handleSubmit
}},[
e
.
_v
(
"
提交流程
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"
保存
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
,
width
:
"
12vw
"
},
on
:{
click
:
e
.
handleReset
}},[
e
.
_v
(
"
重置
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
report
.
CertificateModal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
report
,
"
CertificateModal
"
,
t
)},
expression
:
"
report.CertificateModal
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
report
.
CertificateModal
?
i
(
"
updateCertificateModal
"
,{
ref
:
"
updateCertificateModal
"
,
attrs
:{
winningMaterialId
:
e
.
report
.
form_id
,
runId
:
e
.
report
.
runId
},
on
:{
getData
:
e
.
GetFlowTaskList
,
closeModal
:
e
.
closeModal
}}):
e
.
_e
()],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
styles
:{
top
:
"
10px
"
},
title
:
"
修改
"
,
width
:
"
70
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
cs-button
"
,{
ref
:
"
load
"
,
attrs
:{
"
cs-click
"
:
e
.
handleSubmitReward
,
"
cs-style
"
:
"
width: 12vw;margin-right:10px;
"
,
"
cs-text
"
:
"
提交流程
"
,
type
:
"
primary
"
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
saveReward
}},[
e
.
_v
(
"
保存
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
,
width
:
"
12vw
"
},
on
:{
click
:
e
.
handleResetReward
}},[
e
.
_v
(
"
重置
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
rewards
.
CertificateModal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
rewards
,
"
CertificateModal
"
,
t
)},
expression
:
"
rewards.CertificateModal
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
rewards
.
CertificateModal
?
i
(
"
updateRewardForTeachersAndStudents
"
,{
ref
:
"
updateRewardForTeachersAndStudents
"
,
attrs
:{
winningMaterialId
:
e
.
rewards
.
form_id
,
runId
:
e
.
rewards
.
runId
},
on
:{
closeModal
:
e
.
closeModal
,
getData
:
e
.
GetFlowTaskList
,
isAuth
:
e
.
isAuth
}}):
e
.
_e
()],
1
)])],
1
)},
o
=
[],
a
=
(
i
(
"
8e6e
"
),
i
(
"
456d
"
),
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
r
=
(
i
(
"
7f7f
"
),
i
(
"
ac6a
"
),
i
(
"
ade3
"
)),
s
=
(
i
(
"
386d
"
),
i
(
"
967e
"
)),
l
=
i
.
n
(
s
),
c
=
i
(
"
61be
"
),
d
=
i
(
"
7f6b
"
),
p
=
i
(
"
5ccc
"
),
u
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
70px
"
}},[
i
(
"
h3
"
,[
e
.
_v
(
"
我的流程列表
"
)]),
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
,
"
align-items
"
:
"
center
"
,
"
margin-top
"
:
"
1.5vw
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
20vw
"
,
"
margin-right
"
:
"
1vw
"
},
attrs
:{
placeholder
:
"
请选择流程名称
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
prefix
"
,
fn
:
function
(){
return
[
i
(
"
span
"
,{
staticStyle
:{
color
:
"
#707575
"
,
"
margin-right
"
:
"
1vw
"
}},[
e
.
_v
(
"
\n
流程名称
\n
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
init
.
flow_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
flow_id
"
,
t
)},
expression
:
"
init.flow_id
"
}},
e
.
_l
(
e
.
flowSelect
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
),
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
20vw
"
,
"
margin-right
"
:
"
1vw
"
},
attrs
:{
placeholder
:
"
请选择操作类型
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
prefix
"
,
fn
:
function
(){
return
[
i
(
"
span
"
,{
staticStyle
:{
color
:
"
#707575
"
,
"
margin-right
"
:
"
1vw
"
}},[
e
.
_v
(
"
\n
操作类型
\n
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
init
.
action_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
action_type
"
,
t
)},
expression
:
"
init.action_type
"
}},
e
.
_l
(
e
.
publicState
.
flowActionClass
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
),
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
20vw
"
},
attrs
:{
placeholder
:
"
请选择流程状态
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
prefix
"
,
fn
:
function
(){
return
[
i
(
"
span
"
,{
staticStyle
:{
color
:
"
#707575
"
,
"
margin-right
"
:
"
1vw
"
}},[
e
.
_v
(
"
\n
流程状态
\n
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
init
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
status
"
,
t
)},
expression
:
"
init.status
"
}},
e
.
_l
(
e
.
publicState
.
flowState
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
)])]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
span
"
,[
e
.
_v
(
"
标题:
"
)]),
i
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
,
"
margin-right
"
:
"
1vw
"
},
attrs
:{
placeholder
:
"
请输入标题
"
},
model
:{
value
:
e
.
init
.
flow_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
flow_name
"
,
t
)},
expression
:
"
init.flow_name
"
}})],
1
),
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
span
"
,[
e
.
_v
(
"
姓名或工号:
"
)]),
i
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
,
"
margin-right
"
:
"
1vw
"
},
attrs
:{
placeholder
:
"
请输入姓名或工号
"
},
model
:{
value
:
e
.
init
.
key_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
key_name
"
,
t
)},
expression
:
"
init.key_name
"
}})],
1
),
i
(
"
cs-button
"
,{
ref
:
"
search
"
,
attrs
:{
"
cs-text
"
:
"
搜索
"
,
"
cs-click
"
:
e
.
search
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
todo
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
e
.
_l
(
n
.
todo
,(
function
(
t
,
n
){
return
i
(
"
span
"
,{
key
:
n
},[
e
.
_v
(
e
.
_s
(
t
.
replace
(
"
[
"
,
""
).
replace
(
"
]
"
,
""
).
replace
(
'
"
'
,
""
)))])}))}},{
key
:
"
partcipant
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
e
.
_l
(
n
.
partcipant
,(
function
(
t
,
n
){
return
i
(
"
span
"
,{
key
:
n
},[
e
.
_v
(
e
.
_s
(
t
.
replace
(
"
[
"
,
""
).
replace
(
"
]
"
,
""
).
replace
(
'
"
'
,
""
)))])}))}},{
key
:
"
status
"
,
fn
:
function
(
t
){
var
i
=
t
.
row
;
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
草稿
"
,
"
运行中
"
,
"
已结束
"
][
i
.
status
])
+
"
\n
"
)]}},{
key
:
"
action_type
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
Tag
"
,{
attrs
:{
color
:
e
.
publicState
.
completeFlow
.
color
[
n
.
action_type
]}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
publicState
.
completeFlow
.
action_type
[
n
.
action_type
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
2
===
n
.
status
?
i
(
"
a
"
,{
key
:
e
.
cancelKey
,
staticClass
:
"
cancel
"
,
staticStyle
:{
"
margin-right
"
:
"
15px
"
}},[
e
.
_v
(
"
取消
"
)]):
i
(
"
a
"
,{
key
:
e
.
cancelKey
,
staticStyle
:{
"
margin-right
"
:
"
15px
"
,
color
:
"
red
"
},
on
:{
click
:
function
(
t
){
return
e
.
flowCancel
(
n
)}}},[
e
.
_v
(
"
取消
"
)]),
i
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
approvalLisFun
(
n
)}}},[
e
.
_v
(
"
详细
"
)])]}}])}),
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
key
:
e
.
pageKey
,
attrs
:{
total
:
e
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
},
model
:{
value
:
e
.
init
.
page_index
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
)],
1
)},
m
=
[],
f
=
{
name
:
"
list
"
,
computed
:{
publicState
:
function
(){
return
p
[
"
a
"
]}},
components
:{
aaa
:
g
},
data
:
function
(){
return
{
flowSelect
:[],
ddd
:
""
,
ccc
:
""
,
bbb
:
""
,
aaa
:
""
,
flowStateArray
:[{
name
:
"
草稿
"
,
value
:
0
},{
name
:
"
运行中
"
,
value
:
1
},{
name
:
"
已结束
"
,
value
:
2
}],
cancelKey
:
1
,
formData
:{
name
:
""
,
url
:
""
,
owner
:
""
,
type
:
""
,
approver
:
""
,
date
:
""
,
desc
:
""
},
approvalDrawer
:
!
1
,
formValidate
:{
runid
:
""
,
title
:
""
,
flow_name
:
""
,
flow_id
:
""
,
status
:
0
,
action_type
:
0
,
starter
:
""
,
starter_name
:
""
,
start_time
:
""
,
current_node_id
:
""
,
current_node_name
:
""
,
todo
:
""
,
partcipant
:
""
,
modifyby
:
""
,
modifytime
:
""
,
form_id
:
""
,
form_name
:
""
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
标题
"
,
key
:
"
title
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
300
},{
title
:
"
流程名称
"
,
key
:
"
flow_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
状态
"
,
slot
:
"
status
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
操作类型
"
,
slot
:
"
action_type
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
当前节点名称
"
,
key
:
"
current_node_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
当前节点待办人员
"
,
slot
:
"
todo
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
参与人
"
,
slot
:
"
partcipant
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发起人
"
,
key
:
"
starter
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
发起人姓名
"
,
key
:
"
starter_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
发起时间
"
,
key
:
"
start_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
flow_id
:
""
,
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
},
pageKey
:
1
}},
created
:
function
(){},
mounted
:
function
(){
this
.
GetFlowTaskList
(),
this
.
GetFlowIdSelect
()},
methods
:{
search
:
function
(){
this
.
$refs
.
search
.
load
=!
0
,
this
.
init
.
status1
=
this
.
init
.
status
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
,
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
,
this
.
GetFlowTaskList
(),
this
.
$refs
.
search
.
load
=!
1
},
GetFlowIdSelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
d
[
"
GetFlowIdSelect
"
]().
then
((
function
(
t
){
t
.
response
.
map
((
function
(
e
,
i
){
"
102
"
===
e
.
id
&&
(
t
.
response
.
unshift
(
e
),
t
.
response
.
splice
(
i
+
1
,
1
))})),
e
.
flowSelect
=
t
.
response
}))}))},
GetFlowTaskList
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
t
,
i
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
flow_id
:
this
.
init
.
flow_id1
,
key_name
:
this
.
init
.
key_name1
,
action_type
:
this
.
init
.
action_type1
,
status
:
this
.
init
.
status1
,
flow_name
:
this
.
init
.
flow_name1
},
e
.
next
=
4
,
d
[
"
GetMyFlowTaskList
"
](
t
);
case
4
:
i
=
e
.
sent
,
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
tableData
=
i
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
flowCancel
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
i
=
this
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
c
[
"
publicConfirm
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
FlowCancel
"
]({
runid
:
t
.
runid
});
case
2
:
return
n
=
e
.
sent
,
i
.
cancelKey
++
,
c
[
"
publicMessage
"
](
n
),
e
.
next
=
7
,
i
.
GetFlowTaskList
();
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
approvalLisFun
:
function
(
e
){
this
.
$router
.
push
({
name
:
"
awaitDoneInformation
"
,
query
:{
runid
:
e
.
runid
,
form_name
:
e
.
form_name
,
flowInfo
:
"
流程详细信息
"
}}),
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetFlowTaskList
()},
handleChangePageSize
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
GetFlowTaskList
()}}},
h
=
f
,
_
=
(
i
(
"
6de6
"
),
i
(
"
2877
"
)),
y
=
Object
(
_
[
"
a
"
])(
h
,
u
,
m
,
!
1
,
null
,
null
,
null
),
g
=
y
.
exports
,
w
=
i
(
"
3252
"
),
v
=
i
(
"
7fde
"
),
b
=
i
(
"
78e2
"
),
S
=
i
(
"
e464
"
),
C
=
i
(
"
91cb
"
),
x
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,{
staticClass
:
"
con
"
},[
i
(
"
div
"
,{
staticClass
:
"
card
"
},[
i
(
"
h3
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
font-size
"
:
"
25px
"
,
height
:
"
60px
"
,
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
教师赛事申请
"
)]),
i
(
"
Form
"
,{
ref
:
"
formValidate
"
,
staticStyle
:{
position
:
"
relative
"
},
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
110
}},[
e
.
loading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
e
.
_e
(),
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competitionbatch_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionbatch_id
"
,
t
)},
expression
:
"
formValidate.competitionbatch_id
"
}},
e
.
_l
(
e
.
batchList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事编码
"
},
model
:{
value
:
e
.
formValidate
.
report_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
report_code
"
,
t
)},
expression
:
"
formValidate.report_code
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionname
"
,
t
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionsubitem_name
"
,
t
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
multiple
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
dept_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
dept_id
"
,
t
)},
expression
:
"
formValidate.dept_id
"
}},
e
.
_l
(
e
.
deptList
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
e
.
formValidate
.
sponsor
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sponsor
"
,
t
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_level_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_level_id
"
,
t
)},
expression
:
"
formValidate.competition_level_id
"
}},
e
.
_l
(
e
.
levelList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_type_id
"
,
t
)},
expression
:
"
formValidate.competition_type_id
"
}},
e
.
_l
(
e
.
classList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入相关专业
"
},
model
:{
value
:
e
.
formValidate
.
specialty
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
specialty
"
,
t
)},
expression
:
"
formValidate.specialty
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
key
:
e
.
fileKey
,
attrs
:{
label
:
"
附件上传
"
,
prop
:
"
specialty
"
}},[
i
(
"
Upload
"
,{
attrs
:{
"
before-upload
"
:
e
.
BeforeUpload
,
multiple
:
!
1
,
"
on-error
"
:
e
.
onError
,
"
on-format-error
"
:
e
.
onFormatError
,
"
on-success
"
:
e
.
onsuccess
,
"
show-upload-list
"
:
!
0
,
action
:
""
}},[
i
(
"
Button
"
,{
attrs
:{
icon
:
"
ios-cloud-upload-outline
"
}},[
e
.
_v
(
"
附件上传
"
)])],
1
),
e
.
_l
(
e
.
formValidate
.
files_list
,(
function
(
t
,
n
){
return
i
(
"
div
"
,{
key
:
n
+
"
1
"
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
i
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
i
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)}))],
2
)],
1
)],
1
)],
1
)],
1
),
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
justify-content
"
:
"
center
"
,
display
:
"
flex
"
}})])},
k
=
[],
I
=
(
i
(
"
28a5
"
),
i
(
"
c5f6
"
),
i
(
"
d02c
"
)),
V
=
i
(
"
2ef0
"
),
F
=
i
.
n
(
V
);
function
L
(
e
,
t
){
var
i
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
O
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
i
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
L
(
Object
(
i
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"
a
"
])(
e
,
t
,
i
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
i
)):
L
(
Object
(
i
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
i
,
t
))}))}
return
e
}
var
A
=
{
data
:
function
(){
return
{
changecommitid
:
""
,
flowid
:
112
,
module_id
:
""
,
module
:
""
,
grid
:{
xl
:
12
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
loading
:
!
1
,
formValidate
:{
flowid
:
112
,
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
:[]},
ruleValidate
:{
competitionbatch_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
report_code
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionsubitem_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
dept_id
:[{
required
:
!
0
,
type
:
"
array
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_level_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_method
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_type_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
way
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
specialty1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
classList
:[],
levelList
:[],
batchList
:[],
deptList
:[],
fileKey
:
1
}},
mounted
:
function
(){
this
.
FlowInit
(),
this
.
GetTypeBySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetBatchBySelect
(),
this
.
GetDeptSeletct
()},
props
:[
"
formId
"
,
"
runId
"
],
methods
:{
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
.
formValidate
.
validate
((
function
(
t
){
t
&&
c
[
"
publicConfirm
"
]((
function
(){
return
c
[
"
myEncapsulationFunction
"
]((
function
(){
return
I
[
"
postApiFlowApiFlowFlowReportSubmit
"
](
O
(
O
({},
e
.
formValidate
),{},{
flowid
:
e
.
flowid
,
runid
:
e
.
runId
})).
then
((
function
(
t
){
return
1
===
t
.
code
&&
(
e
.
$refs
.
formValidate
.
resetFields
(),
e
.
formValidate
.
files_list
=
[],
e
.
$emit
(
"
closeModal
"
,
""
),
e
.
$emit
(
"
getData
"
,
""
)),
t
}))}))}))}))},
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
i
){
var
n
,
o
,
r
,
s
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
F
.
a
.
cloneDeep
(
O
({},
e
.
formValidate
)),
o
=
n
.
files_list
,
delete
n
.
files_list
,
r
=
O
(
O
({
changecommitid
:
i
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
},
n
),{},{
files_list
:
o
}),
t
.
next
=
6
,
c
[
"
myEncapsulationFunction
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
abrupt
(
"
return
"
,
I
[
"
postApiCompetitionReportApiCompetitionReportReportSave
"
](
r
).
then
((
function
(
e
){
return
e
})).
finally
((
function
(){})));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
6
:
s
=
t
.
sent
,
1
===
s
.
code
&&
e
.
FlowInit
();
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
this
;
return
this
.
loading
=!
0
,
I
[
"
getApiFlowViewApiFlowViewGetFlowInfo
"
]({
runid
:
this
.
runId
}).
then
((
function
(
t
){
switch
(
t
.
response
.
changecommitid
){
case
null
:
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module
=
t
.
response
.
module
;
break
;
default
:
var
i
=
t
.
response
.
competition_report
;
i
.
level
=
Number
(
i
.
level
),
i
.
race_level
=
Number
(
i
.
race_level
),
e
.
formValidate
=
i
,
e
.
formValidate
.
dept_id
&&
(
e
.
formValidate
.
dept_id
=
e
.
formValidate
.
dept_id
.
split
(
"
;
"
).
filter
((
function
(
e
){
return
""
!==
e
}))),
e
.
formValidate
.
files_list
=
t
.
response
.
file_list
,
e
.
changecommitid
=
t
.
response
.
changecommitid
,
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module_id
=
t
.
response
.
module_id
,
e
.
module
=
t
.
response
.
module
;
break
}
return
e
.
loading
=!
1
,
t
})).
finally
((
function
(){
e
.
loading
=!
1
}))},
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
files_list
.
map
((
function
(
i
,
n
){
i
.
id
===
e
.
id
&&
t
.
formValidate
.
files_list
.
splice
(
n
,
1
)})),
this
.
fileKey
++
},
onError
:
function
(
e
,
t
,
i
){},
onsuccess
:
function
(
e
,
t
,
i
){},
onFormatError
:
function
(
e
,
t
,
i
){
this
.
$Message
.
info
(
"
文件类型错误!
"
)},
BeforeUpload
:
function
(
e
){
var
t
=
this
,
i
=
new
FormData
;
return
i
.
append
(
"
file
"
,
e
),
this
.
hooks
.
myEncapsulationFunction
((
function
(){
return
d
[
"
fileUpload
"
](
"
teacherEventApplication
"
,
i
).
then
((
function
(
e
){
return
t
.
formValidate
.
files_list
.
push
(
e
.
response
),
t
.
fileKey
++
,
e
}))}),
!
1
,
"
正在上传中...
"
),
!
1
},
GetBatchBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
e
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
e
.
formValidate
.
competition_method
}).
then
((
function
(
t
){
e
.
batchList
=
t
.
response
}))}))},
GetDeptSeletct
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetDeptSeletct
"
]();
case
2
:
i
=
t
.
sent
,
e
.
deptList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetLevelBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetLevelBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
levelList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetTypeBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
classList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}}},
j
=
A
,
$
=
(
i
(
"
45ca
"
),
Object
(
_
[
"
a
"
])(
j
,
x
,
k
,
!
1
,
null
,
"
cc7f2272
"
,
null
)),
T
=
$
.
exports
,
G
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,{
staticClass
:
"
con
"
},[
i
(
"
div
"
,{
staticClass
:
"
card
"
},[
i
(
"
h3
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
font-size
"
:
"
25px
"
,
height
:
"
60px
"
,
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
教师赛事调整
"
)]),
i
(
"
Form
"
,{
ref
:
"
formValidate
"
,
staticStyle
:{
position
:
"
relative
"
},
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
110
}},[
e
.
loading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
e
.
_e
(),
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competitionbatch_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionbatch_id
"
,
t
)},
expression
:
"
formValidate.competitionbatch_id
"
}},
e
.
_l
(
e
.
batchList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编号
"
,
prop
:
"
report_code
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
i
(
"
Select
"
,{
ref
:
"
select
"
,
staticClass
:
"
Select
"
,
attrs
:{
placeholder
:
e
.
formValidate
.
report_code
},
on
:{
"
on-open-change
"
:
e
.
onOpenChange
,
"
on-change
"
:
e
.
competitionSelectName
},
model
:{
value
:
e
.
formValidate
.
report_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
report_code
"
,
t
)},
expression
:
"
formValidate.report_code
"
}},[
i
(
"
Card
"
,{
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Input
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
placeholder
:
"
请输入编号或赛项名称、赛事名称搜索...
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
prepend
"
,
fn
:
function
(){
return
[
i
(
"
Icon
"
,{
attrs
:{
type
:
"
md-search
"
}})]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
contestItem
.
condition
,
callback
:
function
(
t
){
e
.
$set
(
e
.
contestItem
,
"
condition
"
,
t
)},
expression
:
"
contestItem.condition
"
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
key
:
e
.
tableKeys
,
attrs
:{
columns
:
e
.
columnsCompetitionItem
,
data
:
e
.
dataCompetitionItem
,
loading
:
e
.
contestItem
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
radio
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
input
"
,{
staticStyle
:{
width
:
"
30px
"
,
height
:
"
30px
"
,
cursor
:
"
pointer
"
,
"
accent-color
"
:
"
#1e93ff
"
},
attrs
:{
name
:
"
name
"
,
type
:
"
radio
"
},
domProps
:{
value
:
n
.
name
},
on
:{
click
:
function
(
t
){
return
e
.
tableRadio
(
n
)}}})]}}])}),
i
(
"
div
"
,{
staticClass
:
"
ivu-text-left ivu-mt
"
},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
i
(
"
Page
"
,{
attrs
:{
current
:
e
.
contestItem
.
pageIndex
,
"
page-size
"
:
e
.
contestItem
.
pageSize
,
total
:
e
.
contestItem
.
total
,
"
show-total
"
:
""
},
on
:{
"
update:current
"
:
function
(
t
){
return
e
.
$set
(
e
.
contestItem
,
"
pageIndex
"
,
t
)},
"
on-change
"
:
e
.
contestItemhandleChangePage
,
"
on-page-size-change
"
:
e
.
contestItemhandleChangePageSize
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
15%
"
,
"
margin-left
"
:
"
auto
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
saveTheEventSingleOption
}},[
e
.
_v
(
"
确定
\n
"
)])],
1
)])],
1
)],
1
)],
1
)])],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionname
"
,
t
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionsubitem_name
"
,
t
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
multiple
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
dept_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
dept_id
"
,
t
)},
expression
:
"
formValidate.dept_id
"
}},
e
.
_l
(
e
.
deptList
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
e
.
formValidate
.
sponsor
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sponsor
"
,
t
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_level_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_level_id
"
,
t
)},
expression
:
"
formValidate.competition_level_id
"
}},
e
.
_l
(
e
.
levelList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_type_id
"
,
t
)},
expression
:
"
formValidate.competition_type_id
"
}},
e
.
_l
(
e
.
classList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入相关专业
"
},
model
:{
value
:
e
.
formValidate
.
specialty
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
specialty
"
,
t
)},
expression
:
"
formValidate.specialty
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
key
:
e
.
fileKey
,
attrs
:{
label
:
"
附件上传
"
,
prop
:
"
specialty
"
}},[
i
(
"
Upload
"
,{
attrs
:{
"
before-upload
"
:
e
.
BeforeUpload
,
multiple
:
!
1
,
"
on-error
"
:
e
.
onError
,
"
on-format-error
"
:
e
.
onFormatError
,
"
on-success
"
:
e
.
onsuccess
,
"
show-upload-list
"
:
!
0
,
action
:
""
}},[
i
(
"
Button
"
,{
attrs
:{
icon
:
"
ios-cloud-upload-outline
"
}},[
e
.
_v
(
"
附件上传
"
)])],
1
),
e
.
_l
(
e
.
formValidate
.
files_list
,(
function
(
t
,
n
){
return
i
(
"
div
"
,{
key
:
n
+
"
1
"
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
i
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
i
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)}))],
2
)],
1
)],
1
)],
1
)],
1
),
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
justify-content
"
:
"
center
"
,
display
:
"
flex
"
}})])},
B
=
[];
function
D
(
e
,
t
){
var
i
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
M
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
i
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
D
(
Object
(
i
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"
a
"
])(
e
,
t
,
i
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
i
)):
D
(
Object
(
i
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
i
,
t
))}))}
return
e
}
var
P
=
{
data
:
function
(){
return
{
columnsCompetitionItem
:[{
slot
:
"
radio
"
},{
title
:
"
赛事编号
"
,
key
:
"
report_code
"
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
},{
title
:
"
赛项名称
"
,
key
:
"
competitionsubitem_name
"
}],
dataCompetitionItem
:[],
tableKeys
:
1
,
contestItem
:{
loading
:
!
1
,
condition
:
""
,
total
:
0
,
pageIndex
:
1
,
pageSize
:
5
,
competition_method
:
1
},
changecommitid
:
""
,
flowid
:
114
,
module_id
:
""
,
module
:
""
,
grid
:{
xl
:
12
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
loading
:
!
1
,
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
:[]},
ruleValidate
:{
competitionbatch_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
report_code
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionsubitem_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
dept_id
:[{
required
:
!
0
,
type
:
"
array
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_level_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_method
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_type_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
way
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
specialty1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
classList
:[],
levelList
:[],
batchList
:[],
deptList
:[],
fileKey
:
1
}},
watch
:{
"
contestItem.condition
"
:
function
(
e
,
t
){
var
i
=
this
;
clearTimeout
(
this
.
selectTimer
),
this
.
selectTimer
=
setTimeout
((
function
(){
i
.
contestItem
.
pageIndex
=
1
,
i
.
addAddressManually
()}),
400
)}},
mounted
:
function
(){
this
.
FlowInit
(),
this
.
GetTypeBySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetBatchBySelect
(),
this
.
GetDeptSeletct
()},
props
:[
"
formId
"
,
"
runId
"
],
methods
:{
addAddressManually
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
selectionOfEvents
=!
0
,
this
.
contestItem
.
loading
=!
0
,
e
.
next
=
4
,
new
Promise
((
function
(
e
){
c
[
"
getInitListRequest
"
]((
function
(){
var
i
=
{
condition
:
t
.
contestItem
.
condition
,
page_index
:
t
.
contestItem
.
pageIndex
,
page_size
:
t
.
contestItem
.
pageSize
,
competition_method
:
t
.
contestItem
.
competition_method
};
d
[
"
GetCodeList
"
](
i
).
then
((
function
(
i
){
t
.
contestItem
.
total
=
i
.
response
.
data_count
,
t
.
dataCompetitionItem
=
i
.
response
.
data
,
t
.
tableKeys
++
,
e
()}))}))}));
case
4
:
this
.
contestItem
.
loading
=!
1
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
saveTheEventSingleOption
:
function
(){
this
.
formValidate
=
M
(
M
(
M
({},
this
.
formValidate
),
this
.
selectTheNumberMedian
),{},{
competition_method
:
this
.
tabsName
}),
"
A类
"
!==
this
.
formValidate
.
competition_type_name
&&
(
this
.
formValidate
.
class_hour
=
String
(
0
)),
this
.
$refs
.
select
.
visible
=!
1
,
this
.
$refs
.
select1
.
visible
=!
1
,
this
.
selectionOfEvents
=!
1
},
contestItemhandleChangePage
:
function
(
e
){
this
.
contestItem
.
pageIndex
=
e
,
this
.
addAddressManually
(),
this
.
tableKeys
++
},
contestItemhandleChangePageSize
:
function
(
e
){
this
.
contestItem
.
pageSize
=
e
,
this
.
addAddressManually
(),
this
.
tableKeys
++
},
tableRadio
:
function
(
e
){
this
.
selectTheNumberMedian
=
e
,
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
onOpenChange
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
i
=
this
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
!
t
){
e
.
next
=
5
;
break
}
return
this
.
contestItem
.
loading
=!
0
,
e
.
next
=
4
,
new
Promise
((
function
(
e
){
c
[
"
getInitListRequest
"
]((
function
(){
var
t
=
{
condition
:
i
.
contestItem
.
condition
,
page_index
:
i
.
contestItem
.
pageIndex
,
page_size
:
i
.
contestItem
.
pageSize
,
competition_method
:
i
.
contestItem
.
competition_method
};
d
[
"
GetCodeList
"
](
t
).
then
((
function
(
t
){
i
.
contestItem
.
total
=
t
.
response
.
data_count
,
i
.
dataCompetitionItem
=
t
.
response
.
data
,
i
.
tableKeys
++
,
e
()}))}))}));
case
4
:
this
.
contestItem
.
loading
=!
1
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
competitionSelectName
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
i
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
ReportChangeById
"
]({
id
:
t
});
case
2
:
i
=
e
.
sent
,
this
.
formValidate
.
sponsor
=
i
.
response
.
sponsor
,
this
.
formValidate
.
level
=
Number
(
i
.
response
.
level
),
this
.
formValidate
.
file_name
=
i
.
response
.
file_name
,
this
.
formValidate
.
competitionreportid
=
i
.
response
.
competitionreportid
,
this
.
competitionnameValue
=
i
.
response
.
competitionname
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
.
formValidate
.
validate
((
function
(
t
){
t
&&
c
[
"
publicConfirm
"
]((
function
(){
return
c
[
"
myEncapsulationFunction
"
]((
function
(){
return
I
[
"
postApiFlowApiFlowFlowReportUpdateSubmit
"
](
M
(
M
({},
e
.
formValidate
),{},{
flowid
:
e
.
flowid
,
runid
:
e
.
runId
})).
then
((
function
(
t
){
return
1
===
t
.
code
&&
(
e
.
$refs
.
formValidate
.
resetFields
(),
e
.
formValidate
.
files_list
=
[],
e
.
$emit
(
"
closeModal
"
,
""
),
e
.
$emit
(
"
getData
"
,
""
)),
t
}))}))}))}))},
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
i
){
var
n
,
o
,
r
,
s
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
F
.
a
.
cloneDeep
(
M
(
M
({},
e
.
formValidate
),{},{
competition_method
:
1
})),
o
=
n
.
files_list
,
delete
n
.
files_list
,
r
=
M
(
M
({
changecommitid
:
i
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
},
n
),{},{
files_list
:
o
}),
t
.
next
=
6
,
c
[
"
myEncapsulationFunction
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
abrupt
(
"
return
"
,
I
[
"
postApiCompetitionReportApiCompetitionReportReportTempSave
"
](
r
).
then
((
function
(
e
){
return
e
})).
finally
((
function
(){})));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
6
:
s
=
t
.
sent
,
1
===
s
.
code
&&
e
.
FlowInit
();
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
this
;
return
this
.
loading
=!
0
,
I
[
"
getApiFlowViewApiFlowViewGetFlowInfo
"
]({
runid
:
this
.
runId
}).
then
((
function
(
t
){
switch
(
t
.
response
.
changecommitid
){
case
null
:
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module
=
t
.
response
.
module
;
break
;
default
:
var
i
=
t
.
response
.
report_temp_update
;
i
.
level
=
Number
(
i
.
level
),
i
.
race_level
=
Number
(
i
.
race_level
),
e
.
formValidate
=
M
(
M
({},
e
.
formValidate
),
i
),
e
.
formValidate
.
dept_id
&&
(
e
.
formValidate
.
dept_id
=
e
.
formValidate
.
dept_id
.
split
(
"
;
"
).
filter
((
function
(
e
){
return
""
!==
e
}))),
e
.
formValidate
.
files_list
=
t
.
response
.
file_list
,
e
.
changecommitid
=
t
.
response
.
changecommitid
,
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module_id
=
t
.
response
.
module_id
,
e
.
module
=
t
.
response
.
module
;
break
}
return
e
.
loading
=!
1
,
t
})).
finally
((
function
(){
e
.
loading
=!
1
}))},
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
files_list
.
map
((
function
(
i
,
n
){
i
.
id
===
e
.
id
&&
t
.
formValidate
.
files_list
.
splice
(
n
,
1
)})),
this
.
fileKey
++
},
onError
:
function
(
e
,
t
,
i
){},
onsuccess
:
function
(
e
,
t
,
i
){},
onFormatError
:
function
(
e
,
t
,
i
){
this
.
$Message
.
info
(
"
文件类型错误!
"
)},
BeforeUpload
:
function
(
e
){
var
t
=
this
,
i
=
new
FormData
;
return
i
.
append
(
"
file
"
,
e
),
this
.
hooks
.
myEncapsulationFunction
((
function
(){
return
d
[
"
fileUpload
"
](
"
teacherEventApplication
"
,
i
).
then
((
function
(
e
){
return
t
.
formValidate
.
files_list
.
push
(
e
.
response
),
t
.
fileKey
++
,
e
}))}),
!
1
,
"
正在上传中...
"
),
!
1
},
GetBatchBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
e
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
e
.
formValidate
.
competition_method
}).
then
((
function
(
t
){
e
.
batchList
=
t
.
response
}))}))},
GetDeptSeletct
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetDeptSeletct
"
]();
case
2
:
i
=
t
.
sent
,
e
.
deptList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetLevelBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetLevelBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
levelList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetTypeBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
classList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}}},
q
=
P
,
R
=
(
i
(
"
a48d
"
),
Object
(
_
[
"
a
"
])(
q
,
G
,
B
,
!
1
,
null
,
"
1e6167cb
"
,
null
)),
E
=
R
.
exports
,
z
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,{
staticClass
:
"
con
"
},[
i
(
"
div
"
,{
staticClass
:
"
card
"
},[
i
(
"
h3
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
font-size
"
:
"
25px
"
,
height
:
"
60px
"
,
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
学生赛事申请
"
)]),
i
(
"
Form
"
,{
ref
:
"
formValidate
"
,
staticStyle
:{
position
:
"
relative
"
},
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
110
}},[
e
.
loading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
e
.
_e
(),
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competitionbatch_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionbatch_id
"
,
t
)},
expression
:
"
formValidate.competitionbatch_id
"
}},
e
.
_l
(
e
.
batchList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事编码
"
},
model
:{
value
:
e
.
formValidate
.
report_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
report_code
"
,
t
)},
expression
:
"
formValidate.report_code
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionname
"
,
t
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionsubitem_name
"
,
t
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
multiple
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
dept_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
dept_id
"
,
t
)},
expression
:
"
formValidate.dept_id
"
}},
e
.
_l
(
e
.
deptList
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
e
.
formValidate
.
sponsor
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sponsor
"
,
t
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_level_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_level_id
"
,
t
)},
expression
:
"
formValidate.competition_level_id
"
}},
e
.
_l
(
e
.
levelList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_type_id
"
,
t
)},
expression
:
"
formValidate.competition_type_id
"
}},
e
.
_l
(
e
.
classList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入相关专业
"
},
model
:{
value
:
e
.
formValidate
.
specialty
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
specialty
"
,
t
)},
expression
:
"
formValidate.specialty
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
key
:
e
.
fileKey
,
attrs
:{
label
:
"
附件上传
"
,
prop
:
"
specialty
"
}},[
i
(
"
Upload
"
,{
attrs
:{
"
before-upload
"
:
e
.
BeforeUpload
,
multiple
:
!
1
,
"
on-error
"
:
e
.
onError
,
"
on-format-error
"
:
e
.
onFormatError
,
"
on-success
"
:
e
.
onsuccess
,
"
show-upload-list
"
:
!
0
,
action
:
""
}},[
i
(
"
Button
"
,{
attrs
:{
icon
:
"
ios-cloud-upload-outline
"
}},[
e
.
_v
(
"
附件上传
"
)])],
1
),
e
.
_l
(
e
.
formValidate
.
files_list
,(
function
(
t
,
n
){
return
i
(
"
div
"
,{
key
:
n
+
"
1
"
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
i
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
i
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)}))],
2
)],
1
)],
1
)],
1
)],
1
)])},
K
=
[];
function
N
(
e
,
t
){
var
i
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
W
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
i
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
N
(
Object
(
i
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"
a
"
])(
e
,
t
,
i
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
i
)):
N
(
Object
(
i
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
i
,
t
))}))}
return
e
}
var
U
=
{
data
:
function
(){
return
{
changecommitid
:
""
,
flowid
:
101
,
module_id
:
""
,
module
:
""
,
grid
:{
xl
:
12
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
loading
:
!
1
,
formValidate
:{
flowid
:
101
,
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
:[]},
ruleValidate
:{
competitionbatch_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
report_code
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionsubitem_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
dept_id
:[{
required
:
!
0
,
type
:
"
array
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_level_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_method
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_type_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
way
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
specialty1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
classList
:[],
levelList
:[],
batchList
:[],
deptList
:[],
fileKey
:
1
}},
mounted
:
function
(){
console
.
log
(
"
🚀formId🚀🚀,
"
,
this
.
formId
,
this
.
runId
),
this
.
FlowInit
(),
this
.
GetTypeBySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetBatchBySelect
(),
this
.
GetDeptSeletct
()},
props
:[
"
formId
"
,
"
runId
"
],
methods
:{
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
.
formValidate
.
validate
((
function
(
t
){
t
&&
c
[
"
publicConfirm
"
]((
function
(){
return
c
[
"
myEncapsulationFunction
"
]((
function
(){
return
I
[
"
postApiFlowApiFlowFlowReportSubmit
"
](
W
(
W
({},
e
.
formValidate
),{},{
flowid
:
e
.
flowid
,
runid
:
e
.
runId
})).
then
((
function
(
t
){
return
1
===
t
.
code
&&
(
e
.
$refs
.
formValidate
.
resetFields
(),
e
.
formValidate
.
files_list
=
[],
e
.
$emit
(
"
closeModal
"
,
""
),
e
.
$emit
(
"
getData
"
,
""
)),
t
}))}))}))}))},
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
i
){
var
n
,
o
,
r
,
s
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
F
.
a
.
cloneDeep
(
W
({},
e
.
formValidate
)),
o
=
n
.
files_list
,
delete
n
.
files_list
,
r
=
{
changecommitid
:
i
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
,
competition_report
:
n
,
files_list
:
o
},
t
.
next
=
6
,
c
[
"
myEncapsulationFunction
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
abrupt
(
"
return
"
,
I
[
"
postApiCompetitionReportApiCompetitionReportReportSave
"
](
r
).
then
((
function
(
e
){
return
e
})).
finally
((
function
(){})));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
6
:
s
=
t
.
sent
,
1
===
s
.
code
&&
e
.
FlowInit
();
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
this
;
return
this
.
loading
=!
0
,
I
[
"
getApiFlowViewApiFlowViewGetFlowInfo
"
]({
runid
:
this
.
runId
}).
then
((
function
(
t
){
switch
(
t
.
response
.
changecommitid
){
case
null
:
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module
=
t
.
response
.
module
;
break
;
default
:
var
i
=
t
.
response
.
competition_report
;
i
.
level
=
Number
(
i
.
level
),
i
.
race_level
=
Number
(
i
.
race_level
),
e
.
formValidate
=
i
,
e
.
formValidate
.
dept_id
&&
(
e
.
formValidate
.
dept_id
=
e
.
formValidate
.
dept_id
.
split
(
"
;
"
).
filter
((
function
(
e
){
return
""
!==
e
}))),
e
.
formValidate
.
files_list
=
t
.
response
.
file_list
,
e
.
changecommitid
=
t
.
response
.
changecommitid
,
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module_id
=
t
.
response
.
module_id
,
e
.
module
=
t
.
response
.
module
;
break
}
return
e
.
loading
=!
1
,
t
})).
finally
((
function
(){
e
.
loading
=!
1
}))},
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
files_list
.
map
((
function
(
i
,
n
){
i
.
id
===
e
.
id
&&
t
.
formValidate
.
files_list
.
splice
(
n
,
1
)})),
this
.
fileKey
++
},
onError
:
function
(
e
,
t
,
i
){},
onsuccess
:
function
(
e
,
t
,
i
){},
onFormatError
:
function
(
e
,
t
,
i
){
this
.
$Message
.
info
(
"
文件类型错误!
"
)},
BeforeUpload
:
function
(
e
){
var
t
=
this
,
i
=
new
FormData
;
return
i
.
append
(
"
file
"
,
e
),
this
.
hooks
.
myEncapsulationFunction
((
function
(){
return
d
[
"
fileUpload
"
](
"
studentEventApplication
"
,
i
).
then
((
function
(
e
){
return
t
.
formValidate
.
files_list
.
push
(
e
.
response
),
t
.
fileKey
++
,
e
}))}),
!
1
,
"
正在上传中...
"
),
!
1
},
GetBatchBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
e
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
e
.
formValidate
.
competition_method
}).
then
((
function
(
t
){
e
.
batchList
=
t
.
response
}))}))},
GetDeptSeletct
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetDeptSeletct
"
]();
case
2
:
i
=
t
.
sent
,
e
.
deptList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetLevelBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetLevelBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
levelList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetTypeBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
classList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}}},
J
=
U
,
Q
=
(
i
(
"
4759
"
),
Object
(
_
[
"
a
"
])(
J
,
z
,
K
,
!
1
,
null
,
"
517ce0f3
"
,
null
)),
Y
=
Q
.
exports
,
H
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,{
staticClass
:
"
con
"
},[
i
(
"
div
"
,{
staticClass
:
"
card
"
},[
i
(
"
h3
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
font-size
"
:
"
25px
"
,
height
:
"
60px
"
,
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
学生赛事调整
"
)]),
i
(
"
Form
"
,{
ref
:
"
formValidate
"
,
staticStyle
:{
position
:
"
relative
"
},
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
110
}},[
e
.
loading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
e
.
_e
(),
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competitionbatch_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionbatch_id
"
,
t
)},
expression
:
"
formValidate.competitionbatch_id
"
}},
e
.
_l
(
e
.
batchList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编号
"
,
prop
:
"
report_code
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
i
(
"
Select
"
,{
ref
:
"
select
"
,
staticClass
:
"
Select
"
,
attrs
:{
placeholder
:
e
.
formValidate
.
report_code
},
on
:{
"
on-open-change
"
:
e
.
onOpenChange
,
"
on-change
"
:
e
.
competitionSelectName
},
model
:{
value
:
e
.
formValidate
.
report_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
report_code
"
,
t
)},
expression
:
"
formValidate.report_code
"
}},[
i
(
"
Card
"
,{
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Input
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
placeholder
:
"
请输入编号或赛项名称、赛事名称搜索...
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
prepend
"
,
fn
:
function
(){
return
[
i
(
"
Icon
"
,{
attrs
:{
type
:
"
md-search
"
}})]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
contestItem
.
condition
,
callback
:
function
(
t
){
e
.
$set
(
e
.
contestItem
,
"
condition
"
,
t
)},
expression
:
"
contestItem.condition
"
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
key
:
e
.
tableKeys
,
attrs
:{
columns
:
e
.
columnsCompetitionItem
,
data
:
e
.
dataCompetitionItem
,
loading
:
e
.
contestItem
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
radio
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
input
"
,{
staticStyle
:{
width
:
"
30px
"
,
height
:
"
30px
"
,
cursor
:
"
pointer
"
,
"
accent-color
"
:
"
#1e93ff
"
},
attrs
:{
name
:
"
name
"
,
type
:
"
radio
"
},
domProps
:{
value
:
n
.
name
},
on
:{
click
:
function
(
t
){
return
e
.
tableRadio
(
n
)}}})]}}])}),
i
(
"
div
"
,{
staticClass
:
"
ivu-text-left ivu-mt
"
},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
i
(
"
Page
"
,{
attrs
:{
current
:
e
.
contestItem
.
pageIndex
,
"
page-size
"
:
e
.
contestItem
.
pageSize
,
total
:
e
.
contestItem
.
total
,
"
show-total
"
:
""
},
on
:{
"
update:current
"
:
function
(
t
){
return
e
.
$set
(
e
.
contestItem
,
"
pageIndex
"
,
t
)},
"
on-change
"
:
e
.
contestItemhandleChangePage
,
"
on-page-size-change
"
:
e
.
contestItemhandleChangePageSize
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
15%
"
,
"
margin-left
"
:
"
auto
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
saveTheEventSingleOption
}},[
e
.
_v
(
"
确定
\n
"
)])],
1
)])],
1
)],
1
)],
1
)])],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionname
"
,
t
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionsubitem_name
"
,
t
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
multiple
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
dept_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
dept_id
"
,
t
)},
expression
:
"
formValidate.dept_id
"
}},
e
.
_l
(
e
.
deptList
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
e
.
formValidate
.
sponsor
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sponsor
"
,
t
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_level_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_level_id
"
,
t
)},
expression
:
"
formValidate.competition_level_id
"
}},
e
.
_l
(
e
.
levelList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_type_id
"
,
t
)},
expression
:
"
formValidate.competition_type_id
"
}},
e
.
_l
(
e
.
classList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入相关专业
"
},
model
:{
value
:
e
.
formValidate
.
specialty
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
specialty
"
,
t
)},
expression
:
"
formValidate.specialty
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
key
:
e
.
fileKey
,
attrs
:{
label
:
"
附件上传
"
,
prop
:
"
specialty
"
}},[
i
(
"
Upload
"
,{
attrs
:{
"
before-upload
"
:
e
.
BeforeUpload
,
multiple
:
!
1
,
"
on-error
"
:
e
.
onError
,
"
on-format-error
"
:
e
.
onFormatError
,
"
on-success
"
:
e
.
onsuccess
,
"
show-upload-list
"
:
!
0
,
action
:
""
}},[
i
(
"
Button
"
,{
attrs
:{
icon
:
"
ios-cloud-upload-outline
"
}},[
e
.
_v
(
"
附件上传
"
)])],
1
),
e
.
_l
(
e
.
formValidate
.
files_list
,(
function
(
t
,
n
){
return
i
(
"
div
"
,{
key
:
n
+
"
1
"
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
i
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
i
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)}))],
2
)],
1
)],
1
)],
1
)],
1
),
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
justify-content
"
:
"
center
"
,
display
:
"
flex
"
}})])},
X
=
[];
function
Z
(
e
,
t
){
var
i
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
ee
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
i
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
Z
(
Object
(
i
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"
a
"
])(
e
,
t
,
i
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
i
)):
Z
(
Object
(
i
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
i
,
t
))}))}
return
e
}
var
te
=
{
data
:
function
(){
return
{
columnsCompetitionItem
:[{
slot
:
"
radio
"
},{
title
:
"
赛事编号
"
,
key
:
"
report_code
"
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
},{
title
:
"
赛项名称
"
,
key
:
"
competitionsubitem_name
"
}],
dataCompetitionItem
:[],
tableKeys
:
1
,
contestItem
:{
loading
:
!
1
,
condition
:
""
,
total
:
0
,
pageIndex
:
1
,
pageSize
:
5
,
competition_method
:
0
},
changecommitid
:
""
,
flowid
:
113
,
module_id
:
""
,
module
:
""
,
grid
:{
xl
:
12
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
loading
:
!
1
,
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
:[]},
ruleValidate
:{
competitionbatch_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
report_code
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionsubitem_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
dept_id
:[{
required
:
!
0
,
type
:
"
array
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_level_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_method
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_type_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
way
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
specialty1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
classList
:[],
levelList
:[],
batchList
:[],
deptList
:[],
fileKey
:
1
}},
watch
:{
"
contestItem.condition
"
:
function
(
e
,
t
){
var
i
=
this
;
clearTimeout
(
this
.
selectTimer
),
this
.
selectTimer
=
setTimeout
((
function
(){
i
.
contestItem
.
pageIndex
=
1
,
i
.
addAddressManually
()}),
400
)}},
mounted
:
function
(){
this
.
FlowInit
(),
this
.
GetTypeBySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetBatchBySelect
(),
this
.
GetDeptSeletct
()},
props
:[
"
formId
"
,
"
runId
"
],
methods
:{
addAddressManually
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
selectionOfEvents
=!
0
,
this
.
contestItem
.
loading
=!
0
,
e
.
next
=
4
,
new
Promise
((
function
(
e
){
c
[
"
getInitListRequest
"
]((
function
(){
var
i
=
{
condition
:
t
.
contestItem
.
condition
,
page_index
:
t
.
contestItem
.
pageIndex
,
page_size
:
t
.
contestItem
.
pageSize
,
competition_method
:
t
.
contestItem
.
competition_method
};
d
[
"
GetCodeList
"
](
i
).
then
((
function
(
i
){
t
.
contestItem
.
total
=
i
.
response
.
data_count
,
t
.
dataCompetitionItem
=
i
.
response
.
data
,
t
.
tableKeys
++
,
e
()}))}))}));
case
4
:
this
.
contestItem
.
loading
=!
1
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
saveTheEventSingleOption
:
function
(){
this
.
formValidate
=
ee
(
ee
(
ee
({},
this
.
formValidate
),
this
.
selectTheNumberMedian
),{},{
competition_method
:
this
.
tabsName
}),
"
A类
"
!==
this
.
formValidate
.
competition_type_name
&&
(
this
.
formValidate
.
class_hour
=
String
(
0
)),
this
.
$refs
.
select
.
visible
=!
1
,
this
.
$refs
.
select1
.
visible
=!
1
,
this
.
selectionOfEvents
=!
1
},
contestItemhandleChangePage
:
function
(
e
){
this
.
contestItem
.
pageIndex
=
e
,
this
.
addAddressManually
(),
this
.
tableKeys
++
},
contestItemhandleChangePageSize
:
function
(
e
){
this
.
contestItem
.
pageSize
=
e
,
this
.
addAddressManually
(),
this
.
tableKeys
++
},
tableRadio
:
function
(
e
){
this
.
selectTheNumberMedian
=
e
,
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
onOpenChange
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
i
=
this
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
!
t
){
e
.
next
=
5
;
break
}
return
this
.
contestItem
.
loading
=!
0
,
e
.
next
=
4
,
new
Promise
((
function
(
e
){
c
[
"
getInitListRequest
"
]((
function
(){
var
t
=
{
condition
:
i
.
contestItem
.
condition
,
page_index
:
i
.
contestItem
.
pageIndex
,
page_size
:
i
.
contestItem
.
pageSize
,
competition_method
:
i
.
contestItem
.
competition_method
};
d
[
"
GetCodeList
"
](
t
).
then
((
function
(
t
){
i
.
contestItem
.
total
=
t
.
response
.
data_count
,
i
.
dataCompetitionItem
=
t
.
response
.
data
,
i
.
tableKeys
++
,
e
()}))}))}));
case
4
:
this
.
contestItem
.
loading
=!
1
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
competitionSelectName
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
i
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
ReportChangeById
"
]({
id
:
t
});
case
2
:
i
=
e
.
sent
,
this
.
formValidate
.
sponsor
=
i
.
response
.
sponsor
,
this
.
formValidate
.
level
=
Number
(
i
.
response
.
level
),
this
.
formValidate
.
file_name
=
i
.
response
.
file_name
,
this
.
formValidate
.
competitionreportid
=
i
.
response
.
competitionreportid
,
this
.
competitionnameValue
=
i
.
response
.
competitionname
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
.
formValidate
.
validate
((
function
(
t
){
t
&&
c
[
"
publicConfirm
"
]((
function
(){
return
c
[
"
myEncapsulationFunction
"
]((
function
(){
return
I
[
"
postApiFlowApiFlowFlowReportUpdateSubmit
"
](
ee
(
ee
({},
e
.
formValidate
),{},{
flowid
:
e
.
flowid
,
runid
:
e
.
runId
})).
then
((
function
(
t
){
return
1
===
t
.
code
&&
(
e
.
$refs
.
formValidate
.
resetFields
(),
e
.
formValidate
.
files_list
=
[],
e
.
$emit
(
"
closeModal
"
,
""
),
e
.
$emit
(
"
getData
"
,
""
)),
t
}))}))}))}))},
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
i
){
var
n
,
o
,
r
,
s
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
F
.
a
.
cloneDeep
(
ee
(
ee
({},
e
.
formValidate
),{},{
competition_method
:
0
})),
o
=
n
.
files_list
,
delete
n
.
files_list
,
r
=
ee
(
ee
({
changecommitid
:
i
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
},
n
),{},{
files_list
:
o
}),
t
.
next
=
6
,
c
[
"
myEncapsulationFunction
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
abrupt
(
"
return
"
,
I
[
"
postApiCompetitionReportApiCompetitionReportReportTempSave
"
](
r
).
then
((
function
(
e
){
return
e
})).
finally
((
function
(){})));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
6
:
s
=
t
.
sent
,
1
===
s
.
code
&&
e
.
FlowInit
();
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
this
;
return
this
.
loading
=!
0
,
I
[
"
getApiFlowViewApiFlowViewGetFlowInfo
"
]({
runid
:
this
.
runId
}).
then
((
function
(
t
){
switch
(
t
.
response
.
changecommitid
){
case
null
:
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module
=
t
.
response
.
module
;
break
;
default
:
var
i
=
t
.
response
.
report_temp_update
;
i
.
level
=
Number
(
i
.
level
),
i
.
race_level
=
Number
(
i
.
race_level
),
e
.
formValidate
=
ee
(
ee
({},
e
.
formValidate
),
i
),
e
.
formValidate
.
dept_id
&&
(
e
.
formValidate
.
dept_id
=
e
.
formValidate
.
dept_id
.
split
(
"
;
"
).
filter
((
function
(
e
){
return
""
!==
e
}))),
e
.
formValidate
.
files_list
=
t
.
response
.
file_list
,
e
.
changecommitid
=
t
.
response
.
changecommitid
,
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module_id
=
t
.
response
.
module_id
,
e
.
module
=
t
.
response
.
module
;
break
}
return
e
.
loading
=!
1
,
t
})).
finally
((
function
(){
e
.
loading
=!
1
}))},
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
files_list
.
map
((
function
(
i
,
n
){
i
.
id
===
e
.
id
&&
t
.
formValidate
.
files_list
.
splice
(
n
,
1
)})),
this
.
fileKey
++
},
onError
:
function
(
e
,
t
,
i
){},
onsuccess
:
function
(
e
,
t
,
i
){},
onFormatError
:
function
(
e
,
t
,
i
){
this
.
$Message
.
info
(
"
文件类型错误!
"
)},
BeforeUpload
:
function
(
e
){
var
t
=
this
,
i
=
new
FormData
;
return
i
.
append
(
"
file
"
,
e
),
this
.
hooks
.
myEncapsulationFunction
((
function
(){
return
d
[
"
fileUpload
"
](
"
teacherEventApplication
"
,
i
).
then
((
function
(
e
){
return
t
.
formValidate
.
files_list
.
push
(
e
.
response
),
t
.
fileKey
++
,
e
}))}),
!
1
,
"
正在上传中...
"
),
!
1
},
GetBatchBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
e
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
e
.
formValidate
.
competition_method
}).
then
((
function
(
t
){
e
.
batchList
=
t
.
response
}))}))},
GetDeptSeletct
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetDeptSeletct
"
]();
case
2
:
i
=
t
.
sent
,
e
.
deptList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetLevelBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetLevelBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
levelList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetTypeBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
classList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}}},
ie
=
te
,
ne
=
(
i
(
"
511e
"
),
Object
(
_
[
"
a
"
])(
ie
,
H
,
X
,
!
1
,
null
,
"
b9f5d926
"
,
null
)),
oe
=
ne
.
exports
;
function
ae
(
e
,
t
){
var
i
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
re
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
i
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
ae
(
Object
(
i
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"
a
"
])(
e
,
t
,
i
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
i
)):
ae
(
Object
(
i
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
i
,
t
))}))}
return
e
}
var
se
=
{
name
:
"
list
"
,
computed
:{
publicState
:
function
(){
return
p
[
"
a
"
]}},
components
:{
updateCertificateModal
:
S
[
"
a
"
],
UpdateSignModal
:
b
[
"
a
"
],
UpdateSignModalStudentSIgn
:
v
[
"
a
"
],
aaa
:
g
,
updateRewardForTeachersAndStudents
:
C
[
"
a
"
],
teacherCompetitionApplication
:
T
,
teacherCompetitionAdjustment
:
E
,
studentCompetitionApplication
:
Y
,
studentCompetitionAdjustment
:
oe
},
data
:
function
(){
var
e
=
this
;
return
{
eventApplication
:{
teacher
:{
add
:{
show
:
!
1
,
runId
:
""
,
form_id
:
""
},
edit
:{
show
:
!
1
,
runId
:
""
,
form_id
:
""
}},
student
:{
add
:{
show
:
!
1
,
runId
:
""
,
form_id
:
""
},
edit
:{
show
:
!
1
,
runId
:
""
,
form_id
:
""
}}},
sign
:{
runId
:
""
,
signId
:
""
,
updateSignModal
:
!
1
,
signFlag
:
""
},
report
:{
runId
:
""
,
form_id
:
""
,
CertificateModal
:
!
1
},
timer
:
""
,
rewards
:{
isAuth1
:
""
,
runId
:
""
,
form_id
:
""
,
CertificateModal
:
!
1
},
transferParams
:{},
searchCondList
:[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
eventApplication
"
,
name
:
"
申请类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师赛事申请
"
,
value
:
112
},{
label
:
"
教师赛事调整
"
,
value
:
114
},{
label
:
"
学生赛事调整
"
,
value
:
101
},{
label
:
"
学生赛事调整
"
,
value
:
113
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]}],
flowSelect
:[],
ddd
:
""
,
ccc
:
""
,
bbb
:
""
,
aaa
:
""
,
flowStateArray
:[{
name
:
"
草稿
"
,
value
:
0
},{
name
:
"
运行中
"
,
value
:
1
},{
name
:
"
已结束
"
,
value
:
2
}],
cancelKey
:
1
,
formData
:{
name
:
""
,
url
:
""
,
owner
:
""
,
type
:
""
,
approver
:
""
,
date
:
""
,
desc
:
""
},
approvalDrawer
:
!
1
,
formValidate
:{
runid
:
""
,
title
:
""
,
flow_name
:
""
,
flow_id
:
""
,
status
:
0
,
action_type
:
0
,
starter
:
""
,
starter_name
:
""
,
start_time
:
""
,
current_node_id
:
""
,
current_node_name
:
""
,
todo
:
""
,
partcipant
:
""
,
modifyby
:
""
,
modifytime
:
""
,
form_id
:
""
,
form_name
:
""
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
title
"
,
show
:
!
0
,
minWidth
:
300
},{
title
:
"
流程名称
"
,
key
:
"
flow_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
流程状态
"
,
slot
:
"
status
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作类型
"
,
slot
:
"
action_type
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
当前节点名称
"
,
key
:
"
current_node_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
当前节点待办人员
"
,
slot
:
"
todo
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
参与人
"
,
slot
:
"
partcipant
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发起人
"
,
key
:
"
starter
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
发起人姓名
"
,
key
:
"
starter_name
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
发起时间
"
,
key
:
"
start_time
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
minWidth
:
240
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
,
rewardType
:
""
,
declarationType
:
""
},
strategy
:{
"
/flow-myFlowList-rewardForTeachersAndStudents
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
init
.
rewardType
=
107
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-WorkloadDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
109
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-TeacherBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-SubsidyDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
108
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-StudentBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
106
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-Certificate
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
103
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
102
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-eventCatalogue
"
:
function
(){
e
.
initSearchCondition
(),
e
.
$route
.
query
.
transferParams
||
(
e
.
init
.
flow_id1
=
101
),
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
)}},
strategyReset
:{
"
/flow-myFlowList-rewardForTeachersAndStudents
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
init
.
rewardType
=
107
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-WorkloadDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
109
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-TeacherBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-SubsidyDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
108
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-StudentBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
106
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-Certificate
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
103
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
102
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-eventCatalogue
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
101
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
)}}}},
created
:
function
(){},
watch
:{
$route
:
function
(
e
,
t
){
this
.
init
=
{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
,
rewardType
:
""
,
declarationType
:
""
},
this
.
strategy
[
e
.
path
](),
this
.
$refs
.
search
.
resetBt
()}},
mounted
:
function
(){
this
.
routerCarryConditionQuery
(),
this
.
strategy
[
this
.
$route
.
path
](),
this
.
GetFlowTaskList
(),
this
.
GetFlowIdSelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
()},
methods
:{
handleSubmitReward
:
function
(){
var
e
=
this
;
clearTimeout
(
this
.
timer
),
this
.
timer
=
setTimeout
((
function
(){
e
.
$refs
.
updateRewardForTeachersAndStudents
.
handleSubmit
()}),
500
)},
saveReward
:
function
(){
this
.
$refs
.
updateRewardForTeachersAndStudents
.
save
()},
handleResetReward
:
function
(){
this
.
$refs
.
updateRewardForTeachersAndStudents
.
handleReset
()},
isAuth
:
function
(
e
){
this
.
rewards
.
isAuth1
=
e
},
closeModal
:
function
(){
this
.
report
.
CertificateModal
=!
1
,
this
.
rewards
.
CertificateModal
=!
1
},
handleSubmit
:
function
(){
this
.
$refs
.
updateCertificateModal
.
handleSubmit
()},
save
:
function
(){
this
.
$refs
.
updateCertificateModal
.
save
()},
handleReset
:
function
(){
this
.
$refs
.
updateCertificateModal
.
handleReset
()},
resultValue
:
function
(
e
){
this
.
sign
.
updateSignModal
=
e
,
this
.
GetFlowTaskList
()},
reinitiateTheProcess
:
function
(
e
){
var
t
=
this
,
i
=
{
"
/flow-myFlowList-rewardForTeachersAndStudents
"
:
function
(){
t
.
rewards
.
runId
=
e
.
runid
,
t
.
rewards
.
form_id
=
e
.
form_id
,
t
.
rewards
.
CertificateModal
=!
0
},
"
/flow-myFlowList-Certificate
"
:
function
(){
t
.
report
.
form_id
=
e
.
form_id
,
t
.
report
.
CertificateModal
=!
0
,
t
.
report
.
runId
=
e
.
runid
},
"
/flow-myFlowList
"
:
function
(){
c
[
"
myEncapsulationFunction
"
]((
function
(){
return
w
[
"
c
"
]({
id
:
e
.
form_id
}).
then
((
function
(
i
){
return
t
.
sign
.
signId
=
e
.
form_id
,
t
.
sign
.
signFlag
=
i
.
response
.
competition_method
,
t
.
sign
.
runId
=
e
.
runid
,
t
.
sign
.
updateSignModal
=!
0
,
i
}))}),
!
0
,
"
正在提交中...
"
)},
"
/flow-myFlowList-eventCatalogue
"
:
function
(){
var
i
=
{
101
:
function
(){
t
.
eventApplication
.
student
.
add
.
form_id
=
e
.
form_id
,
t
.
eventApplication
.
student
.
add
.
runId
=
e
.
runid
,
t
.
eventApplication
.
student
.
add
.
show
=!
0
},
113
:
function
(){
t
.
eventApplication
.
student
.
edit
.
form_id
=
e
.
form_id
,
t
.
eventApplication
.
student
.
edit
.
runId
=
e
.
runid
,
t
.
eventApplication
.
student
.
edit
.
show
=!
0
},
112
:
function
(){
t
.
eventApplication
.
teacher
.
add
.
form_id
=
e
.
form_id
,
t
.
eventApplication
.
teacher
.
add
.
runId
=
e
.
runid
,
t
.
eventApplication
.
teacher
.
add
.
show
=!
0
},
114
:
function
(){
t
.
eventApplication
.
teacher
.
edit
.
form_id
=
e
.
form_id
,
t
.
eventApplication
.
teacher
.
edit
.
runId
=
e
.
runid
,
t
.
eventApplication
.
teacher
.
edit
.
show
=!
0
}};
i
[
t
.
init
.
flow_id1
]()}};
i
[
this
.
$route
.
path
]()},
routerCarryConditionQuery
:
function
(){
this
.
$route
.
query
.
transferParams
?(
this
.
init
=
re
(
re
(
re
({},
this
.
init
),
JSON
.
parse
(
this
.
$route
.
query
.
transferParams
)),{},{
flow_id1
:
JSON
.
parse
(
this
.
$route
.
query
.
transferParams
).
flow_id
}),
this
.
$refs
.
search
.
searchCondObj
=
this
.
init
,
this
.
cssearch
(
this
.
init
)):
console
.
log
(
"
🚀🚀没有查询参数transferParams🚀,
"
)},
GetLevelBySelect
:
function
(){
var
e
=
this
;
w
[
"
a
"
]().
then
((
function
(
t
){
e
.
searchCondList
.
forEach
((
function
(
e
){
"
competition_level_id
"
===
e
.
id
&&
(
e
.
optList
=
t
.
response
.
map
((
function
(
e
){
return
{
label
:
e
.
name
,
value
:
e
.
id
}})))}))}))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
w
[
"
b
"
]().
then
((
function
(
t
){
e
.
searchCondList
.
forEach
((
function
(
e
){
"
competition_type_id
"
===
e
.
id
&&
(
e
.
optList
=
t
.
response
.
map
((
function
(
e
,
t
){
return
{
value
:
e
.
id
,
label
:
e
.
name
}})))}))}))},
deleteSearchCondition
:
function
(
e
){
var
t
=
this
;
this
.
searchCondList
.
forEach
((
function
(
i
,
n
){
i
.
id
===
e
&&
t
.
searchCondList
.
splice
(
n
,
1
)}))},
initSearchCondition
:
function
(){
this
.
searchCondList
=
[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
eventApplication
"
,
name
:
"
申请类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师赛事申请
"
,
value
:
112
},{
label
:
"
教师赛事调整
"
,
value
:
114
},{
label
:
"
学生赛事申请
"
,
value
:
101
},{
label
:
"
学生赛事调整
"
,
value
:
113
}]},{
id
:
"
declarationType
"
,
name
:
"
申报类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师申报
"
,
value
:
111
},{
label
:
"
学生申报
"
,
value
:
103
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
e
){
return
e
.
id
})).
indexOf
(
"
competition_level_id
"
)].
optList
},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
e
){
return
e
.
id
})).
indexOf
(
"
competition_type_id
"
)].
optList
}]},
cssearch
:
function
(
e
){
e
.
rewardType
?(
this
.
init
=
re
(
re
(
re
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
rewardType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
e
.
declarationType
?(
this
.
init
=
re
(
re
(
re
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
declarationType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
e
.
eventApplication
?(
this
.
init
=
re
(
re
(
re
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
eventApplication
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):(
this
.
strategy
[
this
.
$route
.
path
](),
this
.
init
=
re
(
re
(
re
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
flow_id
?
e
.
flow_id
:
this
.
init
.
flow_id1
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
),
this
.
transferParams
=
e
,
this
.
search
()},
csreset
:
function
(){
this
.
init
=
{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
,
rewardType
:
""
,
declarationType
:
""
},
this
.
transferParams
=
this
.
init
,
this
.
strategyReset
[
this
.
$route
.
path
](),
this
.
initData
()},
getFlowId
:
function
(){
this
.
strategyReset
[
this
.
$route
.
path
]()},
initData
:
function
(){
this
.
getFlowId
(),
this
.
init
.
status1
=
this
.
init
.
status
=
""
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
=
""
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
=
""
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
=
""
,
this
.
GetFlowTaskList
()},
search
:
function
(){
this
.
init
.
status1
=
this
.
init
.
status
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
,
this
.
GetFlowTaskList
()},
GetFlowIdSelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
d
[
"
GetFlowIdSelect
"
]().
then
((
function
(
t
){
t
.
response
.
map
((
function
(
e
,
i
){
"
102
"
===
e
.
id
&&
(
t
.
response
.
unshift
(
e
),
t
.
response
.
splice
(
i
+
1
,
1
))})),
e
.
flowSelect
=
t
.
response
}))}))},
GetFlowTaskList
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
t
,
i
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
flow_id
:
this
.
init
.
flow_id1
,
key_name
:
this
.
init
.
key_name1
,
action_type
:
this
.
init
.
action_type1
,
status
:
this
.
init
.
status1
,
flow_name
:
this
.
init
.
flow_name1
,
competitionsubitem_name
:
this
.
init
.
competitionsubitem_name
,
competition_level_id
:
this
.
init
.
competition_level_id
,
competition_type_id
:
this
.
init
.
competition_type_id
,
sponsor
:
this
.
init
.
sponsor
,
way
:
this
.
init
.
way
},
e
.
next
=
4
,
d
[
"
GetMyFlowTaskList
"
](
t
);
case
4
:
i
=
e
.
sent
,
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
tableData
=
i
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
flowCancel
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
i
=
this
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
c
[
"
publicConfirm
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
FlowCancel
"
]({
runid
:
t
.
runid
});
case
2
:
return
n
=
e
.
sent
,
i
.
cancelKey
++
,
c
[
"
publicMessage
"
](
n
),
e
.
next
=
7
,
i
.
GetFlowTaskList
();
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
approvalLisFun
:
function
(
e
){
this
.
$router
.
push
({
name
:
"
awaitDoneInformation
"
,
query
:{
runid
:
e
.
runid
,
form_name
:
e
.
form_name
,
flowInfo
:
"
流程详细信息
"
,
transferParams
:
JSON
.
stringify
(
re
(
re
({},
this
.
transferParams
),{},{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
})),
path
:
this
.
$route
.
path
}})},
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetFlowTaskList
()},
handleChangePageSize
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
GetFlowTaskList
()}}},
le
=
se
,
ce
=
(
i
(
"
bbca
"
),
Object
(
_
[
"
a
"
])(
le
,
n
,
o
,
!
1
,
null
,
null
,
null
));
t
[
"
default
"
]
=
ce
.
exports
},
edf6
:
function
(
e
,
t
,
i
){}}]);
\ No newline at end of file
dist/js/chunk-6c13f532.ad4c8108.js
0 → 100644
浏览文件 @
7053bb4f
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-7859b939.8b205255.js
0 → 100644
浏览文件 @
7053bb4f
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-7859b939
"
],{
"
3fcf
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
4acd
"
)},
"
45ca
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
cbc4
"
)},
"
4acd
"
:
function
(
e
,
t
,
i
){},
"
511e
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
7651
"
)},
"
6de6
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
abd3
"
)},
7651
:
function
(
e
,
t
,
i
){},
"
8ab2
"
:
function
(
e
,
t
,
i
){},
a48d
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
8ab2
"
)},
abd3
:
function
(
e
,
t
,
i
){},
bbca
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
edf6
"
)},
cbc4
:
function
(
e
,
t
,
i
){},
e8c1
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
.
r
(
t
);
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
auto
"
}},[
i
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
e
.
searchCondList
,
labelWidth
:
120
,
params
:
e
.
init
},
on
:{
onSubmit
:
e
.
cssearch
,
onReset
:
e
.
csreset
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
todo
"
,
fn
:
function
(
e
){
var
t
=
e
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
t
.
todo
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
partcipant
"
,
fn
:
function
(
e
){
var
t
=
e
.
row
;
return
[
i
(
"
Ellipsis
"
,{
attrs
:{
text
:
t
.
partcipant
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
status
"
,
fn
:
function
(
t
){
var
i
=
t
.
row
;
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
草稿
"
,
"
运行中
"
,
"
已结束
"
][
i
.
status
])
+
"
\n
"
)]}},{
key
:
"
action_type
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
Tag
"
,{
attrs
:{
color
:
e
.
publicState
.
completeFlow
.
color
[
n
.
action_type
]}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
publicState
.
completeFlow
.
action_type
[
n
.
action_type
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
2
===
n
.
status
?
i
(
"
a
"
,{
key
:
e
.
cancelKey
,
staticClass
:
"
cancel
"
,
staticStyle
:{
"
margin-right
"
:
"
15px
"
}},[
e
.
_v
(
"
取消
"
)]):
i
(
"
a
"
,{
key
:
e
.
cancelKey
,
staticStyle
:{
"
margin-right
"
:
"
15px
"
,
color
:
"
red
"
},
on
:{
click
:
function
(
t
){
return
e
.
flowCancel
(
n
)}}},[
e
.
_v
(
"
取消
"
)]),
i
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
approvalLisFun
(
n
)}}},[
e
.
_v
(
"
详细
"
)]),
6
!==
n
.
action_type
?
i
(
"
a
"
,{
key
:
e
.
cancelKey
+
"
1
"
,
staticClass
:
"
cancel
"
,
staticStyle
:{
"
margin-left
"
:
"
15px
"
}},[
e
.
_v
(
"
重新发起流程
"
)]):
i
(
"
a
"
,{
key
:
e
.
cancelKey
+
"
1
"
,
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
t
){
return
e
.
reinitiateTheProcess
(
n
)}}},[
e
.
_v
(
"
重新发起流程
"
)])]}}])}),
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
attrs
:{
current
:
e
.
init
.
page_index
,
total
:
e
.
init
.
total
,
modelValue
:
e
.
init
.
page_index
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
}})],
1
)],
1
),
i
(
"
Modal
"
,{
attrs
:{
styles
:{
top
:
"
10px
"
},
title
:
"
修改
"
,
width
:
"
70
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
cs-button
"
,{
attrs
:{
"
cs-click
"
:
function
(){
return
e
.
$refs
.
teacherCompetitionApplication
.
handleSubmit
()},
"
cs-style
"
:
"
width: 12vw;margin-right:10px;
"
,
"
cs-text
"
:
"
提交流程
"
,
type
:
"
primary
"
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
teacherCompetitionApplication
.
save
()}}},[
e
.
_v
(
"
保存
\n
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
,
width
:
"
12vw
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
teacherCompetitionApplication
.
$refs
.
formValidate
.
resetFields
()}}},[
e
.
_v
(
"
重置
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
eventApplication
.
teacher
.
add
.
show
,
callback
:
function
(
t
){
e
.
$set
(
e
.
eventApplication
.
teacher
.
add
,
"
show
"
,
t
)},
expression
:
"
eventApplication.teacher.add.show
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
eventApplication
.
teacher
.
add
.
show
?
i
(
"
teacherCompetitionApplication
"
,{
ref
:
"
teacherCompetitionApplication
"
,
attrs
:{
formId
:
e
.
eventApplication
.
teacher
.
add
.
form_id
,
runId
:
e
.
eventApplication
.
teacher
.
add
.
runId
},
on
:{
closeModal
:
function
(){
return
e
.
eventApplication
.
teacher
.
add
.
show
=!
1
},
getData
:
e
.
GetFlowTaskList
}}):
e
.
_e
()],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
styles
:{
top
:
"
10px
"
},
title
:
"
修改
"
,
width
:
"
70
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
cs-button
"
,{
attrs
:{
"
cs-click
"
:
function
(){
return
e
.
$refs
.
teacherCompetitionAdjustment
.
handleSubmit
()},
"
cs-style
"
:
"
width: 12vw;margin-right:10px;
"
,
"
cs-text
"
:
"
提交流程
"
,
type
:
"
primary
"
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
teacherCompetitionAdjustment
.
save
()}}},[
e
.
_v
(
"
保存
\n
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
,
width
:
"
12vw
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
teacherCompetitionAdjustment
.
$refs
.
formValidate
.
resetFields
()}}},[
e
.
_v
(
"
重置
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
eventApplication
.
teacher
.
edit
.
show
,
callback
:
function
(
t
){
e
.
$set
(
e
.
eventApplication
.
teacher
.
edit
,
"
show
"
,
t
)},
expression
:
"
eventApplication.teacher.edit.show
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
eventApplication
.
teacher
.
edit
.
show
?
i
(
"
teacherCompetitionAdjustment
"
,{
ref
:
"
teacherCompetitionAdjustment
"
,
attrs
:{
formId
:
e
.
eventApplication
.
teacher
.
edit
.
form_id
,
runId
:
e
.
eventApplication
.
teacher
.
edit
.
runId
},
on
:{
closeModal
:
function
(){
return
e
.
eventApplication
.
teacher
.
edit
.
show
=!
1
},
getData
:
e
.
GetFlowTaskList
}}):
e
.
_e
()],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
styles
:{
top
:
"
10px
"
},
title
:
"
修改
"
,
width
:
"
70
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
cs-button
"
,{
attrs
:{
"
cs-click
"
:
function
(){
return
e
.
$refs
.
studentCompetitionApplication
.
handleSubmit
()},
"
cs-style
"
:
"
width: 12vw;margin-right:10px;
"
,
"
cs-text
"
:
"
提交流程
"
,
type
:
"
primary
"
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
studentCompetitionApplication
.
save
()}}},[
e
.
_v
(
"
保存
\n
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
,
width
:
"
12vw
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
studentCompetitionApplication
.
$refs
.
formValidate
.
resetFields
()}}},[
e
.
_v
(
"
重置
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
eventApplication
.
student
.
add
.
show
,
callback
:
function
(
t
){
e
.
$set
(
e
.
eventApplication
.
student
.
add
,
"
show
"
,
t
)},
expression
:
"
eventApplication.student.add.show
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
eventApplication
.
student
.
add
.
show
?
i
(
"
studentCompetitionApplication
"
,{
ref
:
"
studentCompetitionApplication
"
,
attrs
:{
formId
:
e
.
eventApplication
.
student
.
add
.
form_id
,
runId
:
e
.
eventApplication
.
student
.
add
.
runId
},
on
:{
closeModal
:
function
(){
return
e
.
eventApplication
.
student
.
add
.
show
=!
1
},
getData
:
e
.
GetFlowTaskList
}}):
e
.
_e
()],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
styles
:{
top
:
"
10px
"
},
title
:
"
修改
"
,
width
:
"
70
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
cs-button
"
,{
attrs
:{
"
cs-click
"
:
function
(){
return
e
.
$refs
.
studentCompetitionAdjustment
.
handleSubmit
()},
"
cs-style
"
:
"
width: 12vw;margin-right:10px;
"
,
"
cs-text
"
:
"
提交流程
"
,
type
:
"
primary
"
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
studentCompetitionAdjustment
.
save
()}}},[
e
.
_v
(
"
保存
\n
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
,
width
:
"
12vw
"
},
on
:{
click
:
function
(){
return
e
.
$refs
.
studentCompetitionAdjustment
.
$refs
.
formValidate
.
resetFields
()}}},[
e
.
_v
(
"
重置
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
eventApplication
.
student
.
edit
.
show
,
callback
:
function
(
t
){
e
.
$set
(
e
.
eventApplication
.
student
.
edit
,
"
show
"
,
t
)},
expression
:
"
eventApplication.student.edit.show
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
eventApplication
.
student
.
edit
.
show
?
i
(
"
studentCompetitionAdjustment
"
,{
ref
:
"
studentCompetitionAdjustment
"
,
attrs
:{
formId
:
e
.
eventApplication
.
student
.
edit
.
form_id
,
runId
:
e
.
eventApplication
.
student
.
edit
.
runId
},
on
:{
closeModal
:
function
(){
return
e
.
eventApplication
.
student
.
edit
.
show
=!
1
},
getData
:
e
.
GetFlowTaskList
}}):
e
.
_e
()],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
title
:
"
修改
"
,
width
:
"
60
"
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){},
proxy
:
!
0
}]),
model
:{
value
:
e
.
sign
.
updateSignModal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
sign
,
"
updateSignModal
"
,
t
)},
expression
:
"
sign.updateSignModal
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
sign
.
updateSignModal
&&
1
===
e
.
sign
.
signFlag
?
i
(
"
UpdateSignModal
"
,{
attrs
:{
signId
:
e
.
sign
.
signId
,
runId
:
e
.
sign
.
runId
},
on
:{
GetSignList
:
e
.
GetFlowTaskList
,
resultValue
:
e
.
resultValue
}}):
e
.
_e
(),
e
.
sign
.
updateSignModal
&&
0
===
e
.
sign
.
signFlag
?
i
(
"
UpdateSignModalStudentSIgn
"
,{
attrs
:{
signId
:
e
.
sign
.
signId
,
runId
:
e
.
sign
.
runId
},
on
:{
GetSignList
:
e
.
GetFlowTaskList
,
resultValue
:
e
.
resultValue
}}):
e
.
_e
()],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
title
:
"
修改
"
,
width
:
"
70
"
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
handleSubmit
}},[
e
.
_v
(
"
提交流程
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"
保存
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
,
width
:
"
12vw
"
},
on
:{
click
:
e
.
handleReset
}},[
e
.
_v
(
"
重置
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
report
.
CertificateModal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
report
,
"
CertificateModal
"
,
t
)},
expression
:
"
report.CertificateModal
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
report
.
CertificateModal
?
i
(
"
updateCertificateModal
"
,{
ref
:
"
updateCertificateModal
"
,
attrs
:{
winningMaterialId
:
e
.
report
.
form_id
,
runId
:
e
.
report
.
runId
},
on
:{
getData
:
e
.
GetFlowTaskList
,
closeModal
:
e
.
closeModal
}}):
e
.
_e
()],
1
)]),
i
(
"
Modal
"
,{
attrs
:{
styles
:{
top
:
"
10px
"
},
title
:
"
修改
"
,
width
:
"
70
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
cs-button
"
,{
ref
:
"
load
"
,
attrs
:{
"
cs-click
"
:
e
.
handleSubmitReward
,
"
cs-style
"
:
"
width: 12vw;margin-right:10px;
"
,
"
cs-text
"
:
"
提交流程
"
,
type
:
"
primary
"
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
saveReward
}},[
e
.
_v
(
"
保存
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
,
width
:
"
12vw
"
},
on
:{
click
:
e
.
handleResetReward
}},[
e
.
_v
(
"
重置
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
rewards
.
CertificateModal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
rewards
,
"
CertificateModal
"
,
t
)},
expression
:
"
rewards.CertificateModal
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},[
e
.
rewards
.
CertificateModal
?
i
(
"
updateRewardForTeachersAndStudents
"
,{
ref
:
"
updateRewardForTeachersAndStudents
"
,
attrs
:{
winningMaterialId
:
e
.
rewards
.
form_id
,
runId
:
e
.
rewards
.
runId
},
on
:{
closeModal
:
e
.
closeModal
,
getData
:
e
.
GetFlowTaskList
,
isAuth
:
e
.
isAuth
}}):
e
.
_e
()],
1
)])],
1
)},
o
=
[],
a
=
(
i
(
"
8e6e
"
),
i
(
"
456d
"
),
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
r
=
(
i
(
"
7f7f
"
),
i
(
"
ac6a
"
),
i
(
"
ade3
"
)),
s
=
(
i
(
"
386d
"
),
i
(
"
967e
"
)),
l
=
i
.
n
(
s
),
c
=
i
(
"
61be
"
),
d
=
i
(
"
7f6b
"
),
p
=
i
(
"
5ccc
"
),
u
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
70px
"
}},[
i
(
"
h3
"
,[
e
.
_v
(
"
我的流程列表
"
)]),
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
,
"
align-items
"
:
"
center
"
,
"
margin-top
"
:
"
1.5vw
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
20vw
"
,
"
margin-right
"
:
"
1vw
"
},
attrs
:{
placeholder
:
"
请选择流程名称
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
prefix
"
,
fn
:
function
(){
return
[
i
(
"
span
"
,{
staticStyle
:{
color
:
"
#707575
"
,
"
margin-right
"
:
"
1vw
"
}},[
e
.
_v
(
"
\n
流程名称
\n
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
init
.
flow_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
flow_id
"
,
t
)},
expression
:
"
init.flow_id
"
}},
e
.
_l
(
e
.
flowSelect
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
),
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
20vw
"
,
"
margin-right
"
:
"
1vw
"
},
attrs
:{
placeholder
:
"
请选择操作类型
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
prefix
"
,
fn
:
function
(){
return
[
i
(
"
span
"
,{
staticStyle
:{
color
:
"
#707575
"
,
"
margin-right
"
:
"
1vw
"
}},[
e
.
_v
(
"
\n
操作类型
\n
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
init
.
action_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
action_type
"
,
t
)},
expression
:
"
init.action_type
"
}},
e
.
_l
(
e
.
publicState
.
flowActionClass
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
),
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
20vw
"
},
attrs
:{
placeholder
:
"
请选择流程状态
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
prefix
"
,
fn
:
function
(){
return
[
i
(
"
span
"
,{
staticStyle
:{
color
:
"
#707575
"
,
"
margin-right
"
:
"
1vw
"
}},[
e
.
_v
(
"
\n
流程状态
\n
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
init
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
status
"
,
t
)},
expression
:
"
init.status
"
}},
e
.
_l
(
e
.
publicState
.
flowState
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
)])]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
span
"
,[
e
.
_v
(
"
标题:
"
)]),
i
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
,
"
margin-right
"
:
"
1vw
"
},
attrs
:{
placeholder
:
"
请输入标题
"
},
model
:{
value
:
e
.
init
.
flow_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
flow_name
"
,
t
)},
expression
:
"
init.flow_name
"
}})],
1
),
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
span
"
,[
e
.
_v
(
"
姓名或工号:
"
)]),
i
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
,
"
margin-right
"
:
"
1vw
"
},
attrs
:{
placeholder
:
"
请输入姓名或工号
"
},
model
:{
value
:
e
.
init
.
key_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
key_name
"
,
t
)},
expression
:
"
init.key_name
"
}})],
1
),
i
(
"
cs-button
"
,{
ref
:
"
search
"
,
attrs
:{
"
cs-text
"
:
"
搜索
"
,
"
cs-click
"
:
e
.
search
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
todo
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
e
.
_l
(
n
.
todo
,(
function
(
t
,
n
){
return
i
(
"
span
"
,{
key
:
n
},[
e
.
_v
(
e
.
_s
(
t
.
replace
(
"
[
"
,
""
).
replace
(
"
]
"
,
""
).
replace
(
'
"
'
,
""
)))])}))}},{
key
:
"
partcipant
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
e
.
_l
(
n
.
partcipant
,(
function
(
t
,
n
){
return
i
(
"
span
"
,{
key
:
n
},[
e
.
_v
(
e
.
_s
(
t
.
replace
(
"
[
"
,
""
).
replace
(
"
]
"
,
""
).
replace
(
'
"
'
,
""
)))])}))}},{
key
:
"
status
"
,
fn
:
function
(
t
){
var
i
=
t
.
row
;
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
草稿
"
,
"
运行中
"
,
"
已结束
"
][
i
.
status
])
+
"
\n
"
)]}},{
key
:
"
action_type
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
Tag
"
,{
attrs
:{
color
:
e
.
publicState
.
completeFlow
.
color
[
n
.
action_type
]}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
publicState
.
completeFlow
.
action_type
[
n
.
action_type
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
2
===
n
.
status
?
i
(
"
a
"
,{
key
:
e
.
cancelKey
,
staticClass
:
"
cancel
"
,
staticStyle
:{
"
margin-right
"
:
"
15px
"
}},[
e
.
_v
(
"
取消
"
)]):
i
(
"
a
"
,{
key
:
e
.
cancelKey
,
staticStyle
:{
"
margin-right
"
:
"
15px
"
,
color
:
"
red
"
},
on
:{
click
:
function
(
t
){
return
e
.
flowCancel
(
n
)}}},[
e
.
_v
(
"
取消
"
)]),
i
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
approvalLisFun
(
n
)}}},[
e
.
_v
(
"
详细
"
)])]}}])}),
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
key
:
e
.
pageKey
,
attrs
:{
total
:
e
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
},
model
:{
value
:
e
.
init
.
page_index
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
)],
1
)},
m
=
[],
f
=
{
name
:
"
list
"
,
computed
:{
publicState
:
function
(){
return
p
[
"
a
"
]}},
components
:{
aaa
:
g
},
data
:
function
(){
return
{
flowSelect
:[],
ddd
:
""
,
ccc
:
""
,
bbb
:
""
,
aaa
:
""
,
flowStateArray
:[{
name
:
"
草稿
"
,
value
:
0
},{
name
:
"
运行中
"
,
value
:
1
},{
name
:
"
已结束
"
,
value
:
2
}],
cancelKey
:
1
,
formData
:{
name
:
""
,
url
:
""
,
owner
:
""
,
type
:
""
,
approver
:
""
,
date
:
""
,
desc
:
""
},
approvalDrawer
:
!
1
,
formValidate
:{
runid
:
""
,
title
:
""
,
flow_name
:
""
,
flow_id
:
""
,
status
:
0
,
action_type
:
0
,
starter
:
""
,
starter_name
:
""
,
start_time
:
""
,
current_node_id
:
""
,
current_node_name
:
""
,
todo
:
""
,
partcipant
:
""
,
modifyby
:
""
,
modifytime
:
""
,
form_id
:
""
,
form_name
:
""
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
标题
"
,
key
:
"
title
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
300
},{
title
:
"
流程名称
"
,
key
:
"
flow_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
状态
"
,
slot
:
"
status
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
操作类型
"
,
slot
:
"
action_type
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
当前节点名称
"
,
key
:
"
current_node_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
当前节点待办人员
"
,
slot
:
"
todo
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
参与人
"
,
slot
:
"
partcipant
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发起人
"
,
key
:
"
starter
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
发起人姓名
"
,
key
:
"
starter_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
发起时间
"
,
key
:
"
start_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
flow_id
:
""
,
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
},
pageKey
:
1
}},
created
:
function
(){},
mounted
:
function
(){
this
.
GetFlowTaskList
(),
this
.
GetFlowIdSelect
()},
methods
:{
search
:
function
(){
this
.
$refs
.
search
.
load
=!
0
,
this
.
init
.
status1
=
this
.
init
.
status
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
,
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
,
this
.
GetFlowTaskList
(),
this
.
$refs
.
search
.
load
=!
1
},
GetFlowIdSelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
d
[
"
GetFlowIdSelect
"
]().
then
((
function
(
t
){
t
.
response
.
map
((
function
(
e
,
i
){
"
102
"
===
e
.
id
&&
(
t
.
response
.
unshift
(
e
),
t
.
response
.
splice
(
i
+
1
,
1
))})),
e
.
flowSelect
=
t
.
response
}))}))},
GetFlowTaskList
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
t
,
i
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
flow_id
:
this
.
init
.
flow_id1
,
key_name
:
this
.
init
.
key_name1
,
action_type
:
this
.
init
.
action_type1
,
status
:
this
.
init
.
status1
,
flow_name
:
this
.
init
.
flow_name1
},
e
.
next
=
4
,
d
[
"
GetMyFlowTaskList
"
](
t
);
case
4
:
i
=
e
.
sent
,
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
tableData
=
i
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
flowCancel
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
i
=
this
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
c
[
"
publicConfirm
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
FlowCancel
"
]({
runid
:
t
.
runid
});
case
2
:
return
n
=
e
.
sent
,
i
.
cancelKey
++
,
c
[
"
publicMessage
"
](
n
),
e
.
next
=
7
,
i
.
GetFlowTaskList
();
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
approvalLisFun
:
function
(
e
){
this
.
$router
.
push
({
name
:
"
awaitDoneInformation
"
,
query
:{
runid
:
e
.
runid
,
form_name
:
e
.
form_name
,
flowInfo
:
"
流程详细信息
"
}}),
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetFlowTaskList
()},
handleChangePageSize
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
GetFlowTaskList
()}}},
h
=
f
,
_
=
(
i
(
"
6de6
"
),
i
(
"
2877
"
)),
y
=
Object
(
_
[
"
a
"
])(
h
,
u
,
m
,
!
1
,
null
,
null
,
null
),
g
=
y
.
exports
,
w
=
i
(
"
3252
"
),
v
=
i
(
"
7fde
"
),
b
=
i
(
"
78e2
"
),
S
=
i
(
"
e464
"
),
C
=
i
(
"
91cb
"
),
x
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,{
staticClass
:
"
con
"
},[
i
(
"
div
"
,{
staticClass
:
"
card
"
},[
i
(
"
h3
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
font-size
"
:
"
25px
"
,
height
:
"
60px
"
,
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
教师赛事申请
"
)]),
i
(
"
Form
"
,{
ref
:
"
formValidate
"
,
staticStyle
:{
position
:
"
relative
"
},
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
110
}},[
e
.
loading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
e
.
_e
(),
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competitionbatch_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionbatch_id
"
,
t
)},
expression
:
"
formValidate.competitionbatch_id
"
}},
e
.
_l
(
e
.
batchList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事编码
"
},
model
:{
value
:
e
.
formValidate
.
report_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
report_code
"
,
t
)},
expression
:
"
formValidate.report_code
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionname
"
,
t
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionsubitem_name
"
,
t
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
multiple
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
dept_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
dept_id
"
,
t
)},
expression
:
"
formValidate.dept_id
"
}},
e
.
_l
(
e
.
deptList
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
e
.
formValidate
.
sponsor
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sponsor
"
,
t
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_level_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_level_id
"
,
t
)},
expression
:
"
formValidate.competition_level_id
"
}},
e
.
_l
(
e
.
levelList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_type_id
"
,
t
)},
expression
:
"
formValidate.competition_type_id
"
}},
e
.
_l
(
e
.
classList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入相关专业
"
},
model
:{
value
:
e
.
formValidate
.
specialty
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
specialty
"
,
t
)},
expression
:
"
formValidate.specialty
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
key
:
e
.
fileKey
,
attrs
:{
label
:
"
附件上传
"
,
prop
:
"
specialty
"
}},[
i
(
"
Upload
"
,{
attrs
:{
"
before-upload
"
:
e
.
BeforeUpload
,
multiple
:
!
1
,
"
on-error
"
:
e
.
onError
,
"
on-format-error
"
:
e
.
onFormatError
,
"
on-success
"
:
e
.
onsuccess
,
"
show-upload-list
"
:
!
0
,
action
:
""
}},[
i
(
"
Button
"
,{
attrs
:{
icon
:
"
ios-cloud-upload-outline
"
}},[
e
.
_v
(
"
附件上传
"
)])],
1
),
e
.
_l
(
e
.
formValidate
.
files_list
,(
function
(
t
,
n
){
return
i
(
"
div
"
,{
key
:
n
+
"
1
"
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
i
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
i
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)}))],
2
)],
1
)],
1
)],
1
)],
1
),
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
justify-content
"
:
"
center
"
,
display
:
"
flex
"
}})])},
k
=
[],
I
=
(
i
(
"
28a5
"
),
i
(
"
c5f6
"
),
i
(
"
d02c
"
)),
V
=
i
(
"
2ef0
"
),
F
=
i
.
n
(
V
);
function
L
(
e
,
t
){
var
i
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
O
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
i
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
L
(
Object
(
i
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"
a
"
])(
e
,
t
,
i
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
i
)):
L
(
Object
(
i
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
i
,
t
))}))}
return
e
}
var
A
=
{
data
:
function
(){
return
{
changecommitid
:
""
,
flowid
:
112
,
module_id
:
""
,
module
:
""
,
grid
:{
xl
:
12
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
loading
:
!
1
,
formValidate
:{
flowid
:
112
,
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
:[]},
ruleValidate
:{
competitionbatch_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
report_code
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionsubitem_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
dept_id
:[{
required
:
!
0
,
type
:
"
array
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_level_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_method
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_type_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
way
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
specialty1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
classList
:[],
levelList
:[],
batchList
:[],
deptList
:[],
fileKey
:
1
}},
mounted
:
function
(){
this
.
FlowInit
(),
this
.
GetTypeBySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetBatchBySelect
(),
this
.
GetDeptSeletct
()},
props
:[
"
formId
"
,
"
runId
"
],
methods
:{
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
.
formValidate
.
validate
((
function
(
t
){
t
&&
c
[
"
publicConfirm
"
]((
function
(){
return
c
[
"
myEncapsulationFunction
"
]((
function
(){
return
I
[
"
postApiFlowApiFlowFlowReportSubmit
"
](
O
(
O
({},
e
.
formValidate
),{},{
flowid
:
e
.
flowid
,
runid
:
e
.
runId
})).
then
((
function
(
t
){
return
1
===
t
.
code
&&
(
e
.
$refs
.
formValidate
.
resetFields
(),
e
.
formValidate
.
files_list
=
[],
e
.
$emit
(
"
closeModal
"
,
""
),
e
.
$emit
(
"
getData
"
,
""
)),
t
}))}))}))}))},
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
i
){
var
n
,
o
,
r
,
s
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
F
.
a
.
cloneDeep
(
O
({},
e
.
formValidate
)),
o
=
n
.
files_list
,
delete
n
.
files_list
,
r
=
O
(
O
({
changecommitid
:
i
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
},
n
),{},{
files_list
:
o
}),
t
.
next
=
6
,
c
[
"
myEncapsulationFunction
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
abrupt
(
"
return
"
,
I
[
"
postApiCompetitionReportApiCompetitionReportReportSave
"
](
r
).
then
((
function
(
e
){
return
e
})).
finally
((
function
(){})));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
6
:
s
=
t
.
sent
,
1
===
s
.
code
&&
e
.
FlowInit
();
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
this
;
return
this
.
loading
=!
0
,
I
[
"
getApiFlowViewApiFlowViewGetFlowInfo
"
]({
runid
:
this
.
runId
}).
then
((
function
(
t
){
switch
(
t
.
response
.
changecommitid
){
case
null
:
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module
=
t
.
response
.
module
;
break
;
default
:
var
i
=
t
.
response
.
competition_report
;
i
.
level
=
Number
(
i
.
level
),
i
.
race_level
=
Number
(
i
.
race_level
),
e
.
formValidate
=
i
,
e
.
formValidate
.
dept_id
&&
(
e
.
formValidate
.
dept_id
=
e
.
formValidate
.
dept_id
.
split
(
"
;
"
).
filter
((
function
(
e
){
return
""
!==
e
}))),
e
.
formValidate
.
files_list
=
t
.
response
.
file_list
,
e
.
changecommitid
=
t
.
response
.
changecommitid
,
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module_id
=
t
.
response
.
module_id
,
e
.
module
=
t
.
response
.
module
;
break
}
return
e
.
loading
=!
1
,
t
})).
finally
((
function
(){
e
.
loading
=!
1
}))},
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
files_list
.
map
((
function
(
i
,
n
){
i
.
id
===
e
.
id
&&
t
.
formValidate
.
files_list
.
splice
(
n
,
1
)})),
this
.
fileKey
++
},
onError
:
function
(
e
,
t
,
i
){},
onsuccess
:
function
(
e
,
t
,
i
){},
onFormatError
:
function
(
e
,
t
,
i
){
this
.
$Message
.
info
(
"
文件类型错误!
"
)},
BeforeUpload
:
function
(
e
){
var
t
=
this
,
i
=
new
FormData
;
return
i
.
append
(
"
file
"
,
e
),
this
.
hooks
.
myEncapsulationFunction
((
function
(){
return
d
[
"
fileUpload
"
](
"
teacherEventApplication
"
,
i
).
then
((
function
(
e
){
return
t
.
formValidate
.
files_list
.
push
(
e
.
response
),
t
.
fileKey
++
,
e
}))}),
!
1
,
"
正在上传中...
"
),
!
1
},
GetBatchBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
e
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
e
.
formValidate
.
competition_method
}).
then
((
function
(
t
){
e
.
batchList
=
t
.
response
}))}))},
GetDeptSeletct
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetDeptSeletct
"
]();
case
2
:
i
=
t
.
sent
,
e
.
deptList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetLevelBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetLevelBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
levelList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetTypeBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
classList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}}},
j
=
A
,
$
=
(
i
(
"
45ca
"
),
Object
(
_
[
"
a
"
])(
j
,
x
,
k
,
!
1
,
null
,
"
cc7f2272
"
,
null
)),
T
=
$
.
exports
,
G
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,{
staticClass
:
"
con
"
},[
i
(
"
div
"
,{
staticClass
:
"
card
"
},[
i
(
"
h3
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
font-size
"
:
"
25px
"
,
height
:
"
60px
"
,
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
教师赛事调整
"
)]),
i
(
"
Form
"
,{
ref
:
"
formValidate
"
,
staticStyle
:{
position
:
"
relative
"
},
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
110
}},[
e
.
loading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
e
.
_e
(),
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competitionbatch_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionbatch_id
"
,
t
)},
expression
:
"
formValidate.competitionbatch_id
"
}},
e
.
_l
(
e
.
batchList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编号
"
,
prop
:
"
report_code
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
i
(
"
Select
"
,{
ref
:
"
select
"
,
staticClass
:
"
Select
"
,
attrs
:{
placeholder
:
e
.
formValidate
.
report_code
},
on
:{
"
on-open-change
"
:
e
.
onOpenChange
,
"
on-change
"
:
e
.
competitionSelectName
},
model
:{
value
:
e
.
formValidate
.
report_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
report_code
"
,
t
)},
expression
:
"
formValidate.report_code
"
}},[
i
(
"
Card
"
,{
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Input
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
placeholder
:
"
请输入编号或赛项名称、赛事名称搜索...
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
prepend
"
,
fn
:
function
(){
return
[
i
(
"
Icon
"
,{
attrs
:{
type
:
"
md-search
"
}})]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
contestItem
.
condition
,
callback
:
function
(
t
){
e
.
$set
(
e
.
contestItem
,
"
condition
"
,
t
)},
expression
:
"
contestItem.condition
"
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
key
:
e
.
tableKeys
,
attrs
:{
columns
:
e
.
columnsCompetitionItem
,
data
:
e
.
dataCompetitionItem
,
loading
:
e
.
contestItem
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
radio
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
input
"
,{
staticStyle
:{
width
:
"
30px
"
,
height
:
"
30px
"
,
cursor
:
"
pointer
"
,
"
accent-color
"
:
"
#1e93ff
"
},
attrs
:{
name
:
"
name
"
,
type
:
"
radio
"
},
domProps
:{
value
:
n
.
name
},
on
:{
click
:
function
(
t
){
return
e
.
tableRadio
(
n
)}}})]}}])}),
i
(
"
div
"
,{
staticClass
:
"
ivu-text-left ivu-mt
"
},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
i
(
"
Page
"
,{
attrs
:{
current
:
e
.
contestItem
.
pageIndex
,
"
page-size
"
:
e
.
contestItem
.
pageSize
,
total
:
e
.
contestItem
.
total
,
"
show-total
"
:
""
},
on
:{
"
update:current
"
:
function
(
t
){
return
e
.
$set
(
e
.
contestItem
,
"
pageIndex
"
,
t
)},
"
on-change
"
:
e
.
contestItemhandleChangePage
,
"
on-page-size-change
"
:
e
.
contestItemhandleChangePageSize
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
15%
"
,
"
margin-left
"
:
"
auto
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
saveTheEventSingleOption
}},[
e
.
_v
(
"
确定
\n
"
)])],
1
)])],
1
)],
1
)],
1
)])],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionname
"
,
t
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionsubitem_name
"
,
t
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
multiple
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
dept_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
dept_id
"
,
t
)},
expression
:
"
formValidate.dept_id
"
}},
e
.
_l
(
e
.
deptList
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
e
.
formValidate
.
sponsor
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sponsor
"
,
t
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_level_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_level_id
"
,
t
)},
expression
:
"
formValidate.competition_level_id
"
}},
e
.
_l
(
e
.
levelList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_type_id
"
,
t
)},
expression
:
"
formValidate.competition_type_id
"
}},
e
.
_l
(
e
.
classList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入相关专业
"
},
model
:{
value
:
e
.
formValidate
.
specialty
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
specialty
"
,
t
)},
expression
:
"
formValidate.specialty
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
key
:
e
.
fileKey
,
attrs
:{
label
:
"
附件上传
"
,
prop
:
"
specialty
"
}},[
i
(
"
Upload
"
,{
attrs
:{
"
before-upload
"
:
e
.
BeforeUpload
,
multiple
:
!
1
,
"
on-error
"
:
e
.
onError
,
"
on-format-error
"
:
e
.
onFormatError
,
"
on-success
"
:
e
.
onsuccess
,
"
show-upload-list
"
:
!
0
,
action
:
""
}},[
i
(
"
Button
"
,{
attrs
:{
icon
:
"
ios-cloud-upload-outline
"
}},[
e
.
_v
(
"
附件上传
"
)])],
1
),
e
.
_l
(
e
.
formValidate
.
files_list
,(
function
(
t
,
n
){
return
i
(
"
div
"
,{
key
:
n
+
"
1
"
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
i
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
i
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)}))],
2
)],
1
)],
1
)],
1
)],
1
),
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
justify-content
"
:
"
center
"
,
display
:
"
flex
"
}})])},
B
=
[];
function
D
(
e
,
t
){
var
i
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
M
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
i
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
D
(
Object
(
i
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"
a
"
])(
e
,
t
,
i
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
i
)):
D
(
Object
(
i
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
i
,
t
))}))}
return
e
}
var
P
=
{
data
:
function
(){
return
{
columnsCompetitionItem
:[{
slot
:
"
radio
"
},{
title
:
"
赛事编号
"
,
key
:
"
report_code
"
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
},{
title
:
"
赛项名称
"
,
key
:
"
competitionsubitem_name
"
}],
dataCompetitionItem
:[],
tableKeys
:
1
,
contestItem
:{
loading
:
!
1
,
condition
:
""
,
total
:
0
,
pageIndex
:
1
,
pageSize
:
5
,
competition_method
:
1
},
changecommitid
:
""
,
flowid
:
114
,
module_id
:
""
,
module
:
""
,
grid
:{
xl
:
12
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
loading
:
!
1
,
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
:[]},
ruleValidate
:{
competitionbatch_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
report_code
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionsubitem_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
dept_id
:[{
required
:
!
0
,
type
:
"
array
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_level_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_method
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_type_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
way
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
specialty1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
classList
:[],
levelList
:[],
batchList
:[],
deptList
:[],
fileKey
:
1
}},
watch
:{
"
contestItem.condition
"
:
function
(
e
,
t
){
var
i
=
this
;
clearTimeout
(
this
.
selectTimer
),
this
.
selectTimer
=
setTimeout
((
function
(){
i
.
contestItem
.
pageIndex
=
1
,
i
.
addAddressManually
()}),
400
)}},
mounted
:
function
(){
this
.
FlowInit
(),
this
.
GetTypeBySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetBatchBySelect
(),
this
.
GetDeptSeletct
()},
props
:[
"
formId
"
,
"
runId
"
],
methods
:{
addAddressManually
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
selectionOfEvents
=!
0
,
this
.
contestItem
.
loading
=!
0
,
e
.
next
=
4
,
new
Promise
((
function
(
e
){
c
[
"
getInitListRequest
"
]((
function
(){
var
i
=
{
condition
:
t
.
contestItem
.
condition
,
page_index
:
t
.
contestItem
.
pageIndex
,
page_size
:
t
.
contestItem
.
pageSize
,
competition_method
:
t
.
contestItem
.
competition_method
};
d
[
"
GetCodeList
"
](
i
).
then
((
function
(
i
){
t
.
contestItem
.
total
=
i
.
response
.
data_count
,
t
.
dataCompetitionItem
=
i
.
response
.
data
,
t
.
tableKeys
++
,
e
()}))}))}));
case
4
:
this
.
contestItem
.
loading
=!
1
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
saveTheEventSingleOption
:
function
(){
this
.
formValidate
=
M
(
M
(
M
({},
this
.
formValidate
),
this
.
selectTheNumberMedian
),{},{
competition_method
:
this
.
tabsName
}),
"
A类
"
!==
this
.
formValidate
.
competition_type_name
&&
(
this
.
formValidate
.
class_hour
=
String
(
0
)),
this
.
$refs
.
select
.
visible
=!
1
,
this
.
$refs
.
select1
.
visible
=!
1
,
this
.
selectionOfEvents
=!
1
},
contestItemhandleChangePage
:
function
(
e
){
this
.
contestItem
.
pageIndex
=
e
,
this
.
addAddressManually
(),
this
.
tableKeys
++
},
contestItemhandleChangePageSize
:
function
(
e
){
this
.
contestItem
.
pageSize
=
e
,
this
.
addAddressManually
(),
this
.
tableKeys
++
},
tableRadio
:
function
(
e
){
this
.
selectTheNumberMedian
=
e
,
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
onOpenChange
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
i
=
this
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
!
t
){
e
.
next
=
5
;
break
}
return
this
.
contestItem
.
loading
=!
0
,
e
.
next
=
4
,
new
Promise
((
function
(
e
){
c
[
"
getInitListRequest
"
]((
function
(){
var
t
=
{
condition
:
i
.
contestItem
.
condition
,
page_index
:
i
.
contestItem
.
pageIndex
,
page_size
:
i
.
contestItem
.
pageSize
,
competition_method
:
i
.
contestItem
.
competition_method
};
d
[
"
GetCodeList
"
](
t
).
then
((
function
(
t
){
i
.
contestItem
.
total
=
t
.
response
.
data_count
,
i
.
dataCompetitionItem
=
t
.
response
.
data
,
i
.
tableKeys
++
,
e
()}))}))}));
case
4
:
this
.
contestItem
.
loading
=!
1
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
competitionSelectName
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
i
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
ReportChangeById
"
]({
id
:
t
});
case
2
:
i
=
e
.
sent
,
this
.
formValidate
.
sponsor
=
i
.
response
.
sponsor
,
this
.
formValidate
.
level
=
Number
(
i
.
response
.
level
),
this
.
formValidate
.
file_name
=
i
.
response
.
file_name
,
this
.
formValidate
.
competitionreportid
=
i
.
response
.
competitionreportid
,
this
.
competitionnameValue
=
i
.
response
.
competitionname
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
.
formValidate
.
validate
((
function
(
t
){
t
&&
c
[
"
publicConfirm
"
]((
function
(){
return
c
[
"
myEncapsulationFunction
"
]((
function
(){
return
I
[
"
postApiFlowApiFlowFlowReportUpdateSubmit
"
](
M
(
M
({},
e
.
formValidate
),{},{
flowid
:
e
.
flowid
,
runid
:
e
.
runId
})).
then
((
function
(
t
){
return
1
===
t
.
code
&&
(
e
.
$refs
.
formValidate
.
resetFields
(),
e
.
formValidate
.
files_list
=
[],
e
.
$emit
(
"
closeModal
"
,
""
),
e
.
$emit
(
"
getData
"
,
""
)),
t
}))}))}))}))},
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
i
){
var
n
,
o
,
r
,
s
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
F
.
a
.
cloneDeep
(
M
(
M
({},
e
.
formValidate
),{},{
competition_method
:
1
})),
o
=
n
.
files_list
,
delete
n
.
files_list
,
r
=
M
(
M
({
changecommitid
:
i
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
},
n
),{},{
files_list
:
o
}),
t
.
next
=
6
,
c
[
"
myEncapsulationFunction
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
abrupt
(
"
return
"
,
I
[
"
postApiCompetitionReportApiCompetitionReportReportTempSave
"
](
r
).
then
((
function
(
e
){
return
e
})).
finally
((
function
(){})));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
6
:
s
=
t
.
sent
,
1
===
s
.
code
&&
e
.
FlowInit
();
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
this
;
return
this
.
loading
=!
0
,
I
[
"
getApiFlowViewApiFlowViewGetFlowInfo
"
]({
runid
:
this
.
runId
}).
then
((
function
(
t
){
switch
(
t
.
response
.
changecommitid
){
case
null
:
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module
=
t
.
response
.
module
;
break
;
default
:
var
i
=
t
.
response
.
report_temp_update
;
i
.
level
=
Number
(
i
.
level
),
i
.
race_level
=
Number
(
i
.
race_level
),
e
.
formValidate
=
M
(
M
({},
e
.
formValidate
),
i
),
e
.
formValidate
.
dept_id
&&
(
e
.
formValidate
.
dept_id
=
e
.
formValidate
.
dept_id
.
split
(
"
;
"
).
filter
((
function
(
e
){
return
""
!==
e
}))),
e
.
formValidate
.
files_list
=
t
.
response
.
file_list
,
e
.
changecommitid
=
t
.
response
.
changecommitid
,
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module_id
=
t
.
response
.
module_id
,
e
.
module
=
t
.
response
.
module
;
break
}
return
e
.
loading
=!
1
,
t
})).
finally
((
function
(){
e
.
loading
=!
1
}))},
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
files_list
.
map
((
function
(
i
,
n
){
i
.
id
===
e
.
id
&&
t
.
formValidate
.
files_list
.
splice
(
n
,
1
)})),
this
.
fileKey
++
},
onError
:
function
(
e
,
t
,
i
){},
onsuccess
:
function
(
e
,
t
,
i
){},
onFormatError
:
function
(
e
,
t
,
i
){
this
.
$Message
.
info
(
"
文件类型错误!
"
)},
BeforeUpload
:
function
(
e
){
var
t
=
this
,
i
=
new
FormData
;
return
i
.
append
(
"
file
"
,
e
),
this
.
hooks
.
myEncapsulationFunction
((
function
(){
return
d
[
"
fileUpload
"
](
"
teacherEventApplication
"
,
i
).
then
((
function
(
e
){
return
t
.
formValidate
.
files_list
.
push
(
e
.
response
),
t
.
fileKey
++
,
e
}))}),
!
1
,
"
正在上传中...
"
),
!
1
},
GetBatchBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
e
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
e
.
formValidate
.
competition_method
}).
then
((
function
(
t
){
e
.
batchList
=
t
.
response
}))}))},
GetDeptSeletct
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetDeptSeletct
"
]();
case
2
:
i
=
t
.
sent
,
e
.
deptList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetLevelBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetLevelBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
levelList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetTypeBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
classList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}}},
q
=
P
,
R
=
(
i
(
"
a48d
"
),
Object
(
_
[
"
a
"
])(
q
,
G
,
B
,
!
1
,
null
,
"
1e6167cb
"
,
null
)),
E
=
R
.
exports
,
z
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,{
staticClass
:
"
con
"
},[
i
(
"
div
"
,{
staticClass
:
"
card
"
},[
i
(
"
h3
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
font-size
"
:
"
25px
"
,
height
:
"
60px
"
,
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
学生赛事申请
"
)]),
i
(
"
Form
"
,{
ref
:
"
formValidate
"
,
staticStyle
:{
position
:
"
relative
"
},
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
110
}},[
e
.
loading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
e
.
_e
(),
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competitionbatch_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionbatch_id
"
,
t
)},
expression
:
"
formValidate.competitionbatch_id
"
}},
e
.
_l
(
e
.
batchList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事编码
"
},
model
:{
value
:
e
.
formValidate
.
report_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
report_code
"
,
t
)},
expression
:
"
formValidate.report_code
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionname
"
,
t
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionsubitem_name
"
,
t
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
multiple
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
dept_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
dept_id
"
,
t
)},
expression
:
"
formValidate.dept_id
"
}},
e
.
_l
(
e
.
deptList
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
e
.
formValidate
.
sponsor
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sponsor
"
,
t
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_level_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_level_id
"
,
t
)},
expression
:
"
formValidate.competition_level_id
"
}},
e
.
_l
(
e
.
levelList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_type_id
"
,
t
)},
expression
:
"
formValidate.competition_type_id
"
}},
e
.
_l
(
e
.
classList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入相关专业
"
},
model
:{
value
:
e
.
formValidate
.
specialty
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
specialty
"
,
t
)},
expression
:
"
formValidate.specialty
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
key
:
e
.
fileKey
,
attrs
:{
label
:
"
附件上传
"
,
prop
:
"
specialty
"
}},[
i
(
"
Upload
"
,{
attrs
:{
"
before-upload
"
:
e
.
BeforeUpload
,
multiple
:
!
1
,
"
on-error
"
:
e
.
onError
,
"
on-format-error
"
:
e
.
onFormatError
,
"
on-success
"
:
e
.
onsuccess
,
"
show-upload-list
"
:
!
0
,
action
:
""
}},[
i
(
"
Button
"
,{
attrs
:{
icon
:
"
ios-cloud-upload-outline
"
}},[
e
.
_v
(
"
附件上传
"
)])],
1
),
e
.
_l
(
e
.
formValidate
.
files_list
,(
function
(
t
,
n
){
return
i
(
"
div
"
,{
key
:
n
+
"
1
"
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
i
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
i
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)}))],
2
)],
1
)],
1
)],
1
)],
1
)])},
K
=
[];
function
N
(
e
,
t
){
var
i
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
W
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
i
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
N
(
Object
(
i
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"
a
"
])(
e
,
t
,
i
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
i
)):
N
(
Object
(
i
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
i
,
t
))}))}
return
e
}
var
U
=
{
data
:
function
(){
return
{
changecommitid
:
""
,
flowid
:
101
,
module_id
:
""
,
module
:
""
,
grid
:{
xl
:
12
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
loading
:
!
1
,
formValidate
:{
flowid
:
101
,
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
:[]},
ruleValidate
:{
competitionbatch_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
report_code
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionsubitem_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
dept_id
:[{
required
:
!
0
,
type
:
"
array
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_level_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_method
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_type_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
way
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
specialty1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
classList
:[],
levelList
:[],
batchList
:[],
deptList
:[],
fileKey
:
1
}},
mounted
:
function
(){
console
.
log
(
"
🚀formId🚀🚀,
"
,
this
.
formId
,
this
.
runId
),
this
.
FlowInit
(),
this
.
GetTypeBySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetBatchBySelect
(),
this
.
GetDeptSeletct
()},
props
:[
"
formId
"
,
"
runId
"
],
methods
:{
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
.
formValidate
.
validate
((
function
(
t
){
t
&&
c
[
"
publicConfirm
"
]((
function
(){
return
c
[
"
myEncapsulationFunction
"
]((
function
(){
return
I
[
"
postApiFlowApiFlowFlowReportSubmit
"
](
W
(
W
({},
e
.
formValidate
),{},{
flowid
:
e
.
flowid
,
runid
:
e
.
runId
})).
then
((
function
(
t
){
return
1
===
t
.
code
&&
(
e
.
$refs
.
formValidate
.
resetFields
(),
e
.
formValidate
.
files_list
=
[],
e
.
$emit
(
"
closeModal
"
,
""
),
e
.
$emit
(
"
getData
"
,
""
)),
t
}))}))}))}))},
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
i
){
var
n
,
o
,
r
,
s
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
F
.
a
.
cloneDeep
(
W
({},
e
.
formValidate
)),
o
=
n
.
files_list
,
delete
n
.
files_list
,
r
=
W
(
W
({
changecommitid
:
i
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
},
n
),{},{
files_list
:
o
}),
t
.
next
=
6
,
c
[
"
myEncapsulationFunction
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
abrupt
(
"
return
"
,
I
[
"
postApiCompetitionReportApiCompetitionReportReportSave
"
](
r
).
then
((
function
(
e
){
return
e
})).
finally
((
function
(){})));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
6
:
s
=
t
.
sent
,
1
===
s
.
code
&&
e
.
FlowInit
();
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
this
;
return
this
.
loading
=!
0
,
I
[
"
getApiFlowViewApiFlowViewGetFlowInfo
"
]({
runid
:
this
.
runId
}).
then
((
function
(
t
){
switch
(
t
.
response
.
changecommitid
){
case
null
:
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module
=
t
.
response
.
module
;
break
;
default
:
var
i
=
t
.
response
.
competition_report
;
i
.
level
=
Number
(
i
.
level
),
i
.
race_level
=
Number
(
i
.
race_level
),
e
.
formValidate
=
i
,
e
.
formValidate
.
dept_id
&&
(
e
.
formValidate
.
dept_id
=
e
.
formValidate
.
dept_id
.
split
(
"
;
"
).
filter
((
function
(
e
){
return
""
!==
e
}))),
e
.
formValidate
.
files_list
=
t
.
response
.
file_list
,
e
.
changecommitid
=
t
.
response
.
changecommitid
,
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module_id
=
t
.
response
.
module_id
,
e
.
module
=
t
.
response
.
module
;
break
}
return
e
.
loading
=!
1
,
t
})).
finally
((
function
(){
e
.
loading
=!
1
}))},
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
files_list
.
map
((
function
(
i
,
n
){
i
.
id
===
e
.
id
&&
t
.
formValidate
.
files_list
.
splice
(
n
,
1
)})),
this
.
fileKey
++
},
onError
:
function
(
e
,
t
,
i
){},
onsuccess
:
function
(
e
,
t
,
i
){},
onFormatError
:
function
(
e
,
t
,
i
){
this
.
$Message
.
info
(
"
文件类型错误!
"
)},
BeforeUpload
:
function
(
e
){
var
t
=
this
,
i
=
new
FormData
;
return
i
.
append
(
"
file
"
,
e
),
this
.
hooks
.
myEncapsulationFunction
((
function
(){
return
d
[
"
fileUpload
"
](
"
studentEventApplication
"
,
i
).
then
((
function
(
e
){
return
t
.
formValidate
.
files_list
.
push
(
e
.
response
),
t
.
fileKey
++
,
e
}))}),
!
1
,
"
正在上传中...
"
),
!
1
},
GetBatchBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
e
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
e
.
formValidate
.
competition_method
}).
then
((
function
(
t
){
e
.
batchList
=
t
.
response
}))}))},
GetDeptSeletct
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetDeptSeletct
"
]();
case
2
:
i
=
t
.
sent
,
e
.
deptList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetLevelBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetLevelBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
levelList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetTypeBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
classList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}}},
J
=
U
,
Q
=
(
i
(
"
3fcf
"
),
Object
(
_
[
"
a
"
])(
J
,
z
,
K
,
!
1
,
null
,
"
7907c181
"
,
null
)),
Y
=
Q
.
exports
,
H
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,{
staticClass
:
"
con
"
},[
i
(
"
div
"
,{
staticClass
:
"
card
"
},[
i
(
"
h3
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
font-size
"
:
"
25px
"
,
height
:
"
60px
"
,
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
学生赛事调整
"
)]),
i
(
"
Form
"
,{
ref
:
"
formValidate
"
,
staticStyle
:{
position
:
"
relative
"
},
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
110
}},[
e
.
loading
?
i
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
e
.
_e
(),
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competitionbatch_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionbatch_id
"
,
t
)},
expression
:
"
formValidate.competitionbatch_id
"
}},
e
.
_l
(
e
.
batchList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编号
"
,
prop
:
"
report_code
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
i
(
"
Select
"
,{
ref
:
"
select
"
,
staticClass
:
"
Select
"
,
attrs
:{
placeholder
:
e
.
formValidate
.
report_code
},
on
:{
"
on-open-change
"
:
e
.
onOpenChange
,
"
on-change
"
:
e
.
competitionSelectName
},
model
:{
value
:
e
.
formValidate
.
report_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
report_code
"
,
t
)},
expression
:
"
formValidate.report_code
"
}},[
i
(
"
Card
"
,{
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Input
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
placeholder
:
"
请输入编号或赛项名称、赛事名称搜索...
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
prepend
"
,
fn
:
function
(){
return
[
i
(
"
Icon
"
,{
attrs
:{
type
:
"
md-search
"
}})]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
contestItem
.
condition
,
callback
:
function
(
t
){
e
.
$set
(
e
.
contestItem
,
"
condition
"
,
t
)},
expression
:
"
contestItem.condition
"
}})],
1
)]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
key
:
e
.
tableKeys
,
attrs
:{
columns
:
e
.
columnsCompetitionItem
,
data
:
e
.
dataCompetitionItem
,
loading
:
e
.
contestItem
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
radio
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
input
"
,{
staticStyle
:{
width
:
"
30px
"
,
height
:
"
30px
"
,
cursor
:
"
pointer
"
,
"
accent-color
"
:
"
#1e93ff
"
},
attrs
:{
name
:
"
name
"
,
type
:
"
radio
"
},
domProps
:{
value
:
n
.
name
},
on
:{
click
:
function
(
t
){
return
e
.
tableRadio
(
n
)}}})]}}])}),
i
(
"
div
"
,{
staticClass
:
"
ivu-text-left ivu-mt
"
},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
i
(
"
Page
"
,{
attrs
:{
current
:
e
.
contestItem
.
pageIndex
,
"
page-size
"
:
e
.
contestItem
.
pageSize
,
total
:
e
.
contestItem
.
total
,
"
show-total
"
:
""
},
on
:{
"
update:current
"
:
function
(
t
){
return
e
.
$set
(
e
.
contestItem
,
"
pageIndex
"
,
t
)},
"
on-change
"
:
e
.
contestItemhandleChangePage
,
"
on-page-size-change
"
:
e
.
contestItemhandleChangePageSize
}}),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
15%
"
,
"
margin-left
"
:
"
auto
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
saveTheEventSingleOption
}},[
e
.
_v
(
"
确定
\n
"
)])],
1
)])],
1
)],
1
)],
1
)])],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionname
"
,
t
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionsubitem_name
"
,
t
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
multiple
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
dept_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
dept_id
"
,
t
)},
expression
:
"
formValidate.dept_id
"
}},
e
.
_l
(
e
.
deptList
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
e
.
formValidate
.
sponsor
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sponsor
"
,
t
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_level_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_level_id
"
,
t
)},
expression
:
"
formValidate.competition_level_id
"
}},
e
.
_l
(
e
.
levelList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
formValidate
.
competition_type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_type_id
"
,
t
)},
expression
:
"
formValidate.competition_type_id
"
}},
e
.
_l
(
e
.
classList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
i
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入相关专业
"
},
model
:{
value
:
e
.
formValidate
.
specialty
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
specialty
"
,
t
)},
expression
:
"
formValidate.specialty
"
}})],
1
)],
1
),
i
(
"
Col
"
,
e
.
_b
({},
"
Col
"
,
e
.
grid
,
!
1
),[
i
(
"
FormItem
"
,{
key
:
e
.
fileKey
,
attrs
:{
label
:
"
附件上传
"
,
prop
:
"
specialty
"
}},[
i
(
"
Upload
"
,{
attrs
:{
"
before-upload
"
:
e
.
BeforeUpload
,
multiple
:
!
1
,
"
on-error
"
:
e
.
onError
,
"
on-format-error
"
:
e
.
onFormatError
,
"
on-success
"
:
e
.
onsuccess
,
"
show-upload-list
"
:
!
0
,
action
:
""
}},[
i
(
"
Button
"
,{
attrs
:{
icon
:
"
ios-cloud-upload-outline
"
}},[
e
.
_v
(
"
附件上传
"
)])],
1
),
e
.
_l
(
e
.
formValidate
.
files_list
,(
function
(
t
,
n
){
return
i
(
"
div
"
,{
key
:
n
+
"
1
"
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
i
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
i
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)}))],
2
)],
1
)],
1
)],
1
)],
1
),
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
justify-content
"
:
"
center
"
,
display
:
"
flex
"
}})])},
X
=
[];
function
Z
(
e
,
t
){
var
i
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
ee
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
i
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
Z
(
Object
(
i
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"
a
"
])(
e
,
t
,
i
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
i
)):
Z
(
Object
(
i
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
i
,
t
))}))}
return
e
}
var
te
=
{
data
:
function
(){
return
{
columnsCompetitionItem
:[{
slot
:
"
radio
"
},{
title
:
"
赛事编号
"
,
key
:
"
report_code
"
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
},{
title
:
"
赛项名称
"
,
key
:
"
competitionsubitem_name
"
}],
dataCompetitionItem
:[],
tableKeys
:
1
,
contestItem
:{
loading
:
!
1
,
condition
:
""
,
total
:
0
,
pageIndex
:
1
,
pageSize
:
5
,
competition_method
:
0
},
changecommitid
:
""
,
flowid
:
113
,
module_id
:
""
,
module
:
""
,
grid
:{
xl
:
12
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
loading
:
!
1
,
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
:[]},
ruleValidate
:{
competitionbatch_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
report_code
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionsubitem_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
dept_id
:[{
required
:
!
0
,
type
:
"
array
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_level_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_method
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_type_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
way
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
specialty1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
classList
:[],
levelList
:[],
batchList
:[],
deptList
:[],
fileKey
:
1
}},
watch
:{
"
contestItem.condition
"
:
function
(
e
,
t
){
var
i
=
this
;
clearTimeout
(
this
.
selectTimer
),
this
.
selectTimer
=
setTimeout
((
function
(){
i
.
contestItem
.
pageIndex
=
1
,
i
.
addAddressManually
()}),
400
)}},
mounted
:
function
(){
this
.
FlowInit
(),
this
.
GetTypeBySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetBatchBySelect
(),
this
.
GetDeptSeletct
()},
props
:[
"
formId
"
,
"
runId
"
],
methods
:{
addAddressManually
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
selectionOfEvents
=!
0
,
this
.
contestItem
.
loading
=!
0
,
e
.
next
=
4
,
new
Promise
((
function
(
e
){
c
[
"
getInitListRequest
"
]((
function
(){
var
i
=
{
condition
:
t
.
contestItem
.
condition
,
page_index
:
t
.
contestItem
.
pageIndex
,
page_size
:
t
.
contestItem
.
pageSize
,
competition_method
:
t
.
contestItem
.
competition_method
};
d
[
"
GetCodeList
"
](
i
).
then
((
function
(
i
){
t
.
contestItem
.
total
=
i
.
response
.
data_count
,
t
.
dataCompetitionItem
=
i
.
response
.
data
,
t
.
tableKeys
++
,
e
()}))}))}));
case
4
:
this
.
contestItem
.
loading
=!
1
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
saveTheEventSingleOption
:
function
(){
this
.
formValidate
=
ee
(
ee
(
ee
({},
this
.
formValidate
),
this
.
selectTheNumberMedian
),{},{
competition_method
:
this
.
tabsName
}),
"
A类
"
!==
this
.
formValidate
.
competition_type_name
&&
(
this
.
formValidate
.
class_hour
=
String
(
0
)),
this
.
$refs
.
select
.
visible
=!
1
,
this
.
$refs
.
select1
.
visible
=!
1
,
this
.
selectionOfEvents
=!
1
},
contestItemhandleChangePage
:
function
(
e
){
this
.
contestItem
.
pageIndex
=
e
,
this
.
addAddressManually
(),
this
.
tableKeys
++
},
contestItemhandleChangePageSize
:
function
(
e
){
this
.
contestItem
.
pageSize
=
e
,
this
.
addAddressManually
(),
this
.
tableKeys
++
},
tableRadio
:
function
(
e
){
this
.
selectTheNumberMedian
=
e
,
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
onOpenChange
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
i
=
this
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
!
t
){
e
.
next
=
5
;
break
}
return
this
.
contestItem
.
loading
=!
0
,
e
.
next
=
4
,
new
Promise
((
function
(
e
){
c
[
"
getInitListRequest
"
]((
function
(){
var
t
=
{
condition
:
i
.
contestItem
.
condition
,
page_index
:
i
.
contestItem
.
pageIndex
,
page_size
:
i
.
contestItem
.
pageSize
,
competition_method
:
i
.
contestItem
.
competition_method
};
d
[
"
GetCodeList
"
](
t
).
then
((
function
(
t
){
i
.
contestItem
.
total
=
t
.
response
.
data_count
,
i
.
dataCompetitionItem
=
t
.
response
.
data
,
i
.
tableKeys
++
,
e
()}))}))}));
case
4
:
this
.
contestItem
.
loading
=!
1
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
competitionSelectName
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
i
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
ReportChangeById
"
]({
id
:
t
});
case
2
:
i
=
e
.
sent
,
this
.
formValidate
.
sponsor
=
i
.
response
.
sponsor
,
this
.
formValidate
.
level
=
Number
(
i
.
response
.
level
),
this
.
formValidate
.
file_name
=
i
.
response
.
file_name
,
this
.
formValidate
.
competitionreportid
=
i
.
response
.
competitionreportid
,
this
.
competitionnameValue
=
i
.
response
.
competitionname
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
.
formValidate
.
validate
((
function
(
t
){
t
&&
c
[
"
publicConfirm
"
]((
function
(){
return
c
[
"
myEncapsulationFunction
"
]((
function
(){
return
I
[
"
postApiFlowApiFlowFlowReportUpdateSubmit
"
](
ee
(
ee
({},
e
.
formValidate
),{},{
flowid
:
e
.
flowid
,
runid
:
e
.
runId
})).
then
((
function
(
t
){
return
1
===
t
.
code
&&
(
e
.
$refs
.
formValidate
.
resetFields
(),
e
.
formValidate
.
files_list
=
[],
e
.
$emit
(
"
closeModal
"
,
""
),
e
.
$emit
(
"
getData
"
,
""
)),
t
}))}))}))}))},
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
i
){
var
n
,
o
,
r
,
s
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
F
.
a
.
cloneDeep
(
ee
(
ee
({},
e
.
formValidate
),{},{
competition_method
:
0
})),
o
=
n
.
files_list
,
delete
n
.
files_list
,
r
=
ee
(
ee
({
changecommitid
:
i
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
},
n
),{},{
files_list
:
o
}),
t
.
next
=
6
,
c
[
"
myEncapsulationFunction
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
abrupt
(
"
return
"
,
I
[
"
postApiCompetitionReportApiCompetitionReportReportTempSave
"
](
r
).
then
((
function
(
e
){
return
e
})).
finally
((
function
(){})));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
6
:
s
=
t
.
sent
,
1
===
s
.
code
&&
e
.
FlowInit
();
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
this
;
return
this
.
loading
=!
0
,
I
[
"
getApiFlowViewApiFlowViewGetFlowInfo
"
]({
runid
:
this
.
runId
}).
then
((
function
(
t
){
switch
(
t
.
response
.
changecommitid
){
case
null
:
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module
=
t
.
response
.
module
;
break
;
default
:
var
i
=
t
.
response
.
report_temp_update
;
i
.
level
=
Number
(
i
.
level
),
i
.
race_level
=
Number
(
i
.
race_level
),
e
.
formValidate
=
ee
(
ee
({},
e
.
formValidate
),
i
),
e
.
formValidate
.
dept_id
&&
(
e
.
formValidate
.
dept_id
=
e
.
formValidate
.
dept_id
.
split
(
"
;
"
).
filter
((
function
(
e
){
return
""
!==
e
}))),
e
.
formValidate
.
files_list
=
t
.
response
.
file_list
,
e
.
changecommitid
=
t
.
response
.
changecommitid
,
e
.
flowid
=
t
.
response
.
flowid
,
e
.
module_id
=
t
.
response
.
module_id
,
e
.
module
=
t
.
response
.
module
;
break
}
return
e
.
loading
=!
1
,
t
})).
finally
((
function
(){
e
.
loading
=!
1
}))},
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
files_list
.
map
((
function
(
i
,
n
){
i
.
id
===
e
.
id
&&
t
.
formValidate
.
files_list
.
splice
(
n
,
1
)})),
this
.
fileKey
++
},
onError
:
function
(
e
,
t
,
i
){},
onsuccess
:
function
(
e
,
t
,
i
){},
onFormatError
:
function
(
e
,
t
,
i
){
this
.
$Message
.
info
(
"
文件类型错误!
"
)},
BeforeUpload
:
function
(
e
){
var
t
=
this
,
i
=
new
FormData
;
return
i
.
append
(
"
file
"
,
e
),
this
.
hooks
.
myEncapsulationFunction
((
function
(){
return
d
[
"
fileUpload
"
](
"
teacherEventApplication
"
,
i
).
then
((
function
(
e
){
return
t
.
formValidate
.
files_list
.
push
(
e
.
response
),
t
.
fileKey
++
,
e
}))}),
!
1
,
"
正在上传中...
"
),
!
1
},
GetBatchBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
e
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
e
.
formValidate
.
competition_method
}).
then
((
function
(
t
){
e
.
batchList
=
t
.
response
}))}))},
GetDeptSeletct
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetDeptSeletct
"
]();
case
2
:
i
=
t
.
sent
,
e
.
deptList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetLevelBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetLevelBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
levelList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
d
[
"
GetTypeBySelect
"
]();
case
2
:
i
=
t
.
sent
,
e
.
classList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}}},
ie
=
te
,
ne
=
(
i
(
"
511e
"
),
Object
(
_
[
"
a
"
])(
ie
,
H
,
X
,
!
1
,
null
,
"
b9f5d926
"
,
null
)),
oe
=
ne
.
exports
;
function
ae
(
e
,
t
){
var
i
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
i
.
push
.
apply
(
i
,
n
)}
return
i
}
function
re
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
i
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
ae
(
Object
(
i
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"
a
"
])(
e
,
t
,
i
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
i
)):
ae
(
Object
(
i
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
i
,
t
))}))}
return
e
}
var
se
=
{
name
:
"
list
"
,
computed
:{
publicState
:
function
(){
return
p
[
"
a
"
]}},
components
:{
updateCertificateModal
:
S
[
"
a
"
],
UpdateSignModal
:
b
[
"
a
"
],
UpdateSignModalStudentSIgn
:
v
[
"
a
"
],
aaa
:
g
,
updateRewardForTeachersAndStudents
:
C
[
"
a
"
],
teacherCompetitionApplication
:
T
,
teacherCompetitionAdjustment
:
E
,
studentCompetitionApplication
:
Y
,
studentCompetitionAdjustment
:
oe
},
data
:
function
(){
var
e
=
this
;
return
{
eventApplication
:{
teacher
:{
add
:{
show
:
!
1
,
runId
:
""
,
form_id
:
""
},
edit
:{
show
:
!
1
,
runId
:
""
,
form_id
:
""
}},
student
:{
add
:{
show
:
!
1
,
runId
:
""
,
form_id
:
""
},
edit
:{
show
:
!
1
,
runId
:
""
,
form_id
:
""
}}},
sign
:{
runId
:
""
,
signId
:
""
,
updateSignModal
:
!
1
,
signFlag
:
""
},
report
:{
runId
:
""
,
form_id
:
""
,
CertificateModal
:
!
1
},
timer
:
""
,
rewards
:{
isAuth1
:
""
,
runId
:
""
,
form_id
:
""
,
CertificateModal
:
!
1
},
transferParams
:{},
searchCondList
:[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
eventApplication
"
,
name
:
"
申请类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师赛事申请
"
,
value
:
112
},{
label
:
"
教师赛事调整
"
,
value
:
114
},{
label
:
"
学生赛事调整
"
,
value
:
101
},{
label
:
"
学生赛事调整
"
,
value
:
113
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]}],
flowSelect
:[],
ddd
:
""
,
ccc
:
""
,
bbb
:
""
,
aaa
:
""
,
flowStateArray
:[{
name
:
"
草稿
"
,
value
:
0
},{
name
:
"
运行中
"
,
value
:
1
},{
name
:
"
已结束
"
,
value
:
2
}],
cancelKey
:
1
,
formData
:{
name
:
""
,
url
:
""
,
owner
:
""
,
type
:
""
,
approver
:
""
,
date
:
""
,
desc
:
""
},
approvalDrawer
:
!
1
,
formValidate
:{
runid
:
""
,
title
:
""
,
flow_name
:
""
,
flow_id
:
""
,
status
:
0
,
action_type
:
0
,
starter
:
""
,
starter_name
:
""
,
start_time
:
""
,
current_node_id
:
""
,
current_node_name
:
""
,
todo
:
""
,
partcipant
:
""
,
modifyby
:
""
,
modifytime
:
""
,
form_id
:
""
,
form_name
:
""
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
title
"
,
show
:
!
0
,
minWidth
:
300
},{
title
:
"
流程名称
"
,
key
:
"
flow_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
流程状态
"
,
slot
:
"
status
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作类型
"
,
slot
:
"
action_type
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
当前节点名称
"
,
key
:
"
current_node_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
当前节点待办人员
"
,
slot
:
"
todo
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
参与人
"
,
slot
:
"
partcipant
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发起人
"
,
key
:
"
starter
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
发起人姓名
"
,
key
:
"
starter_name
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
发起时间
"
,
key
:
"
start_time
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
minWidth
:
240
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
,
rewardType
:
""
,
declarationType
:
""
},
strategy
:{
"
/flow-myFlowList-rewardForTeachersAndStudents
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
init
.
rewardType
=
107
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-WorkloadDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
109
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-TeacherBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-SubsidyDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
108
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-StudentBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
106
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-Certificate
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
103
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
102
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-eventCatalogue
"
:
function
(){
e
.
initSearchCondition
(),
e
.
$route
.
query
.
transferParams
||
(
e
.
init
.
flow_id1
=
101
),
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
)}},
strategyReset
:{
"
/flow-myFlowList-rewardForTeachersAndStudents
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
init
.
rewardType
=
107
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-WorkloadDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
109
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-TeacherBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
107
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-SubsidyDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
108
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-StudentBonusDeclare
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
106
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-Certificate
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
103
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
102
,
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
),
e
.
deleteSearchCondition
(
"
eventApplication
"
)},
"
/flow-myFlowList-eventCatalogue
"
:
function
(){
e
.
initSearchCondition
(),
e
.
init
.
flow_id1
=
101
,
e
.
deleteSearchCondition
(
"
flow_id
"
),
e
.
deleteSearchCondition
(
"
rewardType
"
),
e
.
deleteSearchCondition
(
"
declarationType
"
)}}}},
created
:
function
(){},
watch
:{
$route
:
function
(
e
,
t
){
this
.
init
=
{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
,
rewardType
:
""
,
declarationType
:
""
},
this
.
strategy
[
e
.
path
](),
this
.
$refs
.
search
.
resetBt
()}},
mounted
:
function
(){
this
.
routerCarryConditionQuery
(),
this
.
strategy
[
this
.
$route
.
path
](),
this
.
GetFlowTaskList
(),
this
.
GetFlowIdSelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
()},
methods
:{
handleSubmitReward
:
function
(){
var
e
=
this
;
clearTimeout
(
this
.
timer
),
this
.
timer
=
setTimeout
((
function
(){
e
.
$refs
.
updateRewardForTeachersAndStudents
.
handleSubmit
()}),
500
)},
saveReward
:
function
(){
this
.
$refs
.
updateRewardForTeachersAndStudents
.
save
()},
handleResetReward
:
function
(){
this
.
$refs
.
updateRewardForTeachersAndStudents
.
handleReset
()},
isAuth
:
function
(
e
){
this
.
rewards
.
isAuth1
=
e
},
closeModal
:
function
(){
this
.
report
.
CertificateModal
=!
1
,
this
.
rewards
.
CertificateModal
=!
1
},
handleSubmit
:
function
(){
this
.
$refs
.
updateCertificateModal
.
handleSubmit
()},
save
:
function
(){
this
.
$refs
.
updateCertificateModal
.
save
()},
handleReset
:
function
(){
this
.
$refs
.
updateCertificateModal
.
handleReset
()},
resultValue
:
function
(
e
){
this
.
sign
.
updateSignModal
=
e
,
this
.
GetFlowTaskList
()},
reinitiateTheProcess
:
function
(
e
){
var
t
=
this
,
i
=
{
"
/flow-myFlowList-rewardForTeachersAndStudents
"
:
function
(){
t
.
rewards
.
runId
=
e
.
runid
,
t
.
rewards
.
form_id
=
e
.
form_id
,
t
.
rewards
.
CertificateModal
=!
0
},
"
/flow-myFlowList-Certificate
"
:
function
(){
t
.
report
.
form_id
=
e
.
form_id
,
t
.
report
.
CertificateModal
=!
0
,
t
.
report
.
runId
=
e
.
runid
},
"
/flow-myFlowList
"
:
function
(){
c
[
"
myEncapsulationFunction
"
]((
function
(){
return
w
[
"
c
"
]({
id
:
e
.
form_id
}).
then
((
function
(
i
){
return
t
.
sign
.
signId
=
e
.
form_id
,
t
.
sign
.
signFlag
=
i
.
response
.
competition_method
,
t
.
sign
.
runId
=
e
.
runid
,
t
.
sign
.
updateSignModal
=!
0
,
i
}))}),
!
0
,
"
正在提交中...
"
)},
"
/flow-myFlowList-eventCatalogue
"
:
function
(){
var
i
=
{
101
:
function
(){
t
.
eventApplication
.
student
.
add
.
form_id
=
e
.
form_id
,
t
.
eventApplication
.
student
.
add
.
runId
=
e
.
runid
,
t
.
eventApplication
.
student
.
add
.
show
=!
0
},
113
:
function
(){
t
.
eventApplication
.
student
.
edit
.
form_id
=
e
.
form_id
,
t
.
eventApplication
.
student
.
edit
.
runId
=
e
.
runid
,
t
.
eventApplication
.
student
.
edit
.
show
=!
0
},
112
:
function
(){
t
.
eventApplication
.
teacher
.
add
.
form_id
=
e
.
form_id
,
t
.
eventApplication
.
teacher
.
add
.
runId
=
e
.
runid
,
t
.
eventApplication
.
teacher
.
add
.
show
=!
0
},
114
:
function
(){
t
.
eventApplication
.
teacher
.
edit
.
form_id
=
e
.
form_id
,
t
.
eventApplication
.
teacher
.
edit
.
runId
=
e
.
runid
,
t
.
eventApplication
.
teacher
.
edit
.
show
=!
0
}};
i
[
t
.
init
.
flow_id1
]()}};
i
[
this
.
$route
.
path
]()},
routerCarryConditionQuery
:
function
(){
this
.
$route
.
query
.
transferParams
?(
this
.
init
=
re
(
re
(
re
({},
this
.
init
),
JSON
.
parse
(
this
.
$route
.
query
.
transferParams
)),{},{
flow_id1
:
JSON
.
parse
(
this
.
$route
.
query
.
transferParams
).
flow_id
}),
this
.
$refs
.
search
.
searchCondObj
=
this
.
init
,
this
.
cssearch
(
this
.
init
)):
console
.
log
(
"
🚀🚀没有查询参数transferParams🚀,
"
)},
GetLevelBySelect
:
function
(){
var
e
=
this
;
w
[
"
a
"
]().
then
((
function
(
t
){
e
.
searchCondList
.
forEach
((
function
(
e
){
"
competition_level_id
"
===
e
.
id
&&
(
e
.
optList
=
t
.
response
.
map
((
function
(
e
){
return
{
label
:
e
.
name
,
value
:
e
.
id
}})))}))}))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
w
[
"
b
"
]().
then
((
function
(
t
){
e
.
searchCondList
.
forEach
((
function
(
e
){
"
competition_type_id
"
===
e
.
id
&&
(
e
.
optList
=
t
.
response
.
map
((
function
(
e
,
t
){
return
{
value
:
e
.
id
,
label
:
e
.
name
}})))}))}))},
deleteSearchCondition
:
function
(
e
){
var
t
=
this
;
this
.
searchCondList
.
forEach
((
function
(
i
,
n
){
i
.
id
===
e
&&
t
.
searchCondList
.
splice
(
n
,
1
)}))},
initSearchCondition
:
function
(){
this
.
searchCondList
=
[{
id
:
"
key_name
"
,
name
:
"
姓名或工号
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
flow_name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
competitionsubitem_name
"
,
name
:
"
赛项名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
sponsor
"
,
name
:
"
主办单位
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
status
"
,
name
:
"
流程状态
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
草稿
"
,
value
:
0
},{
label
:
"
运行中
"
,
value
:
1
},{
label
:
"
已结束
"
,
value
:
2
}]},{
id
:
"
action_type
"
,
name
:
"
操作类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
value
:
1
,
label
:
"
发送
"
},{
value
:
2
,
label
:
"
退回
"
},{
value
:
4
,
label
:
"
结束
"
},{
value
:
5
,
label
:
"
取消
"
},{
value
:
6
,
label
:
"
退回到发起人
"
}]},{
id
:
"
flow_id
"
,
name
:
"
流程类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生流程
"
,
value
:
102
},{
label
:
"
教师流程
"
,
value
:
110
}]},{
id
:
"
rewardType
"
,
name
:
"
奖励类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师奖励
"
,
value
:
107
},{
label
:
"
学生奖励
"
,
value
:
106
}]},{
id
:
"
eventApplication
"
,
name
:
"
申请类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师赛事申请
"
,
value
:
112
},{
label
:
"
教师赛事调整
"
,
value
:
114
},{
label
:
"
学生赛事申请
"
,
value
:
101
},{
label
:
"
学生赛事调整
"
,
value
:
113
}]},{
id
:
"
declarationType
"
,
name
:
"
申报类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
教师申报
"
,
value
:
111
},{
label
:
"
学生申报
"
,
value
:
103
}]},{
id
:
"
way
"
,
name
:
"
竞赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
不限
"
,
value
:
2
}]},{
id
:
"
competition_level_id
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
e
){
return
e
.
id
})).
indexOf
(
"
competition_level_id
"
)].
optList
},{
id
:
"
competition_type_id
"
,
name
:
"
赛事类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:
this
.
searchCondList
[
this
.
searchCondList
.
map
((
function
(
e
){
return
e
.
id
})).
indexOf
(
"
competition_type_id
"
)].
optList
}]},
cssearch
:
function
(
e
){
e
.
rewardType
?(
this
.
init
=
re
(
re
(
re
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
rewardType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
e
.
declarationType
?(
this
.
init
=
re
(
re
(
re
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
declarationType
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):
e
.
eventApplication
?(
this
.
init
=
re
(
re
(
re
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
eventApplication
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
):(
this
.
strategy
[
this
.
$route
.
path
](),
this
.
init
=
re
(
re
(
re
({},
this
.
init
),
e
),{},{
flow_id
:
e
.
flow_id
?
e
.
flow_id
:
this
.
init
.
flow_id1
}),
this
.
init
.
flow_id1
=
this
.
init
.
flow_id
),
this
.
transferParams
=
e
,
this
.
search
()},
csreset
:
function
(){
this
.
init
=
{
action_type
:
""
,
status
:
""
,
key_name
:
""
,
flow_name
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
,
competitionsubitem_name
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
sponsor
:
""
,
way
:
""
,
rewardType
:
""
,
declarationType
:
""
},
this
.
transferParams
=
this
.
init
,
this
.
strategyReset
[
this
.
$route
.
path
](),
this
.
initData
()},
getFlowId
:
function
(){
this
.
strategyReset
[
this
.
$route
.
path
]()},
initData
:
function
(){
this
.
getFlowId
(),
this
.
init
.
status1
=
this
.
init
.
status
=
""
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
=
""
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
=
""
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
=
""
,
this
.
GetFlowTaskList
()},
search
:
function
(){
this
.
init
.
status1
=
this
.
init
.
status
,
this
.
init
.
key_name1
=
this
.
init
.
key_name
,
this
.
init
.
action_type1
=
this
.
init
.
action_type
,
this
.
init
.
flow_name1
=
this
.
init
.
flow_name
,
this
.
GetFlowTaskList
()},
GetFlowIdSelect
:
function
(){
var
e
=
this
;
c
[
"
getInitListRequest
"
]((
function
(){
d
[
"
GetFlowIdSelect
"
]().
then
((
function
(
t
){
t
.
response
.
map
((
function
(
e
,
i
){
"
102
"
===
e
.
id
&&
(
t
.
response
.
unshift
(
e
),
t
.
response
.
splice
(
i
+
1
,
1
))})),
e
.
flowSelect
=
t
.
response
}))}))},
GetFlowTaskList
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
t
,
i
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
flow_id
:
this
.
init
.
flow_id1
,
key_name
:
this
.
init
.
key_name1
,
action_type
:
this
.
init
.
action_type1
,
status
:
this
.
init
.
status1
,
flow_name
:
this
.
init
.
flow_name1
,
competitionsubitem_name
:
this
.
init
.
competitionsubitem_name
,
competition_level_id
:
this
.
init
.
competition_level_id
,
competition_type_id
:
this
.
init
.
competition_type_id
,
sponsor
:
this
.
init
.
sponsor
,
way
:
this
.
init
.
way
},
e
.
next
=
4
,
d
[
"
GetMyFlowTaskList
"
](
t
);
case
4
:
i
=
e
.
sent
,
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
tableData
=
i
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
flowCancel
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
i
=
this
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
c
[
"
publicConfirm
"
](
Object
(
a
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
FlowCancel
"
]({
runid
:
t
.
runid
});
case
2
:
return
n
=
e
.
sent
,
i
.
cancelKey
++
,
c
[
"
publicMessage
"
](
n
),
e
.
next
=
7
,
i
.
GetFlowTaskList
();
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
approvalLisFun
:
function
(
e
){
this
.
$router
.
push
({
name
:
"
awaitDoneInformation
"
,
query
:{
runid
:
e
.
runid
,
form_name
:
e
.
form_name
,
flowInfo
:
"
流程详细信息
"
,
transferParams
:
JSON
.
stringify
(
re
(
re
({},
this
.
transferParams
),{},{
flow_id
:
this
.
init
.
flow_id1
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
})),
path
:
this
.
$route
.
path
}})},
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetFlowTaskList
()},
handleChangePageSize
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
GetFlowTaskList
()}}},
le
=
se
,
ce
=
(
i
(
"
bbca
"
),
Object
(
_
[
"
a
"
])(
le
,
n
,
o
,
!
1
,
null
,
null
,
null
));
t
[
"
default
"
]
=
ce
.
exports
},
edf6
:
function
(
e
,
t
,
i
){}}]);
\ No newline at end of file
dist/js/chunk-aaf3d210.788a7f1d.js
已删除
100644 → 0
浏览文件 @
d2fa94e5
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-b6497032.884ad94d.js
0 → 100644
浏览文件 @
7053bb4f
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-b6497032
"
],{
"
17e0
"
:
function
(
t
,
e
,
n
){},
"
21d3
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
(
"
17e0
"
)},
"
22d1
"
:
function
(
t
,
e
){
var
n
=
{};
n
=
"
object
"
===
typeof
wx
&&
"
function
"
===
typeof
wx
.
getSystemInfoSync
?{
browser
:{},
os
:{},
node
:
!
1
,
wxa
:
!
0
,
canvasSupported
:
!
0
,
svgSupported
:
!
1
,
touchEventsSupported
:
!
0
,
domSupported
:
!
1
}:
"
undefined
"
===
typeof
document
&&
"
undefined
"
!==
typeof
self
?{
browser
:{},
os
:{},
node
:
!
1
,
worker
:
!
0
,
canvasSupported
:
!
0
,
domSupported
:
!
1
}:
"
undefined
"
===
typeof
navigator
?{
browser
:{},
os
:{},
node
:
!
0
,
worker
:
!
1
,
canvasSupported
:
!
0
,
svgSupported
:
!
0
,
domSupported
:
!
1
}:
i
(
navigator
.
userAgent
);
var
a
=
n
;
function
i
(
t
){
var
e
=
{},
n
=
{},
a
=
t
.
match
(
/Firefox
\/([\d
.
]
+
)
/
),
i
=
t
.
match
(
/MSIE
\s([\d
.
]
+
)
/
)
||
t
.
match
(
/Trident
\/
.+
?
rv:
(([\d
.
]
+
))
/
),
r
=
t
.
match
(
/Edge
\/([\d
.
]
+
)
/
),
o
=
/micromessenger/i
.
test
(
t
);
return
a
&&
(
n
.
firefox
=!
0
,
n
.
version
=
a
[
1
]),
i
&&
(
n
.
ie
=!
0
,
n
.
version
=
i
[
1
]),
r
&&
(
n
.
edge
=!
0
,
n
.
version
=
r
[
1
]),
o
&&
(
n
.
weChat
=!
0
),{
browser
:
n
,
os
:
e
,
node
:
!
1
,
canvasSupported
:
!!
document
.
createElement
(
"
canvas
"
).
getContext
,
svgSupported
:
"
undefined
"
!==
typeof
SVGRect
,
touchEventsSupported
:
"
ontouchstart
"
in
window
&&!
n
.
ie
&&!
n
.
edge
,
pointerEventsSupported
:
"
onpointerdown
"
in
window
&&
(
n
.
edge
||
n
.
ie
&&
n
.
version
>=
11
),
domSupported
:
"
undefined
"
!==
typeof
document
}}
t
.
exports
=
a
},
"
386d
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
var
a
=
n
(
"
cb7c
"
),
i
=
n
(
"
83a1
"
),
r
=
n
(
"
5f1b
"
);
n
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
n
,
o
){
return
[
function
(
n
){
var
a
=
t
(
this
),
i
=
void
0
==
n
?
void
0
:
n
[
e
];
return
void
0
!==
i
?
i
.
call
(
n
,
a
):
new
RegExp
(
n
)[
e
](
String
(
a
))},
function
(
t
){
var
e
=
o
(
n
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
s
=
a
(
t
),
c
=
String
(
this
),
l
=
s
.
lastIndex
;
i
(
l
,
0
)
||
(
s
.
lastIndex
=
0
);
var
d
=
r
(
s
,
c
);
return
i
(
s
.
lastIndex
,
l
)
||
(
s
.
lastIndex
=
l
),
null
===
d
?
-
1
:
d
.
index
}]}))},
4944
:
function
(
t
,
e
,
n
){},
"
6d8b
"
:
function
(
t
,
e
){
var
n
=
{
"
[object Function]
"
:
1
,
"
[object RegExp]
"
:
1
,
"
[object Date]
"
:
1
,
"
[object Error]
"
:
1
,
"
[object CanvasGradient]
"
:
1
,
"
[object CanvasPattern]
"
:
1
,
"
[object Image]
"
:
1
,
"
[object Canvas]
"
:
1
},
a
=
{
"
[object Int8Array]
"
:
1
,
"
[object Uint8Array]
"
:
1
,
"
[object Uint8ClampedArray]
"
:
1
,
"
[object Int16Array]
"
:
1
,
"
[object Uint16Array]
"
:
1
,
"
[object Int32Array]
"
:
1
,
"
[object Uint32Array]
"
:
1
,
"
[object Float32Array]
"
:
1
,
"
[object Float64Array]
"
:
1
},
i
=
Object
.
prototype
.
toString
,
r
=
Array
.
prototype
,
o
=
r
.
forEach
,
s
=
r
.
filter
,
c
=
r
.
slice
,
l
=
r
.
map
,
d
=
r
.
reduce
,
u
=
{};
function
p
(
t
,
e
){
"
createCanvas
"
===
t
&&
(
y
=
null
),
u
[
t
]
=
e
}
function
m
(
t
){
if
(
null
==
t
||
"
object
"
!==
typeof
t
)
return
t
;
var
e
=
t
,
r
=
i
.
call
(
t
);
if
(
"
[object Array]
"
===
r
){
if
(
!
Y
(
t
)){
e
=
[];
for
(
var
o
=
0
,
s
=
t
.
length
;
o
<
s
;
o
++
)
e
[
o
]
=
m
(
t
[
o
])}}
else
if
(
a
[
r
]){
if
(
!
Y
(
t
)){
var
c
=
t
.
constructor
;
if
(
t
.
constructor
.
from
)
e
=
c
.
from
(
t
);
else
{
e
=
new
c
(
t
.
length
);
for
(
o
=
0
,
s
=
t
.
length
;
o
<
s
;
o
++
)
e
[
o
]
=
m
(
t
[
o
])}}}
else
if
(
!
n
[
r
]
&&!
Y
(
t
)
&&!
G
(
t
))
for
(
var
l
in
e
=
{},
t
)
t
.
hasOwnProperty
(
l
)
&&
(
e
[
l
]
=
m
(
t
[
l
]));
return
e
}
function
f
(
t
,
e
,
n
){
if
(
!
M
(
e
)
||!
M
(
t
))
return
n
?
m
(
e
):
t
;
for
(
var
a
in
e
)
if
(
e
.
hasOwnProperty
(
a
)){
var
i
=
t
[
a
],
r
=
e
[
a
];
!
M
(
r
)
||!
M
(
i
)
||
F
(
r
)
||
F
(
i
)
||
G
(
r
)
||
G
(
i
)
||
T
(
r
)
||
T
(
i
)
||
Y
(
r
)
||
Y
(
i
)?
!
n
&&
a
in
t
||
(
t
[
a
]
=
m
(
e
[
a
],
!
0
)):
f
(
i
,
r
,
n
)}
return
t
}
function
h
(
t
,
e
){
for
(
var
n
=
t
[
0
],
a
=
1
,
i
=
t
.
length
;
a
<
i
;
a
++
)
n
=
f
(
n
,
t
[
a
],
e
);
return
n
}
function
v
(
t
,
e
){
for
(
var
n
in
e
)
e
.
hasOwnProperty
(
n
)
&&
(
t
[
n
]
=
e
[
n
]);
return
t
}
function
g
(
t
,
e
,
n
){
for
(
var
a
in
e
)
e
.
hasOwnProperty
(
a
)
&&
(
n
?
null
!=
e
[
a
]:
null
==
t
[
a
])
&&
(
t
[
a
]
=
e
[
a
]);
return
t
}
var
y
,
b
=
function
(){
return
u
.
createCanvas
()};
function
_
(){
return
y
||
(
y
=
b
().
getContext
(
"
2d
"
)),
y
}
function
w
(
t
,
e
){
if
(
t
){
if
(
t
.
indexOf
)
return
t
.
indexOf
(
e
);
for
(
var
n
=
0
,
a
=
t
.
length
;
n
<
a
;
n
++
)
if
(
t
[
n
]
===
e
)
return
n
}
return
-
1
}
function
x
(
t
,
e
){
var
n
=
t
.
prototype
;
function
a
(){}
for
(
var
i
in
a
.
prototype
=
e
.
prototype
,
t
.
prototype
=
new
a
,
n
)
n
.
hasOwnProperty
(
i
)
&&
(
t
.
prototype
[
i
]
=
n
[
i
]);
t
.
prototype
.
constructor
=
t
,
t
.
superClass
=
e
}
function
k
(
t
,
e
,
n
){
t
=
"
prototype
"
in
t
?
t
.
prototype
:
t
,
e
=
"
prototype
"
in
e
?
e
.
prototype
:
e
,
g
(
t
,
e
,
n
)}
function
S
(
t
){
if
(
t
)
return
"
string
"
!==
typeof
t
&&
"
number
"
===
typeof
t
.
length
}
function
V
(
t
,
e
,
n
){
if
(
t
&&
e
)
if
(
t
.
forEach
&&
t
.
forEach
===
o
)
t
.
forEach
(
e
,
n
);
else
if
(
t
.
length
===+
t
.
length
)
for
(
var
a
=
0
,
i
=
t
.
length
;
a
<
i
;
a
++
)
e
.
call
(
n
,
t
[
a
],
a
,
t
);
else
for
(
var
r
in
t
)
t
.
hasOwnProperty
(
r
)
&&
e
.
call
(
n
,
t
[
r
],
r
,
t
)}
function
O
(
t
,
e
,
n
){
if
(
t
&&
e
){
if
(
t
.
map
&&
t
.
map
===
l
)
return
t
.
map
(
e
,
n
);
for
(
var
a
=
[],
i
=
0
,
r
=
t
.
length
;
i
<
r
;
i
++
)
a
.
push
(
e
.
call
(
n
,
t
[
i
],
i
,
t
));
return
a
}}
function
I
(
t
,
e
,
n
,
a
){
if
(
t
&&
e
){
if
(
t
.
reduce
&&
t
.
reduce
===
d
)
return
t
.
reduce
(
e
,
n
,
a
);
for
(
var
i
=
0
,
r
=
t
.
length
;
i
<
r
;
i
++
)
n
=
e
.
call
(
a
,
n
,
t
[
i
],
i
,
t
);
return
n
}}
function
C
(
t
,
e
,
n
){
if
(
t
&&
e
){
if
(
t
.
filter
&&
t
.
filter
===
s
)
return
t
.
filter
(
e
,
n
);
for
(
var
a
=
[],
i
=
0
,
r
=
t
.
length
;
i
<
r
;
i
++
)
e
.
call
(
n
,
t
[
i
],
i
,
t
)
&&
a
.
push
(
t
[
i
]);
return
a
}}
function
L
(
t
,
e
,
n
){
if
(
t
&&
e
)
for
(
var
a
=
0
,
i
=
t
.
length
;
a
<
i
;
a
++
)
if
(
e
.
call
(
n
,
t
[
a
],
a
,
t
))
return
t
[
a
]}
function
j
(
t
,
e
){
var
n
=
c
.
call
(
arguments
,
2
);
return
function
(){
return
t
.
apply
(
e
,
n
.
concat
(
c
.
call
(
arguments
)))}}
function
E
(
t
){
var
e
=
c
.
call
(
arguments
,
1
);
return
function
(){
return
t
.
apply
(
this
,
e
.
concat
(
c
.
call
(
arguments
)))}}
function
F
(
t
){
return
"
[object Array]
"
===
i
.
call
(
t
)}
function
R
(
t
){
return
"
function
"
===
typeof
t
}
function
B
(
t
){
return
"
[object String]
"
===
i
.
call
(
t
)}
function
M
(
t
){
var
e
=
typeof
t
;
return
"
function
"
===
e
||!!
t
&&
"
object
"
===
e
}
function
T
(
t
){
return
!!
n
[
i
.
call
(
t
)]}
function
P
(
t
){
return
!!
a
[
i
.
call
(
t
)]}
function
G
(
t
){
return
"
object
"
===
typeof
t
&&
"
number
"
===
typeof
t
.
nodeType
&&
"
object
"
===
typeof
t
.
ownerDocument
}
function
$
(
t
){
return
t
!==
t
}
function
A
(
t
){
for
(
var
e
=
0
,
n
=
arguments
.
length
;
e
<
n
;
e
++
)
if
(
null
!=
arguments
[
e
])
return
arguments
[
e
]}
function
D
(
t
,
e
){
return
null
!=
t
?
t
:
e
}
function
q
(
t
,
e
,
n
){
return
null
!=
t
?
t
:
null
!=
e
?
e
:
n
}
function
z
(){
return
Function
.
call
.
apply
(
c
,
arguments
)}
function
W
(
t
){
if
(
"
number
"
===
typeof
t
)
return
[
t
,
t
,
t
,
t
];
var
e
=
t
.
length
;
return
2
===
e
?[
t
[
0
],
t
[
1
],
t
[
0
],
t
[
1
]]:
3
===
e
?[
t
[
0
],
t
[
1
],
t
[
2
],
t
[
1
]]:
t
}
function
U
(
t
,
e
){
if
(
!
t
)
throw
new
Error
(
e
)}
function
N
(
t
){
return
null
==
t
?
null
:
"
function
"
===
typeof
t
.
trim
?
t
.
trim
():
t
.
replace
(
/^
[\s\u
FEFF
\x
A0
]
+|
[\s\u
FEFF
\x
A0
]
+$/g
,
""
)}
u
.
createCanvas
=
function
(){
return
document
.
createElement
(
"
canvas
"
)};
var
H
=
"
__ec_primitive__
"
;
function
K
(
t
){
t
[
H
]
=!
0
}
function
Y
(
t
){
return
t
[
H
]}
function
X
(
t
){
var
e
=
F
(
t
);
this
.
data
=
{};
var
n
=
this
;
function
a
(
t
,
a
){
e
?
n
.
set
(
t
,
a
):
n
.
set
(
a
,
t
)}
t
instanceof
X
?
t
.
each
(
a
):
t
&&
V
(
t
,
a
)}
function
J
(
t
){
return
new
X
(
t
)}
function
Q
(
t
,
e
){
for
(
var
n
=
new
t
.
constructor
(
t
.
length
+
e
.
length
),
a
=
0
;
a
<
t
.
length
;
a
++
)
n
[
a
]
=
t
[
a
];
var
i
=
t
.
length
;
for
(
a
=
0
;
a
<
e
.
length
;
a
++
)
n
[
a
+
i
]
=
e
[
a
];
return
n
}
function
Z
(){}
X
.
prototype
=
{
constructor
:
X
,
get
:
function
(
t
){
return
this
.
data
.
hasOwnProperty
(
t
)?
this
.
data
[
t
]:
null
},
set
:
function
(
t
,
e
){
return
this
.
data
[
t
]
=
e
},
each
:
function
(
t
,
e
){
for
(
var
n
in
void
0
!==
e
&&
(
t
=
j
(
t
,
e
)),
this
.
data
)
this
.
data
.
hasOwnProperty
(
n
)
&&
t
(
this
.
data
[
n
],
n
)},
removeKey
:
function
(
t
){
delete
this
.
data
[
t
]}},
e
.
$override
=
p
,
e
.
clone
=
m
,
e
.
merge
=
f
,
e
.
mergeAll
=
h
,
e
.
extend
=
v
,
e
.
defaults
=
g
,
e
.
createCanvas
=
b
,
e
.
getContext
=
_
,
e
.
indexOf
=
w
,
e
.
inherits
=
x
,
e
.
mixin
=
k
,
e
.
isArrayLike
=
S
,
e
.
each
=
V
,
e
.
map
=
O
,
e
.
reduce
=
I
,
e
.
filter
=
C
,
e
.
find
=
L
,
e
.
bind
=
j
,
e
.
curry
=
E
,
e
.
isArray
=
F
,
e
.
isFunction
=
R
,
e
.
isString
=
B
,
e
.
isObject
=
M
,
e
.
isBuiltInObject
=
T
,
e
.
isTypedArray
=
P
,
e
.
isDom
=
G
,
e
.
eqNaN
=
$
,
e
.
retrieve
=
A
,
e
.
retrieve2
=
D
,
e
.
retrieve3
=
q
,
e
.
slice
=
z
,
e
.
normalizeCssArray
=
W
,
e
.
assert
=
U
,
e
.
trim
=
N
,
e
.
setAsPrimitive
=
K
,
e
.
isPrimitive
=
Y
,
e
.
createHashMap
=
J
,
e
.
concatArray
=
Q
,
e
.
noop
=
Z
},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
"
9cc4
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
t
.
addBatch
}},[
t
.
_v
(
"
添加赛事批次
"
)])]},
proxy
:
!
0
}])},[
n
(
"
br
"
),
n
(
"
br
"
),
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
bed_time
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
a
.
bed_time
?
n
(
"
span
"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
a
.
bed_time
.
split
(
"
00:00
"
)[
0
]
+
"
~
"
+
a
.
end_time
.
split
(
"
00:00
"
)[
0
])
+
"
\n
"
)]):
t
.
_e
()]}},{
key
:
"
competition_method
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
blue
"
][
a
.
competition_method
]}},[
t
.
_v
(
t
.
_s
([
"
学生
"
,
"
教师
"
][
a
.
competition_method
]))])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
edit
(
a
)}}},[
t
.
_v
(
"
编辑
"
)]),
n
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
a
)},
"
on-cancel
"
:
t
.
cancel
}},[
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)])])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
width
:
50
,
title
:
"
添加赛事学年
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
batchModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate
"
)}}},[
t
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
batchModal
,
callback
:
function
(
e
){
t
.
batchModal
=
e
},
expression
:
"
batchModal
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
n
(
"
Row
"
,[
n
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_name
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionbatch_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionbatch_name
"
,
e
)},
expression
:
"
formValidate.competitionbatch_name
"
}})],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛起止时间
"
,
prop
:
"
dateRange
"
}},[
n
(
"
DatePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
type
:
"
daterange
"
,
placement
:
"
bottom-end
"
,
placeholder
:
"
请选择竞赛起止时间
"
},
on
:{
"
on-change
"
:
t
.
obtainingAcademicYearTime
},
model
:{
value
:
t
.
formValidate
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
dateRange
"
,
e
)},
expression
:
"
formValidate.dateRange
"
}})],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
备注
"
,
prop
:
"
remark
"
}},[
n
(
"
Input
"
,{
attrs
:{
type
:
"
textarea
"
,
autosize
:{
minRows
:
5
,
maxRows
:
5
},
placeholder
:
"
请输入备注
"
},
model
:{
value
:
t
.
formValidate
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
remark
"
,
e
)},
expression
:
"
formValidate.remark
"
}})],
1
)],
1
)],
1
)],
1
)],
1
)],
1
)},
i
=
[],
r
=
(
n
(
"
8e6e
"
),
n
(
"
ac6a
"
),
n
(
"
456d
"
),
n
(
"
7f7f
"
),
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
o
=
n
(
"
ade3
"
),
s
=
(
n
(
"
28a5
"
),
n
(
"
967e
"
)),
c
=
n
.
n
(
s
),
l
=
n
(
"
7f6b
"
),
d
=
n
(
"
61be
"
);
function
u
(
t
,
e
){
var
n
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
a
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
a
=
a
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
n
.
push
.
apply
(
n
,
a
)}
return
n
}
function
p
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
n
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
u
(
Object
(
n
),
!
0
).
forEach
((
function
(
e
){
Object
(
o
[
"
a
"
])(
t
,
e
,
n
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
n
)):
u
(
Object
(
n
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
n
,
e
))}))}
return
t
}
var
m
=
{
components
:{},
props
:[
"
studentOrTeacher
"
],
data
:
function
(){
return
{
bactchType
:[{
label
:
"
学生
"
,
value
:
0
},{
label
:
"
教师
"
,
value
:
1
}],
searchCondList
:[{
id
:
"
competition_method
"
,
name
:
"
批次类型
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
学生
"
,
value
:
0
},{
label
:
"
教师
"
,
value
:
1
}]}],
loading
:
!
1
,
batchModal
:
!
1
,
formValidate
:{
id_del
:
0
,
competition_method
:
""
,
competitionbatch_name
:
""
,
dateRange
:
""
,
remark
:
""
,
bed_time
:
""
,
end_time
:
""
},
ruleValidate
:{
competition_method
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionbatch_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
dateRange
:[{
required
:
!
0
,
type
:
"
array
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
remark1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
blur
"
}]},
init
:{
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
competition_method
:
""
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
minWidth
:
80
},{
title
:
"
学年
"
,
key
:
"
competitionbatch_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
竞赛起止时间
"
,
slot
:
"
bed_time
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
批次类型
"
,
slot
:
"
competition_method
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
备注
"
,
key
:
"
remark
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
minWidth
:
120
,
show
:
!
0
,
slot
:
"
action
"
}],
data
:[],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
addBatch
:
function
(){
this
.
$refs
[
"
formValidate
"
].
resetFields
(),
this
.
batchModal
=!
0
},
search
:
function
(
t
){
this
.
init
.
competition_method
=
t
.
competition_method
,
this
.
init
.
page_index
=
1
,
this
.
GetBatchList
()},
reset
:
function
(
t
){
this
.
init
.
competition_method
=
""
,
this
.
init
.
page_index
=
1
,
this
.
GetBatchList
()},
BatchDel
:
function
(){},
importFile
:
function
(){},
edit
:
function
(
t
){
this
.
batchModal
=!
0
;
var
e
=
t
.
bed_time
&&
t
.
end_time
?[
t
.
bed_time
.
split
(
"
00:00
"
)[
0
],
t
.
end_time
.
split
(
"
00:00
"
)[
0
]]:[];
this
.
formValidate
=
p
(
p
({},
t
),{},{
dateRange
:
e
})},
cancel
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
Object
(
d
[
"
myEncapsulationFunction
"
])(
Object
(
r
[
"
a
"
])(
c
.
a
.
mark
((
function
n
(){
var
a
;
return
c
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
l
[
"
BatchDel
"
]({
id
:
t
.
competitionbatchid
});
case
2
:
return
a
=
n
.
sent
,
e
.
GetBatchList
(),
n
.
abrupt
(
"
return
"
,
a
);
case
5
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))},
obtainingAcademicYearTime
:
function
(
t
){
this
.
formValidate
.
bed_time
=
t
[
0
],
this
.
formValidate
.
end_time
=
t
[
1
],
console
.
log
(
"
🚀🚀🚀,
"
,
t
)},
importOk
:
function
(){},
saveBatch
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
BatchSave
"
](
t
.
formValidate
);
case
2
:
return
n
=
e
.
sent
,
1
===
n
.
code
&&
t
.
GetBatchList
(),
e
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
handleSubmit
:
function
(
t
){
var
e
=
this
;
this
.
$refs
[
t
].
validate
((
function
(
t
){
t
&&
""
!==
e
.
formValidate
.
dateRange
[
0
]?(
e
.
saveBatch
(),
e
.
batchModal
=!
1
):
e
.
$Message
.
error
(
"
请完善必选项
"
)}))},
handleReset
:
function
(
t
){
this
.
$refs
[
t
].
resetFields
()},
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
GetBatchList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
GetBatchList
()},
GetBatchList
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
loading
=!
0
,
n
=
{
page_index
:
t
.
init
.
page_index
,
page_size
:
t
.
init
.
page_size
,
competition_method
:
t
.
init
.
competition_method
},
e
.
next
=
4
,
t
.
asc
.
getApiCommonGetBatchList
(
n
);
case
4
:
a
=
e
.
sent
,
t
.
data
=
a
.
response
.
data
,
t
.
init
.
total
=
a
.
response
.
data_count
,
t
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
init
.
competition_method
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
formValidate
.
competition_method
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
GetBatchList
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
m
,
h
=
(
n
(
"
ce72
"
),
n
(
"
2877
"
)),
v
=
Object
(
h
[
"
a
"
])(
f
,
a
,
i
,
!
1
,
null
,
"
7769bfe8
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
c827
:
function
(
t
,
e
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
cs-search-cond-form
"
,{
attrs
:{
searchCondList
:
t
.
searchCondList
,
labelWidth
:
120
},
on
:{
onSubmit
:
t
.
search1
,
onReset
:
t
.
reset
}}),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-add
"
},
on
:{
click
:
t
.
addEvent
}},[
t
.
_v
(
"
\n
添加赛事
\n
"
)]):
t
.
_e
(),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-add
"
},
on
:{
click
:
t
.
addEventClass
}},[
t
.
_v
(
"
\n
添加赛事级别
\n
"
)]):
t
.
_e
(),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-add
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventCategory
=!
0
}}},[
t
.
_v
(
"
\n
添加赛事类别
\n
"
)]):
t
.
_e
(),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-cloud-upload
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
ImportModal
=!
0
}}},[
t
.
_v
(
"
导入数据
\n
"
)]):
t
.
_e
(),
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-cloud-download
"
},
on
:{
click
:
t
.
ReportExportToExcel
}},[
t
.
_v
(
"
\n
导出数据
\n
"
)]),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-cloud-download
"
,
loading
:
t
.
Bloading
},
on
:{
click
:
t
.
GetReportImportTemplate
}},[
t
.
_v
(
"
下载模板
\n
"
)]):
t
.
_e
()]},
proxy
:
!
0
}])},[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
hooks
.
getUserRole
()?
t
.
columns
:
t
.
columns
.
filter
((
function
(
t
){
return
"
操作
"
!==
t
.
title
})),
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
dept
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Tooltip
"
,{
attrs
:{
placement
:
"
right-end
"
,
transfer
:
!
1
,
"
max-width
"
:
500
},
scopedSlots
:
t
.
_u
([{
key
:
"
content
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,[
t
.
_v
(
"
"
+
t
.
_s
(
a
.
dept
))])]},
proxy
:
!
0
}],
null
,
!
0
)},[
a
.
dept
?
n
(
"
Ellipsis
"
,{
attrs
:{
text
:
a
.
dept
,
length
:
18
}}):
t
.
_e
()],
1
)]}},{
key
:
"
way
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
a
.
way
]}},[
n
(
"
span
"
,{
staticStyle
:{
color
:
"
white
"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
团队
"
,
"
个人
"
][
a
.
way
])
+
"
\n
"
)])])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
t
.
getUserRole
()?
n
(
"
a
"
,{
on
:{
click
:
function
(
e
){
t
.
eventTitle
=
"
编辑赛事
"
,
t
.
importFile
(
a
)}}},[
t
.
_v
(
"
编辑
"
)]):
t
.
_e
(),
n
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
a
)},
"
on-cancel
"
:
t
.
cancel
}},[
t
.
getUserRole
()?
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)]):
t
.
_e
()])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
key
:
t
.
pageKey
,
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
width
:
45
,
title
:
t
.
eventTitle
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
dashed
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventsModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate
"
)}}},[
t
.
_v
(
"
确定
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
.
addEventsModal
,
callback
:
function
(
e
){
t
.
$set
(
t
.
modal
,
"
addEventsModal
"
,
e
)},
expression
:
"
modal.addEventsModal
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
t
.
formValidate
.
competitionbatch_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionbatch_id
"
,
e
)},
expression
:
"
formValidate.competitionbatch_id
"
}},
t
.
_l
(
t
.
batchList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事编码
"
},
model
:{
value
:
t
.
formValidate
.
report_code
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
report_code
"
,
e
)},
expression
:
"
formValidate.report_code
"
}})],
1
)],
1
)],
1
),
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionname
"
,
e
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name1
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionsubitem_name
"
,
e
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
)],
1
)],
1
),
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id1
"
}},[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
,
multiple
:
""
},
model
:{
value
:
t
.
formValidate
.
dept_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
dept_id
"
,
e
)},
expression
:
"
formValidate.dept_id
"
}},
t
.
_l
(
t
.
deptList
,(
function
(
e
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
t
.
formValidate
.
sponsor
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
sponsor
"
,
e
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
)],
1
),
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id1
"
}},[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
t
.
formValidate
.
competition_level_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competition_level_id
"
,
e
)},
expression
:
"
formValidate.competition_level_id
"
}},
t
.
_l
(
t
.
levelList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
t
.
formValidate
.
competition_type_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competition_type_id
"
,
e
)},
expression
:
"
formValidate.competition_type_id
"
}},
t
.
_l
(
t
.
classList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
)],
1
),
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入相关专业
"
},
model
:{
value
:
t
.
formValidate
.
specialty
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
specialty
"
,
e
)},
expression
:
"
formValidate.specialty
"
}})],
1
)],
1
)],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事级别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addeventLevel
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate1
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
t
.
f1EditState
=!
0
,
t
.
handleSubmit
(
"
formValidate1
"
)}}},[
t
.
_v
(
"
新增
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
.
addeventLevel
,
callback
:
function
(
e
){
t
.
$set
(
t
.
modal
,
"
addeventLevel
"
,
e
)},
expression
:
"
modal.addeventLevel
"
}},[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
30%
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
,
padding
:
"
0 0 2vw 0
"
,
"
border-bottom
"
:
"
0.2vw #E6E6E6 solid
"
,
"
margin-bottom
"
:
"
1vw
"
}},
t
.
_l
(
t
.
competitionLevel
,(
function
(
e
,
a
){
return
n
(
"
div
"
,{
key
:
a
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
n
){
return
t
.
formValidate1Edit
(
e
)}}},[
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitionlevel_name
))]),
n
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
n
){
return
t
.
delLevel
(
e
)}}},[
n
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
n
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
t
.
formValidate1
,
rules
:
t
.
ruleValidate1
,
"
label-width
"
:
110
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competitionlevel_name
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate1
.
competitionlevel_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
competitionlevel_name
"
,
e
)},
expression
:
"
formValidate1.competitionlevel_name
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark1
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate1
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
remark
"
,
e
)},
expression
:
"
formValidate1.remark
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
n
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate1
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
status
"
,
e
)},
expression
:
"
formValidate1.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
a
){
return
n
(
"
Radio
"
,{
key
:
a
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事类别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventCategory
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate2
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
t
.
f1EditState
=!
0
,
t
.
handleSubmit
(
"
formValidate2
"
)}}},[
t
.
_v
(
"
新增
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
.
addEventCategory
,
callback
:
function
(
e
){
t
.
$set
(
t
.
modal
,
"
addEventCategory
"
,
e
)},
expression
:
"
modal.addEventCategory
"
}},[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
30%
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
,
padding
:
"
0 0 2vw 0
"
,
"
border-bottom
"
:
"
0.2vw #E6E6E6 solid
"
,
"
margin-bottom
"
:
"
1vw
"
}},
t
.
_l
(
t
.
competitionClass
,(
function
(
e
,
a
){
return
n
(
"
div
"
,{
key
:
a
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
n
){
return
t
.
formValidate2Edit
(
e
)}}},[
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitiontype_name
)
+
"
\n\n
"
)]),
n
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
n
){
return
t
.
delClass
(
e
)}}},[
n
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
n
(
"
Form
"
,{
ref
:
"
formValidate2
"
,
attrs
:{
model
:
t
.
formValidate2
,
rules
:
t
.
ruleValidate2
,
"
label-width
"
:
110
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛类别
"
,
prop
:
"
competitiontype_name
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入竞赛类别
"
},
model
:{
value
:
t
.
formValidate2
.
competitiontype_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
competitiontype_name
"
,
e
)},
expression
:
"
formValidate2.competitiontype_name
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark
"
}},[
n
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入描述
"
},
model
:{
value
:
t
.
formValidate2
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
remark
"
,
e
)},
expression
:
"
formValidate2.remark
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
n
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate2
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
status
"
,
e
)},
expression
:
"
formValidate2.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
a
){
return
n
(
"
Radio
"
,{
key
:
a
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
模板导入
"
,
width
:
"
40%
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
ImportModal
=!
1
}}},[
t
.
_v
(
"
取消
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
.
ImportModal
,
callback
:
function
(
e
){
t
.
$set
(
t
.
modal
,
"
ImportModal
"
,
e
)},
expression
:
"
modal.ImportModal
"
}},[
n
(
"
Upload
"
,{
attrs
:{
"
before-upload
"
:
t
.
dutyModelUpload
,
"
on-error
"
:
t
.
dutyModelError
,
"
on-success
"
:
t
.
dutyModelSuccess
,
"
on-format-error
"
:
t
.
dutyModelFormatError
,
format
:[
"
xlsx
"
],
multiple
:
!
1
,
type
:
"
drag
"
,
action
:
""
}},[
n
(
"
div
"
,{
staticStyle
:{
padding
:
"
120px 0
"
}},[
n
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
n
(
"
p
"
,[
t
.
_v
(
"
竞赛模板文件上传
"
)])],
1
)])],
1
)],
1
)},
i
=
[],
r
=
(
n
(
"
8e6e
"
),
n
(
"
456d
"
),
n
(
"
7f7f
"
),
n
(
"
ac6a
"
),
n
(
"
ade3
"
)),
o
=
(
n
(
"
28a5
"
),
n
(
"
386d
"
),
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
s
=
n
(
"
967e
"
),
c
=
n
.
n
(
s
),
l
=
(
n
(
"
a78e
"
),
n
(
"
7f6b
"
)),
d
=
n
(
"
61be
"
);
n
(
"
e0d3
"
);
function
u
(
t
,
e
){
var
n
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
a
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
a
=
a
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
n
.
push
.
apply
(
n
,
a
)}
return
n
}
function
p
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
n
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
u
(
Object
(
n
),
!
0
).
forEach
((
function
(
e
){
Object
(
r
[
"
a
"
])(
t
,
e
,
n
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
n
)):
u
(
Object
(
n
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
n
,
e
))}))}
return
t
}
var
m
=
{
components
:{},
props
:[
"
studentOrTeacher
"
],
data
:
function
(){
return
{
pageKey
:
1
,
bactchType
:[{
label
:
"
学生
"
,
value
:
0
},{
label
:
"
教师
"
,
value
:
1
}],
searchCondList
:[{
id
:
"
batch
"
,
name
:
"
赛事批次
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
name
"
,
name
:
"
赛事名称
"
,
type
:
"
input
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
level
"
,
name
:
"
赛事级别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
type
"
,
name
:
"
竞赛类别
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[]},{
id
:
"
way
"
,
name
:
"
比赛形式
"
,
type
:
"
select
"
,
show
:
!
0
,
optList
:[{
label
:
"
个人
"
,
value
:
1
},{
label
:
"
团队
"
,
value
:
0
},{
label
:
"
不限
"
,
value
:
2
}]}],
Bloading
:
!
1
,
eventTitle
:
""
,
loading
:
!
1
,
f1EditState
:
!
1
,
batchList
:[],
classList
:[],
levelList
:[],
competitionLevel
:[],
competitionClass
:[],
isItDisabled
:[{
value
:
1
,
label
:
"
是
"
},{
value
:
0
,
label
:
"
否
"
}],
wayList
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}],
formValidate2
:{
competitiontype_name
:
""
,
remark
:
""
,
status
:
""
},
formValidate1
:{
competitionlevel_name
:
""
,
remark
:
""
,
status
:
""
},
search
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
},
formValidate
:{
is_del
:
0
,
competition_method
:
""
,
name1
:
""
,
name
:
""
,
competitionreportid
:
""
,
competitionbatch_id
:
""
,
report_code
:
""
,
competitionname
:
""
,
competitionsubitem_name
:
""
,
dept_id
:
""
,
sponsor
:
""
,
competition_level_id
:
""
,
competition_type_id
:
""
,
way
:
""
,
specialty
:
""
},
ruleValidate2
:{
competitiontype_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
remark
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
status
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
ruleValidate1
:{
competitionlevel_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
blur
"
}],
remark
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
blur
"
}],
status
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
ruleValidate
:{
competitionbatch_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
report_code
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competitionsubitem_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
dept_id
:[{
required
:
!
0
,
type
:
"
array
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_level_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_method
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_type_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
way
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
specialty1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
modal
:{
addEventsModal
:
!
1
,
addeventLevel
:
!
1
,
addEventCategory
:
!
1
,
ImportModal
:
!
1
},
init
:{
competition_method
:
""
,
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
minWidth
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
slot
:
"
dept
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛项名称
"
,
key
:
"
competitionsubitem_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
主办单位
"
,
key
:
"
sponsor
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事级别
"
,
key
:
"
competition_level_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
竞赛类别
"
,
key
:
"
competition_type_name
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
相关专业
"
,
key
:
"
specialty
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
minWidth
:
130
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
data
:[],
theme
:
"
light
"
,
deptList
:[]}},
computed
:{},
watch
:{},
methods
:{
ReportExportToExcel
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportExportToExcel
"
](
t
.
search
);
case
2
:
n
=
e
.
sent
,
t
.
blobFileImport
(
n
,
"
赛事目录导出
"
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetReportImportTemplate
:
function
(){
var
t
=
this
;
this
.
Bloading
=
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
Bloading
=!
0
,
e
.
next
=
3
,
l
[
"
GetReportImportTemplate
"
]();
case
3
:
n
=
e
.
sent
,
window
.
location
.
href
=
n
.
response
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
addEventClass
:
function
(){
this
.
modal
.
addeventLevel
=!
0
},
addEvent
:
function
(){
this
.
eventTitle
=
"
添加赛事
"
,
this
.
modal
.
addEventsModal
=!
0
,
this
.
formValidate
.
competitionreportid
=
""
,
this
.
$refs
.
formValidate
.
resetFields
()},
importFile
:
function
(
t
){
var
e
=
[];
t
.
dept_id
&&
t
.
dept_id
.
split
(
"
;
"
).
map
((
function
(
t
,
n
){
""
!==
t
&&
e
.
push
(
t
)})),
this
.
formValidate
=
p
(
p
({},
t
),{},{
dept_id
:
e
}),
this
.
modal
.
addEventsModal
=!
0
},
edit
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
n
(){
var
a
;
return
c
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
l
[
"
ReportDel
"
]({
id
:
t
.
competitionreportid
});
case
2
:
return
a
=
n
.
sent
,
e
.
getCompetitionList
(),
n
.
abrupt
(
"
return
"
,
a
);
case
5
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))},
cancel
:
function
(){},
reset
:
function
(){
console
.
log
(
"
🚀🚀🚀,
"
,
1
),
this
.
search
=
{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
},
this
.
pageKey
++
,
this
.
getCompetitionList
()},
search1
:
function
(
t
){
this
.
search
=
p
(
p
(
p
({},
this
.
search
),
t
),{},{
page_index
:
1
}),
this
.
pageKey
++
,
this
.
getCompetitionList
()},
getCompetitionList
:
function
(){
var
t
=
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
.
loading
=!
0
,{
name
:
e
.
formValidate
.
name1
,
level
:
""
,
way
:
""
,
approval_state
:
""
,
page_index
:
e
.
init
.
page_index
,
page_size
:
e
.
init
.
page_size
},
t
.
next
=
4
,
l
[
"
GetReportList
"
](
e
.
search
);
case
4
:
n
=
t
.
sent
,
e
.
data
=
n
.
response
.
data
,
e
.
init
.
total
=
n
.
response
.
data_count
,
e
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
1
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
GetHierarchySelect
:
function
(){
var
t
=
this
;
this
.
asc
.
getApiCommonGetHierarchySelect
().
then
((
function
(
e
){
t
.
searchCondList
.
forEach
((
function
(
t
){
"
h_id
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))},
GetLevelBySelect
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
n
=
e
.
sent
,
t
.
levelList
=
n
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
n
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
n
=
e
.
sent
,
t
.
classList
=
n
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
n
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetBatchBySelect
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
]((
function
(){
t
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
t
.
formValidate
.
competition_method
}).
then
((
function
(
e
){
t
.
batchList
=
e
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))}))},
GetDeptSeletct
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetDeptSeletct
"
]();
case
2
:
n
=
e
.
sent
,
t
.
deptList
=
n
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
formValidate1Edit
:
function
(
t
){
this
.
formValidate1
=
t
},
delLevel
:
function
(
t
){
var
e
=
this
;
Object
(
d
[
"
myEncapsulationFunction
"
])((
function
(){
return
d
[
"
publicConfirm
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
n
(){
var
a
;
return
c
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
l
[
"
LevelDel
"
]({
id
:
t
.
competitionlevelid
});
case
2
:
return
a
=
n
.
sent
,
e
.
GetLevelList
(),
n
.
abrupt
(
"
return
"
,
a
);
case
5
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))}))},
GetLevelList
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelList
"
]();
case
2
:
n
=
e
.
sent
,
t
.
competitionLevel
=
n
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
delClass
:
function
(
t
){
var
e
=
this
;
Object
(
d
[
"
myEncapsulationFunction
"
])((
function
(){
return
d
[
"
publicConfirm
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
n
(){
var
a
;
return
c
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
l
[
"
TypeDel
"
]({
id
:
t
.
competitiontypeid
});
case
2
:
return
a
=
n
.
sent
,
e
.
GetTypeList
(),
n
.
abrupt
(
"
return
"
,
a
);
case
5
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))}))},
formValidate2Edit
:
function
(
t
){
this
.
formValidate2
=
t
},
LevelSave
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
f1EditState
&&
(
t
.
formValidate1
.
competitionlevelid
=
""
),
e
.
next
=
3
,
l
[
"
LevelSave
"
](
t
.
formValidate1
);
case
3
:
return
n
=
e
.
sent
,
t
.
GetLevelList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
n
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
TypeSave
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
f1EditState
&&
(
t
.
formValidate2
.
competitiontypeid
=
""
),
e
.
next
=
3
,
l
[
"
TypeSave
"
](
t
.
formValidate2
);
case
3
:
return
n
=
e
.
sent
,
t
.
GetTypeList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
n
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
ReportSave
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportSave
"
](
t
.
formValidate
);
case
2
:
return
n
=
e
.
sent
,
e
.
next
=
5
,
t
.
getCompetitionList
();
case
5
:
return
t
.
modal
.
addEventsModal
=!
1
,
t
.
formValidate
=
{},
e
.
abrupt
(
"
return
"
,
n
);
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
validateSwitch
:
function
(
t
){
switch
(
t
){
case
"
formValidate2
"
:
this
.
TypeSave
();
break
;
case
"
formValidate1
"
:
this
.
LevelSave
();
break
;
case
"
formValidate
"
:
this
.
ReportSave
();
break
}},
handleSubmit
:
function
(
t
){
var
e
=
this
;
this
.
$refs
[
t
].
validate
((
function
(
n
){
n
?
e
.
validateSwitch
(
t
):(
e
.
$Message
.
destroy
(),
e
.
$Message
.
error
(
"
请检查必填选项!
"
))}))},
handleReset
:
function
(
t
){
this
.
$refs
[
t
].
resetFields
()},
GetTypeList
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeList
"
]();
case
2
:
n
=
e
.
sent
,
t
.
competitionClass
=
n
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
dutyModelUpload
:
function
(){
var
t
=
Object
(
o
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(
e
){
var
n
,
a
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
new
FormData
,
n
.
append
(
"
file
"
,
e
),
t
.
next
=
4
,
l
[
"
ReportImport
"
](
n
);
case
4
:
if
(
a
=
t
.
sent
,
1
===
a
.
code
){
t
.
next
=
10
;
break
}
window
.
location
.
href
=
a
.
response
,
this
.
$Message
.
error
(
a
.
msg_detail
),
t
.
next
=
13
;
break
;
case
10
:
return
t
.
next
=
12
,
this
.
getCompetitionList
();
case
12
:
this
.
modal
.
ImportModal
=!
1
;
case
13
:
return
t
.
abrupt
(
"
return
"
,
!
1
);
case
14
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
dutyModelFormatError
:
function
(
t
,
e
){
this
.
$Message
.
error
(
"
文件格式错误!
"
)},
dutyModelSuccess
:
function
(
t
,
e
,
n
){
this
.
$Message
.
info
(
t
.
msg
)},
dutyModelError
:
function
(
t
,
e
,
n
){},
handleChangePage
:
function
(
t
){
this
.
search
.
page_index
=
t
,
this
.
getCompetitionList
()},
handleChangePageSize
:
function
(
t
){
this
.
search
.
page_size
=
t
,
this
.
getCompetitionList
()}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
formValidate
.
competition_method
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
search
.
is_tea
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
GetHierarchySelect
(),
this
.
getCompetitionList
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetBatchBySelect
(),
this
.
GetDeptSeletct
(),
this
.
GetLevelList
(),
this
.
GetTypeList
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
m
,
h
=
(
n
(
"
21d3
"
),
n
(
"
2877
"
)),
v
=
Object
(
h
[
"
a
"
])(
f
,
a
,
i
,
!
1
,
null
,
"
2478f6cb
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
ce72
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
(
"
4944
"
)},
e0d3
:
function
(
t
,
e
,
n
){
var
a
=
n
(
"
6d8b
"
),
i
=
n
(
"
22d1
"
),
r
=
a
.
each
,
o
=
a
.
isObject
,
s
=
a
.
isArray
,
c
=
"
series
\
0
"
;
function
l
(
t
){
return
t
instanceof
Array
?
t
:
null
==
t
?[]:[
t
]}
function
d
(
t
,
e
,
n
){
if
(
t
){
t
[
e
]
=
t
[
e
]
||
{},
t
.
emphasis
=
t
.
emphasis
||
{},
t
.
emphasis
[
e
]
=
t
.
emphasis
[
e
]
||
{};
for
(
var
a
=
0
,
i
=
n
.
length
;
a
<
i
;
a
++
){
var
r
=
n
[
a
];
!
t
.
emphasis
[
e
].
hasOwnProperty
(
r
)
&&
t
[
e
].
hasOwnProperty
(
r
)
&&
(
t
.
emphasis
[
e
][
r
]
=
t
[
e
][
r
])}}}
var
u
=
[
"
fontStyle
"
,
"
fontWeight
"
,
"
fontSize
"
,
"
fontFamily
"
,
"
rich
"
,
"
tag
"
,
"
color
"
,
"
textBorderColor
"
,
"
textBorderWidth
"
,
"
width
"
,
"
height
"
,
"
lineHeight
"
,
"
align
"
,
"
verticalAlign
"
,
"
baseline
"
,
"
shadowColor
"
,
"
shadowBlur
"
,
"
shadowOffsetX
"
,
"
shadowOffsetY
"
,
"
textShadowColor
"
,
"
textShadowBlur
"
,
"
textShadowOffsetX
"
,
"
textShadowOffsetY
"
,
"
backgroundColor
"
,
"
borderColor
"
,
"
borderWidth
"
,
"
borderRadius
"
,
"
padding
"
];
function
p
(
t
){
return
!
o
(
t
)
||
s
(
t
)
||
t
instanceof
Date
?
t
:
t
.
value
}
function
m
(
t
){
return
o
(
t
)
&&!
(
t
instanceof
Array
)}
function
f
(
t
,
e
){
e
=
(
e
||
[]).
slice
();
var
n
=
a
.
map
(
t
||
[],(
function
(
t
,
e
){
return
{
exist
:
t
}}));
return
r
(
e
,(
function
(
t
,
a
){
if
(
o
(
t
)){
for
(
var
i
=
0
;
i
<
n
.
length
;
i
++
)
if
(
!
n
[
i
].
option
&&
null
!=
t
.
id
&&
n
[
i
].
exist
.
id
===
t
.
id
+
""
)
return
n
[
i
].
option
=
t
,
void
(
e
[
a
]
=
null
);
for
(
i
=
0
;
i
<
n
.
length
;
i
++
){
var
r
=
n
[
i
].
exist
;
if
(
!
n
[
i
].
option
&&
(
null
==
r
.
id
||
null
==
t
.
id
)
&&
null
!=
t
.
name
&&!
g
(
t
)
&&!
g
(
r
)
&&
r
.
name
===
t
.
name
+
""
)
return
n
[
i
].
option
=
t
,
void
(
e
[
a
]
=
null
)}}})),
r
(
e
,(
function
(
t
,
e
){
if
(
o
(
t
)){
for
(
var
a
=
0
;
a
<
n
.
length
;
a
++
){
var
i
=
n
[
a
].
exist
;
if
(
!
n
[
a
].
option
&&!
g
(
i
)
&&
null
==
t
.
id
){
n
[
a
].
option
=
t
;
break
}}
a
>=
n
.
length
&&
n
.
push
({
option
:
t
})}})),
n
}
function
h
(
t
){
var
e
=
a
.
createHashMap
();
r
(
t
,(
function
(
t
,
n
){
var
a
=
t
.
exist
;
a
&&
e
.
set
(
a
.
id
,
t
)})),
r
(
t
,(
function
(
t
,
n
){
var
i
=
t
.
option
;
a
.
assert
(
!
i
||
null
==
i
.
id
||!
e
.
get
(
i
.
id
)
||
e
.
get
(
i
.
id
)
===
t
,
"
id duplicates:
"
+
(
i
&&
i
.
id
)),
i
&&
null
!=
i
.
id
&&
e
.
set
(
i
.
id
,
t
),
!
t
.
keyInfo
&&
(
t
.
keyInfo
=
{})})),
r
(
t
,(
function
(
t
,
n
){
var
a
=
t
.
exist
,
i
=
t
.
option
,
r
=
t
.
keyInfo
;
if
(
o
(
i
)){
if
(
r
.
name
=
null
!=
i
.
name
?
i
.
name
+
""
:
a
?
a
.
name
:
c
+
n
,
a
)
r
.
id
=
a
.
id
;
else
if
(
null
!=
i
.
id
)
r
.
id
=
i
.
id
+
""
;
else
{
var
s
=
0
;
do
{
r
.
id
=
"
\
0
"
+
r
.
name
+
"
\
0
"
+
s
++
}
while
(
e
.
get
(
r
.
id
))}
e
.
set
(
r
.
id
,
t
)}}))}
function
v
(
t
){
var
e
=
t
.
name
;
return
!
(
!
e
||!
e
.
indexOf
(
c
))}
function
g
(
t
){
return
o
(
t
)
&&
t
.
id
&&
0
===
(
t
.
id
+
""
).
indexOf
(
"
\
0_ec_
\
0
"
)}
function
y
(
t
,
e
){
var
n
=
{},
a
=
{};
return
i
(
t
||
[],
n
),
i
(
e
||
[],
a
,
n
),[
r
(
n
),
r
(
a
)];
function
i
(
t
,
e
,
n
){
for
(
var
a
=
0
,
i
=
t
.
length
;
a
<
i
;
a
++
)
for
(
var
r
=
t
[
a
].
seriesId
,
o
=
l
(
t
[
a
].
dataIndex
),
s
=
n
&&
n
[
r
],
c
=
0
,
d
=
o
.
length
;
c
<
d
;
c
++
){
var
u
=
o
[
c
];
s
&&
s
[
u
]?
s
[
u
]
=
null
:(
e
[
r
]
||
(
e
[
r
]
=
{}))[
u
]
=
1
}}
function
r
(
t
,
e
){
var
n
=
[];
for
(
var
a
in
t
)
if
(
t
.
hasOwnProperty
(
a
)
&&
null
!=
t
[
a
])
if
(
e
)
n
.
push
(
+
a
);
else
{
var
i
=
r
(
t
[
a
],
!
0
);
i
.
length
&&
n
.
push
({
seriesId
:
a
,
dataIndex
:
i
})}
return
n
}}
function
b
(
t
,
e
){
return
null
!=
e
.
dataIndexInside
?
e
.
dataIndexInside
:
null
!=
e
.
dataIndex
?
a
.
isArray
(
e
.
dataIndex
)?
a
.
map
(
e
.
dataIndex
,(
function
(
e
){
return
t
.
indexOfRawIndex
(
e
)})):
t
.
indexOfRawIndex
(
e
.
dataIndex
):
null
!=
e
.
name
?
a
.
isArray
(
e
.
name
)?
a
.
map
(
e
.
name
,(
function
(
e
){
return
t
.
indexOfName
(
e
)})):
t
.
indexOfName
(
e
.
name
):
void
0
}
function
_
(){
var
t
=
"
__
\
0ec_inner_
"
+
w
+++
"
_
"
+
Math
.
random
().
toFixed
(
5
);
return
function
(
e
){
return
e
[
t
]
||
(
e
[
t
]
=
{})}}
var
w
=
0
;
function
x
(
t
,
e
,
n
){
if
(
a
.
isString
(
e
)){
var
i
=
{};
i
[
e
+
"
Index
"
]
=
0
,
e
=
i
}
var
o
=
n
&&
n
.
defaultMainType
;
!
o
||
k
(
e
,
o
+
"
Index
"
)
||
k
(
e
,
o
+
"
Id
"
)
||
k
(
e
,
o
+
"
Name
"
)
||
(
e
[
o
+
"
Index
"
]
=
0
);
var
s
=
{};
return
r
(
e
,(
function
(
i
,
r
){
i
=
e
[
r
];
if
(
"
dataIndex
"
!==
r
&&
"
dataIndexInside
"
!==
r
){
var
o
=
r
.
match
(
/^
(\w
+
)(
Index|Id|Name
)
$/
)
||
[],
c
=
o
[
1
],
l
=
(
o
[
2
]
||
""
).
toLowerCase
();
if
(
!
(
!
c
||!
l
||
null
==
i
||
"
index
"
===
l
&&
"
none
"
===
i
||
n
&&
n
.
includeMainTypes
&&
a
.
indexOf
(
n
.
includeMainTypes
,
c
)
<
0
)){
var
d
=
{
mainType
:
c
};
"
index
"
===
l
&&
"
all
"
===
i
||
(
d
[
l
]
=
i
);
var
u
=
t
.
queryComponents
(
d
);
s
[
c
+
"
Models
"
]
=
u
,
s
[
c
+
"
Model
"
]
=
u
[
0
]}}
else
s
[
r
]
=
i
})),
s
}
function
k
(
t
,
e
){
return
t
&&
t
.
hasOwnProperty
(
e
)}
function
S
(
t
,
e
,
n
){
t
.
setAttribute
?
t
.
setAttribute
(
e
,
n
):
t
[
e
]
=
n
}
function
V
(
t
,
e
){
return
t
.
getAttribute
?
t
.
getAttribute
(
e
):
t
[
e
]}
function
O
(
t
){
return
"
auto
"
===
t
?
i
.
domSupported
?
"
html
"
:
"
richText
"
:
t
||
"
html
"
}
function
I
(
t
,
e
){
var
n
=
a
.
createHashMap
(),
i
=
[];
return
a
.
each
(
t
,(
function
(
t
){
var
a
=
e
(
t
);(
n
.
get
(
a
)
||
(
i
.
push
(
a
),
n
.
set
(
a
,[]))).
push
(
t
)})),{
keys
:
i
,
buckets
:
n
}}
e
.
normalizeToArray
=
l
,
e
.
defaultEmphasis
=
d
,
e
.
TEXT_STYLE_OPTIONS
=
u
,
e
.
getDataItemValue
=
p
,
e
.
isDataItemOption
=
m
,
e
.
mappingToExists
=
f
,
e
.
makeIdAndName
=
h
,
e
.
isNameSpecified
=
v
,
e
.
isIdInner
=
g
,
e
.
compressBatches
=
y
,
e
.
queryDataIndex
=
b
,
e
.
makeInner
=
_
,
e
.
parseFinder
=
x
,
e
.
setAttribute
=
S
,
e
.
getAttribute
=
V
,
e
.
getTooltipRenderMode
=
O
,
e
.
groupData
=
I
}}]);
\ No newline at end of file
dist/js/chunk-vendors.
e61d2fe0
.js
→
dist/js/chunk-vendors.
affefbbf
.js
浏览文件 @
7053bb4f
...
...
@@ -53,7 +53,7 @@ function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreat
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/
function o(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof a[n]}return!o&&r&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},"7bbc":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("94f8"),n("5980"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Base,i=n.WordArray,o=t.algo,a=o.SHA256,s=o.HMAC,l=o.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n=this.cfg,r=s.create(n.hasher,e),o=i.create(),a=i.create([1]),l=o.words,u=a.words,c=n.keySize,d=n.iterations;while(l.length<c){var f=r.update(t).finalize(a);r.reset();for(var h=f.words,p=h.length,v=f,m=1;m<d;m++){v=r.finalize(v),r.reset();for(var g=v.words,y=0;y<p;y++)h[y]^=g[y]}o.concat(f),u[0]++}return o.sigBytes=4*c,o}});t.PBKDF2=function(e,t,n){return l.create(n).compute(e,t)}}(),e.PBKDF2}))},"7cd6":function(e,t,n){var r=n("40c3"),i=n("5168")("iterator"),o=n("481b");e.exports=n("584a").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},"7e90":function(e,t,n){var r=n("d9f6"),i=n("e4ae"),o=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){i(e);var n,a=o(t),s=a.length,l=0;while(s>l)r.f(e,n=a[l++],t[n]);return e}},"7f20":function(e,t,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},"7f4d":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t]||{};for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];void 0!==o&&(e[i]=o)}}return e}},"7f7f":function(e,t,n){var r=n("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n("9e1e")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},"7fc1":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=93)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},4:function(e,t){e.exports=n("d010")},93:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},i=[];r._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[a.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},l=s,u=n(0),c=Object(u["a"])(l,r,i,!1,null,null,null);c.options.__file="packages/checkbox/src/checkbox-group.vue";var d=c.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},8079:function(e,t,n){var r=n("7726"),i=n("1991").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n("2d95")(a);e.exports=function(){var e,t,n,u=function(){var r,i;l&&(r=a.domain)&&r.exit();while(e){i=e.fn,e=e.next;try{i()}catch(o){throw e?n():t=void 0,o}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var d=!0,f=document.createTextNode("");new o(u).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},8122:function(e,t,n){"use strict";t.__esModule=!0,t.isMac=t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=u,t.hasOwn=c,t.toObject=f,t.getPropByPath=h,t.rafThrottle=y,t.objToArray=b;var i=n("a026"),o=s(i),a=n("a742");function s(e){return e&&e.__esModule?e:{default:e}}var l=Object.prototype.hasOwnProperty;function u(){}function c(e,t){return l.call(e,t)}function d(e,t){for(var n in t)e[n]=t[n];return e}function f(e){for(var t={},n=0;n<e.length;n++)e[n]&&d(t,e[n]);return t}t.getValueByPath=function(e,t){t=t||"";for(var n=t.split("."),r=e,i=null,o=0,a=n.length;o<a;o++){var s=n[o];if(!r)break;if(o===a-1){i=r[s];break}r=r[s]}return i};function h(e,t,n){var r=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var i=t.split("."),o=0,a=i.length;o<a-1;++o){if(!r&&!n)break;var s=i[o];if(!(s in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[s]}return{o:r,k:i[o],v:r?r[i[o]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var p=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},v=(t.arrayFind=function(e,t){var n=p(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!o.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!o.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!o.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":r(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var r=e[t];t&&r&&n.forEach((function(n){e[n+t]=r}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,a.isObject)(e),r=(0,a.isObject)(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}),m=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!v(e[n],t[n]))return!1;return!0},g=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?m(e,t):v(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function y(e){var t=!1;return function(){for(var n=this,r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];t||(t=!0,window.requestAnimationFrame((function(r){e.apply(n,i),t=!1})))}}function b(e){return Array.isArray(e)?e:g(e)?[]:[e]}t.isMac=function(){return!o.default.prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)}},"81bf":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t}(),e.mode.ECB}))},8378:function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},8436:function(e,t){e.exports=function(){}},"845f":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=97)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},97:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-button-group"},[e._t("default")],2)},i=[];r._withStripped=!0;var o={name:"ElButtonGroup"},a=o,s=n(0),l=Object(s["a"])(a,r,i,!1,null,null,null);l.options.__file="packages/button/src/button-group.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},"84f2":function(e,t){e.exports={}},"858e":function(e,t,n){"use strict";var r,i,o={props:{initial:{type:Boolean,default:!1}},data:function(){return{size:{width:-1,height:-1}}},methods:{reset:function(){var e=this.$el.firstChild,t=this.$el.lastChild;e.scrollLeft=1e5,e.scrollTop=1e5,t.scrollLeft=1e5,t.scrollTop=1e5},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight}},watch:{size:{deep:!0,handler:function(e){this.reset(),this.$emit("resize",{width:this.size.width,height:this.size.height})}}},render:function(e){var t="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",n="position: absolute; left: 0; top: 0;";return e("div",{style:t+"animation-name: resizeSensorVisibility;",on:{"~animationstart":this.update}},[e("div",{style:t,on:{scroll:this.update}},[e("div",{style:n+"width: 100000px; height: 100000px;"})]),e("div",{style:t,on:{scroll:this.update}},[e("div",{style:n+"width: 200%; height: 200%;"})])])},beforeDestroy:function(){this.$emit("resize",{width:0,height:0}),this.$emit("resizeSensorBeforeDestroy")},mounted:function(){if(!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"attachEvent"in this.$el&&!("AnimationEvent"in window)){var e=function(){this.update(),t()}.bind(this),t=function(){this.$el.detachEvent("onresize",e),this.$off("resizeSensorBeforeDestroy",t)}.bind(this);this.$el.attachEvent("onresize",e),this.$on("resizeSensorBeforeDestroy",t),this.reset()}}},a=o,s=(n("c0ef"),n("2877")),l=Object(s["a"])(a,r,i,!1,null,null,null),u=l.exports,c=function(e){var t=e.createLoadingTask,n=e.PDFJSWrapper;return{createLoadingTask:t,render:function(e){return e("span",{attrs:{style:"position: relative; display: block"}},[e("canvas",{attrs:{style:"display: inline-block; width: 100%; height: 100%; vertical-align: top"},ref:"canvas"}),e("span",{style:"display: inline-block; width: 100%; height: 100%",class:"annotationLayer",ref:"annotationLayer"}),e(u,{props:{initial:!0},on:{resize:this.resize}})])},props:{src:{type:[String,Object,Uint8Array],default:""},page:{type:Number,default:1},rotate:{type:Number}},watch:{src:function(){this.pdf.loadDocument(this.src)},page:function(){this.pdf.loadPage(this.page,this.rotate)},rotate:function(){this.pdf.renderPage(this.rotate)}},methods:{resize:function(e){if(null!==this.$el.parentNode&&(0!==e.width||0!==e.height)){this.$refs.canvas.style.height=this.$refs.canvas.offsetWidth*(this.$refs.canvas.height/this.$refs.canvas.width)+"px";var t=this.pdf.getResolutionScale();(t<.85||t>1.15)&&this.pdf.renderPage(this.rotate)}},print:function(e,t){this.pdf.printPage(e,t)}},mounted:function(){this.pdf=new n(this.$refs.canvas,this.$refs.annotationLayer,this.$emit.bind(this)),this.$on("loaded",(function(){this.pdf.loadPage(this.page,this.rotate)})),this.$on("page-size",(function(e,t){this.$refs.canvas.style.height=this.$refs.canvas.offsetWidth*(t/e)+"px"})),this.pdf.loadDocument(this.src)},destroyed:function(){this.pdf.destroy()}}};if("server"!==Object({NODE_ENV:"production",VUE_APP_BUILD_TIME:"2024-7-17 1
1:51:04
",VUE_APP_TITLE:"竞赛管理",VUE_APP_VERSION:"2.7.0",BASE_URL:""}).VUE_ENV){var d=n("a068").default,f=n("4383");if("undefined"!==typeof window&&"Worker"in window&&-1===navigator.appVersion.indexOf("MSIE 10")){var h=n("2639");f.GlobalWorkerOptions.workerPort=new h}var p=c(d(f))}else p=c({});var v,m,g=p,y=g,b=(n("f9a3"),Object(s["a"])(y,v,m,!1,null,null,null));t["a"]=b.exports},"85f2":function(e,t,n){e.exports=n("454f")},"86cc":function(e,t,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},8993:function(e,t,n){var r=n("67bb"),i=n("5d58");function o(t){return e.exports=o="function"==typeof r&&"symbol"==typeof i?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"8b97":function(e,t,n){var r=n("d3f4"),i=n("cb7c"),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},"8bbc":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=132)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},132:function(e,t,n){"use strict";n.r(t);var r,i,o={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(e){return-1!==["dark","light","plain"].indexOf(e)}}},methods:{handleClose:function(e){e.stopPropagation(),this.$emit("close",e)},handleClick:function(e){this.$emit("click",e)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(e){var t=this.type,n=this.tagSize,r=this.hit,i=this.effect,o=["el-tag",t?"el-tag--"+t:"",n?"el-tag--"+n:"",i?"el-tag--"+i:"",r&&"is-hit"],a=e("span",{class:o,style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&e("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?a:e("transition",{attrs:{name:"el-zoom-in-center"}},[a])}},a=o,s=n(0),l=Object(s["a"])(a,r,i,!1,null,null,null);l.options.__file="packages/tag/src/tag.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},"8c4f":function(e,t,n){"use strict";
function o(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof a[n]}return!o&&r&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},"7bbc":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("94f8"),n("5980"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Base,i=n.WordArray,o=t.algo,a=o.SHA256,s=o.HMAC,l=o.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n=this.cfg,r=s.create(n.hasher,e),o=i.create(),a=i.create([1]),l=o.words,u=a.words,c=n.keySize,d=n.iterations;while(l.length<c){var f=r.update(t).finalize(a);r.reset();for(var h=f.words,p=h.length,v=f,m=1;m<d;m++){v=r.finalize(v),r.reset();for(var g=v.words,y=0;y<p;y++)h[y]^=g[y]}o.concat(f),u[0]++}return o.sigBytes=4*c,o}});t.PBKDF2=function(e,t,n){return l.create(n).compute(e,t)}}(),e.PBKDF2}))},"7cd6":function(e,t,n){var r=n("40c3"),i=n("5168")("iterator"),o=n("481b");e.exports=n("584a").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},"7e90":function(e,t,n){var r=n("d9f6"),i=n("e4ae"),o=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){i(e);var n,a=o(t),s=a.length,l=0;while(s>l)r.f(e,n=a[l++],t[n]);return e}},"7f20":function(e,t,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},"7f4d":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t]||{};for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];void 0!==o&&(e[i]=o)}}return e}},"7f7f":function(e,t,n){var r=n("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n("9e1e")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},"7fc1":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=93)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},4:function(e,t){e.exports=n("d010")},93:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},i=[];r._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[a.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},l=s,u=n(0),c=Object(u["a"])(l,r,i,!1,null,null,null);c.options.__file="packages/checkbox/src/checkbox-group.vue";var d=c.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},8079:function(e,t,n){var r=n("7726"),i=n("1991").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n("2d95")(a);e.exports=function(){var e,t,n,u=function(){var r,i;l&&(r=a.domain)&&r.exit();while(e){i=e.fn,e=e.next;try{i()}catch(o){throw e?n():t=void 0,o}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var d=!0,f=document.createTextNode("");new o(u).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},8122:function(e,t,n){"use strict";t.__esModule=!0,t.isMac=t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=u,t.hasOwn=c,t.toObject=f,t.getPropByPath=h,t.rafThrottle=y,t.objToArray=b;var i=n("a026"),o=s(i),a=n("a742");function s(e){return e&&e.__esModule?e:{default:e}}var l=Object.prototype.hasOwnProperty;function u(){}function c(e,t){return l.call(e,t)}function d(e,t){for(var n in t)e[n]=t[n];return e}function f(e){for(var t={},n=0;n<e.length;n++)e[n]&&d(t,e[n]);return t}t.getValueByPath=function(e,t){t=t||"";for(var n=t.split("."),r=e,i=null,o=0,a=n.length;o<a;o++){var s=n[o];if(!r)break;if(o===a-1){i=r[s];break}r=r[s]}return i};function h(e,t,n){var r=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var i=t.split("."),o=0,a=i.length;o<a-1;++o){if(!r&&!n)break;var s=i[o];if(!(s in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[s]}return{o:r,k:i[o],v:r?r[i[o]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var p=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},v=(t.arrayFind=function(e,t){var n=p(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!o.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!o.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!o.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":r(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var r=e[t];t&&r&&n.forEach((function(n){e[n+t]=r}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,a.isObject)(e),r=(0,a.isObject)(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}),m=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!v(e[n],t[n]))return!1;return!0},g=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?m(e,t):v(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function y(e){var t=!1;return function(){for(var n=this,r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];t||(t=!0,window.requestAnimationFrame((function(r){e.apply(n,i),t=!1})))}}function b(e){return Array.isArray(e)?e:g(e)?[]:[e]}t.isMac=function(){return!o.default.prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)}},"81bf":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t}(),e.mode.ECB}))},8378:function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},8436:function(e,t){e.exports=function(){}},"845f":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=97)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},97:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-button-group"},[e._t("default")],2)},i=[];r._withStripped=!0;var o={name:"ElButtonGroup"},a=o,s=n(0),l=Object(s["a"])(a,r,i,!1,null,null,null);l.options.__file="packages/button/src/button-group.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},"84f2":function(e,t){e.exports={}},"858e":function(e,t,n){"use strict";var r,i,o={props:{initial:{type:Boolean,default:!1}},data:function(){return{size:{width:-1,height:-1}}},methods:{reset:function(){var e=this.$el.firstChild,t=this.$el.lastChild;e.scrollLeft=1e5,e.scrollTop=1e5,t.scrollLeft=1e5,t.scrollTop=1e5},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight}},watch:{size:{deep:!0,handler:function(e){this.reset(),this.$emit("resize",{width:this.size.width,height:this.size.height})}}},render:function(e){var t="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",n="position: absolute; left: 0; top: 0;";return e("div",{style:t+"animation-name: resizeSensorVisibility;",on:{"~animationstart":this.update}},[e("div",{style:t,on:{scroll:this.update}},[e("div",{style:n+"width: 100000px; height: 100000px;"})]),e("div",{style:t,on:{scroll:this.update}},[e("div",{style:n+"width: 200%; height: 200%;"})])])},beforeDestroy:function(){this.$emit("resize",{width:0,height:0}),this.$emit("resizeSensorBeforeDestroy")},mounted:function(){if(!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"attachEvent"in this.$el&&!("AnimationEvent"in window)){var e=function(){this.update(),t()}.bind(this),t=function(){this.$el.detachEvent("onresize",e),this.$off("resizeSensorBeforeDestroy",t)}.bind(this);this.$el.attachEvent("onresize",e),this.$on("resizeSensorBeforeDestroy",t),this.reset()}}},a=o,s=(n("c0ef"),n("2877")),l=Object(s["a"])(a,r,i,!1,null,null,null),u=l.exports,c=function(e){var t=e.createLoadingTask,n=e.PDFJSWrapper;return{createLoadingTask:t,render:function(e){return e("span",{attrs:{style:"position: relative; display: block"}},[e("canvas",{attrs:{style:"display: inline-block; width: 100%; height: 100%; vertical-align: top"},ref:"canvas"}),e("span",{style:"display: inline-block; width: 100%; height: 100%",class:"annotationLayer",ref:"annotationLayer"}),e(u,{props:{initial:!0},on:{resize:this.resize}})])},props:{src:{type:[String,Object,Uint8Array],default:""},page:{type:Number,default:1},rotate:{type:Number}},watch:{src:function(){this.pdf.loadDocument(this.src)},page:function(){this.pdf.loadPage(this.page,this.rotate)},rotate:function(){this.pdf.renderPage(this.rotate)}},methods:{resize:function(e){if(null!==this.$el.parentNode&&(0!==e.width||0!==e.height)){this.$refs.canvas.style.height=this.$refs.canvas.offsetWidth*(this.$refs.canvas.height/this.$refs.canvas.width)+"px";var t=this.pdf.getResolutionScale();(t<.85||t>1.15)&&this.pdf.renderPage(this.rotate)}},print:function(e,t){this.pdf.printPage(e,t)}},mounted:function(){this.pdf=new n(this.$refs.canvas,this.$refs.annotationLayer,this.$emit.bind(this)),this.$on("loaded",(function(){this.pdf.loadPage(this.page,this.rotate)})),this.$on("page-size",(function(e,t){this.$refs.canvas.style.height=this.$refs.canvas.offsetWidth*(t/e)+"px"})),this.pdf.loadDocument(this.src)},destroyed:function(){this.pdf.destroy()}}};if("server"!==Object({NODE_ENV:"production",VUE_APP_BUILD_TIME:"2024-7-17 1
5:28:38
",VUE_APP_TITLE:"竞赛管理",VUE_APP_VERSION:"2.7.0",BASE_URL:""}).VUE_ENV){var d=n("a068").default,f=n("4383");if("undefined"!==typeof window&&"Worker"in window&&-1===navigator.appVersion.indexOf("MSIE 10")){var h=n("2639");f.GlobalWorkerOptions.workerPort=new h}var p=c(d(f))}else p=c({});var v,m,g=p,y=g,b=(n("f9a3"),Object(s["a"])(y,v,m,!1,null,null,null));t["a"]=b.exports},"85f2":function(e,t,n){e.exports=n("454f")},"86cc":function(e,t,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},8993:function(e,t,n){var r=n("67bb"),i=n("5d58");function o(t){return e.exports=o="function"==typeof r&&"symbol"==typeof i?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"8b97":function(e,t,n){var r=n("d3f4"),i=n("cb7c"),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},"8bbc":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=132)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},132:function(e,t,n){"use strict";n.r(t);var r,i,o={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(e){return-1!==["dark","light","plain"].indexOf(e)}}},methods:{handleClose:function(e){e.stopPropagation(),this.$emit("close",e)},handleClick:function(e){this.$emit("click",e)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(e){var t=this.type,n=this.tagSize,r=this.hit,i=this.effect,o=["el-tag",t?"el-tag--"+t:"",n?"el-tag--"+n:"",i?"el-tag--"+i:"",r&&"is-hit"],a=e("span",{class:o,style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&e("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?a:e("transition",{attrs:{name:"el-zoom-in-center"}},[a])}},a=o,s=n(0),l=Object(s["a"])(a,r,i,!1,null,null,null);l.options.__file="packages/tag/src/tag.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},"8c4f":function(e,t,n){"use strict";
/*!
* vue-router v3.5.4
* (c) 2022 Evan You
src/components/CEditModal.vue
浏览文件 @
7053bb4f
...
...
@@ -129,6 +129,8 @@
:key=
"item.id"
>
<FormItem
:label=
"item.name"
:prop=
"item.name"
>
<span
v-if=
"item.type == 'input'"
>
{{
formData
[
item
.
id
]
}}
</span>
<span
v-if=
"item.type == 'textarea'"
>
{{
formData
[
item
.
id
]
}}
</span>
<!-- 存在问题:性别项,有时返回值为null,select的“不限”值为空字符串,会报错 -->
<span
v-if=
"item.type == 'select'"
>
{{
item
.
optList
[
item
.
optList
.
findIndex
(
a
=>
a
.
value
==
formData
[
item
.
id
])].
label
}}
...
...
src/pages/CompetitionSign/components/UpdateSignModal.vue
浏览文件 @
7053bb4f
...
...
@@ -682,7 +682,7 @@
//import引入的组件需要注入到对象中才能使用",
components
:
{},
props
:
[
'
signId
'
,
'
signId
'
,
'
runId
'
],
data
()
{
//这里存放数据",
...
...
@@ -1285,10 +1285,7 @@
//生命周期 - 挂载完成(可以访问DOM元素)",html模板已渲染
async
mounted
()
{
// clearInterval(this.countTimer)
// setInterval(() => {
// this.save()
// }, 1000 * 60 * 10)
this
.
getCompetiotionName
()
this
.
formValidate
.
flowid
=
this
.
$route
.
query
.
id
;
// this.formValidate.files_list.module = this.$route.query.remark;
...
...
@@ -2090,14 +2087,13 @@
await
this
.
hooks
.
myEncapsulationFunction
(
async
()
=>
{
this
.
formValidate
.
flowid
=
102
let
data
=
_
.
cloneDeep
(
this
.
formValidate
)
// 存在 runid 则是重新发起新流程
if
(
this
.
runId
)
data
.
runid
=
this
.
runId
const
res
=
await
api
.
FlowSignSubmit
(
data
)
this
.
$refs
.
handleSubmit
.
load
=
false
if
(
res
.
code
===
1
)
setTimeout
(()
=>
{
this
.
$emit
(
'
GetSignList
'
,
''
)
// this.$router.back()
// window.open("about:blank", "_top").close()
},
1500
)
this
.
$emit
(
'
resultValue
'
,
false
)
return
res
})
// hook.publicMessage(res)
...
...
src/pages/CompetitionSign/components/UpdateSignModalStudentSIgn.vue
浏览文件 @
7053bb4f
...
...
@@ -1550,6 +1550,7 @@
},
//生命周期 - 挂载完成(可以访问DOM元素)",html模板已渲染
async
mounted
()
{
console
.
log
(
"
🚀🚀runId🚀,
"
,
this
.
runId
)
this
.
getCompetiotionName
()
this
.
formValidate
.
flowid
=
this
.
$route
.
query
.
id
;
this
.
flowid
=
this
.
$route
.
query
.
id
;
...
...
src/pages/CompetitionSign/index.vue
浏览文件 @
7053bb4f
...
...
@@ -200,12 +200,18 @@
>
<Spin
fix
v-if=
"importLoading"
></Spin>
<div
style=
" display: flex;justify-content: space-around;"
>
<UpdateSignModal
v-if=
"updateSignModal && signFlag === 1"
@
GetSignList=
"getCompetitionSignList"
<UpdateSignModal
v-if=
"updateSignModal && signFlag === 1"
@
GetSignList=
"getCompetitionSignList"
@
resultValue=
"resultValue"
:signId=
"signId"
></UpdateSignModal>
<UpdateSignModalStudentSIgn
v-if=
"updateSignModal && signFlag === 0"
@
GetSignList=
"getCompetitionSignList"
:signId=
"signId"
>
</UpdateSignModal>
<UpdateSignModalStudentSIgn
v-if=
"updateSignModal && signFlag === 0"
@
GetSignList=
"getCompetitionSignList"
@
resultValue=
"resultValue"
:signId=
"signId"
></UpdateSignModalStudentSIgn>
:signId=
"signId"
>
</UpdateSignModalStudentSIgn>
</div>
<
template
#footer
>
<Button
type=
"text"
@
click=
"importModal =false"
>
关闭
</Button>
...
...
src/pages/eventApplication/components/student/add.vue
浏览文件 @
7053bb4f
...
...
@@ -130,7 +130,8 @@
"
flowid
"
:
this
.
flowid
,
"
module_id
"
:
this
.
module_id
,
"
module
"
:
this
.
module
,
"
competition_report
"
:
formValidate
,
// "competition_report": formValidate,
...
formValidate
,
'
files_list
'
:
files_list
,
}
...
...
src/pages/eventCatalogue/components/eventMatalogMaintenance.vue
浏览文件 @
7053bb4f
...
...
@@ -648,6 +648,7 @@
cancel
()
{
},
reset
()
{
console
.
log
(
"
🚀🚀🚀,
"
,
1
)
//重置
this
.
search
=
{
"
name
"
:
""
,
...
...
@@ -655,7 +656,7 @@
"
type
"
:
""
,
"
batch
"
:
""
,
"
way
"
:
""
,
"
is_tea
"
:
0
,
"
is_tea
"
:
this
.
$route
.
path
===
'
/eventCatalogue-teacherDirectory
'
?
1
:
0
,
"
approval_state
"
:
""
,
"
h_id
"
:
""
,
"
page_index
"
:
1
,
...
...
src/pages/flowAssemble/awaitDoneList.vue
浏览文件 @
7053bb4f
...
...
@@ -982,6 +982,7 @@
form_name
:
row
.
form_name
,
transferParams
:
JSON
.
stringify
({
...
this
.
transferParams
,
flow_id
:
this
.
init
.
flow_id1
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
}),
...
...
src/pages/flowAssemble/completeFlow.vue
浏览文件 @
7053bb4f
...
...
@@ -1332,6 +1332,7 @@
flowInfo
:
'
流程详细信息
'
,
transferParams
:
JSON
.
stringify
({
...
this
.
transferParams
,
flow_id
:
this
.
init
.
flow_id1
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
}),
...
...
src/pages/flowAssemble/myFlow.vue
浏览文件 @
7053bb4f
...
...
@@ -201,7 +201,7 @@
<div
style=
" display: flex;justify-content: space-around;"
>
<UpdateSignModal
v-if=
"sign.updateSignModal && sign.signFlag === 1"
@
GetSignList=
"GetFlowTaskList"
@
resultValue=
"resultValue"
:signId=
"sign.signId"
></UpdateSignModal>
:signId=
"sign.signId"
:runId=
"sign.runId"
></UpdateSignModal>
<UpdateSignModalStudentSIgn
v-if=
"sign.updateSignModal && sign.signFlag === 0"
@
GetSignList=
"GetFlowTaskList"
@
resultValue=
"resultValue"
:signId=
"sign.signId"
:runId=
"sign.runId"
></UpdateSignModalStudentSIgn>
...
...
@@ -1392,6 +1392,7 @@
flowInfo
:
'
流程详细信息
'
,
transferParams
:
JSON
.
stringify
({
...
this
.
transferParams
,
flow_id
:
this
.
init
.
flow_id1
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
}),
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录