Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
C
competitionWeb
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
competitionWeb
提交
2f7968fc
提交
2f7968fc
编写于
10月 25, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 20241025 保存
上级
a482fe15
变更
10
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
6 行增加
和
100 行删除
+6
-100
chunk-0208ed59.90665ec0.css
dist/css/chunk-0208ed59.90665ec0.css
+0
-1
chunk-6ec1b951.74d29ebb.css
dist/css/chunk-6ec1b951.74d29ebb.css
+0
-1
chunk-a2e84d70.23690396.css
dist/css/chunk-a2e84d70.23690396.css
+0
-1
index.html
dist/index.html
+1
-1
app~748942c6.90c33f55.js
dist/js/app~748942c6.90c33f55.js
+0
-30
chunk-0208ed59.da6cde8f.js
dist/js/chunk-0208ed59.da6cde8f.js
+0
-1
chunk-6ec1b951.0cdb2742.js
dist/js/chunk-6ec1b951.0cdb2742.js
+0
-1
chunk-a2e84d70.12041f99.js
dist/js/chunk-a2e84d70.12041f99.js
+0
-1
chunk-vendors~f9ca8911.b6b92e2e.js
dist/js/chunk-vendors~f9ca8911.b6b92e2e.js
+0
-60
eventMatalogMaintenance.vue
...ges/eventCatalogue/components/eventMatalogMaintenance.vue
+5
-3
未找到文件。
dist/css/chunk-0208ed59.90665ec0.css
已删除
100644 → 0
浏览文件 @
a482fe15
.buttonFocus
[
data-v-dd945038
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-dd945038
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-dd945038
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-45d6c00e
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.demo-drawer-footer
[
data-v-45d6c00e
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
[
data-v-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-6ec1b951.74d29ebb.css
已删除
100644 → 0
浏览文件 @
a482fe15
.buttonFocus
[
data-v-dd945038
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-dd945038
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-dd945038
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-45d6c00e
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.demo-drawer-footer
[
data-v-45d6c00e
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
[
data-v-5a3bcc38
]
.ivu-menu
{
display
:
block
;
margin
:
0
;
padding
:
0
;
outline
:
none
;
list-style
:
none
;
color
:
#515a6e
;
font-size
:
14px
;
position
:
relative
;
z-index
:
1
}
\ No newline at end of file
dist/css/chunk-a2e84d70.23690396.css
已删除
100644 → 0
浏览文件 @
a482fe15
.buttonFocus
[
data-v-dd945038
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.competitionClassIcon
[
data-v-dd945038
]
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
[
data-v-dd945038
]
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.buttonFocus
[
data-v-45d6c00e
]
:focus
{
background-color
:
#2d8cf0
;
color
:
#fff
}
.demo-drawer-footer
[
data-v-45d6c00e
]
{
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
}
\ No newline at end of file
dist/index.html
浏览文件 @
2f7968fc
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
竞赛管理
</title><link
href=
css/chunk-vendors~253ae210.71a233fb.css
rel=
stylesheet
><link
href=
css/chunk-vendors~f9ca8911.6d189742.css
rel=
stylesheet
><link
href=
css/app~748942c6.db0ab0a4.css
rel=
stylesheet
></head><body><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 竞赛管理。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors~253ae210.c21551cb.js
></script><script
src=
js/chunk-vendors~db300d2f.e266578a.js
></script><script
src=
js/chunk-vendors~690b702c.00a2f77e.js
></script><script
src=
js/chunk-vendors~f9ca8911.b6b92e2e.js
></script><script
src=
js/app~748942c6.90c33f55.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
竞赛管理
</title><link
href=
css/chunk-vendors~253ae210.71a233fb.css
rel=
stylesheet
><link
href=
css/chunk-vendors~f9ca8911.6d189742.css
rel=
stylesheet
><link
href=
css/app~748942c6.db0ab0a4.css
rel=
stylesheet
></head><body><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 竞赛管理。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors~253ae210.c21551cb.js
></script><script
src=
js/chunk-vendors~db300d2f.e266578a.js
></script><script
src=
js/chunk-vendors~690b702c.00a2f77e.js
></script><script
src=
js/chunk-vendors~f9ca8911.ce961fc4.js
></script><script
src=
js/app~748942c6.a9d6377f.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app~748942c6.90c33f55.js
已删除
100644 → 0
浏览文件 @
a482fe15
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-0208ed59.da6cde8f.js
已删除
100644 → 0
浏览文件 @
a482fe15
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-0208ed59
"
],{
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
)
||
P
(
o
)
||
P
(
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
P
(
t
){
return
!!
a
[
i
.
call
(
t
)]}
function
D
(
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
=
P
,
e
.
isTypedArray
=
D
,
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
},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
9953
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
c2fd
"
)},
"
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
(
"
1da1
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
ade3
"
)),
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
:
120
,
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
(
"
e97a
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
45d6c00e
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
c2fd
:
function
(
t
,
e
,
a
){},
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
(
"
ade3
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
386d
"
),
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
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
"
}],
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
}),
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
(
"
9953
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
dd945038
"
,
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
},
e97a
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
fae4
"
)},
fae4
:
function
(
t
,
e
,
a
){}}]);
\ No newline at end of file
dist/js/chunk-6ec1b951.0cdb2742.js
已删除
100644 → 0
浏览文件 @
a482fe15
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-6ec1b951
"
],{
"
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
(
"
ac82
"
),
a
(
"
2877
"
)),
u
=
Object
(
l
[
"
a
"
])(
s
,
n
,
i
,
!
1
,
null
,
"
5a3bcc38
"
,
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
)
||
P
(
o
)
||
P
(
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
P
(
t
){
return
!!
a
[
i
.
call
(
t
)]}
function
D
(
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
=
P
,
e
.
isTypedArray
=
D
,
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
},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
9953
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
c2fd
"
)},
"
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
(
"
1da1
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
ade3
"
)),
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
:
120
,
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
(
"
e97a
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
45d6c00e
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
ac82
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
d859
"
)},
c2fd
:
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
(
"
ade3
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
386d
"
),
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
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
"
}],
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
}),
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
(
"
9953
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
dd945038
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
d859
:
function
(
t
,
e
,
a
){},
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
},
e97a
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
fae4
"
)},
fae4
:
function
(
t
,
e
,
a
){}}]);
\ No newline at end of file
dist/js/chunk-a2e84d70.12041f99.js
已删除
100644 → 0
浏览文件 @
a482fe15
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-a2e84d70
"
],{
"
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
,
"
a074b206
"
,
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
}]}))},
"
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
)
||
P
(
o
)
||
P
(
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
P
(
t
){
return
!!
a
[
i
.
call
(
t
)]}
function
D
(
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
=
P
,
e
.
isTypedArray
=
D
,
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
},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
9953
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
c2fd
"
)},
"
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
(
"
1da1
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
ade3
"
)),
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
:
120
,
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
(
"
e97a
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
45d6c00e
"
,
null
);
e
[
"
a
"
]
=
v
.
exports
},
c2fd
:
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
(
"
ade3
"
)),
r
=
(
a
(
"
28a5
"
),
a
(
"
386d
"
),
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
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
"
}],
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
}),
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
(
"
9953
"
),
a
(
"
2877
"
)),
v
=
Object
(
g
[
"
a
"
])(
f
,
n
,
i
,
!
1
,
null
,
"
dd945038
"
,
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
},
e97a
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
fae4
"
)},
fae4
:
function
(
t
,
e
,
a
){}}]);
\ No newline at end of file
dist/js/chunk-vendors~f9ca8911.b6b92e2e.js
已删除
100644 → 0
浏览文件 @
a482fe15
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
src/pages/eventCatalogue/components/eventMatalogMaintenance.vue
浏览文件 @
2f7968fc
...
@@ -689,13 +689,16 @@
...
@@ -689,13 +689,16 @@
},
},
search1
(
row
)
{
search1
(
row
)
{
//查找
//查找
this
.
search
=
{...
this
.
search
,
...
row
,
page_index
:
1
}
this
.
search
=
{
...
this
.
search
,
...
row
,
page_index
:
1
,
"
is_tea
"
:
this
.
$route
.
path
===
'
/eventCatalogue-teacherDirectory
'
?
1
:
0
,
}
this
.
pageKey
++
this
.
pageKey
++
this
.
getCompetitionList
()
this
.
getCompetitionList
()
},
},
async
getCompetitionList
()
{
async
getCompetitionList
()
{
this
.
loading
=
true
this
.
loading
=
true
return
api
.
GetReportList
({...
this
.
search
,
way
:
hooks
.
isWayEq2InSetNull
(
this
.
search
.
way
)}).
then
(
res
=>
{
return
api
.
GetReportList
({...
this
.
search
,
way
:
hooks
.
isWayEq2InSetNull
(
this
.
search
.
way
)}).
then
(
res
=>
{
this
.
data
=
res
.
response
.
data
this
.
data
=
res
.
response
.
data
this
.
init
.
total
=
res
.
response
.
data_count
this
.
init
.
total
=
res
.
response
.
data_count
...
@@ -703,7 +706,6 @@
...
@@ -703,7 +706,6 @@
return
res
return
res
})
})
},
},
GetHierarchySelect
()
{
GetHierarchySelect
()
{
//获取赛项等级下拉框
//获取赛项等级下拉框
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录