Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
C
competitionWeb
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
competitionWeb
提交
6ca82df6
提交
6ca82df6
编写于
12月 19, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
v20241218 1. 所有待办、已办、我的流程列表,成绩统计下赛事报名、成绩申报、奖励申请列表,追加所属院系、竞赛时间查询条件;
上级
f55e7b5e
流水线
#31987
已通过 ,包含阶段
in 52 second
变更
13
流水线
1
显示空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
11 行增加
和
20 行删除
+11
-20
chunk-3c98dee3.7d42a3c4.css
dist/css/chunk-3c98dee3.7d42a3c4.css
+1
-1
chunk-40cd7635.f93e2847.css
dist/css/chunk-40cd7635.f93e2847.css
+1
-1
chunk-9f0b9b24.351ad90d.css
dist/css/chunk-9f0b9b24.351ad90d.css
+1
-1
index.html
dist/index.html
+1
-1
app~748942c6.df61a6c2.js
dist/js/app~748942c6.df61a6c2.js
+2
-2
chunk-3c98dee3.37edb10f.js
dist/js/chunk-3c98dee3.37edb10f.js
+1
-0
chunk-40cd7635.c0971301.js
dist/js/chunk-40cd7635.c0971301.js
+1
-0
chunk-4c194c8d.14f52a1e.js
dist/js/chunk-4c194c8d.14f52a1e.js
+0
-1
chunk-9f0b9b24.879c6a9e.js
dist/js/chunk-9f0b9b24.879c6a9e.js
+1
-0
chunk-a95ae380.c41b70f9.js
dist/js/chunk-a95ae380.c41b70f9.js
+0
-1
chunk-b1c41224.d16b61fc.js
dist/js/chunk-b1c41224.d16b61fc.js
+0
-1
chunk-vendors~f9ca8911.338f102b.js
dist/js/chunk-vendors~f9ca8911.338f102b.js
+1
-1
batchManagement.vue
src/pages/eventCatalogue/components/batchManagement.vue
+1
-10
未找到文件。
dist/css/chunk-
b1c41224.f8faccb9
.css
→
dist/css/chunk-
3c98dee3.7d42a3c4
.css
浏览文件 @
6ca82df6
.buttonFocus
[
data-v-d0bc5dcc
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-d0bc5dcc
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-d0bc5dcc
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-d35d1902
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.demo-drawer-footer
[
data-v-d35d1902
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
[
data-v-e2eec3de
]
.ivu-menu
{
display
:
block
;
margin
:
0
;
padding
:
0
;
outline
:
none
;
list-style
:
none
;
color
:
#515a6e
;
font-size
:
14px
;
position
:
relative
;
z-index
:
1
}
\ No newline at end of file
.buttonFocus
[
data-v-d0bc5dcc
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-d0bc5dcc
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-d0bc5dcc
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-5a1ef413
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.demo-drawer-footer
[
data-v-5a1ef413
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
[
data-v-e2eec3de
]
.ivu-menu
{
display
:
block
;
margin
:
0
;
padding
:
0
;
outline
:
none
;
list-style
:
none
;
color
:
#515a6e
;
font-size
:
14px
;
position
:
relative
;
z-index
:
1
}
\ No newline at end of file
dist/css/chunk-
a95ae380.f501daa5
.css
→
dist/css/chunk-
40cd7635.f93e2847
.css
浏览文件 @
6ca82df6
.buttonFocus
[
data-v-d0bc5dcc
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-d0bc5dcc
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-d0bc5dcc
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-d35d1902
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.demo-drawer-footer
[
data-v-d35d1902
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
[
data-v-3892b798
]
.ivu-menu
{
display
:
block
;
margin
:
0
;
padding
:
0
;
outline
:
none
;
list-style
:
none
;
color
:
#515a6e
;
font-size
:
14px
;
position
:
relative
;
z-index
:
1
}
\ No newline at end of file
.buttonFocus
[
data-v-d0bc5dcc
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-d0bc5dcc
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-d0bc5dcc
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-5a1ef413
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.demo-drawer-footer
[
data-v-5a1ef413
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
[
data-v-3892b798
]
.ivu-menu
{
display
:
block
;
margin
:
0
;
padding
:
0
;
outline
:
none
;
list-style
:
none
;
color
:
#515a6e
;
font-size
:
14px
;
position
:
relative
;
z-index
:
1
}
\ No newline at end of file
dist/css/chunk-
4c194c8d.16eda6e1
.css
→
dist/css/chunk-
9f0b9b24.351ad90d
.css
浏览文件 @
6ca82df6
.buttonFocus
[
data-v-d0bc5dcc
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-d0bc5dcc
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-d0bc5dcc
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-d35d1902
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.demo-drawer-footer
[
data-v-d35d1902
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
\ No newline at end of file
.buttonFocus
[
data-v-d0bc5dcc
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-d0bc5dcc
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-d0bc5dcc
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-5a1ef413
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.demo-drawer-footer
[
data-v-5a1ef413
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
\ No newline at end of file
dist/index.html
浏览文件 @
6ca82df6
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
竞赛管理
</title><link
href=
css/chunk-vendors~253ae210.71a233fb.css
rel=
stylesheet
><link
href=
css/chunk-vendors~f9ca8911.6d189742.css
rel=
stylesheet
><link
href=
css/app~748942c6.7366d5e6.css
rel=
stylesheet
></head><body><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 竞赛管理。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors~253ae210.760a789e.js
></script><script
src=
js/chunk-vendors~db300d2f.e266578a.js
></script><script
src=
js/chunk-vendors~690b702c.00a2f77e.js
></script><script
src=
js/chunk-vendors~f9ca8911.a25a7133.js
></script><script
src=
js/app~748942c6.2230014d.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~253ae210.71a233fb.css
rel=
stylesheet
><link
href=
css/chunk-vendors~f9ca8911.6d189742.css
rel=
stylesheet
><link
href=
css/app~748942c6.7366d5e6.css
rel=
stylesheet
></head><body><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 竞赛管理。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors~253ae210.760a789e.js
></script><script
src=
js/chunk-vendors~db300d2f.e266578a.js
></script><script
src=
js/chunk-vendors~690b702c.00a2f77e.js
></script><script
src=
js/chunk-vendors~f9ca8911.338f102b.js
></script><script
src=
js/app~748942c6.df61a6c2.js
></script></body></html>
\ No newline at end of file
dist/js/app~748942c6.
2230014d
.js
→
dist/js/app~748942c6.
df61a6c2
.js
浏览文件 @
6ca82df6
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-3c98dee3.37edb10f.js
0 → 100644
浏览文件 @
6ca82df6
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-3c98dee3
"
],{
1578
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
c484
"
)},
"
22d1
"
:
function
(
t
,
e
){
var
a
=
{};
a
=
"
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
n
=
a
;
function
i
(
t
){
var
e
=
{},
a
=
{},
n
=
t
.
match
(
/Firefox
\/([\d
.
]
+
)
/
),
i
=
t
.
match
(
/MSIE
\s([\d
.
]
+
)
/
)
||
t
.
match
(
/Trident
\/
.+
?
rv:
(([\d
.
]
+
))
/
),
o
=
t
.
match
(
/Edge
\/([\d
.
]
+
)
/
),
r
=
/micromessenger/i
.
test
(
t
);
return
n
&&
(
a
.
firefox
=!
0
,
a
.
version
=
n
[
1
]),
i
&&
(
a
.
ie
=!
0
,
a
.
version
=
i
[
1
]),
o
&&
(
a
.
edge
=!
0
,
a
.
version
=
o
[
1
]),
r
&&
(
a
.
weChat
=!
0
),{
browser
:
a
,
os
:
e
,
node
:
!
1
,
canvasSupported
:
!!
document
.
createElement
(
"
canvas
"
).
getContext
,
svgSupported
:
"
undefined
"
!==
typeof
SVGRect
,
touchEventsSupported
:
"
ontouchstart
"
in
window
&&!
a
.
ie
&&!
a
.
edge
,
pointerEventsSupported
:
"
onpointerdown
"
in
window
&&
(
a
.
edge
||
a
.
ie
&&
a
.
version
>=
11
),
domSupported
:
"
undefined
"
!==
typeof
document
}}
t
.
exports
=
n
},
"
386d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
a
(
"
cb7c
"
),
i
=
a
(
"
83a1
"
),
o
=
a
(
"
5f1b
"
);
a
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
a
,
r
){
return
[
function
(
a
){
var
n
=
t
(
this
),
i
=
void
0
==
a
?
void
0
:
a
[
e
];
return
void
0
!==
i
?
i
.
call
(
a
,
n
):
new
RegExp
(
a
)[
e
](
String
(
n
))},
function
(
t
){
var
e
=
r
(
a
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
c
=
n
(
t
),
s
=
String
(
this
),
l
=
c
.
lastIndex
;
i
(
l
,
0
)
||
(
c
.
lastIndex
=
0
);
var
u
=
o
(
c
,
s
);
return
i
(
c
.
lastIndex
,
l
)
||
(
c
.
lastIndex
=
l
),
null
===
u
?
-
1
:
u
.
index
}]}))},
"
6d8b
"
:
function
(
t
,
e
){
var
a
=
{
"
[object Function]
"
:
1
,
"
[object RegExp]
"
:
1
,
"
[object Date]
"
:
1
,
"
[object Error]
"
:
1
,
"
[object CanvasGradient]
"
:
1
,
"
[object CanvasPattern]
"
:
1
,
"
[object Image]
"
:
1
,
"
[object Canvas]
"
:
1
},
n
=
{
"
[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
,
o
=
Array
.
prototype
,
r
=
o
.
forEach
,
c
=
o
.
filter
,
s
=
o
.
slice
,
l
=
o
.
map
,
u
=
o
.
reduce
,
d
=
{};
function
p
(
t
,
e
){
"
createCanvas
"
===
t
&&
(
y
=
null
),
d
[
t
]
=
e
}
function
m
(
t
){
if
(
null
==
t
||
"
object
"
!==
typeof
t
)
return
t
;
var
e
=
t
,
o
=
i
.
call
(
t
);
if
(
"
[object Array]
"
===
o
){
if
(
!
Y
(
t
)){
e
=
[];
for
(
var
r
=
0
,
c
=
t
.
length
;
r
<
c
;
r
++
)
e
[
r
]
=
m
(
t
[
r
])}}
else
if
(
n
[
o
]){
if
(
!
Y
(
t
)){
var
s
=
t
.
constructor
;
if
(
t
.
constructor
.
from
)
e
=
s
.
from
(
t
);
else
{
e
=
new
s
(
t
.
length
);
for
(
r
=
0
,
c
=
t
.
length
;
r
<
c
;
r
++
)
e
[
r
]
=
m
(
t
[
r
])}}}
else
if
(
!
a
[
o
]
&&!
Y
(
t
)
&&!
R
(
t
))
for
(
var
l
in
e
=
{},
t
)
t
.
hasOwnProperty
(
l
)
&&
(
e
[
l
]
=
m
(
t
[
l
]));
return
e
}
function
h
(
t
,
e
,
a
){
if
(
!
A
(
e
)
||!
A
(
t
))
return
a
?
m
(
e
):
t
;
for
(
var
n
in
e
)
if
(
e
.
hasOwnProperty
(
n
)){
var
i
=
t
[
n
],
o
=
e
[
n
];
!
A
(
o
)
||!
A
(
i
)
||
E
(
o
)
||
E
(
i
)
||
R
(
o
)
||
R
(
i
)
||
D
(
o
)
||
D
(
i
)
||
Y
(
o
)
||
Y
(
i
)?
!
a
&&
n
in
t
||
(
t
[
n
]
=
m
(
e
[
n
],
!
0
)):
h
(
i
,
o
,
a
)}
return
t
}
function
f
(
t
,
e
){
for
(
var
a
=
t
[
0
],
n
=
1
,
i
=
t
.
length
;
n
<
i
;
n
++
)
a
=
h
(
a
,
t
[
n
],
e
);
return
a
}
function
g
(
t
,
e
){
for
(
var
a
in
e
)
e
.
hasOwnProperty
(
a
)
&&
(
t
[
a
]
=
e
[
a
]);
return
t
}
function
v
(
t
,
e
,
a
){
for
(
var
n
in
e
)
e
.
hasOwnProperty
(
n
)
&&
(
a
?
null
!=
e
[
n
]:
null
==
t
[
n
])
&&
(
t
[
n
]
=
e
[
n
]);
return
t
}
var
y
,
b
=
function
(){
return
d
.
createCanvas
()};
function
w
(){
return
y
||
(
y
=
b
().
getContext
(
"
2d
"
)),
y
}
function
_
(
t
,
e
){
if
(
t
){
if
(
t
.
indexOf
)
return
t
.
indexOf
(
e
);
for
(
var
a
=
0
,
n
=
t
.
length
;
a
<
n
;
a
++
)
if
(
t
[
a
]
===
e
)
return
a
}
return
-
1
}
function
x
(
t
,
e
){
var
a
=
t
.
prototype
;
function
n
(){}
for
(
var
i
in
n
.
prototype
=
e
.
prototype
,
t
.
prototype
=
new
n
,
a
)
a
.
hasOwnProperty
(
i
)
&&
(
t
.
prototype
[
i
]
=
a
[
i
]);
t
.
prototype
.
constructor
=
t
,
t
.
superClass
=
e
}
function
S
(
t
,
e
,
a
){
t
=
"
prototype
"
in
t
?
t
.
prototype
:
t
,
e
=
"
prototype
"
in
e
?
e
.
prototype
:
e
,
v
(
t
,
e
,
a
)}
function
k
(
t
){
if
(
t
)
return
"
string
"
!==
typeof
t
&&
"
number
"
===
typeof
t
.
length
}
function
B
(
t
,
e
,
a
){
if
(
t
&&
e
)
if
(
t
.
forEach
&&
t
.
forEach
===
r
)
t
.
forEach
(
e
,
a
);
else
if
(
t
.
length
===+
t
.
length
)
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
e
.
call
(
a
,
t
[
n
],
n
,
t
);
else
for
(
var
o
in
t
)
t
.
hasOwnProperty
(
o
)
&&
e
.
call
(
a
,
t
[
o
],
o
,
t
)}
function
C
(
t
,
e
,
a
){
if
(
t
&&
e
){
if
(
t
.
map
&&
t
.
map
===
l
)
return
t
.
map
(
e
,
a
);
for
(
var
n
=
[],
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
n
.
push
(
e
.
call
(
a
,
t
[
i
],
i
,
t
));
return
n
}}
function
L
(
t
,
e
,
a
,
n
){
if
(
t
&&
e
){
if
(
t
.
reduce
&&
t
.
reduce
===
u
)
return
t
.
reduce
(
e
,
a
,
n
);
for
(
var
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
a
=
e
.
call
(
n
,
a
,
t
[
i
],
i
,
t
);
return
a
}}
function
O
(
t
,
e
,
a
){
if
(
t
&&
e
){
if
(
t
.
filter
&&
t
.
filter
===
c
)
return
t
.
filter
(
e
,
a
);
for
(
var
n
=
[],
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
e
.
call
(
a
,
t
[
i
],
i
,
t
)
&&
n
.
push
(
t
[
i
]);
return
n
}}
function
I
(
t
,
e
,
a
){
if
(
t
&&
e
)
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
if
(
e
.
call
(
a
,
t
[
n
],
n
,
t
))
return
t
[
n
]}
function
V
(
t
,
e
){
var
a
=
s
.
call
(
arguments
,
2
);
return
function
(){
return
t
.
apply
(
e
,
a
.
concat
(
s
.
call
(
arguments
)))}}
function
j
(
t
){
var
e
=
s
.
call
(
arguments
,
1
);
return
function
(){
return
t
.
apply
(
this
,
e
.
concat
(
s
.
call
(
arguments
)))}}
function
E
(
t
){
return
"
[object Array]
"
===
i
.
call
(
t
)}
function
M
(
t
){
return
"
function
"
===
typeof
t
}
function
F
(
t
){
return
"
[object String]
"
===
i
.
call
(
t
)}
function
A
(
t
){
var
e
=
typeof
t
;
return
"
function
"
===
e
||!!
t
&&
"
object
"
===
e
}
function
D
(
t
){
return
!!
a
[
i
.
call
(
t
)]}
function
P
(
t
){
return
!!
n
[
i
.
call
(
t
)]}
function
R
(
t
){
return
"
object
"
===
typeof
t
&&
"
number
"
===
typeof
t
.
nodeType
&&
"
object
"
===
typeof
t
.
ownerDocument
}
function
T
(
t
){
return
t
!==
t
}
function
G
(
t
){
for
(
var
e
=
0
,
a
=
arguments
.
length
;
e
<
a
;
e
++
)
if
(
null
!=
arguments
[
e
])
return
arguments
[
e
]}
function
$
(
t
,
e
){
return
null
!=
t
?
t
:
e
}
function
z
(
t
,
e
,
a
){
return
null
!=
t
?
t
:
null
!=
e
?
e
:
a
}
function
W
(){
return
Function
.
call
.
apply
(
s
,
arguments
)}
function
q
(
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
N
(
t
,
e
){
if
(
!
t
)
throw
new
Error
(
e
)}
function
U
(
t
){
return
null
==
t
?
null
:
"
function
"
===
typeof
t
.
trim
?
t
.
trim
():
t
.
replace
(
/^
[\s\u
FEFF
\x
A0
]
+|
[\s\u
FEFF
\x
A0
]
+$/g
,
""
)}
d
.
createCanvas
=
function
(){
return
document
.
createElement
(
"
canvas
"
)};
var
H
=
"
__ec_primitive__
"
;
function
J
(
t
){
t
[
H
]
=!
0
}
function
Y
(
t
){
return
t
[
H
]}
function
K
(
t
){
var
e
=
E
(
t
);
this
.
data
=
{};
var
a
=
this
;
function
n
(
t
,
n
){
e
?
a
.
set
(
t
,
n
):
a
.
set
(
n
,
t
)}
t
instanceof
K
?
t
.
each
(
n
):
t
&&
B
(
t
,
n
)}
function
X
(
t
){
return
new
K
(
t
)}
function
Q
(
t
,
e
){
for
(
var
a
=
new
t
.
constructor
(
t
.
length
+
e
.
length
),
n
=
0
;
n
<
t
.
length
;
n
++
)
a
[
n
]
=
t
[
n
];
var
i
=
t
.
length
;
for
(
n
=
0
;
n
<
e
.
length
;
n
++
)
a
[
n
+
i
]
=
e
[
n
];
return
a
}
function
Z
(){}
K
.
prototype
=
{
constructor
:
K
,
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
a
in
void
0
!==
e
&&
(
t
=
V
(
t
,
e
)),
this
.
data
)
this
.
data
.
hasOwnProperty
(
a
)
&&
t
(
this
.
data
[
a
],
a
)},
removeKey
:
function
(
t
){
delete
this
.
data
[
t
]}},
e
.
$override
=
p
,
e
.
clone
=
m
,
e
.
merge
=
h
,
e
.
mergeAll
=
f
,
e
.
extend
=
g
,
e
.
defaults
=
v
,
e
.
createCanvas
=
b
,
e
.
getContext
=
w
,
e
.
indexOf
=
_
,
e
.
inherits
=
x
,
e
.
mixin
=
S
,
e
.
isArrayLike
=
k
,
e
.
each
=
B
,
e
.
map
=
C
,
e
.
reduce
=
L
,
e
.
filter
=
O
,
e
.
find
=
I
,
e
.
bind
=
V
,
e
.
curry
=
j
,
e
.
isArray
=
E
,
e
.
isFunction
=
M
,
e
.
isString
=
F
,
e
.
isObject
=
A
,
e
.
isBuiltInObject
=
D
,
e
.
isTypedArray
=
P
,
e
.
isDom
=
R
,
e
.
eqNaN
=
T
,
e
.
retrieve
=
G
,
e
.
retrieve2
=
$
,
e
.
retrieve3
=
z
,
e
.
slice
=
W
,
e
.
normalizeCssArray
=
q
,
e
.
assert
=
N
,
e
.
trim
=
U
,
e
.
setAsPrimitive
=
J
,
e
.
isPrimitive
=
Y
,
e
.
createHashMap
=
X
,
e
.
concatArray
=
Q
,
e
.
noop
=
Z
},
"
70f3
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
95c7
"
)},
"
736d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
98b0
"
)},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
"
95c7
"
:
function
(
t
,
e
,
a
){},
"
98b0
"
:
function
(
t
,
e
,
a
){},
"
9cc4
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
t
.
addBatch
}},[
t
.
_v
(
"
添加赛事批次
"
)])]},
proxy
:
!
0
}])},[
a
(
"
br
"
),
a
(
"
br
"
),
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
bed_time
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
n
.
bed_time
?
a
(
"
span
"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
n
.
bed_time
.
split
(
"
00:00
"
)[
0
]
+
"
~
"
+
n
.
end_time
.
split
(
"
00:00
"
)[
0
])
+
"
\n
"
)]):
t
.
_e
()]}},{
key
:
"
competition_method
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
blue
"
][
n
.
competition_method
]}},[
t
.
_v
(
t
.
_s
([
"
学生
"
,
"
教师
"
][
n
.
competition_method
]))])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
batchSynchronization
(
n
)}}},[
t
.
_v
(
"
批次同步
"
)]),
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
edit
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]),
1
==
n
.
is_allow_delete
?
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
n
)},
"
on-cancel
"
:
t
.
cancel
}},[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)])]):
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
#C5C8CE
"
}},[
t
.
_v
(
"
删除
"
)])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
50
,
title
:
"
添加赛事学年
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
batchModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
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
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_name
"
}},[
a
(
"
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
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛起止时间
"
,
prop
:
"
dateRange
"
}},[
a
(
"
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
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
备注
"
,
prop
:
"
remark
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
批次同步
"
,
width
:
80
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
curBatch
.
show
=!
1
}}},[
t
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
curBatch
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
curBatch
,
"
show
"
,
e
)},
expression
:
"
curBatch.show
"
}},[
a
(
"
cs-search-cond-form
"
,{
ref
:
"
searchCondForm
"
,
attrs
:{
searchCondList
:
t
.
curBatch
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
curBatch
.
params
},
on
:{
onSubmit
:
t
.
searchModal
,
onReset
:
t
.
resetModal
}}),
a
(
"
div
"
,[
a
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
function
(
e
){
t
.
awaitSelectBatch
.
show
=!
0
,
t
.
getAwaitSelectBatchData
()}}},[
t
.
_v
(
"
选择同步批次
"
)])],
1
),
a
(
"
csCTable
"
,{
attrs
:{
tableColumns
:
t
.
curBatch
.
columns
.
filter
((
function
(
t
){
return
t
.
show
})),
tableData
:
t
.
curBatch
.
data
,
tableLoading
:
t
.
curBatch
.
loading
,
dataCount
:
t
.
curBatch
.
dataCount
,
pageIndex
:
t
.
curBatch
.
params
.
page_index
,
pageSize
:
t
.
curBatch
.
params
.
page_size
},
on
:{
onPageChange
:
t
.
onPageChange
,
onPageSizeChange
:
t
.
onPageSizeChange
}}),
a
(
"
Drawer
"
,{
attrs
:{
"
mask-closable
"
:
!
1
,
transfer
:
!
1
,
draggable
:
!
0
,
width
:
950
,
title
:
"
选择同步批次
"
},
model
:{
value
:
t
.
awaitSelectBatch
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
,
"
show
"
,
e
)},
expression
:
"
awaitSelectBatch.show
"
}},[
a
(
"
Form
"
,{
attrs
:{
model
:
t
.
awaitSelectBatch
.
formData
,
"
label-width
"
:
80
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
目的批次
"
}},[
a
(
"
Select
"
,{
model
:{
value
:
t
.
awaitSelectBatch
.
formData
.
target_batch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
.
formData
,
"
target_batch
"
,
e
)},
expression
:
"
awaitSelectBatch.formData.target_batch
"
}},
t
.
_l
(
t
.
batchList
,(
function
(
e
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
源批次
"
}},[
a
(
"
Select
"
,{
attrs
:{
clearable
:
""
},
on
:{
"
on-change
"
:
t
.
sourceBatchChange
},
model
:{
value
:
t
.
awaitSelectBatch
.
formData
.
source_batch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
.
formData
,
"
source_batch
"
,
e
)},
expression
:
"
awaitSelectBatch.formData.source_batch
"
}},
t
.
_l
(
t
.
batchList
.
filter
((
function
(
e
){
return
e
.
value
!==
t
.
awaitSelectBatch
.
formData
.
target_batch
})),(
function
(
e
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
)
+
"
\n
"
)])})),
1
)],
1
)],
1
),
a
(
"
csCTable
"
,{
attrs
:{
tableColumns
:
t
.
awaitSelectBatch
.
columns
.
filter
((
function
(
t
){
return
t
.
show
})),
tableData
:
t
.
awaitSelectBatch
.
data
,
tableLoading
:
t
.
awaitSelectBatch
.
loading
,
dataCount
:
t
.
awaitSelectBatch
.
dataCount
,
pageIndex
:
t
.
awaitSelectBatch
.
params
.
page_index
,
pageSize
:
t
.
awaitSelectBatch
.
params
.
page_size
},
on
:{
onPageChange
:
t
.
onPageChangeAwaitSelectBatch
,
onPageSizeChange
:
t
.
onPageSizeChangeAwaitSelectBatch
,
onSelectionChange
:
t
.
onSelectionChange
}}),
a
(
"
div
"
,{
staticClass
:
"
demo-drawer-footer
"
},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
8px
"
},
on
:{
click
:
function
(
e
){
t
.
awaitSelectBatch
.
show
=!
1
}}},[
t
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
commitSyncBatch
}},[
t
.
_v
(
"
提交同步批次
"
)])],
1
)],
1
)],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
456d
"
),
a
(
"
ac6a
"
),
a
(
"
7f7f
"
),
a
(
"
96cf
"
),
a
(
"
3b8d
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
bd86
"
)),
c
=
a
(
"
967e
"
),
s
=
a
.
n
(
c
),
l
=
a
(
"
7f6b
"
),
u
=
a
(
"
d02c
"
),
d
=
a
(
"
61be
"
);
function
p
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
p
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
r
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
p
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
h
=
{
components
:{},
props
:[
"
studentOrTeacher
"
],
data
:
function
(){
return
{
awaitSelectBatch
:{
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
}]}],
dataCount
:
0
,
show
:
!
1
,
data
:[],
columns
:[{
title
:
"
序号
"
,
type
:
"
selection
"
,
show
:
!
0
,
minWidth
:
80
,
fixed
:
"
left
"
,
align
:
"
center
"
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
key
:
"
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
}],
loading
:
!
1
,
params
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
},
formData
:{
competition_id_list
:[],
source_batch
:
""
,
target_batch
:
""
}},
batchList
:[],
curBatch
:{
searchCondList
:[{
id
:
"
batch
"
,
name
:
"
赛事批次
"
,
type
:
"
select
"
,
show
:
!
0
,
disabled
:
!
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
}]}],
dataCount
:
0
,
show
:
!
1
,
data
:[],
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
minWidth
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
key
:
"
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
}],
loading
:
!
1
,
params
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
}},
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
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
commitSyncBatch
:
function
(){
var
t
=
this
;
d
[
"
publicConfirm
"
]((
function
(){
d
[
"
myEncapsulationFunction
"
]((
function
(){
return
u
[
"
postApiCommonBatchSync
"
](
t
.
awaitSelectBatch
.
formData
).
then
((
function
(
e
){
return
1
===
e
.
code
&&
(
t
.
getMdoalData
(),
t
.
awaitSelectBatch
.
show
=!
1
),
e
}),
!
1
,
"
同步中...
"
)}))}))},
sourceBatchChange
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
batch
=
t
,
this
.
getAwaitSelectBatchData
()},
onSelectionChange
:
function
(
t
){
this
.
awaitSelectBatch
.
formData
.
competition_id_list
=
t
.
map
((
function
(
t
){
return
t
.
competitionreportid
}))},
getAwaitSelectBatchData
:
function
(){
var
t
=
this
;
this
.
awaitSelectBatch
.
loading
=!
0
,
u
[
"
postApiCompetitionReportApiCompetitionReportGetReportList
"
](
this
.
awaitSelectBatch
.
params
).
then
((
function
(
e
){
t
.
awaitSelectBatch
.
data
=
e
.
response
.
data
,
t
.
awaitSelectBatch
.
dataCount
=
e
.
response
.
data_count
,
t
.
awaitSelectBatch
.
loading
=!
1
})).
finally
((
function
(){
t
.
awaitSelectBatch
.
loading
=!
1
}))},
onPageChangeAwaitSelectBatch
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
page_index
=
t
,
this
.
getAwaitSelectBatchData
()},
onPageSizeChangeAwaitSelectBatch
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
page_size
=
t
,
1
==
this
.
awaitSelectBatch
.
params
.
page_index
&&
this
.
onPageChangeAwaitSelectBatch
(
1
)},
resetModal
:
function
(){
this
.
curBatch
.
params
=
{
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
.
getMdoalData
()},
searchModal
:
function
(
t
){
this
.
curBatch
.
params
=
m
(
m
(
m
({},
this
.
curBatch
.
params
),
t
),{},{
page_index
:
1
}),
this
.
getMdoalData
()},
batchSynchronization
:
function
(
t
){
this
.
$refs
.
searchCondForm
.
searchCondObj
.
batch
=
t
.
competitionbatchid
,
this
.
curBatch
.
params
.
batch
=
t
.
competitionbatchid
,
this
.
awaitSelectBatch
.
formData
.
target_batch
=
t
.
competitionbatchid
,
this
.
getMdoalData
(),
this
.
curBatch
.
show
=!
0
},
getMdoalData
:
function
(){
var
t
=
this
;
this
.
curBatch
.
loading
=!
0
,
u
[
"
postApiCompetitionReportApiCompetitionReportGetReportList
"
](
this
.
curBatch
.
params
).
then
((
function
(
e
){
t
.
curBatch
.
data
=
e
.
response
.
data
,
t
.
curBatch
.
dataCount
=
e
.
response
.
data_count
,
t
.
curBatch
.
loading
=!
1
})).
finally
((
function
(){
t
.
curBatch
.
loading
=!
1
}))},
onPageChange
:
function
(
t
){
this
.
curBatch
.
params
.
page_index
=
t
,
this
.
getMdoalData
()},
onPageSizeChange
:
function
(
t
){
this
.
curBatch
.
params
.
page_size
=
t
,
1
==
this
.
curBatch
.
params
.
page_index
&&
this
.
onPageChange
(
1
)},
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
=
m
(
m
({},
t
),{},{
dateRange
:
e
})},
cancel
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
Object
(
d
[
"
myEncapsulationFunction
"
])(
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
BatchDel
"
]({
id
:
t
.
competitionbatchid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetBatchList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
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
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
BatchSave
"
](
t
.
formValidate
);
case
2
:
return
a
=
e
.
sent
,
1
===
a
.
code
&&
t
.
GetBatchList
(),
e
.
abrupt
(
"
return
"
,
a
);
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
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
loading
=!
0
,
a
=
{
page_index
:
t
.
init
.
page_index
,
page_size
:
t
.
init
.
page_size
,
competition_method
:
t
.
init
.
competition_method
},
e
.
next
=
4
,
t
.
asc
.
getApiCommonGetBatchList
(
a
);
case
4
:
n
=
e
.
sent
,
t
.
data
=
n
.
response
.
data
,
t
.
init
.
total
=
n
.
response
.
data_count
,
t
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetHierarchySelect
:
function
(){
var
t
=
this
;
this
.
asc
.
getApiCommonGetHierarchySelect
().
then
((
function
(
e
){
t
.
curBatch
.
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
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
a
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
a
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
4
:
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
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})),
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))}))}},
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
(),
this
.
GetHierarchySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetBatchBySelect
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
h
,
g
=
(
a
(
"
70f3
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
5a1ef413
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
c409
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
Card
"
,[
a
(
"
Menu
"
,{
attrs
:{
mode
:
"
horizontal
"
,
theme
:
"
light
"
,
"
active-name
"
:
"
1
"
},
on
:{
"
on-select
"
:
t
.
aaa
}},[
a
(
"
MenuItem
"
,{
attrs
:{
name
:
"
1
"
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-people
"
}}),
t
.
_v
(
"
\n
赛事目录维护
\n
"
)],
1
),
t
.
getUserRole
()?
a
(
"
MenuItem
"
,{
attrs
:{
name
:
"
2
"
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-paper
"
}}),
t
.
_v
(
"
\n
批次管理
\n
"
)],
1
):
t
.
_e
()],
1
),
a
(
"
br
"
),
1
===
t
.
componentState
?
a
(
"
eventMatalogMaintenance
"
,{
attrs
:{
studentOrTeacher
:
"
teacher
"
}}):
t
.
_e
(),
2
===
t
.
componentState
?
a
(
"
batchManagement
"
,{
attrs
:{
studentOrTeacher
:
"
teacher
"
}}):
t
.
_e
()],
1
)},
i
=
[],
o
=
(
a
(
"
c5f6
"
),
a
(
"
c827
"
)),
r
=
a
(
"
9cc4
"
),
c
=
(
a
(
"
61be
"
),{
components
:{
eventMatalogMaintenance
:
o
[
"
a
"
],
batchManagement
:
r
[
"
a
"
]},
data
:
function
(){
return
{
componentState
:
1
,
init
:{
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
columns
:[{
title
:
"
Name
"
,
key
:
"
name
"
},{
title
:
"
Age
"
,
key
:
"
age
"
},{
title
:
"
Address
"
,
key
:
"
address
"
}],
data
:[{
name
:
"
John Brown
"
,
age
:
18
,
address
:
"
New York No. 1 Lake Park
"
,
date
:
"
2016-10-03
"
},{
name
:
"
Jim Green
"
,
age
:
24
,
address
:
"
London No. 1 Lake Park
"
,
date
:
"
2016-10-01
"
},{
name
:
"
Joe Black
"
,
age
:
30
,
address
:
"
Sydney No. 1 Lake Park
"
,
date
:
"
2016-10-02
"
},{
name
:
"
Jon Snow
"
,
age
:
26
,
address
:
"
Ottawa No. 2 Lake Park
"
,
date
:
"
2016-10-04
"
}],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
getCompetitionSignList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
getCompetitionSignList
()},
aaa
:
function
(
t
){
this
.
componentState
=
Number
(
t
)}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}}),
s
=
c
,
l
=
(
a
(
"
1578
"
),
a
(
"
2877
"
)),
u
=
Object
(
l
[
"
a
"
])(
s
,
n
,
i
,
!
1
,
null
,
"
e2eec3de
"
,
null
);
e
[
"
default
"
]
=
u
.
exports
},
c484
:
function
(
t
,
e
,
a
){},
c827
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
t
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
search
},
on
:{
onSubmit
:
t
.
search1
,
onReset
:
t
.
reset
}}),
t
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
(),
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-cloud-download
"
},
on
:{
click
:
t
.
ReportExportToExcel
}},[
t
.
_v
(
"
\n
导出数据
\n
"
)]),
t
.
isAdmin
?
a
(
"
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
}])},[
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
isAdmin
?
t
.
columns
:
t
.
columns
.
filter
((
function
(
t
){
return
"
操作
"
!==
t
.
title
})),
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
competitionname
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
competitionname
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
competitionsubitem_name
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
competitionsubitem_name
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
dept
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tooltip
"
,{
attrs
:{
placement
:
"
right-end
"
,
transfer
:
!
1
,
"
max-width
"
:
500
},
scopedSlots
:
t
.
_u
([{
key
:
"
content
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,[
t
.
_v
(
"
"
+
t
.
_s
(
n
.
dept
))])]},
proxy
:
!
0
}],
null
,
!
0
)},[
n
.
dept
?
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
n
.
dept
,
length
:
18
}}):
t
.
_e
()],
1
)]}},{
key
:
"
way
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
n
.
way
]}},[
a
(
"
span
"
,{
staticStyle
:{
color
:
"
white
"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
团队
"
,
"
个人
"
][
n
.
way
])
+
"
\n
"
)])])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
t
.
isAdmin
?
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
t
.
eventTitle
=
"
编辑赛事
"
,
t
.
importFile
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]):
t
.
_e
(),
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
n
)},
"
on-cancel
"
:
t
.
cancel
}},[
t
.
isAdmin
?
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)]):
t
.
_e
()])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
45
,
title
:
t
.
eventTitle
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
dashed
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventsModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
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
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
a
(
"
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
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionname
"
,
e
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name1
"
}},[
a
(
"
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
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id1
"
}},[
a
(
"
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
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
t
.
formValidate
.
sponsor
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
sponsor
"
,
e
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
)],
1
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id1
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事级别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addeventLevel
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate1
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
a
(
"
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
"
}},[
a
(
"
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
,
n
){
return
a
(
"
div
"
,{
key
:
n
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
formValidate1Edit
(
e
)}}},[
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitionlevel_name
))]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
t
.
delLevel
(
e
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
a
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
t
.
formValidate1
,
rules
:
t
.
ruleValidate1
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competitionlevel_name
"
}},[
a
(
"
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
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark1
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate1
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
remark
"
,
e
)},
expression
:
"
formValidate1.remark
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate1
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
status
"
,
e
)},
expression
:
"
formValidate1.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事类别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventCategory
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate2
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
a
(
"
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
"
}},[
a
(
"
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
,
n
){
return
a
(
"
div
"
,{
key
:
n
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
formValidate2Edit
(
e
)}}},[
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitiontype_name
)
+
"
\n\n
"
)]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
t
.
delClass
(
e
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
a
(
"
Form
"
,{
ref
:
"
formValidate2
"
,
attrs
:{
model
:
t
.
formValidate2
,
rules
:
t
.
ruleValidate2
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛类别
"
,
prop
:
"
competitiontype_name
"
}},[
a
(
"
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
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入描述
"
},
model
:{
value
:
t
.
formValidate2
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
remark
"
,
e
)},
expression
:
"
formValidate2.remark
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate2
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
status
"
,
e
)},
expression
:
"
formValidate2.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
模板导入
"
,
width
:
"
40%
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
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
"
}},[
a
(
"
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
:
""
}},[
a
(
"
div
"
,{
staticStyle
:{
padding
:
"
120px 0
"
}},[
a
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
a
(
"
p
"
,[
t
.
_v
(
"
竞赛模板文件上传
"
)])],
1
)])],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
456d
"
),
a
(
"
7f7f
"
),
a
(
"
ac6a
"
),
a
(
"
bd86
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
386d
"
),
a
(
"
96cf
"
),
a
(
"
3b8d
"
)),
c
=
a
(
"
967e
"
),
s
=
a
.
n
(
c
),
l
=
(
a
(
"
a78e
"
),
a
(
"
7f6b
"
)),
u
=
a
(
"
61be
"
),
d
=
(
a
(
"
e0d3
"
),
a
(
"
c276
"
));
function
p
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
p
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
o
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
p
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
h
=
{
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
:
""
,
firstBatch
:
""
,
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
:
"
赛事名称
"
,
slot
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
slot
:
"
dept
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛项名称
"
,
slot
:
"
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
"
,
align
:
"
center
"
}],
data
:[],
theme
:
"
light
"
,
deptList
:[]}},
computed
:{
isAdmin
:
function
(){
var
t
=
JSON
.
parse
(
d
[
"
a
"
].
cookies
.
get
(
"
competition-roleId
"
));
return
"
管理员
"
===
t
.
role_name
}},
watch
:{},
methods
:{
ReportExportToExcel
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportExportToExcel
"
](
t
.
search
);
case
2
:
a
=
e
.
sent
,
t
.
blobFileImport
(
a
,
"
赛事目录导出
"
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetReportImportTemplate
:
function
(){
var
t
=
this
;
this
.
Bloading
=
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
Bloading
=!
0
,
e
.
next
=
3
,
l
[
"
GetReportImportTemplate
"
]();
case
3
:
a
=
e
.
sent
,
window
.
location
.
href
=
a
.
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
,
a
){
""
!==
t
&&
e
.
push
(
t
)})),
this
.
formValidate
=
m
(
m
({},
t
),{},{
dept_id
:
e
}),
this
.
modal
.
addEventsModal
=!
0
},
edit
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
ReportDel
"
]({
id
:
t
.
competitionreportid
});
case
2
:
return
n
=
a
.
sent
,
e
.
getCompetitionList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
cancel
:
function
(){},
reset
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
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
.
search
.
batch
=
this
.
firstBatch
,
this
.
$refs
.
search
.
searchCondObj
.
batch
=
this
.
firstBatch
,
t
.
next
=
5
,
this
.
GetBatchBySelect
();
case
5
:
this
.
pageKey
++
,
this
.
getCompetitionList
();
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
search1
:
function
(
t
){
this
.
search
=
m
(
m
(
m
({},
this
.
search
),
t
),{},{
page_index
:
1
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
}),
this
.
pageKey
++
,
this
.
getCompetitionList
()},
getCompetitionList
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
.
abrupt
(
"
return
"
,
l
[
"
GetReportList
"
](
m
(
m
({},
this
.
search
),{},{
way
:
u
[
"
isWayEq2InSetNull
"
](
this
.
search
.
way
)})).
then
((
function
(
t
){
return
e
.
data
=
t
.
response
.
data
,
e
.
init
.
total
=
t
.
response
.
data_count
,
e
.
loading
=!
1
,
t
})));
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
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
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
levelList
=
a
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
a
.
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
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
classList
=
a
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
a
.
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
;
return
this
.
loading
=!
0
,
this
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
this
.
formValidate
.
competition_method
}).
then
((
function
(
e
){
return
t
.
batchList
=
e
.
response
,
t
.
firstBatch
=
e
.
response
[
0
].
id
,
t
.
search
.
batch
=
t
.
firstBatch
,
t
.
$refs
.
search
.
searchCondObj
.
batch
=
t
.
firstBatch
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))})),
t
.
loading
=!
1
,
e
}))},
GetDeptSeletct
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetDeptSeletct
"
]();
case
2
:
a
=
e
.
sent
,
t
.
deptList
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
formValidate1Edit
:
function
(
t
){
this
.
formValidate1
=
t
},
delLevel
:
function
(
t
){
var
e
=
this
;
Object
(
u
[
"
myEncapsulationFunction
"
])((
function
(){
return
u
[
"
publicConfirm
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
LevelDel
"
]({
id
:
t
.
competitionlevelid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetLevelList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
GetLevelList
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelList
"
]();
case
2
:
a
=
e
.
sent
,
t
.
competitionLevel
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
delClass
:
function
(
t
){
var
e
=
this
;
Object
(
u
[
"
myEncapsulationFunction
"
])((
function
(){
return
u
[
"
publicConfirm
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
TypeDel
"
]({
id
:
t
.
competitiontypeid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetTypeList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
formValidate2Edit
:
function
(
t
){
this
.
formValidate2
=
t
},
LevelSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
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
a
=
e
.
sent
,
t
.
GetLevelList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
TypeSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
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
a
=
e
.
sent
,
t
.
GetTypeList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
ReportSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportSave
"
](
t
.
formValidate
);
case
2
:
return
a
=
e
.
sent
,
e
.
next
=
5
,
t
.
getCompetitionList
();
case
5
:
return
t
.
modal
.
addEventsModal
=!
1
,
t
.
formValidate
=
{},
e
.
abrupt
(
"
return
"
,
a
);
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
(
a
){
a
?
e
.
validateSwitch
(
t
):(
e
.
$Message
.
destroy
(),
e
.
$Message
.
error
(
"
请检查必填选项!
"
))}))},
handleReset
:
function
(
t
){
this
.
$refs
[
t
].
resetFields
()},
GetTypeList
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeList
"
]();
case
2
:
a
=
e
.
sent
,
t
.
competitionClass
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
dutyModelUpload
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
e
){
var
a
,
n
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
new
FormData
,
a
.
append
(
"
file
"
,
e
),
t
.
next
=
4
,
l
[
"
ReportImport
"
](
a
);
case
4
:
if
(
n
=
t
.
sent
,
1
===
n
.
code
){
t
.
next
=
10
;
break
}
window
.
location
.
href
=
n
.
response
,
this
.
$Message
.
error
(
n
.
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
,
a
){
this
.
$Message
.
info
(
t
.
msg
)},
dutyModelError
:
function
(
t
,
e
,
a
){},
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
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
formValidate
.
competition_method
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
search
.
is_tea
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
t
.
next
=
4
,
this
.
GetBatchBySelect
();
case
4
:
this
.
getCompetitionList
(),
this
.
GetHierarchySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetDeptSeletct
(),
this
.
GetLevelList
(),
this
.
GetTypeList
();
case
11
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
h
,
g
=
(
a
(
"
736d
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
d0bc5dcc
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
e0d3
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"
6d8b
"
),
i
=
a
(
"
22d1
"
),
o
=
n
.
each
,
r
=
n
.
isObject
,
c
=
n
.
isArray
,
s
=
"
series
\
0
"
;
function
l
(
t
){
return
t
instanceof
Array
?
t
:
null
==
t
?[]:[
t
]}
function
u
(
t
,
e
,
a
){
if
(
t
){
t
[
e
]
=
t
[
e
]
||
{},
t
.
emphasis
=
t
.
emphasis
||
{},
t
.
emphasis
[
e
]
=
t
.
emphasis
[
e
]
||
{};
for
(
var
n
=
0
,
i
=
a
.
length
;
n
<
i
;
n
++
){
var
o
=
a
[
n
];
!
t
.
emphasis
[
e
].
hasOwnProperty
(
o
)
&&
t
[
e
].
hasOwnProperty
(
o
)
&&
(
t
.
emphasis
[
e
][
o
]
=
t
[
e
][
o
])}}}
var
d
=
[
"
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
!
r
(
t
)
||
c
(
t
)
||
t
instanceof
Date
?
t
:
t
.
value
}
function
m
(
t
){
return
r
(
t
)
&&!
(
t
instanceof
Array
)}
function
h
(
t
,
e
){
e
=
(
e
||
[]).
slice
();
var
a
=
n
.
map
(
t
||
[],(
function
(
t
,
e
){
return
{
exist
:
t
}}));
return
o
(
e
,(
function
(
t
,
n
){
if
(
r
(
t
)){
for
(
var
i
=
0
;
i
<
a
.
length
;
i
++
)
if
(
!
a
[
i
].
option
&&
null
!=
t
.
id
&&
a
[
i
].
exist
.
id
===
t
.
id
+
""
)
return
a
[
i
].
option
=
t
,
void
(
e
[
n
]
=
null
);
for
(
i
=
0
;
i
<
a
.
length
;
i
++
){
var
o
=
a
[
i
].
exist
;
if
(
!
a
[
i
].
option
&&
(
null
==
o
.
id
||
null
==
t
.
id
)
&&
null
!=
t
.
name
&&!
v
(
t
)
&&!
v
(
o
)
&&
o
.
name
===
t
.
name
+
""
)
return
a
[
i
].
option
=
t
,
void
(
e
[
n
]
=
null
)}}})),
o
(
e
,(
function
(
t
,
e
){
if
(
r
(
t
)){
for
(
var
n
=
0
;
n
<
a
.
length
;
n
++
){
var
i
=
a
[
n
].
exist
;
if
(
!
a
[
n
].
option
&&!
v
(
i
)
&&
null
==
t
.
id
){
a
[
n
].
option
=
t
;
break
}}
n
>=
a
.
length
&&
a
.
push
({
option
:
t
})}})),
a
}
function
f
(
t
){
var
e
=
n
.
createHashMap
();
o
(
t
,(
function
(
t
,
a
){
var
n
=
t
.
exist
;
n
&&
e
.
set
(
n
.
id
,
t
)})),
o
(
t
,(
function
(
t
,
a
){
var
i
=
t
.
option
;
n
.
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
=
{})})),
o
(
t
,(
function
(
t
,
a
){
var
n
=
t
.
exist
,
i
=
t
.
option
,
o
=
t
.
keyInfo
;
if
(
r
(
i
)){
if
(
o
.
name
=
null
!=
i
.
name
?
i
.
name
+
""
:
n
?
n
.
name
:
s
+
a
,
n
)
o
.
id
=
n
.
id
;
else
if
(
null
!=
i
.
id
)
o
.
id
=
i
.
id
+
""
;
else
{
var
c
=
0
;
do
{
o
.
id
=
"
\
0
"
+
o
.
name
+
"
\
0
"
+
c
++
}
while
(
e
.
get
(
o
.
id
))}
e
.
set
(
o
.
id
,
t
)}}))}
function
g
(
t
){
var
e
=
t
.
name
;
return
!
(
!
e
||!
e
.
indexOf
(
s
))}
function
v
(
t
){
return
r
(
t
)
&&
t
.
id
&&
0
===
(
t
.
id
+
""
).
indexOf
(
"
\
0_ec_
\
0
"
)}
function
y
(
t
,
e
){
var
a
=
{},
n
=
{};
return
i
(
t
||
[],
a
),
i
(
e
||
[],
n
,
a
),[
o
(
a
),
o
(
n
)];
function
i
(
t
,
e
,
a
){
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
for
(
var
o
=
t
[
n
].
seriesId
,
r
=
l
(
t
[
n
].
dataIndex
),
c
=
a
&&
a
[
o
],
s
=
0
,
u
=
r
.
length
;
s
<
u
;
s
++
){
var
d
=
r
[
s
];
c
&&
c
[
d
]?
c
[
d
]
=
null
:(
e
[
o
]
||
(
e
[
o
]
=
{}))[
d
]
=
1
}}
function
o
(
t
,
e
){
var
a
=
[];
for
(
var
n
in
t
)
if
(
t
.
hasOwnProperty
(
n
)
&&
null
!=
t
[
n
])
if
(
e
)
a
.
push
(
+
n
);
else
{
var
i
=
o
(
t
[
n
],
!
0
);
i
.
length
&&
a
.
push
({
seriesId
:
n
,
dataIndex
:
i
})}
return
a
}}
function
b
(
t
,
e
){
return
null
!=
e
.
dataIndexInside
?
e
.
dataIndexInside
:
null
!=
e
.
dataIndex
?
n
.
isArray
(
e
.
dataIndex
)?
n
.
map
(
e
.
dataIndex
,(
function
(
e
){
return
t
.
indexOfRawIndex
(
e
)})):
t
.
indexOfRawIndex
(
e
.
dataIndex
):
null
!=
e
.
name
?
n
.
isArray
(
e
.
name
)?
n
.
map
(
e
.
name
,(
function
(
e
){
return
t
.
indexOfName
(
e
)})):
t
.
indexOfName
(
e
.
name
):
void
0
}
function
w
(){
var
t
=
"
__
\
0ec_inner_
"
+
_
+++
"
_
"
+
Math
.
random
().
toFixed
(
5
);
return
function
(
e
){
return
e
[
t
]
||
(
e
[
t
]
=
{})}}
var
_
=
0
;
function
x
(
t
,
e
,
a
){
if
(
n
.
isString
(
e
)){
var
i
=
{};
i
[
e
+
"
Index
"
]
=
0
,
e
=
i
}
var
r
=
a
&&
a
.
defaultMainType
;
!
r
||
S
(
e
,
r
+
"
Index
"
)
||
S
(
e
,
r
+
"
Id
"
)
||
S
(
e
,
r
+
"
Name
"
)
||
(
e
[
r
+
"
Index
"
]
=
0
);
var
c
=
{};
return
o
(
e
,(
function
(
i
,
o
){
i
=
e
[
o
];
if
(
"
dataIndex
"
!==
o
&&
"
dataIndexInside
"
!==
o
){
var
r
=
o
.
match
(
/^
(\w
+
)(
Index|Id|Name
)
$/
)
||
[],
s
=
r
[
1
],
l
=
(
r
[
2
]
||
""
).
toLowerCase
();
if
(
!
(
!
s
||!
l
||
null
==
i
||
"
index
"
===
l
&&
"
none
"
===
i
||
a
&&
a
.
includeMainTypes
&&
n
.
indexOf
(
a
.
includeMainTypes
,
s
)
<
0
)){
var
u
=
{
mainType
:
s
};
"
index
"
===
l
&&
"
all
"
===
i
||
(
u
[
l
]
=
i
);
var
d
=
t
.
queryComponents
(
u
);
c
[
s
+
"
Models
"
]
=
d
,
c
[
s
+
"
Model
"
]
=
d
[
0
]}}
else
c
[
o
]
=
i
})),
c
}
function
S
(
t
,
e
){
return
t
&&
t
.
hasOwnProperty
(
e
)}
function
k
(
t
,
e
,
a
){
t
.
setAttribute
?
t
.
setAttribute
(
e
,
a
):
t
[
e
]
=
a
}
function
B
(
t
,
e
){
return
t
.
getAttribute
?
t
.
getAttribute
(
e
):
t
[
e
]}
function
C
(
t
){
return
"
auto
"
===
t
?
i
.
domSupported
?
"
html
"
:
"
richText
"
:
t
||
"
html
"
}
function
L
(
t
,
e
){
var
a
=
n
.
createHashMap
(),
i
=
[];
return
n
.
each
(
t
,(
function
(
t
){
var
n
=
e
(
t
);(
a
.
get
(
n
)
||
(
i
.
push
(
n
),
a
.
set
(
n
,[]))).
push
(
t
)})),{
keys
:
i
,
buckets
:
a
}}
e
.
normalizeToArray
=
l
,
e
.
defaultEmphasis
=
u
,
e
.
TEXT_STYLE_OPTIONS
=
d
,
e
.
getDataItemValue
=
p
,
e
.
isDataItemOption
=
m
,
e
.
mappingToExists
=
h
,
e
.
makeIdAndName
=
f
,
e
.
isNameSpecified
=
g
,
e
.
isIdInner
=
v
,
e
.
compressBatches
=
y
,
e
.
queryDataIndex
=
b
,
e
.
makeInner
=
w
,
e
.
parseFinder
=
x
,
e
.
setAttribute
=
k
,
e
.
getAttribute
=
B
,
e
.
getTooltipRenderMode
=
C
,
e
.
groupData
=
L
}}]);
\ No newline at end of file
dist/js/chunk-40cd7635.c0971301.js
0 → 100644
浏览文件 @
6ca82df6
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-40cd7635
"
],{
"
22d1
"
:
function
(
t
,
e
){
var
a
=
{};
a
=
"
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
n
=
a
;
function
i
(
t
){
var
e
=
{},
a
=
{},
n
=
t
.
match
(
/Firefox
\/([\d
.
]
+
)
/
),
i
=
t
.
match
(
/MSIE
\s([\d
.
]
+
)
/
)
||
t
.
match
(
/Trident
\/
.+
?
rv:
(([\d
.
]
+
))
/
),
o
=
t
.
match
(
/Edge
\/([\d
.
]
+
)
/
),
r
=
/micromessenger/i
.
test
(
t
);
return
n
&&
(
a
.
firefox
=!
0
,
a
.
version
=
n
[
1
]),
i
&&
(
a
.
ie
=!
0
,
a
.
version
=
i
[
1
]),
o
&&
(
a
.
edge
=!
0
,
a
.
version
=
o
[
1
]),
r
&&
(
a
.
weChat
=!
0
),{
browser
:
a
,
os
:
e
,
node
:
!
1
,
canvasSupported
:
!!
document
.
createElement
(
"
canvas
"
).
getContext
,
svgSupported
:
"
undefined
"
!==
typeof
SVGRect
,
touchEventsSupported
:
"
ontouchstart
"
in
window
&&!
a
.
ie
&&!
a
.
edge
,
pointerEventsSupported
:
"
onpointerdown
"
in
window
&&
(
a
.
edge
||
a
.
ie
&&
a
.
version
>=
11
),
domSupported
:
"
undefined
"
!==
typeof
document
}}
t
.
exports
=
n
},
"
386d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
a
(
"
cb7c
"
),
i
=
a
(
"
83a1
"
),
o
=
a
(
"
5f1b
"
);
a
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
a
,
r
){
return
[
function
(
a
){
var
n
=
t
(
this
),
i
=
void
0
==
a
?
void
0
:
a
[
e
];
return
void
0
!==
i
?
i
.
call
(
a
,
n
):
new
RegExp
(
a
)[
e
](
String
(
n
))},
function
(
t
){
var
e
=
r
(
a
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
c
=
n
(
t
),
s
=
String
(
this
),
l
=
c
.
lastIndex
;
i
(
l
,
0
)
||
(
c
.
lastIndex
=
0
);
var
u
=
o
(
c
,
s
);
return
i
(
c
.
lastIndex
,
l
)
||
(
c
.
lastIndex
=
l
),
null
===
u
?
-
1
:
u
.
index
}]}))},
"
3af6
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
Card
"
,[
a
(
"
Menu
"
,{
attrs
:{
mode
:
"
horizontal
"
,
theme
:
"
light
"
,
"
active-name
"
:
"
1
"
},
on
:{
"
on-select
"
:
t
.
aaa
}},[
a
(
"
MenuItem
"
,{
attrs
:{
name
:
"
1
"
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-people
"
}}),
t
.
_v
(
"
\n
赛事目录维护
\n
"
)],
1
),
t
.
getUserRole
()?
a
(
"
MenuItem
"
,{
attrs
:{
name
:
"
2
"
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-paper
"
}}),
t
.
_v
(
"
\n
批次管理
\n
"
)],
1
):
t
.
_e
()],
1
),
a
(
"
br
"
),
1
===
t
.
componentState
?
a
(
"
eventMatalogMaintenance
"
,{
attrs
:{
studentOrTeacher
:
"
student
"
}}):
t
.
_e
(),
2
===
t
.
componentState
?
a
(
"
batchManagement
"
,{
attrs
:{
studentOrTeacher
:
"
student
"
}}):
t
.
_e
()],
1
)},
i
=
[],
o
=
(
a
(
"
c5f6
"
),
a
(
"
c827
"
)),
r
=
a
(
"
9cc4
"
),
c
=
(
a
(
"
61be
"
),{
components
:{
eventMatalogMaintenance
:
o
[
"
a
"
],
batchManagement
:
r
[
"
a
"
]},
data
:
function
(){
return
{
componentState
:
1
,
init
:{
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
columns
:[{
title
:
"
Name
"
,
key
:
"
name
"
},{
title
:
"
Age
"
,
key
:
"
age
"
},{
title
:
"
Address
"
,
key
:
"
address
"
}],
data
:[{
name
:
"
John Brown
"
,
age
:
18
,
address
:
"
New York No. 1 Lake Park
"
,
date
:
"
2016-10-03
"
},{
name
:
"
Jim Green
"
,
age
:
24
,
address
:
"
London No. 1 Lake Park
"
,
date
:
"
2016-10-01
"
},{
name
:
"
Joe Black
"
,
age
:
30
,
address
:
"
Sydney No. 1 Lake Park
"
,
date
:
"
2016-10-02
"
},{
name
:
"
Jon Snow
"
,
age
:
26
,
address
:
"
Ottawa No. 2 Lake Park
"
,
date
:
"
2016-10-04
"
}],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
getCompetitionSignList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
getCompetitionSignList
()},
aaa
:
function
(
t
){
this
.
componentState
=
Number
(
t
)}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}}),
s
=
c
,
l
=
(
a
(
"
ccbc
"
),
a
(
"
2877
"
)),
u
=
Object
(
l
[
"
a
"
])(
s
,
n
,
i
,
!
1
,
null
,
"
3892b798
"
,
null
);
e
[
"
default
"
]
=
u
.
exports
},
"
6d8b
"
:
function
(
t
,
e
){
var
a
=
{
"
[object Function]
"
:
1
,
"
[object RegExp]
"
:
1
,
"
[object Date]
"
:
1
,
"
[object Error]
"
:
1
,
"
[object CanvasGradient]
"
:
1
,
"
[object CanvasPattern]
"
:
1
,
"
[object Image]
"
:
1
,
"
[object Canvas]
"
:
1
},
n
=
{
"
[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
,
o
=
Array
.
prototype
,
r
=
o
.
forEach
,
c
=
o
.
filter
,
s
=
o
.
slice
,
l
=
o
.
map
,
u
=
o
.
reduce
,
d
=
{};
function
p
(
t
,
e
){
"
createCanvas
"
===
t
&&
(
y
=
null
),
d
[
t
]
=
e
}
function
m
(
t
){
if
(
null
==
t
||
"
object
"
!==
typeof
t
)
return
t
;
var
e
=
t
,
o
=
i
.
call
(
t
);
if
(
"
[object Array]
"
===
o
){
if
(
!
Y
(
t
)){
e
=
[];
for
(
var
r
=
0
,
c
=
t
.
length
;
r
<
c
;
r
++
)
e
[
r
]
=
m
(
t
[
r
])}}
else
if
(
n
[
o
]){
if
(
!
Y
(
t
)){
var
s
=
t
.
constructor
;
if
(
t
.
constructor
.
from
)
e
=
s
.
from
(
t
);
else
{
e
=
new
s
(
t
.
length
);
for
(
r
=
0
,
c
=
t
.
length
;
r
<
c
;
r
++
)
e
[
r
]
=
m
(
t
[
r
])}}}
else
if
(
!
a
[
o
]
&&!
Y
(
t
)
&&!
R
(
t
))
for
(
var
l
in
e
=
{},
t
)
t
.
hasOwnProperty
(
l
)
&&
(
e
[
l
]
=
m
(
t
[
l
]));
return
e
}
function
h
(
t
,
e
,
a
){
if
(
!
A
(
e
)
||!
A
(
t
))
return
a
?
m
(
e
):
t
;
for
(
var
n
in
e
)
if
(
e
.
hasOwnProperty
(
n
)){
var
i
=
t
[
n
],
o
=
e
[
n
];
!
A
(
o
)
||!
A
(
i
)
||
E
(
o
)
||
E
(
i
)
||
R
(
o
)
||
R
(
i
)
||
D
(
o
)
||
D
(
i
)
||
Y
(
o
)
||
Y
(
i
)?
!
a
&&
n
in
t
||
(
t
[
n
]
=
m
(
e
[
n
],
!
0
)):
h
(
i
,
o
,
a
)}
return
t
}
function
f
(
t
,
e
){
for
(
var
a
=
t
[
0
],
n
=
1
,
i
=
t
.
length
;
n
<
i
;
n
++
)
a
=
h
(
a
,
t
[
n
],
e
);
return
a
}
function
g
(
t
,
e
){
for
(
var
a
in
e
)
e
.
hasOwnProperty
(
a
)
&&
(
t
[
a
]
=
e
[
a
]);
return
t
}
function
v
(
t
,
e
,
a
){
for
(
var
n
in
e
)
e
.
hasOwnProperty
(
n
)
&&
(
a
?
null
!=
e
[
n
]:
null
==
t
[
n
])
&&
(
t
[
n
]
=
e
[
n
]);
return
t
}
var
y
,
b
=
function
(){
return
d
.
createCanvas
()};
function
w
(){
return
y
||
(
y
=
b
().
getContext
(
"
2d
"
)),
y
}
function
_
(
t
,
e
){
if
(
t
){
if
(
t
.
indexOf
)
return
t
.
indexOf
(
e
);
for
(
var
a
=
0
,
n
=
t
.
length
;
a
<
n
;
a
++
)
if
(
t
[
a
]
===
e
)
return
a
}
return
-
1
}
function
x
(
t
,
e
){
var
a
=
t
.
prototype
;
function
n
(){}
for
(
var
i
in
n
.
prototype
=
e
.
prototype
,
t
.
prototype
=
new
n
,
a
)
a
.
hasOwnProperty
(
i
)
&&
(
t
.
prototype
[
i
]
=
a
[
i
]);
t
.
prototype
.
constructor
=
t
,
t
.
superClass
=
e
}
function
S
(
t
,
e
,
a
){
t
=
"
prototype
"
in
t
?
t
.
prototype
:
t
,
e
=
"
prototype
"
in
e
?
e
.
prototype
:
e
,
v
(
t
,
e
,
a
)}
function
k
(
t
){
if
(
t
)
return
"
string
"
!==
typeof
t
&&
"
number
"
===
typeof
t
.
length
}
function
B
(
t
,
e
,
a
){
if
(
t
&&
e
)
if
(
t
.
forEach
&&
t
.
forEach
===
r
)
t
.
forEach
(
e
,
a
);
else
if
(
t
.
length
===+
t
.
length
)
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
e
.
call
(
a
,
t
[
n
],
n
,
t
);
else
for
(
var
o
in
t
)
t
.
hasOwnProperty
(
o
)
&&
e
.
call
(
a
,
t
[
o
],
o
,
t
)}
function
C
(
t
,
e
,
a
){
if
(
t
&&
e
){
if
(
t
.
map
&&
t
.
map
===
l
)
return
t
.
map
(
e
,
a
);
for
(
var
n
=
[],
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
n
.
push
(
e
.
call
(
a
,
t
[
i
],
i
,
t
));
return
n
}}
function
L
(
t
,
e
,
a
,
n
){
if
(
t
&&
e
){
if
(
t
.
reduce
&&
t
.
reduce
===
u
)
return
t
.
reduce
(
e
,
a
,
n
);
for
(
var
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
a
=
e
.
call
(
n
,
a
,
t
[
i
],
i
,
t
);
return
a
}}
function
O
(
t
,
e
,
a
){
if
(
t
&&
e
){
if
(
t
.
filter
&&
t
.
filter
===
c
)
return
t
.
filter
(
e
,
a
);
for
(
var
n
=
[],
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
e
.
call
(
a
,
t
[
i
],
i
,
t
)
&&
n
.
push
(
t
[
i
]);
return
n
}}
function
I
(
t
,
e
,
a
){
if
(
t
&&
e
)
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
if
(
e
.
call
(
a
,
t
[
n
],
n
,
t
))
return
t
[
n
]}
function
V
(
t
,
e
){
var
a
=
s
.
call
(
arguments
,
2
);
return
function
(){
return
t
.
apply
(
e
,
a
.
concat
(
s
.
call
(
arguments
)))}}
function
j
(
t
){
var
e
=
s
.
call
(
arguments
,
1
);
return
function
(){
return
t
.
apply
(
this
,
e
.
concat
(
s
.
call
(
arguments
)))}}
function
E
(
t
){
return
"
[object Array]
"
===
i
.
call
(
t
)}
function
M
(
t
){
return
"
function
"
===
typeof
t
}
function
F
(
t
){
return
"
[object String]
"
===
i
.
call
(
t
)}
function
A
(
t
){
var
e
=
typeof
t
;
return
"
function
"
===
e
||!!
t
&&
"
object
"
===
e
}
function
D
(
t
){
return
!!
a
[
i
.
call
(
t
)]}
function
P
(
t
){
return
!!
n
[
i
.
call
(
t
)]}
function
R
(
t
){
return
"
object
"
===
typeof
t
&&
"
number
"
===
typeof
t
.
nodeType
&&
"
object
"
===
typeof
t
.
ownerDocument
}
function
T
(
t
){
return
t
!==
t
}
function
G
(
t
){
for
(
var
e
=
0
,
a
=
arguments
.
length
;
e
<
a
;
e
++
)
if
(
null
!=
arguments
[
e
])
return
arguments
[
e
]}
function
$
(
t
,
e
){
return
null
!=
t
?
t
:
e
}
function
z
(
t
,
e
,
a
){
return
null
!=
t
?
t
:
null
!=
e
?
e
:
a
}
function
W
(){
return
Function
.
call
.
apply
(
s
,
arguments
)}
function
q
(
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
N
(
t
,
e
){
if
(
!
t
)
throw
new
Error
(
e
)}
function
U
(
t
){
return
null
==
t
?
null
:
"
function
"
===
typeof
t
.
trim
?
t
.
trim
():
t
.
replace
(
/^
[\s\u
FEFF
\x
A0
]
+|
[\s\u
FEFF
\x
A0
]
+$/g
,
""
)}
d
.
createCanvas
=
function
(){
return
document
.
createElement
(
"
canvas
"
)};
var
H
=
"
__ec_primitive__
"
;
function
J
(
t
){
t
[
H
]
=!
0
}
function
Y
(
t
){
return
t
[
H
]}
function
K
(
t
){
var
e
=
E
(
t
);
this
.
data
=
{};
var
a
=
this
;
function
n
(
t
,
n
){
e
?
a
.
set
(
t
,
n
):
a
.
set
(
n
,
t
)}
t
instanceof
K
?
t
.
each
(
n
):
t
&&
B
(
t
,
n
)}
function
X
(
t
){
return
new
K
(
t
)}
function
Q
(
t
,
e
){
for
(
var
a
=
new
t
.
constructor
(
t
.
length
+
e
.
length
),
n
=
0
;
n
<
t
.
length
;
n
++
)
a
[
n
]
=
t
[
n
];
var
i
=
t
.
length
;
for
(
n
=
0
;
n
<
e
.
length
;
n
++
)
a
[
n
+
i
]
=
e
[
n
];
return
a
}
function
Z
(){}
K
.
prototype
=
{
constructor
:
K
,
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
a
in
void
0
!==
e
&&
(
t
=
V
(
t
,
e
)),
this
.
data
)
this
.
data
.
hasOwnProperty
(
a
)
&&
t
(
this
.
data
[
a
],
a
)},
removeKey
:
function
(
t
){
delete
this
.
data
[
t
]}},
e
.
$override
=
p
,
e
.
clone
=
m
,
e
.
merge
=
h
,
e
.
mergeAll
=
f
,
e
.
extend
=
g
,
e
.
defaults
=
v
,
e
.
createCanvas
=
b
,
e
.
getContext
=
w
,
e
.
indexOf
=
_
,
e
.
inherits
=
x
,
e
.
mixin
=
S
,
e
.
isArrayLike
=
k
,
e
.
each
=
B
,
e
.
map
=
C
,
e
.
reduce
=
L
,
e
.
filter
=
O
,
e
.
find
=
I
,
e
.
bind
=
V
,
e
.
curry
=
j
,
e
.
isArray
=
E
,
e
.
isFunction
=
M
,
e
.
isString
=
F
,
e
.
isObject
=
A
,
e
.
isBuiltInObject
=
D
,
e
.
isTypedArray
=
P
,
e
.
isDom
=
R
,
e
.
eqNaN
=
T
,
e
.
retrieve
=
G
,
e
.
retrieve2
=
$
,
e
.
retrieve3
=
z
,
e
.
slice
=
W
,
e
.
normalizeCssArray
=
q
,
e
.
assert
=
N
,
e
.
trim
=
U
,
e
.
setAsPrimitive
=
J
,
e
.
isPrimitive
=
Y
,
e
.
createHashMap
=
X
,
e
.
concatArray
=
Q
,
e
.
noop
=
Z
},
"
70f3
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
95c7
"
)},
"
736d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
98b0
"
)},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
"
95c7
"
:
function
(
t
,
e
,
a
){},
"
98b0
"
:
function
(
t
,
e
,
a
){},
"
9cc4
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
t
.
addBatch
}},[
t
.
_v
(
"
添加赛事批次
"
)])]},
proxy
:
!
0
}])},[
a
(
"
br
"
),
a
(
"
br
"
),
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
bed_time
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
n
.
bed_time
?
a
(
"
span
"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
n
.
bed_time
.
split
(
"
00:00
"
)[
0
]
+
"
~
"
+
n
.
end_time
.
split
(
"
00:00
"
)[
0
])
+
"
\n
"
)]):
t
.
_e
()]}},{
key
:
"
competition_method
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
blue
"
][
n
.
competition_method
]}},[
t
.
_v
(
t
.
_s
([
"
学生
"
,
"
教师
"
][
n
.
competition_method
]))])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
batchSynchronization
(
n
)}}},[
t
.
_v
(
"
批次同步
"
)]),
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
edit
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]),
1
==
n
.
is_allow_delete
?
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
n
)},
"
on-cancel
"
:
t
.
cancel
}},[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)])]):
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
#C5C8CE
"
}},[
t
.
_v
(
"
删除
"
)])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
50
,
title
:
"
添加赛事学年
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
batchModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
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
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_name
"
}},[
a
(
"
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
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛起止时间
"
,
prop
:
"
dateRange
"
}},[
a
(
"
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
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
备注
"
,
prop
:
"
remark
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
批次同步
"
,
width
:
80
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
curBatch
.
show
=!
1
}}},[
t
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
curBatch
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
curBatch
,
"
show
"
,
e
)},
expression
:
"
curBatch.show
"
}},[
a
(
"
cs-search-cond-form
"
,{
ref
:
"
searchCondForm
"
,
attrs
:{
searchCondList
:
t
.
curBatch
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
curBatch
.
params
},
on
:{
onSubmit
:
t
.
searchModal
,
onReset
:
t
.
resetModal
}}),
a
(
"
div
"
,[
a
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
function
(
e
){
t
.
awaitSelectBatch
.
show
=!
0
,
t
.
getAwaitSelectBatchData
()}}},[
t
.
_v
(
"
选择同步批次
"
)])],
1
),
a
(
"
csCTable
"
,{
attrs
:{
tableColumns
:
t
.
curBatch
.
columns
.
filter
((
function
(
t
){
return
t
.
show
})),
tableData
:
t
.
curBatch
.
data
,
tableLoading
:
t
.
curBatch
.
loading
,
dataCount
:
t
.
curBatch
.
dataCount
,
pageIndex
:
t
.
curBatch
.
params
.
page_index
,
pageSize
:
t
.
curBatch
.
params
.
page_size
},
on
:{
onPageChange
:
t
.
onPageChange
,
onPageSizeChange
:
t
.
onPageSizeChange
}}),
a
(
"
Drawer
"
,{
attrs
:{
"
mask-closable
"
:
!
1
,
transfer
:
!
1
,
draggable
:
!
0
,
width
:
950
,
title
:
"
选择同步批次
"
},
model
:{
value
:
t
.
awaitSelectBatch
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
,
"
show
"
,
e
)},
expression
:
"
awaitSelectBatch.show
"
}},[
a
(
"
Form
"
,{
attrs
:{
model
:
t
.
awaitSelectBatch
.
formData
,
"
label-width
"
:
80
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
目的批次
"
}},[
a
(
"
Select
"
,{
model
:{
value
:
t
.
awaitSelectBatch
.
formData
.
target_batch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
.
formData
,
"
target_batch
"
,
e
)},
expression
:
"
awaitSelectBatch.formData.target_batch
"
}},
t
.
_l
(
t
.
batchList
,(
function
(
e
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
源批次
"
}},[
a
(
"
Select
"
,{
attrs
:{
clearable
:
""
},
on
:{
"
on-change
"
:
t
.
sourceBatchChange
},
model
:{
value
:
t
.
awaitSelectBatch
.
formData
.
source_batch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
.
formData
,
"
source_batch
"
,
e
)},
expression
:
"
awaitSelectBatch.formData.source_batch
"
}},
t
.
_l
(
t
.
batchList
.
filter
((
function
(
e
){
return
e
.
value
!==
t
.
awaitSelectBatch
.
formData
.
target_batch
})),(
function
(
e
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
)
+
"
\n
"
)])})),
1
)],
1
)],
1
),
a
(
"
csCTable
"
,{
attrs
:{
tableColumns
:
t
.
awaitSelectBatch
.
columns
.
filter
((
function
(
t
){
return
t
.
show
})),
tableData
:
t
.
awaitSelectBatch
.
data
,
tableLoading
:
t
.
awaitSelectBatch
.
loading
,
dataCount
:
t
.
awaitSelectBatch
.
dataCount
,
pageIndex
:
t
.
awaitSelectBatch
.
params
.
page_index
,
pageSize
:
t
.
awaitSelectBatch
.
params
.
page_size
},
on
:{
onPageChange
:
t
.
onPageChangeAwaitSelectBatch
,
onPageSizeChange
:
t
.
onPageSizeChangeAwaitSelectBatch
,
onSelectionChange
:
t
.
onSelectionChange
}}),
a
(
"
div
"
,{
staticClass
:
"
demo-drawer-footer
"
},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
8px
"
},
on
:{
click
:
function
(
e
){
t
.
awaitSelectBatch
.
show
=!
1
}}},[
t
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
commitSyncBatch
}},[
t
.
_v
(
"
提交同步批次
"
)])],
1
)],
1
)],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
456d
"
),
a
(
"
ac6a
"
),
a
(
"
7f7f
"
),
a
(
"
96cf
"
),
a
(
"
3b8d
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
bd86
"
)),
c
=
a
(
"
967e
"
),
s
=
a
.
n
(
c
),
l
=
a
(
"
7f6b
"
),
u
=
a
(
"
d02c
"
),
d
=
a
(
"
61be
"
);
function
p
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
p
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
r
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
p
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
h
=
{
components
:{},
props
:[
"
studentOrTeacher
"
],
data
:
function
(){
return
{
awaitSelectBatch
:{
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
}]}],
dataCount
:
0
,
show
:
!
1
,
data
:[],
columns
:[{
title
:
"
序号
"
,
type
:
"
selection
"
,
show
:
!
0
,
minWidth
:
80
,
fixed
:
"
left
"
,
align
:
"
center
"
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
key
:
"
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
}],
loading
:
!
1
,
params
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
},
formData
:{
competition_id_list
:[],
source_batch
:
""
,
target_batch
:
""
}},
batchList
:[],
curBatch
:{
searchCondList
:[{
id
:
"
batch
"
,
name
:
"
赛事批次
"
,
type
:
"
select
"
,
show
:
!
0
,
disabled
:
!
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
}]}],
dataCount
:
0
,
show
:
!
1
,
data
:[],
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
minWidth
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
key
:
"
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
}],
loading
:
!
1
,
params
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
}},
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
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
commitSyncBatch
:
function
(){
var
t
=
this
;
d
[
"
publicConfirm
"
]((
function
(){
d
[
"
myEncapsulationFunction
"
]((
function
(){
return
u
[
"
postApiCommonBatchSync
"
](
t
.
awaitSelectBatch
.
formData
).
then
((
function
(
e
){
return
1
===
e
.
code
&&
(
t
.
getMdoalData
(),
t
.
awaitSelectBatch
.
show
=!
1
),
e
}),
!
1
,
"
同步中...
"
)}))}))},
sourceBatchChange
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
batch
=
t
,
this
.
getAwaitSelectBatchData
()},
onSelectionChange
:
function
(
t
){
this
.
awaitSelectBatch
.
formData
.
competition_id_list
=
t
.
map
((
function
(
t
){
return
t
.
competitionreportid
}))},
getAwaitSelectBatchData
:
function
(){
var
t
=
this
;
this
.
awaitSelectBatch
.
loading
=!
0
,
u
[
"
postApiCompetitionReportApiCompetitionReportGetReportList
"
](
this
.
awaitSelectBatch
.
params
).
then
((
function
(
e
){
t
.
awaitSelectBatch
.
data
=
e
.
response
.
data
,
t
.
awaitSelectBatch
.
dataCount
=
e
.
response
.
data_count
,
t
.
awaitSelectBatch
.
loading
=!
1
})).
finally
((
function
(){
t
.
awaitSelectBatch
.
loading
=!
1
}))},
onPageChangeAwaitSelectBatch
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
page_index
=
t
,
this
.
getAwaitSelectBatchData
()},
onPageSizeChangeAwaitSelectBatch
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
page_size
=
t
,
1
==
this
.
awaitSelectBatch
.
params
.
page_index
&&
this
.
onPageChangeAwaitSelectBatch
(
1
)},
resetModal
:
function
(){
this
.
curBatch
.
params
=
{
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
.
getMdoalData
()},
searchModal
:
function
(
t
){
this
.
curBatch
.
params
=
m
(
m
(
m
({},
this
.
curBatch
.
params
),
t
),{},{
page_index
:
1
}),
this
.
getMdoalData
()},
batchSynchronization
:
function
(
t
){
this
.
$refs
.
searchCondForm
.
searchCondObj
.
batch
=
t
.
competitionbatchid
,
this
.
curBatch
.
params
.
batch
=
t
.
competitionbatchid
,
this
.
awaitSelectBatch
.
formData
.
target_batch
=
t
.
competitionbatchid
,
this
.
getMdoalData
(),
this
.
curBatch
.
show
=!
0
},
getMdoalData
:
function
(){
var
t
=
this
;
this
.
curBatch
.
loading
=!
0
,
u
[
"
postApiCompetitionReportApiCompetitionReportGetReportList
"
](
this
.
curBatch
.
params
).
then
((
function
(
e
){
t
.
curBatch
.
data
=
e
.
response
.
data
,
t
.
curBatch
.
dataCount
=
e
.
response
.
data_count
,
t
.
curBatch
.
loading
=!
1
})).
finally
((
function
(){
t
.
curBatch
.
loading
=!
1
}))},
onPageChange
:
function
(
t
){
this
.
curBatch
.
params
.
page_index
=
t
,
this
.
getMdoalData
()},
onPageSizeChange
:
function
(
t
){
this
.
curBatch
.
params
.
page_size
=
t
,
1
==
this
.
curBatch
.
params
.
page_index
&&
this
.
onPageChange
(
1
)},
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
=
m
(
m
({},
t
),{},{
dateRange
:
e
})},
cancel
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
Object
(
d
[
"
myEncapsulationFunction
"
])(
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
BatchDel
"
]({
id
:
t
.
competitionbatchid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetBatchList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
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
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
BatchSave
"
](
t
.
formValidate
);
case
2
:
return
a
=
e
.
sent
,
1
===
a
.
code
&&
t
.
GetBatchList
(),
e
.
abrupt
(
"
return
"
,
a
);
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
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
loading
=!
0
,
a
=
{
page_index
:
t
.
init
.
page_index
,
page_size
:
t
.
init
.
page_size
,
competition_method
:
t
.
init
.
competition_method
},
e
.
next
=
4
,
t
.
asc
.
getApiCommonGetBatchList
(
a
);
case
4
:
n
=
e
.
sent
,
t
.
data
=
n
.
response
.
data
,
t
.
init
.
total
=
n
.
response
.
data_count
,
t
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetHierarchySelect
:
function
(){
var
t
=
this
;
this
.
asc
.
getApiCommonGetHierarchySelect
().
then
((
function
(
e
){
t
.
curBatch
.
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
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
a
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
a
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
4
:
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
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})),
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))}))}},
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
(),
this
.
GetHierarchySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetBatchBySelect
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
h
,
g
=
(
a
(
"
70f3
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
5a1ef413
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
b4af
:
function
(
t
,
e
,
a
){},
c827
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
t
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
search
},
on
:{
onSubmit
:
t
.
search1
,
onReset
:
t
.
reset
}}),
t
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
(),
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-cloud-download
"
},
on
:{
click
:
t
.
ReportExportToExcel
}},[
t
.
_v
(
"
\n
导出数据
\n
"
)]),
t
.
isAdmin
?
a
(
"
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
}])},[
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
isAdmin
?
t
.
columns
:
t
.
columns
.
filter
((
function
(
t
){
return
"
操作
"
!==
t
.
title
})),
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
competitionname
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
competitionname
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
competitionsubitem_name
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
competitionsubitem_name
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
dept
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tooltip
"
,{
attrs
:{
placement
:
"
right-end
"
,
transfer
:
!
1
,
"
max-width
"
:
500
},
scopedSlots
:
t
.
_u
([{
key
:
"
content
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,[
t
.
_v
(
"
"
+
t
.
_s
(
n
.
dept
))])]},
proxy
:
!
0
}],
null
,
!
0
)},[
n
.
dept
?
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
n
.
dept
,
length
:
18
}}):
t
.
_e
()],
1
)]}},{
key
:
"
way
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
n
.
way
]}},[
a
(
"
span
"
,{
staticStyle
:{
color
:
"
white
"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
团队
"
,
"
个人
"
][
n
.
way
])
+
"
\n
"
)])])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
t
.
isAdmin
?
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
t
.
eventTitle
=
"
编辑赛事
"
,
t
.
importFile
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]):
t
.
_e
(),
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
n
)},
"
on-cancel
"
:
t
.
cancel
}},[
t
.
isAdmin
?
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)]):
t
.
_e
()])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
45
,
title
:
t
.
eventTitle
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
dashed
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventsModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
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
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
a
(
"
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
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionname
"
,
e
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name1
"
}},[
a
(
"
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
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id1
"
}},[
a
(
"
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
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
t
.
formValidate
.
sponsor
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
sponsor
"
,
e
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
)],
1
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id1
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事级别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addeventLevel
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate1
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
a
(
"
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
"
}},[
a
(
"
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
,
n
){
return
a
(
"
div
"
,{
key
:
n
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
formValidate1Edit
(
e
)}}},[
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitionlevel_name
))]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
t
.
delLevel
(
e
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
a
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
t
.
formValidate1
,
rules
:
t
.
ruleValidate1
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competitionlevel_name
"
}},[
a
(
"
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
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark1
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate1
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
remark
"
,
e
)},
expression
:
"
formValidate1.remark
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate1
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
status
"
,
e
)},
expression
:
"
formValidate1.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事类别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventCategory
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate2
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
a
(
"
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
"
}},[
a
(
"
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
,
n
){
return
a
(
"
div
"
,{
key
:
n
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
formValidate2Edit
(
e
)}}},[
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitiontype_name
)
+
"
\n\n
"
)]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
t
.
delClass
(
e
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
a
(
"
Form
"
,{
ref
:
"
formValidate2
"
,
attrs
:{
model
:
t
.
formValidate2
,
rules
:
t
.
ruleValidate2
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛类别
"
,
prop
:
"
competitiontype_name
"
}},[
a
(
"
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
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入描述
"
},
model
:{
value
:
t
.
formValidate2
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
remark
"
,
e
)},
expression
:
"
formValidate2.remark
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate2
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
status
"
,
e
)},
expression
:
"
formValidate2.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
模板导入
"
,
width
:
"
40%
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
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
"
}},[
a
(
"
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
:
""
}},[
a
(
"
div
"
,{
staticStyle
:{
padding
:
"
120px 0
"
}},[
a
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
a
(
"
p
"
,[
t
.
_v
(
"
竞赛模板文件上传
"
)])],
1
)])],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
456d
"
),
a
(
"
7f7f
"
),
a
(
"
ac6a
"
),
a
(
"
bd86
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
386d
"
),
a
(
"
96cf
"
),
a
(
"
3b8d
"
)),
c
=
a
(
"
967e
"
),
s
=
a
.
n
(
c
),
l
=
(
a
(
"
a78e
"
),
a
(
"
7f6b
"
)),
u
=
a
(
"
61be
"
),
d
=
(
a
(
"
e0d3
"
),
a
(
"
c276
"
));
function
p
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
p
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
o
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
p
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
h
=
{
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
:
""
,
firstBatch
:
""
,
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
:
"
赛事名称
"
,
slot
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
slot
:
"
dept
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛项名称
"
,
slot
:
"
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
"
,
align
:
"
center
"
}],
data
:[],
theme
:
"
light
"
,
deptList
:[]}},
computed
:{
isAdmin
:
function
(){
var
t
=
JSON
.
parse
(
d
[
"
a
"
].
cookies
.
get
(
"
competition-roleId
"
));
return
"
管理员
"
===
t
.
role_name
}},
watch
:{},
methods
:{
ReportExportToExcel
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportExportToExcel
"
](
t
.
search
);
case
2
:
a
=
e
.
sent
,
t
.
blobFileImport
(
a
,
"
赛事目录导出
"
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetReportImportTemplate
:
function
(){
var
t
=
this
;
this
.
Bloading
=
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
Bloading
=!
0
,
e
.
next
=
3
,
l
[
"
GetReportImportTemplate
"
]();
case
3
:
a
=
e
.
sent
,
window
.
location
.
href
=
a
.
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
,
a
){
""
!==
t
&&
e
.
push
(
t
)})),
this
.
formValidate
=
m
(
m
({},
t
),{},{
dept_id
:
e
}),
this
.
modal
.
addEventsModal
=!
0
},
edit
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
ReportDel
"
]({
id
:
t
.
competitionreportid
});
case
2
:
return
n
=
a
.
sent
,
e
.
getCompetitionList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
cancel
:
function
(){},
reset
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
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
.
search
.
batch
=
this
.
firstBatch
,
this
.
$refs
.
search
.
searchCondObj
.
batch
=
this
.
firstBatch
,
t
.
next
=
5
,
this
.
GetBatchBySelect
();
case
5
:
this
.
pageKey
++
,
this
.
getCompetitionList
();
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
search1
:
function
(
t
){
this
.
search
=
m
(
m
(
m
({},
this
.
search
),
t
),{},{
page_index
:
1
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
}),
this
.
pageKey
++
,
this
.
getCompetitionList
()},
getCompetitionList
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
.
abrupt
(
"
return
"
,
l
[
"
GetReportList
"
](
m
(
m
({},
this
.
search
),{},{
way
:
u
[
"
isWayEq2InSetNull
"
](
this
.
search
.
way
)})).
then
((
function
(
t
){
return
e
.
data
=
t
.
response
.
data
,
e
.
init
.
total
=
t
.
response
.
data_count
,
e
.
loading
=!
1
,
t
})));
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
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
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
levelList
=
a
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
a
.
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
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
classList
=
a
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
a
.
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
;
return
this
.
loading
=!
0
,
this
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
this
.
formValidate
.
competition_method
}).
then
((
function
(
e
){
return
t
.
batchList
=
e
.
response
,
t
.
firstBatch
=
e
.
response
[
0
].
id
,
t
.
search
.
batch
=
t
.
firstBatch
,
t
.
$refs
.
search
.
searchCondObj
.
batch
=
t
.
firstBatch
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))})),
t
.
loading
=!
1
,
e
}))},
GetDeptSeletct
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetDeptSeletct
"
]();
case
2
:
a
=
e
.
sent
,
t
.
deptList
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
formValidate1Edit
:
function
(
t
){
this
.
formValidate1
=
t
},
delLevel
:
function
(
t
){
var
e
=
this
;
Object
(
u
[
"
myEncapsulationFunction
"
])((
function
(){
return
u
[
"
publicConfirm
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
LevelDel
"
]({
id
:
t
.
competitionlevelid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetLevelList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
GetLevelList
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelList
"
]();
case
2
:
a
=
e
.
sent
,
t
.
competitionLevel
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
delClass
:
function
(
t
){
var
e
=
this
;
Object
(
u
[
"
myEncapsulationFunction
"
])((
function
(){
return
u
[
"
publicConfirm
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
TypeDel
"
]({
id
:
t
.
competitiontypeid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetTypeList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
formValidate2Edit
:
function
(
t
){
this
.
formValidate2
=
t
},
LevelSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
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
a
=
e
.
sent
,
t
.
GetLevelList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
TypeSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
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
a
=
e
.
sent
,
t
.
GetTypeList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
ReportSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportSave
"
](
t
.
formValidate
);
case
2
:
return
a
=
e
.
sent
,
e
.
next
=
5
,
t
.
getCompetitionList
();
case
5
:
return
t
.
modal
.
addEventsModal
=!
1
,
t
.
formValidate
=
{},
e
.
abrupt
(
"
return
"
,
a
);
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
(
a
){
a
?
e
.
validateSwitch
(
t
):(
e
.
$Message
.
destroy
(),
e
.
$Message
.
error
(
"
请检查必填选项!
"
))}))},
handleReset
:
function
(
t
){
this
.
$refs
[
t
].
resetFields
()},
GetTypeList
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeList
"
]();
case
2
:
a
=
e
.
sent
,
t
.
competitionClass
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
dutyModelUpload
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
e
){
var
a
,
n
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
new
FormData
,
a
.
append
(
"
file
"
,
e
),
t
.
next
=
4
,
l
[
"
ReportImport
"
](
a
);
case
4
:
if
(
n
=
t
.
sent
,
1
===
n
.
code
){
t
.
next
=
10
;
break
}
window
.
location
.
href
=
n
.
response
,
this
.
$Message
.
error
(
n
.
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
,
a
){
this
.
$Message
.
info
(
t
.
msg
)},
dutyModelError
:
function
(
t
,
e
,
a
){},
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
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
formValidate
.
competition_method
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
search
.
is_tea
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
t
.
next
=
4
,
this
.
GetBatchBySelect
();
case
4
:
this
.
getCompetitionList
(),
this
.
GetHierarchySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetDeptSeletct
(),
this
.
GetLevelList
(),
this
.
GetTypeList
();
case
11
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
h
,
g
=
(
a
(
"
736d
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
d0bc5dcc
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
ccbc
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
b4af
"
)},
e0d3
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"
6d8b
"
),
i
=
a
(
"
22d1
"
),
o
=
n
.
each
,
r
=
n
.
isObject
,
c
=
n
.
isArray
,
s
=
"
series
\
0
"
;
function
l
(
t
){
return
t
instanceof
Array
?
t
:
null
==
t
?[]:[
t
]}
function
u
(
t
,
e
,
a
){
if
(
t
){
t
[
e
]
=
t
[
e
]
||
{},
t
.
emphasis
=
t
.
emphasis
||
{},
t
.
emphasis
[
e
]
=
t
.
emphasis
[
e
]
||
{};
for
(
var
n
=
0
,
i
=
a
.
length
;
n
<
i
;
n
++
){
var
o
=
a
[
n
];
!
t
.
emphasis
[
e
].
hasOwnProperty
(
o
)
&&
t
[
e
].
hasOwnProperty
(
o
)
&&
(
t
.
emphasis
[
e
][
o
]
=
t
[
e
][
o
])}}}
var
d
=
[
"
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
!
r
(
t
)
||
c
(
t
)
||
t
instanceof
Date
?
t
:
t
.
value
}
function
m
(
t
){
return
r
(
t
)
&&!
(
t
instanceof
Array
)}
function
h
(
t
,
e
){
e
=
(
e
||
[]).
slice
();
var
a
=
n
.
map
(
t
||
[],(
function
(
t
,
e
){
return
{
exist
:
t
}}));
return
o
(
e
,(
function
(
t
,
n
){
if
(
r
(
t
)){
for
(
var
i
=
0
;
i
<
a
.
length
;
i
++
)
if
(
!
a
[
i
].
option
&&
null
!=
t
.
id
&&
a
[
i
].
exist
.
id
===
t
.
id
+
""
)
return
a
[
i
].
option
=
t
,
void
(
e
[
n
]
=
null
);
for
(
i
=
0
;
i
<
a
.
length
;
i
++
){
var
o
=
a
[
i
].
exist
;
if
(
!
a
[
i
].
option
&&
(
null
==
o
.
id
||
null
==
t
.
id
)
&&
null
!=
t
.
name
&&!
v
(
t
)
&&!
v
(
o
)
&&
o
.
name
===
t
.
name
+
""
)
return
a
[
i
].
option
=
t
,
void
(
e
[
n
]
=
null
)}}})),
o
(
e
,(
function
(
t
,
e
){
if
(
r
(
t
)){
for
(
var
n
=
0
;
n
<
a
.
length
;
n
++
){
var
i
=
a
[
n
].
exist
;
if
(
!
a
[
n
].
option
&&!
v
(
i
)
&&
null
==
t
.
id
){
a
[
n
].
option
=
t
;
break
}}
n
>=
a
.
length
&&
a
.
push
({
option
:
t
})}})),
a
}
function
f
(
t
){
var
e
=
n
.
createHashMap
();
o
(
t
,(
function
(
t
,
a
){
var
n
=
t
.
exist
;
n
&&
e
.
set
(
n
.
id
,
t
)})),
o
(
t
,(
function
(
t
,
a
){
var
i
=
t
.
option
;
n
.
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
=
{})})),
o
(
t
,(
function
(
t
,
a
){
var
n
=
t
.
exist
,
i
=
t
.
option
,
o
=
t
.
keyInfo
;
if
(
r
(
i
)){
if
(
o
.
name
=
null
!=
i
.
name
?
i
.
name
+
""
:
n
?
n
.
name
:
s
+
a
,
n
)
o
.
id
=
n
.
id
;
else
if
(
null
!=
i
.
id
)
o
.
id
=
i
.
id
+
""
;
else
{
var
c
=
0
;
do
{
o
.
id
=
"
\
0
"
+
o
.
name
+
"
\
0
"
+
c
++
}
while
(
e
.
get
(
o
.
id
))}
e
.
set
(
o
.
id
,
t
)}}))}
function
g
(
t
){
var
e
=
t
.
name
;
return
!
(
!
e
||!
e
.
indexOf
(
s
))}
function
v
(
t
){
return
r
(
t
)
&&
t
.
id
&&
0
===
(
t
.
id
+
""
).
indexOf
(
"
\
0_ec_
\
0
"
)}
function
y
(
t
,
e
){
var
a
=
{},
n
=
{};
return
i
(
t
||
[],
a
),
i
(
e
||
[],
n
,
a
),[
o
(
a
),
o
(
n
)];
function
i
(
t
,
e
,
a
){
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
for
(
var
o
=
t
[
n
].
seriesId
,
r
=
l
(
t
[
n
].
dataIndex
),
c
=
a
&&
a
[
o
],
s
=
0
,
u
=
r
.
length
;
s
<
u
;
s
++
){
var
d
=
r
[
s
];
c
&&
c
[
d
]?
c
[
d
]
=
null
:(
e
[
o
]
||
(
e
[
o
]
=
{}))[
d
]
=
1
}}
function
o
(
t
,
e
){
var
a
=
[];
for
(
var
n
in
t
)
if
(
t
.
hasOwnProperty
(
n
)
&&
null
!=
t
[
n
])
if
(
e
)
a
.
push
(
+
n
);
else
{
var
i
=
o
(
t
[
n
],
!
0
);
i
.
length
&&
a
.
push
({
seriesId
:
n
,
dataIndex
:
i
})}
return
a
}}
function
b
(
t
,
e
){
return
null
!=
e
.
dataIndexInside
?
e
.
dataIndexInside
:
null
!=
e
.
dataIndex
?
n
.
isArray
(
e
.
dataIndex
)?
n
.
map
(
e
.
dataIndex
,(
function
(
e
){
return
t
.
indexOfRawIndex
(
e
)})):
t
.
indexOfRawIndex
(
e
.
dataIndex
):
null
!=
e
.
name
?
n
.
isArray
(
e
.
name
)?
n
.
map
(
e
.
name
,(
function
(
e
){
return
t
.
indexOfName
(
e
)})):
t
.
indexOfName
(
e
.
name
):
void
0
}
function
w
(){
var
t
=
"
__
\
0ec_inner_
"
+
_
+++
"
_
"
+
Math
.
random
().
toFixed
(
5
);
return
function
(
e
){
return
e
[
t
]
||
(
e
[
t
]
=
{})}}
var
_
=
0
;
function
x
(
t
,
e
,
a
){
if
(
n
.
isString
(
e
)){
var
i
=
{};
i
[
e
+
"
Index
"
]
=
0
,
e
=
i
}
var
r
=
a
&&
a
.
defaultMainType
;
!
r
||
S
(
e
,
r
+
"
Index
"
)
||
S
(
e
,
r
+
"
Id
"
)
||
S
(
e
,
r
+
"
Name
"
)
||
(
e
[
r
+
"
Index
"
]
=
0
);
var
c
=
{};
return
o
(
e
,(
function
(
i
,
o
){
i
=
e
[
o
];
if
(
"
dataIndex
"
!==
o
&&
"
dataIndexInside
"
!==
o
){
var
r
=
o
.
match
(
/^
(\w
+
)(
Index|Id|Name
)
$/
)
||
[],
s
=
r
[
1
],
l
=
(
r
[
2
]
||
""
).
toLowerCase
();
if
(
!
(
!
s
||!
l
||
null
==
i
||
"
index
"
===
l
&&
"
none
"
===
i
||
a
&&
a
.
includeMainTypes
&&
n
.
indexOf
(
a
.
includeMainTypes
,
s
)
<
0
)){
var
u
=
{
mainType
:
s
};
"
index
"
===
l
&&
"
all
"
===
i
||
(
u
[
l
]
=
i
);
var
d
=
t
.
queryComponents
(
u
);
c
[
s
+
"
Models
"
]
=
d
,
c
[
s
+
"
Model
"
]
=
d
[
0
]}}
else
c
[
o
]
=
i
})),
c
}
function
S
(
t
,
e
){
return
t
&&
t
.
hasOwnProperty
(
e
)}
function
k
(
t
,
e
,
a
){
t
.
setAttribute
?
t
.
setAttribute
(
e
,
a
):
t
[
e
]
=
a
}
function
B
(
t
,
e
){
return
t
.
getAttribute
?
t
.
getAttribute
(
e
):
t
[
e
]}
function
C
(
t
){
return
"
auto
"
===
t
?
i
.
domSupported
?
"
html
"
:
"
richText
"
:
t
||
"
html
"
}
function
L
(
t
,
e
){
var
a
=
n
.
createHashMap
(),
i
=
[];
return
n
.
each
(
t
,(
function
(
t
){
var
n
=
e
(
t
);(
a
.
get
(
n
)
||
(
i
.
push
(
n
),
a
.
set
(
n
,[]))).
push
(
t
)})),{
keys
:
i
,
buckets
:
a
}}
e
.
normalizeToArray
=
l
,
e
.
defaultEmphasis
=
u
,
e
.
TEXT_STYLE_OPTIONS
=
d
,
e
.
getDataItemValue
=
p
,
e
.
isDataItemOption
=
m
,
e
.
mappingToExists
=
h
,
e
.
makeIdAndName
=
f
,
e
.
isNameSpecified
=
g
,
e
.
isIdInner
=
v
,
e
.
compressBatches
=
y
,
e
.
queryDataIndex
=
b
,
e
.
makeInner
=
w
,
e
.
parseFinder
=
x
,
e
.
setAttribute
=
k
,
e
.
getAttribute
=
B
,
e
.
getTooltipRenderMode
=
C
,
e
.
groupData
=
L
}}]);
\ No newline at end of file
dist/js/chunk-4c194c8d.14f52a1e.js
已删除
100644 → 0
浏览文件 @
f55e7b5e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-4c194c8d
"
],{
"
02bd
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
Card
"
,[
a
(
"
Menu
"
,{
attrs
:{
mode
:
"
horizontal
"
,
theme
:
"
light
"
,
"
active-name
"
:
"
1
"
},
on
:{
"
on-select
"
:
t
.
aaa
}},[
a
(
"
MenuItem
"
,{
attrs
:{
name
:
"
1
"
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-people
"
}}),
t
.
_v
(
"
\n
赛事目录维护
\n
"
)],
1
),
t
.
getUserRole
()?
a
(
"
MenuItem
"
,{
attrs
:{
name
:
"
2
"
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-paper
"
}}),
t
.
_v
(
"
\n
批次管理
\n
"
)],
1
):
t
.
_e
()],
1
),
a
(
"
br
"
),
1
===
t
.
componentState
?
a
(
"
eventMatalogMaintenance
"
,{
tag
:
"
component
"
}):
t
.
_e
(),
2
===
t
.
componentState
?
a
(
"
batchManagement
"
,{
tag
:
"
component
"
}):
t
.
_e
(),
a
(
"
keep-alive
"
)],
1
)},
i
=
[],
o
=
(
a
(
"
c5f6
"
),
a
(
"
c827
"
)),
r
=
a
(
"
9cc4
"
),
c
=
(
a
(
"
61be
"
),{
components
:{
eventMatalogMaintenance
:
o
[
"
a
"
],
batchManagement
:
r
[
"
a
"
]},
data
:
function
(){
return
{
componentState
:
1
,
init
:{
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
columns
:[{
title
:
"
Name
"
,
key
:
"
name
"
},{
title
:
"
Age
"
,
key
:
"
age
"
},{
title
:
"
Address
"
,
key
:
"
address
"
}],
data
:[{
name
:
"
John Brown
"
,
age
:
18
,
address
:
"
New York No. 1 Lake Park
"
,
date
:
"
2016-10-03
"
},{
name
:
"
Jim Green
"
,
age
:
24
,
address
:
"
London No. 1 Lake Park
"
,
date
:
"
2016-10-01
"
},{
name
:
"
Joe Black
"
,
age
:
30
,
address
:
"
Sydney No. 1 Lake Park
"
,
date
:
"
2016-10-02
"
},{
name
:
"
Jon Snow
"
,
age
:
26
,
address
:
"
Ottawa No. 2 Lake Park
"
,
date
:
"
2016-10-04
"
}],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
getCompetitionSignList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
getCompetitionSignList
()},
aaa
:
function
(
t
){
this
.
componentState
=
Number
(
t
)}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}}),
s
=
c
,
l
=
a
(
"
2877
"
),
d
=
Object
(
l
[
"
a
"
])(
s
,
n
,
i
,
!
1
,
null
,
"
56e86e65
"
,
null
);
e
[
"
default
"
]
=
d
.
exports
},
"
22d1
"
:
function
(
t
,
e
){
var
a
=
{};
a
=
"
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
n
=
a
;
function
i
(
t
){
var
e
=
{},
a
=
{},
n
=
t
.
match
(
/Firefox
\/([\d
.
]
+
)
/
),
i
=
t
.
match
(
/MSIE
\s([\d
.
]
+
)
/
)
||
t
.
match
(
/Trident
\/
.+
?
rv:
(([\d
.
]
+
))
/
),
o
=
t
.
match
(
/Edge
\/([\d
.
]
+
)
/
),
r
=
/micromessenger/i
.
test
(
t
);
return
n
&&
(
a
.
firefox
=!
0
,
a
.
version
=
n
[
1
]),
i
&&
(
a
.
ie
=!
0
,
a
.
version
=
i
[
1
]),
o
&&
(
a
.
edge
=!
0
,
a
.
version
=
o
[
1
]),
r
&&
(
a
.
weChat
=!
0
),{
browser
:
a
,
os
:
e
,
node
:
!
1
,
canvasSupported
:
!!
document
.
createElement
(
"
canvas
"
).
getContext
,
svgSupported
:
"
undefined
"
!==
typeof
SVGRect
,
touchEventsSupported
:
"
ontouchstart
"
in
window
&&!
a
.
ie
&&!
a
.
edge
,
pointerEventsSupported
:
"
onpointerdown
"
in
window
&&
(
a
.
edge
||
a
.
ie
&&
a
.
version
>=
11
),
domSupported
:
"
undefined
"
!==
typeof
document
}}
t
.
exports
=
n
},
"
386d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
a
(
"
cb7c
"
),
i
=
a
(
"
83a1
"
),
o
=
a
(
"
5f1b
"
);
a
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
a
,
r
){
return
[
function
(
a
){
var
n
=
t
(
this
),
i
=
void
0
==
a
?
void
0
:
a
[
e
];
return
void
0
!==
i
?
i
.
call
(
a
,
n
):
new
RegExp
(
a
)[
e
](
String
(
n
))},
function
(
t
){
var
e
=
r
(
a
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
c
=
n
(
t
),
s
=
String
(
this
),
l
=
c
.
lastIndex
;
i
(
l
,
0
)
||
(
c
.
lastIndex
=
0
);
var
d
=
o
(
c
,
s
);
return
i
(
c
.
lastIndex
,
l
)
||
(
c
.
lastIndex
=
l
),
null
===
d
?
-
1
:
d
.
index
}]}))},
5956
:
function
(
t
,
e
,
a
){},
"
6d8b
"
:
function
(
t
,
e
){
var
a
=
{
"
[object Function]
"
:
1
,
"
[object RegExp]
"
:
1
,
"
[object Date]
"
:
1
,
"
[object Error]
"
:
1
,
"
[object CanvasGradient]
"
:
1
,
"
[object CanvasPattern]
"
:
1
,
"
[object Image]
"
:
1
,
"
[object Canvas]
"
:
1
},
n
=
{
"
[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
,
o
=
Array
.
prototype
,
r
=
o
.
forEach
,
c
=
o
.
filter
,
s
=
o
.
slice
,
l
=
o
.
map
,
d
=
o
.
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
,
o
=
i
.
call
(
t
);
if
(
"
[object Array]
"
===
o
){
if
(
!
Y
(
t
)){
e
=
[];
for
(
var
r
=
0
,
c
=
t
.
length
;
r
<
c
;
r
++
)
e
[
r
]
=
m
(
t
[
r
])}}
else
if
(
n
[
o
]){
if
(
!
Y
(
t
)){
var
s
=
t
.
constructor
;
if
(
t
.
constructor
.
from
)
e
=
s
.
from
(
t
);
else
{
e
=
new
s
(
t
.
length
);
for
(
r
=
0
,
c
=
t
.
length
;
r
<
c
;
r
++
)
e
[
r
]
=
m
(
t
[
r
])}}}
else
if
(
!
a
[
o
]
&&!
Y
(
t
)
&&!
R
(
t
))
for
(
var
l
in
e
=
{},
t
)
t
.
hasOwnProperty
(
l
)
&&
(
e
[
l
]
=
m
(
t
[
l
]));
return
e
}
function
h
(
t
,
e
,
a
){
if
(
!
A
(
e
)
||!
A
(
t
))
return
a
?
m
(
e
):
t
;
for
(
var
n
in
e
)
if
(
e
.
hasOwnProperty
(
n
)){
var
i
=
t
[
n
],
o
=
e
[
n
];
!
A
(
o
)
||!
A
(
i
)
||
E
(
o
)
||
E
(
i
)
||
R
(
o
)
||
R
(
i
)
||
D
(
o
)
||
D
(
i
)
||
Y
(
o
)
||
Y
(
i
)?
!
a
&&
n
in
t
||
(
t
[
n
]
=
m
(
e
[
n
],
!
0
)):
h
(
i
,
o
,
a
)}
return
t
}
function
f
(
t
,
e
){
for
(
var
a
=
t
[
0
],
n
=
1
,
i
=
t
.
length
;
n
<
i
;
n
++
)
a
=
h
(
a
,
t
[
n
],
e
);
return
a
}
function
g
(
t
,
e
){
for
(
var
a
in
e
)
e
.
hasOwnProperty
(
a
)
&&
(
t
[
a
]
=
e
[
a
]);
return
t
}
function
v
(
t
,
e
,
a
){
for
(
var
n
in
e
)
e
.
hasOwnProperty
(
n
)
&&
(
a
?
null
!=
e
[
n
]:
null
==
t
[
n
])
&&
(
t
[
n
]
=
e
[
n
]);
return
t
}
var
y
,
b
=
function
(){
return
u
.
createCanvas
()};
function
w
(){
return
y
||
(
y
=
b
().
getContext
(
"
2d
"
)),
y
}
function
_
(
t
,
e
){
if
(
t
){
if
(
t
.
indexOf
)
return
t
.
indexOf
(
e
);
for
(
var
a
=
0
,
n
=
t
.
length
;
a
<
n
;
a
++
)
if
(
t
[
a
]
===
e
)
return
a
}
return
-
1
}
function
x
(
t
,
e
){
var
a
=
t
.
prototype
;
function
n
(){}
for
(
var
i
in
n
.
prototype
=
e
.
prototype
,
t
.
prototype
=
new
n
,
a
)
a
.
hasOwnProperty
(
i
)
&&
(
t
.
prototype
[
i
]
=
a
[
i
]);
t
.
prototype
.
constructor
=
t
,
t
.
superClass
=
e
}
function
S
(
t
,
e
,
a
){
t
=
"
prototype
"
in
t
?
t
.
prototype
:
t
,
e
=
"
prototype
"
in
e
?
e
.
prototype
:
e
,
v
(
t
,
e
,
a
)}
function
k
(
t
){
if
(
t
)
return
"
string
"
!==
typeof
t
&&
"
number
"
===
typeof
t
.
length
}
function
B
(
t
,
e
,
a
){
if
(
t
&&
e
)
if
(
t
.
forEach
&&
t
.
forEach
===
r
)
t
.
forEach
(
e
,
a
);
else
if
(
t
.
length
===+
t
.
length
)
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
e
.
call
(
a
,
t
[
n
],
n
,
t
);
else
for
(
var
o
in
t
)
t
.
hasOwnProperty
(
o
)
&&
e
.
call
(
a
,
t
[
o
],
o
,
t
)}
function
C
(
t
,
e
,
a
){
if
(
t
&&
e
){
if
(
t
.
map
&&
t
.
map
===
l
)
return
t
.
map
(
e
,
a
);
for
(
var
n
=
[],
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
n
.
push
(
e
.
call
(
a
,
t
[
i
],
i
,
t
));
return
n
}}
function
L
(
t
,
e
,
a
,
n
){
if
(
t
&&
e
){
if
(
t
.
reduce
&&
t
.
reduce
===
d
)
return
t
.
reduce
(
e
,
a
,
n
);
for
(
var
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
a
=
e
.
call
(
n
,
a
,
t
[
i
],
i
,
t
);
return
a
}}
function
O
(
t
,
e
,
a
){
if
(
t
&&
e
){
if
(
t
.
filter
&&
t
.
filter
===
c
)
return
t
.
filter
(
e
,
a
);
for
(
var
n
=
[],
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
e
.
call
(
a
,
t
[
i
],
i
,
t
)
&&
n
.
push
(
t
[
i
]);
return
n
}}
function
I
(
t
,
e
,
a
){
if
(
t
&&
e
)
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
if
(
e
.
call
(
a
,
t
[
n
],
n
,
t
))
return
t
[
n
]}
function
V
(
t
,
e
){
var
a
=
s
.
call
(
arguments
,
2
);
return
function
(){
return
t
.
apply
(
e
,
a
.
concat
(
s
.
call
(
arguments
)))}}
function
j
(
t
){
var
e
=
s
.
call
(
arguments
,
1
);
return
function
(){
return
t
.
apply
(
this
,
e
.
concat
(
s
.
call
(
arguments
)))}}
function
E
(
t
){
return
"
[object Array]
"
===
i
.
call
(
t
)}
function
M
(
t
){
return
"
function
"
===
typeof
t
}
function
F
(
t
){
return
"
[object String]
"
===
i
.
call
(
t
)}
function
A
(
t
){
var
e
=
typeof
t
;
return
"
function
"
===
e
||!!
t
&&
"
object
"
===
e
}
function
D
(
t
){
return
!!
a
[
i
.
call
(
t
)]}
function
P
(
t
){
return
!!
n
[
i
.
call
(
t
)]}
function
R
(
t
){
return
"
object
"
===
typeof
t
&&
"
number
"
===
typeof
t
.
nodeType
&&
"
object
"
===
typeof
t
.
ownerDocument
}
function
G
(
t
){
return
t
!==
t
}
function
T
(
t
){
for
(
var
e
=
0
,
a
=
arguments
.
length
;
e
<
a
;
e
++
)
if
(
null
!=
arguments
[
e
])
return
arguments
[
e
]}
function
$
(
t
,
e
){
return
null
!=
t
?
t
:
e
}
function
z
(
t
,
e
,
a
){
return
null
!=
t
?
t
:
null
!=
e
?
e
:
a
}
function
W
(){
return
Function
.
call
.
apply
(
s
,
arguments
)}
function
q
(
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
N
(
t
,
e
){
if
(
!
t
)
throw
new
Error
(
e
)}
function
U
(
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
J
(
t
){
t
[
H
]
=!
0
}
function
Y
(
t
){
return
t
[
H
]}
function
K
(
t
){
var
e
=
E
(
t
);
this
.
data
=
{};
var
a
=
this
;
function
n
(
t
,
n
){
e
?
a
.
set
(
t
,
n
):
a
.
set
(
n
,
t
)}
t
instanceof
K
?
t
.
each
(
n
):
t
&&
B
(
t
,
n
)}
function
X
(
t
){
return
new
K
(
t
)}
function
Q
(
t
,
e
){
for
(
var
a
=
new
t
.
constructor
(
t
.
length
+
e
.
length
),
n
=
0
;
n
<
t
.
length
;
n
++
)
a
[
n
]
=
t
[
n
];
var
i
=
t
.
length
;
for
(
n
=
0
;
n
<
e
.
length
;
n
++
)
a
[
n
+
i
]
=
e
[
n
];
return
a
}
function
Z
(){}
K
.
prototype
=
{
constructor
:
K
,
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
a
in
void
0
!==
e
&&
(
t
=
V
(
t
,
e
)),
this
.
data
)
this
.
data
.
hasOwnProperty
(
a
)
&&
t
(
this
.
data
[
a
],
a
)},
removeKey
:
function
(
t
){
delete
this
.
data
[
t
]}},
e
.
$override
=
p
,
e
.
clone
=
m
,
e
.
merge
=
h
,
e
.
mergeAll
=
f
,
e
.
extend
=
g
,
e
.
defaults
=
v
,
e
.
createCanvas
=
b
,
e
.
getContext
=
w
,
e
.
indexOf
=
_
,
e
.
inherits
=
x
,
e
.
mixin
=
S
,
e
.
isArrayLike
=
k
,
e
.
each
=
B
,
e
.
map
=
C
,
e
.
reduce
=
L
,
e
.
filter
=
O
,
e
.
find
=
I
,
e
.
bind
=
V
,
e
.
curry
=
j
,
e
.
isArray
=
E
,
e
.
isFunction
=
M
,
e
.
isString
=
F
,
e
.
isObject
=
A
,
e
.
isBuiltInObject
=
D
,
e
.
isTypedArray
=
P
,
e
.
isDom
=
R
,
e
.
eqNaN
=
G
,
e
.
retrieve
=
T
,
e
.
retrieve2
=
$
,
e
.
retrieve3
=
z
,
e
.
slice
=
W
,
e
.
normalizeCssArray
=
q
,
e
.
assert
=
N
,
e
.
trim
=
U
,
e
.
setAsPrimitive
=
J
,
e
.
isPrimitive
=
Y
,
e
.
createHashMap
=
X
,
e
.
concatArray
=
Q
,
e
.
noop
=
Z
},
"
736d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
98b0
"
)},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
"
98b0
"
:
function
(
t
,
e
,
a
){},
"
9cc4
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
t
.
addBatch
}},[
t
.
_v
(
"
添加赛事批次
"
)])]},
proxy
:
!
0
}])},[
a
(
"
br
"
),
a
(
"
br
"
),
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
bed_time
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
n
.
bed_time
?
a
(
"
span
"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
n
.
bed_time
.
split
(
"
00:00
"
)[
0
]
+
"
~
"
+
n
.
end_time
.
split
(
"
00:00
"
)[
0
])
+
"
\n
"
)]):
t
.
_e
()]}},{
key
:
"
competition_method
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
blue
"
][
n
.
competition_method
]}},[
t
.
_v
(
t
.
_s
([
"
学生
"
,
"
教师
"
][
n
.
competition_method
]))])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
batchSynchronization
(
n
)}}},[
t
.
_v
(
"
批次同步
"
)]),
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
edit
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]),
1
==
n
.
is_allow_delete
?
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
n
)},
"
on-cancel
"
:
t
.
cancel
}},[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)])]):
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
#C5C8CE
"
}},[
t
.
_v
(
"
删除
"
)])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
50
,
title
:
"
添加赛事学年
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
batchModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
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
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_name
"
}},[
a
(
"
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
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛起止时间
"
,
prop
:
"
dateRange
"
}},[
a
(
"
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
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
备注
"
,
prop
:
"
remark
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
批次同步
"
,
width
:
80
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
curBatch
.
show
=!
1
}}},[
t
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
curBatch
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
curBatch
,
"
show
"
,
e
)},
expression
:
"
curBatch.show
"
}},[
a
(
"
cs-search-cond-form
"
,{
ref
:
"
searchCondForm
"
,
attrs
:{
searchCondList
:
t
.
curBatch
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
curBatch
.
params
},
on
:{
onSubmit
:
t
.
searchModal
,
onReset
:
t
.
resetModal
}}),
a
(
"
div
"
,[
a
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
function
(
e
){
t
.
awaitSelectBatch
.
show
=!
0
,
t
.
getAwaitSelectBatchData
()}}},[
t
.
_v
(
"
选择同步批次
"
)])],
1
),
a
(
"
csCTable
"
,{
attrs
:{
tableColumns
:
t
.
curBatch
.
columns
.
filter
((
function
(
t
){
return
t
.
show
})),
tableData
:
t
.
curBatch
.
data
,
tableLoading
:
t
.
curBatch
.
loading
,
dataCount
:
t
.
curBatch
.
dataCount
,
pageIndex
:
t
.
curBatch
.
params
.
page_index
,
pageSize
:
t
.
curBatch
.
params
.
page_size
},
on
:{
onPageChange
:
t
.
onPageChange
,
onPageSizeChange
:
t
.
onPageSizeChange
}}),
a
(
"
Drawer
"
,{
attrs
:{
"
mask-closable
"
:
!
1
,
transfer
:
!
1
,
draggable
:
!
0
,
width
:
950
,
title
:
"
选择同步批次
"
},
model
:{
value
:
t
.
awaitSelectBatch
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
,
"
show
"
,
e
)},
expression
:
"
awaitSelectBatch.show
"
}},[
a
(
"
Form
"
,{
attrs
:{
model
:
t
.
awaitSelectBatch
.
formData
,
"
label-width
"
:
80
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
目的批次
"
}},[
a
(
"
Select
"
,{
model
:{
value
:
t
.
awaitSelectBatch
.
formData
.
target_batch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
.
formData
,
"
target_batch
"
,
e
)},
expression
:
"
awaitSelectBatch.formData.target_batch
"
}},
t
.
_l
(
t
.
batchList
,(
function
(
e
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
源批次
"
}},[
a
(
"
Select
"
,{
attrs
:{
clearable
:
""
},
on
:{
"
on-change
"
:
t
.
sourceBatchChange
},
model
:{
value
:
t
.
awaitSelectBatch
.
formData
.
source_batch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
.
formData
,
"
source_batch
"
,
e
)},
expression
:
"
awaitSelectBatch.formData.source_batch
"
}},
t
.
_l
(
t
.
batchList
.
filter
((
function
(
e
){
return
e
.
value
!==
t
.
awaitSelectBatch
.
formData
.
target_batch
})),(
function
(
e
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
)
+
"
\n
"
)])})),
1
)],
1
)],
1
),
a
(
"
csCTable
"
,{
attrs
:{
tableColumns
:
t
.
awaitSelectBatch
.
columns
.
filter
((
function
(
t
){
return
t
.
show
})),
tableData
:
t
.
awaitSelectBatch
.
data
,
tableLoading
:
t
.
awaitSelectBatch
.
loading
,
dataCount
:
t
.
awaitSelectBatch
.
dataCount
,
pageIndex
:
t
.
awaitSelectBatch
.
params
.
page_index
,
pageSize
:
t
.
awaitSelectBatch
.
params
.
page_size
},
on
:{
onPageChange
:
t
.
onPageChangeAwaitSelectBatch
,
onPageSizeChange
:
t
.
onPageSizeChangeAwaitSelectBatch
,
onSelectionChange
:
t
.
onSelectionChange
}}),
a
(
"
div
"
,{
staticClass
:
"
demo-drawer-footer
"
},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
8px
"
},
on
:{
click
:
function
(
e
){
t
.
awaitSelectBatch
.
show
=!
1
}}},[
t
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
commitSyncBatch
}},[
t
.
_v
(
"
提交同步批次
"
)])],
1
)],
1
)],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
456d
"
),
a
(
"
ac6a
"
),
a
(
"
7f7f
"
),
a
(
"
96cf
"
),
a
(
"
3b8d
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
bd86
"
)),
c
=
a
(
"
967e
"
),
s
=
a
.
n
(
c
),
l
=
a
(
"
7f6b
"
),
d
=
a
(
"
d02c
"
),
u
=
a
(
"
61be
"
);
function
p
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
p
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
r
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
p
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
h
=
{
components
:{},
props
:[
"
studentOrTeacher
"
],
data
:
function
(){
return
{
awaitSelectBatch
:{
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
}]}],
dataCount
:
0
,
show
:
!
1
,
data
:[],
columns
:[{
title
:
"
序号
"
,
type
:
"
selection
"
,
show
:
!
0
,
minWidth
:
80
,
fixed
:
"
left
"
,
align
:
"
center
"
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
key
:
"
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
}],
loading
:
!
1
,
params
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
},
formData
:{
competition_id_list
:[],
source_batch
:
""
,
target_batch
:
""
}},
batchList
:[],
curBatch
:{
searchCondList
:[{
id
:
"
batch
"
,
name
:
"
赛事批次
"
,
type
:
"
select
"
,
show
:
!
0
,
disabled
:
!
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
}]}],
dataCount
:
0
,
show
:
!
1
,
data
:[],
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
minWidth
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
key
:
"
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
}],
loading
:
!
1
,
params
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
}},
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
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
commitSyncBatch
:
function
(){
var
t
=
this
;
u
[
"
publicConfirm
"
]((
function
(){
u
[
"
myEncapsulationFunction
"
]((
function
(){
return
d
[
"
postApiCommonBatchSync
"
](
t
.
awaitSelectBatch
.
formData
).
then
((
function
(
e
){
return
1
===
e
.
code
&&
(
t
.
getMdoalData
(),
t
.
awaitSelectBatch
.
show
=!
1
),
e
}),
!
1
,
"
同步中...
"
)}))}))},
sourceBatchChange
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
batch
=
t
,
this
.
getAwaitSelectBatchData
()},
onSelectionChange
:
function
(
t
){
this
.
awaitSelectBatch
.
formData
.
competition_id_list
=
t
.
map
((
function
(
t
){
return
t
.
competitionreportid
}))},
getAwaitSelectBatchData
:
function
(){
var
t
=
this
;
this
.
awaitSelectBatch
.
loading
=!
0
,
d
[
"
postApiCompetitionReportApiCompetitionReportGetReportList
"
](
this
.
awaitSelectBatch
.
params
).
then
((
function
(
e
){
t
.
awaitSelectBatch
.
data
=
e
.
response
.
data
,
t
.
awaitSelectBatch
.
dataCount
=
e
.
response
.
data_count
,
t
.
awaitSelectBatch
.
loading
=!
1
})).
finally
((
function
(){
t
.
awaitSelectBatch
.
loading
=!
1
}))},
onPageChangeAwaitSelectBatch
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
page_index
=
t
,
this
.
getAwaitSelectBatchData
()},
onPageSizeChangeAwaitSelectBatch
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
page_size
=
t
,
1
==
this
.
awaitSelectBatch
.
params
.
page_index
&&
this
.
onPageChangeAwaitSelectBatch
(
1
)},
resetModal
:
function
(){
this
.
curBatch
.
params
=
{
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
.
getMdoalData
()},
searchModal
:
function
(
t
){
this
.
curBatch
.
params
=
m
(
m
(
m
({},
this
.
curBatch
.
params
),
t
),{},{
page_index
:
1
}),
this
.
getMdoalData
()},
batchSynchronization
:
function
(
t
){
this
.
$refs
.
searchCondForm
.
searchCondObj
.
batch
=
t
.
competitionbatchid
,
this
.
curBatch
.
params
.
batch
=
t
.
competitionbatchid
,
this
.
awaitSelectBatch
.
formData
.
target_batch
=
t
.
competitionbatchid
,
this
.
getMdoalData
(),
this
.
curBatch
.
show
=!
0
},
getMdoalData
:
function
(){
var
t
=
this
;
this
.
curBatch
.
loading
=!
0
,
d
[
"
postApiCompetitionReportApiCompetitionReportGetReportList
"
](
this
.
curBatch
.
params
).
then
((
function
(
e
){
t
.
curBatch
.
data
=
e
.
response
.
data
,
t
.
curBatch
.
dataCount
=
e
.
response
.
data_count
,
t
.
curBatch
.
loading
=!
1
})).
finally
((
function
(){
t
.
curBatch
.
loading
=!
1
}))},
onPageChange
:
function
(
t
){
this
.
curBatch
.
params
.
page_index
=
t
,
this
.
getMdoalData
()},
onPageSizeChange
:
function
(
t
){
this
.
curBatch
.
params
.
page_size
=
t
,
1
==
this
.
curBatch
.
params
.
page_index
&&
this
.
onPageChange
(
1
)},
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
=
m
(
m
({},
t
),{},{
dateRange
:
e
})},
cancel
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
Object
(
u
[
"
myEncapsulationFunction
"
])(
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
BatchDel
"
]({
id
:
t
.
competitionbatchid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetBatchList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
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
;
u
[
"
myEncapsulationFunction
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
BatchSave
"
](
t
.
formValidate
);
case
2
:
return
a
=
e
.
sent
,
1
===
a
.
code
&&
t
.
GetBatchList
(),
e
.
abrupt
(
"
return
"
,
a
);
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
;
u
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
loading
=!
0
,
a
=
{
page_index
:
t
.
init
.
page_index
,
page_size
:
t
.
init
.
page_size
,
competition_method
:
t
.
init
.
competition_method
},
e
.
next
=
4
,
t
.
asc
.
getApiCommonGetBatchList
(
a
);
case
4
:
n
=
e
.
sent
,
t
.
data
=
n
.
response
.
data
,
t
.
init
.
total
=
n
.
response
.
data_count
,
t
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetHierarchySelect
:
function
(){
var
t
=
this
;
this
.
asc
.
getApiCommonGetHierarchySelect
().
then
((
function
(
e
){
t
.
curBatch
.
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
;
u
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
a
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
a
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetBatchBySelect
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
]((
function
(){
t
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
t
.
formValidate
.
competition_method
}).
then
((
function
(
e
){
t
.
batchList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})),
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))}))}},
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
(),
this
.
GetHierarchySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetBatchBySelect
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
h
,
g
=
(
a
(
"
fbd8
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
d35d1902
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
c827
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
t
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
search
},
on
:{
onSubmit
:
t
.
search1
,
onReset
:
t
.
reset
}}),
t
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
(),
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-cloud-download
"
},
on
:{
click
:
t
.
ReportExportToExcel
}},[
t
.
_v
(
"
\n
导出数据
\n
"
)]),
t
.
isAdmin
?
a
(
"
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
}])},[
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
isAdmin
?
t
.
columns
:
t
.
columns
.
filter
((
function
(
t
){
return
"
操作
"
!==
t
.
title
})),
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
competitionname
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
competitionname
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
competitionsubitem_name
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
competitionsubitem_name
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
dept
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tooltip
"
,{
attrs
:{
placement
:
"
right-end
"
,
transfer
:
!
1
,
"
max-width
"
:
500
},
scopedSlots
:
t
.
_u
([{
key
:
"
content
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,[
t
.
_v
(
"
"
+
t
.
_s
(
n
.
dept
))])]},
proxy
:
!
0
}],
null
,
!
0
)},[
n
.
dept
?
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
n
.
dept
,
length
:
18
}}):
t
.
_e
()],
1
)]}},{
key
:
"
way
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
n
.
way
]}},[
a
(
"
span
"
,{
staticStyle
:{
color
:
"
white
"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
团队
"
,
"
个人
"
][
n
.
way
])
+
"
\n
"
)])])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
t
.
isAdmin
?
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
t
.
eventTitle
=
"
编辑赛事
"
,
t
.
importFile
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]):
t
.
_e
(),
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
n
)},
"
on-cancel
"
:
t
.
cancel
}},[
t
.
isAdmin
?
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)]):
t
.
_e
()])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
45
,
title
:
t
.
eventTitle
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
dashed
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventsModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
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
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
a
(
"
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
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionname
"
,
e
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name1
"
}},[
a
(
"
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
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id1
"
}},[
a
(
"
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
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
t
.
formValidate
.
sponsor
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
sponsor
"
,
e
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
)],
1
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id1
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事级别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addeventLevel
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate1
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
a
(
"
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
"
}},[
a
(
"
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
,
n
){
return
a
(
"
div
"
,{
key
:
n
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
formValidate1Edit
(
e
)}}},[
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitionlevel_name
))]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
t
.
delLevel
(
e
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
a
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
t
.
formValidate1
,
rules
:
t
.
ruleValidate1
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competitionlevel_name
"
}},[
a
(
"
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
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark1
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate1
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
remark
"
,
e
)},
expression
:
"
formValidate1.remark
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate1
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
status
"
,
e
)},
expression
:
"
formValidate1.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事类别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventCategory
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate2
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
a
(
"
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
"
}},[
a
(
"
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
,
n
){
return
a
(
"
div
"
,{
key
:
n
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
formValidate2Edit
(
e
)}}},[
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitiontype_name
)
+
"
\n\n
"
)]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
t
.
delClass
(
e
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
a
(
"
Form
"
,{
ref
:
"
formValidate2
"
,
attrs
:{
model
:
t
.
formValidate2
,
rules
:
t
.
ruleValidate2
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛类别
"
,
prop
:
"
competitiontype_name
"
}},[
a
(
"
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
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入描述
"
},
model
:{
value
:
t
.
formValidate2
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
remark
"
,
e
)},
expression
:
"
formValidate2.remark
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate2
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
status
"
,
e
)},
expression
:
"
formValidate2.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
模板导入
"
,
width
:
"
40%
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
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
"
}},[
a
(
"
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
:
""
}},[
a
(
"
div
"
,{
staticStyle
:{
padding
:
"
120px 0
"
}},[
a
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
a
(
"
p
"
,[
t
.
_v
(
"
竞赛模板文件上传
"
)])],
1
)])],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
456d
"
),
a
(
"
7f7f
"
),
a
(
"
ac6a
"
),
a
(
"
bd86
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
386d
"
),
a
(
"
96cf
"
),
a
(
"
3b8d
"
)),
c
=
a
(
"
967e
"
),
s
=
a
.
n
(
c
),
l
=
(
a
(
"
a78e
"
),
a
(
"
7f6b
"
)),
d
=
a
(
"
61be
"
),
u
=
(
a
(
"
e0d3
"
),
a
(
"
c276
"
));
function
p
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
p
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
o
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
p
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
h
=
{
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
:
""
,
firstBatch
:
""
,
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
:
"
赛事名称
"
,
slot
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
slot
:
"
dept
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛项名称
"
,
slot
:
"
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
"
,
align
:
"
center
"
}],
data
:[],
theme
:
"
light
"
,
deptList
:[]}},
computed
:{
isAdmin
:
function
(){
var
t
=
JSON
.
parse
(
u
[
"
a
"
].
cookies
.
get
(
"
competition-roleId
"
));
return
"
管理员
"
===
t
.
role_name
}},
watch
:{},
methods
:{
ReportExportToExcel
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportExportToExcel
"
](
t
.
search
);
case
2
:
a
=
e
.
sent
,
t
.
blobFileImport
(
a
,
"
赛事目录导出
"
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetReportImportTemplate
:
function
(){
var
t
=
this
;
this
.
Bloading
=
d
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
Bloading
=!
0
,
e
.
next
=
3
,
l
[
"
GetReportImportTemplate
"
]();
case
3
:
a
=
e
.
sent
,
window
.
location
.
href
=
a
.
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
,
a
){
""
!==
t
&&
e
.
push
(
t
)})),
this
.
formValidate
=
m
(
m
({},
t
),{},{
dept_id
:
e
}),
this
.
modal
.
addEventsModal
=!
0
},
edit
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
ReportDel
"
]({
id
:
t
.
competitionreportid
});
case
2
:
return
n
=
a
.
sent
,
e
.
getCompetitionList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
cancel
:
function
(){},
reset
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
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
.
search
.
batch
=
this
.
firstBatch
,
this
.
$refs
.
search
.
searchCondObj
.
batch
=
this
.
firstBatch
,
t
.
next
=
5
,
this
.
GetBatchBySelect
();
case
5
:
this
.
pageKey
++
,
this
.
getCompetitionList
();
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
search1
:
function
(
t
){
this
.
search
=
m
(
m
(
m
({},
this
.
search
),
t
),{},{
page_index
:
1
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
}),
this
.
pageKey
++
,
this
.
getCompetitionList
()},
getCompetitionList
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
.
abrupt
(
"
return
"
,
l
[
"
GetReportList
"
](
m
(
m
({},
this
.
search
),{},{
way
:
d
[
"
isWayEq2InSetNull
"
](
this
.
search
.
way
)})).
then
((
function
(
t
){
return
e
.
data
=
t
.
response
.
data
,
e
.
init
.
total
=
t
.
response
.
data_count
,
e
.
loading
=!
1
,
t
})));
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
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
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
levelList
=
a
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
a
.
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
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
classList
=
a
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
a
.
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
;
return
this
.
loading
=!
0
,
this
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
this
.
formValidate
.
competition_method
}).
then
((
function
(
e
){
return
t
.
batchList
=
e
.
response
,
t
.
firstBatch
=
e
.
response
[
0
].
id
,
t
.
search
.
batch
=
t
.
firstBatch
,
t
.
$refs
.
search
.
searchCondObj
.
batch
=
t
.
firstBatch
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))})),
t
.
loading
=!
1
,
e
}))},
GetDeptSeletct
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetDeptSeletct
"
]();
case
2
:
a
=
e
.
sent
,
t
.
deptList
=
a
.
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
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
LevelDel
"
]({
id
:
t
.
competitionlevelid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetLevelList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
GetLevelList
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelList
"
]();
case
2
:
a
=
e
.
sent
,
t
.
competitionLevel
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
delClass
:
function
(
t
){
var
e
=
this
;
Object
(
d
[
"
myEncapsulationFunction
"
])((
function
(){
return
d
[
"
publicConfirm
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
TypeDel
"
]({
id
:
t
.
competitiontypeid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetTypeList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
formValidate2Edit
:
function
(
t
){
this
.
formValidate2
=
t
},
LevelSave
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
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
a
=
e
.
sent
,
t
.
GetLevelList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
TypeSave
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
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
a
=
e
.
sent
,
t
.
GetTypeList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
ReportSave
:
function
(){
var
t
=
this
;
d
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportSave
"
](
t
.
formValidate
);
case
2
:
return
a
=
e
.
sent
,
e
.
next
=
5
,
t
.
getCompetitionList
();
case
5
:
return
t
.
modal
.
addEventsModal
=!
1
,
t
.
formValidate
=
{},
e
.
abrupt
(
"
return
"
,
a
);
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
(
a
){
a
?
e
.
validateSwitch
(
t
):(
e
.
$Message
.
destroy
(),
e
.
$Message
.
error
(
"
请检查必填选项!
"
))}))},
handleReset
:
function
(
t
){
this
.
$refs
[
t
].
resetFields
()},
GetTypeList
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeList
"
]();
case
2
:
a
=
e
.
sent
,
t
.
competitionClass
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
dutyModelUpload
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
e
){
var
a
,
n
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
new
FormData
,
a
.
append
(
"
file
"
,
e
),
t
.
next
=
4
,
l
[
"
ReportImport
"
](
a
);
case
4
:
if
(
n
=
t
.
sent
,
1
===
n
.
code
){
t
.
next
=
10
;
break
}
window
.
location
.
href
=
n
.
response
,
this
.
$Message
.
error
(
n
.
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
,
a
){
this
.
$Message
.
info
(
t
.
msg
)},
dutyModelError
:
function
(
t
,
e
,
a
){},
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
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
formValidate
.
competition_method
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
search
.
is_tea
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
t
.
next
=
4
,
this
.
GetBatchBySelect
();
case
4
:
this
.
getCompetitionList
(),
this
.
GetHierarchySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetDeptSeletct
(),
this
.
GetLevelList
(),
this
.
GetTypeList
();
case
11
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
h
,
g
=
(
a
(
"
736d
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
d0bc5dcc
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
e0d3
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"
6d8b
"
),
i
=
a
(
"
22d1
"
),
o
=
n
.
each
,
r
=
n
.
isObject
,
c
=
n
.
isArray
,
s
=
"
series
\
0
"
;
function
l
(
t
){
return
t
instanceof
Array
?
t
:
null
==
t
?[]:[
t
]}
function
d
(
t
,
e
,
a
){
if
(
t
){
t
[
e
]
=
t
[
e
]
||
{},
t
.
emphasis
=
t
.
emphasis
||
{},
t
.
emphasis
[
e
]
=
t
.
emphasis
[
e
]
||
{};
for
(
var
n
=
0
,
i
=
a
.
length
;
n
<
i
;
n
++
){
var
o
=
a
[
n
];
!
t
.
emphasis
[
e
].
hasOwnProperty
(
o
)
&&
t
[
e
].
hasOwnProperty
(
o
)
&&
(
t
.
emphasis
[
e
][
o
]
=
t
[
e
][
o
])}}}
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
!
r
(
t
)
||
c
(
t
)
||
t
instanceof
Date
?
t
:
t
.
value
}
function
m
(
t
){
return
r
(
t
)
&&!
(
t
instanceof
Array
)}
function
h
(
t
,
e
){
e
=
(
e
||
[]).
slice
();
var
a
=
n
.
map
(
t
||
[],(
function
(
t
,
e
){
return
{
exist
:
t
}}));
return
o
(
e
,(
function
(
t
,
n
){
if
(
r
(
t
)){
for
(
var
i
=
0
;
i
<
a
.
length
;
i
++
)
if
(
!
a
[
i
].
option
&&
null
!=
t
.
id
&&
a
[
i
].
exist
.
id
===
t
.
id
+
""
)
return
a
[
i
].
option
=
t
,
void
(
e
[
n
]
=
null
);
for
(
i
=
0
;
i
<
a
.
length
;
i
++
){
var
o
=
a
[
i
].
exist
;
if
(
!
a
[
i
].
option
&&
(
null
==
o
.
id
||
null
==
t
.
id
)
&&
null
!=
t
.
name
&&!
v
(
t
)
&&!
v
(
o
)
&&
o
.
name
===
t
.
name
+
""
)
return
a
[
i
].
option
=
t
,
void
(
e
[
n
]
=
null
)}}})),
o
(
e
,(
function
(
t
,
e
){
if
(
r
(
t
)){
for
(
var
n
=
0
;
n
<
a
.
length
;
n
++
){
var
i
=
a
[
n
].
exist
;
if
(
!
a
[
n
].
option
&&!
v
(
i
)
&&
null
==
t
.
id
){
a
[
n
].
option
=
t
;
break
}}
n
>=
a
.
length
&&
a
.
push
({
option
:
t
})}})),
a
}
function
f
(
t
){
var
e
=
n
.
createHashMap
();
o
(
t
,(
function
(
t
,
a
){
var
n
=
t
.
exist
;
n
&&
e
.
set
(
n
.
id
,
t
)})),
o
(
t
,(
function
(
t
,
a
){
var
i
=
t
.
option
;
n
.
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
=
{})})),
o
(
t
,(
function
(
t
,
a
){
var
n
=
t
.
exist
,
i
=
t
.
option
,
o
=
t
.
keyInfo
;
if
(
r
(
i
)){
if
(
o
.
name
=
null
!=
i
.
name
?
i
.
name
+
""
:
n
?
n
.
name
:
s
+
a
,
n
)
o
.
id
=
n
.
id
;
else
if
(
null
!=
i
.
id
)
o
.
id
=
i
.
id
+
""
;
else
{
var
c
=
0
;
do
{
o
.
id
=
"
\
0
"
+
o
.
name
+
"
\
0
"
+
c
++
}
while
(
e
.
get
(
o
.
id
))}
e
.
set
(
o
.
id
,
t
)}}))}
function
g
(
t
){
var
e
=
t
.
name
;
return
!
(
!
e
||!
e
.
indexOf
(
s
))}
function
v
(
t
){
return
r
(
t
)
&&
t
.
id
&&
0
===
(
t
.
id
+
""
).
indexOf
(
"
\
0_ec_
\
0
"
)}
function
y
(
t
,
e
){
var
a
=
{},
n
=
{};
return
i
(
t
||
[],
a
),
i
(
e
||
[],
n
,
a
),[
o
(
a
),
o
(
n
)];
function
i
(
t
,
e
,
a
){
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
for
(
var
o
=
t
[
n
].
seriesId
,
r
=
l
(
t
[
n
].
dataIndex
),
c
=
a
&&
a
[
o
],
s
=
0
,
d
=
r
.
length
;
s
<
d
;
s
++
){
var
u
=
r
[
s
];
c
&&
c
[
u
]?
c
[
u
]
=
null
:(
e
[
o
]
||
(
e
[
o
]
=
{}))[
u
]
=
1
}}
function
o
(
t
,
e
){
var
a
=
[];
for
(
var
n
in
t
)
if
(
t
.
hasOwnProperty
(
n
)
&&
null
!=
t
[
n
])
if
(
e
)
a
.
push
(
+
n
);
else
{
var
i
=
o
(
t
[
n
],
!
0
);
i
.
length
&&
a
.
push
({
seriesId
:
n
,
dataIndex
:
i
})}
return
a
}}
function
b
(
t
,
e
){
return
null
!=
e
.
dataIndexInside
?
e
.
dataIndexInside
:
null
!=
e
.
dataIndex
?
n
.
isArray
(
e
.
dataIndex
)?
n
.
map
(
e
.
dataIndex
,(
function
(
e
){
return
t
.
indexOfRawIndex
(
e
)})):
t
.
indexOfRawIndex
(
e
.
dataIndex
):
null
!=
e
.
name
?
n
.
isArray
(
e
.
name
)?
n
.
map
(
e
.
name
,(
function
(
e
){
return
t
.
indexOfName
(
e
)})):
t
.
indexOfName
(
e
.
name
):
void
0
}
function
w
(){
var
t
=
"
__
\
0ec_inner_
"
+
_
+++
"
_
"
+
Math
.
random
().
toFixed
(
5
);
return
function
(
e
){
return
e
[
t
]
||
(
e
[
t
]
=
{})}}
var
_
=
0
;
function
x
(
t
,
e
,
a
){
if
(
n
.
isString
(
e
)){
var
i
=
{};
i
[
e
+
"
Index
"
]
=
0
,
e
=
i
}
var
r
=
a
&&
a
.
defaultMainType
;
!
r
||
S
(
e
,
r
+
"
Index
"
)
||
S
(
e
,
r
+
"
Id
"
)
||
S
(
e
,
r
+
"
Name
"
)
||
(
e
[
r
+
"
Index
"
]
=
0
);
var
c
=
{};
return
o
(
e
,(
function
(
i
,
o
){
i
=
e
[
o
];
if
(
"
dataIndex
"
!==
o
&&
"
dataIndexInside
"
!==
o
){
var
r
=
o
.
match
(
/^
(\w
+
)(
Index|Id|Name
)
$/
)
||
[],
s
=
r
[
1
],
l
=
(
r
[
2
]
||
""
).
toLowerCase
();
if
(
!
(
!
s
||!
l
||
null
==
i
||
"
index
"
===
l
&&
"
none
"
===
i
||
a
&&
a
.
includeMainTypes
&&
n
.
indexOf
(
a
.
includeMainTypes
,
s
)
<
0
)){
var
d
=
{
mainType
:
s
};
"
index
"
===
l
&&
"
all
"
===
i
||
(
d
[
l
]
=
i
);
var
u
=
t
.
queryComponents
(
d
);
c
[
s
+
"
Models
"
]
=
u
,
c
[
s
+
"
Model
"
]
=
u
[
0
]}}
else
c
[
o
]
=
i
})),
c
}
function
S
(
t
,
e
){
return
t
&&
t
.
hasOwnProperty
(
e
)}
function
k
(
t
,
e
,
a
){
t
.
setAttribute
?
t
.
setAttribute
(
e
,
a
):
t
[
e
]
=
a
}
function
B
(
t
,
e
){
return
t
.
getAttribute
?
t
.
getAttribute
(
e
):
t
[
e
]}
function
C
(
t
){
return
"
auto
"
===
t
?
i
.
domSupported
?
"
html
"
:
"
richText
"
:
t
||
"
html
"
}
function
L
(
t
,
e
){
var
a
=
n
.
createHashMap
(),
i
=
[];
return
n
.
each
(
t
,(
function
(
t
){
var
n
=
e
(
t
);(
a
.
get
(
n
)
||
(
i
.
push
(
n
),
a
.
set
(
n
,[]))).
push
(
t
)})),{
keys
:
i
,
buckets
:
a
}}
e
.
normalizeToArray
=
l
,
e
.
defaultEmphasis
=
d
,
e
.
TEXT_STYLE_OPTIONS
=
u
,
e
.
getDataItemValue
=
p
,
e
.
isDataItemOption
=
m
,
e
.
mappingToExists
=
h
,
e
.
makeIdAndName
=
f
,
e
.
isNameSpecified
=
g
,
e
.
isIdInner
=
v
,
e
.
compressBatches
=
y
,
e
.
queryDataIndex
=
b
,
e
.
makeInner
=
w
,
e
.
parseFinder
=
x
,
e
.
setAttribute
=
k
,
e
.
getAttribute
=
B
,
e
.
getTooltipRenderMode
=
C
,
e
.
groupData
=
L
},
fbd8
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
5956
"
)}}]);
\ No newline at end of file
dist/js/chunk-9f0b9b24.879c6a9e.js
0 → 100644
浏览文件 @
6ca82df6
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-9f0b9b24
"
],{
"
02bd
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
Card
"
,[
a
(
"
Menu
"
,{
attrs
:{
mode
:
"
horizontal
"
,
theme
:
"
light
"
,
"
active-name
"
:
"
1
"
},
on
:{
"
on-select
"
:
t
.
aaa
}},[
a
(
"
MenuItem
"
,{
attrs
:{
name
:
"
1
"
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-people
"
}}),
t
.
_v
(
"
\n
赛事目录维护
\n
"
)],
1
),
t
.
getUserRole
()?
a
(
"
MenuItem
"
,{
attrs
:{
name
:
"
2
"
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-paper
"
}}),
t
.
_v
(
"
\n
批次管理
\n
"
)],
1
):
t
.
_e
()],
1
),
a
(
"
br
"
),
1
===
t
.
componentState
?
a
(
"
eventMatalogMaintenance
"
,{
tag
:
"
component
"
}):
t
.
_e
(),
2
===
t
.
componentState
?
a
(
"
batchManagement
"
,{
tag
:
"
component
"
}):
t
.
_e
(),
a
(
"
keep-alive
"
)],
1
)},
i
=
[],
o
=
(
a
(
"
c5f6
"
),
a
(
"
c827
"
)),
r
=
a
(
"
9cc4
"
),
c
=
(
a
(
"
61be
"
),{
components
:{
eventMatalogMaintenance
:
o
[
"
a
"
],
batchManagement
:
r
[
"
a
"
]},
data
:
function
(){
return
{
componentState
:
1
,
init
:{
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
columns
:[{
title
:
"
Name
"
,
key
:
"
name
"
},{
title
:
"
Age
"
,
key
:
"
age
"
},{
title
:
"
Address
"
,
key
:
"
address
"
}],
data
:[{
name
:
"
John Brown
"
,
age
:
18
,
address
:
"
New York No. 1 Lake Park
"
,
date
:
"
2016-10-03
"
},{
name
:
"
Jim Green
"
,
age
:
24
,
address
:
"
London No. 1 Lake Park
"
,
date
:
"
2016-10-01
"
},{
name
:
"
Joe Black
"
,
age
:
30
,
address
:
"
Sydney No. 1 Lake Park
"
,
date
:
"
2016-10-02
"
},{
name
:
"
Jon Snow
"
,
age
:
26
,
address
:
"
Ottawa No. 2 Lake Park
"
,
date
:
"
2016-10-04
"
}],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
getCompetitionSignList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
getCompetitionSignList
()},
aaa
:
function
(
t
){
this
.
componentState
=
Number
(
t
)}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}}),
s
=
c
,
l
=
a
(
"
2877
"
),
u
=
Object
(
l
[
"
a
"
])(
s
,
n
,
i
,
!
1
,
null
,
"
56e86e65
"
,
null
);
e
[
"
default
"
]
=
u
.
exports
},
"
22d1
"
:
function
(
t
,
e
){
var
a
=
{};
a
=
"
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
n
=
a
;
function
i
(
t
){
var
e
=
{},
a
=
{},
n
=
t
.
match
(
/Firefox
\/([\d
.
]
+
)
/
),
i
=
t
.
match
(
/MSIE
\s([\d
.
]
+
)
/
)
||
t
.
match
(
/Trident
\/
.+
?
rv:
(([\d
.
]
+
))
/
),
o
=
t
.
match
(
/Edge
\/([\d
.
]
+
)
/
),
r
=
/micromessenger/i
.
test
(
t
);
return
n
&&
(
a
.
firefox
=!
0
,
a
.
version
=
n
[
1
]),
i
&&
(
a
.
ie
=!
0
,
a
.
version
=
i
[
1
]),
o
&&
(
a
.
edge
=!
0
,
a
.
version
=
o
[
1
]),
r
&&
(
a
.
weChat
=!
0
),{
browser
:
a
,
os
:
e
,
node
:
!
1
,
canvasSupported
:
!!
document
.
createElement
(
"
canvas
"
).
getContext
,
svgSupported
:
"
undefined
"
!==
typeof
SVGRect
,
touchEventsSupported
:
"
ontouchstart
"
in
window
&&!
a
.
ie
&&!
a
.
edge
,
pointerEventsSupported
:
"
onpointerdown
"
in
window
&&
(
a
.
edge
||
a
.
ie
&&
a
.
version
>=
11
),
domSupported
:
"
undefined
"
!==
typeof
document
}}
t
.
exports
=
n
},
"
386d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
a
(
"
cb7c
"
),
i
=
a
(
"
83a1
"
),
o
=
a
(
"
5f1b
"
);
a
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
a
,
r
){
return
[
function
(
a
){
var
n
=
t
(
this
),
i
=
void
0
==
a
?
void
0
:
a
[
e
];
return
void
0
!==
i
?
i
.
call
(
a
,
n
):
new
RegExp
(
a
)[
e
](
String
(
n
))},
function
(
t
){
var
e
=
r
(
a
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
c
=
n
(
t
),
s
=
String
(
this
),
l
=
c
.
lastIndex
;
i
(
l
,
0
)
||
(
c
.
lastIndex
=
0
);
var
u
=
o
(
c
,
s
);
return
i
(
c
.
lastIndex
,
l
)
||
(
c
.
lastIndex
=
l
),
null
===
u
?
-
1
:
u
.
index
}]}))},
"
6d8b
"
:
function
(
t
,
e
){
var
a
=
{
"
[object Function]
"
:
1
,
"
[object RegExp]
"
:
1
,
"
[object Date]
"
:
1
,
"
[object Error]
"
:
1
,
"
[object CanvasGradient]
"
:
1
,
"
[object CanvasPattern]
"
:
1
,
"
[object Image]
"
:
1
,
"
[object Canvas]
"
:
1
},
n
=
{
"
[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
,
o
=
Array
.
prototype
,
r
=
o
.
forEach
,
c
=
o
.
filter
,
s
=
o
.
slice
,
l
=
o
.
map
,
u
=
o
.
reduce
,
d
=
{};
function
p
(
t
,
e
){
"
createCanvas
"
===
t
&&
(
y
=
null
),
d
[
t
]
=
e
}
function
m
(
t
){
if
(
null
==
t
||
"
object
"
!==
typeof
t
)
return
t
;
var
e
=
t
,
o
=
i
.
call
(
t
);
if
(
"
[object Array]
"
===
o
){
if
(
!
Y
(
t
)){
e
=
[];
for
(
var
r
=
0
,
c
=
t
.
length
;
r
<
c
;
r
++
)
e
[
r
]
=
m
(
t
[
r
])}}
else
if
(
n
[
o
]){
if
(
!
Y
(
t
)){
var
s
=
t
.
constructor
;
if
(
t
.
constructor
.
from
)
e
=
s
.
from
(
t
);
else
{
e
=
new
s
(
t
.
length
);
for
(
r
=
0
,
c
=
t
.
length
;
r
<
c
;
r
++
)
e
[
r
]
=
m
(
t
[
r
])}}}
else
if
(
!
a
[
o
]
&&!
Y
(
t
)
&&!
R
(
t
))
for
(
var
l
in
e
=
{},
t
)
t
.
hasOwnProperty
(
l
)
&&
(
e
[
l
]
=
m
(
t
[
l
]));
return
e
}
function
h
(
t
,
e
,
a
){
if
(
!
A
(
e
)
||!
A
(
t
))
return
a
?
m
(
e
):
t
;
for
(
var
n
in
e
)
if
(
e
.
hasOwnProperty
(
n
)){
var
i
=
t
[
n
],
o
=
e
[
n
];
!
A
(
o
)
||!
A
(
i
)
||
E
(
o
)
||
E
(
i
)
||
R
(
o
)
||
R
(
i
)
||
D
(
o
)
||
D
(
i
)
||
Y
(
o
)
||
Y
(
i
)?
!
a
&&
n
in
t
||
(
t
[
n
]
=
m
(
e
[
n
],
!
0
)):
h
(
i
,
o
,
a
)}
return
t
}
function
f
(
t
,
e
){
for
(
var
a
=
t
[
0
],
n
=
1
,
i
=
t
.
length
;
n
<
i
;
n
++
)
a
=
h
(
a
,
t
[
n
],
e
);
return
a
}
function
g
(
t
,
e
){
for
(
var
a
in
e
)
e
.
hasOwnProperty
(
a
)
&&
(
t
[
a
]
=
e
[
a
]);
return
t
}
function
v
(
t
,
e
,
a
){
for
(
var
n
in
e
)
e
.
hasOwnProperty
(
n
)
&&
(
a
?
null
!=
e
[
n
]:
null
==
t
[
n
])
&&
(
t
[
n
]
=
e
[
n
]);
return
t
}
var
y
,
b
=
function
(){
return
d
.
createCanvas
()};
function
w
(){
return
y
||
(
y
=
b
().
getContext
(
"
2d
"
)),
y
}
function
_
(
t
,
e
){
if
(
t
){
if
(
t
.
indexOf
)
return
t
.
indexOf
(
e
);
for
(
var
a
=
0
,
n
=
t
.
length
;
a
<
n
;
a
++
)
if
(
t
[
a
]
===
e
)
return
a
}
return
-
1
}
function
x
(
t
,
e
){
var
a
=
t
.
prototype
;
function
n
(){}
for
(
var
i
in
n
.
prototype
=
e
.
prototype
,
t
.
prototype
=
new
n
,
a
)
a
.
hasOwnProperty
(
i
)
&&
(
t
.
prototype
[
i
]
=
a
[
i
]);
t
.
prototype
.
constructor
=
t
,
t
.
superClass
=
e
}
function
S
(
t
,
e
,
a
){
t
=
"
prototype
"
in
t
?
t
.
prototype
:
t
,
e
=
"
prototype
"
in
e
?
e
.
prototype
:
e
,
v
(
t
,
e
,
a
)}
function
k
(
t
){
if
(
t
)
return
"
string
"
!==
typeof
t
&&
"
number
"
===
typeof
t
.
length
}
function
B
(
t
,
e
,
a
){
if
(
t
&&
e
)
if
(
t
.
forEach
&&
t
.
forEach
===
r
)
t
.
forEach
(
e
,
a
);
else
if
(
t
.
length
===+
t
.
length
)
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
e
.
call
(
a
,
t
[
n
],
n
,
t
);
else
for
(
var
o
in
t
)
t
.
hasOwnProperty
(
o
)
&&
e
.
call
(
a
,
t
[
o
],
o
,
t
)}
function
C
(
t
,
e
,
a
){
if
(
t
&&
e
){
if
(
t
.
map
&&
t
.
map
===
l
)
return
t
.
map
(
e
,
a
);
for
(
var
n
=
[],
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
n
.
push
(
e
.
call
(
a
,
t
[
i
],
i
,
t
));
return
n
}}
function
L
(
t
,
e
,
a
,
n
){
if
(
t
&&
e
){
if
(
t
.
reduce
&&
t
.
reduce
===
u
)
return
t
.
reduce
(
e
,
a
,
n
);
for
(
var
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
a
=
e
.
call
(
n
,
a
,
t
[
i
],
i
,
t
);
return
a
}}
function
O
(
t
,
e
,
a
){
if
(
t
&&
e
){
if
(
t
.
filter
&&
t
.
filter
===
c
)
return
t
.
filter
(
e
,
a
);
for
(
var
n
=
[],
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
e
.
call
(
a
,
t
[
i
],
i
,
t
)
&&
n
.
push
(
t
[
i
]);
return
n
}}
function
I
(
t
,
e
,
a
){
if
(
t
&&
e
)
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
if
(
e
.
call
(
a
,
t
[
n
],
n
,
t
))
return
t
[
n
]}
function
V
(
t
,
e
){
var
a
=
s
.
call
(
arguments
,
2
);
return
function
(){
return
t
.
apply
(
e
,
a
.
concat
(
s
.
call
(
arguments
)))}}
function
j
(
t
){
var
e
=
s
.
call
(
arguments
,
1
);
return
function
(){
return
t
.
apply
(
this
,
e
.
concat
(
s
.
call
(
arguments
)))}}
function
E
(
t
){
return
"
[object Array]
"
===
i
.
call
(
t
)}
function
M
(
t
){
return
"
function
"
===
typeof
t
}
function
F
(
t
){
return
"
[object String]
"
===
i
.
call
(
t
)}
function
A
(
t
){
var
e
=
typeof
t
;
return
"
function
"
===
e
||!!
t
&&
"
object
"
===
e
}
function
D
(
t
){
return
!!
a
[
i
.
call
(
t
)]}
function
P
(
t
){
return
!!
n
[
i
.
call
(
t
)]}
function
R
(
t
){
return
"
object
"
===
typeof
t
&&
"
number
"
===
typeof
t
.
nodeType
&&
"
object
"
===
typeof
t
.
ownerDocument
}
function
G
(
t
){
return
t
!==
t
}
function
T
(
t
){
for
(
var
e
=
0
,
a
=
arguments
.
length
;
e
<
a
;
e
++
)
if
(
null
!=
arguments
[
e
])
return
arguments
[
e
]}
function
$
(
t
,
e
){
return
null
!=
t
?
t
:
e
}
function
z
(
t
,
e
,
a
){
return
null
!=
t
?
t
:
null
!=
e
?
e
:
a
}
function
W
(){
return
Function
.
call
.
apply
(
s
,
arguments
)}
function
q
(
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
N
(
t
,
e
){
if
(
!
t
)
throw
new
Error
(
e
)}
function
U
(
t
){
return
null
==
t
?
null
:
"
function
"
===
typeof
t
.
trim
?
t
.
trim
():
t
.
replace
(
/^
[\s\u
FEFF
\x
A0
]
+|
[\s\u
FEFF
\x
A0
]
+$/g
,
""
)}
d
.
createCanvas
=
function
(){
return
document
.
createElement
(
"
canvas
"
)};
var
H
=
"
__ec_primitive__
"
;
function
J
(
t
){
t
[
H
]
=!
0
}
function
Y
(
t
){
return
t
[
H
]}
function
K
(
t
){
var
e
=
E
(
t
);
this
.
data
=
{};
var
a
=
this
;
function
n
(
t
,
n
){
e
?
a
.
set
(
t
,
n
):
a
.
set
(
n
,
t
)}
t
instanceof
K
?
t
.
each
(
n
):
t
&&
B
(
t
,
n
)}
function
X
(
t
){
return
new
K
(
t
)}
function
Q
(
t
,
e
){
for
(
var
a
=
new
t
.
constructor
(
t
.
length
+
e
.
length
),
n
=
0
;
n
<
t
.
length
;
n
++
)
a
[
n
]
=
t
[
n
];
var
i
=
t
.
length
;
for
(
n
=
0
;
n
<
e
.
length
;
n
++
)
a
[
n
+
i
]
=
e
[
n
];
return
a
}
function
Z
(){}
K
.
prototype
=
{
constructor
:
K
,
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
a
in
void
0
!==
e
&&
(
t
=
V
(
t
,
e
)),
this
.
data
)
this
.
data
.
hasOwnProperty
(
a
)
&&
t
(
this
.
data
[
a
],
a
)},
removeKey
:
function
(
t
){
delete
this
.
data
[
t
]}},
e
.
$override
=
p
,
e
.
clone
=
m
,
e
.
merge
=
h
,
e
.
mergeAll
=
f
,
e
.
extend
=
g
,
e
.
defaults
=
v
,
e
.
createCanvas
=
b
,
e
.
getContext
=
w
,
e
.
indexOf
=
_
,
e
.
inherits
=
x
,
e
.
mixin
=
S
,
e
.
isArrayLike
=
k
,
e
.
each
=
B
,
e
.
map
=
C
,
e
.
reduce
=
L
,
e
.
filter
=
O
,
e
.
find
=
I
,
e
.
bind
=
V
,
e
.
curry
=
j
,
e
.
isArray
=
E
,
e
.
isFunction
=
M
,
e
.
isString
=
F
,
e
.
isObject
=
A
,
e
.
isBuiltInObject
=
D
,
e
.
isTypedArray
=
P
,
e
.
isDom
=
R
,
e
.
eqNaN
=
G
,
e
.
retrieve
=
T
,
e
.
retrieve2
=
$
,
e
.
retrieve3
=
z
,
e
.
slice
=
W
,
e
.
normalizeCssArray
=
q
,
e
.
assert
=
N
,
e
.
trim
=
U
,
e
.
setAsPrimitive
=
J
,
e
.
isPrimitive
=
Y
,
e
.
createHashMap
=
X
,
e
.
concatArray
=
Q
,
e
.
noop
=
Z
},
"
70f3
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
95c7
"
)},
"
736d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
98b0
"
)},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
"
95c7
"
:
function
(
t
,
e
,
a
){},
"
98b0
"
:
function
(
t
,
e
,
a
){},
"
9cc4
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
t
.
addBatch
}},[
t
.
_v
(
"
添加赛事批次
"
)])]},
proxy
:
!
0
}])},[
a
(
"
br
"
),
a
(
"
br
"
),
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
bed_time
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
n
.
bed_time
?
a
(
"
span
"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
n
.
bed_time
.
split
(
"
00:00
"
)[
0
]
+
"
~
"
+
n
.
end_time
.
split
(
"
00:00
"
)[
0
])
+
"
\n
"
)]):
t
.
_e
()]}},{
key
:
"
competition_method
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
blue
"
][
n
.
competition_method
]}},[
t
.
_v
(
t
.
_s
([
"
学生
"
,
"
教师
"
][
n
.
competition_method
]))])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
batchSynchronization
(
n
)}}},[
t
.
_v
(
"
批次同步
"
)]),
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
edit
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]),
1
==
n
.
is_allow_delete
?
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
n
)},
"
on-cancel
"
:
t
.
cancel
}},[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)])]):
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
#C5C8CE
"
}},[
t
.
_v
(
"
删除
"
)])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
50
,
title
:
"
添加赛事学年
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
batchModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
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
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_name
"
}},[
a
(
"
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
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛起止时间
"
,
prop
:
"
dateRange
"
}},[
a
(
"
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
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
备注
"
,
prop
:
"
remark
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
批次同步
"
,
width
:
80
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
curBatch
.
show
=!
1
}}},[
t
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
curBatch
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
curBatch
,
"
show
"
,
e
)},
expression
:
"
curBatch.show
"
}},[
a
(
"
cs-search-cond-form
"
,{
ref
:
"
searchCondForm
"
,
attrs
:{
searchCondList
:
t
.
curBatch
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
curBatch
.
params
},
on
:{
onSubmit
:
t
.
searchModal
,
onReset
:
t
.
resetModal
}}),
a
(
"
div
"
,[
a
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
function
(
e
){
t
.
awaitSelectBatch
.
show
=!
0
,
t
.
getAwaitSelectBatchData
()}}},[
t
.
_v
(
"
选择同步批次
"
)])],
1
),
a
(
"
csCTable
"
,{
attrs
:{
tableColumns
:
t
.
curBatch
.
columns
.
filter
((
function
(
t
){
return
t
.
show
})),
tableData
:
t
.
curBatch
.
data
,
tableLoading
:
t
.
curBatch
.
loading
,
dataCount
:
t
.
curBatch
.
dataCount
,
pageIndex
:
t
.
curBatch
.
params
.
page_index
,
pageSize
:
t
.
curBatch
.
params
.
page_size
},
on
:{
onPageChange
:
t
.
onPageChange
,
onPageSizeChange
:
t
.
onPageSizeChange
}}),
a
(
"
Drawer
"
,{
attrs
:{
"
mask-closable
"
:
!
1
,
transfer
:
!
1
,
draggable
:
!
0
,
width
:
950
,
title
:
"
选择同步批次
"
},
model
:{
value
:
t
.
awaitSelectBatch
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
,
"
show
"
,
e
)},
expression
:
"
awaitSelectBatch.show
"
}},[
a
(
"
Form
"
,{
attrs
:{
model
:
t
.
awaitSelectBatch
.
formData
,
"
label-width
"
:
80
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
目的批次
"
}},[
a
(
"
Select
"
,{
model
:{
value
:
t
.
awaitSelectBatch
.
formData
.
target_batch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
.
formData
,
"
target_batch
"
,
e
)},
expression
:
"
awaitSelectBatch.formData.target_batch
"
}},
t
.
_l
(
t
.
batchList
,(
function
(
e
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
源批次
"
}},[
a
(
"
Select
"
,{
attrs
:{
clearable
:
""
},
on
:{
"
on-change
"
:
t
.
sourceBatchChange
},
model
:{
value
:
t
.
awaitSelectBatch
.
formData
.
source_batch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
.
formData
,
"
source_batch
"
,
e
)},
expression
:
"
awaitSelectBatch.formData.source_batch
"
}},
t
.
_l
(
t
.
batchList
.
filter
((
function
(
e
){
return
e
.
value
!==
t
.
awaitSelectBatch
.
formData
.
target_batch
})),(
function
(
e
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
)
+
"
\n
"
)])})),
1
)],
1
)],
1
),
a
(
"
csCTable
"
,{
attrs
:{
tableColumns
:
t
.
awaitSelectBatch
.
columns
.
filter
((
function
(
t
){
return
t
.
show
})),
tableData
:
t
.
awaitSelectBatch
.
data
,
tableLoading
:
t
.
awaitSelectBatch
.
loading
,
dataCount
:
t
.
awaitSelectBatch
.
dataCount
,
pageIndex
:
t
.
awaitSelectBatch
.
params
.
page_index
,
pageSize
:
t
.
awaitSelectBatch
.
params
.
page_size
},
on
:{
onPageChange
:
t
.
onPageChangeAwaitSelectBatch
,
onPageSizeChange
:
t
.
onPageSizeChangeAwaitSelectBatch
,
onSelectionChange
:
t
.
onSelectionChange
}}),
a
(
"
div
"
,{
staticClass
:
"
demo-drawer-footer
"
},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
8px
"
},
on
:{
click
:
function
(
e
){
t
.
awaitSelectBatch
.
show
=!
1
}}},[
t
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
commitSyncBatch
}},[
t
.
_v
(
"
提交同步批次
"
)])],
1
)],
1
)],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
456d
"
),
a
(
"
ac6a
"
),
a
(
"
7f7f
"
),
a
(
"
96cf
"
),
a
(
"
3b8d
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
bd86
"
)),
c
=
a
(
"
967e
"
),
s
=
a
.
n
(
c
),
l
=
a
(
"
7f6b
"
),
u
=
a
(
"
d02c
"
),
d
=
a
(
"
61be
"
);
function
p
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
p
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
r
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
p
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
h
=
{
components
:{},
props
:[
"
studentOrTeacher
"
],
data
:
function
(){
return
{
awaitSelectBatch
:{
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
}]}],
dataCount
:
0
,
show
:
!
1
,
data
:[],
columns
:[{
title
:
"
序号
"
,
type
:
"
selection
"
,
show
:
!
0
,
minWidth
:
80
,
fixed
:
"
left
"
,
align
:
"
center
"
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
key
:
"
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
}],
loading
:
!
1
,
params
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
},
formData
:{
competition_id_list
:[],
source_batch
:
""
,
target_batch
:
""
}},
batchList
:[],
curBatch
:{
searchCondList
:[{
id
:
"
batch
"
,
name
:
"
赛事批次
"
,
type
:
"
select
"
,
show
:
!
0
,
disabled
:
!
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
}]}],
dataCount
:
0
,
show
:
!
1
,
data
:[],
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
minWidth
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
key
:
"
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
}],
loading
:
!
1
,
params
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
}},
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
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
commitSyncBatch
:
function
(){
var
t
=
this
;
d
[
"
publicConfirm
"
]((
function
(){
d
[
"
myEncapsulationFunction
"
]((
function
(){
return
u
[
"
postApiCommonBatchSync
"
](
t
.
awaitSelectBatch
.
formData
).
then
((
function
(
e
){
return
1
===
e
.
code
&&
(
t
.
getMdoalData
(),
t
.
awaitSelectBatch
.
show
=!
1
),
e
}),
!
1
,
"
同步中...
"
)}))}))},
sourceBatchChange
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
batch
=
t
,
this
.
getAwaitSelectBatchData
()},
onSelectionChange
:
function
(
t
){
this
.
awaitSelectBatch
.
formData
.
competition_id_list
=
t
.
map
((
function
(
t
){
return
t
.
competitionreportid
}))},
getAwaitSelectBatchData
:
function
(){
var
t
=
this
;
this
.
awaitSelectBatch
.
loading
=!
0
,
u
[
"
postApiCompetitionReportApiCompetitionReportGetReportList
"
](
this
.
awaitSelectBatch
.
params
).
then
((
function
(
e
){
t
.
awaitSelectBatch
.
data
=
e
.
response
.
data
,
t
.
awaitSelectBatch
.
dataCount
=
e
.
response
.
data_count
,
t
.
awaitSelectBatch
.
loading
=!
1
})).
finally
((
function
(){
t
.
awaitSelectBatch
.
loading
=!
1
}))},
onPageChangeAwaitSelectBatch
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
page_index
=
t
,
this
.
getAwaitSelectBatchData
()},
onPageSizeChangeAwaitSelectBatch
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
page_size
=
t
,
1
==
this
.
awaitSelectBatch
.
params
.
page_index
&&
this
.
onPageChangeAwaitSelectBatch
(
1
)},
resetModal
:
function
(){
this
.
curBatch
.
params
=
{
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
.
getMdoalData
()},
searchModal
:
function
(
t
){
this
.
curBatch
.
params
=
m
(
m
(
m
({},
this
.
curBatch
.
params
),
t
),{},{
page_index
:
1
}),
this
.
getMdoalData
()},
batchSynchronization
:
function
(
t
){
this
.
$refs
.
searchCondForm
.
searchCondObj
.
batch
=
t
.
competitionbatchid
,
this
.
curBatch
.
params
.
batch
=
t
.
competitionbatchid
,
this
.
awaitSelectBatch
.
formData
.
target_batch
=
t
.
competitionbatchid
,
this
.
getMdoalData
(),
this
.
curBatch
.
show
=!
0
},
getMdoalData
:
function
(){
var
t
=
this
;
this
.
curBatch
.
loading
=!
0
,
u
[
"
postApiCompetitionReportApiCompetitionReportGetReportList
"
](
this
.
curBatch
.
params
).
then
((
function
(
e
){
t
.
curBatch
.
data
=
e
.
response
.
data
,
t
.
curBatch
.
dataCount
=
e
.
response
.
data_count
,
t
.
curBatch
.
loading
=!
1
})).
finally
((
function
(){
t
.
curBatch
.
loading
=!
1
}))},
onPageChange
:
function
(
t
){
this
.
curBatch
.
params
.
page_index
=
t
,
this
.
getMdoalData
()},
onPageSizeChange
:
function
(
t
){
this
.
curBatch
.
params
.
page_size
=
t
,
1
==
this
.
curBatch
.
params
.
page_index
&&
this
.
onPageChange
(
1
)},
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
=
m
(
m
({},
t
),{},{
dateRange
:
e
})},
cancel
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
Object
(
d
[
"
myEncapsulationFunction
"
])(
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
BatchDel
"
]({
id
:
t
.
competitionbatchid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetBatchList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
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
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
BatchSave
"
](
t
.
formValidate
);
case
2
:
return
a
=
e
.
sent
,
1
===
a
.
code
&&
t
.
GetBatchList
(),
e
.
abrupt
(
"
return
"
,
a
);
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
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
loading
=!
0
,
a
=
{
page_index
:
t
.
init
.
page_index
,
page_size
:
t
.
init
.
page_size
,
competition_method
:
t
.
init
.
competition_method
},
e
.
next
=
4
,
t
.
asc
.
getApiCommonGetBatchList
(
a
);
case
4
:
n
=
e
.
sent
,
t
.
data
=
n
.
response
.
data
,
t
.
init
.
total
=
n
.
response
.
data_count
,
t
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetHierarchySelect
:
function
(){
var
t
=
this
;
this
.
asc
.
getApiCommonGetHierarchySelect
().
then
((
function
(
e
){
t
.
curBatch
.
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
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
a
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
a
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
4
:
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
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})),
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))}))}},
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
(),
this
.
GetHierarchySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetBatchBySelect
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
h
,
g
=
(
a
(
"
70f3
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
5a1ef413
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
c827
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
t
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
search
},
on
:{
onSubmit
:
t
.
search1
,
onReset
:
t
.
reset
}}),
t
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
(),
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-cloud-download
"
},
on
:{
click
:
t
.
ReportExportToExcel
}},[
t
.
_v
(
"
\n
导出数据
\n
"
)]),
t
.
isAdmin
?
a
(
"
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
}])},[
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
isAdmin
?
t
.
columns
:
t
.
columns
.
filter
((
function
(
t
){
return
"
操作
"
!==
t
.
title
})),
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
competitionname
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
competitionname
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
competitionsubitem_name
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
competitionsubitem_name
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
dept
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tooltip
"
,{
attrs
:{
placement
:
"
right-end
"
,
transfer
:
!
1
,
"
max-width
"
:
500
},
scopedSlots
:
t
.
_u
([{
key
:
"
content
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,[
t
.
_v
(
"
"
+
t
.
_s
(
n
.
dept
))])]},
proxy
:
!
0
}],
null
,
!
0
)},[
n
.
dept
?
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
n
.
dept
,
length
:
18
}}):
t
.
_e
()],
1
)]}},{
key
:
"
way
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
n
.
way
]}},[
a
(
"
span
"
,{
staticStyle
:{
color
:
"
white
"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
团队
"
,
"
个人
"
][
n
.
way
])
+
"
\n
"
)])])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
t
.
isAdmin
?
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
t
.
eventTitle
=
"
编辑赛事
"
,
t
.
importFile
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]):
t
.
_e
(),
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
n
)},
"
on-cancel
"
:
t
.
cancel
}},[
t
.
isAdmin
?
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)]):
t
.
_e
()])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
45
,
title
:
t
.
eventTitle
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
dashed
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventsModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
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
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
a
(
"
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
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionname
"
,
e
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name1
"
}},[
a
(
"
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
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id1
"
}},[
a
(
"
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
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
t
.
formValidate
.
sponsor
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
sponsor
"
,
e
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
)],
1
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id1
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事级别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addeventLevel
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate1
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
a
(
"
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
"
}},[
a
(
"
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
,
n
){
return
a
(
"
div
"
,{
key
:
n
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
formValidate1Edit
(
e
)}}},[
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitionlevel_name
))]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
t
.
delLevel
(
e
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
a
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
t
.
formValidate1
,
rules
:
t
.
ruleValidate1
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competitionlevel_name
"
}},[
a
(
"
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
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark1
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate1
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
remark
"
,
e
)},
expression
:
"
formValidate1.remark
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate1
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
status
"
,
e
)},
expression
:
"
formValidate1.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事类别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventCategory
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate2
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
a
(
"
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
"
}},[
a
(
"
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
,
n
){
return
a
(
"
div
"
,{
key
:
n
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
formValidate2Edit
(
e
)}}},[
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitiontype_name
)
+
"
\n\n
"
)]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
t
.
delClass
(
e
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
a
(
"
Form
"
,{
ref
:
"
formValidate2
"
,
attrs
:{
model
:
t
.
formValidate2
,
rules
:
t
.
ruleValidate2
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛类别
"
,
prop
:
"
competitiontype_name
"
}},[
a
(
"
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
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入描述
"
},
model
:{
value
:
t
.
formValidate2
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
remark
"
,
e
)},
expression
:
"
formValidate2.remark
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate2
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
status
"
,
e
)},
expression
:
"
formValidate2.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
模板导入
"
,
width
:
"
40%
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
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
"
}},[
a
(
"
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
:
""
}},[
a
(
"
div
"
,{
staticStyle
:{
padding
:
"
120px 0
"
}},[
a
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
a
(
"
p
"
,[
t
.
_v
(
"
竞赛模板文件上传
"
)])],
1
)])],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
456d
"
),
a
(
"
7f7f
"
),
a
(
"
ac6a
"
),
a
(
"
bd86
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
386d
"
),
a
(
"
96cf
"
),
a
(
"
3b8d
"
)),
c
=
a
(
"
967e
"
),
s
=
a
.
n
(
c
),
l
=
(
a
(
"
a78e
"
),
a
(
"
7f6b
"
)),
u
=
a
(
"
61be
"
),
d
=
(
a
(
"
e0d3
"
),
a
(
"
c276
"
));
function
p
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
p
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
o
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
p
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
h
=
{
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
:
""
,
firstBatch
:
""
,
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
:
"
赛事名称
"
,
slot
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
slot
:
"
dept
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛项名称
"
,
slot
:
"
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
"
,
align
:
"
center
"
}],
data
:[],
theme
:
"
light
"
,
deptList
:[]}},
computed
:{
isAdmin
:
function
(){
var
t
=
JSON
.
parse
(
d
[
"
a
"
].
cookies
.
get
(
"
competition-roleId
"
));
return
"
管理员
"
===
t
.
role_name
}},
watch
:{},
methods
:{
ReportExportToExcel
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportExportToExcel
"
](
t
.
search
);
case
2
:
a
=
e
.
sent
,
t
.
blobFileImport
(
a
,
"
赛事目录导出
"
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetReportImportTemplate
:
function
(){
var
t
=
this
;
this
.
Bloading
=
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
Bloading
=!
0
,
e
.
next
=
3
,
l
[
"
GetReportImportTemplate
"
]();
case
3
:
a
=
e
.
sent
,
window
.
location
.
href
=
a
.
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
,
a
){
""
!==
t
&&
e
.
push
(
t
)})),
this
.
formValidate
=
m
(
m
({},
t
),{},{
dept_id
:
e
}),
this
.
modal
.
addEventsModal
=!
0
},
edit
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
ReportDel
"
]({
id
:
t
.
competitionreportid
});
case
2
:
return
n
=
a
.
sent
,
e
.
getCompetitionList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
cancel
:
function
(){},
reset
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
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
.
search
.
batch
=
this
.
firstBatch
,
this
.
$refs
.
search
.
searchCondObj
.
batch
=
this
.
firstBatch
,
t
.
next
=
5
,
this
.
GetBatchBySelect
();
case
5
:
this
.
pageKey
++
,
this
.
getCompetitionList
();
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
search1
:
function
(
t
){
this
.
search
=
m
(
m
(
m
({},
this
.
search
),
t
),{},{
page_index
:
1
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
}),
this
.
pageKey
++
,
this
.
getCompetitionList
()},
getCompetitionList
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
.
abrupt
(
"
return
"
,
l
[
"
GetReportList
"
](
m
(
m
({},
this
.
search
),{},{
way
:
u
[
"
isWayEq2InSetNull
"
](
this
.
search
.
way
)})).
then
((
function
(
t
){
return
e
.
data
=
t
.
response
.
data
,
e
.
init
.
total
=
t
.
response
.
data_count
,
e
.
loading
=!
1
,
t
})));
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
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
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
levelList
=
a
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
a
.
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
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
classList
=
a
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
a
.
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
;
return
this
.
loading
=!
0
,
this
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
this
.
formValidate
.
competition_method
}).
then
((
function
(
e
){
return
t
.
batchList
=
e
.
response
,
t
.
firstBatch
=
e
.
response
[
0
].
id
,
t
.
search
.
batch
=
t
.
firstBatch
,
t
.
$refs
.
search
.
searchCondObj
.
batch
=
t
.
firstBatch
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))})),
t
.
loading
=!
1
,
e
}))},
GetDeptSeletct
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetDeptSeletct
"
]();
case
2
:
a
=
e
.
sent
,
t
.
deptList
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
formValidate1Edit
:
function
(
t
){
this
.
formValidate1
=
t
},
delLevel
:
function
(
t
){
var
e
=
this
;
Object
(
u
[
"
myEncapsulationFunction
"
])((
function
(){
return
u
[
"
publicConfirm
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
LevelDel
"
]({
id
:
t
.
competitionlevelid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetLevelList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
GetLevelList
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelList
"
]();
case
2
:
a
=
e
.
sent
,
t
.
competitionLevel
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
delClass
:
function
(
t
){
var
e
=
this
;
Object
(
u
[
"
myEncapsulationFunction
"
])((
function
(){
return
u
[
"
publicConfirm
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
TypeDel
"
]({
id
:
t
.
competitiontypeid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetTypeList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
formValidate2Edit
:
function
(
t
){
this
.
formValidate2
=
t
},
LevelSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
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
a
=
e
.
sent
,
t
.
GetLevelList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
TypeSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
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
a
=
e
.
sent
,
t
.
GetTypeList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
ReportSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportSave
"
](
t
.
formValidate
);
case
2
:
return
a
=
e
.
sent
,
e
.
next
=
5
,
t
.
getCompetitionList
();
case
5
:
return
t
.
modal
.
addEventsModal
=!
1
,
t
.
formValidate
=
{},
e
.
abrupt
(
"
return
"
,
a
);
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
(
a
){
a
?
e
.
validateSwitch
(
t
):(
e
.
$Message
.
destroy
(),
e
.
$Message
.
error
(
"
请检查必填选项!
"
))}))},
handleReset
:
function
(
t
){
this
.
$refs
[
t
].
resetFields
()},
GetTypeList
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeList
"
]();
case
2
:
a
=
e
.
sent
,
t
.
competitionClass
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
dutyModelUpload
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
e
){
var
a
,
n
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
new
FormData
,
a
.
append
(
"
file
"
,
e
),
t
.
next
=
4
,
l
[
"
ReportImport
"
](
a
);
case
4
:
if
(
n
=
t
.
sent
,
1
===
n
.
code
){
t
.
next
=
10
;
break
}
window
.
location
.
href
=
n
.
response
,
this
.
$Message
.
error
(
n
.
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
,
a
){
this
.
$Message
.
info
(
t
.
msg
)},
dutyModelError
:
function
(
t
,
e
,
a
){},
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
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
formValidate
.
competition_method
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
search
.
is_tea
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
t
.
next
=
4
,
this
.
GetBatchBySelect
();
case
4
:
this
.
getCompetitionList
(),
this
.
GetHierarchySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetDeptSeletct
(),
this
.
GetLevelList
(),
this
.
GetTypeList
();
case
11
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
h
,
g
=
(
a
(
"
736d
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
d0bc5dcc
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
e0d3
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"
6d8b
"
),
i
=
a
(
"
22d1
"
),
o
=
n
.
each
,
r
=
n
.
isObject
,
c
=
n
.
isArray
,
s
=
"
series
\
0
"
;
function
l
(
t
){
return
t
instanceof
Array
?
t
:
null
==
t
?[]:[
t
]}
function
u
(
t
,
e
,
a
){
if
(
t
){
t
[
e
]
=
t
[
e
]
||
{},
t
.
emphasis
=
t
.
emphasis
||
{},
t
.
emphasis
[
e
]
=
t
.
emphasis
[
e
]
||
{};
for
(
var
n
=
0
,
i
=
a
.
length
;
n
<
i
;
n
++
){
var
o
=
a
[
n
];
!
t
.
emphasis
[
e
].
hasOwnProperty
(
o
)
&&
t
[
e
].
hasOwnProperty
(
o
)
&&
(
t
.
emphasis
[
e
][
o
]
=
t
[
e
][
o
])}}}
var
d
=
[
"
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
!
r
(
t
)
||
c
(
t
)
||
t
instanceof
Date
?
t
:
t
.
value
}
function
m
(
t
){
return
r
(
t
)
&&!
(
t
instanceof
Array
)}
function
h
(
t
,
e
){
e
=
(
e
||
[]).
slice
();
var
a
=
n
.
map
(
t
||
[],(
function
(
t
,
e
){
return
{
exist
:
t
}}));
return
o
(
e
,(
function
(
t
,
n
){
if
(
r
(
t
)){
for
(
var
i
=
0
;
i
<
a
.
length
;
i
++
)
if
(
!
a
[
i
].
option
&&
null
!=
t
.
id
&&
a
[
i
].
exist
.
id
===
t
.
id
+
""
)
return
a
[
i
].
option
=
t
,
void
(
e
[
n
]
=
null
);
for
(
i
=
0
;
i
<
a
.
length
;
i
++
){
var
o
=
a
[
i
].
exist
;
if
(
!
a
[
i
].
option
&&
(
null
==
o
.
id
||
null
==
t
.
id
)
&&
null
!=
t
.
name
&&!
v
(
t
)
&&!
v
(
o
)
&&
o
.
name
===
t
.
name
+
""
)
return
a
[
i
].
option
=
t
,
void
(
e
[
n
]
=
null
)}}})),
o
(
e
,(
function
(
t
,
e
){
if
(
r
(
t
)){
for
(
var
n
=
0
;
n
<
a
.
length
;
n
++
){
var
i
=
a
[
n
].
exist
;
if
(
!
a
[
n
].
option
&&!
v
(
i
)
&&
null
==
t
.
id
){
a
[
n
].
option
=
t
;
break
}}
n
>=
a
.
length
&&
a
.
push
({
option
:
t
})}})),
a
}
function
f
(
t
){
var
e
=
n
.
createHashMap
();
o
(
t
,(
function
(
t
,
a
){
var
n
=
t
.
exist
;
n
&&
e
.
set
(
n
.
id
,
t
)})),
o
(
t
,(
function
(
t
,
a
){
var
i
=
t
.
option
;
n
.
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
=
{})})),
o
(
t
,(
function
(
t
,
a
){
var
n
=
t
.
exist
,
i
=
t
.
option
,
o
=
t
.
keyInfo
;
if
(
r
(
i
)){
if
(
o
.
name
=
null
!=
i
.
name
?
i
.
name
+
""
:
n
?
n
.
name
:
s
+
a
,
n
)
o
.
id
=
n
.
id
;
else
if
(
null
!=
i
.
id
)
o
.
id
=
i
.
id
+
""
;
else
{
var
c
=
0
;
do
{
o
.
id
=
"
\
0
"
+
o
.
name
+
"
\
0
"
+
c
++
}
while
(
e
.
get
(
o
.
id
))}
e
.
set
(
o
.
id
,
t
)}}))}
function
g
(
t
){
var
e
=
t
.
name
;
return
!
(
!
e
||!
e
.
indexOf
(
s
))}
function
v
(
t
){
return
r
(
t
)
&&
t
.
id
&&
0
===
(
t
.
id
+
""
).
indexOf
(
"
\
0_ec_
\
0
"
)}
function
y
(
t
,
e
){
var
a
=
{},
n
=
{};
return
i
(
t
||
[],
a
),
i
(
e
||
[],
n
,
a
),[
o
(
a
),
o
(
n
)];
function
i
(
t
,
e
,
a
){
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
for
(
var
o
=
t
[
n
].
seriesId
,
r
=
l
(
t
[
n
].
dataIndex
),
c
=
a
&&
a
[
o
],
s
=
0
,
u
=
r
.
length
;
s
<
u
;
s
++
){
var
d
=
r
[
s
];
c
&&
c
[
d
]?
c
[
d
]
=
null
:(
e
[
o
]
||
(
e
[
o
]
=
{}))[
d
]
=
1
}}
function
o
(
t
,
e
){
var
a
=
[];
for
(
var
n
in
t
)
if
(
t
.
hasOwnProperty
(
n
)
&&
null
!=
t
[
n
])
if
(
e
)
a
.
push
(
+
n
);
else
{
var
i
=
o
(
t
[
n
],
!
0
);
i
.
length
&&
a
.
push
({
seriesId
:
n
,
dataIndex
:
i
})}
return
a
}}
function
b
(
t
,
e
){
return
null
!=
e
.
dataIndexInside
?
e
.
dataIndexInside
:
null
!=
e
.
dataIndex
?
n
.
isArray
(
e
.
dataIndex
)?
n
.
map
(
e
.
dataIndex
,(
function
(
e
){
return
t
.
indexOfRawIndex
(
e
)})):
t
.
indexOfRawIndex
(
e
.
dataIndex
):
null
!=
e
.
name
?
n
.
isArray
(
e
.
name
)?
n
.
map
(
e
.
name
,(
function
(
e
){
return
t
.
indexOfName
(
e
)})):
t
.
indexOfName
(
e
.
name
):
void
0
}
function
w
(){
var
t
=
"
__
\
0ec_inner_
"
+
_
+++
"
_
"
+
Math
.
random
().
toFixed
(
5
);
return
function
(
e
){
return
e
[
t
]
||
(
e
[
t
]
=
{})}}
var
_
=
0
;
function
x
(
t
,
e
,
a
){
if
(
n
.
isString
(
e
)){
var
i
=
{};
i
[
e
+
"
Index
"
]
=
0
,
e
=
i
}
var
r
=
a
&&
a
.
defaultMainType
;
!
r
||
S
(
e
,
r
+
"
Index
"
)
||
S
(
e
,
r
+
"
Id
"
)
||
S
(
e
,
r
+
"
Name
"
)
||
(
e
[
r
+
"
Index
"
]
=
0
);
var
c
=
{};
return
o
(
e
,(
function
(
i
,
o
){
i
=
e
[
o
];
if
(
"
dataIndex
"
!==
o
&&
"
dataIndexInside
"
!==
o
){
var
r
=
o
.
match
(
/^
(\w
+
)(
Index|Id|Name
)
$/
)
||
[],
s
=
r
[
1
],
l
=
(
r
[
2
]
||
""
).
toLowerCase
();
if
(
!
(
!
s
||!
l
||
null
==
i
||
"
index
"
===
l
&&
"
none
"
===
i
||
a
&&
a
.
includeMainTypes
&&
n
.
indexOf
(
a
.
includeMainTypes
,
s
)
<
0
)){
var
u
=
{
mainType
:
s
};
"
index
"
===
l
&&
"
all
"
===
i
||
(
u
[
l
]
=
i
);
var
d
=
t
.
queryComponents
(
u
);
c
[
s
+
"
Models
"
]
=
d
,
c
[
s
+
"
Model
"
]
=
d
[
0
]}}
else
c
[
o
]
=
i
})),
c
}
function
S
(
t
,
e
){
return
t
&&
t
.
hasOwnProperty
(
e
)}
function
k
(
t
,
e
,
a
){
t
.
setAttribute
?
t
.
setAttribute
(
e
,
a
):
t
[
e
]
=
a
}
function
B
(
t
,
e
){
return
t
.
getAttribute
?
t
.
getAttribute
(
e
):
t
[
e
]}
function
C
(
t
){
return
"
auto
"
===
t
?
i
.
domSupported
?
"
html
"
:
"
richText
"
:
t
||
"
html
"
}
function
L
(
t
,
e
){
var
a
=
n
.
createHashMap
(),
i
=
[];
return
n
.
each
(
t
,(
function
(
t
){
var
n
=
e
(
t
);(
a
.
get
(
n
)
||
(
i
.
push
(
n
),
a
.
set
(
n
,[]))).
push
(
t
)})),{
keys
:
i
,
buckets
:
a
}}
e
.
normalizeToArray
=
l
,
e
.
defaultEmphasis
=
u
,
e
.
TEXT_STYLE_OPTIONS
=
d
,
e
.
getDataItemValue
=
p
,
e
.
isDataItemOption
=
m
,
e
.
mappingToExists
=
h
,
e
.
makeIdAndName
=
f
,
e
.
isNameSpecified
=
g
,
e
.
isIdInner
=
v
,
e
.
compressBatches
=
y
,
e
.
queryDataIndex
=
b
,
e
.
makeInner
=
w
,
e
.
parseFinder
=
x
,
e
.
setAttribute
=
k
,
e
.
getAttribute
=
B
,
e
.
getTooltipRenderMode
=
C
,
e
.
groupData
=
L
}}]);
\ No newline at end of file
dist/js/chunk-a95ae380.c41b70f9.js
已删除
100644 → 0
浏览文件 @
f55e7b5e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-a95ae380
"
],{
"
22d1
"
:
function
(
t
,
e
){
var
a
=
{};
a
=
"
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
n
=
a
;
function
i
(
t
){
var
e
=
{},
a
=
{},
n
=
t
.
match
(
/Firefox
\/([\d
.
]
+
)
/
),
i
=
t
.
match
(
/MSIE
\s([\d
.
]
+
)
/
)
||
t
.
match
(
/Trident
\/
.+
?
rv:
(([\d
.
]
+
))
/
),
o
=
t
.
match
(
/Edge
\/([\d
.
]
+
)
/
),
r
=
/micromessenger/i
.
test
(
t
);
return
n
&&
(
a
.
firefox
=!
0
,
a
.
version
=
n
[
1
]),
i
&&
(
a
.
ie
=!
0
,
a
.
version
=
i
[
1
]),
o
&&
(
a
.
edge
=!
0
,
a
.
version
=
o
[
1
]),
r
&&
(
a
.
weChat
=!
0
),{
browser
:
a
,
os
:
e
,
node
:
!
1
,
canvasSupported
:
!!
document
.
createElement
(
"
canvas
"
).
getContext
,
svgSupported
:
"
undefined
"
!==
typeof
SVGRect
,
touchEventsSupported
:
"
ontouchstart
"
in
window
&&!
a
.
ie
&&!
a
.
edge
,
pointerEventsSupported
:
"
onpointerdown
"
in
window
&&
(
a
.
edge
||
a
.
ie
&&
a
.
version
>=
11
),
domSupported
:
"
undefined
"
!==
typeof
document
}}
t
.
exports
=
n
},
"
386d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
a
(
"
cb7c
"
),
i
=
a
(
"
83a1
"
),
o
=
a
(
"
5f1b
"
);
a
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
a
,
r
){
return
[
function
(
a
){
var
n
=
t
(
this
),
i
=
void
0
==
a
?
void
0
:
a
[
e
];
return
void
0
!==
i
?
i
.
call
(
a
,
n
):
new
RegExp
(
a
)[
e
](
String
(
n
))},
function
(
t
){
var
e
=
r
(
a
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
c
=
n
(
t
),
s
=
String
(
this
),
l
=
c
.
lastIndex
;
i
(
l
,
0
)
||
(
c
.
lastIndex
=
0
);
var
u
=
o
(
c
,
s
);
return
i
(
c
.
lastIndex
,
l
)
||
(
c
.
lastIndex
=
l
),
null
===
u
?
-
1
:
u
.
index
}]}))},
"
3af6
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
Card
"
,[
a
(
"
Menu
"
,{
attrs
:{
mode
:
"
horizontal
"
,
theme
:
"
light
"
,
"
active-name
"
:
"
1
"
},
on
:{
"
on-select
"
:
t
.
aaa
}},[
a
(
"
MenuItem
"
,{
attrs
:{
name
:
"
1
"
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-people
"
}}),
t
.
_v
(
"
\n
赛事目录维护
\n
"
)],
1
),
t
.
getUserRole
()?
a
(
"
MenuItem
"
,{
attrs
:{
name
:
"
2
"
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-paper
"
}}),
t
.
_v
(
"
\n
批次管理
\n
"
)],
1
):
t
.
_e
()],
1
),
a
(
"
br
"
),
1
===
t
.
componentState
?
a
(
"
eventMatalogMaintenance
"
,{
attrs
:{
studentOrTeacher
:
"
student
"
}}):
t
.
_e
(),
2
===
t
.
componentState
?
a
(
"
batchManagement
"
,{
attrs
:{
studentOrTeacher
:
"
student
"
}}):
t
.
_e
()],
1
)},
i
=
[],
o
=
(
a
(
"
c5f6
"
),
a
(
"
c827
"
)),
r
=
a
(
"
9cc4
"
),
c
=
(
a
(
"
61be
"
),{
components
:{
eventMatalogMaintenance
:
o
[
"
a
"
],
batchManagement
:
r
[
"
a
"
]},
data
:
function
(){
return
{
componentState
:
1
,
init
:{
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
columns
:[{
title
:
"
Name
"
,
key
:
"
name
"
},{
title
:
"
Age
"
,
key
:
"
age
"
},{
title
:
"
Address
"
,
key
:
"
address
"
}],
data
:[{
name
:
"
John Brown
"
,
age
:
18
,
address
:
"
New York No. 1 Lake Park
"
,
date
:
"
2016-10-03
"
},{
name
:
"
Jim Green
"
,
age
:
24
,
address
:
"
London No. 1 Lake Park
"
,
date
:
"
2016-10-01
"
},{
name
:
"
Joe Black
"
,
age
:
30
,
address
:
"
Sydney No. 1 Lake Park
"
,
date
:
"
2016-10-02
"
},{
name
:
"
Jon Snow
"
,
age
:
26
,
address
:
"
Ottawa No. 2 Lake Park
"
,
date
:
"
2016-10-04
"
}],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
getCompetitionSignList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
getCompetitionSignList
()},
aaa
:
function
(
t
){
this
.
componentState
=
Number
(
t
)}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}}),
s
=
c
,
l
=
(
a
(
"
ccbc
"
),
a
(
"
2877
"
)),
u
=
Object
(
l
[
"
a
"
])(
s
,
n
,
i
,
!
1
,
null
,
"
3892b798
"
,
null
);
e
[
"
default
"
]
=
u
.
exports
},
5956
:
function
(
t
,
e
,
a
){},
"
6d8b
"
:
function
(
t
,
e
){
var
a
=
{
"
[object Function]
"
:
1
,
"
[object RegExp]
"
:
1
,
"
[object Date]
"
:
1
,
"
[object Error]
"
:
1
,
"
[object CanvasGradient]
"
:
1
,
"
[object CanvasPattern]
"
:
1
,
"
[object Image]
"
:
1
,
"
[object Canvas]
"
:
1
},
n
=
{
"
[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
,
o
=
Array
.
prototype
,
r
=
o
.
forEach
,
c
=
o
.
filter
,
s
=
o
.
slice
,
l
=
o
.
map
,
u
=
o
.
reduce
,
d
=
{};
function
p
(
t
,
e
){
"
createCanvas
"
===
t
&&
(
y
=
null
),
d
[
t
]
=
e
}
function
m
(
t
){
if
(
null
==
t
||
"
object
"
!==
typeof
t
)
return
t
;
var
e
=
t
,
o
=
i
.
call
(
t
);
if
(
"
[object Array]
"
===
o
){
if
(
!
Y
(
t
)){
e
=
[];
for
(
var
r
=
0
,
c
=
t
.
length
;
r
<
c
;
r
++
)
e
[
r
]
=
m
(
t
[
r
])}}
else
if
(
n
[
o
]){
if
(
!
Y
(
t
)){
var
s
=
t
.
constructor
;
if
(
t
.
constructor
.
from
)
e
=
s
.
from
(
t
);
else
{
e
=
new
s
(
t
.
length
);
for
(
r
=
0
,
c
=
t
.
length
;
r
<
c
;
r
++
)
e
[
r
]
=
m
(
t
[
r
])}}}
else
if
(
!
a
[
o
]
&&!
Y
(
t
)
&&!
R
(
t
))
for
(
var
l
in
e
=
{},
t
)
t
.
hasOwnProperty
(
l
)
&&
(
e
[
l
]
=
m
(
t
[
l
]));
return
e
}
function
h
(
t
,
e
,
a
){
if
(
!
A
(
e
)
||!
A
(
t
))
return
a
?
m
(
e
):
t
;
for
(
var
n
in
e
)
if
(
e
.
hasOwnProperty
(
n
)){
var
i
=
t
[
n
],
o
=
e
[
n
];
!
A
(
o
)
||!
A
(
i
)
||
E
(
o
)
||
E
(
i
)
||
R
(
o
)
||
R
(
i
)
||
D
(
o
)
||
D
(
i
)
||
Y
(
o
)
||
Y
(
i
)?
!
a
&&
n
in
t
||
(
t
[
n
]
=
m
(
e
[
n
],
!
0
)):
h
(
i
,
o
,
a
)}
return
t
}
function
f
(
t
,
e
){
for
(
var
a
=
t
[
0
],
n
=
1
,
i
=
t
.
length
;
n
<
i
;
n
++
)
a
=
h
(
a
,
t
[
n
],
e
);
return
a
}
function
g
(
t
,
e
){
for
(
var
a
in
e
)
e
.
hasOwnProperty
(
a
)
&&
(
t
[
a
]
=
e
[
a
]);
return
t
}
function
v
(
t
,
e
,
a
){
for
(
var
n
in
e
)
e
.
hasOwnProperty
(
n
)
&&
(
a
?
null
!=
e
[
n
]:
null
==
t
[
n
])
&&
(
t
[
n
]
=
e
[
n
]);
return
t
}
var
y
,
b
=
function
(){
return
d
.
createCanvas
()};
function
w
(){
return
y
||
(
y
=
b
().
getContext
(
"
2d
"
)),
y
}
function
_
(
t
,
e
){
if
(
t
){
if
(
t
.
indexOf
)
return
t
.
indexOf
(
e
);
for
(
var
a
=
0
,
n
=
t
.
length
;
a
<
n
;
a
++
)
if
(
t
[
a
]
===
e
)
return
a
}
return
-
1
}
function
x
(
t
,
e
){
var
a
=
t
.
prototype
;
function
n
(){}
for
(
var
i
in
n
.
prototype
=
e
.
prototype
,
t
.
prototype
=
new
n
,
a
)
a
.
hasOwnProperty
(
i
)
&&
(
t
.
prototype
[
i
]
=
a
[
i
]);
t
.
prototype
.
constructor
=
t
,
t
.
superClass
=
e
}
function
S
(
t
,
e
,
a
){
t
=
"
prototype
"
in
t
?
t
.
prototype
:
t
,
e
=
"
prototype
"
in
e
?
e
.
prototype
:
e
,
v
(
t
,
e
,
a
)}
function
k
(
t
){
if
(
t
)
return
"
string
"
!==
typeof
t
&&
"
number
"
===
typeof
t
.
length
}
function
B
(
t
,
e
,
a
){
if
(
t
&&
e
)
if
(
t
.
forEach
&&
t
.
forEach
===
r
)
t
.
forEach
(
e
,
a
);
else
if
(
t
.
length
===+
t
.
length
)
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
e
.
call
(
a
,
t
[
n
],
n
,
t
);
else
for
(
var
o
in
t
)
t
.
hasOwnProperty
(
o
)
&&
e
.
call
(
a
,
t
[
o
],
o
,
t
)}
function
C
(
t
,
e
,
a
){
if
(
t
&&
e
){
if
(
t
.
map
&&
t
.
map
===
l
)
return
t
.
map
(
e
,
a
);
for
(
var
n
=
[],
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
n
.
push
(
e
.
call
(
a
,
t
[
i
],
i
,
t
));
return
n
}}
function
L
(
t
,
e
,
a
,
n
){
if
(
t
&&
e
){
if
(
t
.
reduce
&&
t
.
reduce
===
u
)
return
t
.
reduce
(
e
,
a
,
n
);
for
(
var
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
a
=
e
.
call
(
n
,
a
,
t
[
i
],
i
,
t
);
return
a
}}
function
O
(
t
,
e
,
a
){
if
(
t
&&
e
){
if
(
t
.
filter
&&
t
.
filter
===
c
)
return
t
.
filter
(
e
,
a
);
for
(
var
n
=
[],
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
e
.
call
(
a
,
t
[
i
],
i
,
t
)
&&
n
.
push
(
t
[
i
]);
return
n
}}
function
I
(
t
,
e
,
a
){
if
(
t
&&
e
)
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
if
(
e
.
call
(
a
,
t
[
n
],
n
,
t
))
return
t
[
n
]}
function
V
(
t
,
e
){
var
a
=
s
.
call
(
arguments
,
2
);
return
function
(){
return
t
.
apply
(
e
,
a
.
concat
(
s
.
call
(
arguments
)))}}
function
j
(
t
){
var
e
=
s
.
call
(
arguments
,
1
);
return
function
(){
return
t
.
apply
(
this
,
e
.
concat
(
s
.
call
(
arguments
)))}}
function
E
(
t
){
return
"
[object Array]
"
===
i
.
call
(
t
)}
function
M
(
t
){
return
"
function
"
===
typeof
t
}
function
F
(
t
){
return
"
[object String]
"
===
i
.
call
(
t
)}
function
A
(
t
){
var
e
=
typeof
t
;
return
"
function
"
===
e
||!!
t
&&
"
object
"
===
e
}
function
D
(
t
){
return
!!
a
[
i
.
call
(
t
)]}
function
P
(
t
){
return
!!
n
[
i
.
call
(
t
)]}
function
R
(
t
){
return
"
object
"
===
typeof
t
&&
"
number
"
===
typeof
t
.
nodeType
&&
"
object
"
===
typeof
t
.
ownerDocument
}
function
T
(
t
){
return
t
!==
t
}
function
G
(
t
){
for
(
var
e
=
0
,
a
=
arguments
.
length
;
e
<
a
;
e
++
)
if
(
null
!=
arguments
[
e
])
return
arguments
[
e
]}
function
$
(
t
,
e
){
return
null
!=
t
?
t
:
e
}
function
z
(
t
,
e
,
a
){
return
null
!=
t
?
t
:
null
!=
e
?
e
:
a
}
function
W
(){
return
Function
.
call
.
apply
(
s
,
arguments
)}
function
q
(
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
N
(
t
,
e
){
if
(
!
t
)
throw
new
Error
(
e
)}
function
U
(
t
){
return
null
==
t
?
null
:
"
function
"
===
typeof
t
.
trim
?
t
.
trim
():
t
.
replace
(
/^
[\s\u
FEFF
\x
A0
]
+|
[\s\u
FEFF
\x
A0
]
+$/g
,
""
)}
d
.
createCanvas
=
function
(){
return
document
.
createElement
(
"
canvas
"
)};
var
H
=
"
__ec_primitive__
"
;
function
J
(
t
){
t
[
H
]
=!
0
}
function
Y
(
t
){
return
t
[
H
]}
function
K
(
t
){
var
e
=
E
(
t
);
this
.
data
=
{};
var
a
=
this
;
function
n
(
t
,
n
){
e
?
a
.
set
(
t
,
n
):
a
.
set
(
n
,
t
)}
t
instanceof
K
?
t
.
each
(
n
):
t
&&
B
(
t
,
n
)}
function
X
(
t
){
return
new
K
(
t
)}
function
Q
(
t
,
e
){
for
(
var
a
=
new
t
.
constructor
(
t
.
length
+
e
.
length
),
n
=
0
;
n
<
t
.
length
;
n
++
)
a
[
n
]
=
t
[
n
];
var
i
=
t
.
length
;
for
(
n
=
0
;
n
<
e
.
length
;
n
++
)
a
[
n
+
i
]
=
e
[
n
];
return
a
}
function
Z
(){}
K
.
prototype
=
{
constructor
:
K
,
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
a
in
void
0
!==
e
&&
(
t
=
V
(
t
,
e
)),
this
.
data
)
this
.
data
.
hasOwnProperty
(
a
)
&&
t
(
this
.
data
[
a
],
a
)},
removeKey
:
function
(
t
){
delete
this
.
data
[
t
]}},
e
.
$override
=
p
,
e
.
clone
=
m
,
e
.
merge
=
h
,
e
.
mergeAll
=
f
,
e
.
extend
=
g
,
e
.
defaults
=
v
,
e
.
createCanvas
=
b
,
e
.
getContext
=
w
,
e
.
indexOf
=
_
,
e
.
inherits
=
x
,
e
.
mixin
=
S
,
e
.
isArrayLike
=
k
,
e
.
each
=
B
,
e
.
map
=
C
,
e
.
reduce
=
L
,
e
.
filter
=
O
,
e
.
find
=
I
,
e
.
bind
=
V
,
e
.
curry
=
j
,
e
.
isArray
=
E
,
e
.
isFunction
=
M
,
e
.
isString
=
F
,
e
.
isObject
=
A
,
e
.
isBuiltInObject
=
D
,
e
.
isTypedArray
=
P
,
e
.
isDom
=
R
,
e
.
eqNaN
=
T
,
e
.
retrieve
=
G
,
e
.
retrieve2
=
$
,
e
.
retrieve3
=
z
,
e
.
slice
=
W
,
e
.
normalizeCssArray
=
q
,
e
.
assert
=
N
,
e
.
trim
=
U
,
e
.
setAsPrimitive
=
J
,
e
.
isPrimitive
=
Y
,
e
.
createHashMap
=
X
,
e
.
concatArray
=
Q
,
e
.
noop
=
Z
},
"
736d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
98b0
"
)},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
"
98b0
"
:
function
(
t
,
e
,
a
){},
"
9cc4
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
t
.
addBatch
}},[
t
.
_v
(
"
添加赛事批次
"
)])]},
proxy
:
!
0
}])},[
a
(
"
br
"
),
a
(
"
br
"
),
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
bed_time
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
n
.
bed_time
?
a
(
"
span
"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
n
.
bed_time
.
split
(
"
00:00
"
)[
0
]
+
"
~
"
+
n
.
end_time
.
split
(
"
00:00
"
)[
0
])
+
"
\n
"
)]):
t
.
_e
()]}},{
key
:
"
competition_method
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
blue
"
][
n
.
competition_method
]}},[
t
.
_v
(
t
.
_s
([
"
学生
"
,
"
教师
"
][
n
.
competition_method
]))])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
batchSynchronization
(
n
)}}},[
t
.
_v
(
"
批次同步
"
)]),
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
edit
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]),
1
==
n
.
is_allow_delete
?
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
n
)},
"
on-cancel
"
:
t
.
cancel
}},[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)])]):
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
#C5C8CE
"
}},[
t
.
_v
(
"
删除
"
)])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
50
,
title
:
"
添加赛事学年
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
batchModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
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
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_name
"
}},[
a
(
"
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
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛起止时间
"
,
prop
:
"
dateRange
"
}},[
a
(
"
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
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
备注
"
,
prop
:
"
remark
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
批次同步
"
,
width
:
80
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
curBatch
.
show
=!
1
}}},[
t
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
curBatch
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
curBatch
,
"
show
"
,
e
)},
expression
:
"
curBatch.show
"
}},[
a
(
"
cs-search-cond-form
"
,{
ref
:
"
searchCondForm
"
,
attrs
:{
searchCondList
:
t
.
curBatch
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
curBatch
.
params
},
on
:{
onSubmit
:
t
.
searchModal
,
onReset
:
t
.
resetModal
}}),
a
(
"
div
"
,[
a
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
function
(
e
){
t
.
awaitSelectBatch
.
show
=!
0
,
t
.
getAwaitSelectBatchData
()}}},[
t
.
_v
(
"
选择同步批次
"
)])],
1
),
a
(
"
csCTable
"
,{
attrs
:{
tableColumns
:
t
.
curBatch
.
columns
.
filter
((
function
(
t
){
return
t
.
show
})),
tableData
:
t
.
curBatch
.
data
,
tableLoading
:
t
.
curBatch
.
loading
,
dataCount
:
t
.
curBatch
.
dataCount
,
pageIndex
:
t
.
curBatch
.
params
.
page_index
,
pageSize
:
t
.
curBatch
.
params
.
page_size
},
on
:{
onPageChange
:
t
.
onPageChange
,
onPageSizeChange
:
t
.
onPageSizeChange
}}),
a
(
"
Drawer
"
,{
attrs
:{
"
mask-closable
"
:
!
1
,
transfer
:
!
1
,
draggable
:
!
0
,
width
:
950
,
title
:
"
选择同步批次
"
},
model
:{
value
:
t
.
awaitSelectBatch
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
,
"
show
"
,
e
)},
expression
:
"
awaitSelectBatch.show
"
}},[
a
(
"
Form
"
,{
attrs
:{
model
:
t
.
awaitSelectBatch
.
formData
,
"
label-width
"
:
80
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
目的批次
"
}},[
a
(
"
Select
"
,{
model
:{
value
:
t
.
awaitSelectBatch
.
formData
.
target_batch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
.
formData
,
"
target_batch
"
,
e
)},
expression
:
"
awaitSelectBatch.formData.target_batch
"
}},
t
.
_l
(
t
.
batchList
,(
function
(
e
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
源批次
"
}},[
a
(
"
Select
"
,{
attrs
:{
clearable
:
""
},
on
:{
"
on-change
"
:
t
.
sourceBatchChange
},
model
:{
value
:
t
.
awaitSelectBatch
.
formData
.
source_batch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
.
formData
,
"
source_batch
"
,
e
)},
expression
:
"
awaitSelectBatch.formData.source_batch
"
}},
t
.
_l
(
t
.
batchList
.
filter
((
function
(
e
){
return
e
.
value
!==
t
.
awaitSelectBatch
.
formData
.
target_batch
})),(
function
(
e
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
)
+
"
\n
"
)])})),
1
)],
1
)],
1
),
a
(
"
csCTable
"
,{
attrs
:{
tableColumns
:
t
.
awaitSelectBatch
.
columns
.
filter
((
function
(
t
){
return
t
.
show
})),
tableData
:
t
.
awaitSelectBatch
.
data
,
tableLoading
:
t
.
awaitSelectBatch
.
loading
,
dataCount
:
t
.
awaitSelectBatch
.
dataCount
,
pageIndex
:
t
.
awaitSelectBatch
.
params
.
page_index
,
pageSize
:
t
.
awaitSelectBatch
.
params
.
page_size
},
on
:{
onPageChange
:
t
.
onPageChangeAwaitSelectBatch
,
onPageSizeChange
:
t
.
onPageSizeChangeAwaitSelectBatch
,
onSelectionChange
:
t
.
onSelectionChange
}}),
a
(
"
div
"
,{
staticClass
:
"
demo-drawer-footer
"
},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
8px
"
},
on
:{
click
:
function
(
e
){
t
.
awaitSelectBatch
.
show
=!
1
}}},[
t
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
commitSyncBatch
}},[
t
.
_v
(
"
提交同步批次
"
)])],
1
)],
1
)],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
456d
"
),
a
(
"
ac6a
"
),
a
(
"
7f7f
"
),
a
(
"
96cf
"
),
a
(
"
3b8d
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
bd86
"
)),
c
=
a
(
"
967e
"
),
s
=
a
.
n
(
c
),
l
=
a
(
"
7f6b
"
),
u
=
a
(
"
d02c
"
),
d
=
a
(
"
61be
"
);
function
p
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
p
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
r
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
p
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
h
=
{
components
:{},
props
:[
"
studentOrTeacher
"
],
data
:
function
(){
return
{
awaitSelectBatch
:{
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
}]}],
dataCount
:
0
,
show
:
!
1
,
data
:[],
columns
:[{
title
:
"
序号
"
,
type
:
"
selection
"
,
show
:
!
0
,
minWidth
:
80
,
fixed
:
"
left
"
,
align
:
"
center
"
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
key
:
"
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
}],
loading
:
!
1
,
params
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
},
formData
:{
competition_id_list
:[],
source_batch
:
""
,
target_batch
:
""
}},
batchList
:[],
curBatch
:{
searchCondList
:[{
id
:
"
batch
"
,
name
:
"
赛事批次
"
,
type
:
"
select
"
,
show
:
!
0
,
disabled
:
!
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
}]}],
dataCount
:
0
,
show
:
!
1
,
data
:[],
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
minWidth
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
key
:
"
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
}],
loading
:
!
1
,
params
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
}},
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
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
commitSyncBatch
:
function
(){
var
t
=
this
;
d
[
"
publicConfirm
"
]((
function
(){
d
[
"
myEncapsulationFunction
"
]((
function
(){
return
u
[
"
postApiCommonBatchSync
"
](
t
.
awaitSelectBatch
.
formData
).
then
((
function
(
e
){
return
1
===
e
.
code
&&
(
t
.
getMdoalData
(),
t
.
awaitSelectBatch
.
show
=!
1
),
e
}),
!
1
,
"
同步中...
"
)}))}))},
sourceBatchChange
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
batch
=
t
,
this
.
getAwaitSelectBatchData
()},
onSelectionChange
:
function
(
t
){
this
.
awaitSelectBatch
.
formData
.
competition_id_list
=
t
.
map
((
function
(
t
){
return
t
.
competitionreportid
}))},
getAwaitSelectBatchData
:
function
(){
var
t
=
this
;
this
.
awaitSelectBatch
.
loading
=!
0
,
u
[
"
postApiCompetitionReportApiCompetitionReportGetReportList
"
](
this
.
awaitSelectBatch
.
params
).
then
((
function
(
e
){
t
.
awaitSelectBatch
.
data
=
e
.
response
.
data
,
t
.
awaitSelectBatch
.
dataCount
=
e
.
response
.
data_count
,
t
.
awaitSelectBatch
.
loading
=!
1
})).
finally
((
function
(){
t
.
awaitSelectBatch
.
loading
=!
1
}))},
onPageChangeAwaitSelectBatch
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
page_index
=
t
,
this
.
getAwaitSelectBatchData
()},
onPageSizeChangeAwaitSelectBatch
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
page_size
=
t
,
1
==
this
.
awaitSelectBatch
.
params
.
page_index
&&
this
.
onPageChangeAwaitSelectBatch
(
1
)},
resetModal
:
function
(){
this
.
curBatch
.
params
=
{
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
.
getMdoalData
()},
searchModal
:
function
(
t
){
this
.
curBatch
.
params
=
m
(
m
(
m
({},
this
.
curBatch
.
params
),
t
),{},{
page_index
:
1
}),
this
.
getMdoalData
()},
batchSynchronization
:
function
(
t
){
this
.
$refs
.
searchCondForm
.
searchCondObj
.
batch
=
t
.
competitionbatchid
,
this
.
curBatch
.
params
.
batch
=
t
.
competitionbatchid
,
this
.
awaitSelectBatch
.
formData
.
target_batch
=
t
.
competitionbatchid
,
this
.
getMdoalData
(),
this
.
curBatch
.
show
=!
0
},
getMdoalData
:
function
(){
var
t
=
this
;
this
.
curBatch
.
loading
=!
0
,
u
[
"
postApiCompetitionReportApiCompetitionReportGetReportList
"
](
this
.
curBatch
.
params
).
then
((
function
(
e
){
t
.
curBatch
.
data
=
e
.
response
.
data
,
t
.
curBatch
.
dataCount
=
e
.
response
.
data_count
,
t
.
curBatch
.
loading
=!
1
})).
finally
((
function
(){
t
.
curBatch
.
loading
=!
1
}))},
onPageChange
:
function
(
t
){
this
.
curBatch
.
params
.
page_index
=
t
,
this
.
getMdoalData
()},
onPageSizeChange
:
function
(
t
){
this
.
curBatch
.
params
.
page_size
=
t
,
1
==
this
.
curBatch
.
params
.
page_index
&&
this
.
onPageChange
(
1
)},
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
=
m
(
m
({},
t
),{},{
dateRange
:
e
})},
cancel
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
Object
(
d
[
"
myEncapsulationFunction
"
])(
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
BatchDel
"
]({
id
:
t
.
competitionbatchid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetBatchList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
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
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
BatchSave
"
](
t
.
formValidate
);
case
2
:
return
a
=
e
.
sent
,
1
===
a
.
code
&&
t
.
GetBatchList
(),
e
.
abrupt
(
"
return
"
,
a
);
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
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
loading
=!
0
,
a
=
{
page_index
:
t
.
init
.
page_index
,
page_size
:
t
.
init
.
page_size
,
competition_method
:
t
.
init
.
competition_method
},
e
.
next
=
4
,
t
.
asc
.
getApiCommonGetBatchList
(
a
);
case
4
:
n
=
e
.
sent
,
t
.
data
=
n
.
response
.
data
,
t
.
init
.
total
=
n
.
response
.
data_count
,
t
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetHierarchySelect
:
function
(){
var
t
=
this
;
this
.
asc
.
getApiCommonGetHierarchySelect
().
then
((
function
(
e
){
t
.
curBatch
.
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
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
a
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
a
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
4
:
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
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})),
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))}))}},
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
(),
this
.
GetHierarchySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetBatchBySelect
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
h
,
g
=
(
a
(
"
fbd8
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
d35d1902
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
b4af
:
function
(
t
,
e
,
a
){},
c827
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
t
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
search
},
on
:{
onSubmit
:
t
.
search1
,
onReset
:
t
.
reset
}}),
t
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
(),
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-cloud-download
"
},
on
:{
click
:
t
.
ReportExportToExcel
}},[
t
.
_v
(
"
\n
导出数据
\n
"
)]),
t
.
isAdmin
?
a
(
"
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
}])},[
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
isAdmin
?
t
.
columns
:
t
.
columns
.
filter
((
function
(
t
){
return
"
操作
"
!==
t
.
title
})),
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
competitionname
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
competitionname
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
competitionsubitem_name
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
competitionsubitem_name
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
dept
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tooltip
"
,{
attrs
:{
placement
:
"
right-end
"
,
transfer
:
!
1
,
"
max-width
"
:
500
},
scopedSlots
:
t
.
_u
([{
key
:
"
content
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,[
t
.
_v
(
"
"
+
t
.
_s
(
n
.
dept
))])]},
proxy
:
!
0
}],
null
,
!
0
)},[
n
.
dept
?
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
n
.
dept
,
length
:
18
}}):
t
.
_e
()],
1
)]}},{
key
:
"
way
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
n
.
way
]}},[
a
(
"
span
"
,{
staticStyle
:{
color
:
"
white
"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
团队
"
,
"
个人
"
][
n
.
way
])
+
"
\n
"
)])])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
t
.
isAdmin
?
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
t
.
eventTitle
=
"
编辑赛事
"
,
t
.
importFile
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]):
t
.
_e
(),
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
n
)},
"
on-cancel
"
:
t
.
cancel
}},[
t
.
isAdmin
?
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)]):
t
.
_e
()])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
45
,
title
:
t
.
eventTitle
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
dashed
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventsModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
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
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
a
(
"
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
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionname
"
,
e
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name1
"
}},[
a
(
"
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
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id1
"
}},[
a
(
"
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
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
t
.
formValidate
.
sponsor
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
sponsor
"
,
e
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
)],
1
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id1
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事级别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addeventLevel
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate1
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
a
(
"
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
"
}},[
a
(
"
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
,
n
){
return
a
(
"
div
"
,{
key
:
n
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
formValidate1Edit
(
e
)}}},[
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitionlevel_name
))]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
t
.
delLevel
(
e
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
a
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
t
.
formValidate1
,
rules
:
t
.
ruleValidate1
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competitionlevel_name
"
}},[
a
(
"
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
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark1
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate1
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
remark
"
,
e
)},
expression
:
"
formValidate1.remark
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate1
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
status
"
,
e
)},
expression
:
"
formValidate1.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事类别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventCategory
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate2
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
a
(
"
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
"
}},[
a
(
"
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
,
n
){
return
a
(
"
div
"
,{
key
:
n
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
formValidate2Edit
(
e
)}}},[
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitiontype_name
)
+
"
\n\n
"
)]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
t
.
delClass
(
e
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
a
(
"
Form
"
,{
ref
:
"
formValidate2
"
,
attrs
:{
model
:
t
.
formValidate2
,
rules
:
t
.
ruleValidate2
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛类别
"
,
prop
:
"
competitiontype_name
"
}},[
a
(
"
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
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入描述
"
},
model
:{
value
:
t
.
formValidate2
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
remark
"
,
e
)},
expression
:
"
formValidate2.remark
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate2
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
status
"
,
e
)},
expression
:
"
formValidate2.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
模板导入
"
,
width
:
"
40%
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
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
"
}},[
a
(
"
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
:
""
}},[
a
(
"
div
"
,{
staticStyle
:{
padding
:
"
120px 0
"
}},[
a
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
a
(
"
p
"
,[
t
.
_v
(
"
竞赛模板文件上传
"
)])],
1
)])],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
456d
"
),
a
(
"
7f7f
"
),
a
(
"
ac6a
"
),
a
(
"
bd86
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
386d
"
),
a
(
"
96cf
"
),
a
(
"
3b8d
"
)),
c
=
a
(
"
967e
"
),
s
=
a
.
n
(
c
),
l
=
(
a
(
"
a78e
"
),
a
(
"
7f6b
"
)),
u
=
a
(
"
61be
"
),
d
=
(
a
(
"
e0d3
"
),
a
(
"
c276
"
));
function
p
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
p
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
o
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
p
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
h
=
{
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
:
""
,
firstBatch
:
""
,
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
:
"
赛事名称
"
,
slot
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
slot
:
"
dept
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛项名称
"
,
slot
:
"
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
"
,
align
:
"
center
"
}],
data
:[],
theme
:
"
light
"
,
deptList
:[]}},
computed
:{
isAdmin
:
function
(){
var
t
=
JSON
.
parse
(
d
[
"
a
"
].
cookies
.
get
(
"
competition-roleId
"
));
return
"
管理员
"
===
t
.
role_name
}},
watch
:{},
methods
:{
ReportExportToExcel
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportExportToExcel
"
](
t
.
search
);
case
2
:
a
=
e
.
sent
,
t
.
blobFileImport
(
a
,
"
赛事目录导出
"
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetReportImportTemplate
:
function
(){
var
t
=
this
;
this
.
Bloading
=
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
Bloading
=!
0
,
e
.
next
=
3
,
l
[
"
GetReportImportTemplate
"
]();
case
3
:
a
=
e
.
sent
,
window
.
location
.
href
=
a
.
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
,
a
){
""
!==
t
&&
e
.
push
(
t
)})),
this
.
formValidate
=
m
(
m
({},
t
),{},{
dept_id
:
e
}),
this
.
modal
.
addEventsModal
=!
0
},
edit
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
ReportDel
"
]({
id
:
t
.
competitionreportid
});
case
2
:
return
n
=
a
.
sent
,
e
.
getCompetitionList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
cancel
:
function
(){},
reset
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
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
.
search
.
batch
=
this
.
firstBatch
,
this
.
$refs
.
search
.
searchCondObj
.
batch
=
this
.
firstBatch
,
t
.
next
=
5
,
this
.
GetBatchBySelect
();
case
5
:
this
.
pageKey
++
,
this
.
getCompetitionList
();
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
search1
:
function
(
t
){
this
.
search
=
m
(
m
(
m
({},
this
.
search
),
t
),{},{
page_index
:
1
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
}),
this
.
pageKey
++
,
this
.
getCompetitionList
()},
getCompetitionList
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
.
abrupt
(
"
return
"
,
l
[
"
GetReportList
"
](
m
(
m
({},
this
.
search
),{},{
way
:
u
[
"
isWayEq2InSetNull
"
](
this
.
search
.
way
)})).
then
((
function
(
t
){
return
e
.
data
=
t
.
response
.
data
,
e
.
init
.
total
=
t
.
response
.
data_count
,
e
.
loading
=!
1
,
t
})));
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
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
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
levelList
=
a
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
a
.
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
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
classList
=
a
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
a
.
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
;
return
this
.
loading
=!
0
,
this
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
this
.
formValidate
.
competition_method
}).
then
((
function
(
e
){
return
t
.
batchList
=
e
.
response
,
t
.
firstBatch
=
e
.
response
[
0
].
id
,
t
.
search
.
batch
=
t
.
firstBatch
,
t
.
$refs
.
search
.
searchCondObj
.
batch
=
t
.
firstBatch
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))})),
t
.
loading
=!
1
,
e
}))},
GetDeptSeletct
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetDeptSeletct
"
]();
case
2
:
a
=
e
.
sent
,
t
.
deptList
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
formValidate1Edit
:
function
(
t
){
this
.
formValidate1
=
t
},
delLevel
:
function
(
t
){
var
e
=
this
;
Object
(
u
[
"
myEncapsulationFunction
"
])((
function
(){
return
u
[
"
publicConfirm
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
LevelDel
"
]({
id
:
t
.
competitionlevelid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetLevelList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
GetLevelList
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelList
"
]();
case
2
:
a
=
e
.
sent
,
t
.
competitionLevel
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
delClass
:
function
(
t
){
var
e
=
this
;
Object
(
u
[
"
myEncapsulationFunction
"
])((
function
(){
return
u
[
"
publicConfirm
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
TypeDel
"
]({
id
:
t
.
competitiontypeid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetTypeList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
formValidate2Edit
:
function
(
t
){
this
.
formValidate2
=
t
},
LevelSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
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
a
=
e
.
sent
,
t
.
GetLevelList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
TypeSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
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
a
=
e
.
sent
,
t
.
GetTypeList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
ReportSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportSave
"
](
t
.
formValidate
);
case
2
:
return
a
=
e
.
sent
,
e
.
next
=
5
,
t
.
getCompetitionList
();
case
5
:
return
t
.
modal
.
addEventsModal
=!
1
,
t
.
formValidate
=
{},
e
.
abrupt
(
"
return
"
,
a
);
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
(
a
){
a
?
e
.
validateSwitch
(
t
):(
e
.
$Message
.
destroy
(),
e
.
$Message
.
error
(
"
请检查必填选项!
"
))}))},
handleReset
:
function
(
t
){
this
.
$refs
[
t
].
resetFields
()},
GetTypeList
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeList
"
]();
case
2
:
a
=
e
.
sent
,
t
.
competitionClass
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
dutyModelUpload
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
e
){
var
a
,
n
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
new
FormData
,
a
.
append
(
"
file
"
,
e
),
t
.
next
=
4
,
l
[
"
ReportImport
"
](
a
);
case
4
:
if
(
n
=
t
.
sent
,
1
===
n
.
code
){
t
.
next
=
10
;
break
}
window
.
location
.
href
=
n
.
response
,
this
.
$Message
.
error
(
n
.
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
,
a
){
this
.
$Message
.
info
(
t
.
msg
)},
dutyModelError
:
function
(
t
,
e
,
a
){},
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
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
formValidate
.
competition_method
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
search
.
is_tea
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
t
.
next
=
4
,
this
.
GetBatchBySelect
();
case
4
:
this
.
getCompetitionList
(),
this
.
GetHierarchySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetDeptSeletct
(),
this
.
GetLevelList
(),
this
.
GetTypeList
();
case
11
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
h
,
g
=
(
a
(
"
736d
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
d0bc5dcc
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
ccbc
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
b4af
"
)},
e0d3
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"
6d8b
"
),
i
=
a
(
"
22d1
"
),
o
=
n
.
each
,
r
=
n
.
isObject
,
c
=
n
.
isArray
,
s
=
"
series
\
0
"
;
function
l
(
t
){
return
t
instanceof
Array
?
t
:
null
==
t
?[]:[
t
]}
function
u
(
t
,
e
,
a
){
if
(
t
){
t
[
e
]
=
t
[
e
]
||
{},
t
.
emphasis
=
t
.
emphasis
||
{},
t
.
emphasis
[
e
]
=
t
.
emphasis
[
e
]
||
{};
for
(
var
n
=
0
,
i
=
a
.
length
;
n
<
i
;
n
++
){
var
o
=
a
[
n
];
!
t
.
emphasis
[
e
].
hasOwnProperty
(
o
)
&&
t
[
e
].
hasOwnProperty
(
o
)
&&
(
t
.
emphasis
[
e
][
o
]
=
t
[
e
][
o
])}}}
var
d
=
[
"
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
!
r
(
t
)
||
c
(
t
)
||
t
instanceof
Date
?
t
:
t
.
value
}
function
m
(
t
){
return
r
(
t
)
&&!
(
t
instanceof
Array
)}
function
h
(
t
,
e
){
e
=
(
e
||
[]).
slice
();
var
a
=
n
.
map
(
t
||
[],(
function
(
t
,
e
){
return
{
exist
:
t
}}));
return
o
(
e
,(
function
(
t
,
n
){
if
(
r
(
t
)){
for
(
var
i
=
0
;
i
<
a
.
length
;
i
++
)
if
(
!
a
[
i
].
option
&&
null
!=
t
.
id
&&
a
[
i
].
exist
.
id
===
t
.
id
+
""
)
return
a
[
i
].
option
=
t
,
void
(
e
[
n
]
=
null
);
for
(
i
=
0
;
i
<
a
.
length
;
i
++
){
var
o
=
a
[
i
].
exist
;
if
(
!
a
[
i
].
option
&&
(
null
==
o
.
id
||
null
==
t
.
id
)
&&
null
!=
t
.
name
&&!
v
(
t
)
&&!
v
(
o
)
&&
o
.
name
===
t
.
name
+
""
)
return
a
[
i
].
option
=
t
,
void
(
e
[
n
]
=
null
)}}})),
o
(
e
,(
function
(
t
,
e
){
if
(
r
(
t
)){
for
(
var
n
=
0
;
n
<
a
.
length
;
n
++
){
var
i
=
a
[
n
].
exist
;
if
(
!
a
[
n
].
option
&&!
v
(
i
)
&&
null
==
t
.
id
){
a
[
n
].
option
=
t
;
break
}}
n
>=
a
.
length
&&
a
.
push
({
option
:
t
})}})),
a
}
function
f
(
t
){
var
e
=
n
.
createHashMap
();
o
(
t
,(
function
(
t
,
a
){
var
n
=
t
.
exist
;
n
&&
e
.
set
(
n
.
id
,
t
)})),
o
(
t
,(
function
(
t
,
a
){
var
i
=
t
.
option
;
n
.
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
=
{})})),
o
(
t
,(
function
(
t
,
a
){
var
n
=
t
.
exist
,
i
=
t
.
option
,
o
=
t
.
keyInfo
;
if
(
r
(
i
)){
if
(
o
.
name
=
null
!=
i
.
name
?
i
.
name
+
""
:
n
?
n
.
name
:
s
+
a
,
n
)
o
.
id
=
n
.
id
;
else
if
(
null
!=
i
.
id
)
o
.
id
=
i
.
id
+
""
;
else
{
var
c
=
0
;
do
{
o
.
id
=
"
\
0
"
+
o
.
name
+
"
\
0
"
+
c
++
}
while
(
e
.
get
(
o
.
id
))}
e
.
set
(
o
.
id
,
t
)}}))}
function
g
(
t
){
var
e
=
t
.
name
;
return
!
(
!
e
||!
e
.
indexOf
(
s
))}
function
v
(
t
){
return
r
(
t
)
&&
t
.
id
&&
0
===
(
t
.
id
+
""
).
indexOf
(
"
\
0_ec_
\
0
"
)}
function
y
(
t
,
e
){
var
a
=
{},
n
=
{};
return
i
(
t
||
[],
a
),
i
(
e
||
[],
n
,
a
),[
o
(
a
),
o
(
n
)];
function
i
(
t
,
e
,
a
){
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
for
(
var
o
=
t
[
n
].
seriesId
,
r
=
l
(
t
[
n
].
dataIndex
),
c
=
a
&&
a
[
o
],
s
=
0
,
u
=
r
.
length
;
s
<
u
;
s
++
){
var
d
=
r
[
s
];
c
&&
c
[
d
]?
c
[
d
]
=
null
:(
e
[
o
]
||
(
e
[
o
]
=
{}))[
d
]
=
1
}}
function
o
(
t
,
e
){
var
a
=
[];
for
(
var
n
in
t
)
if
(
t
.
hasOwnProperty
(
n
)
&&
null
!=
t
[
n
])
if
(
e
)
a
.
push
(
+
n
);
else
{
var
i
=
o
(
t
[
n
],
!
0
);
i
.
length
&&
a
.
push
({
seriesId
:
n
,
dataIndex
:
i
})}
return
a
}}
function
b
(
t
,
e
){
return
null
!=
e
.
dataIndexInside
?
e
.
dataIndexInside
:
null
!=
e
.
dataIndex
?
n
.
isArray
(
e
.
dataIndex
)?
n
.
map
(
e
.
dataIndex
,(
function
(
e
){
return
t
.
indexOfRawIndex
(
e
)})):
t
.
indexOfRawIndex
(
e
.
dataIndex
):
null
!=
e
.
name
?
n
.
isArray
(
e
.
name
)?
n
.
map
(
e
.
name
,(
function
(
e
){
return
t
.
indexOfName
(
e
)})):
t
.
indexOfName
(
e
.
name
):
void
0
}
function
w
(){
var
t
=
"
__
\
0ec_inner_
"
+
_
+++
"
_
"
+
Math
.
random
().
toFixed
(
5
);
return
function
(
e
){
return
e
[
t
]
||
(
e
[
t
]
=
{})}}
var
_
=
0
;
function
x
(
t
,
e
,
a
){
if
(
n
.
isString
(
e
)){
var
i
=
{};
i
[
e
+
"
Index
"
]
=
0
,
e
=
i
}
var
r
=
a
&&
a
.
defaultMainType
;
!
r
||
S
(
e
,
r
+
"
Index
"
)
||
S
(
e
,
r
+
"
Id
"
)
||
S
(
e
,
r
+
"
Name
"
)
||
(
e
[
r
+
"
Index
"
]
=
0
);
var
c
=
{};
return
o
(
e
,(
function
(
i
,
o
){
i
=
e
[
o
];
if
(
"
dataIndex
"
!==
o
&&
"
dataIndexInside
"
!==
o
){
var
r
=
o
.
match
(
/^
(\w
+
)(
Index|Id|Name
)
$/
)
||
[],
s
=
r
[
1
],
l
=
(
r
[
2
]
||
""
).
toLowerCase
();
if
(
!
(
!
s
||!
l
||
null
==
i
||
"
index
"
===
l
&&
"
none
"
===
i
||
a
&&
a
.
includeMainTypes
&&
n
.
indexOf
(
a
.
includeMainTypes
,
s
)
<
0
)){
var
u
=
{
mainType
:
s
};
"
index
"
===
l
&&
"
all
"
===
i
||
(
u
[
l
]
=
i
);
var
d
=
t
.
queryComponents
(
u
);
c
[
s
+
"
Models
"
]
=
d
,
c
[
s
+
"
Model
"
]
=
d
[
0
]}}
else
c
[
o
]
=
i
})),
c
}
function
S
(
t
,
e
){
return
t
&&
t
.
hasOwnProperty
(
e
)}
function
k
(
t
,
e
,
a
){
t
.
setAttribute
?
t
.
setAttribute
(
e
,
a
):
t
[
e
]
=
a
}
function
B
(
t
,
e
){
return
t
.
getAttribute
?
t
.
getAttribute
(
e
):
t
[
e
]}
function
C
(
t
){
return
"
auto
"
===
t
?
i
.
domSupported
?
"
html
"
:
"
richText
"
:
t
||
"
html
"
}
function
L
(
t
,
e
){
var
a
=
n
.
createHashMap
(),
i
=
[];
return
n
.
each
(
t
,(
function
(
t
){
var
n
=
e
(
t
);(
a
.
get
(
n
)
||
(
i
.
push
(
n
),
a
.
set
(
n
,[]))).
push
(
t
)})),{
keys
:
i
,
buckets
:
a
}}
e
.
normalizeToArray
=
l
,
e
.
defaultEmphasis
=
u
,
e
.
TEXT_STYLE_OPTIONS
=
d
,
e
.
getDataItemValue
=
p
,
e
.
isDataItemOption
=
m
,
e
.
mappingToExists
=
h
,
e
.
makeIdAndName
=
f
,
e
.
isNameSpecified
=
g
,
e
.
isIdInner
=
v
,
e
.
compressBatches
=
y
,
e
.
queryDataIndex
=
b
,
e
.
makeInner
=
w
,
e
.
parseFinder
=
x
,
e
.
setAttribute
=
k
,
e
.
getAttribute
=
B
,
e
.
getTooltipRenderMode
=
C
,
e
.
groupData
=
L
},
fbd8
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
5956
"
)}}]);
\ No newline at end of file
dist/js/chunk-b1c41224.d16b61fc.js
已删除
100644 → 0
浏览文件 @
f55e7b5e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-b1c41224
"
],{
1578
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
c484
"
)},
"
22d1
"
:
function
(
t
,
e
){
var
a
=
{};
a
=
"
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
n
=
a
;
function
i
(
t
){
var
e
=
{},
a
=
{},
n
=
t
.
match
(
/Firefox
\/([\d
.
]
+
)
/
),
i
=
t
.
match
(
/MSIE
\s([\d
.
]
+
)
/
)
||
t
.
match
(
/Trident
\/
.+
?
rv:
(([\d
.
]
+
))
/
),
o
=
t
.
match
(
/Edge
\/([\d
.
]
+
)
/
),
r
=
/micromessenger/i
.
test
(
t
);
return
n
&&
(
a
.
firefox
=!
0
,
a
.
version
=
n
[
1
]),
i
&&
(
a
.
ie
=!
0
,
a
.
version
=
i
[
1
]),
o
&&
(
a
.
edge
=!
0
,
a
.
version
=
o
[
1
]),
r
&&
(
a
.
weChat
=!
0
),{
browser
:
a
,
os
:
e
,
node
:
!
1
,
canvasSupported
:
!!
document
.
createElement
(
"
canvas
"
).
getContext
,
svgSupported
:
"
undefined
"
!==
typeof
SVGRect
,
touchEventsSupported
:
"
ontouchstart
"
in
window
&&!
a
.
ie
&&!
a
.
edge
,
pointerEventsSupported
:
"
onpointerdown
"
in
window
&&
(
a
.
edge
||
a
.
ie
&&
a
.
version
>=
11
),
domSupported
:
"
undefined
"
!==
typeof
document
}}
t
.
exports
=
n
},
"
386d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
a
(
"
cb7c
"
),
i
=
a
(
"
83a1
"
),
o
=
a
(
"
5f1b
"
);
a
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
a
,
r
){
return
[
function
(
a
){
var
n
=
t
(
this
),
i
=
void
0
==
a
?
void
0
:
a
[
e
];
return
void
0
!==
i
?
i
.
call
(
a
,
n
):
new
RegExp
(
a
)[
e
](
String
(
n
))},
function
(
t
){
var
e
=
r
(
a
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
c
=
n
(
t
),
s
=
String
(
this
),
l
=
c
.
lastIndex
;
i
(
l
,
0
)
||
(
c
.
lastIndex
=
0
);
var
u
=
o
(
c
,
s
);
return
i
(
c
.
lastIndex
,
l
)
||
(
c
.
lastIndex
=
l
),
null
===
u
?
-
1
:
u
.
index
}]}))},
5956
:
function
(
t
,
e
,
a
){},
"
6d8b
"
:
function
(
t
,
e
){
var
a
=
{
"
[object Function]
"
:
1
,
"
[object RegExp]
"
:
1
,
"
[object Date]
"
:
1
,
"
[object Error]
"
:
1
,
"
[object CanvasGradient]
"
:
1
,
"
[object CanvasPattern]
"
:
1
,
"
[object Image]
"
:
1
,
"
[object Canvas]
"
:
1
},
n
=
{
"
[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
,
o
=
Array
.
prototype
,
r
=
o
.
forEach
,
c
=
o
.
filter
,
s
=
o
.
slice
,
l
=
o
.
map
,
u
=
o
.
reduce
,
d
=
{};
function
p
(
t
,
e
){
"
createCanvas
"
===
t
&&
(
y
=
null
),
d
[
t
]
=
e
}
function
m
(
t
){
if
(
null
==
t
||
"
object
"
!==
typeof
t
)
return
t
;
var
e
=
t
,
o
=
i
.
call
(
t
);
if
(
"
[object Array]
"
===
o
){
if
(
!
Y
(
t
)){
e
=
[];
for
(
var
r
=
0
,
c
=
t
.
length
;
r
<
c
;
r
++
)
e
[
r
]
=
m
(
t
[
r
])}}
else
if
(
n
[
o
]){
if
(
!
Y
(
t
)){
var
s
=
t
.
constructor
;
if
(
t
.
constructor
.
from
)
e
=
s
.
from
(
t
);
else
{
e
=
new
s
(
t
.
length
);
for
(
r
=
0
,
c
=
t
.
length
;
r
<
c
;
r
++
)
e
[
r
]
=
m
(
t
[
r
])}}}
else
if
(
!
a
[
o
]
&&!
Y
(
t
)
&&!
R
(
t
))
for
(
var
l
in
e
=
{},
t
)
t
.
hasOwnProperty
(
l
)
&&
(
e
[
l
]
=
m
(
t
[
l
]));
return
e
}
function
h
(
t
,
e
,
a
){
if
(
!
A
(
e
)
||!
A
(
t
))
return
a
?
m
(
e
):
t
;
for
(
var
n
in
e
)
if
(
e
.
hasOwnProperty
(
n
)){
var
i
=
t
[
n
],
o
=
e
[
n
];
!
A
(
o
)
||!
A
(
i
)
||
E
(
o
)
||
E
(
i
)
||
R
(
o
)
||
R
(
i
)
||
D
(
o
)
||
D
(
i
)
||
Y
(
o
)
||
Y
(
i
)?
!
a
&&
n
in
t
||
(
t
[
n
]
=
m
(
e
[
n
],
!
0
)):
h
(
i
,
o
,
a
)}
return
t
}
function
f
(
t
,
e
){
for
(
var
a
=
t
[
0
],
n
=
1
,
i
=
t
.
length
;
n
<
i
;
n
++
)
a
=
h
(
a
,
t
[
n
],
e
);
return
a
}
function
g
(
t
,
e
){
for
(
var
a
in
e
)
e
.
hasOwnProperty
(
a
)
&&
(
t
[
a
]
=
e
[
a
]);
return
t
}
function
v
(
t
,
e
,
a
){
for
(
var
n
in
e
)
e
.
hasOwnProperty
(
n
)
&&
(
a
?
null
!=
e
[
n
]:
null
==
t
[
n
])
&&
(
t
[
n
]
=
e
[
n
]);
return
t
}
var
y
,
b
=
function
(){
return
d
.
createCanvas
()};
function
w
(){
return
y
||
(
y
=
b
().
getContext
(
"
2d
"
)),
y
}
function
_
(
t
,
e
){
if
(
t
){
if
(
t
.
indexOf
)
return
t
.
indexOf
(
e
);
for
(
var
a
=
0
,
n
=
t
.
length
;
a
<
n
;
a
++
)
if
(
t
[
a
]
===
e
)
return
a
}
return
-
1
}
function
x
(
t
,
e
){
var
a
=
t
.
prototype
;
function
n
(){}
for
(
var
i
in
n
.
prototype
=
e
.
prototype
,
t
.
prototype
=
new
n
,
a
)
a
.
hasOwnProperty
(
i
)
&&
(
t
.
prototype
[
i
]
=
a
[
i
]);
t
.
prototype
.
constructor
=
t
,
t
.
superClass
=
e
}
function
S
(
t
,
e
,
a
){
t
=
"
prototype
"
in
t
?
t
.
prototype
:
t
,
e
=
"
prototype
"
in
e
?
e
.
prototype
:
e
,
v
(
t
,
e
,
a
)}
function
k
(
t
){
if
(
t
)
return
"
string
"
!==
typeof
t
&&
"
number
"
===
typeof
t
.
length
}
function
B
(
t
,
e
,
a
){
if
(
t
&&
e
)
if
(
t
.
forEach
&&
t
.
forEach
===
r
)
t
.
forEach
(
e
,
a
);
else
if
(
t
.
length
===+
t
.
length
)
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
e
.
call
(
a
,
t
[
n
],
n
,
t
);
else
for
(
var
o
in
t
)
t
.
hasOwnProperty
(
o
)
&&
e
.
call
(
a
,
t
[
o
],
o
,
t
)}
function
C
(
t
,
e
,
a
){
if
(
t
&&
e
){
if
(
t
.
map
&&
t
.
map
===
l
)
return
t
.
map
(
e
,
a
);
for
(
var
n
=
[],
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
n
.
push
(
e
.
call
(
a
,
t
[
i
],
i
,
t
));
return
n
}}
function
L
(
t
,
e
,
a
,
n
){
if
(
t
&&
e
){
if
(
t
.
reduce
&&
t
.
reduce
===
u
)
return
t
.
reduce
(
e
,
a
,
n
);
for
(
var
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
a
=
e
.
call
(
n
,
a
,
t
[
i
],
i
,
t
);
return
a
}}
function
O
(
t
,
e
,
a
){
if
(
t
&&
e
){
if
(
t
.
filter
&&
t
.
filter
===
c
)
return
t
.
filter
(
e
,
a
);
for
(
var
n
=
[],
i
=
0
,
o
=
t
.
length
;
i
<
o
;
i
++
)
e
.
call
(
a
,
t
[
i
],
i
,
t
)
&&
n
.
push
(
t
[
i
]);
return
n
}}
function
I
(
t
,
e
,
a
){
if
(
t
&&
e
)
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
if
(
e
.
call
(
a
,
t
[
n
],
n
,
t
))
return
t
[
n
]}
function
V
(
t
,
e
){
var
a
=
s
.
call
(
arguments
,
2
);
return
function
(){
return
t
.
apply
(
e
,
a
.
concat
(
s
.
call
(
arguments
)))}}
function
j
(
t
){
var
e
=
s
.
call
(
arguments
,
1
);
return
function
(){
return
t
.
apply
(
this
,
e
.
concat
(
s
.
call
(
arguments
)))}}
function
E
(
t
){
return
"
[object Array]
"
===
i
.
call
(
t
)}
function
M
(
t
){
return
"
function
"
===
typeof
t
}
function
F
(
t
){
return
"
[object String]
"
===
i
.
call
(
t
)}
function
A
(
t
){
var
e
=
typeof
t
;
return
"
function
"
===
e
||!!
t
&&
"
object
"
===
e
}
function
D
(
t
){
return
!!
a
[
i
.
call
(
t
)]}
function
P
(
t
){
return
!!
n
[
i
.
call
(
t
)]}
function
R
(
t
){
return
"
object
"
===
typeof
t
&&
"
number
"
===
typeof
t
.
nodeType
&&
"
object
"
===
typeof
t
.
ownerDocument
}
function
T
(
t
){
return
t
!==
t
}
function
G
(
t
){
for
(
var
e
=
0
,
a
=
arguments
.
length
;
e
<
a
;
e
++
)
if
(
null
!=
arguments
[
e
])
return
arguments
[
e
]}
function
$
(
t
,
e
){
return
null
!=
t
?
t
:
e
}
function
z
(
t
,
e
,
a
){
return
null
!=
t
?
t
:
null
!=
e
?
e
:
a
}
function
W
(){
return
Function
.
call
.
apply
(
s
,
arguments
)}
function
q
(
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
N
(
t
,
e
){
if
(
!
t
)
throw
new
Error
(
e
)}
function
U
(
t
){
return
null
==
t
?
null
:
"
function
"
===
typeof
t
.
trim
?
t
.
trim
():
t
.
replace
(
/^
[\s\u
FEFF
\x
A0
]
+|
[\s\u
FEFF
\x
A0
]
+$/g
,
""
)}
d
.
createCanvas
=
function
(){
return
document
.
createElement
(
"
canvas
"
)};
var
H
=
"
__ec_primitive__
"
;
function
J
(
t
){
t
[
H
]
=!
0
}
function
Y
(
t
){
return
t
[
H
]}
function
K
(
t
){
var
e
=
E
(
t
);
this
.
data
=
{};
var
a
=
this
;
function
n
(
t
,
n
){
e
?
a
.
set
(
t
,
n
):
a
.
set
(
n
,
t
)}
t
instanceof
K
?
t
.
each
(
n
):
t
&&
B
(
t
,
n
)}
function
X
(
t
){
return
new
K
(
t
)}
function
Q
(
t
,
e
){
for
(
var
a
=
new
t
.
constructor
(
t
.
length
+
e
.
length
),
n
=
0
;
n
<
t
.
length
;
n
++
)
a
[
n
]
=
t
[
n
];
var
i
=
t
.
length
;
for
(
n
=
0
;
n
<
e
.
length
;
n
++
)
a
[
n
+
i
]
=
e
[
n
];
return
a
}
function
Z
(){}
K
.
prototype
=
{
constructor
:
K
,
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
a
in
void
0
!==
e
&&
(
t
=
V
(
t
,
e
)),
this
.
data
)
this
.
data
.
hasOwnProperty
(
a
)
&&
t
(
this
.
data
[
a
],
a
)},
removeKey
:
function
(
t
){
delete
this
.
data
[
t
]}},
e
.
$override
=
p
,
e
.
clone
=
m
,
e
.
merge
=
h
,
e
.
mergeAll
=
f
,
e
.
extend
=
g
,
e
.
defaults
=
v
,
e
.
createCanvas
=
b
,
e
.
getContext
=
w
,
e
.
indexOf
=
_
,
e
.
inherits
=
x
,
e
.
mixin
=
S
,
e
.
isArrayLike
=
k
,
e
.
each
=
B
,
e
.
map
=
C
,
e
.
reduce
=
L
,
e
.
filter
=
O
,
e
.
find
=
I
,
e
.
bind
=
V
,
e
.
curry
=
j
,
e
.
isArray
=
E
,
e
.
isFunction
=
M
,
e
.
isString
=
F
,
e
.
isObject
=
A
,
e
.
isBuiltInObject
=
D
,
e
.
isTypedArray
=
P
,
e
.
isDom
=
R
,
e
.
eqNaN
=
T
,
e
.
retrieve
=
G
,
e
.
retrieve2
=
$
,
e
.
retrieve3
=
z
,
e
.
slice
=
W
,
e
.
normalizeCssArray
=
q
,
e
.
assert
=
N
,
e
.
trim
=
U
,
e
.
setAsPrimitive
=
J
,
e
.
isPrimitive
=
Y
,
e
.
createHashMap
=
X
,
e
.
concatArray
=
Q
,
e
.
noop
=
Z
},
"
736d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
98b0
"
)},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
"
98b0
"
:
function
(
t
,
e
,
a
){},
"
9cc4
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
t
.
addBatch
}},[
t
.
_v
(
"
添加赛事批次
"
)])]},
proxy
:
!
0
}])},[
a
(
"
br
"
),
a
(
"
br
"
),
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
bed_time
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
n
.
bed_time
?
a
(
"
span
"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
n
.
bed_time
.
split
(
"
00:00
"
)[
0
]
+
"
~
"
+
n
.
end_time
.
split
(
"
00:00
"
)[
0
])
+
"
\n
"
)]):
t
.
_e
()]}},{
key
:
"
competition_method
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
blue
"
][
n
.
competition_method
]}},[
t
.
_v
(
t
.
_s
([
"
学生
"
,
"
教师
"
][
n
.
competition_method
]))])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
batchSynchronization
(
n
)}}},[
t
.
_v
(
"
批次同步
"
)]),
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
edit
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]),
1
==
n
.
is_allow_delete
?
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
n
)},
"
on-cancel
"
:
t
.
cancel
}},[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)])]):
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
#C5C8CE
"
}},[
t
.
_v
(
"
删除
"
)])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
50
,
title
:
"
添加赛事学年
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
batchModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
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
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
Row
"
,[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_name
"
}},[
a
(
"
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
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛起止时间
"
,
prop
:
"
dateRange
"
}},[
a
(
"
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
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
备注
"
,
prop
:
"
remark
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
批次同步
"
,
width
:
80
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
curBatch
.
show
=!
1
}}},[
t
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
curBatch
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
curBatch
,
"
show
"
,
e
)},
expression
:
"
curBatch.show
"
}},[
a
(
"
cs-search-cond-form
"
,{
ref
:
"
searchCondForm
"
,
attrs
:{
searchCondList
:
t
.
curBatch
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
curBatch
.
params
},
on
:{
onSubmit
:
t
.
searchModal
,
onReset
:
t
.
resetModal
}}),
a
(
"
div
"
,[
a
(
"
Button
"
,{
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
function
(
e
){
t
.
awaitSelectBatch
.
show
=!
0
,
t
.
getAwaitSelectBatchData
()}}},[
t
.
_v
(
"
选择同步批次
"
)])],
1
),
a
(
"
csCTable
"
,{
attrs
:{
tableColumns
:
t
.
curBatch
.
columns
.
filter
((
function
(
t
){
return
t
.
show
})),
tableData
:
t
.
curBatch
.
data
,
tableLoading
:
t
.
curBatch
.
loading
,
dataCount
:
t
.
curBatch
.
dataCount
,
pageIndex
:
t
.
curBatch
.
params
.
page_index
,
pageSize
:
t
.
curBatch
.
params
.
page_size
},
on
:{
onPageChange
:
t
.
onPageChange
,
onPageSizeChange
:
t
.
onPageSizeChange
}}),
a
(
"
Drawer
"
,{
attrs
:{
"
mask-closable
"
:
!
1
,
transfer
:
!
1
,
draggable
:
!
0
,
width
:
950
,
title
:
"
选择同步批次
"
},
model
:{
value
:
t
.
awaitSelectBatch
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
,
"
show
"
,
e
)},
expression
:
"
awaitSelectBatch.show
"
}},[
a
(
"
Form
"
,{
attrs
:{
model
:
t
.
awaitSelectBatch
.
formData
,
"
label-width
"
:
80
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
目的批次
"
}},[
a
(
"
Select
"
,{
model
:{
value
:
t
.
awaitSelectBatch
.
formData
.
target_batch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
.
formData
,
"
target_batch
"
,
e
)},
expression
:
"
awaitSelectBatch.formData.target_batch
"
}},
t
.
_l
(
t
.
batchList
,(
function
(
e
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
源批次
"
}},[
a
(
"
Select
"
,{
attrs
:{
clearable
:
""
},
on
:{
"
on-change
"
:
t
.
sourceBatchChange
},
model
:{
value
:
t
.
awaitSelectBatch
.
formData
.
source_batch
,
callback
:
function
(
e
){
t
.
$set
(
t
.
awaitSelectBatch
.
formData
,
"
source_batch
"
,
e
)},
expression
:
"
awaitSelectBatch.formData.source_batch
"
}},
t
.
_l
(
t
.
batchList
.
filter
((
function
(
e
){
return
e
.
value
!==
t
.
awaitSelectBatch
.
formData
.
target_batch
})),(
function
(
e
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
)
+
"
\n
"
)])})),
1
)],
1
)],
1
),
a
(
"
csCTable
"
,{
attrs
:{
tableColumns
:
t
.
awaitSelectBatch
.
columns
.
filter
((
function
(
t
){
return
t
.
show
})),
tableData
:
t
.
awaitSelectBatch
.
data
,
tableLoading
:
t
.
awaitSelectBatch
.
loading
,
dataCount
:
t
.
awaitSelectBatch
.
dataCount
,
pageIndex
:
t
.
awaitSelectBatch
.
params
.
page_index
,
pageSize
:
t
.
awaitSelectBatch
.
params
.
page_size
},
on
:{
onPageChange
:
t
.
onPageChangeAwaitSelectBatch
,
onPageSizeChange
:
t
.
onPageSizeChangeAwaitSelectBatch
,
onSelectionChange
:
t
.
onSelectionChange
}}),
a
(
"
div
"
,{
staticClass
:
"
demo-drawer-footer
"
},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
8px
"
},
on
:{
click
:
function
(
e
){
t
.
awaitSelectBatch
.
show
=!
1
}}},[
t
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
commitSyncBatch
}},[
t
.
_v
(
"
提交同步批次
"
)])],
1
)],
1
)],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
456d
"
),
a
(
"
ac6a
"
),
a
(
"
7f7f
"
),
a
(
"
96cf
"
),
a
(
"
3b8d
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
bd86
"
)),
c
=
a
(
"
967e
"
),
s
=
a
.
n
(
c
),
l
=
a
(
"
7f6b
"
),
u
=
a
(
"
d02c
"
),
d
=
a
(
"
61be
"
);
function
p
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
p
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
r
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
p
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
h
=
{
components
:{},
props
:[
"
studentOrTeacher
"
],
data
:
function
(){
return
{
awaitSelectBatch
:{
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
}]}],
dataCount
:
0
,
show
:
!
1
,
data
:[],
columns
:[{
title
:
"
序号
"
,
type
:
"
selection
"
,
show
:
!
0
,
minWidth
:
80
,
fixed
:
"
left
"
,
align
:
"
center
"
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
key
:
"
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
}],
loading
:
!
1
,
params
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
},
formData
:{
competition_id_list
:[],
source_batch
:
""
,
target_batch
:
""
}},
batchList
:[],
curBatch
:{
searchCondList
:[{
id
:
"
batch
"
,
name
:
"
赛事批次
"
,
type
:
"
select
"
,
show
:
!
0
,
disabled
:
!
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
}]}],
dataCount
:
0
,
show
:
!
1
,
data
:[],
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
show
:
!
0
,
minWidth
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
key
:
"
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
}],
loading
:
!
1
,
params
:{
name
:
""
,
level
:
""
,
type
:
""
,
batch
:
""
,
way
:
""
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
,
approval_state
:
""
,
h_id
:
""
,
page_index
:
1
,
page_size
:
10
}},
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
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
commitSyncBatch
:
function
(){
var
t
=
this
;
d
[
"
publicConfirm
"
]((
function
(){
d
[
"
myEncapsulationFunction
"
]((
function
(){
return
u
[
"
postApiCommonBatchSync
"
](
t
.
awaitSelectBatch
.
formData
).
then
((
function
(
e
){
return
1
===
e
.
code
&&
(
t
.
getMdoalData
(),
t
.
awaitSelectBatch
.
show
=!
1
),
e
}),
!
1
,
"
同步中...
"
)}))}))},
sourceBatchChange
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
batch
=
t
,
this
.
getAwaitSelectBatchData
()},
onSelectionChange
:
function
(
t
){
this
.
awaitSelectBatch
.
formData
.
competition_id_list
=
t
.
map
((
function
(
t
){
return
t
.
competitionreportid
}))},
getAwaitSelectBatchData
:
function
(){
var
t
=
this
;
this
.
awaitSelectBatch
.
loading
=!
0
,
u
[
"
postApiCompetitionReportApiCompetitionReportGetReportList
"
](
this
.
awaitSelectBatch
.
params
).
then
((
function
(
e
){
t
.
awaitSelectBatch
.
data
=
e
.
response
.
data
,
t
.
awaitSelectBatch
.
dataCount
=
e
.
response
.
data_count
,
t
.
awaitSelectBatch
.
loading
=!
1
})).
finally
((
function
(){
t
.
awaitSelectBatch
.
loading
=!
1
}))},
onPageChangeAwaitSelectBatch
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
page_index
=
t
,
this
.
getAwaitSelectBatchData
()},
onPageSizeChangeAwaitSelectBatch
:
function
(
t
){
this
.
awaitSelectBatch
.
params
.
page_size
=
t
,
1
==
this
.
awaitSelectBatch
.
params
.
page_index
&&
this
.
onPageChangeAwaitSelectBatch
(
1
)},
resetModal
:
function
(){
this
.
curBatch
.
params
=
{
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
.
getMdoalData
()},
searchModal
:
function
(
t
){
this
.
curBatch
.
params
=
m
(
m
(
m
({},
this
.
curBatch
.
params
),
t
),{},{
page_index
:
1
}),
this
.
getMdoalData
()},
batchSynchronization
:
function
(
t
){
this
.
$refs
.
searchCondForm
.
searchCondObj
.
batch
=
t
.
competitionbatchid
,
this
.
curBatch
.
params
.
batch
=
t
.
competitionbatchid
,
this
.
awaitSelectBatch
.
formData
.
target_batch
=
t
.
competitionbatchid
,
this
.
getMdoalData
(),
this
.
curBatch
.
show
=!
0
},
getMdoalData
:
function
(){
var
t
=
this
;
this
.
curBatch
.
loading
=!
0
,
u
[
"
postApiCompetitionReportApiCompetitionReportGetReportList
"
](
this
.
curBatch
.
params
).
then
((
function
(
e
){
t
.
curBatch
.
data
=
e
.
response
.
data
,
t
.
curBatch
.
dataCount
=
e
.
response
.
data_count
,
t
.
curBatch
.
loading
=!
1
})).
finally
((
function
(){
t
.
curBatch
.
loading
=!
1
}))},
onPageChange
:
function
(
t
){
this
.
curBatch
.
params
.
page_index
=
t
,
this
.
getMdoalData
()},
onPageSizeChange
:
function
(
t
){
this
.
curBatch
.
params
.
page_size
=
t
,
1
==
this
.
curBatch
.
params
.
page_index
&&
this
.
onPageChange
(
1
)},
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
=
m
(
m
({},
t
),{},{
dateRange
:
e
})},
cancel
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
Object
(
d
[
"
myEncapsulationFunction
"
])(
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
BatchDel
"
]({
id
:
t
.
competitionbatchid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetBatchList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
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
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
BatchSave
"
](
t
.
formValidate
);
case
2
:
return
a
=
e
.
sent
,
1
===
a
.
code
&&
t
.
GetBatchList
(),
e
.
abrupt
(
"
return
"
,
a
);
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
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
loading
=!
0
,
a
=
{
page_index
:
t
.
init
.
page_index
,
page_size
:
t
.
init
.
page_size
,
competition_method
:
t
.
init
.
competition_method
},
e
.
next
=
4
,
t
.
asc
.
getApiCommonGetBatchList
(
a
);
case
4
:
n
=
e
.
sent
,
t
.
data
=
n
.
response
.
data
,
t
.
init
.
total
=
n
.
response
.
data_count
,
t
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetHierarchySelect
:
function
(){
var
t
=
this
;
this
.
asc
.
getApiCommonGetHierarchySelect
().
then
((
function
(
e
){
t
.
curBatch
.
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
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
a
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
d
[
"
getInitListRequest
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
a
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}));
case
4
:
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
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})),
t
.
curBatch
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))}))}))}))}},
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
(),
this
.
GetHierarchySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetBatchBySelect
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
h
,
g
=
(
a
(
"
fbd8
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
d35d1902
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
c409
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
Card
"
,[
a
(
"
Menu
"
,{
attrs
:{
mode
:
"
horizontal
"
,
theme
:
"
light
"
,
"
active-name
"
:
"
1
"
},
on
:{
"
on-select
"
:
t
.
aaa
}},[
a
(
"
MenuItem
"
,{
attrs
:{
name
:
"
1
"
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-people
"
}}),
t
.
_v
(
"
\n
赛事目录维护
\n
"
)],
1
),
t
.
getUserRole
()?
a
(
"
MenuItem
"
,{
attrs
:{
name
:
"
2
"
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-paper
"
}}),
t
.
_v
(
"
\n
批次管理
\n
"
)],
1
):
t
.
_e
()],
1
),
a
(
"
br
"
),
1
===
t
.
componentState
?
a
(
"
eventMatalogMaintenance
"
,{
attrs
:{
studentOrTeacher
:
"
teacher
"
}}):
t
.
_e
(),
2
===
t
.
componentState
?
a
(
"
batchManagement
"
,{
attrs
:{
studentOrTeacher
:
"
teacher
"
}}):
t
.
_e
()],
1
)},
i
=
[],
o
=
(
a
(
"
c5f6
"
),
a
(
"
c827
"
)),
r
=
a
(
"
9cc4
"
),
c
=
(
a
(
"
61be
"
),{
components
:{
eventMatalogMaintenance
:
o
[
"
a
"
],
batchManagement
:
r
[
"
a
"
]},
data
:
function
(){
return
{
componentState
:
1
,
init
:{
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
columns
:[{
title
:
"
Name
"
,
key
:
"
name
"
},{
title
:
"
Age
"
,
key
:
"
age
"
},{
title
:
"
Address
"
,
key
:
"
address
"
}],
data
:[{
name
:
"
John Brown
"
,
age
:
18
,
address
:
"
New York No. 1 Lake Park
"
,
date
:
"
2016-10-03
"
},{
name
:
"
Jim Green
"
,
age
:
24
,
address
:
"
London No. 1 Lake Park
"
,
date
:
"
2016-10-01
"
},{
name
:
"
Joe Black
"
,
age
:
30
,
address
:
"
Sydney No. 1 Lake Park
"
,
date
:
"
2016-10-02
"
},{
name
:
"
Jon Snow
"
,
age
:
26
,
address
:
"
Ottawa No. 2 Lake Park
"
,
date
:
"
2016-10-04
"
}],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
getCompetitionSignList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
getCompetitionSignList
()},
aaa
:
function
(
t
){
this
.
componentState
=
Number
(
t
)}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}}),
s
=
c
,
l
=
(
a
(
"
1578
"
),
a
(
"
2877
"
)),
u
=
Object
(
l
[
"
a
"
])(
s
,
n
,
i
,
!
1
,
null
,
"
e2eec3de
"
,
null
);
e
[
"
default
"
]
=
u
.
exports
},
c484
:
function
(
t
,
e
,
a
){},
c827
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
cs-search-cond-form
"
,{
ref
:
"
search
"
,
attrs
:{
searchCondList
:
t
.
searchCondList
,
labelWidth
:
120
,
params
:
t
.
search
},
on
:{
onSubmit
:
t
.
search1
,
onReset
:
t
.
reset
}}),
t
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
.
isAdmin
?
a
(
"
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
(),
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
staticStyle
:{
"
margin-right
"
:
"
10px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
icon
:
"
md-cloud-download
"
},
on
:{
click
:
t
.
ReportExportToExcel
}},[
t
.
_v
(
"
\n
导出数据
\n
"
)]),
t
.
isAdmin
?
a
(
"
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
}])},[
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
isAdmin
?
t
.
columns
:
t
.
columns
.
filter
((
function
(
t
){
return
"
操作
"
!==
t
.
title
})),
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
competitionname
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
competitionname
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
competitionsubitem_name
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
competitionsubitem_name
||
""
,
length
:
20
,
tooltip
:
""
,
transfer
:
!
0
}})]}},{
key
:
"
dept
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tooltip
"
,{
attrs
:{
placement
:
"
right-end
"
,
transfer
:
!
1
,
"
max-width
"
:
500
},
scopedSlots
:
t
.
_u
([{
key
:
"
content
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,[
t
.
_v
(
"
"
+
t
.
_s
(
n
.
dept
))])]},
proxy
:
!
0
}],
null
,
!
0
)},[
n
.
dept
?
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
n
.
dept
,
length
:
18
}}):
t
.
_e
()],
1
)]}},{
key
:
"
way
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
n
.
way
]}},[
a
(
"
span
"
,{
staticStyle
:{
color
:
"
white
"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
团队
"
,
"
个人
"
][
n
.
way
])
+
"
\n
"
)])])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
t
.
isAdmin
?
a
(
"
a
"
,{
on
:{
click
:
function
(
e
){
t
.
eventTitle
=
"
编辑赛事
"
,
t
.
importFile
(
n
)}}},[
t
.
_v
(
"
编辑
"
)]):
t
.
_e
(),
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
n
)},
"
on-cancel
"
:
t
.
cancel
}},[
t
.
isAdmin
?
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)]):
t
.
_e
()])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
45
,
title
:
t
.
eventTitle
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
dashed
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventsModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
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
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
a
(
"
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
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionname
"
,
e
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name1
"
}},[
a
(
"
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
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id1
"
}},[
a
(
"
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
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
t
.
formValidate
.
sponsor
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
sponsor
"
,
e
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
)],
1
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id1
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
a
(
"
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
a
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
a
(
"
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
),
a
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事级别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addeventLevel
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
20%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate1
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
a
(
"
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
"
}},[
a
(
"
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
,
n
){
return
a
(
"
div
"
,{
key
:
n
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
formValidate1Edit
(
e
)}}},[
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitionlevel_name
))]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
t
.
delLevel
(
e
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
a
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
t
.
formValidate1
,
rules
:
t
.
ruleValidate1
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competitionlevel_name
"
}},[
a
(
"
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
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark1
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate1
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
remark
"
,
e
)},
expression
:
"
formValidate1.remark
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate1
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
status
"
,
e
)},
expression
:
"
formValidate1.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事类别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventCategory
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate2
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
a
(
"
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
"
}},[
a
(
"
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
,
n
){
return
a
(
"
div
"
,{
key
:
n
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
formValidate2Edit
(
e
)}}},[
a
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitiontype_name
)
+
"
\n\n
"
)]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
t
.
delClass
(
e
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
a
(
"
Form
"
,{
ref
:
"
formValidate2
"
,
attrs
:{
model
:
t
.
formValidate2
,
rules
:
t
.
ruleValidate2
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛类别
"
,
prop
:
"
competitiontype_name
"
}},[
a
(
"
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
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark
"
}},[
a
(
"
Input
"
,{
attrs
:{
clearable
:
""
,
placeholder
:
"
请输入描述
"
},
model
:{
value
:
t
.
formValidate2
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
remark
"
,
e
)},
expression
:
"
formValidate2.remark
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate2
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
status
"
,
e
)},
expression
:
"
formValidate2.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
模板导入
"
,
width
:
"
40%
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
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
"
}},[
a
(
"
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
:
""
}},[
a
(
"
div
"
,{
staticStyle
:{
padding
:
"
120px 0
"
}},[
a
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
a
(
"
p
"
,[
t
.
_v
(
"
竞赛模板文件上传
"
)])],
1
)])],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
456d
"
),
a
(
"
7f7f
"
),
a
(
"
ac6a
"
),
a
(
"
bd86
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
386d
"
),
a
(
"
96cf
"
),
a
(
"
3b8d
"
)),
c
=
a
(
"
967e
"
),
s
=
a
.
n
(
c
),
l
=
(
a
(
"
a78e
"
),
a
(
"
7f6b
"
)),
u
=
a
(
"
61be
"
),
d
=
(
a
(
"
e0d3
"
),
a
(
"
c276
"
));
function
p
(
t
,
e
){
var
a
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
n
=
n
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
a
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
p
(
Object
(
a
),
!
0
).
forEach
((
function
(
e
){
Object
(
o
[
"
a
"
])(
t
,
e
,
a
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
a
)):
p
(
Object
(
a
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
a
,
e
))}))}
return
t
}
var
h
=
{
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
:
""
,
firstBatch
:
""
,
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
:
"
赛事名称
"
,
slot
:
"
competitionname
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事编码
"
,
key
:
"
report_code
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
slot
:
"
dept
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛项名称
"
,
slot
:
"
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
"
,
align
:
"
center
"
}],
data
:[],
theme
:
"
light
"
,
deptList
:[]}},
computed
:{
isAdmin
:
function
(){
var
t
=
JSON
.
parse
(
d
[
"
a
"
].
cookies
.
get
(
"
competition-roleId
"
));
return
"
管理员
"
===
t
.
role_name
}},
watch
:{},
methods
:{
ReportExportToExcel
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportExportToExcel
"
](
t
.
search
);
case
2
:
a
=
e
.
sent
,
t
.
blobFileImport
(
a
,
"
赛事目录导出
"
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetReportImportTemplate
:
function
(){
var
t
=
this
;
this
.
Bloading
=
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
Bloading
=!
0
,
e
.
next
=
3
,
l
[
"
GetReportImportTemplate
"
]();
case
3
:
a
=
e
.
sent
,
window
.
location
.
href
=
a
.
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
,
a
){
""
!==
t
&&
e
.
push
(
t
)})),
this
.
formValidate
=
m
(
m
({},
t
),{},{
dept_id
:
e
}),
this
.
modal
.
addEventsModal
=!
0
},
edit
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
ReportDel
"
]({
id
:
t
.
competitionreportid
});
case
2
:
return
n
=
a
.
sent
,
e
.
getCompetitionList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
cancel
:
function
(){},
reset
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
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
.
search
.
batch
=
this
.
firstBatch
,
this
.
$refs
.
search
.
searchCondObj
.
batch
=
this
.
firstBatch
,
t
.
next
=
5
,
this
.
GetBatchBySelect
();
case
5
:
this
.
pageKey
++
,
this
.
getCompetitionList
();
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
search1
:
function
(
t
){
this
.
search
=
m
(
m
(
m
({},
this
.
search
),
t
),{},{
page_index
:
1
,
is_tea
:
"
/eventCatalogue-teacherDirectory
"
===
this
.
$route
.
path
?
1
:
0
}),
this
.
pageKey
++
,
this
.
getCompetitionList
()},
getCompetitionList
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
.
abrupt
(
"
return
"
,
l
[
"
GetReportList
"
](
m
(
m
({},
this
.
search
),{},{
way
:
u
[
"
isWayEq2InSetNull
"
](
this
.
search
.
way
)})).
then
((
function
(
t
){
return
e
.
data
=
t
.
response
.
data
,
e
.
init
.
total
=
t
.
response
.
data_count
,
e
.
loading
=!
1
,
t
})));
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
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
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
levelList
=
a
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
level
"
===
t
.
id
&&
(
t
.
optList
=
a
.
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
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeBySelect
"
]();
case
2
:
a
=
e
.
sent
,
t
.
classList
=
a
.
response
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
type
"
===
t
.
id
&&
(
t
.
optList
=
a
.
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
;
return
this
.
loading
=!
0
,
this
.
asc
.
getApiCommonGetBatchBySelect
({
competition_method
:
this
.
formValidate
.
competition_method
}).
then
((
function
(
e
){
return
t
.
batchList
=
e
.
response
,
t
.
firstBatch
=
e
.
response
[
0
].
id
,
t
.
search
.
batch
=
t
.
firstBatch
,
t
.
$refs
.
search
.
searchCondObj
.
batch
=
t
.
firstBatch
,
t
.
searchCondList
.
forEach
((
function
(
t
){
"
batch
"
===
t
.
id
&&
(
t
.
optList
=
e
.
response
.
map
((
function
(
t
,
e
){
return
{
value
:
t
.
id
,
label
:
t
.
name
}})))})),
t
.
loading
=!
1
,
e
}))},
GetDeptSeletct
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetDeptSeletct
"
]();
case
2
:
a
=
e
.
sent
,
t
.
deptList
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
formValidate1Edit
:
function
(
t
){
this
.
formValidate1
=
t
},
delLevel
:
function
(
t
){
var
e
=
this
;
Object
(
u
[
"
myEncapsulationFunction
"
])((
function
(){
return
u
[
"
publicConfirm
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
LevelDel
"
]({
id
:
t
.
competitionlevelid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetLevelList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
GetLevelList
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetLevelList
"
]();
case
2
:
a
=
e
.
sent
,
t
.
competitionLevel
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
delClass
:
function
(
t
){
var
e
=
this
;
Object
(
u
[
"
myEncapsulationFunction
"
])((
function
(){
return
u
[
"
publicConfirm
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
a
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
TypeDel
"
]({
id
:
t
.
competitiontypeid
});
case
2
:
return
n
=
a
.
sent
,
e
.
GetTypeList
(),
a
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
formValidate2Edit
:
function
(
t
){
this
.
formValidate2
=
t
},
LevelSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
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
a
=
e
.
sent
,
t
.
GetLevelList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
TypeSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
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
a
=
e
.
sent
,
t
.
GetTypeList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
ReportSave
:
function
(){
var
t
=
this
;
u
[
"
myEncapsulationFunction
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
ReportSave
"
](
t
.
formValidate
);
case
2
:
return
a
=
e
.
sent
,
e
.
next
=
5
,
t
.
getCompetitionList
();
case
5
:
return
t
.
modal
.
addEventsModal
=!
1
,
t
.
formValidate
=
{},
e
.
abrupt
(
"
return
"
,
a
);
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
(
a
){
a
?
e
.
validateSwitch
(
t
):(
e
.
$Message
.
destroy
(),
e
.
$Message
.
error
(
"
请检查必填选项!
"
))}))},
handleReset
:
function
(
t
){
this
.
$refs
[
t
].
resetFields
()},
GetTypeList
:
function
(){
var
t
=
this
;
u
[
"
getInitListRequest
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
GetTypeList
"
]();
case
2
:
a
=
e
.
sent
,
t
.
competitionClass
=
a
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
dutyModelUpload
:
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
e
){
var
a
,
n
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
new
FormData
,
a
.
append
(
"
file
"
,
e
),
t
.
next
=
4
,
l
[
"
ReportImport
"
](
a
);
case
4
:
if
(
n
=
t
.
sent
,
1
===
n
.
code
){
t
.
next
=
10
;
break
}
window
.
location
.
href
=
n
.
response
,
this
.
$Message
.
error
(
n
.
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
,
a
){
this
.
$Message
.
info
(
t
.
msg
)},
dutyModelError
:
function
(
t
,
e
,
a
){},
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
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
formValidate
.
competition_method
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
this
.
search
.
is_tea
=
"
student
"
===
this
.
studentOrTeacher
?
0
:
1
,
t
.
next
=
4
,
this
.
GetBatchBySelect
();
case
4
:
this
.
getCompetitionList
(),
this
.
GetHierarchySelect
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetDeptSeletct
(),
this
.
GetLevelList
(),
this
.
GetTypeList
();
case
11
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
f
=
h
,
g
=
(
a
(
"
736d
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
d0bc5dcc
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
e0d3
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"
6d8b
"
),
i
=
a
(
"
22d1
"
),
o
=
n
.
each
,
r
=
n
.
isObject
,
c
=
n
.
isArray
,
s
=
"
series
\
0
"
;
function
l
(
t
){
return
t
instanceof
Array
?
t
:
null
==
t
?[]:[
t
]}
function
u
(
t
,
e
,
a
){
if
(
t
){
t
[
e
]
=
t
[
e
]
||
{},
t
.
emphasis
=
t
.
emphasis
||
{},
t
.
emphasis
[
e
]
=
t
.
emphasis
[
e
]
||
{};
for
(
var
n
=
0
,
i
=
a
.
length
;
n
<
i
;
n
++
){
var
o
=
a
[
n
];
!
t
.
emphasis
[
e
].
hasOwnProperty
(
o
)
&&
t
[
e
].
hasOwnProperty
(
o
)
&&
(
t
.
emphasis
[
e
][
o
]
=
t
[
e
][
o
])}}}
var
d
=
[
"
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
!
r
(
t
)
||
c
(
t
)
||
t
instanceof
Date
?
t
:
t
.
value
}
function
m
(
t
){
return
r
(
t
)
&&!
(
t
instanceof
Array
)}
function
h
(
t
,
e
){
e
=
(
e
||
[]).
slice
();
var
a
=
n
.
map
(
t
||
[],(
function
(
t
,
e
){
return
{
exist
:
t
}}));
return
o
(
e
,(
function
(
t
,
n
){
if
(
r
(
t
)){
for
(
var
i
=
0
;
i
<
a
.
length
;
i
++
)
if
(
!
a
[
i
].
option
&&
null
!=
t
.
id
&&
a
[
i
].
exist
.
id
===
t
.
id
+
""
)
return
a
[
i
].
option
=
t
,
void
(
e
[
n
]
=
null
);
for
(
i
=
0
;
i
<
a
.
length
;
i
++
){
var
o
=
a
[
i
].
exist
;
if
(
!
a
[
i
].
option
&&
(
null
==
o
.
id
||
null
==
t
.
id
)
&&
null
!=
t
.
name
&&!
v
(
t
)
&&!
v
(
o
)
&&
o
.
name
===
t
.
name
+
""
)
return
a
[
i
].
option
=
t
,
void
(
e
[
n
]
=
null
)}}})),
o
(
e
,(
function
(
t
,
e
){
if
(
r
(
t
)){
for
(
var
n
=
0
;
n
<
a
.
length
;
n
++
){
var
i
=
a
[
n
].
exist
;
if
(
!
a
[
n
].
option
&&!
v
(
i
)
&&
null
==
t
.
id
){
a
[
n
].
option
=
t
;
break
}}
n
>=
a
.
length
&&
a
.
push
({
option
:
t
})}})),
a
}
function
f
(
t
){
var
e
=
n
.
createHashMap
();
o
(
t
,(
function
(
t
,
a
){
var
n
=
t
.
exist
;
n
&&
e
.
set
(
n
.
id
,
t
)})),
o
(
t
,(
function
(
t
,
a
){
var
i
=
t
.
option
;
n
.
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
=
{})})),
o
(
t
,(
function
(
t
,
a
){
var
n
=
t
.
exist
,
i
=
t
.
option
,
o
=
t
.
keyInfo
;
if
(
r
(
i
)){
if
(
o
.
name
=
null
!=
i
.
name
?
i
.
name
+
""
:
n
?
n
.
name
:
s
+
a
,
n
)
o
.
id
=
n
.
id
;
else
if
(
null
!=
i
.
id
)
o
.
id
=
i
.
id
+
""
;
else
{
var
c
=
0
;
do
{
o
.
id
=
"
\
0
"
+
o
.
name
+
"
\
0
"
+
c
++
}
while
(
e
.
get
(
o
.
id
))}
e
.
set
(
o
.
id
,
t
)}}))}
function
g
(
t
){
var
e
=
t
.
name
;
return
!
(
!
e
||!
e
.
indexOf
(
s
))}
function
v
(
t
){
return
r
(
t
)
&&
t
.
id
&&
0
===
(
t
.
id
+
""
).
indexOf
(
"
\
0_ec_
\
0
"
)}
function
y
(
t
,
e
){
var
a
=
{},
n
=
{};
return
i
(
t
||
[],
a
),
i
(
e
||
[],
n
,
a
),[
o
(
a
),
o
(
n
)];
function
i
(
t
,
e
,
a
){
for
(
var
n
=
0
,
i
=
t
.
length
;
n
<
i
;
n
++
)
for
(
var
o
=
t
[
n
].
seriesId
,
r
=
l
(
t
[
n
].
dataIndex
),
c
=
a
&&
a
[
o
],
s
=
0
,
u
=
r
.
length
;
s
<
u
;
s
++
){
var
d
=
r
[
s
];
c
&&
c
[
d
]?
c
[
d
]
=
null
:(
e
[
o
]
||
(
e
[
o
]
=
{}))[
d
]
=
1
}}
function
o
(
t
,
e
){
var
a
=
[];
for
(
var
n
in
t
)
if
(
t
.
hasOwnProperty
(
n
)
&&
null
!=
t
[
n
])
if
(
e
)
a
.
push
(
+
n
);
else
{
var
i
=
o
(
t
[
n
],
!
0
);
i
.
length
&&
a
.
push
({
seriesId
:
n
,
dataIndex
:
i
})}
return
a
}}
function
b
(
t
,
e
){
return
null
!=
e
.
dataIndexInside
?
e
.
dataIndexInside
:
null
!=
e
.
dataIndex
?
n
.
isArray
(
e
.
dataIndex
)?
n
.
map
(
e
.
dataIndex
,(
function
(
e
){
return
t
.
indexOfRawIndex
(
e
)})):
t
.
indexOfRawIndex
(
e
.
dataIndex
):
null
!=
e
.
name
?
n
.
isArray
(
e
.
name
)?
n
.
map
(
e
.
name
,(
function
(
e
){
return
t
.
indexOfName
(
e
)})):
t
.
indexOfName
(
e
.
name
):
void
0
}
function
w
(){
var
t
=
"
__
\
0ec_inner_
"
+
_
+++
"
_
"
+
Math
.
random
().
toFixed
(
5
);
return
function
(
e
){
return
e
[
t
]
||
(
e
[
t
]
=
{})}}
var
_
=
0
;
function
x
(
t
,
e
,
a
){
if
(
n
.
isString
(
e
)){
var
i
=
{};
i
[
e
+
"
Index
"
]
=
0
,
e
=
i
}
var
r
=
a
&&
a
.
defaultMainType
;
!
r
||
S
(
e
,
r
+
"
Index
"
)
||
S
(
e
,
r
+
"
Id
"
)
||
S
(
e
,
r
+
"
Name
"
)
||
(
e
[
r
+
"
Index
"
]
=
0
);
var
c
=
{};
return
o
(
e
,(
function
(
i
,
o
){
i
=
e
[
o
];
if
(
"
dataIndex
"
!==
o
&&
"
dataIndexInside
"
!==
o
){
var
r
=
o
.
match
(
/^
(\w
+
)(
Index|Id|Name
)
$/
)
||
[],
s
=
r
[
1
],
l
=
(
r
[
2
]
||
""
).
toLowerCase
();
if
(
!
(
!
s
||!
l
||
null
==
i
||
"
index
"
===
l
&&
"
none
"
===
i
||
a
&&
a
.
includeMainTypes
&&
n
.
indexOf
(
a
.
includeMainTypes
,
s
)
<
0
)){
var
u
=
{
mainType
:
s
};
"
index
"
===
l
&&
"
all
"
===
i
||
(
u
[
l
]
=
i
);
var
d
=
t
.
queryComponents
(
u
);
c
[
s
+
"
Models
"
]
=
d
,
c
[
s
+
"
Model
"
]
=
d
[
0
]}}
else
c
[
o
]
=
i
})),
c
}
function
S
(
t
,
e
){
return
t
&&
t
.
hasOwnProperty
(
e
)}
function
k
(
t
,
e
,
a
){
t
.
setAttribute
?
t
.
setAttribute
(
e
,
a
):
t
[
e
]
=
a
}
function
B
(
t
,
e
){
return
t
.
getAttribute
?
t
.
getAttribute
(
e
):
t
[
e
]}
function
C
(
t
){
return
"
auto
"
===
t
?
i
.
domSupported
?
"
html
"
:
"
richText
"
:
t
||
"
html
"
}
function
L
(
t
,
e
){
var
a
=
n
.
createHashMap
(),
i
=
[];
return
n
.
each
(
t
,(
function
(
t
){
var
n
=
e
(
t
);(
a
.
get
(
n
)
||
(
i
.
push
(
n
),
a
.
set
(
n
,[]))).
push
(
t
)})),{
keys
:
i
,
buckets
:
a
}}
e
.
normalizeToArray
=
l
,
e
.
defaultEmphasis
=
u
,
e
.
TEXT_STYLE_OPTIONS
=
d
,
e
.
getDataItemValue
=
p
,
e
.
isDataItemOption
=
m
,
e
.
mappingToExists
=
h
,
e
.
makeIdAndName
=
f
,
e
.
isNameSpecified
=
g
,
e
.
isIdInner
=
v
,
e
.
compressBatches
=
y
,
e
.
queryDataIndex
=
b
,
e
.
makeInner
=
w
,
e
.
parseFinder
=
x
,
e
.
setAttribute
=
k
,
e
.
getAttribute
=
B
,
e
.
getTooltipRenderMode
=
C
,
e
.
groupData
=
L
},
fbd8
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
5956
"
)}}]);
\ No newline at end of file
dist/js/chunk-vendors~f9ca8911.
a25a7133
.js
→
dist/js/chunk-vendors~f9ca8911.
338f102b
.js
浏览文件 @
6ca82df6
...
...
@@ -4,7 +4,7 @@
* (c) 2021 Evan You
* @license MIT
*/
function i(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:i});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[i].concat(e.init):i,n.call(this,e)}}function i(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return A})),n.d(t,"c",(function(){return N})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return I}));var r="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},a=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e){a&&(e._devtoolHook=a,a.emit("vuex:init",e),a.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){a.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){a.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function l(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(n){i[n]=l(e[n],t)})),i}function u(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function d(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var h=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(e,t){this._children[e]=t},h.prototype.removeChild=function(e){delete this._children[e]},h.prototype.getChild=function(e){return this._children[e]},h.prototype.hasChild=function(e){return e in this._children},h.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},h.prototype.forEachChild=function(e){u(this._children,e)},h.prototype.forEachGetter=function(e){this._rawModule.getters&&u(this._rawModule.getters,e)},h.prototype.forEachAction=function(e){this._rawModule.actions&&u(this._rawModule.actions,e)},h.prototype.forEachMutation=function(e){this._rawModule.mutations&&u(this._rawModule.mutations,e)},Object.defineProperties(h.prototype,p);var v=function(e){this.register([],e,!1)};function m(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return void 0;m(e.concat(i),t.getChild(i),n.modules[i])}}v.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},v.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},v.prototype.update=function(e){m([],this.root,e)},v.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var r=new h(t,n);if(0===e.length)this.root=r;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],r)}t.modules&&u(t.modules,(function(t,r){i.register(e.concat(r),t,n)}))},v.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],i=t.getChild(n);i&&i.runtime&&t.removeChild(n)},v.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var g;var b=function(e){var t=this;void 0===e&&(e={}),!g&&"undefined"!==typeof window&&window.Vue&&D(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var r=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(e,t){return s.call(r,e,t)},this.commit=function(e,t,n){return l.call(r,e,t,n)},this.strict=i;var u=this._modules.root.state;C(this,u,[],this._modules.root),x(this,u),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:g.config.devtools;c&&o(this)},y={state:{configurable:!0}};function _(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function w(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;C(e,n,[],e._modules.root,!0),x(e,n,t)}function x(e,t,n){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,a={};u(r,(function(t,n){a[n]=f(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var o=g.config.silent;g.config.silent=!0,e._vm=new g({data:{$$state:t},computed:a}),g.config.silent=o,e.strict&&T(e),i&&(n&&e._withCommit((function(){i._data.$$state=null})),g.nextTick((function(){return i.$destroy()})))}function C(e,t,n,i,r){var a=!n.length,o=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=i),!a&&!r){var s=P(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){g.set(s,l,i.state)}))}var u=i.context=S(e,o,n);i.forEachMutation((function(t,n){var i=o+n;O(e,i,t,u)})),i.forEachAction((function(t,n){var i=t.root?n:o+n,r=t.handler||t;M(e,i,r,u)})),i.forEachGetter((function(t,n){var i=o+n;E(e,i,t,u)})),i.forEachChild((function(i,a){C(e,t,n.concat(a),i,r)}))}function S(e,t,n){var i=""===t,r={dispatch:i?e.dispatch:function(n,i,r){var a=$(n,i,r),o=a.payload,s=a.options,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,o)},commit:i?e.commit:function(n,i,r){var a=$(n,i,r),o=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,o,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return e.getters}:function(){return k(e,t)}},state:{get:function(){return P(e.state,n)}}}),r}function k(e,t){if(!e._makeLocalGettersCache[t]){var n={},i=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,i)===t){var a=r.slice(i);Object.defineProperty(n,a,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function O(e,t,n,i){var r=e._mutations[t]||(e._mutations[t]=[]);r.push((function(t){n.call(e,i.state,t)}))}function M(e,t,n,i){var r=e._actions[t]||(e._actions[t]=[]);r.push((function(t){var r=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return d(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function E(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)})}function T(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function P(e,t){return t.reduce((function(e,t){return e[t]}),e)}function $(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function D(e){g&&e===g||(g=e,i(g))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(e){0},b.prototype.commit=function(e,t,n){var i=this,r=$(e,t,n),a=r.type,o=r.payload,s=(r.options,{type:a,payload:o}),l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(e){e(o)}))})),this._subscribers.slice().forEach((function(e){return e(s,i.state)})))},b.prototype.dispatch=function(e,t){var n=this,i=$(e,t),r=i.type,a=i.payload,o={type:r,payload:a},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(o,n.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(a)}))):s[0](a);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(o,n.state)}))}catch(u){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(o,n.state,e)}))}catch(u){0}t(e)}))}))}},b.prototype.subscribe=function(e,t){return _(e,this._subscribers,t)},b.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return _(n,this._actionSubscribers,t)},b.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch((function(){return e(i.state,i.getters)}),t,n)},b.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},b.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),C(this,this.state,e,this._modules.get(e),n.preserveState),x(this,this.state)},b.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=P(t.state,e.slice(0,-1));g.delete(n,e[e.length-1])})),w(this)},b.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},b.prototype.hotUpdate=function(e){this._modules.update(e),w(this,!0)},b.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(b.prototype,y);var I=B((function(e,t){var n={};return F(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var i=V(this.$store,"mapState",e);if(!i)return;t=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,t,n):t[r]},n[i].vuex=!0})),n})),j=B((function(e,t){var n={};return F(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.commit;if(e){var a=V(this.$store,"mapMutations",e);if(!a)return;i=a.context.commit}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}})),n})),N=B((function(e,t){var n={};return F(t).forEach((function(t){var i=t.key,r=t.val;r=e+r,n[i]=function(){if(!e||V(this.$store,"mapGetters",e))return this.$store.getters[r]},n[i].vuex=!0})),n})),A=B((function(e,t){var n={};return F(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.dispatch;if(e){var a=V(this.$store,"mapActions",e);if(!a)return;i=a.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}})),n})),R=function(e){return{mapState:I.bind(null,e),mapGetters:N.bind(null,e),mapMutations:j.bind(null,e),mapActions:A.bind(null,e)}};function F(e){return L(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function L(e){return Array.isArray(e)||c(e)}function B(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function V(e,t,n){var i=e._modulesNamespaceMap[n];return i}function z(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var i=e.transformer;void 0===i&&(i=function(e){return e});var r=e.mutationTransformer;void 0===r&&(r=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var o=e.actionTransformer;void 0===o&&(o=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var u=e.logActions;void 0===u&&(u=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var d=l(e.state);"undefined"!==typeof c&&(s&&e.subscribe((function(e,a){var o=l(a);if(n(e,d,o)){var s=U(),u=r(e),f="mutation "+e.type+s;W(c,f,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",i(o)),H(c)}d=o})),u&&e.subscribeAction((function(e,n){if(a(e,n)){var i=U(),r=o(e),s="action "+e.type+i;W(c,s,t),c.log("%c action","color: #03A9F4; font-weight: bold",r),H(c)}})))}}function W(e,t,n){var i=n?e.groupCollapsed:e.group;try{i.call(e,t)}catch(r){e.log(t)}}function H(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function U(){var e=new Date;return" @ "+q(e.getHours(),2)+":"+q(e.getMinutes(),2)+":"+q(e.getSeconds(),2)+"."+q(e.getMilliseconds(),3)}function K(e,t){return new Array(t+1).join(e)}function q(e,t){return K("0",t-e.toString().length)+e}var G={Store:b,install:D,version:"3.6.2",mapState:I,mapMutations:j,mapGetters:N,mapActions:A,createNamespacedHelpers:R,createLogger:z};t["a"]=G}).call(this,n("c8ba"))},3250:function(e,t,n){!function(t,i){e.exports=i(n("a026"))}("undefined"!=typeof self&&self,(function(e){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},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/locale/",n(n.s=8)}({0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){i||void 0!==window.iview&&("langs"in iview||(iview.langs={}),iview.langs[e.i.locale]=e)};var i=function(e){return e&&e.__esModule?e:{default:e}}(n(1)).default.prototype.$isServer},1:function(t,n){t.exports=e},8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={i:{locale:"en-US",select:{placeholder:"Select",noMatch:"No matching data",loading:"Loading"},table:{noDataText:"No Data",noFilteredDataText:"No filter data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},datepicker:{selectDate:"Select date",selectTime:"Select time",startTime:"Start Time",endTime:"End Time",clear:"Clear",ok:"OK",datePanelLabel:"[mmmm] [yyyy]",month:"Month",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",year:"Year",weekStartDay:"0",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{m1:"Jan",m2:"Feb",m3:"Mar",m4:"Apr",m5:"May",m6:"Jun",m7:"Jul",m8:"Aug",m9:"Sep",m10:"Oct",m11:"Nov",m12:"Dec"}},transfer:{titles:{source:"Source",target:"Target"},filterPlaceholder:"Search here",notFoundText:"Not Found"},modal:{okText:"OK",cancelText:"Cancel"},poptip:{okText:"OK",cancelText:"Cancel"},page:{prev:"Previous Page",next:"Next Page",total:"Total",item:"item",items:"items",prev5:"Previous 5 Pages",next5:"Next 5 Pages",page:"/page",goto:"Goto",p:""},rate:{star:"Star",stars:"Stars"},time:{before:" ago",after:" after",just:"just now",seconds:" seconds",minutes:" minutes",hours:" hours",days:" days"},tree:{emptyText:"No Data"}}};(0,function(e){return e&&e.__esModule?e:{default:e}}(n(0)).default)(i),t.default=i}})}))},"3a27":function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return d}));var i=n("a026");const r=i["default"].prototype.$isServer;function a(e,t){for(let n=0;n<t.length;n++)if(e===t[n])return!0;return!1}!r&&(window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver);const o=/([\:\-\_]+(.))/g,s=/^moz([A-Z])/;function l(e){return e.replace(o,(function(e,t,n,i){return i?n.toUpperCase():n})).replace(s,"Moz$1")}function u(e,t){if(!e||!t)return null;t=l(t),"float"===t&&(t="cssFloat");try{const n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(n){return e.style[t]}}function c(e,t,n){n="string"===typeof t?[t]:t;let i=e.$parent,r=i.$options.name;while(i&&(!r||n.indexOf(r)<0))i=i.$parent,i&&(r=i.$options.name);return i}function d(){if("undefined"!==typeof window){const e=e=>({media:e,matches:!1,on(){},off(){}});window.matchMedia=window.matchMedia||e}}},"3c35":function(e,t){(function(t){e.exports=t}).call(this,{})},4127:function(e,t,n){"use strict";var i=n("5402"),r=n("d233"),a=n("b313"),o=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=String.prototype.split,c=Array.prototype.push,d=function(e,t){c.apply(e,l(t)?t:[t])},f=Date.prototype.toISOString,h=a["default"],p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:h,formatter:a.formatters[h],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},v=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},m={},g=function e(t,n,a,o,s,c,f,h,g,b,y,_,w,x,C){var S=t,k=C,O=0,M=!1;while(void 0!==(k=k.get(m))&&!M){var E=k.get(t);if(O+=1,"undefined"!==typeof E){if(E===O)throw new RangeError("Cyclic object value");M=!0}"undefined"===typeof k.get(m)&&(O=0)}if("function"===typeof f?S=f(n,S):S instanceof Date?S=b(S):"comma"===a&&l(S)&&(S=r.maybeMap(S,(function(e){return e instanceof Date?b(e):e}))),null===S){if(o)return c&&!w?c(n,p.encoder,x,"key",y):n;S=""}if(v(S)||r.isBuffer(S)){if(c){var T=w?n:c(n,p.encoder,x,"key",y);if("comma"===a&&w){for(var P=u.call(String(S),","),$="",D=0;D<P.length;++D)$+=(0===D?"":",")+_(c(P[D],p.encoder,x,"value",y));return[_(T)+(l(S)&&1===P.length?"[]":"")+"="+$]}return[_(T)+"="+_(c(S,p.encoder,x,"value",y))]}return[_(n)+"="+_(String(S))]}var I,j=[];if("undefined"===typeof S)return j;if("comma"===a&&l(S))I=[{value:S.length>0?S.join(",")||null:void 0}];else if(l(f))I=f;else{var N=Object.keys(S);I=h?N.sort(h):N}for(var A="comma"===a&&l(S)&&1===S.length?n+"[]":n,R=0;R<I.length;++R){var F=I[R],L="object"===typeof F&&"undefined"!==typeof F.value?F.value:S[F];if(!s||null!==L){var B=l(S)?"function"===typeof a?a(A,F):A:A+(g?"."+F:"["+F+"]");C.set(t,O);var V=i();V.set(m,C),d(j,e(L,B,a,o,s,c,f,h,g,b,y,_,w,x,V))}}return j},b=function(e){if(!e)return p;if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=a["default"];if("undefined"!==typeof e.format){if(!o.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=a.formatters[n],r=p.filter;return("function"===typeof e.filter||l(e.filter))&&(r=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?p.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:p.encode,encoder:"function"===typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:r,format:n,formatter:i,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){var n,r,a=e,o=b(t);"function"===typeof o.filter?(r=o.filter,a=r("",a)):l(o.filter)&&(r=o.filter,n=r);var u,c=[];if("object"!==typeof a||null===a)return"";u=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=s[u];n||(n=Object.keys(a)),o.sort&&n.sort(o.sort);for(var h=i(),p=0;p<n.length;++p){var v=n[p];o.skipNulls&&null===a[v]||d(c,g(a[v],v,f,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,h))}var m=c.join(o.delimiter),y=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),m.length>0?y+m:""}},4328:function(e,t,n){"use strict";var i=n("4127"),r=n("9e6a"),a=n("b313");e.exports={formats:a,parse:r,stringify:i}},"51fa":function(e,t,n){"use strict";var i=n("3a27");t["a"]={props:{to:{type:[Object,String]},replace:{type:Boolean,default:!1},target:{type:String,validator(e){return Object(i["c"])(e,["_blank","_self","_parent","_top"])},default:"_self"},append:{type:Boolean,required:!1,default:!1}},computed:{linkUrl(){const e=typeof this.to;if("string"!==e)return null;if(this.to.includes("//"))return this.to;const t=this.$router;if(t){const e=this.$route,n=t.resolve(this.to,e,this.append);return n?n.href:this.to}return this.to}},methods:{handleOpenTo(){const e=this.$router;let t=this.to;if(e){const n=this.$route,i=e.resolve(this.to,n,this.append);t=i?i.href:this.to}"string"!==typeof this.to&&window.open(t)},handleClick(e=!1){const t=this.$router;e?this.handleOpenTo():t?"string"===typeof this.to&&this.to.includes("//")?window.location.href=this.to:this.replace?this.$router.replace(this.to,()=>{}):this.$router.push(this.to,()=>{}):window.location.href=this.to},handleCheckClick(e,t=!1){if(this.to){if("_blank"===this.target)return this.handleOpenTo(),!1;e.preventDefault(),this.handleClick(t)}}}}},5402:function(e,t,n){"use strict";var i=n("00ce"),r=n("545e"),a=n("2714"),o=i("%TypeError%"),s=i("%WeakMap%",!0),l=i("%Map%",!0),u=r("WeakMap.prototype.get",!0),c=r("WeakMap.prototype.set",!0),d=r("WeakMap.prototype.has",!0),f=r("Map.prototype.get",!0),h=r("Map.prototype.set",!0),p=r("Map.prototype.has",!0),v=function(e,t){for(var n,i=e;null!==(n=i.next);i=n)if(n.key===t)return i.next=n.next,n.next=e.next,e.next=n,n},m=function(e,t){var n=v(e,t);return n&&n.value},g=function(e,t,n){var i=v(e,t);i?i.value=n:e.next={key:t,next:e.next,value:n}},b=function(e,t){return!!v(e,t)};e.exports=function(){var e,t,n,i={assert:function(e){if(!i.has(e))throw new o("Side channel does not contain "+a(e))},get:function(i){if(s&&i&&("object"===typeof i||"function"===typeof i)){if(e)return u(e,i)}else if(l){if(t)return f(t,i)}else if(n)return m(n,i)},has:function(i){if(s&&i&&("object"===typeof i||"function"===typeof i)){if(e)return d(e,i)}else if(l){if(t)return p(t,i)}else if(n)return b(n,i);return!1},set:function(i,r){s&&i&&("object"===typeof i||"function"===typeof i)?(e||(e=new s),c(e,i,r)):l?(t||(t=new l),h(t,i,r)):(n||(n={key:{},next:null}),g(n,i,r))}};return i}},"597f":function(e,t){e.exports=function(e,t,n,i){var r,a=0;function o(){var o=this,s=Number(new Date)-a,l=arguments;function u(){a=Number(new Date),n.apply(o,l)}function c(){r=void 0}i&&!r&&u(),r&&clearTimeout(r),void 0===i&&s>e?u():!0!==t&&(r=setTimeout(i?c:u,void 0===i?e-s:e))}return"boolean"!==typeof t&&(i=n,n=t,t=void 0),o}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"6dd8":function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,i){return e[0]===t&&(n=i,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(t,n){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,i=e(n,t);~i&&n.splice(i,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,i=this.__entries__;n<i.length;n++){var r=i[n];e.call(t,r[1],r[0])}},t}()}(),i="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,r=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),a=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),o=2;function s(e,t){var n=!1,i=!1,r=0;function s(){n&&(n=!1,e()),i&&u()}function l(){a(s)}function u(){var e=Date.now();if(n){if(e-r<o)return;i=!0}else n=!0,i=!1,setTimeout(l,t);r=e}return u}var l=20,u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),l)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,i=u.some((function(e){return!!~n.indexOf(e)}));i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},h=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||r},p=S(0,0,0,0);function v(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var i=e["border-"+n+"-width"];return t+v(i)}),0)}function g(e){for(var t=["top","right","bottom","left"],n={},i=0,r=t;i<r.length;i++){var a=r[i],o=e["padding-"+a];n[a]=v(o)}return n}function b(e){var t=e.getBBox();return S(0,0,t.width,t.height)}function y(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var i=h(e).getComputedStyle(e),r=g(i),a=r.left+r.right,o=r.top+r.bottom,s=v(i.width),l=v(i.height);if("border-box"===i.boxSizing&&(Math.round(s+a)!==t&&(s-=m(i,"left","right")+a),Math.round(l+o)!==n&&(l-=m(i,"top","bottom")+o)),!w(e)){var u=Math.round(s+a)-t,c=Math.round(l+o)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return S(r.left,r.top,s,l)}var _=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof h(e).SVGGraphicsElement}:function(e){return e instanceof h(e).SVGElement&&"function"===typeof e.getBBox}}();function w(e){return e===h(e).document.documentElement}function x(e){return i?_(e)?b(e):y(e):p}function C(e){var t=e.x,n=e.y,i=e.width,r=e.height,a="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,o=Object.create(a.prototype);return f(o,{x:t,y:n,width:i,height:r,top:n,right:t+i,bottom:r+n,left:t}),o}function S(e,t,n,i){return{x:e,y:t,width:n,height:i}}var k=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=S(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=x(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),O=function(){function e(e,t){var n=C(t);f(this,{target:e,contentRect:n})}return e}(),M=function(){function e(e,t,i){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=i}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new k(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new O(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!==typeof WeakMap?new WeakMap:new n,T=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),i=new M(t,n,this);E.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach((function(e){T.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var P=function(){return"undefined"!==typeof r.ResizeObserver?r.ResizeObserver:T}();t["default"]=P}.call(this,n("c8ba"))},"858e":function(e,t,n){"use strict";var i,r,a={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()}}},o=a,s=(n("c0ef"),n("2877")),l=Object(s["a"])(o,i,r,!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_TITLE:"竞赛管理",VUE_APP_VERSION:"2.7.0",VUE_APP_BUILD_TIME:"2024-12-1
8 14:27:00
",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,b=g,y=(n("f9a3"),Object(s["a"])(b,v,m,!1,null,null,null));t["a"]=y.exports},"8c4f":function(e,t,n){"use strict";
function i(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:i});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[i].concat(e.init):i,n.call(this,e)}}function i(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return A})),n.d(t,"c",(function(){return N})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return I}));var r="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},a=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e){a&&(e._devtoolHook=a,a.emit("vuex:init",e),a.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){a.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){a.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function l(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(n){i[n]=l(e[n],t)})),i}function u(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function d(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var h=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(e,t){this._children[e]=t},h.prototype.removeChild=function(e){delete this._children[e]},h.prototype.getChild=function(e){return this._children[e]},h.prototype.hasChild=function(e){return e in this._children},h.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},h.prototype.forEachChild=function(e){u(this._children,e)},h.prototype.forEachGetter=function(e){this._rawModule.getters&&u(this._rawModule.getters,e)},h.prototype.forEachAction=function(e){this._rawModule.actions&&u(this._rawModule.actions,e)},h.prototype.forEachMutation=function(e){this._rawModule.mutations&&u(this._rawModule.mutations,e)},Object.defineProperties(h.prototype,p);var v=function(e){this.register([],e,!1)};function m(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return void 0;m(e.concat(i),t.getChild(i),n.modules[i])}}v.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},v.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},v.prototype.update=function(e){m([],this.root,e)},v.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var r=new h(t,n);if(0===e.length)this.root=r;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],r)}t.modules&&u(t.modules,(function(t,r){i.register(e.concat(r),t,n)}))},v.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],i=t.getChild(n);i&&i.runtime&&t.removeChild(n)},v.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var g;var b=function(e){var t=this;void 0===e&&(e={}),!g&&"undefined"!==typeof window&&window.Vue&&D(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var r=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(e,t){return s.call(r,e,t)},this.commit=function(e,t,n){return l.call(r,e,t,n)},this.strict=i;var u=this._modules.root.state;C(this,u,[],this._modules.root),x(this,u),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:g.config.devtools;c&&o(this)},y={state:{configurable:!0}};function _(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function w(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;C(e,n,[],e._modules.root,!0),x(e,n,t)}function x(e,t,n){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,a={};u(r,(function(t,n){a[n]=f(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var o=g.config.silent;g.config.silent=!0,e._vm=new g({data:{$$state:t},computed:a}),g.config.silent=o,e.strict&&T(e),i&&(n&&e._withCommit((function(){i._data.$$state=null})),g.nextTick((function(){return i.$destroy()})))}function C(e,t,n,i,r){var a=!n.length,o=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=i),!a&&!r){var s=P(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){g.set(s,l,i.state)}))}var u=i.context=S(e,o,n);i.forEachMutation((function(t,n){var i=o+n;O(e,i,t,u)})),i.forEachAction((function(t,n){var i=t.root?n:o+n,r=t.handler||t;M(e,i,r,u)})),i.forEachGetter((function(t,n){var i=o+n;E(e,i,t,u)})),i.forEachChild((function(i,a){C(e,t,n.concat(a),i,r)}))}function S(e,t,n){var i=""===t,r={dispatch:i?e.dispatch:function(n,i,r){var a=$(n,i,r),o=a.payload,s=a.options,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,o)},commit:i?e.commit:function(n,i,r){var a=$(n,i,r),o=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,o,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return e.getters}:function(){return k(e,t)}},state:{get:function(){return P(e.state,n)}}}),r}function k(e,t){if(!e._makeLocalGettersCache[t]){var n={},i=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,i)===t){var a=r.slice(i);Object.defineProperty(n,a,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function O(e,t,n,i){var r=e._mutations[t]||(e._mutations[t]=[]);r.push((function(t){n.call(e,i.state,t)}))}function M(e,t,n,i){var r=e._actions[t]||(e._actions[t]=[]);r.push((function(t){var r=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return d(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function E(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)})}function T(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function P(e,t){return t.reduce((function(e,t){return e[t]}),e)}function $(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function D(e){g&&e===g||(g=e,i(g))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(e){0},b.prototype.commit=function(e,t,n){var i=this,r=$(e,t,n),a=r.type,o=r.payload,s=(r.options,{type:a,payload:o}),l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(e){e(o)}))})),this._subscribers.slice().forEach((function(e){return e(s,i.state)})))},b.prototype.dispatch=function(e,t){var n=this,i=$(e,t),r=i.type,a=i.payload,o={type:r,payload:a},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(o,n.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(a)}))):s[0](a);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(o,n.state)}))}catch(u){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(o,n.state,e)}))}catch(u){0}t(e)}))}))}},b.prototype.subscribe=function(e,t){return _(e,this._subscribers,t)},b.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return _(n,this._actionSubscribers,t)},b.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch((function(){return e(i.state,i.getters)}),t,n)},b.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},b.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),C(this,this.state,e,this._modules.get(e),n.preserveState),x(this,this.state)},b.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=P(t.state,e.slice(0,-1));g.delete(n,e[e.length-1])})),w(this)},b.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},b.prototype.hotUpdate=function(e){this._modules.update(e),w(this,!0)},b.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(b.prototype,y);var I=B((function(e,t){var n={};return F(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var i=V(this.$store,"mapState",e);if(!i)return;t=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,t,n):t[r]},n[i].vuex=!0})),n})),j=B((function(e,t){var n={};return F(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.commit;if(e){var a=V(this.$store,"mapMutations",e);if(!a)return;i=a.context.commit}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}})),n})),N=B((function(e,t){var n={};return F(t).forEach((function(t){var i=t.key,r=t.val;r=e+r,n[i]=function(){if(!e||V(this.$store,"mapGetters",e))return this.$store.getters[r]},n[i].vuex=!0})),n})),A=B((function(e,t){var n={};return F(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.dispatch;if(e){var a=V(this.$store,"mapActions",e);if(!a)return;i=a.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}})),n})),R=function(e){return{mapState:I.bind(null,e),mapGetters:N.bind(null,e),mapMutations:j.bind(null,e),mapActions:A.bind(null,e)}};function F(e){return L(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function L(e){return Array.isArray(e)||c(e)}function B(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function V(e,t,n){var i=e._modulesNamespaceMap[n];return i}function z(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var i=e.transformer;void 0===i&&(i=function(e){return e});var r=e.mutationTransformer;void 0===r&&(r=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var o=e.actionTransformer;void 0===o&&(o=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var u=e.logActions;void 0===u&&(u=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var d=l(e.state);"undefined"!==typeof c&&(s&&e.subscribe((function(e,a){var o=l(a);if(n(e,d,o)){var s=U(),u=r(e),f="mutation "+e.type+s;W(c,f,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",i(o)),H(c)}d=o})),u&&e.subscribeAction((function(e,n){if(a(e,n)){var i=U(),r=o(e),s="action "+e.type+i;W(c,s,t),c.log("%c action","color: #03A9F4; font-weight: bold",r),H(c)}})))}}function W(e,t,n){var i=n?e.groupCollapsed:e.group;try{i.call(e,t)}catch(r){e.log(t)}}function H(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function U(){var e=new Date;return" @ "+q(e.getHours(),2)+":"+q(e.getMinutes(),2)+":"+q(e.getSeconds(),2)+"."+q(e.getMilliseconds(),3)}function K(e,t){return new Array(t+1).join(e)}function q(e,t){return K("0",t-e.toString().length)+e}var G={Store:b,install:D,version:"3.6.2",mapState:I,mapMutations:j,mapGetters:N,mapActions:A,createNamespacedHelpers:R,createLogger:z};t["a"]=G}).call(this,n("c8ba"))},3250:function(e,t,n){!function(t,i){e.exports=i(n("a026"))}("undefined"!=typeof self&&self,(function(e){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},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/locale/",n(n.s=8)}({0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){i||void 0!==window.iview&&("langs"in iview||(iview.langs={}),iview.langs[e.i.locale]=e)};var i=function(e){return e&&e.__esModule?e:{default:e}}(n(1)).default.prototype.$isServer},1:function(t,n){t.exports=e},8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={i:{locale:"en-US",select:{placeholder:"Select",noMatch:"No matching data",loading:"Loading"},table:{noDataText:"No Data",noFilteredDataText:"No filter data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},datepicker:{selectDate:"Select date",selectTime:"Select time",startTime:"Start Time",endTime:"End Time",clear:"Clear",ok:"OK",datePanelLabel:"[mmmm] [yyyy]",month:"Month",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",year:"Year",weekStartDay:"0",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{m1:"Jan",m2:"Feb",m3:"Mar",m4:"Apr",m5:"May",m6:"Jun",m7:"Jul",m8:"Aug",m9:"Sep",m10:"Oct",m11:"Nov",m12:"Dec"}},transfer:{titles:{source:"Source",target:"Target"},filterPlaceholder:"Search here",notFoundText:"Not Found"},modal:{okText:"OK",cancelText:"Cancel"},poptip:{okText:"OK",cancelText:"Cancel"},page:{prev:"Previous Page",next:"Next Page",total:"Total",item:"item",items:"items",prev5:"Previous 5 Pages",next5:"Next 5 Pages",page:"/page",goto:"Goto",p:""},rate:{star:"Star",stars:"Stars"},time:{before:" ago",after:" after",just:"just now",seconds:" seconds",minutes:" minutes",hours:" hours",days:" days"},tree:{emptyText:"No Data"}}};(0,function(e){return e&&e.__esModule?e:{default:e}}(n(0)).default)(i),t.default=i}})}))},"3a27":function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return d}));var i=n("a026");const r=i["default"].prototype.$isServer;function a(e,t){for(let n=0;n<t.length;n++)if(e===t[n])return!0;return!1}!r&&(window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver);const o=/([\:\-\_]+(.))/g,s=/^moz([A-Z])/;function l(e){return e.replace(o,(function(e,t,n,i){return i?n.toUpperCase():n})).replace(s,"Moz$1")}function u(e,t){if(!e||!t)return null;t=l(t),"float"===t&&(t="cssFloat");try{const n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(n){return e.style[t]}}function c(e,t,n){n="string"===typeof t?[t]:t;let i=e.$parent,r=i.$options.name;while(i&&(!r||n.indexOf(r)<0))i=i.$parent,i&&(r=i.$options.name);return i}function d(){if("undefined"!==typeof window){const e=e=>({media:e,matches:!1,on(){},off(){}});window.matchMedia=window.matchMedia||e}}},"3c35":function(e,t){(function(t){e.exports=t}).call(this,{})},4127:function(e,t,n){"use strict";var i=n("5402"),r=n("d233"),a=n("b313"),o=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=String.prototype.split,c=Array.prototype.push,d=function(e,t){c.apply(e,l(t)?t:[t])},f=Date.prototype.toISOString,h=a["default"],p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:h,formatter:a.formatters[h],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},v=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},m={},g=function e(t,n,a,o,s,c,f,h,g,b,y,_,w,x,C){var S=t,k=C,O=0,M=!1;while(void 0!==(k=k.get(m))&&!M){var E=k.get(t);if(O+=1,"undefined"!==typeof E){if(E===O)throw new RangeError("Cyclic object value");M=!0}"undefined"===typeof k.get(m)&&(O=0)}if("function"===typeof f?S=f(n,S):S instanceof Date?S=b(S):"comma"===a&&l(S)&&(S=r.maybeMap(S,(function(e){return e instanceof Date?b(e):e}))),null===S){if(o)return c&&!w?c(n,p.encoder,x,"key",y):n;S=""}if(v(S)||r.isBuffer(S)){if(c){var T=w?n:c(n,p.encoder,x,"key",y);if("comma"===a&&w){for(var P=u.call(String(S),","),$="",D=0;D<P.length;++D)$+=(0===D?"":",")+_(c(P[D],p.encoder,x,"value",y));return[_(T)+(l(S)&&1===P.length?"[]":"")+"="+$]}return[_(T)+"="+_(c(S,p.encoder,x,"value",y))]}return[_(n)+"="+_(String(S))]}var I,j=[];if("undefined"===typeof S)return j;if("comma"===a&&l(S))I=[{value:S.length>0?S.join(",")||null:void 0}];else if(l(f))I=f;else{var N=Object.keys(S);I=h?N.sort(h):N}for(var A="comma"===a&&l(S)&&1===S.length?n+"[]":n,R=0;R<I.length;++R){var F=I[R],L="object"===typeof F&&"undefined"!==typeof F.value?F.value:S[F];if(!s||null!==L){var B=l(S)?"function"===typeof a?a(A,F):A:A+(g?"."+F:"["+F+"]");C.set(t,O);var V=i();V.set(m,C),d(j,e(L,B,a,o,s,c,f,h,g,b,y,_,w,x,V))}}return j},b=function(e){if(!e)return p;if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=a["default"];if("undefined"!==typeof e.format){if(!o.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=a.formatters[n],r=p.filter;return("function"===typeof e.filter||l(e.filter))&&(r=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?p.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:p.encode,encoder:"function"===typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:r,format:n,formatter:i,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){var n,r,a=e,o=b(t);"function"===typeof o.filter?(r=o.filter,a=r("",a)):l(o.filter)&&(r=o.filter,n=r);var u,c=[];if("object"!==typeof a||null===a)return"";u=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=s[u];n||(n=Object.keys(a)),o.sort&&n.sort(o.sort);for(var h=i(),p=0;p<n.length;++p){var v=n[p];o.skipNulls&&null===a[v]||d(c,g(a[v],v,f,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,h))}var m=c.join(o.delimiter),y=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),m.length>0?y+m:""}},4328:function(e,t,n){"use strict";var i=n("4127"),r=n("9e6a"),a=n("b313");e.exports={formats:a,parse:r,stringify:i}},"51fa":function(e,t,n){"use strict";var i=n("3a27");t["a"]={props:{to:{type:[Object,String]},replace:{type:Boolean,default:!1},target:{type:String,validator(e){return Object(i["c"])(e,["_blank","_self","_parent","_top"])},default:"_self"},append:{type:Boolean,required:!1,default:!1}},computed:{linkUrl(){const e=typeof this.to;if("string"!==e)return null;if(this.to.includes("//"))return this.to;const t=this.$router;if(t){const e=this.$route,n=t.resolve(this.to,e,this.append);return n?n.href:this.to}return this.to}},methods:{handleOpenTo(){const e=this.$router;let t=this.to;if(e){const n=this.$route,i=e.resolve(this.to,n,this.append);t=i?i.href:this.to}"string"!==typeof this.to&&window.open(t)},handleClick(e=!1){const t=this.$router;e?this.handleOpenTo():t?"string"===typeof this.to&&this.to.includes("//")?window.location.href=this.to:this.replace?this.$router.replace(this.to,()=>{}):this.$router.push(this.to,()=>{}):window.location.href=this.to},handleCheckClick(e,t=!1){if(this.to){if("_blank"===this.target)return this.handleOpenTo(),!1;e.preventDefault(),this.handleClick(t)}}}}},5402:function(e,t,n){"use strict";var i=n("00ce"),r=n("545e"),a=n("2714"),o=i("%TypeError%"),s=i("%WeakMap%",!0),l=i("%Map%",!0),u=r("WeakMap.prototype.get",!0),c=r("WeakMap.prototype.set",!0),d=r("WeakMap.prototype.has",!0),f=r("Map.prototype.get",!0),h=r("Map.prototype.set",!0),p=r("Map.prototype.has",!0),v=function(e,t){for(var n,i=e;null!==(n=i.next);i=n)if(n.key===t)return i.next=n.next,n.next=e.next,e.next=n,n},m=function(e,t){var n=v(e,t);return n&&n.value},g=function(e,t,n){var i=v(e,t);i?i.value=n:e.next={key:t,next:e.next,value:n}},b=function(e,t){return!!v(e,t)};e.exports=function(){var e,t,n,i={assert:function(e){if(!i.has(e))throw new o("Side channel does not contain "+a(e))},get:function(i){if(s&&i&&("object"===typeof i||"function"===typeof i)){if(e)return u(e,i)}else if(l){if(t)return f(t,i)}else if(n)return m(n,i)},has:function(i){if(s&&i&&("object"===typeof i||"function"===typeof i)){if(e)return d(e,i)}else if(l){if(t)return p(t,i)}else if(n)return b(n,i);return!1},set:function(i,r){s&&i&&("object"===typeof i||"function"===typeof i)?(e||(e=new s),c(e,i,r)):l?(t||(t=new l),h(t,i,r)):(n||(n={key:{},next:null}),g(n,i,r))}};return i}},"597f":function(e,t){e.exports=function(e,t,n,i){var r,a=0;function o(){var o=this,s=Number(new Date)-a,l=arguments;function u(){a=Number(new Date),n.apply(o,l)}function c(){r=void 0}i&&!r&&u(),r&&clearTimeout(r),void 0===i&&s>e?u():!0!==t&&(r=setTimeout(i?c:u,void 0===i?e-s:e))}return"boolean"!==typeof t&&(i=n,n=t,t=void 0),o}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"6dd8":function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,i){return e[0]===t&&(n=i,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(t,n){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,i=e(n,t);~i&&n.splice(i,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,i=this.__entries__;n<i.length;n++){var r=i[n];e.call(t,r[1],r[0])}},t}()}(),i="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,r=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),a=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),o=2;function s(e,t){var n=!1,i=!1,r=0;function s(){n&&(n=!1,e()),i&&u()}function l(){a(s)}function u(){var e=Date.now();if(n){if(e-r<o)return;i=!0}else n=!0,i=!1,setTimeout(l,t);r=e}return u}var l=20,u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),l)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,i=u.some((function(e){return!!~n.indexOf(e)}));i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},h=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||r},p=S(0,0,0,0);function v(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var i=e["border-"+n+"-width"];return t+v(i)}),0)}function g(e){for(var t=["top","right","bottom","left"],n={},i=0,r=t;i<r.length;i++){var a=r[i],o=e["padding-"+a];n[a]=v(o)}return n}function b(e){var t=e.getBBox();return S(0,0,t.width,t.height)}function y(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var i=h(e).getComputedStyle(e),r=g(i),a=r.left+r.right,o=r.top+r.bottom,s=v(i.width),l=v(i.height);if("border-box"===i.boxSizing&&(Math.round(s+a)!==t&&(s-=m(i,"left","right")+a),Math.round(l+o)!==n&&(l-=m(i,"top","bottom")+o)),!w(e)){var u=Math.round(s+a)-t,c=Math.round(l+o)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return S(r.left,r.top,s,l)}var _=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof h(e).SVGGraphicsElement}:function(e){return e instanceof h(e).SVGElement&&"function"===typeof e.getBBox}}();function w(e){return e===h(e).document.documentElement}function x(e){return i?_(e)?b(e):y(e):p}function C(e){var t=e.x,n=e.y,i=e.width,r=e.height,a="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,o=Object.create(a.prototype);return f(o,{x:t,y:n,width:i,height:r,top:n,right:t+i,bottom:r+n,left:t}),o}function S(e,t,n,i){return{x:e,y:t,width:n,height:i}}var k=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=S(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=x(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),O=function(){function e(e,t){var n=C(t);f(this,{target:e,contentRect:n})}return e}(),M=function(){function e(e,t,i){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=i}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new k(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new O(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!==typeof WeakMap?new WeakMap:new n,T=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),i=new M(t,n,this);E.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach((function(e){T.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var P=function(){return"undefined"!==typeof r.ResizeObserver?r.ResizeObserver:T}();t["default"]=P}.call(this,n("c8ba"))},"858e":function(e,t,n){"use strict";var i,r,a={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()}}},o=a,s=(n("c0ef"),n("2877")),l=Object(s["a"])(o,i,r,!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_TITLE:"竞赛管理",VUE_APP_VERSION:"2.7.0",VUE_APP_BUILD_TIME:"2024-12-1
9 09:44:25
",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,b=g,y=(n("f9a3"),Object(s["a"])(b,v,m,!1,null,null,null));t["a"]=y.exports},"8c4f":function(e,t,n){"use strict";
/*!
* vue-router v3.5.4
* (c) 2022 Evan You
...
...
src/pages/eventCatalogue/components/batchManagement.vue
浏览文件 @
6ca82df6
...
...
@@ -524,7 +524,6 @@
remark
:
''
,
"
bed_time
"
:
""
,
"
end_time
"
:
""
,
},
ruleValidate
:
{
competition_method
:
[
...
...
@@ -539,9 +538,7 @@
remark1
:
[
{
required
:
true
,
type
:
'
string
'
,
message
:
'
此项不能为空
'
,
trigger
:
'
blur
'
}
],
},
init
:
{
columns
:
[],
tableData
:
[],
...
...
@@ -562,34 +559,28 @@
type
:
'
index
'
,
show
:
true
,
minWidth
:
80
,
},
{
title
:
'
学年
'
,
key
:
'
competitionbatch_name
'
,
show
:
true
,
minWidth
:
150
,
},
{
title
:
'
竞赛起止时间
'
,
slot
:
'
bed_time
'
,
show
:
true
,
minWidth
:
150
,
},
{
title
:
'
批次类型
'
,
slot
:
'
competition_method
'
,
show
:
true
,
minWidth
:
150
,
},
{
title
:
'
备注
'
,
key
:
'
remark
'
,
show
:
true
,
minWidth
:
150
,
},
...
...
@@ -604,7 +595,7 @@
],
data
:
[],
theme
:
'
light
'
theme
:
'
light
'
,
};
},
//监听属性 类似于data概念",
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录