Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
C
competitionWeb
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
competitionWeb
提交
d2b1f20c
提交
d2b1f20c
编写于
12月 13, 2023
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化报名表单、审批退回到申请人等
上级
1d645b1e
流水线
#22977
已通过 ,包含阶段
in 52 second
变更
51
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
51 个修改的文件
包含
3267 行增加
和
424 行删除
+3267
-424
chunk-0f7ca099.7233b047.css
dist/css/chunk-0f7ca099.7233b047.css
+0
-1
chunk-66bc6265.d77cd1d1.css
dist/css/chunk-66bc6265.d77cd1d1.css
+0
-1
index.html
dist/index.html
+1
-1
app.ae4e5014.js
dist/js/app.ae4e5014.js
+0
-15
chunk-08a405ee.ea3feb4e.js
dist/js/chunk-08a405ee.ea3feb4e.js
+0
-1
chunk-0b899d19.d29c9f59.js
dist/js/chunk-0b899d19.d29c9f59.js
+0
-1
chunk-0f7ca099.ff626e9c.js
dist/js/chunk-0f7ca099.ff626e9c.js
+0
-1
chunk-107b1649.c9cac49a.js
dist/js/chunk-107b1649.c9cac49a.js
+0
-0
chunk-2d0af2dc.dc067a84.js
dist/js/chunk-2d0af2dc.dc067a84.js
+0
-1
chunk-2d0b1bcb.01b3cc03.js
dist/js/chunk-2d0b1bcb.01b3cc03.js
+0
-1
chunk-2d0b287e.2ec9bdb3.js
dist/js/chunk-2d0b287e.2ec9bdb3.js
+0
-1
chunk-2d0d0041.6a3b53fe.js
dist/js/chunk-2d0d0041.6a3b53fe.js
+0
-1
chunk-2d0dee69.db1dbf5a.js
dist/js/chunk-2d0dee69.db1dbf5a.js
+0
-1
chunk-2d20ec35.0e183ed8.js
dist/js/chunk-2d20ec35.0e183ed8.js
+0
-1
chunk-2d217eab.556c3325.js
dist/js/chunk-2d217eab.556c3325.js
+0
-0
chunk-2d21f335.f361a9c6.js
dist/js/chunk-2d21f335.f361a9c6.js
+0
-1
chunk-2d226568.33b9d133.js
dist/js/chunk-2d226568.33b9d133.js
+0
-0
chunk-2d22ca54.67808dc5.js
dist/js/chunk-2d22ca54.67808dc5.js
+0
-0
chunk-3033a837.5f3f27f9.js
dist/js/chunk-3033a837.5f3f27f9.js
+0
-1
chunk-332f4830.a81d85d4.js
dist/js/chunk-332f4830.a81d85d4.js
+0
-1
chunk-4d705732.8945c80d.js
dist/js/chunk-4d705732.8945c80d.js
+0
-0
chunk-56eff926.91527de5.js
dist/js/chunk-56eff926.91527de5.js
+0
-1
chunk-57578a70.ada17a98.js
dist/js/chunk-57578a70.ada17a98.js
+0
-0
chunk-6579a95c.426d9f46.js
dist/js/chunk-6579a95c.426d9f46.js
+0
-1
chunk-6613de72.b9941786.js
dist/js/chunk-6613de72.b9941786.js
+0
-1
chunk-66bc6265.280f634c.js
dist/js/chunk-66bc6265.280f634c.js
+0
-1
chunk-7367a265.79eaa767.js
dist/js/chunk-7367a265.79eaa767.js
+0
-1
chunk-7a73a158.a5058ff2.js
dist/js/chunk-7a73a158.a5058ff2.js
+0
-1
chunk-7b4ceb28.959141c7.js
dist/js/chunk-7b4ceb28.959141c7.js
+0
-1
chunk-8f36cd58.75581c8e.js
dist/js/chunk-8f36cd58.75581c8e.js
+0
-0
chunk-c389d98c.af6e9dac.js
dist/js/chunk-c389d98c.af6e9dac.js
+0
-1
chunk-c4892f82.764471c3.js
dist/js/chunk-c4892f82.764471c3.js
+0
-0
chunk-c8429486.09c33227.js
dist/js/chunk-c8429486.09c33227.js
+0
-0
chunk-d72cd6b8.e2101acc.js
dist/js/chunk-d72cd6b8.e2101acc.js
+0
-1
chunk-dbb9177c.f5b28405.js
dist/js/chunk-dbb9177c.f5b28405.js
+0
-1
chunk-e4ee58c6.0f9a3190.js
dist/js/chunk-e4ee58c6.0f9a3190.js
+0
-1
chunk-eba91b14.aacff21e.js
dist/js/chunk-eba91b14.aacff21e.js
+0
-1
chunk-fb6ae7e2.5c45a9e0.js
dist/js/chunk-fb6ae7e2.5c45a9e0.js
+0
-1
chunk-vendors.13fecbcb.js
dist/js/chunk-vendors.13fecbcb.js
+0
-97
package-lock.json
package-lock.json
+92
-3
package.json
package.json
+1
-0
index.js
src/configState/index.js
+2
-2
index.js
src/hook/index.js
+19
-0
main.js
src/main.js
+14
-0
UpdateSignModal.vue
src/pages/CompetitionSign/components/UpdateSignModal.vue
+2321
-0
index.vue
src/pages/CompetitionSign/index.vue
+34
-1
index.vue
src/pages/flowAssemble/awaitDoneComponents/index.vue
+3
-1
awaitDoneList.vue
src/pages/flowAssemble/awaitDoneList.vue
+41
-8
completeFlow.vue
src/pages/flowAssemble/completeFlow.vue
+28
-0
CompetitionSignForm.vue
src/pages/flowAssemble/flowComponent/CompetitionSignForm.vue
+680
-268
myFlow.vue
src/pages/flowAssemble/myFlow.vue
+31
-1
未找到文件。
dist/css/chunk-0f7ca099.7233b047.css
已删除
100644 → 0
浏览文件 @
1d645b1e
.tableList
[
data-v-67c29ded
]
{
display
:
flex
;
justify-content
:
center
;
flex-wrap
:
wrap
}
.tableList
.container1
[
data-v-67c29ded
]
{
border-collapse
:
collapse
}
.tableList
.container1
.row
[
data-v-67c29ded
]
{
width
:
100%
;
height
:
100%
}
.tableList
.container1
.colTitle
[
data-v-67c29ded
]
{
text-align
:
center
;
width
:
200px
;
height
:
50px
}
.tableList
.container1
.colContent
[
data-v-67c29ded
]
{
width
:
500px
;
height
:
50px
;
text-align
:
center
}
.tableList
.container1
.aText
[
data-v-67c29ded
]
:hover
{
transform
:
scale
(
1.2
)}
\ No newline at end of file
dist/css/chunk-66bc6265.d77cd1d1.css
已删除
100644 → 0
浏览文件 @
1d645b1e
.filelist
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
}
.fileddelete
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
.competitionClassIcon
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
}
.competitionClassIcon
:hover
{
transform
:
scale
(
1.5
);
color
:
red
}
.container
{
overflow-y
:
auto
;
width
:
100%
;
//
min-height
:
987px
;
display
:
flex
;
align-content
:
center
;
justify-content
:
center
;
flex-wrap
:
wrap
}
\ No newline at end of file
dist/index.html
浏览文件 @
d2b1f20c
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
竞赛管理
</title><link
href=
css/chunk-vendors.064c214c.css
rel=
stylesheet
><link
href=
css/app.1af866c1.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.13fecbcb.js
></script><script
src=
js/app.ae4e5014.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
竞赛管理
</title><link
href=
css/chunk-vendors.064c214c.css
rel=
stylesheet
><link
href=
css/app.1af866c1.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.47171c21.js
></script><script
src=
js/app.adbfae6b.js
></script></body></html>
\ No newline at end of file
dist/js/app.ae4e5014.js
已删除
100644 → 0
浏览文件 @
1d645b1e
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-08a405ee.ea3feb4e.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-08a405ee
"
],{
"
22ab
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
i
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,{
staticClass
:
"
container
"
},[
a
(
"
div
"
,{
staticClass
:
"
content
"
},[
"
CompetitionReport
"
===
t
.
form_name
?
a
(
"
Card
"
,{
staticStyle
:{
width
:
"
50%
"
,
"
margin-top
"
:
"
20px
"
,
"
border-radius
"
:
"
20px
"
}},[
a
(
"
div
"
,{
staticClass
:
"
tableList
"
},[
a
(
"
h1
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
t
.
_v
(
"
"
+
t
.
_s
(
t
.
data
.
Object
.
module
))]),
a
(
"
table
"
,{
staticClass
:
"
container1
"
,
attrs
:{
border
:
"
1
"
}},
t
.
_l
(
t
.
data
.
keyValueArray
,(
function
(
e
,
i
){
return
a
(
"
tr
"
,{
key
:
i
},[
"
level
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
level
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
""
,
"
国家级
"
,
"
省一级
"
,
"
省二级
"
,
"
国际级
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
way
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
way
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
"
团队
"
,
"
个人
"
][
e
[
1
]]))]):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
未审批
"
,
"
审批中
"
,
"
审批通过
"
,
"
审批不通过
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
competition_type
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
competition_type
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
""
,
"
A类
"
,
"
B类
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
competition_type
"
!==
e
[
0
]
&&
"
level
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
])
+
"
\n
"
)]):
t
.
_e
(),
"
competition_type
"
!==
e
[
0
]
&&
"
level
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
(
e
[
1
])
+
"
\n
"
)]):
t
.
_e
()])})),
0
)])]):
t
.
_e
(),
"
CompetitionSign
"
===
t
.
form_name
?
a
(
"
Card
"
,{
staticStyle
:{
width
:
"
50%
"
,
"
margin-top
"
:
"
20px
"
,
"
border-radius
"
:
"
20px
"
}},[
a
(
"
div
"
,{
staticClass
:
"
tableList
"
},[
a
(
"
h1
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
t
.
_v
(
"
"
+
t
.
_s
(
t
.
data
.
Object
.
module
))]),
a
(
"
table
"
,{
staticClass
:
"
container1
"
,
attrs
:{
border
:
"
1
"
}},[
t
.
_l
(
t
.
data
.
keyValueArray
,(
function
(
e
,
i
){
return
a
(
"
tr
"
,{
key
:
i
},[
"
level
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
level
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
""
,
"
国家级
"
,
"
省一级
"
,
"
省二级
"
][
e
[
1
]]))]):
t
.
_e
(),
"
race_level
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
race_level
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
""
,
"
国家级
"
,
"
省一级
"
,
"
省二级
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
way
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
way
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
"
团队
"
,
"
个人
"
][
e
[
1
]]))]):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
未审批
"
,
"
审批中
"
,
"
审批通过
"
,
"
审批不通过
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
race_level
"
!==
e
[
0
]
&&
"
level
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
])
+
"
\n
"
)]):
t
.
_e
(),
"
race_level
"
!==
e
[
0
]
&&
"
level
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
(
e
[
1
])
+
"
\n
"
)]):
t
.
_e
()])})),
a
(
"
tr
"
,[
a
(
"
th
"
,[
t
.
_v
(
"
附件:
"
)]),
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},
t
.
_l
(
t
.
data
.
Object
.
file_list
,(
function
(
e
,
i
){
return
a
(
"
a
"
,{
key
:
i
,
staticClass
:
"
aText
"
,
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
},
on
:{
click
:
function
(
a
){
return
t
.
viewFile
(
e
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
file_name
)
+
"
\n
"
)])})),
0
)])],
2
),
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
50vh
"
,
"
overflow-y
"
:
"
auto
"
}},
t
.
_l
(
t
.
competitionsignTeam
,(
function
(
e
,
i
){
return
a
(
"
Card
"
,{
key
:
i
,
staticStyle
:{
"
margin-top
"
:
"
1vw
"
,
width
:
"
100%
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
h3
"
,[
t
.
_v
(
t
.
_s
(
e
.
teanname
)
+
"
(指导教师
"
+
t
.
_s
(
e
.
teacher_list
.
length
)
+
"
位;参赛学生
"
+
t
.
_s
(
e
.
student_list
.
length
)
+
"
位;)
"
)])]},
proxy
:
!
0
}],
null
,
!
0
)},[
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columnsTeacher
,
data
:
e
.
teacher_list
}}),
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columnsStudent
,
data
:
e
.
student_list
}})],
1
)})),
1
)])]):
t
.
_e
(),
"
Certificate
"
===
t
.
form_name
?
a
(
"
Card
"
,{
staticStyle
:{
width
:
"
50%
"
,
"
margin-top
"
:
"
20px
"
,
"
border-radius
"
:
"
20px
"
}},[
a
(
"
div
"
,{
staticClass
:
"
tableList
"
},[
a
(
"
h1
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
t
.
_v
(
"
"
+
t
.
_s
(
t
.
data
.
Object
.
module
))]),
a
(
"
table
"
,{
staticClass
:
"
container1
"
,
attrs
:{
border
:
"
1
"
}},[
t
.
_l
(
t
.
data
.
keyValueArray
,(
function
(
e
,
i
){
return
a
(
"
tr
"
,{
key
:
i
},[
"
level
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
level
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
""
,
"
国家级
"
,
"
省一级
"
,
"
省二级
"
][
e
[
1
]]))]):
t
.
_e
(),
"
race_level
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
race_level
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
""
,
"
国家级
"
,
"
省一级
"
,
"
省二级
"
,
"
国际级
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
team_id
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
team_id
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent teamInfo
"
,
on
:{
click
:
t
.
teamInfo
}},[
t
.
_v
(
"
团队详细
"
)]):
t
.
_e
(),
"
way
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
way
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
"
团队
"
,
"
个人
"
][
e
[
1
]]))]):
t
.
_e
(),
"
competition_type
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
competition_type
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
""
,
"
A类
"
,
"
B类
"
][
e
[
1
]]))]):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
未审批
"
,
"
审批中
"
,
"
审批通过
"
,
"
审批不通过
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
competition
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
competition
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
""
,
"
A类
"
,
"
B类
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
competition_type
"
!==
e
[
0
]
&&
"
competition
"
!==
e
[
0
]
&&
"
team_id
"
!==
e
[
0
]
&&
"
race_level
"
!==
e
[
0
]
&&
"
level
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
])
+
"
\n
"
)]):
t
.
_e
(),
"
competition_type
"
!==
e
[
0
]
&&
"
competition
"
!==
e
[
0
]
&&
"
team_id
"
!==
e
[
0
]
&&
"
race_level
"
!==
e
[
0
]
&&
"
level
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
(
e
[
1
])
+
"
\n
"
)]):
t
.
_e
()])})),
a
(
"
tr
"
,[
a
(
"
th
"
,[
t
.
_v
(
"
附件:
"
)]),
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},
t
.
_l
(
t
.
data
.
Object
.
file_list
,(
function
(
e
,
i
){
return
a
(
"
a
"
,{
key
:
i
,
staticClass
:
"
aText
"
,
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
},
attrs
:{
href
:
e
.
path
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
file_name
)
+
"
\n
"
)])})),
0
)])],
2
)])]):
t
.
_e
(),
"
Bursary
"
===
t
.
form_name
?
a
(
"
Card
"
,{
staticStyle
:{
width
:
"
50%
"
,
"
margin-top
"
:
"
20px
"
,
"
border-radius
"
:
"
20px
"
}},[
a
(
"
div
"
,{
staticClass
:
"
tableList
"
},[
a
(
"
h1
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
t
.
_v
(
"
"
+
t
.
_s
(
t
.
data
.
Object
.
module
))]),
a
(
"
table
"
,{
staticClass
:
"
container1
"
,
attrs
:{
border
:
"
1
"
}},[
t
.
_l
(
t
.
data
.
keyValueArray
,(
function
(
e
,
i
){
return
a
(
"
tr
"
,{
key
:
i
},[
"
level
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
level
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
""
,
"
国家级
"
,
"
省一级
"
,
"
省二级
"
][
e
[
1
]]))]):
t
.
_e
(),
"
race_level
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
race_level
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
""
,
"
国家级
"
,
"
省一级
"
,
"
省二级
"
,
"
国际级
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
way
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
way
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
"
团队
"
,
"
个人
"
][
e
[
1
]]))]):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
未审批
"
,
"
审批中
"
,
"
审批通过
"
,
"
审批不通过
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
race_level
"
!==
e
[
0
]
&&
"
level
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
])
+
"
\n
"
)]):
t
.
_e
(),
"
race_level
"
!==
e
[
0
]
&&
"
level
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
(
e
[
1
])
+
"
\n
"
)]):
t
.
_e
()])})),
a
(
"
tr
"
,[
a
(
"
th
"
,[
t
.
_v
(
"
附件:
"
)]),
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},
t
.
_l
(
t
.
data
.
Object
.
file_list
,(
function
(
e
,
i
){
return
a
(
"
a
"
,{
key
:
i
,
staticClass
:
"
aText
"
,
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
},
attrs
:{
href
:
e
.
path
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
file_name
)
+
"
\n
"
)])})),
0
)])],
2
)])]):
t
.
_e
(),
"
Notice
"
===
t
.
form_name
?
a
(
"
Card
"
,{
staticStyle
:{
width
:
"
50%
"
,
"
margin-top
"
:
"
20px
"
,
"
border-radius
"
:
"
20px
"
}},[
a
(
"
div
"
,{
staticClass
:
"
tableList
"
},[
a
(
"
h1
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
t
.
_v
(
"
"
+
t
.
_s
(
t
.
data
.
Object
.
module
))]),
a
(
"
table
"
,{
staticClass
:
"
container1
"
,
attrs
:{
border
:
"
1
"
}},[
t
.
_l
(
t
.
data
.
keyValueArray
,(
function
(
e
,
i
){
return
a
(
"
tr
"
,{
key
:
i
},[
"
is_top
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
is_top
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
"
否
"
,
"
是
"
][
e
[
1
]]))]):
t
.
_e
(),
"
is_public
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
is_public
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
"
否
"
,
"
是
"
][
e
[
1
]]))]):
t
.
_e
(),
"
content
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
])
+
"
\n
"
)]):
t
.
_e
(),
"
content
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
a
(
"
spin
"
,{
staticStyle
:{
"
max-height
"
:
"
500px
"
,
"
overflow-y
"
:
"
auto
"
},
domProps
:{
innerHTML
:
t
.
_s
(
e
[
1
])}})],
1
):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
未审批
"
,
"
审批中
"
,
"
审批通过
"
,
"
审批不通过
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
content
"
!==
e
[
0
]
&&
"
race_level
"
!==
e
[
0
]
&&
"
is_top
"
!==
e
[
0
]
&&
"
is_public
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
])
+
"
\n
"
)]):
t
.
_e
(),
"
content
"
!==
e
[
0
]
&&
"
race_level
"
!==
e
[
0
]
&&
"
is_top
"
!==
e
[
0
]
&&
"
is_public
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
(
e
[
1
])
+
"
\n
"
)]):
t
.
_e
()])})),
a
(
"
tr
"
,[
a
(
"
th
"
,[
t
.
_v
(
"
附件:
"
)]),
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},
t
.
_l
(
t
.
data
.
Object
.
file_list
,(
function
(
e
,
i
){
return
a
(
"
a
"
,{
key
:
i
,
staticClass
:
"
aText
"
,
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
},
attrs
:{
href
:
e
.
path
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
file_name
)
+
"
\n
"
)])})),
0
)])],
2
)])]):
t
.
_e
(),
a
(
"
div
"
,{
staticStyle
:{
"
overflow-y
"
:
"
auto
"
,
"
box-sizing
"
:
"
border-box
"
,
"
border-top
"
:
"
#1e93ff 0.3vw solid
"
,
width
:
"
15%
"
,
height
:
"
127vh
"
,
"
margin-top
"
:
"
20px
"
,
padding
:
"
3vw 1vw 3vw 1vw
"
,
"
background-color
"
:
"
white
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
a
(
"
Timeline
"
,
t
.
_l
(
t
.
timeLineArray
,(
function
(
e
,
i
){
return
a
(
"
TimelineItem
"
,{
key
:
i
,
attrs
:{
color
:[
"
blue
"
,
"
green
"
][
Number
(
!
e
.
action_name
)]},
scopedSlots
:
t
.
_u
([
Number
(
!!
e
.
action_name
)?{
key
:
"
dot
"
,
fn
:
function
(){
return
[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-checkmark-circle
"
,
color
:
"
#1e93ff
"
}})]},
proxy
:
!
0
}:
null
],
null
,
!
0
)},[
Number
(
!!
e
.
action_name
)?
a
(
"
div
"
,[
a
(
"
h3
"
,{
staticStyle
:{
"
font-family
"
:
"
'宋体'
"
}},[
t
.
_v
(
t
.
_s
(
e
.
node_name
))])]):
a
(
"
div
"
,[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
h3
"
,{
staticStyle
:{
"
font-family
"
:
"
'宋体'
"
}},[
t
.
_v
(
t
.
_s
(
e
.
node_name
))]),
t
.
_v
(
"
(当前节点)
\n
"
)])]),
a
(
"
div
"
,[
e
.
name
?
a
(
"
div
"
,[
t
.
_v
(
"
\n
用户名:
"
),
a
(
"
span
"
,{
staticStyle
:{
color
:
"
#1e93ff
"
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])]):
t
.
_e
(),
e
.
action_name
?
a
(
"
div
"
,[
t
.
_v
(
"
\n
审批动作:
"
),
a
(
"
span
"
,{
staticStyle
:{
color
:
"
#1e93ff
"
}},[
t
.
_v
(
t
.
_s
(
e
.
action_name
))])]):
t
.
_e
()]),
e
.
comment
?
a
(
"
div
"
,[
t
.
_v
(
"
审批意见:
"
+
t
.
_s
(
e
.
comment
))]):
t
.
_e
(),
e
.
approver_time
?
a
(
"
div
"
,[
t
.
_v
(
"
处理时间:
"
+
t
.
_s
(
e
.
approver_time
))]):
t
.
_e
(),
e
.
elapsed_time
?
a
(
"
div
"
,[
t
.
_v
(
"
处理耗时:
"
+
t
.
_s
(
e
.
elapsed_time
))]):
t
.
_e
()])})),
1
)],
1
)],
1
),
a
(
"
div
"
,{
staticClass
:
"
header
"
},[
a
(
"
div
"
,{
staticClass
:
"
h_left
"
}),
a
(
"
div
"
,{
staticClass
:
"
h_content
"
},[
t
.
flowInfo
?
"
流程详细信息
"
===
t
.
flowInfo
?[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
20px
"
,
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
$router
.
back
()}}},[
t
.
_v
(
"
返回
"
)])]:
t
.
_e
():[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
20px
"
,
width
:
"
12vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
$router
.
back
()}}},[
t
.
_v
(
"
返回
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
,
"
margin-right
"
:
"
20px
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
passFlow
}},[
t
.
_v
(
"
通过审批
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
12vw
"
},
attrs
:{
type
:
"
warning
"
},
on
:{
click
:
t
.
revocationFlow
}},[
t
.
_v
(
"
退回流程
"
)])]],
2
),
a
(
"
div
"
,{
staticClass
:
"
h_right
"
})]),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
审批意见
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
}},[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
t
.
cancel
}},[
t
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
loading
:
t
.
btLoad
,
type
:
"
primary
"
},
on
:{
click
:
t
.
ok
}},[
t
.
_v
(
"
确定
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
publicModal
,
callback
:
function
(
e
){
t
.
publicModal
=
e
},
expression
:
"
publicModal
"
}},[
"
revocation
"
===
t
.
publicIdentificatio
?
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
80
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
退回节点
"
,
prop
:
"
publicAction
"
}},[
a
(
"
Select
"
,{
model
:{
value
:
t
.
formValidate
.
publicAction
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
publicAction
"
,
e
)},
expression
:
"
formValidate.publicAction
"
}},
t
.
_l
(
t
.
publicState
.
revocationApporval
,(
function
(
e
,
i
){
return
a
(
"
Option
"
,{
key
:
i
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
)
+
"
\n
"
)])})),
1
)],
1
)],
1
):
t
.
_e
(),
a
(
"
Input
"
,{
attrs
:{
type
:
"
textarea
"
,
autosize
:{
minRows
:
5
,
maxRows
:
10
},
placeholder
:
"
请输入审批意见...
"
},
model
:{
value
:
t
.
publicTextarea
,
callback
:
function
(
e
){
t
.
publicTextarea
=
e
},
expression
:
"
publicTextarea
"
}})],
1
),
a
(
"
Drawer
"
,{
attrs
:{
title
:
"
团队详细
"
,
closable
:
!
1
,
width
:
"
40%
"
},
model
:{
value
:
t
.
teamDrawer
,
callback
:
function
(
e
){
t
.
teamDrawer
=
e
},
expression
:
"
teamDrawer
"
}},[
a
(
"
div
"
,{
staticClass
:
"
demo-drawer-profile
"
},[
a
(
"
Row
"
,{
staticClass
:
"
row
"
},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
t
.
_v
(
"
\n
团队名称:
\n
"
)]),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
drawerObject
.
teamname
)
+
"
\n
"
)])],
1
),
a
(
"
Row
"
,{
staticClass
:
"
row
"
},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
t
.
_v
(
"
\n
人数:
\n
"
)]),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
drawerObject
.
num
)
+
"
人
\n
"
)])],
1
),
a
(
"
Row
"
,{
staticClass
:
"
row
"
},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
t
.
_v
(
"
\n
是否获奖:
\n
"
)]),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
drawerObject
.
is_win
)
+
"
\n
"
)])],
1
)],
1
),
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
drawerColumn
,
data
:
t
.
drawerObject
.
members
}})],
1
),
a
(
"
Drawer
"
,{
attrs
:{
width
:
"
90
"
,
closable
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"
header
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
mix-height
"
:
"
35px
"
,
"
max-height
"
:
"
auto
"
,
position
:
"
relative
"
}},[
a
(
"
h3
"
,{
staticStyle
:{
"
margin-bottom
"
:
"
5px
"
}},[
t
.
_v
(
"
附件预览
"
)]),
t
.
_l
(
t
.
data
.
Object
.
file_list
,(
function
(
e
,
i
){
return
a
(
"
a
"
,{
key
:
i
,
staticClass
:
"
aText
"
,
staticStyle
:{
"
margin-right
"
:
"
3vw
"
},
on
:{
click
:
function
(
a
){
return
t
.
updateViewFile
(
e
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
file_name
)
+
"
\n
"
)])}))],
2
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
drawerPreview
,
callback
:
function
(
e
){
t
.
drawerPreview
=
e
},
expression
:
"
drawerPreview
"
}},[
t
.
src
&&
"
office
"
===
t
.
fileType
?
a
(
"
VueDocPreview
"
,{
key
:
t
.
viewFileUpdataKeys
,
attrs
:{
value
:
t
.
src
,
url
:
t
.
src
,
language
:
"
JavaScript
"
,
type
:
"
office
"
}}):
t
.
_e
(),
t
.
src
&&
"
image
"
===
t
.
fileType
?
a
(
"
i-frame
"
,{
key
:
t
.
viewFileUpdataKeys
,
attrs
:{
src
:
t
.
src
}}):
t
.
_e
()],
1
)],
1
)},
s
=
[],
n
=
(
a
(
"
2fdb
"
),
a
(
"
ffc1
"
),
a
(
"
6762
"
),
a
(
"
ac6a
"
),
a
(
"
456d
"
),
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
r
=
a
(
"
967e
"
),
o
=
a
.
n
(
r
),
c
=
a
(
"
61be
"
),
l
=
a
(
"
7f6b
"
),
p
=
a
(
"
5ccc
"
),
_
=
{
components
:{},
data
:
function
(){
return
{
btLoad
:
!
1
,
viewFileUpdataKeys
:
1
,
split
:.
7
,
drawerPreview
:
!
1
,
fileType
:
""
,
src
:
""
,
columnsStudent
:[{
title
:
"
参赛学生
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
学号
"
,
minWidth
:
120
,
key
:
"
card_name
"
},{
title
:
"
身份证号
"
,
minWidth
:
180
,
key
:
"
sfzh
"
},{
title
:
"
班级
"
,
minWidth
:
150
,
key
:
"
classname
"
},{
title
:
"
性别
"
,
minWidth
:
80
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
columnsTeacher
:[{
title
:
"
指导教师
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
工号
"
,
minWidth
:
120
,
key
:
"
card_name
"
},{
title
:
"
身份证号
"
,
minWidth
:
180
,
key
:
"
sfzh
"
},{
title
:
"
教学院系
"
,
minWidth
:
150
,
key
:
"
dept
"
},{
title
:
"
性别
"
,
minWidth
:
80
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
competitionsignTeam
:[],
flowInfo
:
""
,
publicIdentificatio
:
""
,
publicTextarea
:
""
,
formValidate
:{
publicAction
:
""
},
ruleValidate
:{
publicAction
:[{
required
:
!
0
,
type
:
"
number
"
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}]},
publicModal
:
!
1
,
data
:{
keyValueArray
:[],
Object
:{}},
runid
:
""
,
form_name
:
""
,
promiseAllArray
:[],
drawerObject
:{},
teamDrawer
:
!
1
,
drawerColumn
:[{
title
:
"
姓名
"
,
key
:
"
name
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
成员工号
"
,
key
:
"
card_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
是否为教师
"
,
key
:
"
is_tea
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
是否为指导教师
"
,
key
:
"
is_lead
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
班级
"
,
key
:
"
classname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
部门
"
,
key
:
"
dept
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
}],
drawerData
:[],
timeLineArray
:[]}},
computed
:{
publicState
:
function
(){
return
p
[
"
a
"
]}},
watch
:{},
methods
:{
updateViewFile
:
function
(
t
){
var
e
=
this
,
a
=
function
(
t
,
a
){
e
.
src
=
window
.
location
.
protocol
+
"
//
"
+
window
.
location
.
host
+
a
.
path
,
e
.
fileType
=
t
,
e
.
viewFileUpdataKeys
++
};
"
.jpg
"
===
t
.
suffix
||
"
.jpeg
"
===
t
.
suffix
||
"
.png
"
===
t
.
suffix
||
"
.pdf
"
===
t
.
suffix
?
a
(
"
image
"
,
t
):
"
.doc
"
!==
t
.
suffix
&&
"
.docx
"
!==
t
.
suffix
&&
"
.xls
"
!==
t
.
suffix
&&
"
.xlsx
"
!==
t
.
suffix
||
a
(
"
office
"
,
t
)},
viewFile
:
function
(
t
){
var
e
=
this
,
a
=
function
(
t
,
a
){
e
.
src
=
window
.
location
.
protocol
+
"
//
"
+
window
.
location
.
host
+
a
.
path
,
e
.
fileType
=
t
,
e
.
drawerPreview
=!
0
};
"
.jpg
"
===
t
.
suffix
||
"
.jpeg
"
===
t
.
suffix
||
"
.png
"
===
t
.
suffix
||
"
.pdf
"
===
t
.
suffix
?
a
(
"
image
"
,
t
):
"
.doc
"
!==
t
.
suffix
&&
"
.docx
"
!==
t
.
suffix
&&
"
.xls
"
!==
t
.
suffix
&&
"
.xlsx
"
!==
t
.
suffix
||
a
(
"
office
"
,
t
)},
GetFlowLogList
:
function
(
t
){
var
e
=
this
;
c
[
"
a
"
]((
function
(){
l
[
"
L
"
]({
form_id
:
t
}).
then
((
function
(
t
){
console
.
log
(
"
🚀🚀resres🚀,
"
,
t
),
e
.
timeLineArray
=
t
.
response
}))}))},
teamInfo
:
function
(){
var
t
=
Object
(
n
[
"
a
"
])(
o
.
a
.
mark
((
function
t
(){
var
e
;
return
o
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
t
.
next
=
3
,
l
[
"
ub
"
]({
teamid
:
this
.
data
.
Object
.
certificate
.
team_id
});
case
3
:
e
=
t
.
sent
,
this
.
drawerObject
=
e
.
response
,
c
[
"
e
"
](
e
),
this
.
teamDrawer
=!
0
;
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
ok
:
function
(){
var
t
=
Object
(
n
[
"
a
"
])(
o
.
a
.
mark
((
function
t
(){
var
e
,
a
,
i
=
this
;
return
o
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
this
.
btLoad
=!
0
,
e
=
{
taskid
:
this
.
data
.
Object
.
taskid
,
remark
:
this
.
publicTextarea
},
t
.
t0
=
this
.
publicIdentificatio
,
t
.
next
=
"
pass
"
===
t
.
t0
?
5
:
"
revocation
"
===
t
.
t0
?
13
:
15
;
break
;
case
5
:
return
t
.
next
=
7
,
l
[
"
h
"
](
e
);
case
7
:
return
a
=
t
.
sent
,
this
.
btLoad
=!
1
,
c
[
"
e
"
](
a
),
this
.
publicModal
=!
1
,
1
===
a
.
code
&&
setTimeout
((
function
(){
localStorage
.
setItem
(
"
updataEvent
"
,
"
getDataEvent
"
),
i
.
$router
.
back
()}),
1500
),
t
.
abrupt
(
"
break
"
,
15
);
case
13
:
return
this
.
$refs
.
formValidate
.
validate
(
function
(){
var
t
=
Object
(
n
[
"
a
"
])(
o
.
a
.
mark
((
function
t
(
a
){
var
s
;
return
o
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
a
){
t
.
next
=
7
;
break
}
return
e
.
action
=
i
.
formValidate
.
publicAction
,
t
.
next
=
4
,
l
[
"
t
"
](
e
);
case
4
:
s
=
t
.
sent
,
1
===
s
.
code
?(
c
[
"
e
"
](
s
),
i
.
publicModal
=!
1
,
setTimeout
((
function
(){
localStorage
.
setItem
(
"
updataEvent
"
,
"
getDataEvent
"
),
i
.
$router
.
back
()}),
1500
)):(
i
.
btLoad
=!
1
,
i
.
$Message
.
error
(
s
.
msg_detail
)),
i
.
btLoad
=!
1
;
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}()),
t
.
abrupt
(
"
break
"
,
15
);
case
15
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
cancel
:
function
(){
this
.
publicModal
=!
1
},
cancelFlow
:
function
(){
var
t
=
Object
(
n
[
"
a
"
])(
o
.
a
.
mark
((
function
t
(){
var
e
,
a
;
return
o
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
e
=
{
runid
:
this
.
runid
},
t
.
next
=
4
,
l
[
"
j
"
](
e
);
case
4
:
a
=
t
.
sent
,
1
===
a
.
code
?
c
[
"
e
"
](
a
):(
this
.
$Spin
.
hide
(),
this
.
$Message
.
error
(
a
.
msg_detail
));
case
6
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
revocationFlow
:
function
(){
this
.
publicTextarea
=
""
,
this
.
publicIdentificatio
=
"
revocation
"
,
this
.
formValidate
.
publicAction
&&
this
.
$refs
[
"
formValidate
"
].
resetFields
(),
this
.
publicModal
=!
0
},
passFlow
:
function
(){
this
.
publicTextarea
=
""
,
this
.
publicIdentificatio
=
"
pass
"
,
this
.
publicModal
=!
0
},
getInitList
:
function
(){
var
t
=
Object
(
n
[
"
a
"
])(
o
.
a
.
mark
((
function
t
(){
var
e
,
a
,
i
,
s
,
n
,
r
,
c
,
p
,
_
,
d
,
u
,
f
,
m
,
v
=
this
;
return
o
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
e
=
function
(
t
){
1
!==
t
.
code
&&
(
v
.
$Spin
.
hide
(),
v
.
$Message
.
error
(
"
无数据
"
))},
t
.
t0
=
this
.
form_name
,
t
.
next
=
"
CompetitionReport
"
===
t
.
t0
?
4
:
"
CompetitionSign
"
===
t
.
t0
?
19
:
"
Certificate
"
===
t
.
t0
?
35
:
"
Bursary
"
===
t
.
t0
?
57
:
"
Notice
"
===
t
.
t0
?
73
:
89
;
break
;
case
4
:
return
this
.
$Spin
.
show
(),
a
=
{
runid
:
this
.
runid
},
t
.
next
=
8
,
l
[
"
K
"
](
a
);
case
8
:
return
i
=
t
.
sent
,
console
.
log
(
"
🚀🚀🚀,
"
,
i
),
this
.
GetFlowLogList
(
i
.
response
.
competition_report
.
competitionreportid
),
e
(
i
),
this
.
data
.
Object
=
i
.
response
,
s
=
[
"
competitionname
"
,
"
sponsor
"
,
"
way
"
,
"
dept
"
,
"
competitionsubitem_name
"
,
"
report_code
"
,
"
competitionbatch_name
"
,
"
competition_type_name
"
,
"
competition_level_name
"
],
Object
.
keys
(
i
.
response
.
competition_report
).
map
((
function
(
t
){
return
s
.
includes
(
t
)?
""
:
delete
i
.
response
.
competition_report
[
t
]})),
this
.
data
.
keyValueArray
=
Object
.
entries
(
i
.
response
.
competition_report
),
this
.
data
.
keyValueArray
.
map
((
function
(
t
,
e
){
var
a
=
[
"
赛事名称
"
,
"
主办单位
"
,
"
比赛形式
"
,
"
教学单位
"
,
"
赛项名称
"
,
"
赛事编码
"
,
"
学年名称
"
,
"
赛事类型
"
,
"
赛事级别
"
,
"
相关专业
"
];
t
.
push
(
a
[
e
])})),
this
.
$Spin
.
hide
(),
t
.
abrupt
(
"
break
"
,
89
);
case
19
:
return
this
.
$Spin
.
show
(),
n
=
{
runid
:
this
.
runid
},
t
.
next
=
23
,
l
[
"
K
"
](
n
);
case
23
:
return
r
=
t
.
sent
,
this
.
GetFlowLogList
(
r
.
response
.
competition_sign
.
competitionsignid
),
e
(
r
),
this
.
data
.
Object
=
r
.
response
,
this
.
data
.
competitionsignid
=
r
.
response
.
competition_sign
.
competitionsignid
,
l
[
"
gc
"
]({
signid
:
r
.
response
.
competition_sign
.
competitionsignid
}).
then
((
function
(
t
){
v
.
competitionsignTeam
=
t
.
response
})),
c
=
[
"
competitionname
"
,
"
sponsor
"
,
"
way
"
,
"
class_hour
"
,
"
end_time
"
,
"
competitionsubitem_name
"
,
"
report_code
"
,
"
competition_type_name
"
,
"
competition_level_name
"
,
"
begin_time
"
,
"
money
"
],
Object
.
keys
(
r
.
response
.
competition_sign
).
map
((
function
(
t
){
-
1
===
c
.
indexOf
(
t
)
&&
delete
r
.
response
.
competition_sign
[
t
]})),
this
.
data
.
keyValueArray
=
Object
.
entries
(
r
.
response
.
competition_sign
),
this
.
data
.
keyValueArray
.
map
((
function
(
t
,
e
){
var
a
=
[
"
赛事编号
"
,
"
赛事名称
"
,
"
赛项名称
"
,
"
主办单位
"
,
"
赛事级别
"
,
"
赛事类别
"
,
"
参赛形式
"
,
"
比赛开始时间
"
,
"
比赛结束时间
"
,
"
经费预算
"
,
"
计划培训课时
"
];
t
.
push
(
a
[
e
])})),
this
.
$Spin
.
hide
(),
t
.
abrupt
(
"
break
"
,
89
);
case
35
:
return
this
.
$Spin
.
show
(),
p
=
{
runid
:
this
.
runid
},
t
.
next
=
39
,
l
[
"
K
"
](
p
);
case
39
:
return
_
=
t
.
sent
,
this
.
GetFlowLogList
(
_
.
response
.
certificate
.
certificateid
),
e
(
_
),
this
.
data
.
Object
=
_
.
response
,
delete
_
.
response
.
certificate
.
certificateid
,
delete
_
.
response
.
certificate
.
certificate_file
,
delete
_
.
response
.
certificate
.
approval_remark
,
delete
_
.
response
.
certificate
.
competitionreportid
,
delete
_
.
response
.
certificate
.
createtime
,
delete
_
.
response
.
certificate
.
certificate_description
,
delete
_
.
response
.
certificate
.
competitionsubitem_id
,
delete
_
.
response
.
certificate
.
money
,
delete
_
.
response
.
certificate
.
team_id
,
delete
_
.
response
.
certificate
.
certificate_name
,
this
.
data
.
keyValueArray
=
Object
.
entries
(
_
.
response
.
certificate
),
this
.
data
.
keyValueArray
.
map
((
function
(
t
,
e
){
var
a
=
[
"
赛事名称
"
,
"
主办单位
"
,
"
赛事级别
"
,
"
审批状态
"
,
"
竞赛类别
"
,
"
比赛开始时间
"
,
"
比赛结束时间
"
,
"
赛项名称
"
,
"
竞赛形式
"
,
"
申请人
"
];
t
.
push
(
a
[
e
])})),
this
.
$Spin
.
hide
(),
t
.
abrupt
(
"
break
"
,
89
);
case
57
:
return
this
.
$Spin
.
show
(),
d
=
{
runid
:
this
.
runid
},
t
.
next
=
61
,
l
[
"
K
"
](
d
);
case
61
:
return
u
=
t
.
sent
,
this
.
GetFlowLogList
(
u
.
response
.
bursary
.
competitionreportid
),
e
(
u
),
this
.
data
.
Object
=
u
.
response
,
delete
u
.
response
.
bursary
.
bursaryid
,
delete
u
.
response
.
bursary
.
grant_file
,
delete
u
.
response
.
bursary
.
competitionreportid
,
delete
u
.
response
.
bursary
.
approval_remark
,
this
.
data
.
keyValueArray
=
Object
.
entries
(
u
.
response
.
bursary
),
this
.
data
.
keyValueArray
.
map
((
function
(
t
,
e
){
var
a
=
[
"
姓名
"
,
"
性别
"
,
"
学号/工号
"
,
"
身份证
"
,
"
专业/班级
"
,
"
竞赛名称
"
,
"
竞赛文件名
"
,
"
竞赛类别
"
,
"
补助时间
"
,
"
补助金额
"
,
"
计划集训时间
"
,
"
实际集训起止时间
"
,
"
参赛具体情况
"
,
"
创建时间
"
,
"
审批状态
"
];
t
.
push
(
a
[
e
])})),
this
.
$Spin
.
hide
(),
t
.
abrupt
(
"
break
"
,
89
);
case
73
:
return
this
.
$Spin
.
show
(),
f
=
{
runid
:
this
.
runid
},
t
.
next
=
77
,
l
[
"
K
"
](
f
);
case
77
:
return
m
=
t
.
sent
,
e
(
m
),
this
.
data
.
Object
=
m
.
response
,
delete
m
.
response
.
notice
.
noticeid
,
delete
m
.
response
.
notice
.
typeid
,
delete
m
.
response
.
notice
.
grant_file
,
delete
m
.
response
.
notice
.
createtime
,
delete
m
.
response
.
notice
.
competitionreportid
,
this
.
data
.
keyValueArray
=
Object
.
entries
(
m
.
response
.
notice
),
this
.
data
.
keyValueArray
.
map
((
function
(
t
,
e
){
var
a
=
[
"
公告标题
"
,
"
公告类型
"
,
"
发布时间
"
,
"
发布用户
"
,
"
修改人
"
,
"
修改时间
"
,
"
是否置顶
"
,
"
是否发布
"
,
"
审批状态
"
,
"
公告内容
"
];
t
.
push
(
a
[
e
])})),
this
.
$Spin
.
hide
(),
t
.
abrupt
(
"
break
"
,
89
);
case
89
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
runid
=
this
.
$route
.
query
.
runid
,
this
.
form_name
=
this
.
$route
.
query
.
form_name
,
this
.
flowInfo
=
this
.
$route
.
query
.
flowInfo
,
this
.
getInitList
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
d
=
_
,
u
=
(
a
(
"
8cc0
"
),
a
(
"
2877
"
)),
f
=
Object
(
u
[
"
a
"
])(
d
,
i
,
s
,
!
1
,
null
,
"
2ec05960
"
,
null
);
e
[
"
default
"
]
=
f
.
exports
},
"
504c
"
:
function
(
t
,
e
,
a
){
var
i
=
a
(
"
9e1e
"
),
s
=
a
(
"
0d58
"
),
n
=
a
(
"
6821
"
),
r
=
a
(
"
52a7
"
).
f
;
t
.
exports
=
function
(
t
){
return
function
(
e
){
var
a
,
o
=
n
(
e
),
c
=
s
(
o
),
l
=
c
.
length
,
p
=
0
,
_
=
[];
while
(
l
>
p
)
a
=
c
[
p
++
],
i
&&!
r
.
call
(
o
,
a
)
||
_
.
push
(
t
?[
a
,
o
[
a
]]:
o
[
a
]);
return
_
}}},
"
8cc0
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
aafc
"
)},
aafc
:
function
(
t
,
e
,
a
){},
ffc1
:
function
(
t
,
e
,
a
){
var
i
=
a
(
"
5ca1
"
),
s
=
a
(
"
504c
"
)(
!
0
);
i
(
i
.
S
,
"
Object
"
,{
entries
:
function
(
t
){
return
s
(
t
)}})}}]);
\ No newline at end of file
dist/js/chunk-0b899d19.d29c9f59.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-0b899d19
"
],{
bbca
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
(
"
edf6
"
)},
e8c1
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
height
:
"
30px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
h3
"
,[
e
.
_v
(
"
我的流程列表
"
)])])]},
proxy
:
!
0
}])},[
n
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
todo
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
e
.
_l
(
a
.
todo
,(
function
(
t
,
a
){
return
n
(
"
span
"
,{
key
:
a
},[
e
.
_v
(
e
.
_s
(
t
.
replace
(
"
[
"
,
""
).
replace
(
"
]
"
,
""
).
replace
(
'
"
'
,
""
)))])}))}},{
key
:
"
partcipant
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
e
.
_l
(
a
.
partcipant
,(
function
(
t
,
a
){
return
n
(
"
span
"
,{
key
:
a
},[
e
.
_v
(
e
.
_s
(
t
.
replace
(
"
[
"
,
""
).
replace
(
"
]
"
,
""
).
replace
(
'
"
'
,
""
)))])}))}},{
key
:
"
status
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
草稿
"
,
"
运行中
"
,
"
已结束
"
][
n
.
status
])
+
"
\n
"
)]}},{
key
:
"
action_type
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
n
(
"
Tag
"
,{
attrs
:{
color
:
e
.
publicState
.
completeFlow
.
color
[
a
.
action_type
]}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
publicState
.
completeFlow
.
action_type
[
a
.
action_type
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
2
===
a
.
status
?
n
(
"
a
"
,{
key
:
e
.
cancelKey
,
staticClass
:
"
cancel
"
,
staticStyle
:{
"
margin-right
"
:
"
15px
"
}},[
e
.
_v
(
"
取消
"
)]):
n
(
"
a
"
,{
key
:
e
.
cancelKey
,
staticStyle
:{
"
margin-right
"
:
"
15px
"
,
color
:
"
red
"
},
on
:{
click
:
function
(
t
){
return
e
.
flowCancel
(
a
)}}},[
e
.
_v
(
"
取消
"
)]),
n
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
approvalLisFun
(
a
)}}},[
e
.
_v
(
"
详细
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
key
:
e
.
pageKey
,
attrs
:{
total
:
e
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
},
model
:{
value
:
e
.
init
.
page_index
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
)],
1
)},
i
=
[],
r
=
(
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
o
=
n
(
"
967e
"
),
s
=
n
.
n
(
o
),
c
=
n
(
"
61be
"
),
l
=
n
(
"
7f6b
"
),
u
=
{
name
:
"
list
"
,
data
:
function
(){
return
{
cancelKey
:
1
,
formData
:{
name
:
""
,
url
:
""
,
owner
:
""
,
type
:
""
,
approver
:
""
,
date
:
""
,
desc
:
""
},
approvalDrawer
:
!
1
,
formValidate
:{
runid
:
""
,
title
:
""
,
flow_name
:
""
,
flow_id
:
""
,
status
:
0
,
action_type
:
0
,
starter
:
""
,
starter_name
:
""
,
start_time
:
""
,
current_node_id
:
""
,
current_node_name
:
""
,
todo
:
""
,
partcipant
:
""
,
modifyby
:
""
,
modifytime
:
""
,
form_id
:
""
,
form_name
:
""
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
标题
"
,
key
:
"
title
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
300
},{
title
:
"
流程名称
"
,
key
:
"
flow_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
状态
"
,
slot
:
"
status
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
操作类型
"
,
slot
:
"
action_type
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
当前节点名称
"
,
key
:
"
current_node_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
当前节点待办人员
"
,
slot
:
"
todo
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
参与人
"
,
slot
:
"
partcipant
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发起人
"
,
key
:
"
starter
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
发起人姓名
"
,
key
:
"
starter_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
发起时间
"
,
key
:
"
start_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
page_index
:
1
,
page_size
:
10
,
total
:
0
},
pageKey
:
1
}},
created
:
function
(){},
mounted
:
function
(){
this
.
GetFlowTaskList
()},
methods
:{
GetFlowTaskList
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
e
.
next
=
4
,
l
[
"
W
"
](
t
);
case
4
:
n
=
e
.
sent
,
this
.
init
.
total
=
n
.
response
.
data_count
,
this
.
tableData
=
n
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
flowCancel
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
c
[
"
d
"
](
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
[
"
j
"
]({
runid
:
t
.
runid
});
case
2
:
return
a
=
e
.
sent
,
n
.
cancelKey
++
,
c
[
"
e
"
](
a
),
e
.
next
=
7
,
n
.
GetFlowTaskList
();
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
approvalLisFun
:
function
(
e
){
this
.
$router
.
push
({
name
:
"
awaitDoneInformation
"
,
query
:{
runid
:
e
.
runid
,
form_name
:
e
.
form_name
,
flowInfo
:
"
流程详细信息
"
}}),
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetFlowTaskList
()},
handleChangePageSize
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
GetFlowTaskList
()}}},
d
=
u
,
p
=
(
n
(
"
bbca
"
),
n
(
"
2877
"
)),
h
=
Object
(
p
[
"
a
"
])(
d
,
a
,
i
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
h
.
exports
},
edf6
:
function
(
e
,
t
,
n
){}}]);
\ No newline at end of file
dist/js/chunk-0f7ca099.ff626e9c.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-0f7ca099
"
],{
"
1f77
"
:
function
(
t
,
e
,
n
){},
"
386d
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
var
a
=
n
(
"
cb7c
"
),
i
=
n
(
"
83a1
"
),
s
=
n
(
"
5f1b
"
);
n
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
n
,
r
){
return
[
function
(
n
){
var
a
=
t
(
this
),
i
=
void
0
==
n
?
void
0
:
n
[
e
];
return
void
0
!==
i
?
i
.
call
(
n
,
a
):
new
RegExp
(
n
)[
e
](
String
(
a
))},
function
(
t
){
var
e
=
r
(
n
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
l
=
a
(
t
),
o
=
String
(
this
),
c
=
l
.
lastIndex
;
i
(
c
,
0
)
||
(
l
.
lastIndex
=
0
);
var
u
=
s
(
l
,
o
);
return
i
(
l
.
lastIndex
,
c
)
||
(
l
.
lastIndex
=
c
),
null
===
u
?
-
1
:
u
.
index
}]}))},
"
504c
"
:
function
(
t
,
e
,
n
){
var
a
=
n
(
"
9e1e
"
),
i
=
n
(
"
0d58
"
),
s
=
n
(
"
6821
"
),
r
=
n
(
"
52a7
"
).
f
;
t
.
exports
=
function
(
t
){
return
function
(
e
){
var
n
,
l
=
s
(
e
),
o
=
i
(
l
),
c
=
o
.
length
,
u
=
0
,
p
=
[];
while
(
c
>
u
)
n
=
o
[
u
++
],
a
&&!
r
.
call
(
l
,
n
)
||
p
.
push
(
t
?[
n
,
l
[
n
]]:
l
[
n
]);
return
p
}}},
"
76aa
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
r
(
e
);
var
a
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
height
:
"
80px
"
}},[
n
(
"
h3
"
,[
t
.
_v
(
"
报名列表
"
)]),
n
(
"
Row
"
,{
staticStyle
:{
"
margin-top
"
:
"
30px
"
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
t
.
_v
(
"
\n
参与方式:
\n
"
),
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
model
:{
value
:
t
.
search
.
way
,
callback
:
function
(
e
){
t
.
$set
(
t
.
search
,
"
way
"
,
e
)},
expression
:
"
search.way
"
}},
t
.
_l
(
t
.
search
.
wayArray
,(
function
(
e
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
"
"
+
t
.
_s
(
e
.
label
)
+
"
\n
"
)])})),
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
n
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
center
"
}},[
t
.
_v
(
"
\n
竞赛等级:
\n
"
),
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
model
:{
value
:
t
.
search
.
level
,
callback
:
function
(
e
){
t
.
$set
(
t
.
search
,
"
level
"
,
e
)},
expression
:
"
search.level
"
}},
t
.
_l
(
t
.
search
.
levelArray
,(
function
(
e
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
"
"
+
t
.
_s
(
e
.
name
)
+
"
\n
"
)])})),
1
)],
1
)]),
n
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
n
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
flex-end
"
}},[
t
.
_v
(
"
\n
审批状态:
\n
"
),
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
model
:{
value
:
t
.
search
.
approval_state
,
callback
:
function
(
e
){
t
.
$set
(
t
.
search
,
"
approval_state
"
,
e
)},
expression
:
"
search.approval_state
"
}},
t
.
_l
(
t
.
search
.
approval_stateArray
,(
function
(
e
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
label
)
+
"
\n
"
)])})),
1
)],
1
)])],
1
)],
1
)]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
n
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
},
attrs
:{
placeholder
:
"
请输入竞赛名称...
"
},
model
:{
value
:
t
.
search
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
search
,
"
name
"
,
e
)},
expression
:
"
search.name
"
}}),
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
t
.
searchButton
},
on
:{
click
:
t
.
searchFun
}},[
t
.
_v
(
"
查找
"
)])]},
proxy
:
!
0
}])},[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
tableData
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
way
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
a
.
way
]}},[
t
.
_v
(
t
.
_s
([
"
团队
"
,
"
个人
"
][
a
.
way
]))])]}},{
key
:
"
approval_state
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Tag
"
,{
attrs
:{
color
:
t
.
publicState
.
flowApprovalState
.
color
[
a
.
approval_state
]}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
publicState
.
flowApprovalState
[
a
.
approval_state
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
edit
(
a
)}}},[
t
.
_v
(
"
详细
"
)]),
n
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
a
)},
"
on-cancel
"
:
t
.
cancel
}},[
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)])])]}}])},[
t
.
_v
(
"
\n
>
\n
"
)]),
n
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
key
:
t
.
pageKey
,
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
),
n
(
"
Drawer
"
,{
attrs
:{
width
:
800
,
title
:
"
详细
"
,
closable
:
!
0
},
model
:{
value
:
t
.
drawer
,
callback
:
function
(
e
){
t
.
drawer
=
e
},
expression
:
"
drawer
"
}},[
n
(
"
div
"
,{
staticClass
:
"
tableList
"
},[
n
(
"
h1
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
t
.
_v
(
"
竞赛报名内容详细
"
)]),
n
(
"
table
"
,{
staticClass
:
"
container1
"
,
attrs
:{
border
:
1
}},
t
.
_l
(
t
.
drawerKeyValueArray
,(
function
(
e
,
a
){
return
n
(
"
tr
"
,{
key
:
a
,
staticClass
:
"
row
"
},[
"
level
"
===
e
[
0
]?
n
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
level
"
===
e
[
0
]?
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
""
,
"
国家级
"
,
"
省一级
"
,
"
省二级
"
][
e
[
1
]]))]):
t
.
_e
(),
"
way
"
===
e
[
0
]?
n
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
way
"
===
e
[
0
]?
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
"
团队
"
,
"
个人
"
][
e
[
1
]]))]):
t
.
_e
(),
"
race_level
"
===
e
[
0
]?
n
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
race_level
"
===
e
[
0
]?
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
""
,
"
国家级
"
,
"
省一级
"
,
"
省二级
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
n
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
未审批
"
,
"
审批中
"
,
"
审批通过
"
,
"
审批不通过
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
projectInfo
"
!==
e
[
0
]
&&
"
trainPlanInfo
"
!==
e
[
0
]
&&
"
level
"
!==
e
[
0
]
&&
"
race_level
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
n
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
])
+
"
\n
"
)]):
t
.
_e
(),
"
projectInfo
"
!==
e
[
0
]
&&
"
trainPlanInfo
"
!==
e
[
0
]
&&
"
level
"
!==
e
[
0
]
&&
"
race_level
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
(
e
[
1
])
+
"
\n
"
)]):
t
.
_e
(),
"
trainPlanInfo
"
===
e
[
0
]?
n
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
trainPlanInfo
"
===
e
[
0
]?
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},
t
.
_l
(
e
[
1
],(
function
(
e
,
a
){
return
n
(
"
a
"
,{
key
:
a
,
staticClass
:
"
aText
"
,
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
},
attrs
:{
href
:
e
.
path
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
file_name
)
+
"
\n
"
)])})),
0
):
t
.
_e
(),
"
projectInfo
"
===
e
[
0
]?
n
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
projectInfo
"
===
e
[
0
]?
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},
t
.
_l
(
e
[
1
],(
function
(
e
,
a
){
return
n
(
"
a
"
,{
key
:
a
,
staticClass
:
"
aText
"
,
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
},
attrs
:{
href
:
e
.
path
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
file_name
)
+
"
\n
"
)])})),
0
):
t
.
_e
()])})),
0
),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
50vh
"
,
"
overflow-y
"
:
"
auto
"
}},
t
.
_l
(
t
.
competitionsignTeam
,(
function
(
e
,
a
){
return
n
(
"
Card
"
,{
key
:
a
,
staticStyle
:{
"
margin-top
"
:
"
1vw
"
,
width
:
"
100%
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
h3
"
,[
t
.
_v
(
t
.
_s
(
e
.
teanname
)
+
"
(指导教师
"
+
t
.
_s
(
e
.
teacher_list
.
length
)
+
"
位;参赛学生
"
+
t
.
_s
(
e
.
student_list
.
length
)
+
"
位;)
"
)])]},
proxy
:
!
0
}],
null
,
!
0
)},[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columnsTeacher
,
data
:
e
.
teacher_list
}}),
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columnsStudent
,
data
:
e
.
student_list
}})],
1
)})),
1
)])]),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
文件导出
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
importModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
importModal
,
callback
:
function
(
e
){
t
.
importModal
=
e
},
expression
:
"
importModal
"
}},[
t
.
importLoading
?
n
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
t
.
_e
(),
n
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},
t
.
_l
(
t
.
fileObject
,(
function
(
e
,
a
){
return
n
(
"
Button
"
,{
key
:
a
,
attrs
:{
icon
:
"
md-log-in
"
},
on
:{
click
:
function
(
n
){
return
t
.
importButton
(
e
[
1
])}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
[
2
])
+
"
\n
"
)])})),
1
)],
1
)],
1
)},
i
=
[],
s
=
(
n
(
"
456d
"
),
n
(
"
ac6a
"
),
n
(
"
ffc1
"
),
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
r
=
(
n
(
"
7f7f
"
),
n
(
"
386d
"
),
n
(
"
967e
"
)),
l
=
n
.
n
(
r
),
o
=
n
(
"
61be
"
),
c
=
n
(
"
7f6b
"
),
u
=
n
(
"
2ef0
"
),
p
=
n
.
n
(
u
),
h
=
{
name
:
"
list
"
,
data
:
function
(){
return
{
keys1
:
1
,
columnsStudent
:[{
title
:
"
参赛学生
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
学号
"
,
minWidth
:
120
,
key
:
"
card_name
"
},{
title
:
"
身份证号
"
,
minWidth
:
180
,
key
:
"
sfzh
"
},{
title
:
"
班级
"
,
minWidth
:
150
,
key
:
"
classname
"
},{
title
:
"
性别
"
,
minWidth
:
80
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
columnsTeacher
:[{
title
:
"
指导教师
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
工号
"
,
minWidth
:
120
,
key
:
"
card_name
"
},{
title
:
"
身份证号
"
,
minWidth
:
180
,
key
:
"
sfzh
"
},{
title
:
"
教学院系
"
,
minWidth
:
150
,
key
:
"
dept
"
},{
title
:
"
性别
"
,
minWidth
:
80
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
competitionsignTeam
:[],
drawerKeyValueArray
:[],
drawer
:
!
1
,
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
赛项
"
,
key
:
"
competitionsubitem_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
赛事编号
"
,
key
:
"
report_code
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
主办单位
"
,
key
:
"
sponsor
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
经费预算
"
,
key
:
"
money
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事级别
"
,
key
:
"
competition_level_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
赛事类别
"
,
key
:
"
competition_type_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
竞赛形式(团/个)
"
,
slot
:
"
way
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
计划培训量
"
,
key
:
"
class_hour
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
竞赛开始时间
"
,
key
:
"
begin_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
竞赛结束时间
"
,
key
:
"
end_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
审批状态
"
,
slot
:
"
approval_state
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
search
:{
way
:
""
,
name
:
""
,
approval_state
:
""
,
level
:
""
,
wayCurrentValue
:
""
,
nameCurrentValue
:
""
,
approval_stateCurrentValue
:
""
,
levelCurrentValue
:
""
,
approval_stateArray
:[{
value
:
0
,
label
:
"
未审批
"
},{
value
:
1
,
label
:
"
审批中
"
},{
value
:
2
,
label
:
"
审批通过
"
},{
value
:
3
,
label
:
"
审批不通过
"
}],
levelArray
:[],
wayArray
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}]},
init
:{
page_index
:
1
,
page_size
:
10
,
total
:
0
},
pageKey
:
1
,
importLoading
:
!
1
,
importModal
:
!
1
,
fileObject
:[]}},
created
:
function
(){},
computed
:{
searchButton
:
function
(){
return
""
===
this
.
search
.
way
&&
""
===
this
.
search
.
level
&&
""
===
this
.
search
.
name
&&
""
===
this
.
search
.
approval_state
}},
mounted
:
function
(){
this
.
getCompetitionSignList
(),
this
.
GetLevelBySelect
()},
methods
:{
GetLevelBySelect
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
c
[
"
T
"
]();
case
2
:
e
=
t
.
sent
,
this
.
search
.
levelArray
=
e
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
importButton
:
function
(
t
){
window
.
open
(
t
,
"
_blank
"
)},
importFile
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
){
var
n
,
a
,
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
importModal
=!
0
,
this
.
importLoading
=!
0
,
t
.
next
=
5
,
c
[
"
cc
"
]({
id
:
e
.
competitionsignid
});
case
5
:
n
=
t
.
sent
;
try
{
delete
n
.
response
.
response
.
file_name
,
a
=
Object
.
entries
(
n
.
response
.
response
),
i
=
[
"
PDF导出
"
,
"
Word导出
"
],
a
.
map
((
function
(
t
,
e
){
t
.
push
(
i
[
e
])})),
this
.
fileObject
=
a
,
this
.
importLoading
=!
1
}
catch
(
s
){
this
.
importLoading
=!
1
}
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
delCompetition
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
{
id
:
e
.
competitionsignid
},
t
.
next
=
3
,
c
[
"
bc
"
](
n
);
case
3
:
return
a
=
t
.
sent
,
o
[
"
e
"
](
a
),
t
.
next
=
7
,
this
.
getCompetitionSignList
();
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
getCompetitionSignList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
getCompetitionSignList
()},
searchFun
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
search
.
wayCurrentValuethis
=
this
.
search
.
name
,
this
.
search
.
levelCurrentValue
=
this
.
search
.
level
,
this
.
search
.
wayCurrentValue
=
this
.
search
.
way
,
this
.
search
.
approval_stateCurrentValue
=
this
.
search
.
approval_state
,
this
.
pageKey
++
,
this
.
init
.
page_index
=
1
,
t
.
next
=
8
,
this
.
getCompetitionSignList
();
case
8
:
t
.
sent
;
case
9
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
getCompetitionSignList
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
,
n
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
e
=
{
name
:
this
.
search
.
wayCurrentValuethis
,
level
:
this
.
search
.
levelCurrentValue
,
way
:
this
.
search
.
wayCurrentValue
,
approval_state
:
this
.
search
.
approval_stateCurrentValue
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
t
.
next
=
4
,
c
[
"
lb
"
](
e
);
case
4
:
n
=
t
.
sent
,
this
.
tableData
=
n
.
response
.
data
,
this
.
init
.
total
=
n
.
response
.
data_count
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
edit
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
){
var
n
,
a
,
i
,
s
=
this
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
keys1
++
,
t
.
next
=
3
,
c
[
"
kb
"
]({
id
:
e
.
competitionsignid
});
case
3
:
n
=
t
.
sent
,
this
.
drawer
=!
0
,
a
=
p
.
a
.
cloneDeep
(
e
),
a
.
trainPlanInfo
=
n
.
response
.
trainPlanInfo
,
a
.
projectInfo
=
n
.
response
.
projectInfo
,
c
[
"
gc
"
]({
signid
:
a
.
competitionsignid
}).
then
((
function
(
t
){
s
.
competitionsignTeam
=
t
.
response
})),
i
=
[
"
competitionname
"
,
"
sponsor
"
,
"
way
"
,
"
class_hour
"
,
"
end_time
"
,
"
competitionsubitem_name
"
,
"
report_code
"
,
"
competition_type_name
"
,
"
competition_level_name
"
,
"
begin_time
"
,
"
money
"
],
Object
.
keys
(
a
).
map
((
function
(
t
){
-
1
===
i
.
indexOf
(
t
)
&&
delete
a
[
t
]})),
this
.
drawerKeyValueArray
=
Object
.
entries
(
a
),
this
.
drawerKeyValueArray
.
map
((
function
(
t
,
e
){
var
n
=
[
"
赛事编号
"
,
"
赛事名称
"
,
"
赛项名称
"
,
"
主办单位
"
,
"
赛事级别
"
,
"
赛事类别
"
,
"
参赛形式
"
,
"
比赛开始时间
"
,
"
比赛结束时间
"
,
"
经费预算
"
,
"
计划培训课时
"
];
t
.
push
(
n
[
e
])}));
case
13
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
del
:
function
(
t
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)}}},
d
=
h
,
f
=
(
n
(
"
8b66
"
),
n
(
"
2877
"
)),
_
=
Object
(
f
[
"
a
"
])(
d
,
a
,
i
,
!
1
,
null
,
"
67c29ded
"
,
null
);
e
[
"
default
"
]
=
_
.
exports
},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
"
8b66
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
(
"
1f77
"
)},
ffc1
:
function
(
t
,
e
,
n
){
var
a
=
n
(
"
5ca1
"
),
i
=
n
(
"
504c
"
)(
!
0
);
a
(
a
.
S
,
"
Object
"
,{
entries
:
function
(
t
){
return
i
(
t
)}})}}]);
\ No newline at end of file
dist/js/chunk-107b1649.
3d5f09de
.js
→
dist/js/chunk-107b1649.
c9cac49a
.js
浏览文件 @
d2b1f20c
文件已移动
dist/js/chunk-2d0af2dc.dc067a84.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2d0af2dc
"
],{
"
0ce8
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
r
(
e
);
var
i
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
height
:
"
30px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
h3
"
,[
t
.
_v
(
"
流程待办列表
"
)])])]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
15vw
"
},
attrs
:{
placeholder
:
"
请选择流程名称
"
},
on
:{
"
on-change
"
:
t
.
flowSelectOnChnage
}},
t
.
_l
(
t
.
flowSelect
,(
function
(
e
,
i
){
return
n
(
"
Option
"
,{
key
:
i
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)]},
proxy
:
!
0
}])},[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
tableData
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
todo
"
,
fn
:
function
(
e
){
var
i
=
e
.
row
;
return
t
.
_l
(
i
.
todo
,(
function
(
e
,
i
){
return
n
(
"
span
"
,{
key
:
i
},[
t
.
_v
(
t
.
_s
(
e
.
replace
(
"
[
"
,
""
).
replace
(
"
]
"
,
""
).
replace
(
'
"
'
,
""
)))])}))}},{
key
:
"
partcipant
"
,
fn
:
function
(
e
){
var
i
=
e
.
row
;
return
t
.
_l
(
i
.
partcipant
,(
function
(
e
,
i
){
return
n
(
"
span
"
,{
key
:
i
},[
t
.
_v
(
t
.
_s
(
e
.
replace
(
"
[
"
,
""
).
replace
(
"
]
"
,
""
).
replace
(
'
"
'
,
""
)))])}))}},{
key
:
"
status
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
草稿
"
,
"
运行中
"
,
"
已结束
"
][
n
.
status
])
+
"
\n
"
)]}},{
key
:
"
action_type
"
,
fn
:
function
(
e
){
var
i
=
e
.
row
;
return
[
n
(
"
Tag
"
,{
attrs
:{
color
:
t
.
publicState
.
completeFlow
.
color
[
i
.
action_type
]}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
publicState
.
completeFlow
.
action_type
[
i
.
action_type
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
i
=
e
.
row
;
return
[
n
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
approvalLisFun
(
i
)}}},[
t
.
_v
(
"
审批
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
key
:
t
.
pageKey
,
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
)],
1
)},
a
=
[],
o
=
(
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
s
=
n
(
"
967e
"
),
r
=
n
.
n
(
s
),
l
=
n
(
"
61be
"
),
c
=
n
(
"
7f6b
"
),
d
=
{
name
:
"
list
"
,
data
:
function
(){
return
{
flowSelect
:[],
formData
:{
name
:
""
,
url
:
""
,
owner
:
""
,
type
:
""
,
approver
:
""
,
date
:
""
,
desc
:
""
},
approvalDrawer
:
!
1
,
formValidate
:{
runid
:
""
,
title
:
""
,
flow_name
:
""
,
flow_id
:
""
,
status
:
0
,
action_type
:
0
,
starter
:
""
,
starter_name
:
""
,
start_time
:
""
,
current_node_id
:
""
,
current_node_name
:
""
,
todo
:
""
,
partcipant
:
""
,
modifyby
:
""
,
modifytime
:
""
,
form_id
:
""
,
form_name
:
""
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
标题
"
,
key
:
"
title
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
300
},{
title
:
"
流程名称
"
,
key
:
"
flow_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
状态
"
,
slot
:
"
status
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
操作类型
"
,
slot
:
"
action_type
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
当前节点名称
"
,
key
:
"
current_node_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
当前节点待办人员
"
,
slot
:
"
todo
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
参与人员
"
,
slot
:
"
partcipant
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发起人工号
"
,
key
:
"
starter
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
发起人姓名
"
,
key
:
"
starter_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
发起时间
"
,
key
:
"
start_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
page_index
:
1
,
page_size
:
10
,
total
:
0
,
flow_id
:
""
},
pageKey
:
1
}},
watch
:{},
created
:
function
(){},
mounted
:
function
(){
var
t
=
this
;
this
.
GetFlowTaskList
(),
l
[
"
f
"
](
Object
(
o
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
t
.
GetFlowTaskList
();
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})))),
this
.
GetFlowIdSelect
()},
methods
:{
flowSelectOnChnage
:
function
(
t
){
this
.
init
.
flow_id
=
t
,
this
.
GetFlowTaskList
()},
GetFlowIdSelect
:
function
(){
var
t
=
this
;
l
[
"
a
"
]((
function
(){
c
[
"
J
"
]().
then
((
function
(
e
){
e
.
response
.
map
((
function
(
t
,
n
){
"
102
"
===
t
.
id
&&
(
e
.
response
.
unshift
(
t
),
e
.
response
.
splice
(
n
+
1
,
1
))})),
t
.
flowSelect
=
e
.
response
}))}))},
GetFlowTaskList
:
function
(){
var
t
=
Object
(
o
[
"
a
"
])(
r
.
a
.
mark
((
function
t
(){
var
e
,
n
;
return
r
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
e
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
flow_id
:
this
.
init
.
flow_id
},
t
.
next
=
4
,
c
[
"
P
"
](
e
);
case
4
:
n
=
t
.
sent
,
this
.
init
.
total
=
n
.
response
.
data_count
,
this
.
tableData
=
n
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
approvalLisFun
:
function
(
t
){
this
.
$router
.
push
({
name
:
"
awaitDoneInformation
"
,
query
:{
runid
:
t
.
runid
,
form_name
:
t
.
form_name
}}),
console
.
log
(
"
🚀🚀🚀,
"
,
t
)},
del
:
function
(
t
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
GetFlowTaskList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
GetFlowTaskList
()}}},
u
=
d
,
p
=
n
(
"
2877
"
),
h
=
Object
(
p
[
"
a
"
])(
u
,
i
,
a
,
!
1
,
null
,
null
,
null
);
e
[
"
default
"
]
=
h
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-2d0b1bcb.01b3cc03.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2d0b1bcb
"
],{
"
20b9
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
r
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
h3
"
,{
staticStyle
:{
height
:
"
30px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
e
.
_v
(
"
\n
审批用户组管理
\n
"
)])]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
t
){
e
.
addModal
=!
0
}}},[
e
.
_v
(
"
\n
新增
\n
"
)])]},
proxy
:
!
0
}])},[
a
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
member
"
,
fn
:
function
(
t
){
var
r
=
t
.
row
;
return
e
.
_l
(
r
.
member
,(
function
(
t
,
r
){
return
a
(
"
Tag
"
,{
key
:
r
,
attrs
:{
type
:
"
border
"
,
color
:
"
primary
"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
name
)
+
"
(
"
+
e
.
_s
(
t
.
card
)
+
"
)
\n
"
)])}))}},{
key
:
"
is_match_dept
"
,
fn
:
function
(
t
){
var
r
=
t
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
warning
"
,
"
success
"
][
r
.
is_match_dept
]}},[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
否
"
,
"
是
"
][
r
.
is_match_dept
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
r
=
t
.
row
;
return
[
a
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
edit
(
r
)}}},[
e
.
_v
(
"
编辑
"
)]),
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
},
on
:{
click
:
function
(
t
){
return
e
.
deleteUserGroup
(
r
)}}},[
e
.
_v
(
"
删除
"
)])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
e
.
init
.
total
,
"
page-size
"
:
e
.
init
.
page_size
,
"
model-value
"
:
"
init.page_index
"
},
on
:{
"
on-change
"
:
e
.
currentPage
,
"
on-page-size-change
"
:
e
.
currentPageCount
}})],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
新增
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
addModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
addOk
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
addModal
,
callback
:
function
(
t
){
e
.
addModal
=
t
},
expression
:
"
addModal
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
审批组名称
"
,
prop
:
"
name
"
}},[
a
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入审批组名称
"
},
model
:{
value
:
e
.
formValidate
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
name
"
,
t
)},
expression
:
"
formValidate.name
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否匹配院系关系
"
,
prop
:
"
is_match_dept
"
}},[
a
(
"
Select
"
,{
attrs
:{
placeholder
:
"
请选择是否匹配院系关系
"
},
model
:{
value
:
e
.
formValidate
.
is_match_dept
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
is_match_dept
"
,
t
)},
expression
:
"
formValidate.is_match_dept
"
}},
e
.
_l
(
e
.
whetherItMatchesTheFacultyRelationship
,(
function
(
t
,
r
){
return
a
(
"
Option
"
,{
key
:
r
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
成员
"
,
prop
:
"
user
"
}},[
a
(
"
Select
"
,{
attrs
:{
filterable
:
""
,
multiple
:
""
,
placeholder
:
"
成员
"
},
model
:{
value
:
e
.
formValidate
.
user
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
user
"
,
t
)},
expression
:
"
formValidate.user
"
}},
e
.
_l
(
e
.
formValidate
.
userArray
,(
function
(
t
,
r
){
return
a
(
"
Option
"
,{
key
:
r
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
编辑
"
,
width
:
"
50
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
editModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
editOk
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
editModal
,
callback
:
function
(
t
){
e
.
editModal
=
t
},
expression
:
"
editModal
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
审批组名称
"
,
prop
:
"
name
"
}},[
a
(
"
Input
"
,{
attrs
:{
placeholder
:
"
审批组名称
"
},
model
:{
value
:
e
.
formValidate
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
name
"
,
t
)},
expression
:
"
formValidate.name
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否匹配院系关系
"
,
prop
:
"
is_match_dept
"
}},[
a
(
"
Select
"
,{
attrs
:{
placeholder
:
"
请选择是否匹配院系关系
"
},
model
:{
value
:
e
.
formValidate
.
is_match_dept
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
is_match_dept
"
,
t
)},
expression
:
"
formValidate.is_match_dept
"
}},
e
.
_l
(
e
.
whetherItMatchesTheFacultyRelationship
,(
function
(
t
,
r
){
return
a
(
"
Option
"
,{
key
:
r
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
)],
1
),
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
a
(
"
Transfer
"
,{
key
:
e
.
tramsferKey
,
attrs
:{
"
list-style
"
:{
width
:
"
350px
"
,
height
:
"
350px
"
},
filterable
:
""
,
data
:
e
.
GroupUserInfo
.
unmember
,
"
target-keys
"
:
e
.
GroupUserInfo
.
member
,
"
render-format
"
:
e
.
render
,
titles
:[
"
选择成员
"
,
"
在组成员
"
]},
on
:{
"
on-change
"
:
e
.
handleChange
}})],
1
)],
1
)],
1
)},
n
=
[],
i
=
(
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
o
=
(
a
(
"
7f7f
"
),
a
(
"
967e
"
)),
s
=
a
.
n
(
o
),
l
=
a
(
"
7f6b
"
),
c
=
a
(
"
61be
"
),
u
=
{
name
:
"
list
"
,
data
:
function
(){
return
{
whetherItMatchesTheFacultyRelationship
:[{
label
:
"
否
"
,
value
:
0
},{
label
:
"
是
"
,
value
:
1
}],
tramsferKey
:
1
,
GroupUserInfo
:[],
formValidate
:{
name
:
""
,
user
:[],
userArray
:[],
is_match_dept
:
0
},
ruleValidate
:{
is_match_dept
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
name
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
此项不能为空
"
,
trigger
:
"
blur
"
}],
user
:[{
type
:
"
array
"
,
required
:
!
0
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
addModal
:
!
1
,
editId
:
""
,
editModal
:
!
1
,
approvalGroup
:[],
init
:{
total
:
null
,
page_size
:
10
,
page_index
:
1
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
审批用户组名称
"
,
key
:
"
groupname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
成员
"
,
slot
:
"
member
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
是否匹配院系关系
"
,
slot
:
"
is_match_dept
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
100
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
}},
watch
:{
"
formValidate.user
"
:
function
(
e
,
t
){
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
"
GroupUserInfo.member
"
:
function
(
e
,
t
){
console
.
log
(
"
🚀🚀🚀,
"
,
e
)}},
created
:
function
(){},
mounted
:
function
(){
this
.
GetFlowUserGroupList
(),
this
.
getApprovalUserGroupUserList
()},
methods
:{
render
:
function
(
e
){
return
e
.
name
},
handleChange
:
function
(
e
,
t
,
a
){
var
r
=
this
;
switch
(
t
){
case
"
left
"
:
a
.
map
((
function
(
e
,
t
){
-
1
!==
r
.
GroupUserInfo
.
member
.
indexOf
(
e
)
&&
r
.
GroupUserInfo
.
member
.
splice
(
r
.
GroupUserInfo
.
member
.
indexOf
(
e
),
1
)}));
break
;
case
"
right
"
:
this
.
GroupUserInfo
.
member
=
e
;
break
}},
Ok
:
function
(){},
getApprovalGroup
:
function
(){},
getApprovalUserGroupUserList
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
zb
"
]();
case
2
:
t
=
e
.
sent
,
this
.
formValidate
.
userArray
=
t
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
GetFlowUserGroupList
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
e
.
next
=
4
,
l
[
"
S
"
](
t
);
case
4
:
a
=
e
.
sent
,
this
.
init
.
total
=
a
.
response
.
data_count
,
this
.
tableData
=
a
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
addOk
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
a
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
$refs
[
"
formValidate
"
].
validate
(
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
r
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
!
t
){
e
.
next
=
9
;
break
}
return
r
=
{
groupname
:
a
.
formValidate
.
name
,
member
:
a
.
formValidate
.
user
,
is_match_dept
:
a
.
formValidate
.
is_match_dept
},
e
.
next
=
4
,
l
[
"
w
"
](
r
);
case
4
:
return
n
=
e
.
sent
,
c
[
"
e
"
](
n
),
e
.
next
=
8
,
a
.
GetFlowUserGroupList
();
case
8
:
a
.
addModal
=!
1
;
case
9
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
return
function
(
t
){
return
e
.
apply
(
this
,
arguments
)}}());
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
editOk
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
$refs
.
formValidate1
.
validate
(
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
a
){
var
r
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
!
a
){
e
.
next
=
6
;
break
}
return
r
=
{
groupid
:
t
.
GroupUserInfo
.
groupid
,
groupname
:
t
.
formValidate
.
name
,
member
:
t
.
GroupUserInfo
.
member
,
is_match_dept
:
t
.
formValidate
.
is_match_dept
},
e
.
next
=
4
,
l
[
"
w
"
](
r
);
case
4
:
n
=
e
.
sent
,
1
!==
n
.
code
?
t
.
$Message
.
error
(
n
.
msg_detail
):(
c
[
"
e
"
](
n
),
t
.
GetFlowUserGroupList
(),
t
.
editModal
=!
1
);
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
return
function
(
t
){
return
e
.
apply
(
this
,
arguments
)}}());
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
deleteUserGroup
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
a
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
c
[
"
d
"
](
Object
(
i
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
a
.
$Spin
.
show
(),
a
.
GroupUserInfo
.
groupid
=
t
.
groupid
,
e
.
next
=
4
,
l
[
"
v
"
]({
id
:
t
.
groupid
});
case
4
:
return
e
.
sent
,
e
.
next
=
7
,
a
.
GetFlowUserGroupList
();
case
7
:
a
.
$Spin
.
hide
();
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
edit
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
this
.
GroupUserInfo
.
groupid
=
t
.
groupid
,
this
.
formValidate
.
name
=
t
.
groupname
,
e
.
next
=
5
,
l
[
"
R
"
]({
groupid
:
t
.
groupid
});
case
5
:
a
=
e
.
sent
,
a
.
response
.
unmember
.
map
((
function
(
e
,
t
){
e
.
key
=
e
.
card
,
e
.
label
=
e
.
name
})),
this
.
GroupUserInfo
=
a
.
response
,
this
.
$Spin
.
hide
(),
this
.
editModal
=!
0
;
case
10
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
currentPage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetFlowUserGroupList
()},
currentPageCount
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
GetFlowUserGroupList
()}}},
d
=
u
,
p
=
a
(
"
2877
"
),
m
=
Object
(
p
[
"
a
"
])(
d
,
r
,
n
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
m
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-2d0b287e.2ec9bdb3.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2d0b287e
"
],{
2505
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
.
r
(
t
);
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
30px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
h3
"
,[
e
.
_v
(
"
流程列表
"
)])])]},
proxy
:
!
0
}])},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-start
"
,
"
flex-wrap
"
:
"
wrap
"
}},
e
.
_l
(
e
.
init
.
data
,(
function
(
t
,
n
){
return
i
(
"
Card
"
,{
key
:
n
,
staticStyle
:{
width
:
"
150px
"
,
"
min-height
"
:
"
150px
"
,
margin
:
"
10px 5px
"
},
nativeOn
:{
click
:
function
(
i
){
return
e
.
flowAssembleFun
(
t
)}}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
}},[
i
(
"
Icon
"
,{
attrs
:{
type
:
t
.
icon
,
size
:
"
100
"
}}),
i
(
"
span
"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
flowname
)
+
"
\n
"
)])],
1
)])})),
1
),
i
(
"
div
"
,{
staticClass
:
"
ivu-text-center ivu-mt
"
},[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
key
:
e
.
pageKey
,
attrs
:{
total
:
e
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
},
model
:{
value
:
e
.
init
.
page_index
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
expression
:
"
init.page_index
"
}})],
1
)])])],
1
)},
a
=
[],
s
=
(
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
l
=
i
(
"
967e
"
),
o
=
i
.
n
(
l
),
c
=
(
i
(
"
61be
"
),
i
(
"
7f6b
"
)),
r
=
{
name
:
"
list
"
,
data
:
function
(){
return
{
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
班级编号
"
,
key
:
"
class_code
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
班级名称
"
,
key
:
"
class_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
年级
"
,
key
:
"
grade
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
培养层次
"
,
key
:
"
training
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
辅导员工号
"
,
key
:
"
counselor_card
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
辅导员姓名
"
,
key
:
"
counselor_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
班主任工号
"
,
key
:
"
head_teacher_card
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
班主任姓名
"
,
key
:
"
head_teacher_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
院系名称
"
,
key
:
"
college_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
状态
"
,
key
:
"
status
"
,
align
:
"
center
"
,
slot
:
"
status
"
,
show
:
!
0
,
minWidth
:
130
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
page_index
:
1
,
page_size
:
10
,
total
:
0
,
data
:[]},
pageKey
:
1
}},
created
:
function
(){},
mounted
:
function
(){
this
.
GetFlowDesignList
()},
methods
:{
flowAssembleFun
:
function
(
e
){
this
.
$router
.
push
({
path
:
"
/
"
.
concat
(
e
.
remark
,
"
Form
"
),
query
:{
id
:
e
.
flowid
,
remark
:
e
.
remark
,
entrance
:
"
flow
"
}})},
GetFlowDesignList
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(){
var
t
,
i
,
n
;
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
e
.
next
=
4
,
c
[
"
H
"
](
t
);
case
4
:
i
=
e
.
sent
,
n
=
[
"
ios-ribbon
"
,
"
md-trophy
"
,
"
md-list-box
"
,
"
logo-usd
"
,
"
md-chatboxes
"
],
i
.
response
.
data
.
map
((
function
(
e
,
t
){
e
.
icon
=
n
[
t
]})),
this
.
init
.
data
=
i
.
response
.
data
,
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
$Spin
.
hide
();
case
10
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
edit
:
function
(
e
){
this
.
$refs
.
addEdit
.
edit
(
e
)},
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetFlowDesignList
()},
handleChangePageSize
:
function
(
e
){
this
.
current
=
1
,
this
.
init
.
page_size
=
e
,
this
.
GetFlowDesignList
()}}},
d
=
r
,
h
=
i
(
"
2877
"
),
g
=
Object
(
h
[
"
a
"
])(
d
,
n
,
a
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
g
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-2d0d0041.6a3b53fe.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2d0d0041
"
],{
"
65d0
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
.
r
(
t
);
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
80px
"
}},[
i
(
"
h3
"
,[
e
.
_v
(
"
日志记录
"
)]),
i
(
"
Row
"
,{
staticStyle
:{
"
margin-top
"
:
"
30px
"
}},[
i
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
e
.
_v
(
"
\n
结束时间:
\n
"
),
i
(
"
DatePicker
"
,{
staticStyle
:{
width
:
"
200px
"
},
attrs
:{
type
:
"
daterange
"
,
placement
:
"
bottom-end
"
,
placeholder
:
"
请选择结束时间
"
},
on
:{
"
on-change
"
:
e
.
selectTimeRange
}})],
1
),
i
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
e
.
_v
(
"
\n
是否成功:
\n
"
),
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
model
:{
value
:
e
.
init
.
is_succeed
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
is_succeed
"
,
t
)},
expression
:
"
init.is_succeed
"
}},
e
.
_l
(
e
.
is_succeedArray
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
)]),
i
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
flex-end
"
}},[
i
(
"
Input
"
,{
staticStyle
:{
width
:
"
20vw
"
},
attrs
:{
placeholder
:
"
请输入姓名或卡号查找...
"
},
model
:{
value
:
e
.
init
.
key
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
key
"
,
t
)},
expression
:
"
init.key
"
}}),
i
(
"
Button
"
,{
staticClass
:
"
ivu-ml-8
"
,
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
resetSearchSelect
}},[
e
.
_v
(
"
\n
查找
\n
"
)])],
1
)])],
1
)],
1
)]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
staticClass
:
"
ivu-mt
"
,
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
,
size
:
e
.
tableSize
},
scopedSlots
:
e
.
_u
([{
key
:
"
is_succeed
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
tag
"
,{
attrs
:{
color
:[
""
,
"
error
"
,
"
success
"
][
n
.
is_succeed
]}},[
e
.
_v
(
"
"
+
e
.
_s
([
""
,
"
失败
"
,
"
成功
"
][
n
.
is_succeed
]))])]}}])}),
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
attrs
:{
total
:
e
.
init
.
total
,
current
:
e
.
init
.
page_index
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
update:current
"
:
function
(
t
){
return
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangepage_size
}})],
1
)],
1
),
i
(
"
Modal
"
,{
attrs
:{
title
:
"
编辑
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
scoreModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
i
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
scoreOk
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
scoreModal
,
callback
:
function
(
t
){
e
.
scoreModal
=
t
},
expression
:
"
scoreModal
"
}},[
i
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛成绩
"
,
prop
:
"
score
"
}},[
i
(
"
InputNumber
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
min
:
0
,
max
:
100
,
placeholder
:
"
请输入竞赛成绩
"
},
model
:{
value
:
e
.
formValidate
.
score
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
score
"
,
t
)},
expression
:
"
formValidate.score
"
}})],
1
),
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否获奖
"
,
prop
:
"
is_win
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
placeholder
:
"
请输入竞赛成绩
"
},
model
:{
value
:
e
.
formValidate
.
is_win
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
is_win
"
,
t
)},
expression
:
"
formValidate.is_win
"
}},
e
.
_l
(
e
.
is_winArray
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
),
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
奖项名称
"
,
prop
:
"
prizes
"
}},[
i
(
"
Input
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
disabled
:
e
.
prizesDis
,
placeholder
:
"
请输入奖项名称
"
},
model
:{
value
:
e
.
formValidate
.
prizes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
prizes
"
,
t
)},
expression
:
"
formValidate.prizes
"
}})],
1
)],
1
)],
1
)],
1
)},
a
=
[],
s
=
(
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
r
=
i
(
"
967e
"
),
c
=
i
.
n
(
r
),
l
=
i
(
"
7f6b
"
),
o
=
i
(
"
61be
"
),
d
=
{
name
:
"
list
"
,
data
:
function
(){
return
{
prizesDis
:
!
1
,
personageCompetitionSelect
:[],
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
消息内容
"
,
key
:
"
messageinfo
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
发送时间
"
,
key
:
"
send_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
创建时间
"
,
key
:
"
createtime
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
接收人卡号
"
,
key
:
"
reception_card
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
接收人
"
,
key
:
"
reception_man
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
是否成功
"
,
slot
:
"
is_succeed
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
内容
"
,
key
:
"
content
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
链接
"
,
key
:
"
meg_link
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
失败原因
"
,
key
:
"
remark
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
关联表id
"
,
key
:
"
relevance_id
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
关联表名称
"
,
key
:
"
relevance_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
}],
loading
:
!
1
,
tableData
:[],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
init
:{
begin_time
:
""
,
end_time
:
""
,
key
:
""
,
is_succeed
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
},
init1
:{
begin_time
:
""
,
end_time
:
""
,
key
:
""
,
is_succeed
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
},
is_succeedArray
:[{
name
:
"
失败
"
,
value
:
1
},{
name
:
"
成功
"
,
value
:
2
}],
is_winArray
:[{
name
:
"
否
"
,
value
:
0
},{
name
:
"
是
"
,
value
:
1
}],
scoreModal
:
!
1
,
ruleValidate
:{
score
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
prizes
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
is_win
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}]},
formValidate
:{
score
:
0
,
id
:
""
,
prizes
:
""
,
is_win
:
""
}}},
watch
:{
"
init.reportid
"
:
function
(
e
,
t
){
this
.
init
.
reportid
=
e
,
e
&&
this
.
getData
()},
"
formValidate.is_win
"
:
function
(
e
,
t
){
Boolean
(
e
)?
this
.
prizesDis
=!
1
:
this
.
prizesDis
=!
0
}},
created
:
function
(){},
mounted
:
function
(){
this
.
GetMessageList
()},
methods
:{
selectTimeRange
:
function
(
e
){
this
.
init
.
begin_time
=
e
[
0
],
this
.
init
.
end_time
=
e
[
1
]},
scoreOk
:
function
(){
var
e
=
this
;
this
.
$refs
[
"
formValidate
"
].
validate
((
function
(
t
){
t
&&
Object
(
o
[
"
c
"
])(
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
var
i
,
n
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
i
=
e
.
formValidate
,
t
.
next
=
3
,
l
[
"
ac
"
](
i
);
case
3
:
return
n
=
t
.
sent
,
t
.
next
=
6
,
e
.
getData
();
case
6
:
return
e
.
scoreModal
=!
1
,
t
.
abrupt
(
"
return
"
,
n
);
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}))},
resetSearchSelect
:
function
(){
this
.
init1
.
begin_time
=
this
.
init
.
begin_time
,
this
.
init1
.
end_time
=
this
.
init
.
end_time
,
this
.
init1
.
is_succeed
=
this
.
init
.
is_succeed
,
this
.
init1
.
key
=
this
.
init
.
key
,
this
.
GetMessageList
()},
GetMessageList
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
t
,
i
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
begin_time
:
this
.
init1
.
begin_time
,
end_time
:
this
.
init1
.
end_time
,
key
:
this
.
init1
.
key
,
is_succeed
:
this
.
init1
.
is_succeed
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
e
.
next
=
4
,
l
[
"
V
"
](
t
);
case
4
:
i
=
e
.
sent
;
try
{
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
tableData
=
i
.
response
.
data
,
this
.
loading
=!
1
}
catch
(
n
){
this
.
loading
=!
1
}
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
getData
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
t
,
i
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
reportid
:
this
.
init
.
reportid
},
e
.
next
=
4
,
l
[
"
jb
"
](
t
);
case
4
:
i
=
e
.
sent
;
try
{
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
tableData
=
i
.
response
.
data
,
this
.
loading
=!
1
}
catch
(
n
){
this
.
loading
=!
1
}
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
edit
:
function
(
e
){
this
.
$refs
.
addEdit
.
edit
(
e
)},
importScore
:
function
(
e
){
this
.
scoreModal
=!
0
,
this
.
formValidate
=
{},
this
.
formValidate
.
id
=
e
.
scoreid
},
del
:
function
(
e
){
var
t
=
this
;
Object
(
o
[
"
c
"
])(
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
i
(){
var
n
;
return
c
.
a
.
wrap
((
function
(
i
){
while
(
1
)
switch
(
i
.
prev
=
i
.
next
){
case
0
:
return
i
.
next
=
2
,
l
[
"
Zb
"
]({
id
:
e
.
scoreid
});
case
2
:
return
n
=
i
.
sent
,
t
.
getData
(),
i
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
i
.
stop
()}}),
i
)}))))},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetMessageList
()},
handleChangepage_size
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
GetMessageList
()}}},
u
=
d
,
h
=
i
(
"
2877
"
),
p
=
Object
(
h
[
"
a
"
])(
u
,
n
,
a
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
p
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-2d0dee69.db1dbf5a.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2d0dee69
"
],{
"
882e
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
r
(
e
);
var
i
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
height
:
"
30px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
h3
"
,[
t
.
_v
(
"
流程已办列表
"
)])])]},
proxy
:
!
0
}])},[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
tableData
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
todo
"
,
fn
:
function
(
e
){
var
i
=
e
.
row
;
return
t
.
_l
(
i
.
todo
,(
function
(
e
,
i
){
return
n
(
"
span
"
,{
key
:
i
},[
t
.
_v
(
t
.
_s
(
e
.
replace
(
"
[
"
,
""
).
replace
(
"
]
"
,
""
).
replace
(
'
"
'
,
""
)))])}))}},{
key
:
"
partcipant
"
,
fn
:
function
(
e
){
var
i
=
e
.
row
;
return
t
.
_l
(
i
.
partcipant
,(
function
(
e
,
i
){
return
n
(
"
span
"
,{
key
:
i
},[
t
.
_v
(
t
.
_s
(
e
.
replace
(
"
[
"
,
""
).
replace
(
"
]
"
,
""
).
replace
(
'
"
'
,
""
)))])}))}},{
key
:
"
status
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
草稿
"
,
"
运行中
"
,
"
已结束
"
][
n
.
status
])
+
"
\n
"
)]}},{
key
:
"
action_type
"
,
fn
:
function
(
e
){
var
i
=
e
.
row
;
return
[
n
(
"
Tag
"
,{
attrs
:{
color
:
t
.
publicState
.
completeFlow
.
color
[
i
.
action_type
]}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
publicState
.
completeFlow
.
action_type
[
i
.
action_type
])
+
"
\n
"
)])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
i
=
e
.
row
;
return
[
n
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
approvalLisFun
(
i
)}}},[
t
.
_v
(
"
详细
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
key
:
t
.
pageKey
,
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
)],
1
)},
a
=
[],
o
=
(
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
r
=
n
(
"
967e
"
),
s
=
n
.
n
(
r
),
l
=
(
n
(
"
61be
"
),
n
(
"
7f6b
"
)),
c
=
n
(
"
5ccc
"
),
d
=
{
name
:
"
list
"
,
computed
:{
publicState
:
function
(){
return
c
[
"
a
"
]}},
data
:
function
(){
return
{
formData
:{
name
:
""
,
url
:
""
,
owner
:
""
,
type
:
""
,
approver
:
""
,
date
:
""
,
desc
:
""
},
approvalDrawer
:
!
1
,
formValidate
:{
runid
:
""
,
title
:
""
,
flow_name
:
""
,
flow_id
:
""
,
status
:
0
,
action_type
:
0
,
starter
:
""
,
starter_name
:
""
,
start_time
:
""
,
current_node_id
:
""
,
current_node_name
:
""
,
todo
:
""
,
partcipant
:
""
,
modifyby
:
""
,
modifytime
:
""
,
form_id
:
""
,
form_name
:
""
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
标题
"
,
key
:
"
title
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
300
},{
title
:
"
流程名称
"
,
key
:
"
flow_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
状态
"
,
slot
:
"
status
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
操作类型
"
,
slot
:
"
action_type
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
当前节点名称
"
,
key
:
"
current_node_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
当前节点待办人员
"
,
slot
:
"
todo
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
参与人
"
,
slot
:
"
partcipant
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发起人
"
,
key
:
"
starter
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
发起人姓名
"
,
key
:
"
starter_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
发起时间
"
,
key
:
"
start_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
page_index
:
1
,
page_size
:
10
,
total
:
0
},
pageKey
:
1
}},
created
:
function
(){},
mounted
:
function
(){
this
.
GetFlowTaskList
()},
methods
:{
GetFlowTaskList
:
function
(){
var
t
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
e
,
n
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
e
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
t
.
next
=
4
,
l
[
"
x
"
](
e
);
case
4
:
n
=
t
.
sent
,
this
.
init
.
total
=
n
.
response
.
data_count
,
this
.
tableData
=
n
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
approvalLisFun
:
function
(
t
){
this
.
$router
.
push
({
name
:
"
awaitDoneInformation
"
,
query
:{
runid
:
t
.
runid
,
form_name
:
t
.
form_name
,
flowInfo
:
"
流程详细信息
"
}}),
console
.
log
(
"
🚀🚀🚀,
"
,
t
)},
del
:
function
(
t
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
GetFlowTaskList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
GetFlowTaskList
()}}},
u
=
d
,
p
=
n
(
"
2877
"
),
h
=
Object
(
p
[
"
a
"
])(
u
,
i
,
a
,
!
1
,
null
,
null
,
null
);
e
[
"
default
"
]
=
h
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-2d20ec35.0e183ed8.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2d20ec35
"
],{
b16f
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
.
r
(
t
);
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,[
i
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
div
"
,{
staticStyle
:{
height
:
"
30px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
h3
"
,[
e
.
_v
(
"
竞赛成绩
"
)])])]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
e
.
_v
(
"
\n
参与方式:
\n
"
),
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
model
:{
value
:
e
.
init
.
reportid
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
reportid
"
,
t
)},
expression
:
"
init.reportid
"
}},
e
.
_l
(
e
.
personageCompetitionSelect
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
),
i
(
"
Button
"
,{
staticClass
:
"
ivu-ml-8
"
,
on
:{
click
:
e
.
resetSearchSelect
}},[
e
.
_v
(
"
\n\n
重置
\n
"
)])]},
proxy
:
!
0
}])},[
i
(
"
Table
"
,{
staticClass
:
"
ivu-mt
"
,
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
,
size
:
e
.
tableSize
},
scopedSlots
:
e
.
_u
([{
key
:
"
way
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
n
.
way
]}},[
e
.
_v
(
"
"
+
e
.
_s
([
"
团队
"
,
"
个人
"
][
n
.
way
]))])]}},{
key
:
"
is_win
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
tag
"
,{
attrs
:{
color
:[
"
primary
"
,
"
success
"
][
n
.
is_win
]}},[
e
.
_v
(
"
"
+
e
.
_s
([
"
否
"
,
"
是
"
][
n
.
is_win
]))])]}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
i
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
importScore
(
n
)}}},[
e
.
_v
(
"
录入成绩
"
)]),
i
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
t
){
return
e
.
importScore
(
n
)},
"
on-cancel
"
:
e
.
cancel
}},[
i
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
e
.
_v
(
"
删除成绩
"
)])])]}}])}),
i
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
i
(
"
Page
"
,{
attrs
:{
total
:
e
.
init
.
total
,
current
:
e
.
init
.
page_index
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
update:current
"
:
function
(
t
){
return
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangepage_size
}})],
1
)],
1
),
i
(
"
Modal
"
,{
attrs
:{
title
:
"
编辑
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
scoreModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
i
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
scoreOk
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
scoreModal
,
callback
:
function
(
t
){
e
.
scoreModal
=
t
},
expression
:
"
scoreModal
"
}},[
i
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛成绩
"
,
prop
:
"
score
"
}},[
i
(
"
InputNumber
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
min
:
0
,
max
:
100
,
placeholder
:
"
请输入竞赛成绩
"
},
model
:{
value
:
e
.
formValidate
.
score
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
score
"
,
t
)},
expression
:
"
formValidate.score
"
}})],
1
),
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否获奖
"
,
prop
:
"
is_win
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
placeholder
:
"
请输入竞赛成绩
"
},
model
:{
value
:
e
.
formValidate
.
is_win
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
is_win
"
,
t
)},
expression
:
"
formValidate.is_win
"
}},
e
.
_l
(
e
.
is_winArray
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
),
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
奖项名称
"
,
prop
:
"
prizes1
"
}},[
i
(
"
Input
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
disabled
:
e
.
prizesDis
,
placeholder
:
"
请输入奖项名称
"
},
model
:{
value
:
e
.
formValidate
.
prizes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
prizes
"
,
t
)},
expression
:
"
formValidate.prizes
"
}})],
1
)],
1
)],
1
)],
1
)},
a
=
[],
r
=
(
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
s
=
i
(
"
967e
"
),
o
=
i
.
n
(
s
),
c
=
i
(
"
7f6b
"
),
l
=
i
(
"
61be
"
),
u
=
{
name
:
"
list
"
,
data
:
function
(){
return
{
prizesDis
:
!
1
,
personageCompetitionSelect
:[],
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
报名者
"
,
key
:
"
sign_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
竞赛形式(团/个人)
"
,
slot
:
"
way
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
成绩
"
,
key
:
"
score
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
是否获奖
"
,
slot
:
"
is_win
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
奖项
"
,
key
:
"
prizes
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
init
:{
select
:
""
,
page_index
:
1
,
page_size
:
10
,
total
:
0
,
reportid
:
""
,
score
:
0
},
is_winArray
:[{
name
:
"
否
"
,
value
:
0
},{
name
:
"
是
"
,
value
:
1
}],
scoreModal
:
!
1
,
ruleValidate
:{
score
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
prizes
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
is_win
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}]},
formValidate
:{
score
:
0
,
id
:
""
,
prizes
:
""
,
is_win
:
""
}}},
watch
:{
"
init.reportid
"
:
function
(
e
,
t
){
this
.
init
.
reportid
=
e
,
e
&&
this
.
getData
()},
"
formValidate.is_win
"
:
function
(
e
,
t
){
Boolean
(
e
)?
this
.
prizesDis
=!
1
:
this
.
prizesDis
=!
0
}},
created
:
function
(){},
mounted
:
function
(){
this
.
GetScoreBySignSelect
()},
methods
:{
scoreOk
:
function
(){
var
e
=
this
;
this
.
$refs
[
"
formValidate
"
].
validate
((
function
(
t
){
t
&&
Object
(
l
[
"
c
"
])(
Object
(
r
[
"
a
"
])(
o
.
a
.
mark
((
function
t
(){
var
i
,
n
;
return
o
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
i
=
e
.
formValidate
,
t
.
next
=
3
,
c
[
"
ac
"
](
i
);
case
3
:
return
n
=
t
.
sent
,
t
.
next
=
6
,
e
.
getData
();
case
6
:
return
e
.
scoreModal
=!
1
,
t
.
abrupt
(
"
return
"
,
n
);
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}))},
resetSearchSelect
:
function
(){
this
.
init
.
reportid
=
""
},
GetScoreBySignSelect
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(){
var
t
;
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
ib
"
]();
case
2
:
t
=
e
.
sent
,
this
.
personageCompetitionSelect
=
t
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
getData
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(){
var
t
,
i
;
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
reportid
:
this
.
init
.
reportid
},
e
.
next
=
4
,
c
[
"
jb
"
](
t
);
case
4
:
i
=
e
.
sent
;
try
{
this
.
init
.
total
=
i
.
response
.
data_count
,
this
.
tableData
=
i
.
response
.
data
,
this
.
loading
=!
1
}
catch
(
n
){
this
.
loading
=!
1
}
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
edit
:
function
(
e
){
this
.
$refs
.
addEdit
.
edit
(
e
)},
importScore
:
function
(
e
){
this
.
scoreModal
=!
0
,
this
.
formValidate
=
{},
this
.
formValidate
.
id
=
e
.
scoreid
},
del
:
function
(
e
){
var
t
=
this
;
Object
(
l
[
"
c
"
])(
Object
(
r
[
"
a
"
])(
o
.
a
.
mark
((
function
i
(){
var
n
;
return
o
.
a
.
wrap
((
function
(
i
){
while
(
1
)
switch
(
i
.
prev
=
i
.
next
){
case
0
:
return
i
.
next
=
2
,
c
[
"
Zb
"
]({
id
:
e
.
scoreid
});
case
2
:
return
n
=
i
.
sent
,
t
.
getData
(),
i
.
abrupt
(
"
return
"
,
n
);
case
5
:
case
"
end
"
:
return
i
.
stop
()}}),
i
)}))))},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
getData
()},
handleChangepage_size
:
function
(
e
){
this
.
current
=
1
,
this
.
init
.
page_size
=
e
,
this
.
getData
()}}},
d
=
u
,
p
=
i
(
"
2877
"
),
h
=
Object
(
p
[
"
a
"
])(
d
,
n
,
a
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
h
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-2d217eab.
b4c6a106
.js
→
dist/js/chunk-2d217eab.
556c3325
.js
浏览文件 @
d2b1f20c
文件已移动
dist/js/chunk-2d21f335.f361a9c6.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2d21f335
"
],{
d98b
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
height
:
"
50px
"
}},[
n
(
"
RadioGroup
"
,{
attrs
:{
type
:
"
button
"
,
"
button-style
"
:
"
solid
"
},
on
:{
"
on-change
"
:
e
.
radioChange
},
model
:{
value
:
e
.
init
.
radioValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
radioValue
"
,
t
)},
expression
:
"
init.radioValue
"
}},
e
.
_l
(
e
.
init
.
radioInitArray
,(
function
(
t
,
a
){
return
n
(
"
Radio
"
,{
key
:
a
,
attrs
:{
label
:
t
.
value
}},[
e
.
_v
(
e
.
_s
(
t
.
label
))])})),
1
)],
1
)]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
1
===
e
.
init
.
radioValue
?
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
t
){
e
.
init
.
modal
=!
0
}}},[
e
.
_v
(
"
\n
新增
\n
"
)]):
e
.
_e
(),
3
===
e
.
init
.
radioValue
?
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
t
){
e
.
init
.
modal3
=!
0
}}},[
e
.
_v
(
"
\n
新增
\n
"
)]):
e
.
_e
()]},
proxy
:
!
0
}])},[
1
===
e
.
init
.
radioValue
?
n
(
"
noticeApprovalUserGroup
"
,{
attrs
:{
modal
:
e
.
init
.
modal
},
on
:{
modalFun
:
e
.
modalFun
}}):
e
.
_e
(),
3
===
e
.
init
.
radioValue
?
n
(
"
noticeType
"
,{
attrs
:{
modal3
:
e
.
init
.
modal3
},
on
:{
modalFun
:
e
.
modalFun3
}}):
e
.
_e
(),
2
===
e
.
init
.
radioValue
?
n
(
"
noticePublish
"
):
e
.
_e
()],
1
)],
1
)},
i
=
[],
r
=
(
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
o
=
n
(
"
967e
"
),
s
=
n
.
n
(
o
),
l
=
n
(
"
7f6b
"
),
c
=
n
(
"
61be
"
),
d
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
member
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
e
.
_l
(
a
.
member
,(
function
(
t
,
a
){
return
n
(
"
Tag
"
,{
key
:
a
,
attrs
:{
type
:
"
border
"
,
color
:
"
primary
"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
name
)
+
"
(
"
+
e
.
_s
(
t
.
card
)
+
"
)
\n
"
)])}))}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
n
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
edit
(
a
)}}},[
e
.
_v
(
"
编辑
"
)]),
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
},
on
:{
click
:
function
(
t
){
return
e
.
deleteNoticeUserGroup
(
a
)}}},[
e
.
_v
(
"
删除
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
e
.
init
.
total
,
"
page-size
"
:
e
.
init
.
page_size
,
"
model-value
"
:
"
init.page_index
"
},
on
:{
"
on-change
"
:
e
.
currentPage
,
"
on-page-size-change
"
:
e
.
currentPageCount
}})],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
新增
"
,
closable
:
!
1
,
"
mask-closable
"
:
!
1
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
e
.
addCancel
}},[
e
.
_v
(
"
取消
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
addOk
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
init
.
modal
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
modal
"
,
t
)},
expression
:
"
init.modal
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
审批组名称
"
,
prop
:
"
name
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入审批组名称
"
},
model
:{
value
:
e
.
formValidate
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
name
"
,
t
)},
expression
:
"
formValidate.name
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
成员
"
,
prop
:
"
user
"
}},[
n
(
"
Select
"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"
成员
"
},
model
:{
value
:
e
.
formValidate
.
user
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
user
"
,
t
)},
expression
:
"
formValidate.user
"
}},
e
.
_l
(
e
.
formValidate
.
userArray
,(
function
(
t
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
编辑
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
editModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
editOk
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
editModal
,
callback
:
function
(
t
){
e
.
editModal
=
t
},
expression
:
"
editModal
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
审批组名称
"
,
prop
:
"
name
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
审批组名称
"
},
model
:{
value
:
e
.
formValidate
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
name
"
,
t
)},
expression
:
"
formValidate.name
"
}})],
1
)],
1
),
n
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
n
(
"
Transfer
"
,{
key
:
e
.
tramsferKey
,
attrs
:{
data
:
e
.
GroupUserInfo
.
unmember
,
"
target-keys
"
:
e
.
GroupUserInfo
.
member
,
"
render-format
"
:
e
.
render
,
titles
:[
"
选择成员
"
,
"
在组成员
"
]},
on
:{
"
on-change
"
:
e
.
handleChange
}})],
1
)],
1
)],
1
)},
u
=
[],
p
=
(
n
(
"
ac6a
"
),
n
(
"
7f7f
"
),{
name
:
"
list
"
,
data
:
function
(){
return
{
tramsferKey
:
1
,
GroupUserInfo
:{},
formValidate
:{
name
:
""
,
user
:[],
userArray
:[]},
ruleValidate
:{
name
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
此项不能为空
"
,
trigger
:
"
blur
"
}],
user
:[{
type
:
"
array
"
,
required
:
!
0
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
addModal
:
!
1
,
editId
:
""
,
editModal
:
!
1
,
approvalGroup
:[],
init
:{
total
:
null
,
page_size
:
10
,
page_index
:
1
,
modal
:
!
1
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
审批用户组名称
"
,
key
:
"
groupname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
成员
"
,
slot
:
"
member
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
}},
props
:[
"
modal
"
],
watch
:{
modal
:
function
(
e
,
t
){
this
.
init
.
modal
=
e
},
"
formValidate.user
"
:
function
(
e
,
t
){
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
"
GroupUserInfo.member
"
:
function
(
e
,
t
){
console
.
log
(
"
🚀🚀🚀,
"
,
e
)}},
created
:
function
(){},
mounted
:
function
(){
this
.
GetNoticeUserGroupList
(),
this
.
GetUserByTeaSelect
()},
methods
:{
deleteNoticeUserGroup
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
c
[
"
d
"
](
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
n
.
$Spin
.
show
(),
e
.
next
=
3
,
l
[
"
Ob
"
]({
id
:
t
.
groupid
});
case
3
:
return
a
=
e
.
sent
,
c
[
"
e
"
](
a
),
e
.
next
=
7
,
n
.
GetNoticeUserGroupList
();
case
7
:
n
.
$Spin
.
hide
();
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
render
:
function
(
e
){
return
e
.
name
},
handleChange
:
function
(
e
,
t
,
n
){
var
a
=
this
;
switch
(
console
.
log
(
"
🚀🚀🚀,newTargetKeys
"
,
e
),
console
.
log
(
"
🚀🚀🚀,
"
,
e
,
t
,
n
),
t
){
case
"
left
"
:
n
.
forEach
((
function
(
e
,
t
){
-
1
!==
a
.
GroupUserInfo
.
member
.
indexOf
(
e
)
&&
(
a
.
GroupUserInfo
.
member
.
splice
(
a
.
GroupUserInfo
.
member
.
indexOf
(
e
),
1
),
console
.
log
(
"
🚀🚀🚀,
"
))}));
break
;
case
"
right
"
:
this
.
GroupUserInfo
.
member
=
e
;
break
}},
Ok
:
function
(){},
getApprovalGroup
:
function
(){},
GetUserByTeaSelect
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
zb
"
]();
case
2
:
t
=
e
.
sent
,
this
.
formValidate
.
userArray
=
t
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
GetNoticeUserGroupList
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
e
.
next
=
4
,
l
[
"
bb
"
](
t
);
case
4
:
n
=
e
.
sent
,
this
.
init
.
total
=
n
.
response
.
data_count
,
this
.
tableData
=
n
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
addCancel
:
function
(){
this
.
init
.
modal
=!
1
,
this
.
$emit
(
"
modalFun
"
,
this
.
init
.
modal
)},
addOk
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
$refs
[
"
formValidate
"
].
validate
(
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
a
,
i
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
!
t
){
e
.
next
=
10
;
break
}
return
a
=
{
groupname
:
n
.
formValidate
.
name
,
member
:
n
.
formValidate
.
user
},
e
.
next
=
4
,
l
[
"
Pb
"
](
a
);
case
4
:
return
i
=
e
.
sent
,
c
[
"
e
"
](
i
),
e
.
next
=
8
,
n
.
GetNoticeUserGroupList
();
case
8
:
n
.
init
.
modal
=!
1
,
n
.
$emit
(
"
modalFun
"
,
n
.
init
.
modal
);
case
10
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
return
function
(
t
){
return
e
.
apply
(
this
,
arguments
)}}());
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
editOk
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
$refs
.
formValidate1
.
validate
(
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
n
){
var
a
,
i
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
!
n
){
e
.
next
=
6
;
break
}
return
a
=
{
groupid
:
t
.
GroupUserInfo
.
groupid
,
groupname
:
t
.
formValidate
.
name
,
member
:
t
.
GroupUserInfo
.
member
},
e
.
next
=
4
,
l
[
"
Qb
"
](
a
);
case
4
:
i
=
e
.
sent
,
1
!==
i
.
code
?
t
.
$Message
.
error
(
i
.
msg_detail
):(
c
[
"
e
"
](
i
),
t
.
GetNoticeUserGroupList
(),
t
.
editModal
=!
1
);
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
return
function
(
t
){
return
e
.
apply
(
this
,
arguments
)}}());
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
edit
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
,
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
this
.
GroupUserInfo
.
groupid
=
t
.
groupid
,
this
.
formValidate
.
name
=
t
.
groupname
,
n
=
{
groupid
:
t
.
groupid
},
e
.
next
=
6
,
l
[
"
ab
"
](
n
);
case
6
:
a
=
e
.
sent
,
a
.
response
.
unmember
.
map
((
function
(
e
,
t
){
e
.
key
=
e
.
card
,
e
.
label
=
e
.
name
})),
this
.
GroupUserInfo
=
a
.
response
,
this
.
$Spin
.
hide
(),
this
.
editModal
=!
0
;
case
11
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
currentPage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetNoticeUserGroupList
()},
currentPageCount
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
GetNoticeUserGroupList
()}}}),
m
=
p
,
h
=
n
(
"
2877
"
),
f
=
Object
(
h
[
"
a
"
])(
m
,
d
,
u
,
!
1
,
null
,
null
,
null
),
g
=
f
.
exports
,
y
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
ref
:
"
card
"
},[
n
(
"
Button
"
,{
staticClass
:
"
ivu-ml-8
"
,
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
add
}},[
n
(
"
Icon
"
,{
attrs
:{
type
:
"
md-add
"
}}),
e
.
_v
(
"
\n
新增
\n
"
)],
1
),
n
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
init
.
tableData
},
scopedSlots
:
e
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
info
"
},
on
:{
click
:
function
(
t
){
return
e
.
edit
(
a
)}}},[
e
.
_v
(
"
编辑
"
)]),
n
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
t
){
return
e
.
del
(
a
)},
"
on-cancel
"
:
e
.
cancel
}},[
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
20px
"
},
attrs
:{
type
:
"
error
"
}},[
e
.
_v
(
"
删除
"
)])],
1
)]}}])}),
n
(
"
div
"
,{
staticClass
:
"
ivu-text-center ivu-mt
"
},[
n
(
"
Page
"
,{
attrs
:{
total
:
e
.
init
.
total
,
current
:
e
.
init
.
page_index
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
update:current
"
:
function
(
t
){
return
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
}})],
1
)],
1
)],
1
)},
b
=
[],
_
=
{
name
:
"
list
"
,
data
:
function
(){
return
{
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
公告标题
"
,
key
:
"
title
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
内容
"
,
key
:
"
content
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发布时间
"
,
key
:
"
publish_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
创建人
"
,
key
:
"
createby
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
修改人
"
,
key
:
"
modifyby
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
修改时间
"
,
key
:
"
modifytime
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
公告分类
"
,
key
:
"
typename
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
是否置顶
"
,
key
:
"
is_top
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
审批状态
"
,
key
:
"
approval_state
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
是否发布
"
,
key
:
"
is_public
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
typeid
:
""
,
approval_state
:
""
,
is_public
:
""
}}},
created
:
function
(){},
mounted
:
function
(){
this
.
GetNoticeList
()},
methods
:{
GetNoticeList
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
n
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
c
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
=
{
page_inde
:
n
.
init
.
page_inde
,
page_size
:
n
.
init
.
page_size
,
title
:
n
.
init
.
title
,
start_time
:
n
.
init
.
start_time
,
end_time
:
n
.
init
.
end_time
,
typeid
:
n
.
init
.
typeid
,
approval_state
:
n
.
init
.
approval_state
,
is_public
:
n
.
init
.
is_public
},
e
.
next
=
3
,
l
[
"
Y
"
](
t
);
case
3
:
return
a
=
e
.
sent
,
n
.
init
.
total
=
a
.
response
.
data_count
,
n
.
init
.
tableData
=
a
.
response
.
data
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
2
:
t
=
e
.
sent
,
console
.
log
(
"
🚀🚀🚀,
"
,
t
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
edit
:
function
(
e
){
this
.
$refs
.
addEdit
.
edit
(
e
)},
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
params
.
pageIndex
=
e
,
this
.
GetNoticeList
()},
handleChangePageSize
:
function
(
e
){
this
.
current
=
1
,
this
.
params
.
pageSize
=
e
,
this
.
GetNoticeList
()}}},
v
=
_
,
w
=
Object
(
h
[
"
a
"
])(
v
,
y
,
b
,
!
1
,
null
,
null
,
null
),
x
=
w
.
exports
,
k
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
init
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
n
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
edit
(
a
)}}},[
e
.
_v
(
"
编辑
"
)]),
n
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
t
){
return
e
.
del
(
a
)},
"
on-cancel
"
:
e
.
cancel
}},[
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
e
.
_v
(
"
删除
"
)])])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
total
:
e
.
init
.
total
,
current
:
e
.
init
.
page_index
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
update:current
"
:
function
(
t
){
return
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
}})],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
新增
"
,
closable
:
!
1
,
"
mask-closable
"
:
!
1
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
e
.
addCancel
}},[
e
.
_v
(
"
取消
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
addOk
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
modal3
,
callback
:
function
(
t
){
e
.
modal3
=
t
},
expression
:
"
modal3
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
公告类型名称
"
,
prop
:
"
typename
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入公告类型名称
"
},
model
:{
value
:
e
.
formValidate
.
typename
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
typename
"
,
t
)},
expression
:
"
formValidate.typename
"
}})],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
编辑
"
,
closable
:
!
1
,
"
mask-closable
"
:
!
1
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
e
.
addCancel1
}},[
e
.
_v
(
"
取消
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
addOk1
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
init
.
modal3Edit
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
modal3Edit
"
,
t
)},
expression
:
"
init.modal3Edit
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
公告类型名称
"
,
prop
:
"
typenameUpdate
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入公告类型名称
"
},
model
:{
value
:
e
.
formValidate
.
typenameUpdate
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
typenameUpdate
"
,
t
)},
expression
:
"
formValidate.typenameUpdate
"
}})],
1
)],
1
)],
1
)],
1
)},
V
=
[],
G
=
{
name
:
"
list
"
,
props
:[
"
modal3
"
],
data
:
function
(){
return
{
formValidate
:{
id
:
""
,
typename
:
""
,
typenameUpdate
:
""
},
ruleValidate
:{
typename
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
typenameUpdate
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}]},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
180
},{
title
:
"
公告类型
"
,
key
:
"
typename
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
180
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
editRow
:{},
modal3Edit
:
!
1
,
modal3
:
!
1
,
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
}}},
created
:
function
(){},
mounted
:
function
(){
this
.
init
.
modal3
=
this
.
modal3
,
this
.
GetNoticeList
()},
watch
:{},
methods
:{
addCancel1
:
function
(){
this
.
init
.
modal3Edit
=!
1
},
addOk1
:
function
(){
var
e
=
this
;
this
.
$refs
.
formValidate1
.
validate
((
function
(
t
){
if
(
t
){
var
n
=
{
typename
:
e
.
formValidate
.
typenameUpdate
,
typeid
:
e
.
formValidate
.
id
};
c
[
"
c
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
l
[
"
Mb
"
](
n
);
case
2
:
return
a
=
t
.
sent
,
e
.
init
.
modal3Edit
=!
1
,
t
.
next
=
6
,
e
.
GetNoticeList
();
case
6
:
return
t
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}}))},
addCancel
:
function
(){
this
.
init
.
modal3
=!
1
,
this
.
$emit
(
"
modalFun
"
,
this
.
init
.
modal3
)},
addOk
:
function
(){
var
e
=
this
;
this
.
$refs
.
formValidate
.
validate
((
function
(
t
){
t
&&
c
[
"
c
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
l
[
"
Mb
"
]({
typename
:
e
.
formValidate
.
typename
});
case
2
:
return
n
=
t
.
sent
,
e
.
init
.
modal3
=!
1
,
e
.
$emit
(
"
modalFun
"
,
e
.
init
.
modal3
),
t
.
next
=
7
,
e
.
GetNoticeList
();
case
7
:
return
t
.
abrupt
(
"
return
"
,
n
);
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}))},
GetNoticeList
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
e
.
next
=
4
,
l
[
"
Z
"
](
t
);
case
4
:
n
=
e
.
sent
,
this
.
init
.
total
=
n
.
response
.
data_count
,
this
.
init
.
tableData
=
n
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
edit
:
function
(
e
){
this
.
init
.
modal3Edit
=!
0
,
this
.
formValidate
.
typenameUpdate
=
e
.
typename
,
this
.
formValidate
.
id
=
e
.
typeid
},
del
:
function
(
e
){
var
t
=
this
;
c
[
"
c
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
n
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
l
[
"
Lb
"
]({
id
:
e
.
typeid
});
case
2
:
return
a
=
n
.
sent
,
n
.
next
=
5
,
t
.
GetNoticeList
();
case
5
:
return
n
.
abrupt
(
"
return
"
,
a
);
case
6
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetNoticeList
()},
handleChangePageSize
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
GetNoticeList
()}}},
z
=
G
,
$
=
Object
(
h
[
"
a
"
])(
z
,
k
,
V
,
!
1
,
null
,
null
,
null
),
S
=
$
.
exports
,
O
=
{
components
:{
noticeApprovalUserGroup
:
g
,
noticePublish
:
x
,
noticeType
:
S
},
data
:
function
(){
return
{
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
公告标题
"
,
key
:
"
title
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
内容
"
,
key
:
"
content
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发布时间
"
,
key
:
"
publish_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
创建人
"
,
key
:
"
createby
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
修改人
"
,
key
:
"
modifyby
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
修改时间
"
,
key
:
"
modifytime
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
公告分类
"
,
key
:
"
typename
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
是否置顶
"
,
key
:
"
is_top
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
审批状态
"
,
key
:
"
approval_state
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
是否发布
"
,
key
:
"
is_public
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
modal3
:
!
1
,
modal
:
!
1
,
radioInitArray
:[{
label
:
"
公告用户审批组
"
,
value
:
1
},{
label
:
"
公告类型
"
,
value
:
3
}],
radioValue
:
1
,
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
typeid
:
""
,
approval_state
:
""
,
is_public
:
""
}}},
created
:
function
(){},
mounted
:
function
(){
this
.
GetNoticeList
()},
methods
:{
modalFun
:
function
(
e
){
console
.
log
(
"
🚀🚀🚀dasdas,
"
,
e
),
this
.
init
.
modal
=
e
},
modalFun3
:
function
(
e
){
console
.
log
(
"
🚀🚀🚀33,
"
,
e
),
this
.
init
.
modal3
=
e
},
radioChange
:
function
(
e
){
switch
(
e
){}
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
GetNoticeList
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
n
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
c
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
=
{
page_inde
:
n
.
init
.
page_inde
,
page_size
:
n
.
init
.
page_size
,
title
:
n
.
init
.
title
,
start_time
:
n
.
init
.
start_time
,
end_time
:
n
.
init
.
end_time
,
typeid
:
n
.
init
.
typeid
,
approval_state
:
n
.
init
.
approval_state
,
is_public
:
n
.
init
.
is_public
},
e
.
next
=
3
,
l
[
"
Y
"
](
t
);
case
3
:
return
a
=
e
.
sent
,
n
.
init
.
total
=
a
.
response
.
data_count
,
n
.
init
.
tableData
=
a
.
response
.
data
,
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
2
:
t
=
e
.
sent
,
console
.
log
(
"
🚀🚀🚀,
"
,
t
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
edit
:
function
(
e
){
this
.
$refs
.
addEdit
.
edit
(
e
)},
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
e
){
this
.
params
.
pageIndex
=
e
,
this
.
GetNoticeList
()},
handleChangePageSize
:
function
(
e
){
this
.
current
=
1
,
this
.
params
.
pageSize
=
e
,
this
.
GetNoticeList
()}}},
I
=
O
,
U
=
Object
(
h
[
"
a
"
])(
I
,
a
,
i
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
U
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-2d226568.
0dc8a57
3.js
→
dist/js/chunk-2d226568.
33b9d13
3.js
浏览文件 @
d2b1f20c
文件已移动
dist/js/chunk-2d22ca54.
165babcb
.js
→
dist/js/chunk-2d22ca54.
67808dc5
.js
浏览文件 @
d2b1f20c
文件已移动
dist/js/chunk-3033a837.5f3f27f9.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-3033a837
"
],{
"
2c45
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
(
"
a470
"
)},
"
3e93
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
h3
"
,{
staticStyle
:{
height
:
"
30px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
e
.
_v
(
"
\n
流程设计管理
\n
"
)])]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"
\n
新增流程
\n
"
)])]},
proxy
:
!
0
}])},[
n
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
status
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
n
(
"
i-switch
"
,{
ref
:
"
refSwitch
"
,
attrs
:{
"
true-color
"
:
"
#22d86e
"
,
value
:
Boolean
(
a
.
status
)},
on
:{
"
on-change
"
:
function
(
t
){
return
e
.
changeSwitch
(
a
)}},
scopedSlots
:
e
.
_u
([{
key
:
"
open
"
,
fn
:
function
(){
return
[
n
(
"
span
"
,[
e
.
_v
(
"
是
"
)])]},
proxy
:
!
0
},{
key
:
"
close
"
,
fn
:
function
(){
return
[
n
(
"
span
"
,[
e
.
_v
(
"
否
"
)])]},
proxy
:
!
0
}],
null
,
!
0
)})]}},{
key
:
"
remark
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
e
.
_v
(
"
\n\n
"
+
e
.
_s
(
n
.
remark
)
+
"
\n\n
"
)]}},{
key
:
"
member
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
e
.
_l
(
a
.
member
,(
function
(
t
,
a
){
return
n
(
"
Tag
"
,{
key
:
a
,
attrs
:{
type
:
"
border
"
,
color
:
"
primary
"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
name
)
+
"
(
"
+
e
.
_s
(
t
.
card
)
+
"
)
\n
"
)])}))}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
n
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
node
(
a
)}}},[
e
.
_v
(
"
节点信息
"
)]),
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
t
){
return
e
.
edit
(
a
)}}},[
e
.
_v
(
"
编辑
"
)]),
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
},
on
:{
click
:
function
(
t
){
return
e
.
deleteUserGroup
(
a
)}}},[
e
.
_v
(
"
删除
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
e
.
init
.
total
,
"
page-size
"
:
e
.
init
.
page_size
,
"
model-value
"
:
"
init.page_index
"
},
on
:{
"
on-change
"
:
e
.
currentPage
,
"
on-page-size-change
"
:
e
.
currentPageCount
}})],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
新增
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
addModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
addOk
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
addModal
,
callback
:
function
(
t
){
e
.
addModal
=
t
},
expression
:
"
addModal
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
流程名称
"
,
prop
:
"
flowname
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入流程名称
"
},
model
:{
value
:
e
.
formValidate
.
flowname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
flowname
"
,
t
)},
expression
:
"
formValidate.flowname
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
流程备注
"
,
prop
:
"
remark
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入流程名称
"
},
model
:{
value
:
e
.
formValidate
.
remark
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
remark
"
,
t
)},
expression
:
"
formValidate.remark
"
}})],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
""
,
width
:
80
,
closable
:
!
1
,
styles
:{
top
:
"
10px
"
}},
on
:{
"
on-visible-change
"
:
e
.
closeNodeModal
},
scopedSlots
:
e
.
_u
([{
key
:
"
header
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
span
"
,{
staticStyle
:{
"
font-size
"
:
"
18px
"
}},[
e
.
_v
(
"
流程节点列表
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
addNode
}},[
e
.
_v
(
"
\n
新增节点
\n
"
)])],
1
)]},
proxy
:
!
0
},{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
nodeModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
addOk
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
nodeModal
,
callback
:
function
(
t
){
e
.
nodeModal
=
t
},
expression
:
"
nodeModal
"
}},[
n
(
"
Table
"
,{
attrs
:{
columns
:
e
.
nodecolumns
,
data
:
e
.
nodetableData
,
loading
:
e
.
tableLoading
},
scopedSlots
:
e
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
n
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
nodeInfo
(
a
)}}},[
e
.
_v
(
"
详细
"
)]),
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
t
){
return
e
.
editNode
(
a
)}}},[
e
.
_v
(
"
编辑
"
)]),
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
},
on
:{
click
:
function
(
t
){
return
e
.
deleteNode
(
a
)}}},[
e
.
_v
(
"
删除
"
)])]}}])}),
n
(
"
Drawer
"
,{
attrs
:{
transfer
:
!
1
,
title
:
"
节点详细信息
"
,
width
:
450
},
model
:{
value
:
e
.
nodeDrawer
,
callback
:
function
(
t
){
e
.
nodeDrawer
=
t
},
expression
:
"
nodeDrawer
"
}},[
n
(
"
Timeline
"
,[
n
(
"
TimelineItem
"
,{
attrs
:{
color
:
"
blue
"
}},[
n
(
"
p
"
,{
staticStyle
:{
"
font-weight
"
:
"
bold
"
}},[
e
.
_v
(
e
.
_s
(
e
.
nodeDrewerData
.
last_node_name
?
e
.
nodeDrewerData
.
last_node_name
:
"
无
"
))]),
n
(
"
p
"
,[
e
.
_v
(
"
上一个节点
"
)])]),
n
(
"
TimelineItem
"
,{
attrs
:{
color
:
"
green
"
}},[
n
(
"
p
"
,{
staticStyle
:{
"
font-weight
"
:
"
bold
"
}},[
e
.
_v
(
e
.
_s
(
e
.
nodeDrewerData
.
nodename
))]),
n
(
"
p
"
,[
e
.
_v
(
"
当前节点
"
)])]),
n
(
"
TimelineItem
"
,{
attrs
:{
color
:
"
blue
"
}},[
n
(
"
p
"
,{
staticStyle
:{
"
font-weight
"
:
"
bold
"
}},[
e
.
_v
(
e
.
_s
(
e
.
nodeDrewerData
.
next_node_name
?
e
.
nodeDrewerData
.
next_node_name
:
"
无
"
))]),
n
(
"
p
"
,[
e
.
_v
(
"
下一个节点
"
)])])],
1
),
n
(
"
Row
"
,[
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
span
"
,[
e
.
_v
(
"
\n
接收组:
\n
"
)]),
n
(
"
span
"
,{
staticClass
:
"
font
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
nodeDrewerData
.
receive_name
)
+
"
\n
"
)])]),
n
(
"
Col
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-end
"
},
attrs
:{
span
:
12
}},[
n
(
"
span
"
,[
e
.
_v
(
"
\n
创建人:
\n
"
)]),
n
(
"
span
"
,{
staticClass
:
"
font
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
nodeDrewerData
.
createby
)
+
"
\n
"
)])])],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
新增节点
"
,
width
:
"
40
"
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
addNodeModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
addNodeOk
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
addNodeModal
,
callback
:
function
(
t
){
e
.
addNodeModal
=
t
},
expression
:
"
addNodeModal
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
e
.
formValidate1
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
130
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
当前节点名称
"
,
prop
:
"
nodename
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入当前节点名称
"
},
model
:{
value
:
e
.
formValidate1
.
nodename
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate1
,
"
nodename
"
,
t
)},
expression
:
"
formValidate1.nodename
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
上一个节点
"
,
prop
:
"
last_node_id
"
}},[
n
(
"
Select
"
,{
model
:{
value
:
e
.
formValidate1
.
last_node_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate1
,
"
last_node_id
"
,
t
)},
expression
:
"
formValidate1.last_node_id
"
}},
e
.
_l
(
e
.
nodeList
,(
function
(
t
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
下一个节点
"
,
prop
:
"
next_node_id
"
}},[
n
(
"
Select
"
,{
model
:{
value
:
e
.
formValidate1
.
next_node_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate1
,
"
next_node_id
"
,
t
)},
expression
:
"
formValidate1.next_node_id
"
}},
e
.
_l
(
e
.
nodeList
,(
function
(
t
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
接收节点用户组
"
,
prop
:
"
receive
"
}},[
n
(
"
Select
"
,{
model
:{
value
:
e
.
formValidate1
.
receive
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate1
,
"
receive
"
,
t
)},
expression
:
"
formValidate1.receive
"
}},
e
.
_l
(
e
.
userGroupArray
,(
function
(
t
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
编辑节点
"
,
width
:
"
40
"
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
addNodeModal1
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
addNodeOk1
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
addNodeModal1
,
callback
:
function
(
t
){
e
.
addNodeModal1
=
t
},
expression
:
"
addNodeModal1
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate2
"
,
attrs
:{
model
:
e
.
formValidate2
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
130
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
当前节点名称
"
,
prop
:
"
nodename
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入当前节点名称
"
},
model
:{
value
:
e
.
formValidate2
.
nodename
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate2
,
"
nodename
"
,
t
)},
expression
:
"
formValidate2.nodename
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
上一个节点
"
,
prop
:
"
last_node_id
"
}},[
n
(
"
Select
"
,{
model
:{
value
:
e
.
formValidate2
.
last_node_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate2
,
"
last_node_id
"
,
t
)},
expression
:
"
formValidate2.last_node_id
"
}},
e
.
_l
(
e
.
nodeList
,(
function
(
t
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
下一个节点
"
,
prop
:
"
next_node_id
"
}},[
n
(
"
Select
"
,{
model
:{
value
:
e
.
formValidate2
.
next_node_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate2
,
"
next_node_id
"
,
t
)},
expression
:
"
formValidate2.next_node_id
"
}},
e
.
_l
(
e
.
nodeList
,(
function
(
t
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
接收节点用户组
"
,
prop
:
"
receive
"
}},[
n
(
"
Select
"
,{
model
:{
value
:
e
.
formValidate2
.
receive
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate2
,
"
receive
"
,
t
)},
expression
:
"
formValidate2.receive
"
}},
e
.
_l
(
e
.
userGroupArray
,(
function
(
t
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
)],
1
)],
1
)},
r
=
[],
o
=
(
n
(
"
7f7f
"
),
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
i
=
n
(
"
967e
"
),
s
=
n
.
n
(
i
),
l
=
n
(
"
7f6b
"
),
d
=
n
(
"
61be
"
),
c
=
n
(
"
2ef0
"
),
u
=
n
.
n
(
c
),
f
=
{
name
:
"
list
"
,
data
:
function
(){
return
{
addNodeModal1
:
!
1
,
processModeArray
:[{
name
:
"
或签
"
,
value
:
0
},{
name
:
"
会签
"
,
value
:
1
}],
userGroupArray
:[],
addNodeModal
:
!
1
,
nodeDrawer
:
!
1
,
nodeList
:[],
nodeApprovalMode
:[],
tableLoading
:
!
1
,
nodeModal
:
!
1
,
tramsferKey
:
1
,
GroupUserInfo
:{},
formValidate
:{
addOrEdit
:
""
,
flowname
:
""
,
remark
:
""
,
createtime
:
""
,
createby
:
""
},
formValidate1
:{
nodename
:
""
,
flow_id
:
""
,
last_node_id
:
""
,
next_node_id
:
""
,
process_mode
:
0
,
receive
:
""
},
formValidate2
:{
nodename
:
""
,
flow_id
:
""
,
last_node_id
:
""
,
next_node_id
:
""
,
process_mode
:
0
,
receive
:
""
},
ruleValidate
:{
nodename
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
此项不能为空
"
,
trigger
:
"
blur
"
}],
last_node_id1
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
next_node_id1
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
receive
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
process_mode
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
flowname
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
此项不能为空
"
,
trigger
:
"
blur
"
}],
remark
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}]},
addModal
:
!
1
,
editId
:
""
,
editModal
:
!
1
,
approvalGroup
:[],
init
:{
total
:
null
,
page_size
:
10
,
page_index
:
1
},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
流程名称
"
,
key
:
"
flowname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
备注
"
,
slot
:
"
remark
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发布状态
"
,
slot
:
"
status
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
创建人
"
,
key
:
"
createby
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
创建时间
"
,
key
:
"
createtime
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
修改人
"
,
key
:
"
modifyby
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
修改时间
"
,
key
:
"
modifytime
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
nodecolumns
:[{
title
:
"
当前节点名称
"
,
key
:
"
nodename
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
上个节点名称
"
,
key
:
"
last_node_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
下个节点名称
"
,
key
:
"
next_node_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
接收用户组
"
,
key
:
"
receive_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
创建人
"
,
key
:
"
createby
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
创建时间
"
,
key
:
"
createtime
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
修改人
"
,
key
:
"
modifyby
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
修改时间
"
,
key
:
"
modifytime
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
show
:
!
0
,
slot
:
"
action
"
}],
nodetableData
:[],
nodeDrewerData
:{},
tableData
:[],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
}},
watch
:{
"
formValidate1.flow_id
"
:
function
(
e
,
t
){
console
.
log
(
"
🚀🚀🚀,
"
,
e
)}},
created
:
function
(){},
mounted
:
function
(){
this
.
GetFlowDesignAllList
(),
this
.
getSelectList
(),
this
.
GetFlowUserGroupBySelect
()},
methods
:{
GetFlowUserGroupBySelect
:
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
Q
"
]({
key
:
""
});
case
2
:
t
=
e
.
sent
,
this
.
userGroupArray
=
t
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
addNode
:
function
(){
this
.
addNodeModal
=!
0
},
closeNodeModal
:
function
(
e
){
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
!
e
&&
(
this
.
nodeDrawer
=!
1
)},
add
:
function
(){
this
.
addModal
=!
0
,
this
.
formValidate
=
{},
this
.
formValidate
.
addOrEdit
=
"
add
"
},
changeSwitch
:
function
(
e
){
var
t
=
this
;
d
[
"
c
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
n
(){
var
a
,
r
;
return
s
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
a
=
{
flowid
:
e
.
flowid
,
status
:
Boolean
(
e
.
status
)?
0
:
1
},
n
.
next
=
3
,
l
[
"
r
"
](
a
);
case
3
:
return
r
=
n
.
sent
,
t
.
GetFlowDesignAllList
(),
n
.
abrupt
(
"
return
"
,
r
);
case
6
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))},
render
:
function
(
e
){
return
e
.
name
},
handleChange
:
function
(
e
,
t
,
n
){
var
a
=
this
;
switch
(
t
){
case
"
left
"
:
n
.
map
((
function
(
e
,
t
){
-
1
!==
a
.
GroupUserInfo
.
member
.
indexOf
(
e
)
&&
a
.
GroupUserInfo
.
member
.
splice
(
a
.
GroupUserInfo
.
member
.
indexOf
(
e
),
1
)}));
break
;
case
"
right
"
:
this
.
GroupUserInfo
.
member
=
e
;
break
}},
Ok
:
function
(){},
getSelectList
:
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
eb
"
]();
case
2
:
t
=
e
.
sent
,
this
.
nodeApprovalMode
=
t
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
GetFlowDesignAllList
:
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
e
.
next
=
4
,
l
[
"
G
"
](
t
);
case
4
:
n
=
e
.
sent
,
this
.
init
.
total
=
n
.
response
.
data_count
,
this
.
tableData
=
n
.
response
.
data
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
addOk
:
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
$refs
[
"
formValidate
"
].
validate
((
function
(
e
){
if
(
e
){
var
t
=
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
=
u
.
a
.
cloneDeep
(
n
.
formValidate
),
e
.
next
=
3
,
l
[
"
I
"
](
t
);
case
3
:
return
a
=
e
.
sent
,
e
.
next
=
6
,
n
.
GetFlowDesignAllList
();
case
6
:
return
n
.
addModal
=!
1
,
e
.
abrupt
(
"
return
"
,
a
);
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
return
function
(){
return
e
.
apply
(
this
,
arguments
)}}();
d
[
"
c
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
e
.
t0
=
n
.
formValidate
.
addOrEdit
,
e
.
next
=
"
add
"
===
e
.
t0
?
3
:
"
edit
"
===
e
.
t0
?
7
:
11
;
break
;
case
3
:
return
e
.
next
=
5
,
t
();
case
5
:
return
e
.
abrupt
(
"
return
"
,
e
.
sent
);
case
7
:
return
e
.
next
=
9
,
t
();
case
9
:
return
e
.
abrupt
(
"
return
"
,
e
.
sent
);
case
11
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))}}));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
editOk
:
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
$refs
.
formValidate1
.
validate
(
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
n
){
var
a
,
r
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
!
n
){
e
.
next
=
6
;
break
}
return
a
=
{
groupid
:
t
.
GroupUserInfo
.
groupid
,
groupname
:
t
.
formValidate
.
name
,
member
:
t
.
GroupUserInfo
.
member
},
e
.
next
=
4
,
l
[
"
w
"
](
a
);
case
4
:
r
=
e
.
sent
,
1
!==
r
.
code
?
t
.
$Message
.
error
(
r
.
msg_detail
):(
d
[
"
e
"
](
r
),
t
.
GetFlowDesignAllList
(),
t
.
editModal
=!
1
);
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
return
function
(
t
){
return
e
.
apply
(
this
,
arguments
)}}());
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
deleteUserGroup
:
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
d
[
"
d
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
c
"
](
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
[
"
m
"
]({
flowid
:
t
.
flowid
});
case
2
:
return
a
=
e
.
sent
,
e
.
next
=
5
,
n
.
GetFlowDesignAllList
();
case
5
:
return
e
.
abrupt
(
"
return
"
,
a
);
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
addNodeOk
:
function
(){
var
e
=
this
,
t
=
function
(){
e
.
addNodeModal
=!
1
;
var
t
=
e
.
formValidate1
.
flow_id
;
e
.
formValidate1
=
{},
e
.
formValidate1
.
flow_id
=
t
};
this
.
$refs
[
"
formValidate1
"
].
validate
(
function
(){
var
n
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
n
(
a
){
var
r
,
i
;
return
s
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
if
(
!
a
){
n
.
next
=
7
;
break
}
return
r
=
u
.
a
.
cloneDeep
(
e
.
formValidate1
),
n
.
next
=
4
,
d
[
"
c
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
n
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
l
[
"
p
"
](
r
);
case
2
:
return
n
=
t
.
sent
,
t
.
next
=
5
,
e
.
fun
(
e
.
formValidate1
.
flow_id
);
case
5
:
return
t
.
abrupt
(
"
return
"
,
n
);
case
6
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
4
:
i
=
n
.
sent
,
console
.
log
(
"
res
"
,
i
.
code
),
1
===
i
.
code
&&
t
();
case
7
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)})));
return
function
(
e
){
return
n
.
apply
(
this
,
arguments
)}}())},
fun
:
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
,
a
,
r
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
{
flowid
:
t
},
this
.
tableLoading
=!
0
,
e
.
next
=
4
,
l
[
"
N
"
](
n
);
case
4
:
return
a
=
e
.
sent
,
this
.
nodetableData
=
a
.
response
,
this
.
tableLoading
=!
1
,
e
.
next
=
9
,
l
[
"
O
"
](
n
);
case
9
:
r
=
e
.
sent
,
this
.
nodeList
=
r
.
response
;
case
11
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
deleteNode
:
function
(
e
){
var
t
=
this
;
d
[
"
d
"
]((
function
(){
return
d
[
"
c
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
n
(){
var
a
;
return
s
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
l
[
"
o
"
]({
id
:
e
.
nodeid
});
case
2
:
return
a
=
n
.
sent
,
n
.
next
=
5
,
t
.
fun
(
e
.
flow_id
);
case
5
:
return
n
.
abrupt
(
"
return
"
,
a
);
case
6
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))}))},
edit
:
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
formValidate
=
{},
this
.
formValidate
=
t
,
this
.
formValidate
.
addOrEdit
=
"
edit
"
,
this
.
addModal
=!
0
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
editNode
:
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
formValidate2
=
{},
this
.
addNodeModal1
=!
0
,
e
.
next
=
4
,
l
[
"
M
"
]({
flowid
:
t
.
flow_id
,
nodeid
:
t
.
nodeid
});
case
4
:
n
=
e
.
sent
,
this
.
formValidate2
=
n
.
response
;
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
addNodeOk1
:
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
n
,
a
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
=
function
(){
var
e
=
a
.
formValidate2
.
flow_id
;
a
.
addNodeModal1
=!
1
,
a
.
formValidate2
=
{},
a
.
formValidate2
.
flow_id
=
e
},
e
.
next
=
3
,
d
[
"
c
"
](
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
=
u
.
a
.
cloneDeep
(
a
.
formValidate2
),
e
.
next
=
3
,
l
[
"
p
"
](
t
);
case
3
:
return
n
=
e
.
sent
,
e
.
next
=
6
,
a
.
fun
(
a
.
formValidate2
.
flow_id
);
case
6
:
return
e
.
abrupt
(
"
return
"
,
n
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
3
:
n
=
e
.
sent
,
1
===
n
.
code
&&
t
();
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
nodeInfo
:
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
,
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
nodeDrawer
=!
0
,
n
=
{
flowid
:
t
.
flow_id
,
nodeid
:
t
.
nodeid
},
e
.
next
=
4
,
l
[
"
M
"
](
n
);
case
4
:
a
=
e
.
sent
,
this
.
nodeDrewerData
=
a
.
response
;
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
node
:
function
(){
var
e
=
Object
(
o
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
,
a
,
r
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
nodeModal
=!
0
,
n
=
{
flowid
:
t
.
flowid
},
this
.
tableLoading
=!
0
,
e
.
next
=
5
,
l
[
"
N
"
](
n
);
case
5
:
return
a
=
e
.
sent
,
this
.
nodetableData
=
a
.
response
,
this
.
formValidate1
.
flow_id
=
t
.
flowid
,
this
.
tableLoading
=!
1
,
e
.
next
=
11
,
l
[
"
O
"
](
n
);
case
11
:
r
=
e
.
sent
,
this
.
nodeList
=
r
.
response
;
case
13
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
currentPage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
GetFlowDesignAllList
()},
currentPageCount
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
GetFlowDesignAllList
()}}},
p
=
f
,
m
=
(
n
(
"
2c45
"
),
n
(
"
2877
"
)),
h
=
Object
(
m
[
"
a
"
])(
p
,
a
,
r
,
!
1
,
null
,
"
cc19bf3a
"
,
null
);
t
[
"
default
"
]
=
h
.
exports
},
a470
:
function
(
e
,
t
,
n
){}}]);
\ No newline at end of file
dist/js/chunk-332f4830.a81d85d4.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-332f4830
"
],{
"
386d
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
=
a
(
"
cb7c
"
),
i
=
a
(
"
83a1
"
),
r
=
a
(
"
5f1b
"
);
a
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
e
,
t
,
a
,
s
){
return
[
function
(
a
){
var
n
=
e
(
this
),
i
=
void
0
==
a
?
void
0
:
a
[
t
];
return
void
0
!==
i
?
i
.
call
(
a
,
n
):
new
RegExp
(
a
)[
t
](
String
(
n
))},
function
(
e
){
var
t
=
s
(
a
,
e
,
this
);
if
(
t
.
done
)
return
t
.
value
;
var
l
=
n
(
e
),
o
=
String
(
this
),
c
=
l
.
lastIndex
;
i
(
c
,
0
)
||
(
l
.
lastIndex
=
0
);
var
u
=
r
(
l
,
o
);
return
i
(
l
.
lastIndex
,
c
)
||
(
l
.
lastIndex
=
c
),
null
===
u
?
-
1
:
u
.
index
}]}))},
"
504c
"
:
function
(
e
,
t
,
a
){
var
n
=
a
(
"
9e1e
"
),
i
=
a
(
"
0d58
"
),
r
=
a
(
"
6821
"
),
s
=
a
(
"
52a7
"
).
f
;
e
.
exports
=
function
(
e
){
return
function
(
t
){
var
a
,
l
=
r
(
t
),
o
=
i
(
l
),
c
=
o
.
length
,
u
=
0
,
p
=
[];
while
(
c
>
u
)
a
=
o
[
u
++
],
n
&&!
s
.
call
(
l
,
a
)
||
p
.
push
(
e
?[
a
,
l
[
a
]]:
l
[
a
]);
return
p
}}},
"
7e98
"
:
function
(
e
,
t
,
a
){},
"
83a1
"
:
function
(
e
,
t
){
e
.
exports
=
Object
.
is
||
function
(
e
,
t
){
return
e
===
t
?
0
!==
e
||
1
/
e
===
1
/
t
:
e
!=
e
&&
t
!=
t
}},
bd43
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
height
:
"
80px
"
}},[
a
(
"
h3
"
,[
e
.
_v
(
"
补助金列表
"
)]),
a
(
"
Row
"
,{
staticStyle
:{
"
margin-top
"
:
"
30px
"
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
e
.
_v
(
"
\n
参与方式:
\n
"
),
a
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
attrs
:{
disabled
:
!
0
},
model
:{
value
:
e
.
search
.
way
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"
way
"
,
t
)},
expression
:
"
search.way
"
}},
e
.
_l
(
e
.
search
.
wayArray
,(
function
(
t
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
center
"
}},[
e
.
_v
(
"
\n
竞赛类别:
\n
"
),
a
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
model
:{
value
:
e
.
search
.
level
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"
level
"
,
t
)},
expression
:
"
search.level
"
}},
e
.
_l
(
e
.
search
.
levelArray
,(
function
(
t
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
)]),
a
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
flex-end
"
}},[
e
.
_v
(
"
\n
审批状态:
\n
"
),
a
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
model
:{
value
:
e
.
search
.
approval_state
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"
approval_state
"
,
t
)},
expression
:
"
search.approval_state
"
}},
e
.
_l
(
e
.
search
.
approval_stateArray
,(
function
(
t
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
)])],
1
)],
1
)]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
},
attrs
:{
placeholder
:
"
请输入竞赛名称...
"
},
model
:{
value
:
e
.
search
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"
name
"
,
t
)},
expression
:
"
search.name
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
e
.
searchButton
},
on
:{
click
:
e
.
searchFun
}},[
e
.
_v
(
"
查找
"
)])]},
proxy
:
!
0
}])},[
a
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
race_level
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
([
""
,
"
国家级
"
,
"
省一级
"
,
"
省二级
"
][
a
.
race_level
])
+
"
\n
"
)]}},{
key
:
"
way
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
n
.
way
]}},[
e
.
_v
(
e
.
_s
([
"
团队
"
,
"
个人
"
][
n
.
way
]))])]}},{
key
:
"
approval_state
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
未审批
"
,
"
审批中
"
,
"
审批通过
"
,
"
审批不通过
"
][
a
.
approval_state
])
+
"
\n
"
)]}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
a
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
importFile
(
n
)}}},[
e
.
_v
(
"
导出
"
)]),
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
t
){
return
e
.
edit
(
n
)}}},[
e
.
_v
(
"
详细
"
)]),
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
t
){
return
e
.
delCompetition
(
n
)},
"
on-cancel
"
:
e
.
cancel
}},[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
e
.
_v
(
"
删除
"
)])])]}}])},[
e
.
_v
(
"
\n
>
\n
"
)]),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Page
"
,{
key
:
e
.
pageKey
,
attrs
:{
total
:
e
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
},
model
:{
value
:
e
.
init
.
page_index
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
文件导出
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
importModal
=!
1
}}},[
e
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
importModal
,
callback
:
function
(
t
){
e
.
importModal
=
t
},
expression
:
"
importModal
"
}},[
e
.
importLoading
?
a
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
e
.
_e
(),
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-around
"
}},
e
.
_l
(
e
.
fileObject
,(
function
(
t
,
n
){
return
a
(
"
Button
"
,{
key
:
n
,
attrs
:{
icon
:
"
md-log-in
"
},
on
:{
click
:
function
(
a
){
return
e
.
importButton
(
t
[
1
])}}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
[
2
])
+
"
\n
"
)])})),
1
)],
1
),
a
(
"
Drawer
"
,{
attrs
:{
width
:
800
,
title
:
"
详细
"
,
closable
:
!
0
},
model
:{
value
:
e
.
drawer
,
callback
:
function
(
t
){
e
.
drawer
=
t
},
expression
:
"
drawer
"
}},[
a
(
"
div
"
,{
staticClass
:
"
tableList
"
},[
a
(
"
h1
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
e
.
_v
(
"
补助金内容详细
"
)]),
a
(
"
table
"
,{
staticClass
:
"
container
"
,
attrs
:{
border
:
"
1
"
}},
e
.
_l
(
e
.
drawerKeyValueArray
,(
function
(
t
,
n
){
return
a
(
"
tr
"
,{
key
:
n
,
staticClass
:
"
row
"
},[
"
level
"
===
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
]))]):
e
.
_e
(),
"
level
"
===
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
e
.
_v
(
e
.
_s
([
"
国家级
"
,
"
省一级
"
,
"
省二级
"
][
t
[
1
]]))]):
e
.
_e
(),
"
way
"
===
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
]))]):
e
.
_e
(),
"
way
"
===
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
e
.
_v
(
e
.
_s
([
"
团队
"
,
"
个人
"
][
t
[
1
]]))]):
e
.
_e
(),
"
approval_state
"
===
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
]))]):
e
.
_e
(),
"
approval_state
"
===
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
未审批
"
,
"
审批中
"
,
"
审批通过
"
,
"
审批不通过
"
][
t
[
1
]])
+
"
\n
"
)]):
e
.
_e
(),
"
fileList
"
!==
t
[
0
]
&&
"
level
"
!==
t
[
0
]
&&
"
way
"
!==
t
[
0
]
&&
"
approval_state
"
!==
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
])
+
"
\n
"
)]):
e
.
_e
(),
"
fileList
"
!==
t
[
0
]
&&
"
level
"
!==
t
[
0
]
&&
"
way
"
!==
t
[
0
]
&&
"
approval_state
"
!==
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
e
.
_v
(
e
.
_s
(
t
[
1
])
+
"
\n
"
)]):
e
.
_e
(),
"
fileList
"
===
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
]))]):
e
.
_e
(),
"
fileList
"
===
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},
e
.
_l
(
t
[
1
],(
function
(
t
,
n
){
return
a
(
"
a
"
,{
key
:
n
,
staticClass
:
"
aText
"
,
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
},
attrs
:{
href
:
t
.
path
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
)])})),
0
):
e
.
_e
()])})),
0
)])])],
1
)},
i
=
[],
r
=
(
a
(
"
ac6a
"
),
a
(
"
ffc1
"
),
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
s
=
(
a
(
"
7f7f
"
),
a
(
"
386d
"
),
a
(
"
967e
"
)),
l
=
a
.
n
(
s
),
o
=
a
(
"
61be
"
),
c
=
a
(
"
7f6b
"
),
u
=
a
(
"
2ef0
"
),
p
=
a
.
n
(
u
),
h
=
{
name
:
"
list
"
,
data
:
function
(){
return
{
importLoading
:
!
1
,
importModal
:
!
1
,
drawerKeyValueArray
:[],
drawer
:
!
1
,
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
姓名
"
,
key
:
"
name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
性别
"
,
key
:
"
sex
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
学号/工号
"
,
key
:
"
card_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
专业/班级
"
,
key
:
"
specialty_class
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
竞赛名称
"
,
key
:
"
competitionname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
竞赛类别
"
,
slot
:
"
race_level
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
补助金额
"
,
key
:
"
money
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
审批状态
"
,
slot
:
"
approval_state
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
补助时间
"
,
key
:
"
grant_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
竞赛文件名
"
,
key
:
"
file_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
计划集训时间
"
,
key
:
"
plan_train_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
实际集训起止时间
"
,
key
:
"
train_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
参赛具体情况
"
,
key
:
"
competition_info
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
search
:{
way
:
""
,
name
:
""
,
approval_state
:
""
,
level
:
""
,
wayCurrentValue
:
""
,
nameCurrentValue
:
""
,
approval_stateCurrentValue
:
""
,
levelCurrentValue
:
""
,
approval_stateArray
:[{
value
:
0
,
label
:
"
未审批
"
},{
value
:
1
,
label
:
"
审批中
"
},{
value
:
2
,
label
:
"
审批通过
"
},{
value
:
3
,
label
:
"
审批不通过
"
}],
levelArray
:[{
value
:
1
,
label
:
"
国家级
"
},{
value
:
2
,
label
:
"
省一级
"
},{
value
:
3
,
label
:
"
省二级
"
}],
wayArray
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}]},
init
:{
page_index
:
1
,
page_size
:
10
,
total
:
0
},
pageKey
:
1
,
fileObject
:{}}},
created
:
function
(){},
computed
:{
searchButton
:
function
(){
return
""
===
this
.
search
.
way
&&
""
===
this
.
search
.
level
&&
""
===
this
.
search
.
name
&&
""
===
this
.
search
.
approval_state
}},
mounted
:
function
(){
this
.
getCompetitionSignList
()},
methods
:{
importButton
:
function
(
e
){
window
.
open
(
e
,
"
_blank
"
)},
importOk
:
function
(){},
delCompetition
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
a
,
n
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
a
=
{
id
:
t
.
bursaryid
},
e
.
next
=
3
,
c
[
"
c
"
](
a
);
case
3
:
return
n
=
e
.
sent
,
o
[
"
e
"
](
n
),
e
.
next
=
7
,
this
.
getCompetitionSignList
();
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
getCompetitionSignList
()},
handleChangePageSize
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
getCompetitionSignList
()},
searchFun
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
search
.
wayCurrentValuethis
=
this
.
search
.
name
,
this
.
search
.
levelCurrentValue
=
this
.
search
.
level
,
this
.
search
.
wayCurrentValue
=
this
.
search
.
way
,
this
.
search
.
approval_stateCurrentValue
=
this
.
search
.
approval_state
,
this
.
pageKey
++
,
this
.
init
.
page_index
=
1
,
e
.
next
=
8
,
this
.
getCompetitionSignList
();
case
8
:
e
.
sent
;
case
9
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
getCompetitionSignList
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
name
:
this
.
search
.
wayCurrentValuethis
,
level
:
this
.
search
.
levelCurrentValue
,
way
:
this
.
search
.
wayCurrentValue
,
approval_state
:
this
.
search
.
approval_stateCurrentValue
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
e
.
next
=
4
,
c
[
"
B
"
](
t
);
case
4
:
a
=
e
.
sent
,
this
.
tableData
=
a
.
response
.
data
,
this
.
init
.
total
=
a
.
response
.
data_count
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
importFile
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
a
,
n
,
i
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
importModal
=!
0
,
this
.
importLoading
=!
0
,
e
.
next
=
4
,
c
[
"
d
"
]({
id
:
t
.
bursaryid
});
case
4
:
a
=
e
.
sent
;
try
{
delete
a
.
response
.
response
.
file_name
,
n
=
Object
.
entries
(
a
.
response
.
response
),
i
=
[
"
PDF导出
"
,
"
Word导出
"
],
n
.
map
((
function
(
e
,
t
){
e
.
push
(
i
[
t
])})),
this
.
fileObject
=
n
,
this
.
importLoading
=!
1
}
catch
(
r
){
this
.
importLoading
=!
1
}
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
edit
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
a
,
n
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
A
"
]({
id
:
t
.
bursaryid
});
case
2
:
a
=
e
.
sent
,
console
.
log
(
"
🚀🚀🚀,
"
,
a
),
this
.
drawer
=!
0
,
n
=
p
.
a
.
cloneDeep
(
t
),
delete
n
.
bursaryid
,
delete
n
.
grant_file
,
delete
n
.
competitionreportid
,
delete
n
.
createtime
,
delete
n
.
_rowKey
,
delete
n
.
_index
,
delete
n
.
approval_remark
,
n
.
fileList
=
a
.
response
.
fileList
,
this
.
drawerKeyValueArray
=
Object
.
entries
(
n
),
this
.
drawerKeyValueArray
.
map
((
function
(
e
,
t
){
var
a
=
[
"
姓名
"
,
"
性别
"
,
"
学号/工号
"
,
"
身份证
"
,
"
专业/班级
"
,
"
竞赛名称
"
,
"
竞赛文件名
"
,
"
竞赛类别
"
,
"
补助时间
"
,
"
补助金额
"
,
"
计划集训时间
"
,
"
实际集训起止时间
"
,
"
参赛具体情况
"
,
"
审批状态
"
,
"
附件
"
];
e
.
push
(
a
[
t
])})),
console
.
log
(
"
🚀🚀🚀,
"
,
this
.
drawerKeyValueArray
);
case
17
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)}}},
d
=
h
,
f
=
(
a
(
"
c444
"
),
a
(
"
2877
"
)),
v
=
Object
(
f
[
"
a
"
])(
d
,
n
,
i
,
!
1
,
null
,
"
68caf341
"
,
null
);
t
[
"
default
"
]
=
v
.
exports
},
c444
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
(
"
7e98
"
)},
ffc1
:
function
(
e
,
t
,
a
){
var
n
=
a
(
"
5ca1
"
),
i
=
a
(
"
504c
"
)(
!
0
);
n
(
n
.
S
,
"
Object
"
,{
entries
:
function
(
e
){
return
i
(
e
)}})}}]);
\ No newline at end of file
dist/js/chunk-4d705732.
1d1f564c
.js
→
dist/js/chunk-4d705732.
8945c80d
.js
浏览文件 @
d2b1f20c
文件已移动
dist/js/chunk-56eff926.91527de5.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-56eff926
"
],{
"
386d
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
var
i
=
a
(
"
cb7c
"
),
n
=
a
(
"
83a1
"
),
s
=
a
(
"
5f1b
"
);
a
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
t
,
e
,
a
,
r
){
return
[
function
(
a
){
var
i
=
t
(
this
),
n
=
void
0
==
a
?
void
0
:
a
[
e
];
return
void
0
!==
n
?
n
.
call
(
a
,
i
):
new
RegExp
(
a
)[
e
](
String
(
i
))},
function
(
t
){
var
e
=
r
(
a
,
t
,
this
);
if
(
e
.
done
)
return
e
.
value
;
var
c
=
i
(
t
),
l
=
String
(
this
),
o
=
c
.
lastIndex
;
n
(
o
,
0
)
||
(
c
.
lastIndex
=
0
);
var
u
=
s
(
c
,
l
);
return
n
(
c
.
lastIndex
,
o
)
||
(
c
.
lastIndex
=
o
),
null
===
u
?
-
1
:
u
.
index
}]}))},
"
3e33
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
9fec
"
)},
"
83a1
"
:
function
(
t
,
e
){
t
.
exports
=
Object
.
is
||
function
(
t
,
e
){
return
t
===
e
?
0
!==
t
||
1
/
t
===
1
/
e
:
t
!=
t
&&
e
!=
e
}},
"
9fec
"
:
function
(
t
,
e
,
a
){},
e475
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
i
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
height
:
"
80px
"
}},[
a
(
"
h3
"
,[
t
.
_v
(
"
竞赛公告列表
"
)]),
a
(
"
Row
"
,{
staticStyle
:{
"
margin-top
"
:
"
30px
"
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
t
.
_v
(
"
\n
时间范围:
\n
"
),
a
(
"
DatePicker
"
,{
staticStyle
:{
width
:
"
200px
"
},
attrs
:{
type
:
"
daterange
"
,
placement
:
"
bottom-end
"
,
placeholder
:
"
请选择时间范围
"
},
on
:{
"
on-change
"
:
t
.
selectTimeRange
}})],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
center
"
}},[
t
.
_v
(
"
\n
是否发布:
\n
"
),
a
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
model
:{
value
:
t
.
search
.
is_public
,
callback
:
function
(
e
){
t
.
$set
(
t
.
search
,
"
is_public
"
,
e
)},
expression
:
"
search.is_public
"
}},
t
.
_l
(
t
.
search
.
is_publicArray
,(
function
(
e
,
i
){
return
a
(
"
Option
"
,{
key
:
i
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
"
"
+
t
.
_s
(
e
.
label
)
+
"
\n
"
)])})),
1
)],
1
)]),
a
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
flex-end
"
}},[
t
.
_v
(
"
\n
审批状态:
\n
"
),
a
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
model
:{
value
:
t
.
search
.
approval_state
,
callback
:
function
(
e
){
t
.
$set
(
t
.
search
,
"
approval_state
"
,
e
)},
expression
:
"
search.approval_state
"
}},
t
.
_l
(
t
.
search
.
approval_stateArray
,(
function
(
e
,
i
){
return
a
(
"
Option
"
,{
key
:
i
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
label
)
+
"
\n
"
)])})),
1
)],
1
)])],
1
)],
1
)]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
,
"
margin-right
"
:
"
10px
"
},
attrs
:{
placeholder
:
"
请输入公告标题搜索...
"
},
model
:{
value
:
t
.
search
.
value
,
callback
:
function
(
e
){
t
.
$set
(
t
.
search
,
"
value
"
,
e
)},
expression
:
"
search.value
"
}}),
a
(
"
Button
"
,{
attrs
:{
disabled
:
!
t
.
search
.
value
,
type
:
"
primary
"
},
on
:{
click
:
t
.
searchFun
}},[
t
.
_v
(
"
搜索
"
)])],
1
)]},
proxy
:
!
0
}])},[
a
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
init
.
tableData
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
is_top
"
,
fn
:
function
(
e
){
var
i
=
e
.
row
;
return
[
a
(
"
i-switch
"
,{
key
:
t
.
switchKey
,
ref
:
"
refSwitch
"
,
attrs
:{
"
true-color
"
:
"
#22d86e
"
,
value
:
Boolean
(
i
.
is_top
)},
on
:{
"
on-change
"
:
function
(
e
){
return
t
.
changeSwitch
(
i
)}},
scopedSlots
:
t
.
_u
([{
key
:
"
open
"
,
fn
:
function
(){
return
[
a
(
"
span
"
,[
t
.
_v
(
"
是
"
)])]},
proxy
:
!
0
},{
key
:
"
close
"
,
fn
:
function
(){
return
[
a
(
"
span
"
,[
t
.
_v
(
"
否
"
)])]},
proxy
:
!
0
}],
null
,
!
0
)})]}},{
key
:
"
approval_state
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
未审批
"
,
"
审批中
"
,
"
审批通过
"
,
"
审批不通过
"
][
a
.
approval_state
])
+
"
\n
"
)]}},{
key
:
"
is_public
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
否
"
,
"
是
"
][
a
.
is_public
])
+
"
\n
"
)]}},{
key
:
"
title
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Tooltip
"
,{
attrs
:{
"
max-width
"
:
"
200
"
,
transfer
:
!
0
,
content
:
e
.
title
,
placement
:
"
top
"
}},[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
title
,
length
:
30
}})],
1
)]}},{
key
:
"
content
"
,
fn
:
function
(
t
){
var
e
=
t
.
row
;
return
[
a
(
"
Ellipsis
"
,{
attrs
:{
text
:
e
.
content
,
length
:
80
}})]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
i
=
e
.
row
;
return
[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
publicNotice
(
i
)}}},[
t
.
_v
(
"
发布
"
)]),
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
info
(
i
)}}},[
t
.
_v
(
"
详细
"
)]),
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
e
){
return
t
.
edit
(
i
)}}},[
t
.
_v
(
"
编辑
"
)]),
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
del
(
i
)},
"
on-cancel
"
:
t
.
cancel
}},[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)])])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Page
"
,{
attrs
:{
total
:
t
.
init
.
total
,
current
:
t
.
init
.
page_index
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
},
on
:{
"
update:current
"
:
function
(
e
){
return
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
}})],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
width
:
"
50%
"
,
styles
:{
top
:
"
20px
"
},
title
:
"
推送用户选项
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
null
)
+
"
\n
"
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
,
callback
:
function
(
e
){
t
.
modal
=
e
},
expression
:
"
modal
"
}},[
a
(
"
div
"
,[
a
(
"
Tabs
"
,{
attrs
:{
type
:
"
card
"
},
on
:{
"
on-click
"
:
t
.
tabs
}},[
a
(
"
TabPane
"
,{
attrs
:{
label
:
"
个人
"
,
name
:
"
UserInfo
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-left
"
:
"
auto
"
,
display
:
"
flex
"
,
"
flex-wrap
"
:
"
nowrap
"
}},[
a
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入姓名或卡号搜索...
"
},
model
:{
value
:
t
.
pushNotice
.
searchValue
,
callback
:
function
(
e
){
t
.
$set
(
t
.
pushNotice
,
"
searchValue
"
,
e
)},
expression
:
"
pushNotice.searchValue
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
t
.
pushNotice
.
searchValue
},
on
:{
click
:
t
.
searchButton
}},[
t
.
_v
(
"
\n
搜索
\n
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
return
t
.
searchReset
(
"
userInfo
"
)}}},[
t
.
_v
(
"
重置
"
)])],
1
)]),
a
(
"
Table
"
,{
key
:
t
.
pushNotice
.
tableKey
,
attrs
:{
columns
:
t
.
pushNotice
.
columns
,
data
:
t
.
pushNotice
.
userArray
,
loading
:
t
.
loading1
},
on
:{
"
on-select-all
"
:
t
.
modalTableSelectAll
,
"
on-select-all-cancel
"
:
t
.
modalTableSelectAllCancel
,
"
on-select
"
:
t
.
modalTableSelect
,
"
on-select-cancel
"
:
t
.
modalTableSelectCancel
}}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-top
"
:
"
20px
"
}},[
a
(
"
Page
"
,{
key
:
t
.
pushNotice
.
pageKey
,
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
t
.
pushNotice
.
total
,
"
page-size
"
:
t
.
pushNotice
.
page_size
,
"
model-value
"
:
"
pushNotice.page_index
"
,
transfer
:
!
0
},
on
:{
"
on-change
"
:
t
.
currentPage1
,
"
on-page-size-change
"
:
t
.
currentPageCount1
}})],
1
),
a
(
"
div
"
,{
staticStyle
:{
float
:
"
right
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
20px
"
},
on
:{
click
:
function
(
e
){
t
.
modal
=!
1
}}},[
t
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
userInfo
"
)}}},[
t
.
_v
(
"
提交
"
)])],
1
)],
1
),
a
(
"
TabPane
"
,{
attrs
:{
label
:
"
团队
"
,
name
:
"
Team
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
}},[
a
(
"
Form
"
,{
ref
:
"
pushData
"
,
attrs
:{
model
:
t
.
pushData
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
100
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
团队:
"
,
prop
:
"
Team
"
}},[
a
(
"
Select
"
,{
staticStyle
:{
width
:
"
30vw
"
,
"
margin-bottom
"
:
"
10px
"
},
attrs
:{
multiple
:
""
,
filterable
:
""
},
model
:{
value
:
t
.
pushData
.
Team
,
callback
:
function
(
e
){
t
.
$set
(
t
.
pushData
,
"
Team
"
,
e
)},
expression
:
"
pushData.Team
"
}},
t
.
_l
(
t
.
pushNotice
.
noticeTeamArray
,(
function
(
e
,
i
){
return
a
(
"
Option
"
,{
key
:
i
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
),
a
(
"
div
"
,[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
20px
"
},
on
:{
click
:
function
(
e
){
t
.
modal
=!
1
}}},[
t
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
Team
"
)}}},[
t
.
_v
(
"
提交
"
)])],
1
)],
1
)]),
a
(
"
TabPane
"
,{
attrs
:{
label
:
"
公告用户组
"
,
name
:
"
NoticeUserGroup
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
}},[
a
(
"
Form
"
,{
ref
:
"
pushData
"
,
attrs
:{
model
:
t
.
pushData
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
公告用户组:
"
,
prop
:
"
NoticeUserGroup
"
}},[
a
(
"
Select
"
,{
staticStyle
:{
width
:
"
30vw
"
,
"
margin-bottom
"
:
"
10px
"
},
attrs
:{
multiple
:
""
,
filterable
:
""
},
model
:{
value
:
t
.
pushData
.
NoticeUserGroup
,
callback
:
function
(
e
){
t
.
$set
(
t
.
pushData
,
"
NoticeUserGroup
"
,
e
)},
expression
:
"
pushData.NoticeUserGroup
"
}},
t
.
_l
(
t
.
pushNotice
.
noticeNoticeUserGroupArray
,(
function
(
e
,
i
){
return
a
(
"
Option
"
,{
key
:
i
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
),
a
(
"
div
"
,[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
20px
"
},
on
:{
click
:
function
(
e
){
t
.
modal
=!
1
}}},[
t
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
NoticeUserGroup
"
)}}},[
t
.
_v
(
"
提交
"
)])],
1
)],
1
)])],
1
)],
1
)])],
1
)},
n
=
[],
s
=
(
a
(
"
386d
"
),
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
r
=
a
(
"
967e
"
),
c
=
a
.
n
(
r
),
l
=
a
(
"
7f6b
"
),
o
=
a
(
"
61be
"
),
u
=
{
name
:
"
list
"
,
data
:
function
(){
return
{
ruleValidate
:{
NoticeUserGroup
:[{
type
:
"
array
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
Team
:[{
type
:
"
array
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
public_type
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}]},
modal
:
!
1
,
pushData
:{
public_type
:
""
,
noticeid
:
""
,
userInfo
:[],
Team
:[],
NoticeUserGroup
:[],
public_id_list
:[]},
pushNotice
:{
tableKey
:
0
,
noticeTypeArray
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
Value
:
""
,
userArray
:[],
searchValue
:
""
,
columns
:[{
type
:
"
selection
"
,
minWidth
:
100
},{
title
:
"
姓名
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
卡号/学号
"
,
minWidth
:
100
,
key
:
"
card_name
"
}]},
tableData
:[],
switchKey
:
0
,
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
公告标题
"
,
slot
:
"
title
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
内容
"
,
slot
:
"
content
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
400
},{
title
:
"
创建人
"
,
key
:
"
createby
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
公告分类
"
,
key
:
"
typename
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
是否置顶
"
,
slot
:
"
is_top
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
审批状态
"
,
slot
:
"
approval_state
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
是否发布
"
,
slot
:
"
is_public
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
发布时间
"
,
key
:
"
publish_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
修改人
"
,
key
:
"
modifyby
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
修改时间
"
,
key
:
"
modifytime
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
230
,
fixed
:
"
right
"
,
slot
:
"
action
"
}],
loading
:
!
1
,
loading1
:
!
1
,
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
search
:{
start_time
:
""
,
end_time
:
""
,
is_public
:
""
,
value
:
""
,
currentValue
:
""
,
way
:
""
,
name
:
""
,
approval_state
:
""
,
level
:
""
,
wayCurrentValue
:
""
,
nameCurrentValue
:
""
,
approval_stateCurrentValue
:
""
,
levelCurrentValue
:
""
,
is_publicArray
:[{
value
:
0
,
label
:
"
否
"
},{
value
:
1
,
label
:
"
是
"
}],
approval_stateArray
:[{
value
:
0
,
label
:
"
未审批
"
},{
value
:
1
,
label
:
"
审批中
"
},{
value
:
2
,
label
:
"
审批通过
"
},{
value
:
3
,
label
:
"
审批不通过
"
}],
levelArray
:[{
value
:
1
,
label
:
"
国家级
"
},{
value
:
2
,
label
:
"
省一级
"
},{
value
:
3
,
label
:
"
省二级
"
}],
wayArray
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}]}}},
created
:
function
(){},
watch
:{
"
pushData.userInfo
"
:
function
(
t
,
e
){
console
.
log
(
"
🚀🚀🚀,
"
,
t
)},
"
pushData.public_id_list
"
:
function
(
t
,
e
){
console
.
log
(
"
🚀public_id_list🚀🚀,
"
,
t
)}},
mounted
:
function
(){
var
t
=
this
;
this
.
GetNoticeList
(),
this
.
GetPersonList
(),
this
.
NoticeTypeSelect
(),
this
.
TeamSelect
(),
this
.
GetNoticeUserGroupSelect
(),
o
[
"
f
"
]((
function
(){
t
.
GetNoticeList
()}))},
methods
:{
tabs
:
function
(
t
){
console
.
log
(
"
🚀🚀🚀,
"
,
t
)},
GetNoticeUserGroupSelect
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
var
e
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
l
[
"
cb
"
]();
case
2
:
e
=
t
.
sent
,
this
.
pushNotice
.
noticeNoticeUserGroupArray
=
e
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
TeamSelect
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
var
e
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
l
[
"
lc
"
]();
case
2
:
e
=
t
.
sent
,
this
.
pushNotice
.
noticeTeamArray
=
e
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
NoticeTypeSelect
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
var
e
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
l
[
"
Nb
"
]();
case
2
:
e
=
t
.
sent
,
this
.
pushNotice
.
noticeTypeArray
=
e
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
searchButton
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
pushNotice
.
Value
=
this
.
pushNotice
.
searchValue
,
t
.
next
=
3
,
this
.
GetPersonList
();
case
3
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
searchReset
:
function
(
t
){
switch
(
t
){
case
"
userInfo
"
:
this
.
pushNotice
.
searchValue
=
""
,
this
.
pushNotice
.
Value
=
""
,
this
.
pushData
.
public_type
=
""
,
this
.
pushData
.
userInfo
=
[],
this
.
pushNotice
.
tableKey
++
;
break
}},
handleSubmit
:
function
(
t
){
var
e
=
function
(
t
){
o
[
"
c
"
](
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
e
(){
var
a
;
return
c
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
l
[
"
Ib
"
](
t
);
case
2
:
return
a
=
e
.
sent
,
e
.
abrupt
(
"
return
"
,
a
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))};
switch
(
t
){
case
"
userInfo
"
:
this
.
pushData
.
public_id_list
=
this
.
pushData
.
userInfo
,
this
.
pushData
.
public_type
=
"
UserInfo
"
;
var
a
=
this
.
pushData
;
e
(
a
);
break
;
case
"
Team
"
:
this
.
pushData
.
public_id_list
=
this
.
pushData
.
Team
,
this
.
pushData
.
public_type
=
t
;
var
i
=
this
.
pushData
;
e
(
i
);
break
;
case
"
NoticeUserGroup
"
:
this
.
pushData
.
public_id_list
=
this
.
pushData
.
NoticeUserGroup
,
this
.
pushData
.
public_type
=
t
;
var
n
=
this
.
pushData
;
e
(
n
);
break
}},
GetPersonList
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
var
e
,
a
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading1
=!
0
,
e
=
{
page_index
:
this
.
pushNotice
.
page_index
,
page_size
:
this
.
pushNotice
.
page_size
,
condition
:
this
.
pushNotice
.
Value
},
t
.
next
=
4
,
l
[
"
db
"
](
e
);
case
4
:
a
=
t
.
sent
,
this
.
pushNotice
.
total
=
a
.
response
.
data_count
,
this
.
pushNotice
.
userArray
=
a
.
response
.
data
,
this
.
loading1
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
changeSwitch
:
function
(
t
){
var
e
=
this
;
o
[
"
c
"
](
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
a
(){
var
i
,
n
;
return
c
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
i
=
{
id
:
t
.
noticeid
,
is_top
:
Boolean
(
t
.
is_top
)?
0
:
1
},
a
.
next
=
3
,
l
[
"
Kb
"
](
i
);
case
3
:
return
n
=
a
.
sent
,
a
.
next
=
6
,
e
.
GetNoticeList
();
case
6
:
return
a
.
abrupt
(
"
return
"
,
n
);
case
7
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)})))),
this
.
switchKey
++
},
searchFun
:
function
(){
this
.
init
.
start_time
=
this
.
search
.
start_time
,
this
.
init
.
end_time
=
this
.
search
.
end_time
,
this
.
init
.
title
=
this
.
search
.
value
,
this
.
init
.
approval_state
=
this
.
search
.
approval_state
,
this
.
init
.
is_public
=
this
.
search
.
is_public
,
this
.
GetNoticeList
()},
selectTimeRange
:
function
(
t
){
this
.
search
.
start_time
=
t
[
0
],
this
.
search
.
end_time
=
t
[
1
]},
GetNoticeList
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
var
e
,
a
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
loading
=!
0
,
e
=
{
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
,
title
:
this
.
init
.
title
,
start_time
:
this
.
init
.
start_time
,
end_time
:
this
.
init
.
end_time
,
approval_state
:
this
.
init
.
approval_state
,
is_public
:
this
.
init
.
is_public
},
t
.
prev
=
2
,
t
.
next
=
5
,
l
[
"
Y
"
](
e
);
case
5
:
a
=
t
.
sent
,
this
.
init
.
total
=
a
.
response
.
data_count
,
this
.
init
.
tableData
=
a
.
response
.
data
,
this
.
loading
=!
1
,
t
.
next
=
14
;
break
;
case
11
:
t
.
prev
=
11
,
t
.
t0
=
t
[
"
catch
"
](
2
),
this
.
loading
=!
1
;
case
14
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
,[[
2
,
11
]])})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
publicNotice
:
function
(
t
){
this
.
modal
=!
0
,
this
.
pushData
.
noticeid
=
t
.
noticeid
},
info
:
function
(
t
){
var
e
=
this
.
$router
.
resolve
({
name
:
"
noticeInfo
"
,
query
:{
id
:
t
.
noticeid
}});
window
.
open
(
e
.
href
,
"
_blank
"
)},
edit
:
function
(
t
){
var
e
=
this
.
$router
.
resolve
({
name
:
"
updateNotice
"
,
query
:{
id
:
t
.
noticeid
,
remark
:
"
Notice
"
}});
window
.
open
(
e
.
href
,
"
_blank
"
)},
del
:
function
(
t
){
var
e
=
this
;
o
[
"
c
"
](
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
a
(){
var
i
;
return
c
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
l
[
"
Hb
"
]({
id
:
t
.
noticeid
});
case
2
:
return
i
=
a
.
sent
,
a
.
next
=
5
,
e
.
GetNoticeList
();
case
5
:
return
a
.
abrupt
(
"
return
"
,
i
);
case
6
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)},
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
GetNoticeList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
GetNoticeList
()},
currentPage1
:
function
(
t
){
this
.
pushNotice
.
page_index
=
t
,
this
.
GetPersonList
()},
currentPageCount1
:
function
(
t
){
this
.
pushNotice
.
page_size
=
t
,
this
.
GetPersonList
()},
modalTableSelectAll
:
function
(
t
){
var
e
=
[];
t
.
map
((
function
(
t
,
a
){
e
.
push
(
t
.
card_name
)})),
this
.
pushData
.
userInfo
=
e
},
modalTableSelectAllCancel
:
function
(
t
){
var
e
=
[];
t
.
map
((
function
(
t
,
a
){
e
.
push
(
t
.
card_name
)})),
this
.
pushData
.
userInfo
=
e
},
modalTableSelect
:
function
(
t
){
var
e
=
[];
t
.
map
((
function
(
t
,
a
){
e
.
push
(
t
.
card_name
)})),
this
.
pushData
.
userInfo
=
e
},
modalTableSelectCancel
:
function
(
t
){
var
e
=
[];
t
.
map
((
function
(
t
,
a
){
e
.
push
(
t
.
card_name
)})),
this
.
pushData
.
userInfo
=
e
}}},
p
=
u
,
h
=
(
a
(
"
3e33
"
),
a
(
"
2877
"
)),
d
=
Object
(
h
[
"
a
"
])(
p
,
i
,
n
,
!
1
,
null
,
null
,
null
);
e
[
"
default
"
]
=
d
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-57578a70.
d60012f9
.js
→
dist/js/chunk-57578a70.
ada17a98
.js
浏览文件 @
d2b1f20c
文件已移动
dist/js/chunk-6579a95c.426d9f46.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-6579a95c
"
],{
"
0618
"
:
function
(
e
,
t
,
i
){},
"
3f65
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
0618
"
)},
b13e
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
b390
"
)},
b390
:
function
(
e
,
t
,
i
){},
dc0a
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
.
r
(
t
);
var
r
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,{
staticClass
:
"
container
"
},[
i
(
"
Card
"
,{
staticStyle
:{
width
:
"
50%
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
h2
"
,{
staticStyle
:{
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
\n
竞赛公告流程
"
)])]},
proxy
:
!
0
}])},[
i
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
i
(
"
Row
"
,[
i
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
公告标题
"
,
prop
:
"
title
"
}},[
i
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入公告标题
"
},
model
:{
value
:
e
.
formValidate
.
title
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
title
"
,
t
)},
expression
:
"
formValidate.title
"
}})],
1
)],
1
),
i
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
公告类型
"
,
prop
:
"
typeid
"
}},[
i
(
"
Select
"
,{
attrs
:{
placeholder
:
"
请选择公告类型
"
},
model
:{
value
:
e
.
formValidate
.
typeid
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
typeid
"
,
t
)},
expression
:
"
formValidate.typeid
"
}},
e
.
_l
(
e
.
noticeSelect
,(
function
(
t
,
r
){
return
i
(
"
Option
"
,{
key
:
r
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
)],
1
),
i
(
"
Row
"
,[
i
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
公告是否置顶
"
,
prop
:
"
is_top
"
}},[
i
(
"
Select
"
,{
attrs
:{
placeholder
:
"
请选择是否置顶
"
},
model
:{
value
:
e
.
formValidate
.
is_top
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
is_top
"
,
t
)},
expression
:
"
formValidate.is_top
"
}},
e
.
_l
(
e
.
noticeIsTop
,(
function
(
t
,
r
){
return
i
(
"
Option
"
,{
key
:
r
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
)],
1
),
i
(
"
richText
"
,{
attrs
:{
value
:
e
.
formValidate
.
content
,
minHeight
:
500
},
on
:{
setRichTextValue
:
e
.
getRichTextValue
}}),
i
(
"
Upload
"
,{
key
:
e
.
fileKey
,
attrs
:{
multiple
:
!
0
,
"
before-upload
"
:
e
.
beforeUpload
,
"
on-error
"
:
e
.
onError
,
"
on-success
"
:
e
.
onsuccess
,
"
on-format-error
"
:
e
.
onFormatError
,
"
show-upload-list
"
:
!
0
,
type
:
"
drag
"
,
action
:
""
}},[
i
(
"
div
"
,{
staticStyle
:{
padding
:
"
20px 0
"
,
width
:
"
100%
"
}},[
i
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
i
(
"
p
"
,[
e
.
_v
(
"
附件上传
"
)])],
1
)]),
e
.
_l
(
e
.
formValidate
.
files_list
,(
function
(
t
,
r
){
return
i
(
"
div
"
,{
key
:
r
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
i
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
i
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)})),
i
(
"
FormItem
"
,[
i
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
handleSubmit
}},[
e
.
_v
(
"
提交流程
\n
"
)]),
i
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"
保存
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
},
on
:{
click
:
e
.
handleReset
}},[
e
.
_v
(
"
重置
"
)])],
1
)],
2
)],
1
)],
1
)},
a
=
[],
n
=
(
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
o
=
i
(
"
967e
"
),
s
=
i
.
n
(
o
),
l
=
i
(
"
61be
"
),
c
=
i
(
"
7f6b
"
),
u
=
i
(
"
2ef0
"
),
d
=
i
.
n
(
u
),
f
=
i
(
"
9446
"
),
p
=
{
components
:{
richText
:
f
[
"
a
"
]},
data
:
function
(){
return
{
noticeIsTop
:[{
value
:
0
,
name
:
"
否
"
},{
value
:
1
,
name
:
"
是
"
}],
noticeSelect
:[],
teamSelect
:[],
competitionNameArray
:[],
approval_stateArray
:[{
value
:
0
,
label
:
"
未审批
"
},{
value
:
1
,
label
:
"
审批中
"
},{
value
:
2
,
label
:
"
审批通过
"
},{
value
:
3
,
label
:
"
审批不通过
"
}],
levelArray
:[{
value
:
1
,
label
:
"
国家级
"
},{
value
:
2
,
label
:
"
省一级
"
},{
value
:
3
,
label
:
"
省二级
"
}],
wayArray
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}],
competitionnameValue
:
""
,
flowid
:
""
,
module_id
:
""
,
module
:
""
,
fileKey
:
1
,
formValidate
:{
flowid
:
""
,
title
:
""
,
content
:
""
,
typeid
:
""
,
is_top
:
0
,
is_public
:
0
,
files_list
:[]},
ruleValidate
:{
title
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
typeid
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
is_top
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
race_level
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
team_id
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
certificate_name
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
certificate_description
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}]}}},
computed
:{},
watch
:{
"
formValidate.content
"
:
function
(
e
,
t
){
console
.
log
(
"
🚀🚀newValue🚀,
"
,
e
)}},
methods
:{
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
i
){
var
r
,
a
,
o
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
r
=
d
.
a
.
cloneDeep
(
e
.
formValidate
),
a
=
r
.
files_list
,
delete
r
.
files_list
,
o
=
{
changecommitid
:
i
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
,
notice
:
r
,
files_list
:
a
},
t
.
next
=
6
,
l
[
"
c
"
](
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
l
"
](
o
);
case
2
:
return
e
.
abrupt
(
"
return
"
,
e
.
sent
);
case
3
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
6
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
n
"
]({
flowid
:
this
.
flowid
});
case
2
:
t
=
e
.
sent
,
e
.
t0
=
t
.
response
.
changecommitid
,
e
.
next
=
null
===
e
.
t0
?
6
:
7
;
break
;
case
6
:
return
e
.
abrupt
(
"
break
"
,
14
);
case
7
:
return
this
.
formValidate
=
t
.
response
.
notice
,
this
.
formValidate
.
files_list
=
t
.
response
.
files_list
,
this
.
changecommitid
=
t
.
response
.
changecommitid
,
this
.
flowid
=
t
.
response
.
flowid
,
this
.
module_id
=
t
.
response
.
module_id
,
this
.
module
=
t
.
response
.
module
,
e
.
abrupt
(
"
break
"
,
14
);
case
14
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
getRichTextValue
:
function
(
e
){
this
.
formValidate
.
content
=
e
},
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
files_list
.
map
((
function
(
i
,
r
){
i
.
id
===
e
.
id
&&
t
.
formValidate
.
files_list
.
splice
(
r
,
1
)})),
this
.
fileKey
++
},
onError
:
function
(
e
,
t
,
i
){
console
.
log
(
"
🚀🚀🚀,onError
"
,
e
,
t
,
i
)},
onsuccess
:
function
(
e
,
t
,
i
){
console
.
log
(
"
🚀🚀🚀,onsuccess
"
,
e
,
t
,
i
)},
onFormatError
:
function
(
e
,
t
,
i
){
this
.
$Message
.
info
(
"
文件类型错误!
"
)},
beforeUpload
:
function
(){
var
e
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
i
,
r
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
i
=
new
FormData
,
i
.
append
(
"
file
"
,
t
),
e
.
next
=
5
,
c
[
"
tc
"
](
this
.
formValidate
.
files_list
.
module
,
i
);
case
5
:
return
r
=
e
.
sent
,
this
.
formValidate
.
files_list
.
push
(
r
.
response
),
l
[
"
e
"
](
r
),
this
.
fileKey
++
,
e
.
abrupt
(
"
return
"
,
!
1
);
case
10
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
[
"
formValidate
"
].
validate
(
function
(){
var
t
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
i
){
var
r
,
a
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
i
){
t
.
next
=
9
;
break
}
return
e
.
$Spin
.
show
(),
e
.
formValidate
.
flowid
=
e
.
flowid
,
r
=
d
.
a
.
cloneDeep
(
e
.
formValidate
),
t
.
next
=
6
,
c
[
"
q
"
](
r
);
case
6
:
a
=
t
.
sent
,
l
[
"
e
"
](
a
),
setTimeout
((
function
(){
window
.
open
(
"
about:blank
"
,
"
_top
"
).
close
()}),
1500
);
case
9
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}())},
handleReset
:
function
(){
this
.
formValidate
=
{}},
getCompetiotionName
:
function
(){
var
e
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
i
,
r
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
hb
"
]();
case
2
:
return
t
=
e
.
sent
,
this
.
competitionNameArray
=
t
.
response
,
e
.
next
=
6
,
c
[
"
lc
"
]();
case
6
:
return
i
=
e
.
sent
,
this
.
teamSelect
=
i
.
response
,
e
.
next
=
10
,
c
[
"
Nb
"
]();
case
10
:
r
=
e
.
sent
,
this
.
noticeSelect
=
r
.
response
;
case
12
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}()},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
getCompetiotionName
(),
this
.
formValidate
.
flowid
=
this
.
$route
.
query
.
id
,
this
.
formValidate
.
files_list
.
module
=
this
.
$route
.
query
.
remark
,
this
.
flowid
=
this
.
$route
.
query
.
id
,
this
.
module
=
this
.
$route
.
query
.
remark
,
this
.
FlowInit
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
m
=
p
,
h
=
(
i
(
"
b13e
"
),
i
(
"
3f65
"
),
i
(
"
2877
"
)),
g
=
Object
(
h
[
"
a
"
])(
m
,
r
,
a
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
g
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-6613de72.b9941786.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-6613de72
"
],{
"
315c
"
:
function
(
e
,
t
,
i
){},
"
51aa
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
.
r
(
t
);
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,{
staticClass
:
"
container
"
},[
i
(
"
Card
"
,{
staticStyle
:{
width
:
"
50%
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
h2
"
,{
staticStyle
:{
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
\n
获奖材料上传
"
)])]},
proxy
:
!
0
}])},[
i
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
180
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
i
(
"
Select
"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"
请选择赛事名称
"
},
on
:{
"
on-change
"
:
e
.
competitionSelectName
},
model
:{
value
:
e
.
formValidate
.
competitionname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionname
"
,
t
)},
expression
:
"
formValidate.competitionname
"
}},
e
.
_l
(
e
.
competitionNameArray
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
name
))])})),
1
)],
1
),
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
sponsor1
"
}},[
i
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入赛项名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionsubitem_name
"
,
t
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
),
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor1
"
}},[
i
(
"
Input
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
e
.
formValidate
.
sponsor
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sponsor
"
,
t
)},
expression
:
"
formValidate.sponsor
"
}})],
1
),
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
race_level1
"
}},[
i
(
"
Select
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请选择赛事级别
"
},
model
:{
value
:
e
.
formValidate
.
race_level
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
race_level
"
,
t
)},
expression
:
"
formValidate.race_level
"
}},
e
.
_l
(
e
.
levelArray
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
e
.
_s
(
t
.
label
))])})),
1
)],
1
),
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛类别
"
,
prop
:
"
competition_type1
"
}},[
i
(
"
Select
"
,{
attrs
:{
placeholder
:
"
请选择竞赛类型
"
},
model
:{
value
:
e
.
formValidate
.
competition_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_type
"
,
t
)},
expression
:
"
formValidate.competition_type
"
}},
e
.
_l
(
e
.
competitionClass
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
e
.
_s
(
t
.
label
))])})),
1
)],
1
),
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
比赛时间
"
,
prop
:
"
competition_time1
"
}},[
i
(
"
DatePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
type
:
"
daterange
"
,
placement
:
"
bottom-end
"
,
placeholder
:
"
请选择比赛时间
"
},
on
:{
"
on-change
"
:
e
.
getCompetitionTime
},
model
:{
value
:
e
.
formValidate
.
competition_time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_time
"
,
t
)},
expression
:
"
formValidate.competition_time
"
}})],
1
),
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
比赛形式
"
,
prop
:
"
way1
"
}},[
i
(
"
Select
"
,{
attrs
:{
placeholder
:
"
请选择组队方式
"
},
model
:{
value
:
e
.
formValidate
.
way
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
way
"
,
t
)},
expression
:
"
formValidate.way
"
}},
e
.
_l
(
e
.
wayArray
,(
function
(
t
,
n
){
return
i
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
),
i
(
"
FormItem
"
,{
key
:
e
.
fileKey
},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-start
"
,
"
box-sizing
"
:
"
border-box
"
}},[
i
(
"
Upload
"
,{
staticStyle
:{
"
margin-right
"
:
"
10px
"
},
attrs
:{
multiple
:
!
1
,
"
before-upload
"
:
e
.
PersonalExcellenceBeforeUpload
,
"
on-error
"
:
e
.
onError
,
"
on-success
"
:
e
.
onsuccess
,
"
on-format-error
"
:
e
.
onFormatError
,
"
show-upload-list
"
:
!
0
,
type
:
"
drag
"
,
action
:
""
}},[
i
(
"
div
"
,{
staticStyle
:{
padding
:
"
20px 30px
"
,
width
:
"
100%
"
}},[
i
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
i
(
"
p
"
,[
e
.
_v
(
"
教师证书
"
)])],
1
)]),
i
(
"
Upload
"
,{
attrs
:{
multiple
:
!
1
,
"
before-upload
"
:
e
.
StudentExcellenceBeforeUpload
,
"
on-error
"
:
e
.
onError
,
"
on-success
"
:
e
.
onsuccess
,
"
on-format-error
"
:
e
.
onFormatError
,
"
show-upload-list
"
:
!
0
,
type
:
"
drag
"
,
action
:
""
}},[
i
(
"
div
"
,{
staticStyle
:{
padding
:
"
20px 30px
"
,
width
:
"
100%
"
}},[
i
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
i
(
"
p
"
,[
e
.
_v
(
"
学生证书
"
)])],
1
)])],
1
),
e
.
_l
(
e
.
formValidate
.
files_list
,(
function
(
t
,
n
){
return
i
(
"
div
"
,{
key
:
n
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
i
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
i
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)}))],
2
),
i
(
"
FormItem
"
,[
i
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
handleSubmit
}},[
e
.
_v
(
"
提交流程
\n
"
)]),
i
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"
保存
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
},
on
:{
click
:
e
.
handleReset
}},[
e
.
_v
(
"
重置
"
)])],
1
)],
1
)],
1
)],
1
)},
a
=
[],
r
=
(
i
(
"
c5f6
"
),
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
o
=
i
(
"
967e
"
),
s
=
i
.
n
(
o
),
l
=
i
(
"
61be
"
),
c
=
i
(
"
7f6b
"
),
m
=
i
(
"
2ef0
"
),
p
=
i
.
n
(
m
),
u
=
{
components
:{},
data
:
function
(){
return
{
competitionItemArray
:[],
teamSelect
:[],
competitionNameArray
:[],
approval_stateArray
:[{
value
:
0
,
label
:
"
未审批
"
},{
value
:
1
,
label
:
"
审批中
"
},{
value
:
2
,
label
:
"
审批通过
"
},{
value
:
3
,
label
:
"
审批不通过
"
}],
competitionClass
:[{
value
:
1
,
label
:
"
A类
"
},{
value
:
2
,
label
:
"
B类
"
}],
levelArray
:[{
value
:
1
,
label
:
"
国家级
"
},{
value
:
2
,
label
:
"
省一级
"
},{
value
:
3
,
label
:
"
省二级
"
},{
value
:
4
,
label
:
"
国际级
"
}],
wayArray
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}],
competitionnameValue
:
""
,
changecommitid
:
""
,
flowid
:
""
,
module_id
:
""
,
module
:
""
,
fileKey
:
1
,
Key
:
1
,
Key1
:
1
,
competitionname
:
""
,
formValidate
:{
competitionsubitem_name
:
""
,
money
:
0
,
competition_time
:
""
,
begin_time
:
""
,
end_time
:
""
,
competition_type
:
""
,
competitionsubitem_id
:
""
,
flowid
:
""
,
certificateid
:
""
,
competitionname
:
""
,
competitionreportid
:
""
,
sponsor
:
""
,
race_level
:
""
,
team_id
:
""
,
certificate_name
:
""
,
certificate_description
:
""
,
certificate_file
:
""
,
PersonalExcellence
:[],
TeamExcellence
:[],
StudentExcellence
:[],
files_list
:[]},
ruleValidate
:{
competitionsubitem_id
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
race_level
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
team_id
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
certificate_name
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
certificate_description
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}]}}},
computed
:{},
watch
:{},
methods
:{
getCompetitionTime
:
function
(
e
){
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
formValidate
.
begin_time
=
e
[
0
],
this
.
formValidate
.
end_time
=
e
[
1
]},
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
i
){
var
n
,
a
,
o
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
p
.
a
.
cloneDeep
(
e
.
formValidate
),
a
=
n
.
files_list
,
delete
n
.
files_list
,
o
=
{
changecommitid
:
i
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
,
certificate
:
n
,
files_list
:
a
},
t
.
next
=
6
,
l
[
"
c
"
](
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
l
"
](
o
);
case
2
:
return
e
.
abrupt
(
"
return
"
,
e
.
sent
);
case
3
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
6
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
n
"
]({
flowid
:
this
.
flowid
});
case
2
:
t
=
e
.
sent
,
e
.
t0
=
t
.
response
.
changecommitid
,
e
.
next
=
null
===
e
.
t0
?
6
:
7
;
break
;
case
6
:
return
e
.
abrupt
(
"
break
"
,
23
);
case
7
:
return
t
.
response
.
certificate
.
level
=
Number
(
t
.
response
.
certificate
.
level
),
t
.
response
.
certificate
.
race_level
=
Number
(
t
.
response
.
certificate
.
race_level
),
this
.
formValidate
=
t
.
response
.
certificate
,
this
.
formValidate
.
files_list
=
t
.
response
.
files_list
,
this
.
formValidate
.
competition_time
=
[
t
.
response
.
certificate
.
begin_time
,
t
.
response
.
certificate
.
end_time
],
this
.
formValidate
.
competitionname
=
t
.
response
.
certificate
.
competitionname
,
console
.
log
(
"
🚀🚀🚀,
"
,
this
.
competitionItemArray
),
this
.
competitionItemArray
=
[{
competitionsubitemid
:
t
.
response
.
certificate
.
competitionsubitem_id
,
competitionsubitem_name
:
t
.
response
.
certificate
.
competitionsubitem_name
}],
console
.
log
(
"
🚀🚀🚀,
"
,
this
.
competitionItemArray
),
this
.
formValidate
.
competitionsubitem_id
=
t
.
response
.
certificate
.
competitionsubitem_id
,
this
.
Key1
++
,
this
.
changecommitid
=
t
.
response
.
changecommitid
,
this
.
flowid
=
t
.
response
.
flowid
,
this
.
module_id
=
t
.
response
.
module_id
,
this
.
module
=
t
.
response
.
module
,
e
.
abrupt
(
"
break
"
,
23
);
case
23
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
files_list
.
map
((
function
(
i
,
n
){
i
.
id
===
e
.
id
&&
t
.
formValidate
.
files_list
.
splice
(
n
,
1
)})),
this
.
fileKey
++
},
onError
:
function
(
e
,
t
,
i
){
console
.
log
(
"
🚀🚀🚀,onError
"
,
e
,
t
,
i
)},
onsuccess
:
function
(
e
,
t
,
i
){
console
.
log
(
"
🚀🚀🚀,onsuccess
"
,
e
,
t
,
i
)},
onFormatError
:
function
(
e
,
t
,
i
){
this
.
$Message
.
info
(
"
文件类型错误!
"
)},
PersonalExcellenceBeforeUpload
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
i
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
i
=
new
FormData
,
i
.
append
(
"
file
"
,
t
),
e
.
next
=
5
,
c
[
"
tc
"
](
"
TeacherExcellence
"
,
i
);
case
5
:
return
n
=
e
.
sent
,
this
.
formValidate
.
files_list
.
push
(
n
.
response
),
l
[
"
e
"
](
n
),
this
.
fileKey
++
,
e
.
abrupt
(
"
return
"
,
!
1
);
case
10
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
TeamExcellenceBeforeUpload
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
i
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
i
=
new
FormData
,
i
.
append
(
"
file
"
,
t
),
e
.
next
=
5
,
c
[
"
tc
"
](
"
TeamExcellence
"
,
i
);
case
5
:
return
n
=
e
.
sent
,
this
.
formValidate
.
files_list
.
push
(
n
.
response
),
l
[
"
e
"
](
n
),
this
.
fileKey
++
,
e
.
abrupt
(
"
return
"
,
!
1
);
case
10
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
StudentExcellenceBeforeUpload
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
i
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
i
=
new
FormData
,
i
.
append
(
"
file
"
,
t
),
e
.
next
=
5
,
c
[
"
tc
"
](
"
StudentExcellence
"
,
i
);
case
5
:
return
n
=
e
.
sent
,
this
.
formValidate
.
files_list
.
push
(
n
.
response
),
l
[
"
e
"
](
n
),
this
.
fileKey
++
,
e
.
abrupt
(
"
return
"
,
!
1
);
case
10
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
beforeUpload
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
i
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
i
=
new
FormData
,
i
.
append
(
"
file
"
,
t
),
e
.
next
=
5
,
c
[
"
tc
"
](
this
.
module
,
i
);
case
5
:
return
n
=
e
.
sent
,
this
.
formValidate
.
files_list
.
push
(
n
.
response
),
l
[
"
e
"
](
n
),
e
.
abrupt
(
"
return
"
,
!
1
);
case
9
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
[
"
formValidate
"
].
validate
(
function
(){
var
t
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
i
){
var
n
,
a
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
i
){
t
.
next
=
10
;
break
}
return
e
.
$Spin
.
show
(),
e
.
formValidate
.
competitionname
=
e
.
competitionname
,
n
=
p
.
a
.
cloneDeep
(
e
.
formValidate
),
n
.
flowid
=
e
.
flowid
,
t
.
next
=
7
,
c
[
"
k
"
](
n
);
case
7
:
a
=
t
.
sent
,
l
[
"
e
"
](
a
),
setTimeout
((
function
(){
window
.
open
(
"
about:blank
"
,
"
_top
"
).
close
()}),
1500
);
case
10
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}())},
handleReset
:
function
(){
this
.
formValidate
=
{}},
getCompetiotionName
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
i
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
hb
"
]();
case
2
:
return
t
=
e
.
sent
,
this
.
competitionNameArray
=
t
.
response
,
e
.
next
=
6
,
c
[
"
lc
"
]();
case
6
:
i
=
e
.
sent
,
this
.
teamSelect
=
i
.
response
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
competitionSelectName
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
i
,
n
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
c
[
"
qb
"
]({
id
:
t
}).
then
((
function
(
e
){
n
.
competitionItemArray
=
e
.
response
,
n
.
formValidate
.
competitionsubitem_id
=
""
,
console
.
log
(
"
🚀🚀competitionItemArray🚀,
"
,
n
.
competitionItemArray
),
n
.
Key
++
})),
e
.
next
=
3
,
c
[
"
Sb
"
]({
id
:
t
});
case
3
:
i
=
e
.
sent
,
this
.
competitionnameValue
=
i
.
response
.
competitionname
,
this
.
competitionname
=
i
.
response
.
competitionname
,
this
.
formValidate
.
sponsor
=
i
.
response
.
sponsor
,
this
.
formValidate
.
race_level
=
Number
(
i
.
response
.
level
),
this
.
formValidate
.
competitionreportid
=
i
.
response
.
competitionreportid
,
this
.
formValidate
.
money
=
i
.
response
.
money
,
this
.
formValidate
.
competition_type
=
i
.
response
.
competition_type
,
this
.
formValidate
.
competition_time
=
[
i
.
response
.
begin_time
,
i
.
response
.
end_time
],
this
.
formValidate
.
begin_time
=
i
.
response
.
begin_time
,
this
.
formValidate
.
end_time
=
i
.
response
.
end_time
,
this
.
formValidate
.
way
=
i
.
response
.
way
;
case
15
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}()},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
getCompetiotionName
(),
this
.
formValidate
.
flowid
=
this
.
$route
.
query
.
id
,
this
.
formValidate
.
files_list
.
module
=
this
.
$route
.
query
.
remark
,
this
.
flowid
=
this
.
$route
.
query
.
id
,
this
.
module
=
this
.
$route
.
query
.
remark
,
this
.
FlowInit
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
d
=
u
,
f
=
(
i
(
"
b537
"
),
i
(
"
f69e
"
),
i
(
"
2877
"
)),
h
=
Object
(
f
[
"
a
"
])(
d
,
n
,
a
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
h
.
exports
},
a145
:
function
(
e
,
t
,
i
){},
b537
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
a145
"
)},
f69e
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
315c
"
)}}]);
\ No newline at end of file
dist/js/chunk-66bc6265.280f634c.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-66bc6265
"
],{
"
0096
"
:
function
(
e
,
t
,
a
){},
"
5e96
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
(
"
d6c7
"
)},
a7af
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,{
staticClass
:
"
container
"
},[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
50%
"
,
height
:
"
90vh
"
,
"
overflow-y
"
:
"
auto
"
}},[
a
(
"
Card
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
auto
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
h2
"
,{
staticStyle
:{
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
\n
参赛报名
"
)])]},
proxy
:
!
0
}])},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
180
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编号
"
,
prop
:
"
report_code
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请输入赛事编号
"
},
model
:{
value
:
e
.
formValidate
.
report_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
report_code
"
,
t
)},
expression
:
"
formValidate.report_code
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
1vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
addAddressManually
}},[
e
.
_v
(
"
手动添加
"
)])],
1
)]),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionname
"
,
t
)},
expression
:
"
formValidate.competitionname
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name
"
}},[
a
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入赛事编号
"
},
model
:{
value
:
e
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionsubitem_name
"
,
t
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
e
.
formValidate
.
sponsor
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sponsor
"
,
t
)},
expression
:
"
formValidate.sponsor
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_name1
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请输入赛事级别
"
},
model
:{
value
:
e
.
formValidate
.
competition_level_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_level_name
"
,
t
)},
expression
:
"
formValidate.competition_level_name
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_name1
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请输入赛事类型
"
},
model
:{
value
:
e
.
formValidate
.
competition_type_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_type_name
"
,
t
)},
expression
:
"
formValidate.competition_type_name
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛形式(团/个)
"
,
prop
:
"
way1
"
}},[
a
(
"
RadioGroup
"
,{
model
:{
value
:
e
.
formValidate
.
way
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
way
"
,
t
)},
expression
:
"
formValidate.way
"
}},
e
.
_l
(
e
.
wayArray
,(
function
(
t
,
i
){
return
a
(
"
Radio
"
,{
key
:
i
,
attrs
:{
label
:
t
.
value
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
比赛时间
"
,
prop
:
"
competitionTimeRange1
"
}},[
a
(
"
DatePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
type
:
"
daterange
"
,
clearable
:
!
1
,
placeholder
:
"
请选择比赛时间
"
},
on
:{
clearable
:
e
.
clearableTime
,
"
on-change
"
:
e
.
trainingTime
},
model
:{
value
:
e
.
formValidate
.
competitionTimeRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionTimeRange
"
,
t
)},
expression
:
"
formValidate.competitionTimeRange
"
}})],
1
),
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
display
:
"
flex
"
}},[
a
(
"
FormItem
"
,{
staticStyle
:{
width
:
"
50%
"
},
attrs
:{
label
:
"
经费预算
"
,
prop
:
"
money
"
}},[
a
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入经费预算
"
},
model
:{
value
:
e
.
formValidate
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
money
"
,
t
)},
expression
:
"
formValidate.money
"
}})],
1
),
a
(
"
FormItem
"
,{
staticStyle
:{
width
:
"
50%
"
},
attrs
:{
label
:
"
计划培训量(课时):
"
,
prop
:
"
class_hour1
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
"
A类
"
!==
e
.
formValidate
.
competition_type_name
,
placeholder
:
"
请输入计划培训量
"
},
model
:{
value
:
e
.
formValidate
.
class_hour
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
class_hour
"
,
t
)},
expression
:
"
formValidate.class_hour
"
}})],
1
)])],
1
),
a
(
"
FormItem
"
,{
key
:
e
.
fileKey
},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-start
"
,
"
box-sizing
"
:
"
border-box
"
}},[
a
(
"
Upload
"
,{
staticStyle
:{
"
margin-right
"
:
"
10px
"
},
attrs
:{
multiple
:
!
1
,
"
before-upload
"
:
e
.
trainBeforeUpload
,
"
on-error
"
:
e
.
onError
,
"
on-success
"
:
e
.
onsuccess
,
"
on-format-error
"
:
e
.
onFormatError
,
"
show-upload-list
"
:
!
0
,
type
:
"
drag
"
,
action
:
""
}},[
a
(
"
div
"
,{
staticStyle
:{
padding
:
"
20px 30px
"
,
width
:
"
100%
"
}},[
a
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
a
(
"
p
"
,[
e
.
_v
(
"
培训方案
"
)])],
1
)]),
a
(
"
Upload
"
,{
attrs
:{
multiple
:
!
1
,
"
before-upload
"
:
e
.
competitionBeforeUpload
,
"
on-error
"
:
e
.
onError
,
"
on-success
"
:
e
.
onsuccess
,
"
on-format-error
"
:
e
.
onFormatError
,
"
show-upload-list
"
:
!
0
,
type
:
"
drag
"
,
action
:
""
}},[
a
(
"
div
"
,{
staticStyle
:{
padding
:
"
20px 30px
"
,
width
:
"
100%
"
}},[
a
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
a
(
"
p
"
,[
e
.
_v
(
"
备赛方案
"
)])],
1
)])],
1
),
e
.
_l
(
e
.
formValidate
.
files_list
,(
function
(
t
,
i
){
return
a
(
"
div
"
,{
key
:
i
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
a
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
a
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)}))],
2
)],
1
),
a
(
"
Affix
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
width
:
"
100%
"
,
height
:
"
5vh
"
,
"
background-color
"
:
"
#FF9900
"
}},[
a
(
"
span
"
,{
staticStyle
:{
"
font-family
"
:
"
'宋体'
"
,
"
margin-left
"
:
"
1vw
"
,
color
:
"
white
"
}},[
e
.
_v
(
"
\n
请优先完善参赛报名基础信息保存后,再添加参赛报名团队及成员。
\n
"
)])]),
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
5vh
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
h3
"
,[
e
.
_v
(
"
参赛人员
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
15%
"
,
"
margin-left
"
:
"
3vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
t
){
e
.
addTeam
=!
0
}}},[
e
.
_v
(
"
添加团队
\n
"
)])],
1
),
e
.
_l
(
e
.
teamObjectData
,(
function
(
t
,
i
){
return
a
(
"
Card
"
,{
key
:
i
,
staticStyle
:{
"
margin-top
"
:
"
1vw
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
h3
"
,[
e
.
_v
(
e
.
_s
(
t
.
teanname
)
+
"
(指导教师
"
+
e
.
_s
(
t
.
teacher_list
.
length
)
+
"
位;参赛学生
"
+
e
.
_s
(
t
.
student_list
.
length
)
+
"
位;)
"
)])]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
a
(
"
a
"
,{
on
:{
click
:
function
(
a
){
e
.
aTeamValue
=
t
,
e
.
addTeamMembers3
.
Drawer
=!
0
}}},[
e
.
_v
(
"
增加队员
"
)]),
a
(
"
a
"
,{
staticStyle
:{
color
:
"
red
"
,
"
margin-left
"
:
"
1vw
"
},
on
:{
click
:
function
(
a
){
return
e
.
deleteTeam
(
t
)}}},[
e
.
_v
(
"
删除本团队
"
)])]},
proxy
:
!
0
}],
null
,
!
0
)},[
a
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columnsTeacher
,
data
:
t
.
teacher_list
},
scopedSlots
:
e
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
t
){
var
i
=
t
.
row
;
return
[
a
(
"
a
"
,{
staticStyle
:{
color
:
"
red
"
},
on
:{
click
:
function
(
t
){
return
e
.
TeamMembersDel
(
i
)}}},[
e
.
_v
(
"
删除
"
)])]}}],
null
,
!
0
)}),
a
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columnsStudent
,
data
:
t
.
student_list
},
scopedSlots
:
e
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
t
){
var
i
=
t
.
row
;
return
[
a
(
"
a
"
,{
staticStyle
:{
color
:
"
red
"
},
on
:{
click
:
function
(
t
){
return
e
.
TeamMembersDel
(
i
)}}},[
e
.
_v
(
"
删除
"
)])]}}],
null
,
!
0
)})],
1
)}))],
2
)],
1
),
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
10vh
"
}}),
a
(
"
div
"
,{
staticStyle
:{
"
border-top
"
:
"
#2D8CF0 5px solid
"
,
"
background-color
"
:
"
#FFFFFF
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
align-items
"
:
"
center
"
,
width
:
"
100%
"
,
height
:
"
8vh
"
,
position
:
"
absolute
"
,
bottom
:
"
1px
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
12%
"
,
"
margin-right
"
:
"
2vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
t
){
return
e
.
$router
.
back
()}}},[
e
.
_v
(
"
返回
\n
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
12%
"
,
"
margin-right
"
:
"
2vw
"
},
attrs
:{
loading
:
e
.
saveFlowLoading
,
type
:
"
primary
"
},
on
:{
click
:
e
.
handleSubmit
}},[
e
.
_v
(
"
提交流程
\n
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
12%
"
,
"
margin-right
"
:
"
2vw
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"
保存
\n
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
12%
"
},
on
:{
click
:
e
.
handleReset
}},[
e
.
_v
(
"
重置
"
)])],
1
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
选择编号
"
,
width
:
"
60
"
,
styles
:{
top
:
"
10px
"
},
closable
:
!
1
},
scopedSlots
:
e
.
_u
([{
key
:
"
header
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
h3
"
,[
e
.
_v
(
"
选择编号
"
)]),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
20vw
"
},
attrs
:{
placeholder
:
"
请输入编号或赛项名称、赛事名称搜索...
"
},
model
:{
value
:
e
.
contestItem
.
condition
,
callback
:
function
(
t
){
e
.
$set
(
e
.
contestItem
,
"
condition
"
,
t
)},
expression
:
"
contestItem.condition
"
}})],
1
)]},
proxy
:
!
0
},{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
15%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
saveTheEventSingleOption
}},[
e
.
_v
(
"
确定
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
15%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
selectionOfEvents
=!
1
}}},[
e
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
selectionOfEvents
,
callback
:
function
(
t
){
e
.
selectionOfEvents
=
t
},
expression
:
"
selectionOfEvents
"
}},[
a
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columnsCompetitionItem
,
data
:
e
.
dataCompetitionItem
,
loading
:
e
.
contestItem
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
radio
"
,
fn
:
function
(
t
){
var
i
=
t
.
row
;
return
[
a
(
"
input
"
,{
staticStyle
:{
width
:
"
30px
"
,
height
:
"
30px
"
,
cursor
:
"
pointer
"
,
"
accent-color
"
:
"
#1e93ff
"
},
attrs
:{
type
:
"
radio
"
,
name
:
"
name
"
},
domProps
:{
value
:
i
.
name
},
on
:{
click
:
function
(
t
){
return
e
.
tableRadio
(
i
)}}})]}}])}),
a
(
"
div
"
,{
staticClass
:
"
ivu-text-center ivu-mt
"
},[
a
(
"
Page
"
,{
attrs
:{
total
:
e
.
contestItem
.
total
,
current
:
e
.
contestItem
.
pageIndex
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
contestItem
.
pageSize
},
on
:{
"
update:current
"
:
function
(
t
){
return
e
.
$set
(
e
.
contestItem
,
"
pageIndex
"
,
t
)},
"
on-change
"
:
e
.
contestItemhandleChangePage
,
"
on-page-size-change
"
:
e
.
contestItemhandleChangePageSize
}})],
1
)],
1
),
a
(
"
Drawer
"
,{
attrs
:{
title
:
"
添加团队队员
"
,
width
:
"
100%
"
,
transfer
:
!
1
,
"
z-index
"
:
99999
},
model
:{
value
:
e
.
addTeamMembers
.
Drawer
,
callback
:
function
(
t
){
e
.
$set
(
e
.
addTeamMembers
,
"
Drawer
"
,
t
)},
expression
:
"
addTeamMembers.Drawer
"
}},[
a
(
"
Split
"
,{
scopedSlots
:
e
.
_u
([{
key
:
"
left
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
94%
"
,
"
box-sizing
"
:
"
border-box
"
,
padding
:
"
1vw
"
}},[
a
(
"
Card
"
,{
staticStyle
:{
"
margin-top
"
:
"
1vw
"
,
"
max-height
"
:
"
47%
"
,
"
box-sizing
"
:
"
border-box
"
,
"
overflow-y
"
:
"
auto
"
}},[
a
(
"
h3
"
,[
e
.
_v
(
"
指导教师:
"
)]),
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
30%
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
,
padding
:
"
0 0 2vw 0
"
,
"
margin-bottom
"
:
"
1vw
"
}},
e
.
_l
(
e
.
formValidate1
.
teacherid_list
,(
function
(
t
,
i
){
return
a
(
"
div
"
,{
key
:
i
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
}},[
a
(
"
Button
"
,[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
e
.
delClass
(
t
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
)]),
a
(
"
Card
"
,{
staticStyle
:{
"
margin-top
"
:
"
1vw
"
,
"
max-height
"
:
"
47%
"
,
"
box-sizing
"
:
"
border-box
"
,
"
overflow-y
"
:
"
auto
"
}},[
a
(
"
h3
"
,[
e
.
_v
(
"
参赛学生:
"
)]),
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
30%
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
,
padding
:
"
0 0 2vw 0
"
,
"
margin-bottom
"
:
"
1vw
"
}},
e
.
_l
(
e
.
formValidate1
.
studentid_list
,(
function
(
t
,
i
){
return
a
(
"
div
"
,{
key
:
i
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
}},[
a
(
"
Button
"
,[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
e
.
delClass
(
t
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-top
"
:
"
1vw
"
},
attrs
:{
type
:
"
primary
"
,
long
:
""
},
on
:{
click
:
e
.
addInitTeamPeople
}},[
e
.
_v
(
"
确认添加
\n
"
)])],
1
)]},
proxy
:
!
0
},{
key
:
"
right
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
key
:
e
.
kkk
,
staticStyle
:{
padding
:
"
1vw
"
}},[
a
(
"
Tabs
"
,[
a
(
"
TabPane
"
,{
attrs
:{
label
:
"
添加学生
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}}),
a
(
"
div
"
,{
staticStyle
:{
"
justify-content
"
:
"
flex-end
"
,
height
:
"
40px
"
,
"
margin-left
"
:
"
auto
"
,
display
:
"
flex
"
,
"
flex-wrap
"
:
"
nowrap
"
}},[
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
},
attrs
:{
placeholder
:
"
请输入姓名或卡号搜索...
"
},
model
:{
value
:
e
.
modalSelect
.
searchValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
modalSelect
,
"
searchValue
"
,
t
)},
expression
:
"
modalSelect.searchValue
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
e
.
modalSelect
.
searchValue
},
on
:{
click
:
e
.
searchButton
}},[
e
.
_v
(
"
\n
搜索
\n
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
e
.
searchReset
}},[
e
.
_v
(
"
重置
"
)])],
1
),
a
(
"
Table
"
,{
attrs
:{
loading
:
e
.
loading1
,
columns
:
e
.
modalSelect
.
column
,
data
:
e
.
modalSelect
.
sList
},
on
:{
"
on-select-all
"
:
e
.
modalTableSelectAll
,
"
on-select-all-cancel
"
:
e
.
modalTableSelectAllCancel
,
"
on-select
"
:
e
.
modalTableSelect
,
"
on-select-cancel
"
:
e
.
modalTableSelectCancel
}}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-top
"
:
"
20px
"
,
display
:
"
flex
"
}},[
a
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
"
page-size-opts
"
:
e
.
pageSizeOpts
,
total
:
e
.
modalSelect
.
total
,
"
page-size
"
:
e
.
modalSelect
.
page_size
,
"
model-value
"
:
"
modalSelect.page_index
"
,
transfer
:
!
0
},
on
:{
"
on-change
"
:
e
.
currentPage1
,
"
on-page-size-change
"
:
e
.
currentPageCount1
}}),
a
(
"
div
"
,{
staticStyle
:{
"
margin-left
"
:
"
auto
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
10vw
"
},
on
:{
click
:
function
(
t
){
e
.
addTeamMembers
.
Drawer
=!
1
}}},[
e
.
_v
(
"
关闭
"
)])],
1
)],
1
)],
1
),
a
(
"
TabPane
"
,{
attrs
:{
label
:
"
添加教师
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
a
(
"
div
"
,{
staticStyle
:{
"
justify-content
"
:
"
flex-end
"
,
height
:
"
40px
"
,
"
margin-left
"
:
"
auto
"
,
display
:
"
flex
"
,
"
flex-wrap
"
:
"
nowrap
"
}},[
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
},
attrs
:{
placeholder
:
"
请输入姓名或卡号搜索...
"
},
model
:{
value
:
e
.
modalSelect1
.
searchValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
modalSelect1
,
"
searchValue
"
,
t
)},
expression
:
"
modalSelect1.searchValue
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
e
.
modalSelect1
.
searchValue
},
on
:{
click
:
e
.
searchButton
}},[
e
.
_v
(
"
\n
搜索
\n
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
e
.
searchReset1
}},[
e
.
_v
(
"
重置
"
)])],
1
)]),
a
(
"
Table
"
,{
key
:
e
.
keys1
,
attrs
:{
loading
:
e
.
loading2
,
columns
:
e
.
modalSelect1
.
column
,
data
:
e
.
modalSelect1
.
sList
},
on
:{
"
on-select-all
"
:
e
.
modalTableSelectAll1
,
"
on-select-all-cancel
"
:
e
.
modalTableSelectAllCancel1
,
"
on-select
"
:
e
.
modalTableSelect1
,
"
on-select-cancel
"
:
e
.
modalTableSelectCancel1
}}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-top
"
:
"
20px
"
,
display
:
"
flex
"
}},[
a
(
"
Page
"
,{
key
:
e
.
modalSelect1
.
pageKey
,
attrs
:{
transfer
:
!
0
,
"
show-total
"
:
""
,
"
page-size-opts
"
:
e
.
pageSizeOpts
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
e
.
modalSelect1
.
total
,
"
page-size
"
:
e
.
modalSelect1
.
page_size
,
"
model-value
"
:
"
modalSelect1.page_index
"
},
on
:{
"
on-change
"
:
e
.
currentPage2
,
"
on-page-size-change
"
:
e
.
currentPageCount2
}}),
a
(
"
div
"
,{
staticStyle
:{
"
margin-left
"
:
"
auto
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
10vw
"
},
on
:{
click
:
function
(
t
){
e
.
addTeamMembers
.
Drawer
=!
1
}}},[
e
.
_v
(
"
关闭
"
)])],
1
)],
1
)],
1
)],
1
)],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
split
,
callback
:
function
(
t
){
e
.
split
=
t
},
expression
:
"
split
"
}})],
1
),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
添加团队
"
,
transfer
:
!
0
,
"
z-index
"
:
1
,
width
:
"
50%
"
,
styles
:{
top
:
"
10px
"
}},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
15%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
createATeam
}},[
e
.
_v
(
"
创建参赛团队
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
addTeam
,
callback
:
function
(
t
){
e
.
addTeam
=
t
},
expression
:
"
addTeam
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
e
.
formValidate1
,
rules
:
e
.
ruleValidate1
,
"
label-width
"
:
100
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否备选:
"
,
prop
:
"
is_choose
"
}},[
a
(
"
Select
"
,{
attrs
:{
placeholder
:
"
是否备选
"
},
model
:{
value
:
e
.
formValidate1
.
is_choose
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate1
,
"
is_choose
"
,
t
)},
expression
:
"
formValidate1.is_choose
"
}},
e
.
_l
(
e
.
formValidate1
.
alternative
,(
function
(
t
,
i
){
return
a
(
"
Option
"
,{
key
:
i
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
团队名称:
"
,
prop
:
"
teamname
"
}},[
a
(
"
Input
"
,{
attrs
:{
type
:
"
text
"
,
autosize
:{
minRows
:
7
,
maxRows
:
10
},
placeholder
:
"
请输入团队名称
"
},
model
:{
value
:
e
.
formValidate1
.
teamname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate1
,
"
teamname
"
,
t
)},
expression
:
"
formValidate1.teamname
"
}})],
1
)],
1
),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
100%
"
,
"
border-color
"
:
"
#7bbcf8
"
},
attrs
:{
type
:
"
dashed
"
,
icon
:
"
md-add
"
},
on
:{
click
:
e
.
addAPlayer
}},[
e
.
_v
(
"
添加队员
\n
"
)]),
e
.
formValidate1
.
teacherid_list
.
length
&&
e
.
teamPeople
?
a
(
"
Card
"
,{
staticStyle
:{
"
margin-top
"
:
"
1vw
"
}},[
a
(
"
h3
"
,[
e
.
_v
(
"
指导教师:
"
)]),
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
30%
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
,
padding
:
"
0 0 2vw 0
"
,
"
margin-bottom
"
:
"
1vw
"
}},
e
.
_l
(
e
.
formValidate1
.
teacherid_list
,(
function
(
t
,
i
){
return
a
(
"
div
"
,{
key
:
i
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
}},[
a
(
"
Button
"
,[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
e
.
delClass
(
t
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
)]):
e
.
_e
(),
e
.
formValidate1
.
studentid_list
.
length
&&
e
.
teamPeople
?
a
(
"
Card
"
,{
staticStyle
:{
"
margin-top
"
:
"
1vw
"
}},[
a
(
"
h3
"
,[
e
.
_v
(
"
参赛学生:
"
)]),
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
30%
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
,
padding
:
"
0 0 2vw 0
"
,
"
margin-bottom
"
:
"
1vw
"
}},
e
.
_l
(
e
.
formValidate1
.
studentid_list
,(
function
(
t
,
i
){
return
a
(
"
div
"
,{
key
:
i
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
}},[
a
(
"
Button
"
,[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
e
.
delClass
(
t
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
)]):
e
.
_e
()],
1
),
a
(
"
Drawer
"
,{
attrs
:{
title
:
"
增加团队队员
"
,
width
:
"
100%
"
},
model
:{
value
:
e
.
addTeamMembers3
.
Drawer
,
callback
:
function
(
t
){
e
.
$set
(
e
.
addTeamMembers3
,
"
Drawer
"
,
t
)},
expression
:
"
addTeamMembers3.Drawer
"
}},[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
}},[
a
(
"
Split
"
,{
scopedSlots
:
e
.
_u
([{
key
:
"
left
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
"
overflow-y
"
:
"
auto
"
}},[
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
47%
"
,
"
overflow-y
"
:
"
auto
"
}},[
a
(
"
h3
"
,[
e
.
_v
(
"
参赛学生:
"
)]),
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
30%
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
,
padding
:
"
0 0 2vw 0
"
,
"
margin-bottom
"
:
"
1vw
"
}},
e
.
_l
(
e
.
formValidate3
.
studentid_list
,(
function
(
t
,
i
){
return
a
(
"
div
"
,{
key
:
i
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
}},[
a
(
"
Button
"
,[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
e
.
delClass2
(
t
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
)]),
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
47%
"
,
"
overflow-y
"
:
"
auto
"
}},[
a
(
"
h3
"
,[
e
.
_v
(
"
指导教师:
"
)]),
a
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
30%
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
,
padding
:
"
0 0 2vw 0
"
,
"
margin-bottom
"
:
"
1vw
"
}},
e
.
_l
(
e
.
formValidate3
.
teacherid_list
,(
function
(
t
,
i
){
return
a
(
"
div
"
,{
key
:
i
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
}},[
a
(
"
Button
"
,[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
a
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
a
){
return
e
.
delClass2
(
t
)}}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
)]),
a
(
"
Button
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
MembersIns
}},[
e
.
_v
(
"
确认添加
"
)])],
1
)]},
proxy
:
!
0
},{
key
:
"
right
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
key
:
e
.
kkk
,
staticStyle
:{
padding
:
"
1vw
"
}},[
a
(
"
Tabs
"
,[
a
(
"
TabPane
"
,{
attrs
:{
label
:
"
添加学生
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}}),
a
(
"
div
"
,{
staticStyle
:{
"
justify-content
"
:
"
flex-end
"
,
height
:
"
40px
"
,
"
margin-left
"
:
"
auto
"
,
display
:
"
flex
"
,
"
flex-wrap
"
:
"
nowrap
"
}},[
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
},
attrs
:{
placeholder
:
"
请输入姓名或卡号搜索...
"
},
model
:{
value
:
e
.
modalSelect3
.
searchValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
modalSelect3
,
"
searchValue
"
,
t
)},
expression
:
"
modalSelect3.searchValue
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
e
.
modalSelect3
.
searchValue
},
on
:{
click
:
e
.
searchButton
}},[
e
.
_v
(
"
\n
搜索
\n
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
e
.
searchReset3
}},[
e
.
_v
(
"
重置
"
)])],
1
),
a
(
"
Table
"
,{
attrs
:{
loading
:
e
.
loading1
,
columns
:
e
.
modalSelect3
.
column
,
data
:
e
.
modalSelect3
.
sList
},
on
:{
"
on-select-all
"
:
e
.
modalTableSelectAll3
,
"
on-select-all-cancel
"
:
e
.
modalTableSelectAllCancel3
,
"
on-select
"
:
e
.
modalTableSelect3
,
"
on-select-cancel
"
:
e
.
modalTableSelectCancel3
}}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-top
"
:
"
20px
"
}},[
a
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
"
page-size-opts
"
:
e
.
pageSizeOpts
,
total
:
e
.
modalSelect3
.
total
,
"
page-size
"
:
e
.
modalSelect3
.
page_size
,
"
model-value
"
:
"
modalSelect3.page_index
"
,
transfer
:
!
0
},
on
:{
"
on-change
"
:
e
.
currentPage3
,
"
on-page-size-change
"
:
e
.
currentPageCount3
}})],
1
),
a
(
"
div
"
,{
staticStyle
:{
float
:
"
right
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
20px
"
},
on
:{
click
:
function
(
t
){
e
.
addTeamMembers3
.
Drawer
=!
1
}}},[
e
.
_v
(
"
取消
"
)])],
1
)],
1
),
a
(
"
TabPane
"
,{
attrs
:{
label
:
"
添加教师
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
a
(
"
div
"
,{
staticStyle
:{
"
justify-content
"
:
"
flex-end
"
,
height
:
"
40px
"
,
"
margin-left
"
:
"
auto
"
,
display
:
"
flex
"
,
"
flex-wrap
"
:
"
nowrap
"
}},[
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
},
attrs
:{
placeholder
:
"
请输入姓名或卡号搜索...
"
},
model
:{
value
:
e
.
modalSelect4
.
searchValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
modalSelect4
,
"
searchValue
"
,
t
)},
expression
:
"
modalSelect4.searchValue
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
e
.
modalSelect4
.
searchValue
},
on
:{
click
:
e
.
searchButton
}},[
e
.
_v
(
"
\n
搜索
\n
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
e
.
searchReset4
}},[
e
.
_v
(
"
重置
"
)])],
1
)]),
a
(
"
Table
"
,{
key
:
e
.
keys1
,
attrs
:{
loading
:
e
.
loading2
,
columns
:
e
.
modalSelect4
.
column
,
data
:
e
.
modalSelect4
.
sList
},
on
:{
"
on-select-all
"
:
e
.
modalTableSelectAll4
,
"
on-select-all-cancel
"
:
e
.
modalTableSelectAllCancel4
,
"
on-select
"
:
e
.
modalTableSelect4
,
"
on-select-cancel
"
:
e
.
modalTableSelectCancel4
}}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-top
"
:
"
20px
"
}},[
a
(
"
Page
"
,{
key
:
e
.
modalSelect4
.
pageKey
,
attrs
:{
transfer
:
!
0
,
"
show-total
"
:
""
,
"
page-size-opts
"
:
e
.
pageSizeOpts
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
e
.
modalSelect4
.
total
,
"
page-size
"
:
e
.
modalSelect4
.
page_size
,
"
model-value
"
:
"
modalSelect4.page_index
"
},
on
:{
"
on-change
"
:
e
.
currentPage4
,
"
on-page-size-change
"
:
e
.
currentPageCount4
}})],
1
),
a
(
"
div
"
,{
staticStyle
:{
float
:
"
right
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
20px
"
},
on
:{
click
:
function
(
t
){
e
.
addTeamMembers3
.
Drawer
=!
1
}}},[
e
.
_v
(
"
取消
"
)])],
1
)],
1
)],
1
)],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
split
,
callback
:
function
(
t
){
e
.
split
=
t
},
expression
:
"
split
"
}})],
1
)])],
1
)},
n
=
[],
l
=
(
a
(
"
8e6e
"
),
a
(
"
28a5
"
),
a
(
"
c5f6
"
),
a
(
"
ade3
"
)),
s
=
(
a
(
"
ac6a
"
),
a
(
"
456d
"
),
a
(
"
6762
"
),
a
(
"
2fdb
"
),
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
o
=
a
(
"
967e
"
),
r
=
a
.
n
(
o
),
c
=
a
(
"
61be
"
),
d
=
a
(
"
7f6b
"
),
m
=
a
(
"
2ef0
"
),
u
=
a
.
n
(
m
),
p
=
a
(
"
5a0c
"
),
h
=
a
.
n
(
p
);
function
f
(
e
,
t
){
var
a
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
i
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
i
=
i
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
a
.
push
.
apply
(
a
,
i
)}
return
a
}
function
g
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
a
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
f
(
Object
(
a
),
!
0
).
forEach
((
function
(
t
){
Object
(
l
[
"
a
"
])(
e
,
t
,
a
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
a
)):
f
(
Object
(
a
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
a
,
t
))}))}
return
e
}
var
y
=
{
components
:{},
data
:
function
(){
return
{
teamPeople
:
!
1
,
kkk
:
1
,
saveFlowLoading
:
!
1
,
timer
:
""
,
selectTheNumberMedian
:{},
aTeamValue
:{},
split
:.
5
,
addTeamMembers3
:{
Drawer
:
!
1
},
loading3
:
!
1
,
rrr
:
1
,
keys1
:
1
,
loading2
:
!
1
,
signid
:
""
,
loading1
:
!
1
,
modal
:
!
1
,
pageSizeOpts
:[
10
,
20
,
30
,
40
,
100
,
200
],
modalSelect1
:{
deptValue
:[],
deptSelectArray
:[],
tArray
:[],
checkboxValue
:[],
rList
:[{
value
:
0
,
label
:
"
非指导教师
"
},{
value
:
1
,
label
:
"
指导教师
"
}],
sArray
:[],
searchValue
:
""
,
condition
:
""
,
column
:[{
type
:
"
selection
"
,
minWidth
:
150
},{
title
:
"
指导教师
"
,
minWidth
:
150
,
key
:
"
name
"
},{
title
:
"
工号
"
,
minWidth
:
150
,
key
:
"
number
"
},{
title
:
"
身份证号
"
,
minWidth
:
150
,
key
:
"
sfzh
"
},{
title
:
"
教学院系
"
,
minWidth
:
150
,
key
:
"
dept_name
"
},{
title
:
"
性别
"
,
minWidth
:
150
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
sList
:[],
pageKey
:
1
,
total
:
0
,
page_size
:
10
,
page_index
:
1
},
modalSelect
:{
checkboxValue
:
""
,
rList
:[{
value
:
0
,
label
:
"
否
"
},{
value
:
1
,
label
:
"
是
"
}],
sArray
:[],
searchValue
:
""
,
condition
:
""
,
column
:[{
type
:
"
selection
"
,
minWidth
:
150
},{
title
:
"
参赛学生
"
,
minWidth
:
150
,
key
:
"
name
"
},{
title
:
"
学号
"
,
minWidth
:
150
,
key
:
"
number
"
},{
title
:
"
身份证号
"
,
minWidth
:
150
,
key
:
"
sfzh
"
},{
title
:
"
班级
"
,
minWidth
:
150
,
key
:
"
classname
"
},{
title
:
"
性别
"
,
minWidth
:
150
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
sList
:[],
pageKey
:
1
,
total
:
0
,
page_size
:
10
,
page_index
:
1
},
modalSelect4
:{
deptValue
:[],
deptSelectArray
:[],
tArray
:[],
checkboxValue
:[],
rList
:[{
value
:
0
,
label
:
"
非指导教师
"
},{
value
:
1
,
label
:
"
指导教师
"
}],
sArray
:[],
searchValue
:
""
,
condition
:
""
,
column
:[{
type
:
"
selection
"
,
minWidth
:
150
},{
title
:
"
指导教师
"
,
minWidth
:
150
,
key
:
"
name
"
},{
title
:
"
工号
"
,
minWidth
:
150
,
key
:
"
number
"
},{
title
:
"
身份证号
"
,
minWidth
:
200
,
key
:
"
sfzh
"
},{
title
:
"
教学院系
"
,
minWidth
:
150
,
key
:
"
dept_name
"
},{
title
:
"
性别
"
,
minWidth
:
150
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
sList
:[],
pageKey
:
1
,
total
:
0
,
page_size
:
10
,
page_index
:
1
},
modalSelect3
:{
checkboxValue
:
""
,
rList
:[{
value
:
0
,
label
:
"
否
"
},{
value
:
1
,
label
:
"
是
"
}],
sArray
:[],
searchValue
:
""
,
condition
:
""
,
column
:[{
type
:
"
selection
"
,
minWidth
:
150
},{
title
:
"
参赛学生
"
,
minWidth
:
150
,
key
:
"
name
"
},{
title
:
"
学号
"
,
minWidth
:
150
,
key
:
"
number
"
},{
title
:
"
身份证号
"
,
minWidth
:
200
,
key
:
"
sfzh
"
},{
title
:
"
班级
"
,
minWidth
:
150
,
key
:
"
classname
"
},{
title
:
"
性别
"
,
minWidth
:
150
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
}],
sList
:[],
pageKey
:
1
,
total
:
0
,
page_size
:
10
,
page_index
:
1
},
addTeamMembers
:{
Drawer
:
!
1
},
contestItem
:{
loading
:
!
1
,
condition
:
""
,
total
:
0
,
pageIndex
:
1
,
pageSize
:
10
},
selectionOfEvents
:
!
1
,
columnsCompetitionItem
:[{
slot
:
"
radio
"
},{
title
:
"
赛事编号
"
,
key
:
"
report_code
"
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
},{
title
:
"
赛项名称
"
,
key
:
"
competitionsubitem_name
"
}],
dataCompetitionItem
:[],
addTeam
:
!
1
,
columnsStudent
:[{
title
:
"
参赛学生
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
学号
"
,
minWidth
:
120
,
key
:
"
card_name
"
},{
title
:
"
身份证号
"
,
minWidth
:
180
,
key
:
"
sfzh
"
},{
title
:
"
班级
"
,
minWidth
:
150
,
key
:
"
classname
"
},{
title
:
"
性别
"
,
minWidth
:
80
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
},{
title
:
"
操作
"
,
minWidth
:
80
,
slot
:
"
action
"
,
fixed
:
"
right
"
}],
columnsTeacher
:[{
title
:
"
指导教师
"
,
minWidth
:
100
,
key
:
"
name
"
},{
title
:
"
工号
"
,
minWidth
:
120
,
key
:
"
card_name
"
},{
title
:
"
身份证号
"
,
minWidth
:
180
,
key
:
"
sfzh
"
},{
title
:
"
教学院系
"
,
minWidth
:
150
,
key
:
"
dept
"
},{
title
:
"
性别
"
,
minWidth
:
80
,
key
:
"
gender
"
},{
title
:
"
联系电话
"
,
minWidth
:
150
,
key
:
"
phone
"
},{
title
:
"
操作
"
,
minWidth
:
80
,
slot
:
"
action
"
,
fixed
:
"
right
"
}],
data1
:[],
data2
:[],
teamObjectData
:{},
signPeople
:[],
competitionNameArray
:[],
approval_stateArray
:[{
value
:
0
,
label
:
"
未审批
"
},{
value
:
1
,
label
:
"
审批中
"
},{
value
:
2
,
label
:
"
审批通过
"
},{
value
:
3
,
label
:
"
审批不通过
"
}],
levelArray
:[{
value
:
1
,
label
:
"
国家级
"
},{
value
:
2
,
label
:
"
省一级
"
},{
value
:
3
,
label
:
"
省二级
"
}],
wayArray
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}],
competitionnameValue
:
""
,
changecommitid
:
""
,
flowid
:
""
,
module_id
:
""
,
module
:
""
,
fileKey
:
1
,
formValidate4
:{
competitionsign_id
:
""
,
teamname
:
""
,
is_choose
:
0
,
alternative
:[{
value
:
0
,
label
:
"
否
"
},{
value
:
1
,
label
:
"
是
"
}],
studentid_list
:[],
teacherid_list
:[]},
formValidate3
:{
competitionsign_id
:
""
,
teamname
:
""
,
is_choose
:
0
,
alternative
:[{
value
:
0
,
label
:
"
否
"
},{
value
:
1
,
label
:
"
是
"
}],
studentid_list
:[],
teacherid_list
:[]},
formValidate1
:{
competitionsign_id
:
""
,
teamname
:
""
,
is_choose
:
0
,
alternative
:[{
value
:
0
,
label
:
"
否
"
},{
value
:
1
,
label
:
"
是
"
}],
studentid_list
:[],
teacherid_list
:[]},
ruleValidate1
:{
is_choose
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
teamname
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}]},
preparationPlan
:[],
formValidate
:{
flowid
:
""
,
competitionname
:
""
,
competitionreportid
:
""
,
sponsor
:
""
,
level
:
""
,
competition_time
:
""
,
place
:
""
,
sign_up
:
""
,
file_name
:
""
,
race_level
:
""
,
way
:
""
,
class_hour
:
""
,
arity
:
""
,
curriculum
:
""
,
begin_time
:
""
,
end_time
:
""
,
request
:
""
,
competitionTimeRange
:[],
files_list
:[]},
ruleValidate
:{
report_code
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
competitionsubitem_name
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
competition_level_name
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
competition_type_name
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
place
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
competitionname
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
level
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
competition_time
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
sign_up
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
file_name
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
race_level
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
way
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
arity
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
class_hour
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
curriculum
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
competitionTimeRange
:[{
type
:
"
array
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
average
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
ratio_info
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
request
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}]}}},
computed
:{},
watch
:{
"
contestItem.condition
"
:
function
(
e
,
t
){
this
.
addAddressManually
()},
"
formValidate.competitionTimeRange
"
:
function
(
e
,
t
){
console
.
log
(
"
🚀🚀12312🚀,
"
,
e
)}},
mounted
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
getCompetiotionName
(),
this
.
formValidate
.
flowid
=
this
.
$route
.
query
.
id
,
this
.
flowid
=
this
.
$route
.
query
.
id
,
this
.
module
=
this
.
$route
.
query
.
remark
,
e
.
next
=
6
,
this
.
FlowInit
();
case
6
:
this
.
GetStudentListToMembers
(),
this
.
GetTeacherListToMembers
(),
this
.
GetStudentListToMembers3
(),
this
.
GetTeacherListToMembers4
(),
this
.
TeamAndMemberSel
();
case
11
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
methods
:{
addInitTeamPeople
:
function
(){
this
.
formValidate1
.
studentid_list
.
length
||
this
.
formValidate1
.
teacherid_list
.
length
?(
this
.
teamPeople
=!
0
,
this
.
addTeamMembers
.
Drawer
=!
1
):
this
.
$Message
.
error
(
"
请选择团队人员
"
)},
deleteTeam
:
function
(
e
){
var
t
=
this
;
c
[
"
d
"
]((
function
(){
c
[
"
c
"
](
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
a
(){
var
i
;
return
r
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
d
[
"
hc
"
]({
teamid
:
e
.
teamid
});
case
2
:
return
i
=
a
.
sent
,
t
.
TeamAndMemberSel
(),
a
.
abrupt
(
"
return
"
,
i
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
MembersIns
:
function
(
e
){
var
t
=
this
,
a
=
[],
i
=
[];
this
.
formValidate3
.
studentid_list
.
map
((
function
(
e
,
t
){
a
.
push
(
e
.
sid
)})),
this
.
formValidate3
.
teacherid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
tid
)}));
var
n
=
{
studentid_list
:
a
,
teacherid_list
:
i
,
teamid
:
this
.
aTeamValue
.
teamid
};
c
[
"
c
"
](
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
a
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
Gb
"
](
n
);
case
2
:
return
a
=
e
.
sent
,
1
===
a
.
code
&&
function
(){
t
.
formValidate3
.
studentid_list
=
[],
t
.
formValidate3
.
teacherid_list
=
[],
t
.
kkk
++
}(),
t
.
TeamAndMemberSel
(),
e
.
abrupt
(
"
return
"
,
a
);
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
delClass2
:
function
(
e
){
var
t
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
Object
.
keys
(
e
).
includes
(
"
sid
"
)?(
this
.
formValidate3
.
studentid_list
.
map
((
function
(
a
,
i
){
a
.
sid
===
e
.
sid
&&
t
.
formValidate3
.
studentid_list
.
splice
(
i
,
1
)})),
this
.
modalSelect3
.
sArray
.
map
((
function
(
a
,
i
){
a
.
sid
===
e
.
sid
&&
t
.
modalSelect3
.
sArray
.
splice
(
i
,
1
)}))):(
this
.
formValidate3
.
teacherid_list
.
map
((
function
(
a
,
i
){
a
.
tid
===
e
.
tid
&&
t
.
formValidate3
.
teacherid_list
.
splice
(
i
,
1
)})),
this
.
modalSelect4
.
tArray
.
map
((
function
(
a
,
i
){
a
.
tid
===
e
.
tid
&&
t
.
modalSelect4
.
tArray
.
splice
(
i
,
1
)})))},
modalTableSelectCancel3
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect3
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect3
.
sArray
.
push
(
e
.
tid
)}));
var
i
=
[];
this
.
formValidate3
.
studentid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
sid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
sid
)
||
a
.
formValidate3
.
studentid_list
.
push
(
e
)}))},
modalTableSelectAll3
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect3
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect3
.
sArray
.
push
(
e
.
tid
)}));
var
i
=
[];
this
.
formValidate3
.
studentid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
sid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
sid
)
||
a
.
formValidate3
.
studentid_list
.
push
(
e
)}))},
modalTableSelectAllCancel3
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect3
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect3
.
sArray
.
push
(
e
.
tid
)}));
var
i
=
[];
this
.
formValidate3
.
studentid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
sid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
sid
)
||
a
.
formValidate3
.
studentid_list
.
push
(
e
)}))},
modalTableSelect3
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect3
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect3
.
sArray
.
push
(
e
.
tid
)}));
var
i
=
[];
this
.
formValidate3
.
studentid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
sid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
sid
)
||
a
.
formValidate3
.
studentid_list
.
push
(
e
)}))},
addTeamPeople
:
function
(
e
){
this
.
addTeamMembers3
.
Drawe
=!
0
,
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
console
.
log
(
"
🚀🚀🚀,
"
,
this
.
addTeamMembers3
.
Drawe
)},
TeamMembersDel
:
function
(
e
){
var
t
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
c
[
"
d
"
]((
function
(){
c
[
"
c
"
](
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
a
(){
var
i
;
return
r
.
a
.
wrap
((
function
(
a
){
while
(
1
)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
a
.
next
=
2
,
d
[
"
ic
"
]({
teammembersid
:
e
.
teammembersid
});
case
2
:
return
i
=
a
.
sent
,
t
.
TeamAndMemberSel
(),
a
.
abrupt
(
"
return
"
,
i
);
case
5
:
case
"
end
"
:
return
a
.
stop
()}}),
a
)}))))}))},
TeamAndMemberSel
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading3
=!
0
,
e
.
next
=
3
,
new
Promise
((
function
(
e
){
c
[
"
a
"
]((
function
(){
var
a
=
{
signid
:
t
.
signid
};
d
[
"
gc
"
](
a
).
then
((
function
(
a
){
t
.
teamObjectData
=
a
.
response
,
e
()}))}))}));
case
3
:
this
.
loading3
=!
1
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
createATeam
:
function
(){
var
e
=
this
;
this
.
$refs
[
"
formValidate1
"
].
validate
((
function
(
t
){
t
&&
(
e
.
teamPeople
?
c
[
"
c
"
](
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
t
(){
var
a
,
i
,
n
,
l
;
return
r
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
[],
i
=
[],
e
.
formValidate1
.
teacherid_list
.
map
((
function
(
e
){
a
.
push
(
e
.
tid
)})),
e
.
formValidate1
.
studentid_list
.
map
((
function
(
e
){
i
.
push
(
e
.
sid
)})),
n
=
g
(
g
({},
e
.
formValidate1
),{},{
competitionsign_id
:
e
.
formValidate
.
competitionsignid
,
teacherid_list
:
a
,
studentid_list
:
i
}),
t
.
next
=
7
,
d
[
"
fc
"
](
n
);
case
7
:
return
l
=
t
.
sent
,
1
===
l
.
code
&&
function
(){
e
.
formValidate1
.
teacherid_list
=
[],
e
.
formValidate1
.
studentid_list
=
[],
e
.
teamPeople
=!
1
,
e
.
kkk
++
}(),
e
.
TeamAndMemberSel
(),
t
.
abrupt
(
"
return
"
,
l
);
case
11
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})))):
e
.
$Message
.
error
(
"
请完善团队人员
"
))}))},
delClass
:
function
(
e
){
var
t
=
this
;
Object
.
keys
(
e
).
includes
(
"
sid
"
)?(
this
.
formValidate1
.
studentid_list
.
map
((
function
(
a
,
i
){
a
.
sid
===
e
.
sid
&&
t
.
formValidate1
.
studentid_list
.
splice
(
i
,
1
)})),
this
.
modalSelect
.
sArray
.
map
((
function
(
a
,
i
){
a
.
sid
===
e
.
sid
&&
t
.
modalSelect
.
sArray
.
splice
(
i
,
1
)}))):(
this
.
formValidate1
.
teacherid_list
.
map
((
function
(
a
,
i
){
a
.
tid
===
e
.
tid
&&
t
.
formValidate1
.
teacherid_list
.
splice
(
i
,
1
)})),
this
.
modalSelect1
.
tArray
.
map
((
function
(
a
,
i
){
a
.
tid
===
e
.
tid
&&
t
.
modalSelect1
.
tArray
.
splice
(
i
,
1
)}))),
this
.
keys1
++
},
currentPage1
:
function
(
e
){
this
.
modalSelect
.
page_index
=
e
,
this
.
GetStudentListToMembers
()},
currentPage2
:
function
(
e
){
this
.
modalSelect1
.
page_index
=
e
,
this
.
GetTeacherListToMembers
()},
currentPage3
:
function
(
e
){
this
.
modalSelect3
.
page_index
=
e
,
this
.
GetStudentListToMembers3
()},
currentPage4
:
function
(
e
){
this
.
modalSelect4
.
page_index
=
e
,
this
.
GetTeacherListToMembers4
()},
currentPageCount1
:
function
(
e
){
this
.
modalSelect
.
page_size
=
e
,
this
.
GetStudentListToMembers
()},
currentPageCount2
:
function
(
e
){
this
.
modalSelect1
.
page_size
=
e
,
this
.
GetTeacherListToMembers
()},
currentPageCount3
:
function
(
e
){
this
.
modalSelect3
.
page_size
=
e
,
this
.
GetStudentListToMembers3
()},
currentPageCount4
:
function
(
e
){
this
.
modalSelect4
.
page_size
=
e
,
this
.
GetTeacherListToMembers4
()},
searchButton
:
function
(){
this
.
modalSelect
.
condition
=
this
.
modalSelect
.
searchValue
,
this
.
modalSelect
.
page_index
=
1
,
this
.
modalSelect1
.
condition
=
this
.
modalSelect1
.
searchValue
,
this
.
modalSelect1
.
page_index
=
1
,
this
.
modalSelect3
.
condition
=
this
.
modalSelect3
.
searchValue
,
this
.
modalSelect3
.
page_index
=
1
,
this
.
modalSelect4
.
condition
=
this
.
modalSelect4
.
searchValue
,
this
.
modalSelect4
.
page_index
=
1
,
this
.
GetStudentListToMembers
(),
this
.
GetTeacherListToMembers
(),
this
.
GetStudentListToMembers3
(),
this
.
GetTeacherListToMembers4
()},
searchReset
:
function
(){
this
.
modalSelect
.
condition
=
""
,
this
.
modalSelect
.
searchValue
=
""
,
this
.
modalSelect
.
page_index
=
1
,
this
.
modalSelect
.
page_size
=
10
,
this
.
modalSelect
.
sArray
=
[],
this
.
modalSelect
.
pageKey
++
,
this
.
GetStudentListToMembers
()},
searchReset1
:
function
(){
this
.
modalSelect1
.
deptValue
=
[],
this
.
modalSelect1
.
searchValue
=
""
,
this
.
modalSelect1
.
checkboxValue
=
[],
this
.
modalSelect1
.
condition
=
""
,
this
.
modalSelect1
.
page_index
=
1
,
this
.
modalSelect1
.
page_size
=
10
,
this
.
modalSelect1
.
tArray
=
[],
this
.
modalSelect1
.
pageKey
++
,
this
.
GetTeacherListToMembers
()},
searchReset3
:
function
(){
this
.
modalSelect3
.
deptValue
=
[],
this
.
modalSelect3
.
searchValue
=
""
,
this
.
modalSelect3
.
checkboxValue
=
[],
this
.
modalSelect3
.
condition
=
""
,
this
.
modalSelect3
.
page_index
=
1
,
this
.
modalSelect3
.
page_size
=
10
,
this
.
modalSelect3
.
tArray
=
[],
this
.
modalSelect3
.
pageKey
++
,
this
.
GetStudentListToMembers3
()},
searchReset4
:
function
(){
this
.
modalSelect4
.
deptValue
=
[],
this
.
modalSelect4
.
searchValue
=
""
,
this
.
modalSelect4
.
checkboxValue
=
[],
this
.
modalSelect4
.
condition
=
""
,
this
.
modalSelect4
.
page_index
=
1
,
this
.
modalSelect4
.
page_size
=
10
,
this
.
modalSelect4
.
tArray
=
[],
this
.
modalSelect4
.
pageKey
++
,
this
.
GetTeacherListToMembers4
()},
modalTableSelectCancel
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
,
t
),
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect
.
sArray
.
push
(
e
.
sid
)}));
var
i
=
[];
this
.
formValidate1
.
studentid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
sid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
sid
)
||
a
.
formValidate1
.
studentid_list
.
push
(
e
)}))},
modalTableSelectAll
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect
.
sArray
.
push
(
e
.
sid
)}));
var
i
=
[];
this
.
formValidate1
.
studentid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
sid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
sid
)
||
a
.
formValidate1
.
studentid_list
.
push
(
e
)}))},
modalTableSelectAllCancel
:
function
(
e
,
t
){
var
a
=
this
;
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect
.
sArray
.
push
(
e
.
sid
)}));
var
i
=
[];
this
.
formValidate1
.
studentid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
sid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
sid
)
||
a
.
formValidate1
.
studentid_list
.
push
(
e
)}))},
modalTableSelect
:
function
(
e
,
t
){
var
a
=
this
;
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect
.
sArray
.
push
(
e
.
sid
)}));
var
i
=
[];
this
.
formValidate1
.
studentid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
sid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
sid
)
||
a
.
formValidate1
.
studentid_list
.
push
(
e
)}))},
modalTableSelectCancel1
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect1
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect1
.
tArray
.
push
(
e
.
tid
)}));
var
i
=
[];
this
.
formValidate1
.
teacherid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
tid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
tid
)
||
a
.
formValidate1
.
teacherid_list
.
push
(
e
)}))},
modalTableSelectAll1
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect1
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect1
.
tArray
.
push
(
e
.
tid
)}));
var
i
=
[];
this
.
formValidate1
.
teacherid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
tid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
tid
)
||
a
.
formValidate1
.
teacherid_list
.
push
(
e
)}))},
modalTableSelectAllCancel1
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect1
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect1
.
tArray
.
push
(
e
.
tid
)}));
var
i
=
[];
this
.
formValidate1
.
teacherid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
tid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
tid
)
||
a
.
formValidate1
.
teacherid_list
.
push
(
e
)}))},
modalTableSelect1
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect1
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect1
.
tArray
.
push
(
e
.
tid
)}));
var
i
=
[];
this
.
formValidate1
.
teacherid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
tid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
tid
)
||
a
.
formValidate1
.
teacherid_list
.
push
(
e
)}))},
modalTableSelect4
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect4
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect4
.
tArray
.
push
(
e
.
tid
)}));
var
i
=
[];
this
.
formValidate3
.
teacherid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
tid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
tid
)
||
a
.
formValidate3
.
teacherid_list
.
push
(
e
)}))},
modalTableSelectCancel4
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect4
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect4
.
tArray
.
push
(
e
.
tid
)}));
var
i
=
[];
this
.
formValidate3
.
teacherid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
tid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
tid
)
||
a
.
formValidate3
.
teacherid_list
.
push
(
e
)}))},
modalTableSelectAll4
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect4
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect4
.
tArray
.
push
(
e
.
tid
)}));
var
i
=
[];
this
.
formValidate3
.
teacherid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
tid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
tid
)
||
a
.
formValidate3
.
teacherid_list
.
push
(
e
)}))},
modalTableSelectAllCancel4
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect4
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect4
.
tArray
.
push
(
e
.
tid
)}));
var
i
=
[];
this
.
formValidate3
.
teacherid_list
.
map
((
function
(
e
,
t
){
i
.
push
(
e
.
tid
)})),
e
.
map
((
function
(
e
,
t
){
i
.
includes
(
e
.
tid
)
||
a
.
formValidate3
.
teacherid_list
.
push
(
e
)}))},
GetStudentListToMembers3
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading1
=!
0
,
e
.
next
=
3
,
new
Promise
((
function
(
e
){
c
[
"
a
"
]((
function
(){
var
a
=
{
signid
:
t
.
signid
,
condition
:
t
.
modalSelect3
.
condition
,
page_index
:
t
.
modalSelect3
.
page_index
,
page_size
:
t
.
modalSelect3
.
page_size
};
d
[
"
pb
"
](
a
).
then
((
function
(
a
){
t
.
modalSelect3
.
total
=
a
.
response
.
data_count
,
t
.
modalSelect3
.
sList
=
a
.
response
.
data
,
e
()}))}))}));
case
3
:
this
.
loading1
=!
1
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
GetTeacherListToMembers4
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading2
=!
0
,
e
.
next
=
3
,
new
Promise
((
function
(
e
){
c
[
"
a
"
]((
function
(){
var
a
=
{
signid
:
t
.
signid
,
condition
:
t
.
modalSelect4
.
condition
,
page_index
:
t
.
modalSelect4
.
page_index
,
page_size
:
t
.
modalSelect4
.
page_size
};
d
[
"
tb
"
](
a
).
then
((
function
(
a
){
t
.
modalSelect4
.
total
=
a
.
response
.
data_count
,
t
.
modalSelect4
.
sList
=
a
.
response
.
data
,
e
()}))}))}));
case
3
:
this
.
loading2
=!
1
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
GetStudentListToMembers
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading1
=!
0
,
e
.
next
=
3
,
new
Promise
((
function
(
e
){
c
[
"
a
"
]((
function
(){
var
a
=
{
signid
:
t
.
signid
,
condition
:
t
.
modalSelect
.
condition
,
page_index
:
t
.
modalSelect
.
page_index
,
page_size
:
t
.
modalSelect
.
page_size
};
d
[
"
pb
"
](
a
).
then
((
function
(
a
){
t
.
modalSelect
.
total
=
a
.
response
.
data_count
,
t
.
modalSelect
.
sList
=
a
.
response
.
data
,
e
()}))}))}));
case
3
:
this
.
loading1
=!
1
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
GetTeacherListToMembers
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading2
=!
0
,
e
.
next
=
3
,
new
Promise
((
function
(
e
){
c
[
"
a
"
]((
function
(){
var
a
=
{
signid
:
t
.
signid
,
condition
:
t
.
modalSelect1
.
condition
,
page_index
:
t
.
modalSelect1
.
page_index
,
page_size
:
t
.
modalSelect1
.
page_size
};
d
[
"
tb
"
](
a
).
then
((
function
(
a
){
t
.
modalSelect1
.
total
=
a
.
response
.
data_count
,
t
.
modalSelect1
.
sList
=
a
.
response
.
data
,
e
()}))}))}));
case
3
:
this
.
loading2
=!
1
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
addAPlayer
:
function
(){
this
.
addTeamMembers
.
Drawer
=!
0
},
saveTheEventSingleOption
:
function
(){
this
.
formValidate
=
g
(
g
({},
this
.
formValidate
),
this
.
selectTheNumberMedian
),
"
A类
"
!==
this
.
formValidate
.
competition_type_name
&&
(
this
.
formValidate
.
class_hour
=
""
),
this
.
selectionOfEvents
=!
1
},
addAddressManually
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
selectionOfEvents
=!
0
,
this
.
contestItem
.
loading
=!
0
,
e
.
next
=
4
,
new
Promise
((
function
(
e
){
c
[
"
a
"
]((
function
(){
var
a
=
{
condition
:
t
.
contestItem
.
condition
,
page_index
:
t
.
contestItem
.
pageIndex
,
page_size
:
t
.
contestItem
.
pageSize
};
d
[
"
E
"
](
a
).
then
((
function
(
a
){
t
.
contestItem
.
total
=
a
.
response
.
data_count
,
t
.
dataCompetitionItem
=
a
.
response
.
data
,
e
()}))}))}));
case
4
:
this
.
contestItem
.
loading
=!
1
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
tableRadio
:
function
(
e
){
this
.
selectTheNumberMedian
=
e
},
contestItemhandleChangePage
:
function
(
e
){
this
.
contestItem
.
pageIndex
=
e
,
this
.
addAddressManually
()},
contestItemhandleChangePageSize
:
function
(
e
){
this
.
contestItem
.
pageSize
=
e
,
this
.
addAddressManually
()},
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
t
(
a
){
var
i
,
n
,
l
;
return
r
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
i
=
u
.
a
.
cloneDeep
(
e
.
formValidate
),
n
=
i
.
files_list
,
delete
i
.
files_list
,
l
=
{
changecommitid
:
a
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
,
competition_sign
:
i
,
files_list
:
n
},
t
.
next
=
6
,
c
[
"
c
"
](
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
l
"
](
l
);
case
2
:
return
e
.
abrupt
(
"
return
"
,
e
.
sent
);
case
3
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
6
:
e
.
FlowInit
();
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
t
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
n
"
]({
flowid
:
this
.
flowid
});
case
2
:
t
=
e
.
sent
,
e
.
t0
=
t
.
response
.
changecommitid
,
e
.
next
=
null
===
e
.
t0
?
6
:
7
;
break
;
case
6
:
return
e
.
abrupt
(
"
break
"
,
19
);
case
7
:
return
this
.
signid
=
t
.
response
.
competition_sign
.
competitionsignid
,
t
.
response
.
competition_sign
.
level
=
Number
(
t
.
response
.
competition_sign
.
level
),
t
.
response
.
competition_sign
.
race_level
=
Number
(
t
.
response
.
competition_sign
.
race_level
),
this
.
formValidate
=
t
.
response
.
competition_sign
,
this
.
formValidate
.
competitionTimeRange
=
[
t
.
response
.
competition_sign
.
begin_time
?
t
.
response
.
competition_sign
.
begin_time
.
split
(
"
00:00
"
)[
0
]:
""
,
t
.
response
.
competition_sign
.
end_time
?
t
.
response
.
competition_sign
.
end_time
.
split
(
"
00:00
"
)[
0
]:
""
],
this
.
formValidate
.
files_list
=
t
.
response
.
files_list
,
this
.
preparationPlan
=
t
.
response
.
files_list
,
this
.
changecommitid
=
t
.
response
.
changecommitid
,
this
.
flowid
=
t
.
response
.
flowid
,
this
.
module_id
=
t
.
response
.
module_id
,
this
.
module
=
t
.
response
.
module
,
e
.
abrupt
(
"
break
"
,
19
);
case
19
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
clearableTime
:
function
(
e
){
this
.
formValidate
.
competitionTimeRange
=
[]},
trainingTime
:
function
(
e
){
this
.
formValidate
.
competitionTimeRange
=
e
,
this
.
formValidate
.
begin_time
=
h
()(
e
[
0
]).
format
(
"
YYYY-MM-DD
"
),
this
.
formValidate
.
end_time
=
h
()(
e
[
1
]).
format
(
"
YYYY-MM-DD
"
)},
competitionSelectName
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(
t
){
var
a
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
Tb
"
]({
id
:
t
});
case
2
:
a
=
e
.
sent
,
this
.
formValidate
.
sponsor
=
a
.
response
.
sponsor
,
this
.
formValidate
.
level
=
Number
(
a
.
response
.
level
),
this
.
formValidate
.
file_name
=
a
.
response
.
file_name
,
this
.
formValidate
.
competitionreportid
=
a
.
response
.
competitionreportid
,
this
.
competitionnameValue
=
a
.
response
.
competitionname
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
files_list
.
map
((
function
(
a
,
i
){
a
.
id
===
e
.
id
&&
t
.
formValidate
.
files_list
.
splice
(
i
,
1
)})),
this
.
preparationPlan
.
map
((
function
(
a
,
i
){
a
.
id
===
e
.
id
&&
t
.
preparationPlan
.
splice
(
i
,
1
)})),
this
.
fileKey
++
},
onError
:
function
(
e
,
t
,
a
){},
onsuccess
:
function
(
e
,
t
,
a
){
console
.
log
(
"
🚀🚀🚀,onsuccess
"
,
e
,
t
,
a
)},
onFormatError
:
function
(
e
,
t
,
a
){
this
.
$Message
.
info
(
"
文件类型错误!
"
),
console
.
log
(
"
🚀🚀🚀,onFormatError
"
,
e
,
t
,
a
)},
competitionBeforeUpload
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(
t
){
var
a
,
i
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
a
=
new
FormData
,
a
.
append
(
"
file
"
,
t
),
e
.
next
=
5
,
d
[
"
tc
"
](
"
TrainPlan
"
,
a
);
case
5
:
return
i
=
e
.
sent
,
this
.
formValidate
.
files_list
.
push
(
i
.
response
),
c
[
"
e
"
](
i
),
this
.
fileKey
++
,
e
.
abrupt
(
"
return
"
,
!
1
);
case
10
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
trainBeforeUpload
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(
t
){
var
a
,
i
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
a
=
new
FormData
,
a
.
append
(
"
file
"
,
t
),
e
.
next
=
5
,
d
[
"
tc
"
](
"
Project
"
,
a
);
case
5
:
return
i
=
e
.
sent
,
this
.
preparationPlan
.
push
(
i
.
response
),
this
.
formValidate
.
files_list
.
push
(
i
.
response
),
c
[
"
e
"
](
i
),
this
.
fileKey
++
,
e
.
abrupt
(
"
return
"
,
!
1
);
case
11
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
[
"
formValidate
"
].
validate
(
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
t
(
a
){
return
r
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
a
&&
(
e
.
preparationPlan
.
length
?(
clearTimeout
(
e
.
timer
),
e
.
timer
=
setTimeout
(
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
t
(){
var
a
,
i
;
return
r
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
.
formValidate
.
flowid
=
e
.
flowid
,
a
=
u
.
a
.
cloneDeep
(
e
.
formValidate
),
t
.
next
=
4
,
d
[
"
u
"
](
a
);
case
4
:
i
=
t
.
sent
,
c
[
"
e
"
](
i
),
setTimeout
((
function
(){
e
.
$router
.
back
()}),
1500
);
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))),
1
e3
)):
e
.
$Message
.
error
(
"
未上传培训方案,请上传培训方案
"
));
case
1
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}())},
handleReset
:
function
(){
this
.
formValidate
=
{}},
getCompetiotionName
:
function
(){
var
e
=
Object
(
s
[
"
a
"
])(
r
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
r
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
d
[
"
hb
"
]();
case
2
:
return
t
=
e
.
sent
,
this
.
competitionNameArray
=
t
.
response
,
e
.
next
=
6
,
d
[
"
mb
"
]();
case
6
:
a
=
e
.
sent
,
this
.
signPeople
=
a
.
response
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}()},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
v
=
y
,
b
=
(
a
(
"
dddf
"
),
a
(
"
5e96
"
),
a
(
"
2877
"
)),
S
=
Object
(
b
[
"
a
"
])(
v
,
i
,
n
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
S
.
exports
},
d6c7
:
function
(
e
,
t
,
a
){},
dddf
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
(
"
0096
"
)}}]);
\ No newline at end of file
dist/js/chunk-7367a265.79eaa767.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-7367a265
"
],{
"
0937
"
:
function
(
t
,
e
,
n
){},
"
0e59
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
(
"
0937
"
)},
"
3b49
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
r
(
e
);
var
a
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
container
"
},[
n
(
"
div
"
,{
staticClass
:
"
header
"
},[
n
(
"
h1
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
t
.
_v
(
"
竞赛公告详细
"
)]),
n
(
"
div
"
,{
staticStyle
:{
"
margin-left
"
:
"
20px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Notification
"
,{
attrs
:{
count
:
t
.
data
.
length
,
"
scroll-to-load
"
:
!
0
,
"
show-clear
"
:
!
1
,
"
clear-close
"
:
!
0
,
locale
:
t
.
loading
},
on
:{
"
on-load-more
"
:
t
.
handleLoadMore
,
"
on-clear
"
:
t
.
handleClear
}},[
n
(
"
NotificationTab
"
,{
attrs
:{
title
:
"
需阅读用户列表
"
,
name
:
"
message
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
clear
"
,
fn
:
function
(){
return
[
t
.
_v
(
"
\n
关闭
\n
"
)]},
proxy
:
!
0
}])},
t
.
_l
(
t
.
data
.
publicList
,(
function
(
t
,
e
){
return
n
(
"
NotificationItem
"
,{
key
:
e
,
attrs
:{
title
:
t
.
public_name
,
content
:[
"
未读
"
,
"
已读
"
][
t
.
is_read
],
read
:
t
.
is_read
,
tag
:
"
Team
"
===
t
.
public_type
?
"
团队
"
:
"
UserInfo
"
===
t
.
public_type
?
"
个人
"
:
"
公告用户组
"
}})})),
1
)],
1
),
t
.
_v
(
"
\n
(阅读列表)
\n\n
"
)],
1
)]),
n
(
"
div
"
,{
staticClass
:
"
content
"
},[
n
(
"
Card
"
,{
staticStyle
:{
width
:
"
50%
"
,
"
margin-top
"
:
"
20px
"
,
"
border-radius
"
:
"
20px
"
,
"
box-sizing
"
:
"
border-box
"
}},[
n
(
"
div
"
,{
staticClass
:
"
tableList
"
},[
n
(
"
table
"
,{
staticClass
:
"
container1
"
,
attrs
:{
border
:
"
1
"
}},[
t
.
_l
(
t
.
data
.
keyValueArray
,(
function
(
e
,
a
){
return
n
(
"
tr
"
,{
key
:
a
},[
"
is_top
"
===
e
[
0
]?
n
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
is_top
"
===
e
[
0
]?
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
"
否
"
,
"
是
"
][
e
[
1
]]))]):
t
.
_e
(),
"
is_public
"
===
e
[
0
]?
n
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
is_public
"
===
e
[
0
]?
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
([
"
否
"
,
"
是
"
][
e
[
1
]]))]):
t
.
_e
(),
"
content
"
===
e
[
0
]?
n
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
])
+
"
\n
"
)]):
t
.
_e
(),
"
content
"
===
e
[
0
]?
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
n
(
"
spin
"
,{
staticStyle
:{
"
max-height
"
:
"
500px
"
,
"
overflow-y
"
:
"
auto
"
},
domProps
:{
innerHTML
:
t
.
_s
(
e
[
1
])}})],
1
):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
n
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
]))]):
t
.
_e
(),
"
approval_state
"
===
e
[
0
]?
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
未审批
"
,
"
审批中
"
,
"
审批通过
"
,
"
审批不通过
"
][
e
[
1
]])
+
"
\n
"
)]):
t
.
_e
(),
"
content
"
!==
e
[
0
]
&&
"
race_level
"
!==
e
[
0
]
&&
"
is_top
"
!==
e
[
0
]
&&
"
is_public
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
n
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
t
.
_v
(
t
.
_s
(
e
[
2
])
+
"
\n
"
)]):
t
.
_e
(),
"
content
"
!==
e
[
0
]
&&
"
race_level
"
!==
e
[
0
]
&&
"
is_top
"
!==
e
[
0
]
&&
"
is_public
"
!==
e
[
0
]
&&
"
way
"
!==
e
[
0
]
&&
"
approval_state
"
!==
e
[
0
]?
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
t
.
_v
(
t
.
_s
(
e
[
1
])
+
"
\n
"
)]):
t
.
_e
()])})),
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
附件:
"
)]),
n
(
"
td
"
,{
staticClass
:
"
colContent
"
},
t
.
_l
(
t
.
data
.
fileList
,(
function
(
e
,
a
){
return
n
(
"
a
"
,{
key
:
a
,
staticClass
:
"
aText
"
,
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
},
attrs
:{
href
:
e
.
path
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
file_name
)
+
"
\n
"
)])})),
0
)])],
2
)])])],
1
)])},
i
=
[],
s
=
(
n
(
"
ac6a
"
),
n
(
"
ffc1
"
),
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
o
=
n
(
"
967e
"
),
c
=
n
.
n
(
o
),
r
=
n
(
"
7f6b
"
),
l
=
n
(
"
61be
"
),
u
=
{
components
:{},
data
:
function
(){
return
{
init
:{
noticeid
:
""
,
is_readTrue
:
0
,
is_readFalse
:
0
},
data
:{
Object
:{}}}},
computed
:{},
watch
:{},
methods
:{
handleLoadMore
:
function
(){},
handleClear
:
function
(
t
){
console
.
log
(
"
🚀🚀🚀,
"
,
t
)},
getNoticeInfo
:
function
(){
var
t
=
Object
(
s
[
"
a
"
])(
c
.
a
.
mark
((
function
t
(){
var
e
,
n
,
a
=
this
;
return
c
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
e
=
function
(
t
){
1
!==
t
.
code
&&
(
a
.
$Spin
.
hide
(),
a
.
$Message
.
error
(
"
无数据
"
))},
this
.
init
.
noticeid
=
this
.
$route
.
query
.
id
,
t
.
next
=
5
,
r
[
"
X
"
]({
id
:
this
.
$route
.
query
.
id
});
case
5
:
n
=
t
.
sent
,
this
.
data
=
n
.
response
,
this
.
data
.
length
=
n
.
response
.
publicList
.
length
,
e
(
n
),
this
.
data
.
Object
=
n
.
response
,
delete
n
.
response
.
noticeInfo
.
noticeid
,
delete
n
.
response
.
noticeInfo
.
typeid
,
delete
n
.
response
.
noticeInfo
.
createtime
,
delete
n
.
response
.
noticeInfo
.
competitionreportid
,
this
.
data
.
keyValueArray
=
Object
.
entries
(
n
.
response
.
noticeInfo
),
this
.
data
.
keyValueArray
.
map
((
function
(
t
,
e
){
var
n
=
[
"
公告标题
"
,
"
公告类型
"
,
"
发布时间
"
,
"
发布用户
"
,
"
是否置顶
"
,
"
是否发布
"
,
"
审批状态
"
,
"
修改人
"
,
"
修改时间
"
,
"
公告内容
"
];
t
.
push
(
n
[
e
])})),
l
[
"
e
"
](
n
);
case
17
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
getNoticeInfo
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
d
=
u
,
p
=
(
n
(
"
0e59
"
),
n
(
"
2877
"
)),
f
=
Object
(
p
[
"
a
"
])(
d
,
a
,
i
,
!
1
,
null
,
"
55ed4c5e
"
,
null
);
e
[
"
default
"
]
=
f
.
exports
},
"
504c
"
:
function
(
t
,
e
,
n
){
var
a
=
n
(
"
9e1e
"
),
i
=
n
(
"
0d58
"
),
s
=
n
(
"
6821
"
),
o
=
n
(
"
52a7
"
).
f
;
t
.
exports
=
function
(
t
){
return
function
(
e
){
var
n
,
c
=
s
(
e
),
r
=
i
(
c
),
l
=
r
.
length
,
u
=
0
,
d
=
[];
while
(
l
>
u
)
n
=
r
[
u
++
],
a
&&!
o
.
call
(
c
,
n
)
||
d
.
push
(
t
?[
n
,
c
[
n
]]:
c
[
n
]);
return
d
}}},
ffc1
:
function
(
t
,
e
,
n
){
var
a
=
n
(
"
5ca1
"
),
i
=
n
(
"
504c
"
)(
!
0
);
a
(
a
.
S
,
"
Object
"
,{
entries
:
function
(
t
){
return
i
(
t
)}})}}]);
\ No newline at end of file
dist/js/chunk-7a73a158.a5058ff2.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-7a73a158
"
],{
"
02bd
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
r
(
e
);
var
a
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
Card
"
,[
n
(
"
Menu
"
,{
attrs
:{
mode
:
"
horizontal
"
,
theme
:
"
light
"
,
"
active-name
"
:
"
1
"
},
on
:{
"
on-select
"
:
t
.
aaa
}},[
n
(
"
MenuItem
"
,{
attrs
:{
name
:
"
1
"
}},[
n
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-people
"
}}),
t
.
_v
(
"
\n
赛事目录维护
\n
"
)],
1
),
t
.
getUserRole
()?
n
(
"
MenuItem
"
,{
attrs
:{
name
:
"
2
"
}},[
n
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-paper
"
}}),
t
.
_v
(
"
\n
批次管理
\n
"
)],
1
):
t
.
_e
()],
1
),
n
(
"
br
"
),
1
===
t
.
componentState
?
n
(
"
eventMatalogMaintenance
"
,{
tag
:
"
component
"
}):
t
.
_e
(),
2
===
t
.
componentState
?
n
(
"
batchManagement
"
,{
tag
:
"
component
"
}):
t
.
_e
(),
n
(
"
keep-alive
"
)],
1
)},
i
=
[],
r
=
(
n
(
"
c5f6
"
),
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
ButtonGroup
"
,{
attrs
:{
shape
:
"
circle
"
}},[
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
on
:{
click
:
t
.
addEvent
}},[
t
.
_v
(
"
\n
添加赛事
\n
"
)]):
t
.
_e
(),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
on
:{
click
:
function
(
e
){
t
.
modal
.
addeventLevel
=!
0
}}},[
t
.
_v
(
"
添加赛事级别
\n
"
)]):
t
.
_e
(),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventCategory
=!
0
}}},[
t
.
_v
(
"
添加赛事类别
"
)]):
t
.
_e
(),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
on
:{
click
:
function
(
e
){
t
.
modal
.
ImportModal
=!
0
}}},[
t
.
_v
(
"
导入数据
"
)]):
t
.
_e
(),
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
on
:{
click
:
t
.
ReportExportToExcel
}},[
t
.
_v
(
"
导出数据
"
)]),
t
.
getUserRole
()?
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
attrs
:{
loading
:
t
.
Bloading
},
on
:{
click
:
t
.
GetReportImportTemplate
}},[
t
.
_v
(
"
下载模板
\n
"
)]):
t
.
_e
()],
1
)]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Input
"
,{
staticStyle
:{
"
margin-right
"
:
"
1vw
"
,
width
:
"
15vw
"
},
attrs
:{
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
t
.
formValidate
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
name
"
,
e
)},
expression
:
"
formValidate.name
"
}}),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
search
}},[
t
.
_v
(
"
查找
"
)])],
1
)]},
proxy
:
!
0
}])},[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
dept
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Tooltip
"
,{
attrs
:{
placement
:
"
right-end
"
,
transfer
:
!
1
,
"
max-width
"
:
500
},
scopedSlots
:
t
.
_u
([{
key
:
"
content
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,[
t
.
_v
(
"
"
+
t
.
_s
(
a
.
dept
))])]},
proxy
:
!
0
}],
null
,
!
0
)},[
a
.
dept
?
n
(
"
Ellipsis
"
,{
attrs
:{
text
:
a
.
dept
,
length
:
18
}}):
t
.
_e
()],
1
)]}},{
key
:
"
way
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
a
.
way
]}},[
n
(
"
span
"
,{
staticStyle
:{
color
:
"
white
"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
([
"
团队
"
,
"
个人
"
][
a
.
way
])
+
"
\n
"
)])])]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
t
.
getUserRole
()?
n
(
"
a
"
,{
on
:{
click
:
function
(
e
){
t
.
eventTitle
=
"
编辑赛事
"
,
t
.
importFile
(
a
)}}},[
t
.
_v
(
"
编辑
"
)]):
t
.
_e
(),
n
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
a
)},
"
on-cancel
"
:
t
.
cancel
}},[
t
.
getUserRole
()?
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)]):
t
.
_e
()])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
width
:
60
,
title
:
t
.
eventTitle
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventsModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate
"
)}}},[
t
.
_v
(
"
确定
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
.
addEventsModal
,
callback
:
function
(
e
){
t
.
$set
(
t
.
modal
,
"
addEventsModal
"
,
e
)},
expression
:
"
modal.addEventsModal
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
model
:{
value
:
t
.
formValidate
.
competitionbatch_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionbatch_id
"
,
e
)},
expression
:
"
formValidate.competitionbatch_id
"
}},
t
.
_l
(
t
.
batchList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入赛事编码
"
},
model
:{
value
:
t
.
formValidate
.
report_code
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
report_code
"
,
e
)},
expression
:
"
formValidate.report_code
"
}})],
1
)],
1
)],
1
),
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入赛事名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionname
"
,
e
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name1
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionsubitem_name
"
,
e
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
)],
1
)],
1
),
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id1
"
}},[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
multiple
:
""
},
model
:{
value
:
t
.
formValidate
.
dept_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
dept_id
"
,
e
)},
expression
:
"
formValidate.dept_id
"
}},
t
.
_l
(
t
.
deptList
,(
function
(
e
,
a
){
return
n
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])})),
1
)],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入主办单位
"
},
model
:{
value
:
t
.
formValidate
.
sponsor
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
sponsor
"
,
e
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
)],
1
),
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id1
"
}},[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
model
:{
value
:
t
.
formValidate
.
competition_level_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competition_level_id
"
,
e
)},
expression
:
"
formValidate.competition_level_id
"
}},
t
.
_l
(
t
.
levelList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
n
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
model
:{
value
:
t
.
formValidate
.
competition_type_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competition_type_id
"
,
e
)},
expression
:
"
formValidate.competition_type_id
"
}},
t
.
_l
(
t
.
classList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
t
.
_s
(
e
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
)],
1
),
n
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
n
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入相关专业
"
},
model
:{
value
:
t
.
formValidate
.
specialty
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
specialty
"
,
e
)},
expression
:
"
formValidate.specialty
"
}})],
1
)],
1
)],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事级别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addeventLevel
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate1
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
t
.
f1EditState
=!
0
,
t
.
handleSubmit
(
"
formValidate1
"
)}}},[
t
.
_v
(
"
新增
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
.
addeventLevel
,
callback
:
function
(
e
){
t
.
$set
(
t
.
modal
,
"
addeventLevel
"
,
e
)},
expression
:
"
modal.addeventLevel
"
}},[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
30%
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
,
padding
:
"
0 0 2vw 0
"
,
"
border-bottom
"
:
"
0.2vw #E6E6E6 solid
"
,
"
margin-bottom
"
:
"
1vw
"
}},
t
.
_l
(
t
.
competitionLevel
,(
function
(
e
,
a
){
return
n
(
"
div
"
,{
key
:
a
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
n
){
return
t
.
formValidate1Edit
(
e
)}}},[
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitionlevel_name
))]),
n
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
n
){
return
t
.
delLevel
(
e
)}}},[
n
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
n
(
"
Form
"
,{
ref
:
"
formValidate1
"
,
attrs
:{
model
:
t
.
formValidate1
,
rules
:
t
.
ruleValidate1
,
"
label-width
"
:
110
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
级别名称
"
,
prop
:
"
competitionlevel_name
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate1
.
competitionlevel_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
competitionlevel_name
"
,
e
)},
expression
:
"
formValidate1.competitionlevel_name
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark1
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate1
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
remark
"
,
e
)},
expression
:
"
formValidate1.remark
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
n
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate1
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate1
,
"
status
"
,
e
)},
expression
:
"
formValidate1.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
a
){
return
n
(
"
Radio
"
,{
key
:
a
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
width
:
40
,
title
:
"
赛事类别管理
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
100%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
addEventCategory
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate2
"
)}}},[
t
.
_v
(
"
修改
\n
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
t
.
f1EditState
=!
0
,
t
.
handleSubmit
(
"
formValidate2
"
)}}},[
t
.
_v
(
"
新增
\n
"
)])],
1
)]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
.
addEventCategory
,
callback
:
function
(
e
){
t
.
$set
(
t
.
modal
,
"
addEventCategory
"
,
e
)},
expression
:
"
modal.addEventCategory
"
}},[
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
30%
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
space-between
"
,
"
flex-wrap
"
:
"
wrap
"
,
padding
:
"
0 0 2vw 0
"
,
"
border-bottom
"
:
"
0.2vw #E6E6E6 solid
"
,
"
margin-bottom
"
:
"
1vw
"
}},
t
.
_l
(
t
.
competitionClass
,(
function
(
e
,
a
){
return
n
(
"
div
"
,{
key
:
a
,
staticStyle
:{
width
:
"
33%
"
,
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
,
"
margin-bottom
"
:
"
1vw
"
},
on
:{
click
:
function
(
n
){
return
t
.
formValidate2Edit
(
e
)}}},[
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
},[
t
.
_v
(
t
.
_s
(
e
.
competitiontype_name
)
+
"
\n\n
"
)]),
n
(
"
div
"
,{
staticClass
:
"
competitionClassIcon
"
,
on
:{
click
:
function
(
n
){
return
t
.
delClass
(
e
)}}},[
n
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-close-circle
"
}})],
1
)],
1
)})),
0
),
n
(
"
Form
"
,{
ref
:
"
formValidate2
"
,
attrs
:{
model
:
t
.
formValidate2
,
rules
:
t
.
ruleValidate2
,
"
label-width
"
:
110
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
类别名称
"
,
prop
:
"
competitiontype_name
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入类别名称
"
},
model
:{
value
:
t
.
formValidate2
.
competitiontype_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
competitiontype_name
"
,
e
)},
expression
:
"
formValidate2.competitiontype_name
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
描述
"
,
prop
:
"
remark
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入描述
"
},
model
:{
value
:
t
.
formValidate2
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
remark
"
,
e
)},
expression
:
"
formValidate2.remark
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否禁用
"
,
prop
:
"
status
"
}},[
n
(
"
RadioGroup
"
,{
model
:{
value
:
t
.
formValidate2
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate2
,
"
status
"
,
e
)},
expression
:
"
formValidate2.status
"
}},
t
.
_l
(
t
.
isItDisabled
,(
function
(
e
,
a
){
return
n
(
"
Radio
"
,{
key
:
a
,
attrs
:{
label
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
模板导入
"
,
width
:
"
40%
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
modal
.
ImportModal
=!
1
}}},[
t
.
_v
(
"
取消
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
modal
.
ImportModal
,
callback
:
function
(
e
){
t
.
$set
(
t
.
modal
,
"
ImportModal
"
,
e
)},
expression
:
"
modal.ImportModal
"
}},[
n
(
"
Upload
"
,{
attrs
:{
"
before-upload
"
:
t
.
dutyModelUpload
,
"
on-error
"
:
t
.
dutyModelError
,
"
on-success
"
:
t
.
dutyModelSuccess
,
"
on-format-error
"
:
t
.
dutyModelFormatError
,
format
:[
"
xlsx
"
],
multiple
:
!
1
,
type
:
"
drag
"
,
action
:
""
}},[
n
(
"
div
"
,{
staticStyle
:{
padding
:
"
120px 0
"
}},[
n
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
n
(
"
p
"
,[
t
.
_v
(
"
竞赛模板文件上传
"
)])],
1
)])],
1
)],
1
)}),
o
=
[],
s
=
(
n
(
"
8e6e
"
),
n
(
"
ac6a
"
),
n
(
"
456d
"
),
n
(
"
7f7f
"
),
n
(
"
ade3
"
)),
c
=
(
n
(
"
28a5
"
),
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
l
=
n
(
"
967e
"
),
d
=
n
.
n
(
l
),
u
=
(
n
(
"
a78e
"
),
n
(
"
7f6b
"
)),
p
=
n
(
"
61be
"
);
n
(
"
e0d3
"
);
function
f
(
t
,
e
){
var
n
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
a
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
a
=
a
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
n
.
push
.
apply
(
n
,
a
)}
return
n
}
function
m
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
n
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
f
(
Object
(
n
),
!
0
).
forEach
((
function
(
e
){
Object
(
s
[
"
a
"
])(
t
,
e
,
n
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
n
)):
f
(
Object
(
n
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
n
,
e
))}))}
return
t
}
var
h
=
{
components
:{},
data
:
function
(){
return
{
Bloading
:
!
1
,
eventTitle
:
""
,
loading
:
!
1
,
f1EditState
:
!
1
,
batchList
:[],
classList
:[],
levelList
:[],
competitionLevel
:[],
competitionClass
:[],
isItDisabled
:[{
value
:
1
,
label
:
"
是
"
},{
value
:
0
,
label
:
"
否
"
}],
wayList
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}],
formValidate2
:{
competitiontype_name
:
""
,
remark
:
""
,
status
:
""
},
formValidate1
:{
competitionlevel_name
:
""
,
remark
:
""
,
status
:
""
},
formValidate
:{
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
:
"
blur
"
}],
remark
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
blur
"
}],
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_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
:{
columns
:[],
tableData
:[],
page_index
:
1
,
page_size
:
10
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
columns
:[{
title
:
"
赛项编码
"
,
key
:
"
report_code
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
教学单位
"
,
slot
:
"
dept
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛项名称
"
,
key
:
"
competitionsubitem_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
主办单位
"
,
key
:
"
sponsor
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事级别
"
,
key
:
"
competition_level_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事类型
"
,
key
:
"
competition_type_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
相关专业
"
,
key
:
"
specialty
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
130
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
data
:[],
theme
:
"
light
"
,
deptList
:[]}},
computed
:{},
watch
:{},
methods
:{
ReportExportToExcel
:
function
(){
var
t
=
this
;
p
[
"
c
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
{
name
:
t
.
formValidate
.
name1
,
level
:
""
,
way
:
""
,
approval_state
:
""
,
page_index
:
t
.
init
.
page_index
,
page_size
:
t
.
init
.
page_size
},
e
.
next
=
3
,
u
[
"
Vb
"
](
n
);
case
3
:
a
=
e
.
sent
,
window
.
location
.
href
=
a
.
response
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetReportImportTemplate
:
function
(){
var
t
=
this
;
this
.
Bloading
=
p
[
"
a
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
Bloading
=!
0
,
e
.
next
=
3
,
u
[
"
fb
"
]();
case
3
:
n
=
e
.
sent
,
window
.
location
.
href
=
n
.
response
;
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
addEvent
:
function
(){
this
.
eventTitle
=
"
添加赛事
"
,
this
.
modal
.
addEventsModal
=!
0
,
this
.
formValidate
.
competitionreportid
=
""
},
importFile
:
function
(
t
){
console
.
log
(
"
🚀🚀🚀,
"
,
t
);
var
e
=
[];
t
.
dept_id
&&
t
.
dept_id
.
split
(
"
;
"
).
map
((
function
(
t
,
n
){
""
!==
t
&&
e
.
push
(
t
)})),
this
.
formValidate
=
m
(
m
({},
t
),{},{
dept_id
:
e
}),
this
.
modal
.
addEventsModal
=!
0
},
edit
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
p
[
"
c
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
n
(){
var
a
;
return
d
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
u
[
"
Ub
"
]({
id
:
t
.
competitionreportid
});
case
2
:
return
a
=
n
.
sent
,
e
.
getCompetitionList
(),
n
.
abrupt
(
"
return
"
,
a
);
case
5
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))},
cancel
:
function
(){},
search
:
function
(){
this
.
formValidate
.
name1
=
this
.
formValidate
.
name
,
this
.
getCompetitionList
()},
getCompetitionList
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
d
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
p
[
"
a
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
t
(){
var
n
,
a
;
return
d
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
.
loading
=!
0
,
n
=
{
name
:
e
.
formValidate
.
name1
,
level
:
""
,
way
:
""
,
approval_state
:
""
,
page_index
:
e
.
init
.
page_index
,
page_size
:
e
.
init
.
page_size
},
t
.
next
=
4
,
u
[
"
gb
"
](
n
);
case
4
:
a
=
t
.
sent
,
e
.
data
=
a
.
response
.
data
,
e
.
init
.
total
=
a
.
response
.
data_count
,
e
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
1
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
GetLevelBySelect
:
function
(){
var
t
=
this
;
p
[
"
a
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
u
[
"
T
"
]();
case
2
:
n
=
e
.
sent
,
t
.
levelList
=
n
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetTypeBySelect
:
function
(){
var
t
=
this
;
p
[
"
a
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
u
[
"
xb
"
]();
case
2
:
n
=
e
.
sent
,
t
.
classList
=
n
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetBatchBySelect
:
function
(){
var
t
=
this
;
p
[
"
a
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
u
[
"
y
"
]();
case
2
:
n
=
e
.
sent
,
t
.
batchList
=
n
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
GetDeptSeletct
:
function
(){
var
t
=
this
;
p
[
"
a
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
u
[
"
F
"
]();
case
2
:
n
=
e
.
sent
,
t
.
deptList
=
n
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
formValidate1Edit
:
function
(
t
){
this
.
formValidate1
=
t
},
delLevel
:
function
(
t
){
var
e
=
this
;
Object
(
p
[
"
c
"
])((
function
(){
return
p
[
"
d
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
n
(){
var
a
;
return
d
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
u
[
"
Eb
"
]({
id
:
t
.
competitionlevelid
});
case
2
:
return
a
=
n
.
sent
,
e
.
GetLevelList
(),
n
.
abrupt
(
"
return
"
,
a
);
case
5
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))}))},
GetLevelList
:
function
(){
var
t
=
this
;
p
[
"
a
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
u
[
"
U
"
]();
case
2
:
n
=
e
.
sent
,
t
.
competitionLevel
=
n
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
delClass
:
function
(
t
){
var
e
=
this
;
Object
(
p
[
"
c
"
])((
function
(){
return
p
[
"
d
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
n
(){
var
a
;
return
d
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
u
[
"
mc
"
]({
id
:
t
.
competitiontypeid
});
case
2
:
return
a
=
n
.
sent
,
e
.
GetTypeList
(),
n
.
abrupt
(
"
return
"
,
a
);
case
5
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))}))},
formValidate2Edit
:
function
(
t
){
this
.
formValidate2
=
t
},
LevelSave
:
function
(){
var
t
=
this
;
p
[
"
c
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
f1EditState
&&
(
t
.
formValidate1
.
competitionlevelid
=
""
),
e
.
next
=
3
,
u
[
"
Fb
"
](
t
.
formValidate1
);
case
3
:
return
n
=
e
.
sent
,
t
.
GetLevelList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
n
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
TypeSave
:
function
(){
var
t
=
this
;
p
[
"
c
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
f1EditState
&&
(
t
.
formValidate2
.
competitiontypeid
=
""
),
e
.
next
=
3
,
u
[
"
nc
"
](
t
.
formValidate2
);
case
3
:
return
n
=
e
.
sent
,
t
.
GetTypeList
(),
t
.
f1EditState
=!
1
,
e
.
abrupt
(
"
return
"
,
n
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
ReportSave
:
function
(){
var
t
=
this
;
p
[
"
c
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
u
[
"
Xb
"
](
t
.
formValidate
);
case
2
:
return
n
=
e
.
sent
,
e
.
next
=
5
,
t
.
getCompetitionList
();
case
5
:
return
t
.
modal
.
addEventsModal
=!
1
,
t
.
formValidate
=
{},
e
.
abrupt
(
"
return
"
,
n
);
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
validateSwitch
:
function
(
t
){
switch
(
t
){
case
"
formValidate2
"
:
this
.
TypeSave
();
break
;
case
"
formValidate1
"
:
this
.
LevelSave
();
break
;
case
"
formValidate
"
:
this
.
ReportSave
();
break
}},
handleSubmit
:
function
(
t
){
var
e
=
this
;
this
.
$refs
[
t
].
validate
((
function
(
n
){
n
?
e
.
validateSwitch
(
t
):(
e
.
$Message
.
destroy
(),
e
.
$Message
.
error
(
"
请检查必填选项!
"
))}))},
handleReset
:
function
(
t
){
this
.
$refs
[
t
].
resetFields
()},
GetTypeList
:
function
(){
var
t
=
this
;
p
[
"
a
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
u
[
"
yb
"
]();
case
2
:
n
=
e
.
sent
,
t
.
competitionClass
=
n
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
dutyModelUpload
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
t
(
e
){
var
n
,
a
;
return
d
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
new
FormData
,
n
.
append
(
"
file
"
,
e
),
t
.
next
=
4
,
u
[
"
Wb
"
](
n
);
case
4
:
if
(
a
=
t
.
sent
,
1
===
a
.
code
){
t
.
next
=
10
;
break
}
window
.
location
.
href
=
a
.
response
,
this
.
$Message
.
error
(
a
.
msg_detail
),
t
.
next
=
13
;
break
;
case
10
:
return
t
.
next
=
12
,
this
.
getCompetitionList
();
case
12
:
this
.
modal
.
ImportModal
=!
1
;
case
13
:
return
t
.
abrupt
(
"
return
"
,
!
1
);
case
14
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
dutyModelFormatError
:
function
(
t
,
e
){
this
.
$Message
.
error
(
"
文件格式错误!
"
)},
dutyModelSuccess
:
function
(
t
,
e
,
n
){
this
.
$Message
.
info
(
t
.
msg
)},
dutyModelError
:
function
(
t
,
e
,
n
){},
handleChangePage
:
function
(
t
){
this
.
init
.
page_index
=
t
,
this
.
getCompetitionList
()},
handleChangePageSize
:
function
(
t
){
this
.
init
.
page_size
=
t
,
this
.
getCompetitionList
()}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
getCompetitionList
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetBatchBySelect
(),
this
.
GetDeptSeletct
(),
this
.
GetLevelList
(),
this
.
GetTypeList
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
v
=
h
,
g
=
(
n
(
"
326b
"
),
n
(
"
2877
"
)),
y
=
Object
(
g
[
"
a
"
])(
v
,
r
,
o
,
!
1
,
null
,
"
17c35e4b
"
,
null
),
b
=
y
.
exports
,
_
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
scopedSlots
:
t
.
_u
([{
key
:
"
extra
"
,
fn
:
function
(){
return
[
n
(
"
ButtonGroup
"
,{
attrs
:{
shape
:
"
circle
"
}},[
n
(
"
Button
"
,{
staticClass
:
"
buttonFocus
"
,
on
:{
click
:
function
(
e
){
t
.
batchModal
=!
0
,
t
.
formValidate
=
{}}}},[
t
.
_v
(
"
添加赛事批次
"
)])],
1
)]},
proxy
:
!
0
}])},[
n
(
"
br
"
),
n
(
"
br
"
),
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
bed_time
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
a
.
bed_time
?
n
(
"
span
"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
a
.
bed_time
.
split
(
"
00:00
"
)[
0
]
+
"
~
"
+
a
.
end_time
.
split
(
"
00:00
"
)[
0
])
+
"
\n
"
)]):
t
.
_e
()]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
edit
(
a
)}}},[
t
.
_v
(
"
编辑
"
)]),
n
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
delCompetition
(
a
)},
"
on-cancel
"
:
t
.
cancel
}},[
n
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
t
.
_v
(
"
删除
"
)])])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
total
:
t
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
t
.
init
.
page_size
},
on
:{
"
on-change
"
:
t
.
handleChangePage
,
"
on-page-size-change
"
:
t
.
handleChangePageSize
},
model
:{
value
:
t
.
init
.
page_index
,
callback
:
function
(
e
){
t
.
$set
(
t
.
init
,
"
page_index
"
,
e
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
),
n
(
"
Modal
"
,{
attrs
:{
width
:
50
,
title
:
"
添加赛事学年
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
e
){
t
.
batchModal
=!
1
}}},[
t
.
_v
(
"
关闭
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
return
t
.
handleSubmit
(
"
formValidate
"
)}}},[
t
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
batchModal
,
callback
:
function
(
e
){
t
.
batchModal
=
e
},
expression
:
"
batchModal
"
}},[
n
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
t
.
formValidate
,
rules
:
t
.
ruleValidate
,
"
label-width
"
:
110
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_name
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
t
.
formValidate
.
competitionbatch_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
competitionbatch_name
"
,
e
)},
expression
:
"
formValidate.competitionbatch_name
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛起止时间
"
,
prop
:
"
dateRange
"
}},[
n
(
"
DatePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
type
:
"
daterange
"
,
placement
:
"
bottom-end
"
,
placeholder
:
"
请选择竞赛起止时间
"
},
on
:{
"
on-change
"
:
t
.
obtainingAcademicYearTime
},
model
:{
value
:
t
.
formValidate
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
dateRange
"
,
e
)},
expression
:
"
formValidate.dateRange
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
备注
"
,
prop
:
"
remark
"
}},[
n
(
"
Input
"
,{
attrs
:{
type
:
"
textarea
"
,
autosize
:{
minRows
:
5
,
maxRows
:
5
},
placeholder
:
"
请输入备注
"
},
model
:{
value
:
t
.
formValidate
.
remark
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formValidate
,
"
remark
"
,
e
)},
expression
:
"
formValidate.remark
"
}})],
1
)],
1
)],
1
)],
1
)},
w
=
[];
function
x
(
t
,
e
){
var
n
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
a
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
a
=
a
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
n
.
push
.
apply
(
n
,
a
)}
return
n
}
function
k
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
n
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
x
(
Object
(
n
),
!
0
).
forEach
((
function
(
e
){
Object
(
s
[
"
a
"
])(
t
,
e
,
n
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
n
)):
x
(
Object
(
n
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
n
,
e
))}))}
return
t
}
var
S
=
{
components
:{},
data
:
function
(){
return
{
loading
:
!
1
,
batchModal
:
!
1
,
formValidate
:{
competitionbatch_name
:
""
,
dateRange
:
""
,
remark
:
""
,
bed_time
:
""
,
end_time
:
""
},
ruleValidate
:{
competitionbatch_name
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
blur
"
}],
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
,
total
:
0
,
title
:
""
,
start_time
:
""
,
end_time
:
""
,
public_type
:
""
,
approval_state
:
""
,
is_public
:
""
},
columns
:[{
title
:
"
学年
"
,
key
:
"
competitionbatch_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
竞赛起止时间
"
,
slot
:
"
bed_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
备注
"
,
key
:
"
remark
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
120
,
show
:
!
0
,
slot
:
"
action
"
}],
data
:[],
theme
:
"
light
"
}},
computed
:{},
watch
:{},
methods
:{
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
=
k
(
k
({},
t
),{},{
dateRange
:
e
})},
cancel
:
function
(){},
delCompetition
:
function
(
t
){
var
e
=
this
;
Object
(
p
[
"
c
"
])(
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
n
(){
var
a
;
return
d
.
a
.
wrap
((
function
(
n
){
while
(
1
)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
u
[
"
a
"
]({
id
:
t
.
competitionbatchid
});
case
2
:
return
a
=
n
.
sent
,
e
.
GetBatchList
(),
n
.
abrupt
(
"
return
"
,
a
);
case
5
:
case
"
end
"
:
return
n
.
stop
()}}),
n
)}))))},
obtainingAcademicYearTime
:
function
(
t
){
this
.
formValidate
.
bed_time
=
t
[
0
],
this
.
formValidate
.
end_time
=
t
[
1
],
console
.
log
(
"
🚀🚀🚀,
"
,
t
)},
importOk
:
function
(){},
saveBatch
:
function
(){
var
t
=
this
;
p
[
"
c
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
console
.
log
(
"
🚀🚀formValidate🚀,
"
,
t
.
formValidate
),
n
=
t
.
formValidate
,
e
.
next
=
4
,
u
[
"
b
"
](
n
);
case
4
:
return
a
=
e
.
sent
,
t
.
GetBatchList
(),
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
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
;
p
[
"
a
"
](
Object
(
c
[
"
a
"
])(
d
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
d
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
loading
=!
0
,
n
=
{
page_index
:
t
.
init
.
page_index
,
page_size
:
t
.
init
.
page_size
},
e
.
next
=
4
,
u
[
"
z
"
](
n
);
case
4
:
a
=
e
.
sent
,
t
.
data
=
a
.
response
.
data
,
t
.
init
.
total
=
a
.
response
.
data_count
,
t
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
GetBatchList
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
V
=
S
,
O
=
(
n
(
"
d142
"
),
Object
(
g
[
"
a
"
])(
V
,
_
,
w
,
!
1
,
null
,
"
40f46c4e
"
,
null
)),
I
=
O
.
exports
,
j
=
{
components
:{
eventMatalogMaintenance
:
b
,
batchManagement
:
I
},
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
(){}},
C
=
j
,
E
=
Object
(
g
[
"
a
"
])(
C
,
a
,
i
,
!
1
,
null
,
"
a074b206
"
,
null
);
e
[
"
default
"
]
=
E
.
exports
},
"
16f3
"
:
function
(
t
,
e
,
n
){},
"
22d1
"
:
function
(
t
,
e
){
var
n
=
{};
n
=
"
object
"
===
typeof
wx
&&
"
function
"
===
typeof
wx
.
getSystemInfoSync
?{
browser
:{},
os
:{},
node
:
!
1
,
wxa
:
!
0
,
canvasSupported
:
!
0
,
svgSupported
:
!
1
,
touchEventsSupported
:
!
0
,
domSupported
:
!
1
}:
"
undefined
"
===
typeof
document
&&
"
undefined
"
!==
typeof
self
?{
browser
:{},
os
:{},
node
:
!
1
,
worker
:
!
0
,
canvasSupported
:
!
0
,
domSupported
:
!
1
}:
"
undefined
"
===
typeof
navigator
?{
browser
:{},
os
:{},
node
:
!
0
,
worker
:
!
1
,
canvasSupported
:
!
0
,
svgSupported
:
!
0
,
domSupported
:
!
1
}:
i
(
navigator
.
userAgent
);
var
a
=
n
;
function
i
(
t
){
var
e
=
{},
n
=
{},
a
=
t
.
match
(
/Firefox
\/([\d
.
]
+
)
/
),
i
=
t
.
match
(
/MSIE
\s([\d
.
]
+
)
/
)
||
t
.
match
(
/Trident
\/
.+
?
rv:
(([\d
.
]
+
))
/
),
r
=
t
.
match
(
/Edge
\/([\d
.
]
+
)
/
),
o
=
/micromessenger/i
.
test
(
t
);
return
a
&&
(
n
.
firefox
=!
0
,
n
.
version
=
a
[
1
]),
i
&&
(
n
.
ie
=!
0
,
n
.
version
=
i
[
1
]),
r
&&
(
n
.
edge
=!
0
,
n
.
version
=
r
[
1
]),
o
&&
(
n
.
weChat
=!
0
),{
browser
:
n
,
os
:
e
,
node
:
!
1
,
canvasSupported
:
!!
document
.
createElement
(
"
canvas
"
).
getContext
,
svgSupported
:
"
undefined
"
!==
typeof
SVGRect
,
touchEventsSupported
:
"
ontouchstart
"
in
window
&&!
n
.
ie
&&!
n
.
edge
,
pointerEventsSupported
:
"
onpointerdown
"
in
window
&&
(
n
.
edge
||
n
.
ie
&&
n
.
version
>=
11
),
domSupported
:
"
undefined
"
!==
typeof
document
}}
t
.
exports
=
a
},
"
326b
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
(
"
16f3
"
)},
"
6d8b
"
:
function
(
t
,
e
){
var
n
=
{
"
[object Function]
"
:
1
,
"
[object RegExp]
"
:
1
,
"
[object Date]
"
:
1
,
"
[object Error]
"
:
1
,
"
[object CanvasGradient]
"
:
1
,
"
[object CanvasPattern]
"
:
1
,
"
[object Image]
"
:
1
,
"
[object Canvas]
"
:
1
},
a
=
{
"
[object Int8Array]
"
:
1
,
"
[object Uint8Array]
"
:
1
,
"
[object Uint8ClampedArray]
"
:
1
,
"
[object Int16Array]
"
:
1
,
"
[object Uint16Array]
"
:
1
,
"
[object Int32Array]
"
:
1
,
"
[object Uint32Array]
"
:
1
,
"
[object Float32Array]
"
:
1
,
"
[object Float64Array]
"
:
1
},
i
=
Object
.
prototype
.
toString
,
r
=
Array
.
prototype
,
o
=
r
.
forEach
,
s
=
r
.
filter
,
c
=
r
.
slice
,
l
=
r
.
map
,
d
=
r
.
reduce
,
u
=
{};
function
p
(
t
,
e
){
"
createCanvas
"
===
t
&&
(
y
=
null
),
u
[
t
]
=
e
}
function
f
(
t
){
if
(
null
==
t
||
"
object
"
!==
typeof
t
)
return
t
;
var
e
=
t
,
r
=
i
.
call
(
t
);
if
(
"
[object Array]
"
===
r
){
if
(
!
H
(
t
)){
e
=
[];
for
(
var
o
=
0
,
s
=
t
.
length
;
o
<
s
;
o
++
)
e
[
o
]
=
f
(
t
[
o
])}}
else
if
(
a
[
r
]){
if
(
!
H
(
t
)){
var
c
=
t
.
constructor
;
if
(
t
.
constructor
.
from
)
e
=
c
.
from
(
t
);
else
{
e
=
new
c
(
t
.
length
);
for
(
o
=
0
,
s
=
t
.
length
;
o
<
s
;
o
++
)
e
[
o
]
=
f
(
t
[
o
])}}}
else
if
(
!
n
[
r
]
&&!
H
(
t
)
&&!
A
(
t
))
for
(
var
l
in
e
=
{},
t
)
t
.
hasOwnProperty
(
l
)
&&
(
e
[
l
]
=
f
(
t
[
l
]));
return
e
}
function
m
(
t
,
e
,
n
){
if
(
!
P
(
e
)
||!
P
(
t
))
return
n
?
f
(
e
):
t
;
for
(
var
a
in
e
)
if
(
e
.
hasOwnProperty
(
a
)){
var
i
=
t
[
a
],
r
=
e
[
a
];
!
P
(
r
)
||!
P
(
i
)
||
L
(
r
)
||
L
(
i
)
||
A
(
r
)
||
A
(
i
)
||
R
(
r
)
||
R
(
i
)
||
H
(
r
)
||
H
(
i
)?
!
n
&&
a
in
t
||
(
t
[
a
]
=
f
(
e
[
a
],
!
0
)):
m
(
i
,
r
,
n
)}
return
t
}
function
h
(
t
,
e
){
for
(
var
n
=
t
[
0
],
a
=
1
,
i
=
t
.
length
;
a
<
i
;
a
++
)
n
=
m
(
n
,
t
[
a
],
e
);
return
n
}
function
v
(
t
,
e
){
for
(
var
n
in
e
)
e
.
hasOwnProperty
(
n
)
&&
(
t
[
n
]
=
e
[
n
]);
return
t
}
function
g
(
t
,
e
,
n
){
for
(
var
a
in
e
)
e
.
hasOwnProperty
(
a
)
&&
(
n
?
null
!=
e
[
a
]:
null
==
t
[
a
])
&&
(
t
[
a
]
=
e
[
a
]);
return
t
}
var
y
,
b
=
function
(){
return
u
.
createCanvas
()};
function
_
(){
return
y
||
(
y
=
b
().
getContext
(
"
2d
"
)),
y
}
function
w
(
t
,
e
){
if
(
t
){
if
(
t
.
indexOf
)
return
t
.
indexOf
(
e
);
for
(
var
n
=
0
,
a
=
t
.
length
;
n
<
a
;
n
++
)
if
(
t
[
n
]
===
e
)
return
n
}
return
-
1
}
function
x
(
t
,
e
){
var
n
=
t
.
prototype
;
function
a
(){}
for
(
var
i
in
a
.
prototype
=
e
.
prototype
,
t
.
prototype
=
new
a
,
n
)
n
.
hasOwnProperty
(
i
)
&&
(
t
.
prototype
[
i
]
=
n
[
i
]);
t
.
prototype
.
constructor
=
t
,
t
.
superClass
=
e
}
function
k
(
t
,
e
,
n
){
t
=
"
prototype
"
in
t
?
t
.
prototype
:
t
,
e
=
"
prototype
"
in
e
?
e
.
prototype
:
e
,
g
(
t
,
e
,
n
)}
function
S
(
t
){
if
(
t
)
return
"
string
"
!==
typeof
t
&&
"
number
"
===
typeof
t
.
length
}
function
V
(
t
,
e
,
n
){
if
(
t
&&
e
)
if
(
t
.
forEach
&&
t
.
forEach
===
o
)
t
.
forEach
(
e
,
n
);
else
if
(
t
.
length
===+
t
.
length
)
for
(
var
a
=
0
,
i
=
t
.
length
;
a
<
i
;
a
++
)
e
.
call
(
n
,
t
[
a
],
a
,
t
);
else
for
(
var
r
in
t
)
t
.
hasOwnProperty
(
r
)
&&
e
.
call
(
n
,
t
[
r
],
r
,
t
)}
function
O
(
t
,
e
,
n
){
if
(
t
&&
e
){
if
(
t
.
map
&&
t
.
map
===
l
)
return
t
.
map
(
e
,
n
);
for
(
var
a
=
[],
i
=
0
,
r
=
t
.
length
;
i
<
r
;
i
++
)
a
.
push
(
e
.
call
(
n
,
t
[
i
],
i
,
t
));
return
a
}}
function
I
(
t
,
e
,
n
,
a
){
if
(
t
&&
e
){
if
(
t
.
reduce
&&
t
.
reduce
===
d
)
return
t
.
reduce
(
e
,
n
,
a
);
for
(
var
i
=
0
,
r
=
t
.
length
;
i
<
r
;
i
++
)
n
=
e
.
call
(
a
,
n
,
t
[
i
],
i
,
t
);
return
n
}}
function
j
(
t
,
e
,
n
){
if
(
t
&&
e
){
if
(
t
.
filter
&&
t
.
filter
===
s
)
return
t
.
filter
(
e
,
n
);
for
(
var
a
=
[],
i
=
0
,
r
=
t
.
length
;
i
<
r
;
i
++
)
e
.
call
(
n
,
t
[
i
],
i
,
t
)
&&
a
.
push
(
t
[
i
]);
return
a
}}
function
C
(
t
,
e
,
n
){
if
(
t
&&
e
)
for
(
var
a
=
0
,
i
=
t
.
length
;
a
<
i
;
a
++
)
if
(
e
.
call
(
n
,
t
[
a
],
a
,
t
))
return
t
[
a
]}
function
E
(
t
,
e
){
var
n
=
c
.
call
(
arguments
,
2
);
return
function
(){
return
t
.
apply
(
e
,
n
.
concat
(
c
.
call
(
arguments
)))}}
function
M
(
t
){
var
e
=
c
.
call
(
arguments
,
1
);
return
function
(){
return
t
.
apply
(
this
,
e
.
concat
(
c
.
call
(
arguments
)))}}
function
L
(
t
){
return
"
[object Array]
"
===
i
.
call
(
t
)}
function
F
(
t
){
return
"
function
"
===
typeof
t
}
function
B
(
t
){
return
"
[object String]
"
===
i
.
call
(
t
)}
function
P
(
t
){
var
e
=
typeof
t
;
return
"
function
"
===
e
||!!
t
&&
"
object
"
===
e
}
function
R
(
t
){
return
!!
n
[
i
.
call
(
t
)]}
function
$
(
t
){
return
!!
a
[
i
.
call
(
t
)]}
function
A
(
t
){
return
"
object
"
===
typeof
t
&&
"
number
"
===
typeof
t
.
nodeType
&&
"
object
"
===
typeof
t
.
ownerDocument
}
function
T
(
t
){
return
t
!==
t
}
function
z
(
t
){
for
(
var
e
=
0
,
n
=
arguments
.
length
;
e
<
n
;
e
++
)
if
(
null
!=
arguments
[
e
])
return
arguments
[
e
]}
function
G
(
t
,
e
){
return
null
!=
t
?
t
:
e
}
function
D
(
t
,
e
,
n
){
return
null
!=
t
?
t
:
null
!=
e
?
e
:
n
}
function
q
(){
return
Function
.
call
.
apply
(
c
,
arguments
)}
function
U
(
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
W
(
t
,
e
){
if
(
!
t
)
throw
new
Error
(
e
)}
function
N
(
t
){
return
null
==
t
?
null
:
"
function
"
===
typeof
t
.
trim
?
t
.
trim
():
t
.
replace
(
/^
[\s\u
FEFF
\x
A0
]
+|
[\s\u
FEFF
\x
A0
]
+$/g
,
""
)}
u
.
createCanvas
=
function
(){
return
document
.
createElement
(
"
canvas
"
)};
var
J
=
"
__ec_primitive__
"
;
function
Y
(
t
){
t
[
J
]
=!
0
}
function
H
(
t
){
return
t
[
J
]}
function
X
(
t
){
var
e
=
L
(
t
);
this
.
data
=
{};
var
n
=
this
;
function
a
(
t
,
a
){
e
?
n
.
set
(
t
,
a
):
n
.
set
(
a
,
t
)}
t
instanceof
X
?
t
.
each
(
a
):
t
&&
V
(
t
,
a
)}
function
K
(
t
){
return
new
X
(
t
)}
function
Q
(
t
,
e
){
for
(
var
n
=
new
t
.
constructor
(
t
.
length
+
e
.
length
),
a
=
0
;
a
<
t
.
length
;
a
++
)
n
[
a
]
=
t
[
a
];
var
i
=
t
.
length
;
for
(
a
=
0
;
a
<
e
.
length
;
a
++
)
n
[
a
+
i
]
=
e
[
a
];
return
n
}
function
Z
(){}
X
.
prototype
=
{
constructor
:
X
,
get
:
function
(
t
){
return
this
.
data
.
hasOwnProperty
(
t
)?
this
.
data
[
t
]:
null
},
set
:
function
(
t
,
e
){
return
this
.
data
[
t
]
=
e
},
each
:
function
(
t
,
e
){
for
(
var
n
in
void
0
!==
e
&&
(
t
=
E
(
t
,
e
)),
this
.
data
)
this
.
data
.
hasOwnProperty
(
n
)
&&
t
(
this
.
data
[
n
],
n
)},
removeKey
:
function
(
t
){
delete
this
.
data
[
t
]}},
e
.
$override
=
p
,
e
.
clone
=
f
,
e
.
merge
=
m
,
e
.
mergeAll
=
h
,
e
.
extend
=
v
,
e
.
defaults
=
g
,
e
.
createCanvas
=
b
,
e
.
getContext
=
_
,
e
.
indexOf
=
w
,
e
.
inherits
=
x
,
e
.
mixin
=
k
,
e
.
isArrayLike
=
S
,
e
.
each
=
V
,
e
.
map
=
O
,
e
.
reduce
=
I
,
e
.
filter
=
j
,
e
.
find
=
C
,
e
.
bind
=
E
,
e
.
curry
=
M
,
e
.
isArray
=
L
,
e
.
isFunction
=
F
,
e
.
isString
=
B
,
e
.
isObject
=
P
,
e
.
isBuiltInObject
=
R
,
e
.
isTypedArray
=
$
,
e
.
isDom
=
A
,
e
.
eqNaN
=
T
,
e
.
retrieve
=
z
,
e
.
retrieve2
=
G
,
e
.
retrieve3
=
D
,
e
.
slice
=
q
,
e
.
normalizeCssArray
=
U
,
e
.
assert
=
W
,
e
.
trim
=
N
,
e
.
setAsPrimitive
=
Y
,
e
.
isPrimitive
=
H
,
e
.
createHashMap
=
K
,
e
.
concatArray
=
Q
,
e
.
noop
=
Z
},
d142
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
(
"
ddf4
"
)},
ddf4
:
function
(
t
,
e
,
n
){},
e0d3
:
function
(
t
,
e
,
n
){
var
a
=
n
(
"
6d8b
"
),
i
=
n
(
"
22d1
"
),
r
=
a
.
each
,
o
=
a
.
isObject
,
s
=
a
.
isArray
,
c
=
"
series
\
0
"
;
function
l
(
t
){
return
t
instanceof
Array
?
t
:
null
==
t
?[]:[
t
]}
function
d
(
t
,
e
,
n
){
if
(
t
){
t
[
e
]
=
t
[
e
]
||
{},
t
.
emphasis
=
t
.
emphasis
||
{},
t
.
emphasis
[
e
]
=
t
.
emphasis
[
e
]
||
{};
for
(
var
a
=
0
,
i
=
n
.
length
;
a
<
i
;
a
++
){
var
r
=
n
[
a
];
!
t
.
emphasis
[
e
].
hasOwnProperty
(
r
)
&&
t
[
e
].
hasOwnProperty
(
r
)
&&
(
t
.
emphasis
[
e
][
r
]
=
t
[
e
][
r
])}}}
var
u
=
[
"
fontStyle
"
,
"
fontWeight
"
,
"
fontSize
"
,
"
fontFamily
"
,
"
rich
"
,
"
tag
"
,
"
color
"
,
"
textBorderColor
"
,
"
textBorderWidth
"
,
"
width
"
,
"
height
"
,
"
lineHeight
"
,
"
align
"
,
"
verticalAlign
"
,
"
baseline
"
,
"
shadowColor
"
,
"
shadowBlur
"
,
"
shadowOffsetX
"
,
"
shadowOffsetY
"
,
"
textShadowColor
"
,
"
textShadowBlur
"
,
"
textShadowOffsetX
"
,
"
textShadowOffsetY
"
,
"
backgroundColor
"
,
"
borderColor
"
,
"
borderWidth
"
,
"
borderRadius
"
,
"
padding
"
];
function
p
(
t
){
return
!
o
(
t
)
||
s
(
t
)
||
t
instanceof
Date
?
t
:
t
.
value
}
function
f
(
t
){
return
o
(
t
)
&&!
(
t
instanceof
Array
)}
function
m
(
t
,
e
){
e
=
(
e
||
[]).
slice
();
var
n
=
a
.
map
(
t
||
[],(
function
(
t
,
e
){
return
{
exist
:
t
}}));
return
r
(
e
,(
function
(
t
,
a
){
if
(
o
(
t
)){
for
(
var
i
=
0
;
i
<
n
.
length
;
i
++
)
if
(
!
n
[
i
].
option
&&
null
!=
t
.
id
&&
n
[
i
].
exist
.
id
===
t
.
id
+
""
)
return
n
[
i
].
option
=
t
,
void
(
e
[
a
]
=
null
);
for
(
i
=
0
;
i
<
n
.
length
;
i
++
){
var
r
=
n
[
i
].
exist
;
if
(
!
n
[
i
].
option
&&
(
null
==
r
.
id
||
null
==
t
.
id
)
&&
null
!=
t
.
name
&&!
g
(
t
)
&&!
g
(
r
)
&&
r
.
name
===
t
.
name
+
""
)
return
n
[
i
].
option
=
t
,
void
(
e
[
a
]
=
null
)}}})),
r
(
e
,(
function
(
t
,
e
){
if
(
o
(
t
)){
for
(
var
a
=
0
;
a
<
n
.
length
;
a
++
){
var
i
=
n
[
a
].
exist
;
if
(
!
n
[
a
].
option
&&!
g
(
i
)
&&
null
==
t
.
id
){
n
[
a
].
option
=
t
;
break
}}
a
>=
n
.
length
&&
n
.
push
({
option
:
t
})}})),
n
}
function
h
(
t
){
var
e
=
a
.
createHashMap
();
r
(
t
,(
function
(
t
,
n
){
var
a
=
t
.
exist
;
a
&&
e
.
set
(
a
.
id
,
t
)})),
r
(
t
,(
function
(
t
,
n
){
var
i
=
t
.
option
;
a
.
assert
(
!
i
||
null
==
i
.
id
||!
e
.
get
(
i
.
id
)
||
e
.
get
(
i
.
id
)
===
t
,
"
id duplicates:
"
+
(
i
&&
i
.
id
)),
i
&&
null
!=
i
.
id
&&
e
.
set
(
i
.
id
,
t
),
!
t
.
keyInfo
&&
(
t
.
keyInfo
=
{})})),
r
(
t
,(
function
(
t
,
n
){
var
a
=
t
.
exist
,
i
=
t
.
option
,
r
=
t
.
keyInfo
;
if
(
o
(
i
)){
if
(
r
.
name
=
null
!=
i
.
name
?
i
.
name
+
""
:
a
?
a
.
name
:
c
+
n
,
a
)
r
.
id
=
a
.
id
;
else
if
(
null
!=
i
.
id
)
r
.
id
=
i
.
id
+
""
;
else
{
var
s
=
0
;
do
{
r
.
id
=
"
\
0
"
+
r
.
name
+
"
\
0
"
+
s
++
}
while
(
e
.
get
(
r
.
id
))}
e
.
set
(
r
.
id
,
t
)}}))}
function
v
(
t
){
var
e
=
t
.
name
;
return
!
(
!
e
||!
e
.
indexOf
(
c
))}
function
g
(
t
){
return
o
(
t
)
&&
t
.
id
&&
0
===
(
t
.
id
+
""
).
indexOf
(
"
\
0_ec_
\
0
"
)}
function
y
(
t
,
e
){
var
n
=
{},
a
=
{};
return
i
(
t
||
[],
n
),
i
(
e
||
[],
a
,
n
),[
r
(
n
),
r
(
a
)];
function
i
(
t
,
e
,
n
){
for
(
var
a
=
0
,
i
=
t
.
length
;
a
<
i
;
a
++
)
for
(
var
r
=
t
[
a
].
seriesId
,
o
=
l
(
t
[
a
].
dataIndex
),
s
=
n
&&
n
[
r
],
c
=
0
,
d
=
o
.
length
;
c
<
d
;
c
++
){
var
u
=
o
[
c
];
s
&&
s
[
u
]?
s
[
u
]
=
null
:(
e
[
r
]
||
(
e
[
r
]
=
{}))[
u
]
=
1
}}
function
r
(
t
,
e
){
var
n
=
[];
for
(
var
a
in
t
)
if
(
t
.
hasOwnProperty
(
a
)
&&
null
!=
t
[
a
])
if
(
e
)
n
.
push
(
+
a
);
else
{
var
i
=
r
(
t
[
a
],
!
0
);
i
.
length
&&
n
.
push
({
seriesId
:
a
,
dataIndex
:
i
})}
return
n
}}
function
b
(
t
,
e
){
return
null
!=
e
.
dataIndexInside
?
e
.
dataIndexInside
:
null
!=
e
.
dataIndex
?
a
.
isArray
(
e
.
dataIndex
)?
a
.
map
(
e
.
dataIndex
,(
function
(
e
){
return
t
.
indexOfRawIndex
(
e
)})):
t
.
indexOfRawIndex
(
e
.
dataIndex
):
null
!=
e
.
name
?
a
.
isArray
(
e
.
name
)?
a
.
map
(
e
.
name
,(
function
(
e
){
return
t
.
indexOfName
(
e
)})):
t
.
indexOfName
(
e
.
name
):
void
0
}
function
_
(){
var
t
=
"
__
\
0ec_inner_
"
+
w
+++
"
_
"
+
Math
.
random
().
toFixed
(
5
);
return
function
(
e
){
return
e
[
t
]
||
(
e
[
t
]
=
{})}}
var
w
=
0
;
function
x
(
t
,
e
,
n
){
if
(
a
.
isString
(
e
)){
var
i
=
{};
i
[
e
+
"
Index
"
]
=
0
,
e
=
i
}
var
o
=
n
&&
n
.
defaultMainType
;
!
o
||
k
(
e
,
o
+
"
Index
"
)
||
k
(
e
,
o
+
"
Id
"
)
||
k
(
e
,
o
+
"
Name
"
)
||
(
e
[
o
+
"
Index
"
]
=
0
);
var
s
=
{};
return
r
(
e
,(
function
(
i
,
r
){
i
=
e
[
r
];
if
(
"
dataIndex
"
!==
r
&&
"
dataIndexInside
"
!==
r
){
var
o
=
r
.
match
(
/^
(\w
+
)(
Index|Id|Name
)
$/
)
||
[],
c
=
o
[
1
],
l
=
(
o
[
2
]
||
""
).
toLowerCase
();
if
(
!
(
!
c
||!
l
||
null
==
i
||
"
index
"
===
l
&&
"
none
"
===
i
||
n
&&
n
.
includeMainTypes
&&
a
.
indexOf
(
n
.
includeMainTypes
,
c
)
<
0
)){
var
d
=
{
mainType
:
c
};
"
index
"
===
l
&&
"
all
"
===
i
||
(
d
[
l
]
=
i
);
var
u
=
t
.
queryComponents
(
d
);
s
[
c
+
"
Models
"
]
=
u
,
s
[
c
+
"
Model
"
]
=
u
[
0
]}}
else
s
[
r
]
=
i
})),
s
}
function
k
(
t
,
e
){
return
t
&&
t
.
hasOwnProperty
(
e
)}
function
S
(
t
,
e
,
n
){
t
.
setAttribute
?
t
.
setAttribute
(
e
,
n
):
t
[
e
]
=
n
}
function
V
(
t
,
e
){
return
t
.
getAttribute
?
t
.
getAttribute
(
e
):
t
[
e
]}
function
O
(
t
){
return
"
auto
"
===
t
?
i
.
domSupported
?
"
html
"
:
"
richText
"
:
t
||
"
html
"
}
function
I
(
t
,
e
){
var
n
=
a
.
createHashMap
(),
i
=
[];
return
a
.
each
(
t
,(
function
(
t
){
var
a
=
e
(
t
);(
n
.
get
(
a
)
||
(
i
.
push
(
a
),
n
.
set
(
a
,[]))).
push
(
t
)})),{
keys
:
i
,
buckets
:
n
}}
e
.
normalizeToArray
=
l
,
e
.
defaultEmphasis
=
d
,
e
.
TEXT_STYLE_OPTIONS
=
u
,
e
.
getDataItemValue
=
p
,
e
.
isDataItemOption
=
f
,
e
.
mappingToExists
=
m
,
e
.
makeIdAndName
=
h
,
e
.
isNameSpecified
=
v
,
e
.
isIdInner
=
g
,
e
.
compressBatches
=
y
,
e
.
queryDataIndex
=
b
,
e
.
makeInner
=
_
,
e
.
parseFinder
=
x
,
e
.
setAttribute
=
S
,
e
.
getAttribute
=
V
,
e
.
getTooltipRenderMode
=
O
,
e
.
groupData
=
I
}}]);
\ No newline at end of file
dist/js/chunk-7b4ceb28.959141c7.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-7b4ceb28
"
],{
1682
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
.
r
(
t
);
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"
div
"
,{
staticClass
:
"
container
"
},[
i
(
"
Card
"
,{
staticStyle
:{
width
:
"
60%
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
i
(
"
h2
"
,{
staticStyle
:{
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
\n
赛事录入
"
)])]},
proxy
:
!
0
}])},[
i
(
"
Form
"
,{
key
:
e
.
Key
,
ref
:
"
formValidate
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
学年名称
"
,
prop
:
"
competitionbatch_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
model
:{
value
:
e
.
formValidate
.
competitionbatch_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionbatch_id
"
,
t
)},
expression
:
"
formValidate.competitionbatch_id
"
}},
e
.
_l
(
e
.
batchList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事编码
"
,
prop
:
"
report_code
"
}},[
i
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
report_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
report_code
"
,
t
)},
expression
:
"
formValidate.report_code
"
}})],
1
)],
1
)],
1
),
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事名称
"
,
prop
:
"
competitionname
"
}},[
i
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionname
"
,
t
)},
expression
:
"
formValidate.competitionname
"
}})],
1
)],
1
),
i
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛项名称
"
,
prop
:
"
competitionsubitem_name
"
}},[
i
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionsubitem_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionsubitem_name
"
,
t
)},
expression
:
"
formValidate.competitionsubitem_name
"
}})],
1
)],
1
)],
1
),
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
教学单位
"
,
prop
:
"
dept_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
multiple
:
""
},
model
:{
value
:
e
.
formValidate
.
dept_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
dept_id
"
,
t
)},
expression
:
"
formValidate.dept_id
"
}},
e
.
_l
(
e
.
deptList
,(
function
(
t
,
a
){
return
i
(
"
Option
"
,{
key
:
a
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
主办单位
"
,
prop
:
"
sponsor
"
}},[
i
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
sponsor
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sponsor
"
,
t
)},
expression
:
"
formValidate.sponsor
"
}})],
1
)],
1
)],
1
),
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事级别
"
,
prop
:
"
competition_level_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
model
:{
value
:
e
.
formValidate
.
competition_level_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_level_id
"
,
t
)},
expression
:
"
formValidate.competition_level_id
"
}},
e
.
_l
(
e
.
levelList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
赛事类型
"
,
prop
:
"
competition_type_id
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
model
:{
value
:
e
.
formValidate
.
competition_type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_type_id
"
,
t
)},
expression
:
"
formValidate.competition_type_id
"
}},
e
.
_l
(
e
.
classList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
id
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
)],
1
),
i
(
"
Row
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
},
attrs
:{
span
:
24
}},[
i
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
比赛形式
"
,
prop
:
"
way
"
}},[
i
(
"
Select
"
,{
staticStyle
:{
width
:
"
100%
"
},
model
:{
value
:
e
.
formValidate
.
way
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
way
"
,
t
)},
expression
:
"
formValidate.way
"
}},
e
.
_l
(
e
.
wayList
,(
function
(
t
){
return
i
(
"
Option
"
,{
key
:
t
.
value
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
e
.
_s
(
t
.
label
))])})),
1
)],
1
)],
1
),
i
(
"
Col
"
,{
attrs
:{
span
:
11
}},[
i
(
"
FormItem
"
,{
attrs
:{
label
:
"
相关专业
"
,
prop
:
"
specialty
"
}},[
i
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入学年名称
"
},
model
:{
value
:
e
.
formValidate
.
specialty
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
specialty
"
,
t
)},
expression
:
"
formValidate.specialty
"
}})],
1
)],
1
)],
1
)],
1
),
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
}},[
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
handleSubmit
}},[
e
.
_v
(
"
提交
\n
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"
保存
\n
"
)]),
i
(
"
Button
"
,{
staticStyle
:{
width
:
"
30%
"
},
on
:{
click
:
e
.
handleReset
}},[
e
.
_v
(
"
重置
"
)])],
1
)],
1
),
i
(
"
Modal
"
,{
attrs
:{
width
:
"
40
"
,
title
:
"
添加赛项名称
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
i
(
"
Button
"
,{
on
:{
click
:
function
(
t
){
e
.
competitionItemModal
=!
1
}}},[
e
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
competitionItemModal
,
callback
:
function
(
t
){
e
.
competitionItemModal
=
t
},
expression
:
"
competitionItemModal
"
}},[
i
(
"
div
"
,{
key
:
e
.
competitoionItemKey
},[
i
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
flex-start
"
}},[
i
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入赛项名称
"
},
model
:{
value
:
e
.
formValidate
.
competitionsubitem_nameValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionsubitem_nameValue
"
,
t
)},
expression
:
"
formValidate.competitionsubitem_nameValue
"
}}),
i
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
20px
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
ok
}},[
e
.
_v
(
"
确认赛项名称
"
)])],
1
),
e
.
_l
(
e
.
formValidate
.
subitem_list
,(
function
(
t
,
a
){
return
i
(
"
div
"
,{
key
:
a
,
staticClass
:
"
competitionItemText
"
,
staticStyle
:{
"
margin-top
"
:
"
5px
"
}},[
i
(
"
span
"
,{
staticStyle
:{
height
:
"
160px
"
}},[
i
(
"
span
"
,[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
competitionsubitem_name
))]),
i
(
"
Icon
"
,{
staticClass
:
"
competitionItemIcon
"
,
staticStyle
:{
"
font-size
"
:
"
16px
"
,
"
margin-left
"
:
"
5px
"
},
attrs
:{
type
:
"
ios-trash
"
,
color
:
"
#A2A6AD
"
},
on
:{
click
:
function
(
i
){
return
e
.
deleteCompetitionItem
(
t
)}}})],
1
)])}))],
2
)])],
1
)},
r
=
[],
n
=
(
i
(
"
28a5
"
),
i
(
"
c5f6
"
),
i
(
"
ac6a
"
),
i
(
"
96cf
"
),
i
(
"
1da1
"
)),
o
=
i
(
"
967e
"
),
s
=
i
.
n
(
o
),
l
=
i
(
"
61be
"
),
c
=
i
(
"
7f6b
"
),
m
=
i
(
"
2ef0
"
),
p
=
i
.
n
(
m
),
u
=
(
i
(
"
5a0c
"
),{
components
:{},
data
:
function
(){
return
{
competitionId
:
""
,
wayList
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}],
deptList
:[],
batchList
:[],
classList
:[],
levelList
:[],
Key
:
1
,
competitionItemModal
:
!
1
,
entrance
:
""
,
faculty
:[],
competitionClass
:[{
value
:
1
,
label
:
"
A类
"
},{
value
:
2
,
label
:
"
B类
"
}],
approval_stateArray
:[{
value
:
0
,
label
:
"
未审批
"
},{
value
:
1
,
label
:
"
审批中
"
},{
value
:
2
,
label
:
"
审批通过
"
},{
value
:
3
,
label
:
"
审批不通过
"
}],
levelArray
:[{
value
:
1
,
label
:
"
国家级
"
},{
value
:
2
,
label
:
"
省一级
"
},{
value
:
3
,
label
:
"
省二级
"
},{
value
:
4
,
label
:
"
国际级
"
}],
wayArray
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}],
competitionObjectArray
:[{
value
:
"
学生
"
,
name
:
"
学生
"
},{
value
:
"
教师
"
,
name
:
"
教师
"
},{
value
:
"
师生同赛
"
,
name
:
"
师生同赛
"
}],
changecommitid
:
""
,
flowid
:
""
,
module_id
:
""
,
module
:
""
,
fileKey
:
1
,
competitoionItemKey
:
1
,
formValidate
:{
competitor
:
""
,
end_time
:
""
,
begin_time
:
""
,
money
:
0
,
subitem_list
:[],
competitionsubitem_nameValue
:
""
,
competitionsubitem_name
:[],
flowid
:
""
,
competitionname
:
""
,
sponsor
:
""
,
undertaker
:
""
,
level
:
""
,
competition_time
:[],
participant
:
""
,
way
:
""
,
game_size
:
""
,
average
:
""
,
ratio_info
:
""
,
intro
:
""
,
correlation
:
""
,
reason
:
""
,
dept_id
:
""
,
competition_type
:
""
,
data
:[],
files_list
:[]},
ruleValidate
:{
competitionbatch_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
report_code
:[{
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
"
}],
competition_level_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
competition_type_id
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
specialty1
:[{
required
:
!
0
,
type
:
"
string
"
,
message
:
"
此项不能为空
"
,
trigger
:
"
change
"
}],
money
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
competitor
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
competition_type
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
sponsor
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
undertaker
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
level
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
competition_time
:[{
type
:
"
date
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
participant
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
way
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
game_size
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
average
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
ratio_info
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
intro
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
reason
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}]}}},
computed
:{},
watch
:{
"
formValidate.competition_type
"
:
function
(
e
,
t
){
1
===
e
&&
(
this
.
formValidate
.
dept_id
=
""
)},
"
formValidate.competition_time
"
:
function
(
e
,
t
){
console
.
log
(
"
🚀newValue🚀🚀,
"
,
e
)}},
methods
:{
GetLevelBySelect
:
function
(){
var
e
=
this
;
l
[
"
a
"
](
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
i
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
c
[
"
T
"
]();
case
2
:
i
=
t
.
sent
,
e
.
levelList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetTypeBySelect
:
function
(){
var
e
=
this
;
l
[
"
a
"
](
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
i
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
c
[
"
xb
"
]();
case
2
:
i
=
t
.
sent
,
e
.
classList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetBatchBySelect
:
function
(){
var
e
=
this
;
l
[
"
a
"
](
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
i
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
c
[
"
y
"
]();
case
2
:
i
=
t
.
sent
,
e
.
batchList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
GetDeptSeletct
:
function
(){
var
e
=
this
;
l
[
"
a
"
](
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
i
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
c
[
"
F
"
]();
case
2
:
i
=
t
.
sent
,
e
.
deptList
=
i
.
response
;
case
4
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
getCompetitionTime
:
function
(
e
){
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
formValidate
.
begin_time
=
e
[
0
],
this
.
formValidate
.
end_time
=
e
[
1
]},
deleteCompetitionItem
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
subitem_list
.
forEach
((
function
(
i
,
a
){
i
.
competitionsubitem_name
===
e
.
competitionsubitem_name
&&
t
.
formValidate
.
subitem_list
.
splice
(
a
,
1
)})),
this
.
competitoionItemKey
++
},
ok
:
function
(){
this
.
formValidate
.
competitionsubitem_nameValue
?(
this
.
formValidate
.
subitem_list
.
push
({
competitionsubitem_name
:
this
.
formValidate
.
competitionsubitem_nameValue
,
competitionsubitemid
:
""
}),
this
.
formValidate
.
competitionsubitem_nameValue
=
void
0
):(
this
.
$Message
.
destroy
(),
this
.
$Message
.
error
(
"
赛项名称不能为空
"
))},
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
i
){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
e
.
$refs
[
"
formValidate
"
].
validate
(
function
(){
var
t
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
a
){
var
r
,
o
,
m
,
u
,
d
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
a
){
t
.
next
=
15
;
break
}
return
r
=
""
,
e
.
competitionId
&&
(
e
.
formValidate
.
competitionreportid
=
e
.
competitionId
),
o
=
p
.
a
.
cloneDeep
(
e
.
formValidate
),
m
=
o
.
subitem_list
,
u
=
o
.
files_list
,
delete
o
.
files_list
,
delete
o
.
competition_time
,
delete
o
.
subitem_list
,
o
.
dept_id
&&
o
.
dept_id
.
map
((
function
(
e
,
t
){
r
=
r
+
e
+
"
;
"
})),
o
.
dept_id
=
r
,
console
.
log
(
"
🚀this.formValidate🚀🚀,
"
,
e
.
formValidate
),
d
=
{
changecommitid
:
i
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
,
competition_report
:
o
,
files_list
:
u
,
subitem_list
:
m
},
t
.
next
=
15
,
l
[
"
c
"
](
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
l
"
](
d
);
case
2
:
return
e
.
abrupt
(
"
return
"
,
e
.
sent
);
case
3
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
15
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}());
case
1
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
n
"
]({
flowid
:
this
.
flowid
});
case
2
:
t
=
e
.
sent
,
e
.
t0
=
t
.
response
.
changecommitid
,
e
.
next
=
null
===
e
.
t0
?
6
:
7
;
break
;
case
6
:
return
e
.
abrupt
(
"
break
"
,
19
);
case
7
:
return
t
.
response
.
competition_report
.
level
=
Number
(
t
.
response
.
competition_report
.
level
),
this
.
formValidate
=
t
.
response
.
competition_report
,
this
.
formValidate
.
files_list
=
t
.
response
.
files_list
,
this
.
formValidate
.
subitem_list
=
t
.
response
.
subitem_list
,
this
.
formValidate
.
competition_time
=
[
t
.
response
.
competition_report
.
begin_time
,
t
.
response
.
competition_report
.
end_time
],
this
.
formValidate
.
dept_id
=
t
.
response
.
competition_report
.
dept_id
.
split
(
"
;
"
),
console
.
log
(
"
🚀🚀 this.formValidate.competition_time🚀,
"
,
this
.
formValidate
.
competition_time
),
this
.
changecommitid
=
t
.
response
.
changecommitid
,
this
.
flowid
=
t
.
response
.
flowid
,
this
.
module_id
=
t
.
response
.
module_id
,
this
.
module
=
t
.
response
.
module
,
e
.
abrupt
(
"
break
"
,
19
);
case
19
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
fileDelete
:
function
(){
var
e
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
i
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
formValidate
.
files_list
.
forEach
((
function
(
e
,
a
){
e
.
id
===
t
.
id
&&
i
.
formValidate
.
files_list
.
splice
(
a
,
1
)})),
this
.
fileKey
++
;
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
onError
:
function
(
e
,
t
,
i
){
console
.
log
(
"
🚀🚀🚀,onError
"
,
e
,
t
,
i
)},
onsuccess
:
function
(
e
,
t
,
i
){
console
.
log
(
"
🚀🚀🚀,onsuccess
"
,
e
,
t
,
i
)},
onFormatError
:
function
(
e
,
t
,
i
){
this
.
$Message
.
info
(
"
文件类型错误!
"
),
console
.
log
(
"
🚀🚀🚀,onFormatError
"
,
e
,
t
,
i
)},
saveFile
:
function
(){
var
e
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
formValidate
.
data
.
map
(
function
(){
var
e
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
i
,
a
){
var
r
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
r
=
new
FormData
,
r
.
append
(
"
file
"
,
i
),
e
.
next
=
4
,
c
[
"
tc
"
](
t
.
formValidate
.
files_list
.
module
,
r
);
case
4
:
n
=
e
.
sent
,
t
.
formValidate
.
files_list
.
push
(
n
.
response
);
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
return
function
(
t
,
i
){
return
e
.
apply
(
this
,
arguments
)}}());
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
beforeUpload
:
function
(){
var
e
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
i
,
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
i
=
new
FormData
,
i
.
append
(
"
file
"
,
t
),
e
.
next
=
5
,
c
[
"
tc
"
](
this
.
module
,
i
);
case
5
:
return
a
=
e
.
sent
,
this
.
formValidate
.
files_list
.
push
(
a
.
response
),
l
[
"
e
"
](
a
),
this
.
fileKey
++
,
e
.
abrupt
(
"
return
"
,
!
1
);
case
10
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
[
"
formValidate
"
].
validate
(
function
(){
var
t
=
Object
(
n
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
i
){
var
a
,
r
,
n
,
o
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
i
){
t
.
next
=
19
;
break
}
a
=
p
.
a
.
cloneDeep
(
e
.
formValidate
),
a
.
flowid
=
e
.
flowid
,
delete
a
.
competition_time
,
r
=
function
(
t
){
1
!==
t
.
code
?(
e
.
$Message
.
error
(
t
.
msg_detail
),
e
.
$Spin
.
hide
()):(
l
[
"
e
"
](
t
),
setTimeout
((
function
(){
localStorage
.
setItem
(
"
updataEvent
"
,
"
getDataEvent
"
),
window
.
close
()}),
1500
))},
t
.
t0
=
e
.
entrance
,
t
.
next
=
"
flow
"
===
t
.
t0
?
8
:
"
race
"
===
t
.
t0
?
13
:
19
;
break
;
case
8
:
return
t
.
next
=
10
,
c
[
"
s
"
](
a
);
case
10
:
return
n
=
t
.
sent
,
r
(
n
),
t
.
abrupt
(
"
break
"
,
19
);
case
13
:
return
a
.
approval_state
=
2
,
t
.
next
=
16
,
c
[
"
Xb
"
](
a
);
case
16
:
return
o
=
t
.
sent
,
r
(
o
),
t
.
abrupt
(
"
break
"
,
19
);
case
19
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}())},
handleReset
:
function
(){
this
.
competitionId
=
this
.
formValidate
.
competitionreportid
,
this
.
formValidate
=
{},
console
.
log
(
"
🚀🚀🚀,
"
)}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
formValidate
.
flowid
=
this
.
$route
.
query
.
id
,
this
.
flowid
=
this
.
$route
.
query
.
id
,
this
.
module
=
this
.
$route
.
query
.
remark
,
this
.
entrance
=
this
.
$route
.
query
.
entrance
,
this
.
FlowInit
(),
this
.
GetDeptSeletct
(),
this
.
GetLevelBySelect
(),
this
.
GetTypeBySelect
(),
this
.
GetBatchBySelect
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}}),
d
=
u
,
f
=
(
i
(
"
59dd
"
),
i
(
"
a294
"
),
i
(
"
2877
"
)),
h
=
Object
(
f
[
"
a
"
])(
d
,
a
,
r
,
!
1
,
null
,
"
2eac5604
"
,
null
);
t
[
"
default
"
]
=
h
.
exports
},
"
59dd
"
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
790f
"
)},
"
790f
"
:
function
(
e
,
t
,
i
){},
a294
:
function
(
e
,
t
,
i
){
"
use strict
"
;
i
(
"
c54e
"
)},
c54e
:
function
(
e
,
t
,
i
){}}]);
\ No newline at end of file
dist/js/chunk-8f36cd58.
5af08283
.js
→
dist/js/chunk-8f36cd58.
75581c8e
.js
浏览文件 @
d2b1f20c
文件已移动
dist/js/chunk-c389d98c.af6e9dac.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-c389d98c
"
],{
"
0c29
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
Card
"
,{
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
height
:
"
30px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
h3
"
,[
e
.
_v
(
"
权限分配
"
)])])]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
nowrap
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入权限名称进行查找...
"
},
model
:{
value
:
e
.
searchValue
,
callback
:
function
(
t
){
e
.
searchValue
=
t
},
expression
:
"
searchValue
"
}}),
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
e
.
searchValue
},
on
:{
click
:
e
.
searchEvent
}},[
e
.
_v
(
"
查找
\n
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
addRoleClass
}},[
e
.
_v
(
"
增添权限类型
"
)])],
1
)]},
proxy
:
!
0
}])},[
n
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
data
,
loading
:
e
.
loading1
},
scopedSlots
:
e
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
t
){
var
r
=
t
.
row
;
return
[
n
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
update
(
r
)}}},[
e
.
_v
(
"
修改
"
)]),
n
(
"
a
"
,{
staticStyle
:{
color
:
"
red
"
,
"
margin-left
"
:
"
10px
"
},
on
:{
click
:
function
(
t
){
return
e
.
roleDelete
(
r
)}}},[
e
.
_v
(
"
删除
"
)]),
n
(
"
Modal
"
,{
attrs
:{
title
:
""
+
e
.
ModalTitleValue
,
"
cancel-text
"
:
"
取消
"
,
"
ok-text
"
:
"
确认
"
,
"
mask-closable
"
:
!
0
},
on
:{
"
on-ok
"
:
function
(
t
){
return
e
.
modalOk
(
r
)}},
model
:{
value
:
e
.
modal
,
callback
:
function
(
t
){
e
.
modal
=
t
},
expression
:
"
modal
"
}},[
n
(
"
Form
"
,{
ref
:
"
updateRoleValue
"
,
attrs
:{
model
:
e
.
formTop
,
"
label-width
"
:
80
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
权限名称
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
e
.
formTop
.
input1
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formTop
,
"
input1
"
,
t
)},
expression
:
"
formTop.input1
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
备注
"
,
prop
:
"
input2
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
e
.
formTop
.
input2
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formTop
,
"
input2
"
,
t
)},
expression
:
"
formTop.input2
"
}})],
1
)],
1
)],
1
)]}}])}),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
e
.
total
,
"
page-size
"
:
e
.
page_size
,
"
model-value
"
:
"
page_index
"
},
on
:{
"
on-change
"
:
e
.
currentPage
,
"
on-page-size-change
"
:
e
.
currentPageCount
}})],
1
)],
1
)],
1
)},
o
=
[],
a
=
(
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
i
=
n
(
"
967e
"
),
s
=
n
.
n
(
i
),
l
=
n
(
"
7f6b
"
),
c
=
{
components
:{},
data
:
function
(){
return
{
loading1
:
!
1
,
searchValue
:
""
,
total
:
null
,
page_size
:
10
,
page_index
:
1
,
ruleValidate
:{
input1
:[{
required
:
!
0
,
message
:
"
不能为空!
"
,
trigger
:
"
blur
"
}],
input2
:[{
required
:
!
0
,
message
:
"
不能为空!
"
,
trigger
:
"
blur
"
}]},
formTop_roleId
:
""
,
formTop
:{
input1
:
""
,
input2
:
""
,
roleId
:
""
,
roleCreateTime
:
""
},
modal
:
!
1
,
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
},{
title
:
"
权限名称
"
,
key
:
"
role_name
"
},{
title
:
"
备注
"
,
key
:
"
role_remark
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[]}},
computed
:{
ModalTitleValue
:
function
(){
return
""
===
this
.
formTop
.
input1
?
"
增添权限类型
"
:
"
信息修改
"
}},
watch
:{
"
formTop.input1
"
:
function
(
e
,
t
){
console
.
log
(
e
)}},
methods
:{
searchEvent
:
function
(){
this
.
page_index
=
1
,
this
.
GetUserRoleList
()},
currentPage
:
function
(
e
){
console
.
log
(
e
),
this
.
page_index
=
e
,
this
.
GetUserRoleList
()},
currentPageCount
:
function
(
e
){
console
.
log
(
e
,
"
currentPageCount
"
),
this
.
page_size
=
e
,
this
.
GetUserRoleList
()},
publicConfirm
:
function
(
e
){
this
.
$Modal
.
confirm
({
title
:
"
警告
"
,
content
:
"
<p>是否继续此操作?</p>
"
,
cancelText
:
"
取消
"
,
okText
:
"
确定
"
,
onOk
:
function
(){
var
t
=
Object
(
a
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
e
();
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
n
(){
return
t
.
apply
(
this
,
arguments
)}
return
n
}()})},
publicMessage
:
function
(
e
){
1
!==
e
.
code
?
this
.
$Message
[
"
warning
"
]({
background
:
!
0
,
content
:
"
操作异常
"
}):(
this
.
$Spin
.
hide
(),
this
.
$Message
[
"
success
"
]({
background
:
!
0
,
content
:
"
操作成功
"
}))},
roleDeleteEvent
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
=
{
id
:
this
.
formTop
.
roleId
},
e
.
next
=
3
,
l
[
"
pc
"
](
t
);
case
3
:
return
n
=
e
.
sent
,
this
.
publicMessage
(
n
),
e
.
next
=
7
,
this
.
GetUserRoleList
();
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
roleDelete
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
=
this
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
formTop
.
roleId
=
t
.
roleid
,
this
.
publicConfirm
((
function
(){
return
n
.
roleDeleteEvent
()}));
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
addRoleClass
:
function
(){
this
.
formTop
.
input1
=
""
,
this
.
formTop
.
input2
=
""
,
this
.
formTop
.
roleId
=
""
,
this
.
modal
=!
0
},
update
:
function
(
e
){
this
.
modal
=!
0
,
this
.
formTop
.
input1
=
e
.
role_name
,
this
.
formTop
.
input2
=
e
.
role_remark
,
this
.
formTop
.
roleId
=
e
.
roleid
,
this
.
formTop
.
roleCreateTime
=
e
.
createtime
},
modalOkDataAction
:
function
(
e
){
var
t
;
return
t
=
e
?{
roleid
:
this
.
formTop
.
roleId
,
role_name
:
this
.
formTop
.
input1
,
role_remark
:
this
.
formTop
.
input2
,
createtime
:
this
.
formTop
.
roleCreateTime
}:{
role_name
:
this
.
formTop
.
input1
,
role_remark
:
this
.
formTop
.
input2
},
t
},
modalOk
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
,
r
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
this
.
modalOkDataAction
(
t
),
e
.
next
=
3
,
l
[
"
rc
"
](
n
);
case
3
:
return
r
=
e
.
sent
,
this
.
publicMessage
(
r
),
e
.
next
=
7
,
this
.
GetUserRoleList
();
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
GetUserRoleList
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading1
=!
0
,
t
=
{
page_index
:
this
.
page_index
,
page_size
:
this
.
page_size
,
name
:
this
.
searchValue
},
e
.
next
=
4
,
l
[
"
Db
"
](
t
);
case
4
:
n
=
e
.
sent
,
this
.
data
=
[],
this
.
data
=
n
.
response
.
data
,
this
.
total
=
n
.
response
.
data_count
,
this
.
loading1
=!
1
;
case
9
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}()},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
GetUserRoleList
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
u
=
c
,
p
=
(
n
(
"
a8be
"
),
n
(
"
2877
"
)),
f
=
Object
(
p
[
"
a
"
])(
u
,
r
,
o
,
!
1
,
null
,
"
65fda89a
"
,
null
);
t
[
"
default
"
]
=
f
.
exports
},
4834
:
function
(
e
,
t
,
n
){},
a8be
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
(
"
4834
"
)}}]);
\ No newline at end of file
dist/js/chunk-c4892f82.
5f853c1
3.js
→
dist/js/chunk-c4892f82.
764471c
3.js
浏览文件 @
d2b1f20c
文件已移动
dist/js/chunk-c8429486.
edb1c539
.js
→
dist/js/chunk-c8429486.
09c33227
.js
浏览文件 @
d2b1f20c
文件已移动
dist/js/chunk-d72cd6b8.e2101acc.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-d72cd6b8
"
],{
"
06e1
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
(
"
3f82
"
)},
"
3f82
"
:
function
(
e
,
t
,
a
){},
"
59ef
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
r
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,{
staticClass
:
"
container
"
},[
a
(
"
Card
"
,{
staticStyle
:{
width
:
"
50%
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
h2
"
,{
staticStyle
:{
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
\n
补助金审批流程
"
)])]},
proxy
:
!
0
}])},[
a
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
180
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
姓名
"
,
prop
:
"
name
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请输入姓名
"
},
model
:{
value
:
e
.
formValidate
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
name
"
,
t
)},
expression
:
"
formValidate.name
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
性别
"
,
prop
:
"
sex
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请输入性别
"
},
model
:{
value
:
e
.
formValidate
.
sex
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sex
"
,
t
)},
expression
:
"
formValidate.sex
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
学号或工号
"
,
prop
:
"
card_name
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请输学号或工号
"
},
model
:{
value
:
e
.
formValidate
.
card_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
card_name
"
,
t
)},
expression
:
"
formValidate.card_name
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
专业或班级
"
,
prop
:
"
specialty_class
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请输入专业或班级
"
},
model
:{
value
:
e
.
formValidate
.
specialty_class
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
specialty_class
"
,
t
)},
expression
:
"
formValidate.specialty_class
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
身份证号
"
,
prop
:
"
sfzh
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请输入身份证号
"
},
model
:{
value
:
e
.
formValidate
.
sfzh
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
sfzh
"
,
t
)},
expression
:
"
formValidate.sfzh
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛名称
"
,
prop
:
"
competitionname
"
}},[
a
(
"
Select
"
,{
attrs
:{
placeholder
:
"
请选择竞赛名称
"
},
on
:{
"
on-change
"
:
e
.
competitionSelectName
},
model
:{
value
:
e
.
formValidate
.
competitionname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competitionname
"
,
t
)},
expression
:
"
formValidate.competitionname
"
}},
e
.
_l
(
e
.
competitionNameArray
,(
function
(
t
,
r
){
return
a
(
"
Option
"
,{
key
:
r
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛文件名
"
,
prop
:
"
file_name
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请输入竞赛文件名
"
},
model
:{
value
:
e
.
formValidate
.
file_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
file_name
"
,
t
)},
expression
:
"
formValidate.file_name
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
竞赛类别
"
,
prop
:
"
race_level
"
}},[
a
(
"
Select
"
,{
attrs
:{
disabled
:
!
0
,
placeholder
:
"
请选择赛事级别
"
},
model
:{
value
:
e
.
formValidate
.
race_level
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
race_level
"
,
t
)},
expression
:
"
formValidate.race_level
"
}},
e
.
_l
(
e
.
levelArray
,(
function
(
t
,
r
){
return
a
(
"
Option
"
,{
key
:
r
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
e
.
_s
(
t
.
label
))])})),
1
)],
1
),
a
(
"
FormItem
"
,{
key
:
e
.
timeKey
,
attrs
:{
label
:
"
补助时间
"
,
prop
:
"
grant_time
"
}},[
a
(
"
DatePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
type
:
"
date
"
,
placeholder
:
"
请选择补助时间
"
},
on
:{
"
on-change
"
:
e
.
bursaryTime
},
model
:{
value
:
e
.
formValidate
.
grant_time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
grant_time
"
,
t
)},
expression
:
"
formValidate.grant_time
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
补助金额
"
,
prop
:
"
money
"
}},[
a
(
"
InputNumber
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
placeholder
:
"
请输入补助金额
"
},
model
:{
value
:
e
.
formValidate
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
money
"
,
t
)},
expression
:
"
formValidate.money
"
}})],
1
),
a
(
"
FormItem
"
,{
key
:
e
.
timeKey
,
attrs
:{
label
:
"
计划集训时间
"
,
prop
:
"
plan_train_time
"
}},[
a
(
"
DatePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
type
:
"
date
"
,
placeholder
:
"
请选择计划集训时间
"
},
on
:{
"
on-change
"
:
e
.
intensiveTrainingTime
},
model
:{
value
:
e
.
formValidate
.
plan_train_time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
plan_train_time
"
,
t
)},
expression
:
"
formValidate.plan_train_time
"
}})],
1
),
a
(
"
FormItem
"
,{
key
:
e
.
timeKey
,
attrs
:{
label
:
"
实际集训起止时间
"
,
prop
:
"
train_time
"
}},[
a
(
"
DatePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
type
:
"
date
"
,
placeholder
:
"
请选择实际集训起止时间
"
},
on
:{
"
on-change
"
:
e
.
actualTrainingStartAndEndTime
},
model
:{
value
:
e
.
formValidate
.
train_time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
train_time
"
,
t
)},
expression
:
"
formValidate.train_time
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
参赛具体情况
"
,
prop
:
"
competition_info
"
}},[
a
(
"
Input
"
,{
attrs
:{
type
:
"
textarea
"
,
autosize
:{
minRows
:
7
,
maxRows
:
10
},
placeholder
:
"
请输入参赛具体情况
"
},
model
:{
value
:
e
.
formValidate
.
competition_info
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
competition_info
"
,
t
)},
expression
:
"
formValidate.competition_info
"
}})],
1
),
a
(
"
FormItem
"
,[
a
(
"
Upload
"
,{
key
:
e
.
fileKey
,
attrs
:{
multiple
:
!
0
,
"
before-upload
"
:
e
.
beforeUpload
,
"
on-error
"
:
e
.
onError
,
"
on-success
"
:
e
.
onsuccess
,
"
on-format-error
"
:
e
.
onFormatError
,
"
show-upload-list
"
:
!
0
,
type
:
"
drag
"
,
action
:
""
}},[
a
(
"
div
"
,{
staticStyle
:{
padding
:
"
20px 0
"
,
width
:
"
100%
"
}},[
a
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
a
(
"
p
"
,[
e
.
_v
(
"
附件上传
"
)])],
1
)]),
e
.
_l
(
e
.
formValidate
.
files_list
,(
function
(
t
,
r
){
return
a
(
"
div
"
,{
key
:
r
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
a
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
a
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)}))],
2
),
a
(
"
FormItem
"
,[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
handleSubmit
}},[
e
.
_v
(
"
提交流程
\n
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"
保存
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
},
on
:{
click
:
e
.
handleReset
}},[
e
.
_v
(
"
重置
"
)])],
1
)],
1
)],
1
)],
1
)},
i
=
[],
n
=
(
a
(
"
7f7f
"
),
a
(
"
c5f6
"
),
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
o
=
a
(
"
967e
"
),
l
=
a
.
n
(
o
),
s
=
a
(
"
61be
"
),
c
=
a
(
"
7f6b
"
),
m
=
a
(
"
2ef0
"
),
d
=
a
.
n
(
m
),
u
=
a
(
"
5a0c
"
),
p
=
a
.
n
(
u
),
f
=
{
components
:{},
data
:
function
(){
return
{
userInfo
:[],
competitionNameArray
:[],
approval_stateArray
:[{
value
:
0
,
label
:
"
未审批
"
},{
value
:
1
,
label
:
"
审批中
"
},{
value
:
2
,
label
:
"
审批通过
"
},{
value
:
3
,
label
:
"
审批不通过
"
}],
levelArray
:[{
value
:
1
,
label
:
"
国家级
"
},{
value
:
2
,
label
:
"
省一级
"
},{
value
:
3
,
label
:
"
省二级
"
}],
wayArray
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}],
changecommitid
:
""
,
flowid
:
""
,
module_id
:
""
,
module
:
""
,
fileKey
:
1
,
timeKey
:
1
,
competitionnameValue
:
""
,
formValidate
:{
flowid
:
""
,
name
:
""
,
sex
:
""
,
card_name
:
""
,
specialty_class
:
""
,
competitionname
:
""
,
competitionreportid
:
""
,
file_name
:
""
,
race_level
:
""
,
grant_time
:
""
,
money
:
0
,
plan_train_time
:
""
,
train_time
:
""
,
competition_info
:
""
,
sfzh
:
""
,
files_list
:[]},
ruleValidate
:{
name
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
card_name
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
file_name
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
race_level
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
grant_time
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
money
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
plan_train_time
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
train_time
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
competition_info
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}]}}},
computed
:{},
watch
:{
"
formValidate.grant_time
"
:
function
(
e
,
t
){
console
.
log
(
"
🚀🚀🚀,
"
,
e
)}},
methods
:{
save
:
function
(){
var
e
=
this
,
t
=
function
(){
var
t
=
Object
(
n
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
a
){
var
r
,
i
,
o
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
r
=
d
.
a
.
cloneDeep
(
e
.
formValidate
),
i
=
r
.
files_list
,
delete
r
.
files_list
,
o
=
{
changecommitid
:
a
,
flowid
:
e
.
flowid
,
module_id
:
e
.
module_id
,
module
:
e
.
module
,
bursary
:
r
,
files_list
:
i
},
t
.
next
=
6
,
s
[
"
c
"
](
Object
(
n
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
l
"
](
o
);
case
2
:
return
e
.
abrupt
(
"
return
"
,
e
.
sent
);
case
3
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
6
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}();
switch
(
this
.
changecommitid
){
case
void
0
:
t
(
this
.
changecommitid
);
break
;
default
:
t
(
this
.
changecommitid
);
break
}},
FlowInit
:
function
(){
var
e
=
Object
(
n
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
t
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
n
"
]({
flowid
:
this
.
flowid
});
case
2
:
t
=
e
.
sent
,
e
.
t0
=
t
.
response
.
changecommitid
,
e
.
next
=
null
===
e
.
t0
?
6
:
7
;
break
;
case
6
:
return
e
.
abrupt
(
"
break
"
,
19
);
case
7
:
return
t
.
response
.
bursary
.
rece_level
=
Number
(
t
.
response
.
bursary
.
rece_level
),
t
.
response
.
bursary
.
level
=
Number
(
t
.
response
.
bursary
.
level
),
t
.
response
.
bursary
.
money
=
Number
(
t
.
response
.
bursary
.
money
),
this
.
formValidate
=
t
.
response
.
bursary
,
this
.
formValidate
.
files_list
=
t
.
response
.
files_list
,
this
.
changecommitid
=
t
.
response
.
changecommitid
,
this
.
flowid
=
t
.
response
.
flowid
,
this
.
module_id
=
t
.
response
.
module_id
,
this
.
module
=
t
.
response
.
module
,
this
.
competitionSelectName
(
t
.
response
.
bursary
.
competitionname
),
this
.
timeKey
++
,
e
.
abrupt
(
"
break
"
,
19
);
case
19
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
intensiveTrainingTime
:
function
(
e
){
this
.
formValidate
.
plan_train_time
=
p
()(
e
).
format
(
"
YYYY-MM-DD
"
)},
actualTrainingStartAndEndTime
:
function
(
e
){
this
.
formValidate
.
train_time
=
p
()(
e
).
format
(
"
YYYY-MM-DD
"
)},
bursaryTime
:
function
(
e
){
this
.
formValidate
.
grant_time
=
p
()(
e
).
format
(
"
YYYY-MM-DD
"
)},
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
formValidate
.
files_list
.
map
((
function
(
a
,
r
){
a
.
id
===
e
.
id
&&
t
.
formValidate
.
files_list
.
splice
(
r
,
1
)})),
this
.
fileKey
++
},
onError
:
function
(
e
,
t
,
a
){
console
.
log
(
"
🚀🚀🚀,onError
"
,
e
,
t
,
a
)},
onsuccess
:
function
(
e
,
t
,
a
){
console
.
log
(
"
🚀🚀🚀,onsuccess
"
,
e
,
t
,
a
)},
onFormatError
:
function
(
e
,
t
,
a
){
this
.
$Message
.
info
(
"
文件类型错误!
"
)},
beforeUpload
:
function
(){
var
e
=
Object
(
n
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
a
,
r
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
a
=
new
FormData
,
a
.
append
(
"
file
"
,
t
),
e
.
next
=
5
,
c
[
"
tc
"
](
this
.
formValidate
.
files_list
.
module
,
a
);
case
5
:
return
r
=
e
.
sent
,
this
.
formValidate
.
files_list
.
push
(
r
.
response
),
s
[
"
e
"
](
r
),
this
.
fileKey
++
,
e
.
abrupt
(
"
return
"
,
!
1
);
case
10
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
[
"
formValidate
"
].
validate
(
function
(){
var
t
=
Object
(
n
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
a
){
var
r
,
i
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
a
){
t
.
next
=
10
;
break
}
return
e
.
$Spin
.
show
(),
e
.
formValidate
.
competitionname
=
e
.
competitionnameValue
,
r
=
d
.
a
.
cloneDeep
(
e
.
formValidate
),
r
.
flowid
=
e
.
flowid
,
t
.
next
=
7
,
c
[
"
i
"
](
r
);
case
7
:
i
=
t
.
sent
,
s
[
"
e
"
](
i
),
setTimeout
((
function
(){
window
.
open
(
"
about:blank
"
,
"
_top
"
).
close
()}),
1500
);
case
10
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}())},
handleReset
:
function
(){
this
.
formValidate
=
{}},
getCompetiotionName
:
function
(){
var
e
=
Object
(
n
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
hb
"
]();
case
2
:
return
t
=
e
.
sent
,
this
.
competitionNameArray
=
t
.
response
,
e
.
next
=
6
,
c
[
"
Ab
"
]();
case
6
:
a
=
e
.
sent
,
this
.
formValidate
.
name
=
a
.
response
.
name
,
this
.
formValidate
.
sex
=
a
.
response
.
gender
,
this
.
formValidate
.
card_name
=
a
.
response
.
card
,
this
.
formValidate
.
specialty_class
=
a
.
response
.
classname
,
this
.
formValidate
.
sfzh
=
a
.
response
.
idnumber
;
case
12
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
competitionSelectName
:
function
(){
var
e
=
Object
(
n
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
Sb
"
]({
id
:
t
});
case
2
:
a
=
e
.
sent
,
this
.
formValidate
.
sponsor
=
a
.
response
.
sponsor
,
this
.
formValidate
.
race_level
=
Number
(
a
.
response
.
level
),
this
.
formValidate
.
competitionreportid
=
a
.
response
.
competitionreportid
,
this
.
formValidate
.
file_name
=
a
.
response
.
file_name
,
this
.
competitionnameValue
=
a
.
response
.
competitionname
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}()},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
getCompetiotionName
(),
this
.
formValidate
.
flowid
=
this
.
$route
.
query
.
id
,
this
.
formValidate
.
files_list
.
module
=
this
.
$route
.
query
.
remark
,
this
.
flowid
=
this
.
$route
.
query
.
id
,
this
.
module
=
this
.
$route
.
query
.
remark
,
this
.
FlowInit
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
h
=
f
,
_
=
(
a
(
"
06e1
"
),
a
(
"
6ddb
"
),
a
(
"
2877
"
)),
b
=
Object
(
_
[
"
a
"
])(
h
,
r
,
i
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
b
.
exports
},
"
61de
"
:
function
(
e
,
t
,
a
){},
"
6ddb
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
(
"
61de
"
)}}]);
\ No newline at end of file
dist/js/chunk-dbb9177c.f5b28405.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-dbb9177c
"
],{
"
32a0
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
(
"
fb0f
"
)},
"
386d
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
=
a
(
"
cb7c
"
),
i
=
a
(
"
83a1
"
),
r
=
a
(
"
5f1b
"
);
a
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
e
,
t
,
a
,
s
){
return
[
function
(
a
){
var
n
=
e
(
this
),
i
=
void
0
==
a
?
void
0
:
a
[
t
];
return
void
0
!==
i
?
i
.
call
(
a
,
n
):
new
RegExp
(
a
)[
t
](
String
(
n
))},
function
(
e
){
var
t
=
s
(
a
,
e
,
this
);
if
(
t
.
done
)
return
t
.
value
;
var
l
=
n
(
e
),
c
=
String
(
this
),
o
=
l
.
lastIndex
;
i
(
o
,
0
)
||
(
l
.
lastIndex
=
0
);
var
u
=
r
(
l
,
c
);
return
i
(
l
.
lastIndex
,
o
)
||
(
l
.
lastIndex
=
o
),
null
===
u
?
-
1
:
u
.
index
}]}))},
"
504c
"
:
function
(
e
,
t
,
a
){
var
n
=
a
(
"
9e1e
"
),
i
=
a
(
"
0d58
"
),
r
=
a
(
"
6821
"
),
s
=
a
(
"
52a7
"
).
f
;
e
.
exports
=
function
(
e
){
return
function
(
t
){
var
a
,
l
=
r
(
t
),
c
=
i
(
l
),
o
=
c
.
length
,
u
=
0
,
p
=
[];
while
(
o
>
u
)
a
=
c
[
u
++
],
n
&&!
s
.
call
(
l
,
a
)
||
p
.
push
(
e
?[
a
,
l
[
a
]]:
l
[
a
]);
return
p
}}},
"
83a1
"
:
function
(
e
,
t
){
e
.
exports
=
Object
.
is
||
function
(
e
,
t
){
return
e
===
t
?
0
!==
e
||
1
/
e
===
1
/
t
:
e
!=
e
&&
t
!=
t
}},
dce5
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
height
:
"
80px
"
}},[
a
(
"
h3
"
,[
e
.
_v
(
"
证书列表
"
)]),
a
(
"
Row
"
,{
staticStyle
:{
"
margin-top
"
:
"
30px
"
}},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
e
.
_v
(
"
\n
参与方式:
\n
"
),
a
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
attrs
:{
disabled
:
!
0
},
model
:{
value
:
e
.
search
.
way
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"
way
"
,
t
)},
expression
:
"
search.way
"
}},
e
.
_l
(
e
.
search
.
wayArray
,(
function
(
t
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
),
a
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
center
"
}},[
e
.
_v
(
"
\n
赛事级别:
\n
"
),
a
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
model
:{
value
:
e
.
search
.
level
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"
level
"
,
t
)},
expression
:
"
search.level
"
}},
e
.
_l
(
e
.
search
.
levelArray
,(
function
(
t
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
)]),
a
(
"
Col
"
,{
attrs
:{
span
:
"
8
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
justify-content
"
:
"
flex-end
"
}},[
e
.
_v
(
"
\n
审批状态:
\n
"
),
a
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
},
model
:{
value
:
e
.
search
.
approval_state
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"
approval_state
"
,
t
)},
expression
:
"
search.approval_state
"
}},
e
.
_l
(
e
.
search
.
approval_stateArray
,(
function
(
t
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
label
)
+
"
\n
"
)])})),
1
)],
1
)])],
1
)],
1
)]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
},
attrs
:{
placeholder
:
"
请输入竞赛名称...
"
},
model
:{
value
:
e
.
search
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"
name
"
,
t
)},
expression
:
"
search.name
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
e
.
searchButton
},
on
:{
click
:
e
.
searchFun
}},[
e
.
_v
(
"
查找
"
)]),
e
.
getRole
?
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
batchApproval
}},[
e
.
_v
(
"
一键审批
\n
"
)]):
e
.
_e
(),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
importData
}},[
e
.
_v
(
"
证书数据导出
"
)])]},
proxy
:
!
0
}])},[
a
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
competition_type
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
([
""
,
"
A类
"
,
"
B类
"
][
a
.
competition_type
])
+
"
\n
"
)]}},{
key
:
"
team_id
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
a
(
"
a
"
,{
on
:{
click
:
function
(
t
){
return
e
.
teamInfo
(
n
.
team_id
)}}},[
e
.
_v
(
"
详细
"
)])]}},{
key
:
"
race_level
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
([
""
,
"
国家级
"
,
"
省一级
"
,
"
省二级
"
,
"
国际级
"
][
a
.
race_level
])
+
"
\n
"
)]}},{
key
:
"
way
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
a
(
"
Tag
"
,{
attrs
:{
color
:[
"
success
"
,
"
primary
"
][
n
.
way
]}},[
e
.
_v
(
e
.
_s
([
"
团队
"
,
"
个人
"
][
n
.
way
]))])]}},{
key
:
"
approval_state
"
,
fn
:
function
(
t
){
var
a
=
t
.
row
;
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
未审批
"
,
"
审批中
"
,
"
审批通过
"
,
"
审批不通过
"
][
a
.
approval_state
])
+
"
\n
"
)]}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
t
){
return
e
.
edit
(
n
)}}},[
e
.
_v
(
"
详细
"
)]),
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
t
){
return
e
.
delCompetition
(
n
)},
"
on-cancel
"
:
e
.
cancel
}},[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
e
.
_v
(
"
删除
"
)])])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
60px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Page
"
,{
key
:
e
.
pageKey
,
attrs
:{
total
:
e
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
},
model
:{
value
:
e
.
init
.
page_index
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
),
a
(
"
Drawer
"
,{
key
:
e
.
keyBy
,
attrs
:{
title
:
"
团队详细
"
,
closable
:
!
0
,
width
:
"
40%
"
},
model
:{
value
:
e
.
teamDrawer
,
callback
:
function
(
t
){
e
.
teamDrawer
=
t
},
expression
:
"
teamDrawer
"
}},[
a
(
"
div
"
,{
staticClass
:
"
demo-drawer-profile
"
},[
a
(
"
Row
"
,{
staticClass
:
"
row
"
},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
e
.
_v
(
"
\n
团队名称:
\n
"
)]),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
drawerObject
.
teamname
)
+
"
\n
"
)])],
1
),
a
(
"
Row
"
,{
staticClass
:
"
row
"
},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
e
.
_v
(
"
\n
人数:
\n
"
)]),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
drawerObject
.
num
)
+
"
人
\n
"
)])],
1
),
a
(
"
Row
"
,{
staticClass
:
"
row
"
},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
e
.
_v
(
"
\n
是否获奖:
\n
"
)]),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
drawerObject
.
is_win
)
+
"
\n
"
)])],
1
)],
1
),
a
(
"
Table
"
,{
attrs
:{
columns
:
e
.
drawerColumn
,
data
:
e
.
drawerObject
.
members
}})],
1
),
a
(
"
Drawer
"
,{
attrs
:{
width
:
800
,
title
:
"
详细
"
,
closable
:
!
0
},
model
:{
value
:
e
.
drawer
,
callback
:
function
(
t
){
e
.
drawer
=
t
},
expression
:
"
drawer
"
}},[
a
(
"
div
"
,{
staticClass
:
"
tableList
"
},[
a
(
"
h1
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
center
"
}},[
e
.
_v
(
"
获奖材料上传
"
)]),
a
(
"
table
"
,{
staticClass
:
"
container
"
,
attrs
:{
border
:
"
1
"
}},
e
.
_l
(
e
.
drawerKeyValueArray
,(
function
(
t
,
n
){
return
a
(
"
tr
"
,{
key
:
n
,
staticClass
:
"
row
"
},[
"
level
"
===
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
]))]):
e
.
_e
(),
"
level
"
===
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
e
.
_v
(
e
.
_s
([
"
国家级
"
,
"
省一级
"
,
"
省二级
"
][
t
[
1
]]))]):
e
.
_e
(),
"
race_level
"
===
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
]))]):
e
.
_e
(),
"
race_level
"
===
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
([
""
,
"
国家级
"
,
"
省一级
"
,
"
省二级
"
,
"
国际级
"
][
t
[
1
]])
+
"
\n
"
)]):
e
.
_e
(),
"
approval_state
"
===
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
]))]):
e
.
_e
(),
"
approval_state
"
===
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
未审批
"
,
"
审批中
"
,
"
审批通过
"
,
"
审批不通过
"
][
t
[
1
]])
+
"
\n
"
)]):
e
.
_e
(),
"
competition_type
"
===
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
]))]):
e
.
_e
(),
"
competition_type
"
===
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
([
""
,
"
A类
"
,
"
B类
"
][
t
[
1
]])
+
"
\n
"
)]):
e
.
_e
(),
"
way
"
===
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
]))]):
e
.
_e
(),
"
way
"
===
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
([
"
团队
"
,
"
个人
"
][
t
[
1
]])
+
"
\n
"
)]):
e
.
_e
(),
"
studentExcellenceFileList
"
!==
t
[
0
]
&&
"
StudentExcellence
"
!==
t
[
0
]
&&
"
teacherExcellenceFileList
"
!==
t
[
0
]
&&
"
competition_type
"
!==
t
[
0
]
&&
"
team_id
"
!==
t
[
0
]
&&
"
level
"
!==
t
[
0
]
&&
"
race_level
"
!==
t
[
0
]
&&
"
way
"
!==
t
[
0
]
&&
"
approval_state
"
!==
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
])
+
"
\n
"
)]):
e
.
_e
(),
"
studentExcellenceFileList
"
!==
t
[
0
]
&&
"
StudentExcellence
"
!==
t
[
0
]
&&
"
teacherExcellenceFileList
"
!==
t
[
0
]
&&
"
competition_type
"
!==
t
[
0
]
&&
"
team_id
"
!==
t
[
0
]
&&
"
level
"
!==
t
[
0
]
&&
"
race_level
"
!==
t
[
0
]
&&
"
way
"
!==
t
[
0
]
&&
"
approval_state
"
!==
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},[
e
.
_v
(
e
.
_s
(
t
[
1
])
+
"
\n
"
)]):
e
.
_e
(),
"
teacherExcellenceFileList
"
===
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
]))]):
e
.
_e
(),
"
teacherExcellenceFileList
"
===
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},
e
.
_l
(
t
[
1
],(
function
(
t
,
n
){
return
a
(
"
a
"
,{
key
:
n
,
staticClass
:
"
aText
"
,
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
},
attrs
:{
href
:
t
.
path
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
)])})),
0
):
e
.
_e
(),
"
studentExcellenceFileList
"
===
t
[
0
]?
a
(
"
th
"
,{
staticClass
:
"
colTitle
"
},[
e
.
_v
(
e
.
_s
(
t
[
2
]))]):
e
.
_e
(),
"
studentExcellenceFileList
"
===
t
[
0
]?
a
(
"
td
"
,{
staticClass
:
"
colContent
"
},
e
.
_l
(
t
[
1
],(
function
(
t
,
n
){
return
a
(
"
a
"
,{
key
:
n
,
staticClass
:
"
aText
"
,
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
wrap
"
,
"
justify-content
"
:
"
center
"
},
attrs
:{
href
:
t
.
path
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
)])})),
0
):
e
.
_e
()])})),
0
)])])],
1
)},
i
=
[],
r
=
(
a
(
"
ac6a
"
),
a
(
"
ffc1
"
),
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
s
=
(
a
(
"
7f7f
"
),
a
(
"
386d
"
),
a
(
"
967e
"
)),
l
=
a
.
n
(
s
),
c
=
a
(
"
61be
"
),
o
=
a
(
"
7f6b
"
),
u
=
a
(
"
2ef0
"
),
p
=
a
.
n
(
u
),
h
=
a
(
"
c276
"
),
d
=
(
a
(
"
2d959
"
),{
name
:
"
list
"
,
data
:
function
(){
return
{
keyBy
:
1
,
drawerKeyValueArray
:[],
drawer
:
!
1
,
teamDrawer
:
!
1
,
drawerObject
:{
members
:[]},
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
赛事名称
"
,
key
:
"
competitionname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
赛项名称
"
,
key
:
"
competitionsubitem_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
主办单位
"
,
key
:
"
sponsor
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
赛事级别
"
,
slot
:
"
race_level
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
竞赛类别
"
,
slot
:
"
competition_type
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
申请人
"
,
key
:
"
createby
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
比赛形式
"
,
slot
:
"
way
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
审批状态
"
,
slot
:
"
approval_state
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
比赛开始时间
"
,
key
:
"
begin_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
比赛结束时间
"
,
key
:
"
end_time
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
130
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
drawerColumn
:[{
title
:
"
姓名
"
,
key
:
"
name
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
成员工号
"
,
key
:
"
card_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
是否为教师
"
,
key
:
"
is_tea
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
是否为指导教师
"
,
key
:
"
is_lead
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
班级
"
,
key
:
"
classname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
部门
"
,
key
:
"
dept
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
}],
loading
:
!
1
,
tableData
:[{}],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
search
:{
way
:
""
,
name
:
""
,
approval_state
:
""
,
level
:
""
,
wayCurrentValue
:
""
,
nameCurrentValue
:
""
,
approval_stateCurrentValue
:
""
,
levelCurrentValue
:
""
,
approval_stateArray
:[{
value
:
0
,
label
:
"
未审批
"
},{
value
:
1
,
label
:
"
审批中
"
},{
value
:
2
,
label
:
"
审批通过
"
},{
value
:
3
,
label
:
"
审批不通过
"
}],
levelArray
:[{
value
:
1
,
label
:
"
国家级
"
},{
value
:
2
,
label
:
"
省一级
"
},{
value
:
3
,
label
:
"
省二级
"
}],
wayArray
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}]},
init
:{
page_index
:
1
,
page_size
:
10
,
total
:
0
},
pageKey
:
1
}},
created
:
function
(){},
computed
:{
searchButton
:
function
(){
return
""
===
this
.
search
.
way
&&
""
===
this
.
search
.
level
&&
""
===
this
.
search
.
name
&&
""
===
this
.
search
.
approval_state
},
getRole
:
function
(){
var
e
=
JSON
.
parse
(
h
[
"
a
"
].
cookies
.
get
(
"
userinfo
"
));
return
-
1
!==
e
.
role
.
indexOf
(
'
["管理员"]
'
)}},
mounted
:
function
(){
this
.
getGetCertificateList
()},
methods
:{
importData
:
function
(){
var
e
=
this
;
c
[
"
c
"
](
Object
(
r
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
a
,
n
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
{
name
:
e
.
search
.
wayCurrentValuethis
,
level
:
e
.
search
.
levelCurrentValue
,
way
:
e
.
search
.
wayCurrentValue
,
approval_state
:
e
.
search
.
approval_stateCurrentValue
,
page_index
:
e
.
init
.
page_index
,
page_size
:
e
.
init
.
page_size
},
t
.
next
=
3
,
o
[
"
f
"
](
a
);
case
3
:
return
n
=
t
.
sent
,
window
.
location
.
href
=
n
.
response
,
t
.
abrupt
(
"
return
"
,
n
);
case
6
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))},
batchApproval
:
function
(){
c
[
"
c
"
](
Object
(
r
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
o
[
"
g
"
]();
case
2
:
return
e
.
abrupt
(
"
return
"
,
e
.
sent
);
case
3
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
teamInfo
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
a
,
n
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
e
.
prev
=
1
,
a
=
{
teamid
:
t
},
e
.
next
=
5
,
o
[
"
ub
"
](
a
);
case
5
:
n
=
e
.
sent
,
this
.
drawerObject
=
n
.
response
,
this
.
drawerObject
.
members
=
n
.
response
.
members
,
this
.
teamDrawer
=!
0
,
c
[
"
e
"
](
n
),
e
.
next
=
17
;
break
;
case
12
:
e
.
prev
=
12
,
e
.
t0
=
e
[
"
catch
"
](
1
),
this
.
drawerObject
=
{},
this
.
$Spin
.
hide
(),
this
.
$Message
.
error
(
"
找不到团队id!
"
);
case
17
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
,[[
1
,
12
]])})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
delCompetition
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
a
,
n
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
a
=
{
id
:
t
.
certificateid
},
e
.
next
=
3
,
o
[
"
e
"
](
a
);
case
3
:
return
n
=
e
.
sent
,
c
[
"
e
"
](
n
),
e
.
next
=
7
,
this
.
getGetCertificateList
();
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
getGetCertificateList
()},
handleChangePageSize
:
function
(
e
){
this
.
init
.
page_size
=
e
,
this
.
getGetCertificateList
()},
searchFun
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
search
.
wayCurrentValuethis
=
this
.
search
.
name
,
this
.
search
.
levelCurrentValue
=
this
.
search
.
level
,
this
.
search
.
wayCurrentValue
=
this
.
search
.
way
,
this
.
search
.
approval_stateCurrentValue
=
this
.
search
.
approval_state
,
this
.
pageKey
++
,
this
.
init
.
page_index
=
1
,
e
.
next
=
8
,
this
.
getGetCertificateList
();
case
8
:
e
.
sent
;
case
9
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
getGetCertificateList
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
name
:
this
.
search
.
wayCurrentValuethis
,
level
:
this
.
search
.
levelCurrentValue
,
way
:
this
.
search
.
wayCurrentValue
,
approval_state
:
this
.
search
.
approval_stateCurrentValue
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
e
.
next
=
4
,
o
[
"
D
"
](
t
);
case
4
:
a
=
e
.
sent
,
this
.
tableData
=
a
.
response
.
data
,
this
.
init
.
total
=
a
.
response
.
data_count
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
add
:
function
(){
this
.
$refs
.
addEdit
.
add
()},
edit
:
function
(){
var
e
=
Object
(
r
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(
t
){
var
a
,
n
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
drawer
=!
0
,
e
.
next
=
3
,
o
[
"
C
"
]({
id
:
t
.
certificateid
});
case
3
:
a
=
e
.
sent
,
console
.
log
(
"
🚀🚀🚀,
"
,
a
),
n
=
p
.
a
.
cloneDeep
(
a
.
response
.
certificateInfo
),
delete
n
.
competitionreportid
,
delete
n
.
certificateid
,
delete
n
.
certificate_file
,
delete
n
.
createtime
,
delete
n
.
approval_remark
,
delete
n
.
certificate_description
,
delete
n
.
team_id
,
delete
n
.
competitionsubitem_id
,
n
.
teacherExcellenceFileList
=
a
.
response
.
teacherExcellenceFileList
,
n
.
studentExcellenceFileList
=
a
.
response
.
studentExcellenceFileList
,
delete
n
.
money
,
delete
n
.
team_id
,
delete
n
.
certificate_name
,
console
.
log
(
"
🚀🚀array🚀,
"
,
n
),
this
.
drawerKeyValueArray
=
Object
.
entries
(
n
),
this
.
drawerKeyValueArray
.
map
((
function
(
e
,
t
){
var
a
=
[
"
赛事名称
"
,
"
主办单位
"
,
"
赛事级别
"
,
"
审批状态
"
,
"
竞赛类别
"
,
"
比赛开始时间
"
,
"
比赛结束时间
"
,
"
赛项名称
"
,
"
竞赛形式
"
,
"
申请人
"
,
"
教师证书
"
,
"
学生证书
"
];
e
.
push
(
a
[
t
])})),
console
.
log
(
"
🚀🚀drawerKeyValueArray🚀,
"
,
this
.
drawerKeyValueArray
);
case
23
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
del
:
function
(
e
){
console
.
log
(
"
删除
"
),
this
.
$Message
.
info
(
"
删除成功
"
)},
cancel
:
function
(){
this
.
$Message
.
info
(
"
You click cancel
"
)}}}),
_
=
d
,
v
=
(
a
(
"
32a0
"
),
a
(
"
2877
"
)),
f
=
Object
(
v
[
"
a
"
])(
_
,
n
,
i
,
!
1
,
null
,
"
429eb8ed
"
,
null
);
t
[
"
default
"
]
=
f
.
exports
},
fb0f
:
function
(
e
,
t
,
a
){},
ffc1
:
function
(
e
,
t
,
a
){
var
n
=
a
(
"
5ca1
"
),
i
=
a
(
"
504c
"
)(
!
0
);
n
(
n
.
S
,
"
Object
"
,{
entries
:
function
(
e
){
return
i
(
e
)}})}}]);
\ No newline at end of file
dist/js/chunk-e4ee58c6.0f9a3190.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-e4ee58c6
"
],{
"
386d
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
var
l
=
a
(
"
cb7c
"
),
n
=
a
(
"
83a1
"
),
i
=
a
(
"
5f1b
"
);
a
(
"
214f
"
)(
"
search
"
,
1
,(
function
(
e
,
t
,
a
,
r
){
return
[
function
(
a
){
var
l
=
e
(
this
),
n
=
void
0
==
a
?
void
0
:
a
[
t
];
return
void
0
!==
n
?
n
.
call
(
a
,
l
):
new
RegExp
(
a
)[
t
](
String
(
l
))},
function
(
e
){
var
t
=
r
(
a
,
e
,
this
);
if
(
t
.
done
)
return
t
.
value
;
var
o
=
l
(
e
),
s
=
String
(
this
),
c
=
o
.
lastIndex
;
n
(
c
,
0
)
||
(
o
.
lastIndex
=
0
);
var
d
=
i
(
o
,
s
);
return
n
(
o
.
lastIndex
,
c
)
||
(
o
.
lastIndex
=
c
),
null
===
d
?
-
1
:
d
.
index
}]}))},
"
5df3
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
var
l
=
a
(
"
02f4
"
)(
!
0
);
a
(
"
01f9
"
)(
String
,
"
String
"
,(
function
(
e
){
this
.
_t
=
String
(
e
),
this
.
_i
=
0
}),(
function
(){
var
e
,
t
=
this
.
_t
,
a
=
this
.
_i
;
return
a
>=
t
.
length
?{
value
:
void
0
,
done
:
!
0
}:(
e
=
l
(
t
,
a
),
this
.
_i
+=
e
.
length
,{
value
:
e
,
done
:
!
1
})}))},
"
83a1
"
:
function
(
e
,
t
){
e
.
exports
=
Object
.
is
||
function
(
e
,
t
){
return
e
===
t
?
0
!==
e
||
1
/
e
===
1
/
t
:
e
!=
e
&&
t
!=
t
}},
fa05
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
l
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
staticClass
:
"
ivu-ml-8
"
,
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
modalAction
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
md-add
"
}}),
e
.
_v
(
"
\n
新增用户
\n
"
)],
1
)]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Select
"
,{
staticStyle
:{
width
:
"
10vw
"
,
"
margin-right
"
:
"
10px
"
},
model
:{
value
:
e
.
search
.
selectValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"
selectValue
"
,
t
)},
expression
:
"
search.selectValue
"
}},
e
.
_l
(
e
.
promiseAllArray
[
0
],(
function
(
t
,
l
){
return
a
(
"
Option
"
,{
key
:
l
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
10vw
"
,
"
margin-right
"
:
"
10px
"
},
attrs
:{
type
:
"
text
"
,
placeholder
:
"
请输入姓名查找...
"
},
model
:{
value
:
e
.
search
.
inputValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"
inputValue
"
,
t
)},
expression
:
"
search.inputValue
"
}}),
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
10vw
"
},
attrs
:{
type
:
"
text
"
,
placeholder
:
"
请输入手机号查找...
"
},
model
:{
value
:
e
.
search
.
mobileValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"
mobileValue
"
,
t
)},
expression
:
"
search.mobileValue
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
e
.
search
.
selectValue
&&
""
===
e
.
search
.
inputValue
&&
""
===
e
.
search
.
mobileValue
},
on
:{
click
:
e
.
searchFun
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
md-search
"
}}),
e
.
_v
(
"
\n
查找
\n
"
)],
1
)],
1
)]},
proxy
:
!
0
}])},[
a
(
"
Table
"
,{
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
role_name
"
,
fn
:
function
(
t
){
var
l
=
t
.
row
;
return
e
.
_l
(
l
.
role_name
,(
function
(
t
,
l
){
return
a
(
"
Tag
"
,{
key
:
l
,
attrs
:{
color
:
"
primary
"
}},[
e
.
_v
(
"
"
+
e
.
_s
(
t
))])}))}},{
key
:
"
action
"
,
fn
:
function
(
t
){
var
l
=
t
.
row
;
return
[
a
(
"
a
"
,{
staticStyle
:{
"
margin-right
"
:
"
1vw
"
},
on
:{
click
:
function
(
t
){
return
e
.
edit
(
l
)}}},[
e
.
_v
(
"
编辑
"
)]),
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
t
){
return
e
.
del
(
l
)},
"
on-cancel
"
:
e
.
cancel
}},[
a
(
"
a
"
,{
staticStyle
:{
color
:
"
red
"
}},[
e
.
_v
(
"
删除
"
)])])]}}])}),
a
(
"
div
"
,{
staticStyle
:{
"
margin-top
"
:
"
20px
"
,
display
:
"
flex
"
,
"
align-content
"
:
"
center
"
}},[
a
(
"
Page
"
,{
attrs
:{
total
:
e
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
page_size
},
on
:{
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
},
model
:{
value
:
e
.
page_index
,
callback
:
function
(
t
){
e
.
page_index
=
t
},
expression
:
"
page_index
"
}})],
1
)],
1
),
a
(
"
Modal
"
,{
attrs
:{
width
:
50
,
styles
:{
top
:
"
20px
"
},
title
:
"
添加用户
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
null
)
+
"
\n
"
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
modal
,
callback
:
function
(
t
){
e
.
modal
=
t
},
expression
:
"
modal
"
}},[
a
(
"
div
"
,[
a
(
"
Tabs
"
,{
attrs
:{
type
:
"
card
"
}},[
a
(
"
TabPane
"
,{
attrs
:{
label
:
"
添加学生
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-left
"
:
"
auto
"
,
display
:
"
flex
"
,
"
flex-wrap
"
:
"
nowrap
"
}},[
a
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入姓名或卡号搜索...
"
},
model
:{
value
:
e
.
modalSelect
.
searchValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
modalSelect
,
"
searchValue
"
,
t
)},
expression
:
"
modalSelect.searchValue
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
e
.
modalSelect
.
searchValue
},
on
:{
click
:
e
.
searchButton
}},[
e
.
_v
(
"
\n
搜索
\n
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
e
.
searchReset
}},[
e
.
_v
(
"
重置
"
)])],
1
)]),
a
(
"
Table
"
,{
attrs
:{
loading
:
e
.
loading1
,
columns
:
e
.
modalSelect
.
column
,
data
:
e
.
modalSelect
.
sList
},
on
:{
"
on-select-all
"
:
e
.
modalTableSelectAll
,
"
on-select-all-cancel
"
:
e
.
modalTableSelectAllCancel
,
"
on-select
"
:
e
.
modalTableSelect
,
"
on-select-cancel
"
:
e
.
modalTableSelectCancel
}}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-top
"
:
"
20px
"
}},[
a
(
"
Page
"
,{
key
:
e
.
modalSelect
.
pageKey
,
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
"
page-size-opts
"
:
e
.
pageSizeOpts
,
total
:
e
.
modalSelect
.
total
,
"
page-size
"
:
e
.
modalSelect
.
page_size
,
"
model-value
"
:
"
modalSelect.page_index
"
,
transfer
:
!
0
},
on
:{
"
on-change
"
:
e
.
currentPage1
,
"
on-page-size-change
"
:
e
.
currentPageCount1
}})],
1
),
a
(
"
div
"
,{
staticStyle
:{
float
:
"
right
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
20px
"
},
on
:{
click
:
function
(
t
){
e
.
modal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
t
){
return
e
.
handleSubmit
(
"
s
"
)}}},[
e
.
_v
(
"
提交
"
)])],
1
)],
1
),
a
(
"
TabPane
"
,{
attrs
:{
label
:
"
添加教师
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
a
(
"
CheckboxGroup
"
,{
staticStyle
:{
"
margin-bottom
"
:
"
5px
"
},
model
:{
value
:
e
.
modalSelect1
.
checkboxValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
modalSelect1
,
"
checkboxValue
"
,
t
)},
expression
:
"
modalSelect1.checkboxValue
"
}},
e
.
_l
(
e
.
promiseAllArray
[
0
],(
function
(
t
,
l
){
return
a
(
"
Checkbox
"
,{
key
:
l
,
attrs
:{
disabled
:
"
学生
"
===
t
.
name
,
label
:
t
.
id
,
border
:
""
}},[
a
(
"
span
"
,[
e
.
_v
(
e
.
_s
(
t
.
name
))])])})),
1
),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-left
"
:
"
auto
"
,
display
:
"
flex
"
,
"
flex-wrap
"
:
"
nowrap
"
}},[
a
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入姓名或卡号搜索...
"
},
model
:{
value
:
e
.
modalSelect1
.
searchValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
modalSelect1
,
"
searchValue
"
,
t
)},
expression
:
"
modalSelect1.searchValue
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
e
.
modalSelect1
.
searchValue
},
on
:{
click
:
e
.
searchButton
}},[
e
.
_v
(
"
\n
搜索
\n
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
e
.
searchReset1
}},[
e
.
_v
(
"
重置
"
)])],
1
)],
1
),
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
spin
"
,{
staticStyle
:{
"
font-weight
"
:
"
bold
"
}},[
e
.
_v
(
"
院系:
"
)]),
a
(
"
Select
"
,{
staticStyle
:{
width
:
"
500px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
multiple
:
""
},
model
:{
value
:
e
.
modalSelect1
.
deptValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
modalSelect1
,
"
deptValue
"
,
t
)},
expression
:
"
modalSelect1.deptValue
"
}},
e
.
_l
(
e
.
modalSelect1
.
deptSelectArray
,(
function
(
t
,
l
){
return
a
(
"
Option
"
,{
key
:
l
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
),
a
(
"
Table
"
,{
attrs
:{
loading
:
e
.
loading2
,
columns
:
e
.
modalSelect1
.
column
,
data
:
e
.
modalSelect1
.
sList
},
on
:{
"
on-select-all
"
:
e
.
modalTableSelectAll1
,
"
on-select-all-cancel
"
:
e
.
modalTableSelectAllCancel1
,
"
on-select
"
:
e
.
modalTableSelect1
,
"
on-select-cancel
"
:
e
.
modalTableSelectCancel1
}}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-top
"
:
"
20px
"
}},[
a
(
"
Page
"
,{
key
:
e
.
modalSelect1
.
pageKey
,
attrs
:{
transfer
:
!
0
,
"
show-total
"
:
""
,
"
page-size-opts
"
:
e
.
pageSizeOpts
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
e
.
modalSelect1
.
total
,
"
page-size
"
:
e
.
modalSelect1
.
page_size
,
"
model-value
"
:
"
modalSelect1.page_index
"
},
on
:{
"
on-change
"
:
e
.
currentPage2
,
"
on-page-size-change
"
:
e
.
currentPageCount2
}})],
1
),
a
(
"
div
"
,{
staticStyle
:{
float
:
"
right
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
20px
"
},
on
:{
click
:
function
(
t
){
e
.
modal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
t
){
return
e
.
handleSubmit
(
"
t
"
)}}},[
e
.
_v
(
"
提交
"
)])],
1
)],
1
)],
1
)],
1
)]),
a
(
"
Modal
"
,{
attrs
:{
title
:
"
编辑
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
editModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
editSave
}},[
e
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
editModal
,
callback
:
function
(
t
){
e
.
editModal
=
t
},
expression
:
"
editModal
"
}},[
a
(
"
Form
"
,{
ref
:
"
formValidate3
"
,
attrs
:{
model
:
e
.
formValidate3
,
rules
:
e
.
ruleValidate3
,
"
label-width
"
:
80
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
姓名
"
,
prop
:
"
name
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
""
,
placeholder
:
"
姓名
"
},
model
:{
value
:
e
.
formValidate3
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate3
,
"
name
"
,
t
)},
expression
:
"
formValidate3.name
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
工号
"
,
prop
:
"
card_name
"
}},[
a
(
"
Input
"
,{
attrs
:{
disabled
:
""
,
placeholder
:
"
姓名
"
},
model
:{
value
:
e
.
formValidate3
.
card_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate3
,
"
card_name
"
,
t
)},
expression
:
"
formValidate3.card_name
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
用户权限
"
,
prop
:
"
roleid
"
}},[
a
(
"
Select
"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"
用户权限
"
},
model
:{
value
:
e
.
formValidate3
.
roleid
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate3
,
"
roleid
"
,
t
)},
expression
:
"
formValidate3.roleid
"
}},
e
.
_l
(
e
.
promiseAllArray
[
0
],(
function
(
t
,
l
){
return
a
(
"
Option
"
,{
key
:
l
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])})),
1
)],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
院系
"
,
prop
:
"
dept_id
"
}},[
a
(
"
Select
"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"
院系
"
},
model
:{
value
:
e
.
formValidate3
.
dept_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate3
,
"
dept_id
"
,
t
)},
expression
:
"
formValidate3.dept_id
"
}},
e
.
_l
(
e
.
modalSelect1
.
deptSelectArray
,(
function
(
t
,
l
){
return
a
(
"
Option
"
,{
key
:
l
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
)],
1
)],
1
)},
n
=
[],
i
=
(
a
(
"
386d
"
),
a
(
"
ac6a
"
),
a
(
"
5df3
"
),
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
r
=
a
(
"
967e
"
),
o
=
a
.
n
(
r
),
s
=
a
(
"
7f6b
"
),
c
=
a
(
"
61be
"
),
d
=
(
a
(
"
2ef0
"
),{
data
:
function
(){
return
{
formValidate3
:{
userid
:
""
,
name
:
""
,
card_name
:
""
,
roleid
:[],
dept_id
:[]},
ruleValidate3
:{
roleid
:[{
type
:
"
array
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
dept_id
:[{
type
:
"
array
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}]},
editModal
:
!
1
,
modalKey
:
0
,
pageSizeOpts
:[
10
,
20
,
30
,
40
,
100
,
200
],
modalSelect1
:{
deptValue
:[],
deptSelectArray
:[],
tArray
:[],
checkboxValue
:[],
rList
:[{
value
:
0
,
label
:
"
非指导教师
"
},{
value
:
1
,
label
:
"
指导教师
"
}],
sArray
:[],
searchValue
:
""
,
condition
:
""
,
column
:[{
type
:
"
selection
"
,
minWidth
:
150
},{
title
:
"
姓名
"
,
minWidth
:
150
,
key
:
"
name
"
},{
title
:
"
学号/工号
"
,
minWidth
:
150
,
key
:
"
number
"
}],
sList
:[],
pageKey
:
1
,
total
:
0
,
page_size
:
10
,
page_index
:
1
},
modalSelect
:{
checkboxValue
:
""
,
rList
:[{
value
:
0
,
label
:
"
否
"
},{
value
:
1
,
label
:
"
是
"
}],
sArray
:[],
searchValue
:
""
,
condition
:
""
,
column
:[{
type
:
"
selection
"
,
minWidth
:
150
},{
title
:
"
姓名
"
,
minWidth
:
150
,
key
:
"
name
"
},{
title
:
"
学号/工号
"
,
minWidth
:
150
,
key
:
"
number
"
}],
sList
:[],
pageKey
:
1
,
total
:
0
,
page_size
:
10
,
page_index
:
1
},
ruleValidate
:{
student
:[{
type
:
"
array
"
,
required
:
!
0
,
message
:
"
请选择学生
"
,
trigger
:
"
change
"
}],
teacher
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
请选择教师
"
,
trigger
:
"
change
"
}],
role
:[{
type
:
"
array
"
,
required
:
!
0
,
message
:
"
请选择权限
"
,
trigger
:
"
change
"
}]},
formValidate
:{
student
:[],
teacher
:
""
,
role
:[]},
modal
:
!
1
,
promiseAllArray
:[],
search
:{
searchCityList
:[],
selectValue
:
""
,
inputValue
:
""
,
mobileValue
:
""
,
input
:
""
,
select
:
""
,
mobile
:
""
},
page_index
:
1
,
page_size
:
10
,
total
:
0
,
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
姓名
"
,
key
:
"
name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
员工号
"
,
key
:
"
card_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
权限
"
,
slot
:
"
role_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
250
},{
title
:
"
院系
"
,
key
:
"
dept
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
200
},{
title
:
"
手机号
"
,
key
:
"
mobile
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
是否为教师
"
,
key
:
"
is_tea
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
班级
"
,
key
:
"
classname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
180
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
loading
:
!
1
,
loading1
:
!
1
,
loading2
:
!
1
,
tableData
:[],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
collapse
:
!
1
}},
created
:
function
(){},
watch
:{
"
modalSelect1.deptValue
"
:
function
(
e
,
t
){
console
.
log
(
"
🚀🚀aaa🚀,
"
,
e
)}},
mounted
:
function
(){
this
.
getData
(),
this
.
promiseAll
(),
this
.
GetDeptSeletct
()},
methods
:{
editSave
:
function
(){
var
e
=
this
;
this
.
$refs
[
"
formValidate3
"
].
validate
((
function
(
t
){
t
&&
c
[
"
c
"
](
Object
(
i
[
"
a
"
])(
o
.
a
.
mark
((
function
t
(){
var
a
;
return
o
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
t
.
next
=
2
,
s
[
"
qc
"
](
e
.
formValidate3
);
case
2
:
return
a
=
t
.
sent
,
e
.
getData
(),
e
.
editModal
=!
1
,
t
.
abrupt
(
"
return
"
,
a
);
case
6
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))))}))},
TabsAciton
:
function
(){
console
.
log
(
"
🚀🚀🚀12312312,
"
),
this
.
modalKey
++
},
modalAction
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(){
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
modal
=!
0
,
this
.
modalSelect
.
sArray
=
[],
this
.
modalSelect1
.
tArray
=
[],
e
.
next
=
5
,
this
.
getTorS
();
case
5
:
this
.
getTorS1
();
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
searchButton
:
function
(){
this
.
modalSelect
.
condition
=
this
.
modalSelect
.
searchValue
,
this
.
modalSelect
.
page_index
=
1
,
this
.
modalSelect1
.
condition
=
this
.
modalSelect1
.
searchValue
,
this
.
modalSelect1
.
page_index
=
1
,
this
.
getTorS
(),
this
.
getTorS1
()},
searchReset
:
function
(){
this
.
modalSelect
.
condition
=
""
,
this
.
modalSelect
.
searchValue
=
""
,
this
.
modalSelect
.
page_index
=
1
,
this
.
modalSelect
.
page_size
=
10
,
this
.
modalSelect
.
sArray
=
[],
this
.
modalSelect
.
pageKey
++
,
this
.
getTorS
()},
searchReset1
:
function
(){
this
.
modalSelect1
.
deptValue
=
[],
this
.
modalSelect1
.
searchValue
=
""
,
this
.
modalSelect1
.
checkboxValue
=
[],
this
.
modalSelect1
.
condition
=
""
,
this
.
modalSelect1
.
page_index
=
1
,
this
.
modalSelect1
.
page_size
=
10
,
this
.
modalSelect1
.
tArray
=
[],
this
.
modalSelect1
.
pageKey
++
,
this
.
getTorS1
()},
modalTableSelectCancel1
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect1
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect1
.
tArray
.
push
(
e
.
tid
)}))},
modalTableSelectAll1
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect1
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect1
.
tArray
.
push
(
e
.
tid
)}))},
modalTableSelectAllCancel1
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect1
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect1
.
tArray
.
push
(
e
.
tid
)}))},
modalTableSelect1
:
function
(
e
,
t
){
var
a
=
this
;
this
.
modalSelect1
.
tArray
=
[],
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect1
.
tArray
.
push
(
e
.
tid
)}))},
modalTableSelectCancel
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect
.
sArray
.
push
(
e
.
sid
)}))},
modalTableSelectAll
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect
.
sArray
.
push
(
e
.
sid
)}))},
modalTableSelectAllCancel
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect
.
sArray
.
push
(
e
.
sid
)}))},
modalTableSelect
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect
.
sArray
.
push
(
e
.
sid
)}))},
getTorS
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading1
=!
0
,
t
=
{
page_index
:
this
.
modalSelect
.
page_index
,
page_size
:
this
.
modalSelect
.
page_size
,
condition
:
this
.
modalSelect
.
condition
},
e
.
next
=
4
,
s
[
"
ob
"
](
t
);
case
4
:
a
=
e
.
sent
,
this
.
modalSelect
.
sList
=
a
.
response
.
data
,
this
.
modalSelect
.
total
=
a
.
response
.
data_count
,
this
.
loading1
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
getTorS1
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading2
=!
0
,
t
=
{
page_index
:
this
.
modalSelect1
.
page_index
,
page_size
:
this
.
modalSelect1
.
page_size
,
condition
:
this
.
modalSelect1
.
condition
},
e
.
next
=
4
,
s
[
"
sb
"
](
t
);
case
4
:
a
=
e
.
sent
,
this
.
modalSelect1
.
sList
=
a
.
response
.
data
,
this
.
modalSelect1
.
total
=
a
.
response
.
data_count
,
this
.
loading2
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
currentPage2
:
function
(
e
){
this
.
modalSelect1
.
page_index
=
e
,
this
.
getTorS1
()},
currentPageCount2
:
function
(
e
){
this
.
modalSelect1
.
page_size
=
e
,
this
.
getTorS1
()},
currentPage1
:
function
(
e
){
this
.
modalSelect
.
page_index
=
e
,
this
.
getTorS
()},
currentPageCount1
:
function
(
e
){
this
.
modalSelect
.
page_size
=
e
,
this
.
getTorS
()},
handleReset
:
function
(
e
){
switch
(
e
){
case
"
s
"
:
this
.
searchReset
(),
this
.
formValidate
.
student
=
[];
break
;
case
"
t
"
:
this
.
formValidate
.
teacher
=
[],
this
.
searchReset1
();
break
}},
handleSubmit
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(
t
){
var
a
,
l
,
n
,
i
;
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
e
.
t0
=
t
,
e
.
next
=
"
s
"
===
e
.
t0
?
3
:
"
t
"
===
e
.
t0
?
13
:
27
;
break
;
case
3
:
return
a
=
this
.
modalSelect
.
sArray
,
e
.
next
=
6
,
s
[
"
dc
"
](
a
);
case
6
:
return
l
=
e
.
sent
,
this
.
modalSelect
.
sArray
=
[],
c
[
"
e
"
](
l
),
e
.
next
=
11
,
this
.
getData
();
case
11
:
return
this
.
modal
=!
1
,
e
.
abrupt
(
"
break
"
,
27
);
case
13
:
return
n
=
{
dept
:
this
.
modalSelect1
.
deptValue
,
role
:
this
.
modalSelect1
.
checkboxValue
,
tid
:
this
.
modalSelect1
.
tArray
},
e
.
next
=
16
,
s
[
"
ec
"
](
n
);
case
16
:
if
(
i
=
e
.
sent
,
1
===
i
.
code
){
e
.
next
=
21
;
break
}
this
.
$Message
.
error
(
i
.
msg_detail
),
e
.
next
=
26
;
break
;
case
21
:
return
c
[
"
e
"
](
i
),
e
.
next
=
24
,
this
.
getData
();
case
24
:
this
.
modal
=!
1
,
this
.
modalSelect1
.
tArray
=
[];
case
26
:
return
e
.
abrupt
(
"
break
"
,
27
);
case
27
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
studentSelect1
:
function
(
e
){},
studentSelect
:
function
(
e
){
this
.
formValidate
.
student
=
e
,
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
addOk
:
function
(){},
addCancel
:
function
(){},
promiseAll
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(){
var
t
;
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
Promise
.
all
([
new
Promise
(
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(
t
,
a
){
var
l
;
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
s
[
"
sc
"
]();
case
2
:
l
=
e
.
sent
,
t
(
l
.
response
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
return
function
(
t
,
a
){
return
e
.
apply
(
this
,
arguments
)}}())]);
case
2
:
t
=
e
.
sent
,
this
.
promiseAllArray
=
t
,
console
.
log
(
"
🚀🚀🚀,
"
,
t
);
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
searchFun
:
function
(){
this
.
search
.
select
=
this
.
search
.
selectValue
,
this
.
search
.
input
=
this
.
search
.
inputValue
,
this
.
search
.
mobile
=
this
.
search
.
mobileValue
,
this
.
getData
()},
add
:
function
(){},
edit
:
function
(
e
){
var
t
=
this
;
this
.
editModal
=!
0
,
c
[
"
a
"
]((
function
(){
s
[
"
Cb
"
]({
userid
:
e
.
userid
}).
then
((
function
(
e
){
return
t
.
formValidate3
=
e
.
response
}))})),
console
.
log
(
"
🚀🚀🚀,
"
,
e
)},
del
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(
t
){
var
a
,
l
;
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
a
=
{
id
:
t
.
userid
},
e
.
next
=
3
,
s
[
"
oc
"
](
a
);
case
3
:
return
l
=
e
.
sent
,
c
[
"
e
"
](
l
),
e
.
next
=
7
,
this
.
getData
();
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
cancel
:
function
(){
this
.
$Message
.
info
(
"
已取消
"
)},
handleChangePage
:
function
(
e
){
this
.
page_index
=
e
,
this
.
getData
()},
handleChangePageSize
:
function
(
e
){
this
.
page_size
=
e
,
this
.
getData
()},
tryAndCatch
:
function
(
e
){
try
{
e
()}
catch
(
t
){
this
.
$Spin
.
hide
(),
this
.
$Message
.
error
(
t
)}},
getData
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(){
var
t
=
this
;
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
tryAndCatch
(
Object
(
i
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(){
var
a
,
l
;
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
loading
=!
0
,
a
=
{
name
:
t
.
search
.
input
,
roleid
:
t
.
search
.
select
,
mobile
:
t
.
search
.
mobile
,
page_index
:
t
.
page_index
,
page_size
:
t
.
page_size
},
e
.
next
=
4
,
s
[
"
Bb
"
](
a
);
case
4
:
l
=
e
.
sent
,
t
.
tableData
=
l
.
response
.
data
,
t
.
total
=
l
.
response
.
data_count
,
t
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))));
case
1
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
GetDeptSeletct
:
function
(){
var
e
=
Object
(
i
[
"
a
"
])(
o
.
a
.
mark
((
function
e
(){
var
t
;
return
o
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
s
[
"
F
"
]();
case
2
:
t
=
e
.
sent
,
this
.
modalSelect1
.
deptSelectArray
=
t
.
response
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}()}}),
u
=
d
,
h
=
a
(
"
2877
"
),
p
=
Object
(
h
[
"
a
"
])(
u
,
l
,
n
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
p
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-eba91b14.aacff21e.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-eba91b14
"
],{
"
08a0
"
:
function
(
e
,
t
,
a
){},
3280
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,[
a
(
"
Card
"
,{
ref
:
"
card
"
,
scopedSlots
:
e
.
_u
([{
key
:
"
extra
"
,
fn
:
function
(){
return
[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
a
(
"
Input
"
,{
staticStyle
:{
width
:
"
15vw
"
,
"
margin-right
"
:
"
15px
"
},
attrs
:{
type
:
"
text
"
,
placeholder
:
"
输入团队名字查找...
"
},
model
:{
value
:
e
.
searchValue
,
callback
:
function
(
t
){
e
.
searchValue
=
t
},
expression
:
"
searchValue
"
}}),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
e
.
searchValue
},
on
:{
click
:
e
.
searchFun
}},[
e
.
_v
(
"
查找
"
)])],
1
)]},
proxy
:
!
0
}])},[
a
(
"
Button
"
,{
staticClass
:
"
ivu-ml-8
"
,
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
createTeamFun
}},[
a
(
"
Icon
"
,{
attrs
:{
type
:
"
md-add
"
}}),
e
.
_v
(
"
\n
创建团队
\n
"
)],
1
),
a
(
"
Table
"
,{
staticStyle
:{
"
margin-top
"
:
"
20px
"
},
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
t
){
return
e
.
addTeamPeople
(
n
)}}},[
e
.
_v
(
"
添加队员
"
)]),
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
t
){
return
e
.
updateTeamInfo
(
n
)}}},[
e
.
_v
(
"
修改
"
)]),
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
},
on
:{
click
:
function
(
t
){
return
e
.
detailed
(
n
)}}},[
e
.
_v
(
"
详细
"
)]),
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
t
){
return
e
.
del
(
n
)},
"
on-cancel
"
:
e
.
cancel
}},[
a
(
"
a
"
,{
staticStyle
:{
"
margin-left
"
:
"
15px
"
,
color
:
"
red
"
}},[
e
.
_v
(
"
删除
"
)])])]}}])}),
a
(
"
div
"
,{
staticClass
:
"
ivu-text-center ivu-mt
"
,
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
flex-start
"
}},[
a
(
"
Page
"
,{
attrs
:{
total
:
e
.
init
.
total
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
page-size
"
:
e
.
init
.
page_size
},
on
:{
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
},
model
:{
value
:
e
.
init
.
page_index
,
callback
:
function
(
t
){
e
.
$set
(
e
.
init
,
"
page_index
"
,
t
)},
expression
:
"
init.page_index
"
}})],
1
)],
1
),
a
(
"
Drawer
"
,{
attrs
:{
title
:
"
团队详细
"
,
closable
:
!
1
,
width
:
"
40%
"
},
model
:{
value
:
e
.
teamDrawer
,
callback
:
function
(
t
){
e
.
teamDrawer
=
t
},
expression
:
"
teamDrawer
"
}},[
a
(
"
div
"
,{
staticClass
:
"
demo-drawer-profile
"
},[
a
(
"
Row
"
,{
staticClass
:
"
row
"
},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
e
.
_v
(
"
\n
团队名称:
\n
"
)]),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
drawerObject
.
teamname
)
+
"
\n
"
)])],
1
),
a
(
"
Row
"
,{
staticClass
:
"
row
"
},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
e
.
_v
(
"
\n
人数:
\n
"
)]),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
drawerObject
.
num
)
+
"
人
\n
"
)])],
1
),
a
(
"
Row
"
,{
staticClass
:
"
row
"
},[
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
e
.
_v
(
"
\n
是否获奖:
\n
"
)]),
a
(
"
Col
"
,{
attrs
:{
span
:
"
12
"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
drawerObject
.
is_win
)
+
"
\n
"
)])],
1
)],
1
),
a
(
"
Table
"
,{
attrs
:{
columns
:
e
.
drawerColumn
,
data
:
e
.
drawerObject
.
members
},
scopedSlots
:
e
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
t
){
var
n
=
t
.
row
;
return
[
a
(
"
Poptip
"
,{
attrs
:{
confirm
:
""
,
transfer
:
""
,
title
:
"
你确定删除吗?
"
},
on
:{
"
on-ok
"
:
function
(
t
){
return
e
.
drawerDel
(
n
)},
"
on-cancel
"
:
e
.
drawerCancel
}},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
20px
"
},
attrs
:{
size
:
"
small
"
,
type
:
"
error
"
}},[
e
.
_v
(
"
删除
"
)])],
1
)]}}])})],
1
),
a
(
"
Modal
"
,{
attrs
:{
width
:
"
50%
"
,
title
:
"
添加队员
"
,
styles
:{
top
:
"
20px
"
}},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
null
)
+
"
\n
"
)]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
addTeamModal
,
callback
:
function
(
t
){
e
.
addTeamModal
=
t
},
expression
:
"
addTeamModal
"
}},[
a
(
"
div
"
,[
a
(
"
Tabs
"
,{
attrs
:{
type
:
"
card
"
}},[
a
(
"
TabPane
"
,{
attrs
:{
label
:
"
添加学生队员
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-left
"
:
"
auto
"
,
display
:
"
flex
"
,
"
flex-wrap
"
:
"
nowrap
"
}},[
a
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入姓名或卡号搜索...
"
},
model
:{
value
:
e
.
modalSelect
.
searchValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
modalSelect
,
"
searchValue
"
,
t
)},
expression
:
"
modalSelect.searchValue
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
e
.
modalSelect
.
searchValue
},
on
:{
click
:
e
.
searchButton
}},[
e
.
_v
(
"
\n
搜索
\n
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
e
.
searchReset
}},[
e
.
_v
(
"
重置
"
)])],
1
)]),
a
(
"
Table
"
,{
attrs
:{
columns
:
e
.
modalSelect
.
column
,
data
:
e
.
modalSelect
.
sList
},
on
:{
"
on-select-all
"
:
e
.
modalTableSelectAll
,
"
on-select-all-cancel
"
:
e
.
modalTableSelectAllCancel
,
"
on-select
"
:
e
.
modalTableSelect
,
"
on-select-cancel
"
:
e
.
modalTableSelectCancel
}}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-top
"
:
"
20px
"
}},[
a
(
"
Page
"
,{
key
:
e
.
modalSelect
.
pageKey
,
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
e
.
modalSelect
.
total
,
"
page-size
"
:
e
.
modalSelect
.
page_size
,
"
model-value
"
:
"
modalSelect.page_index
"
,
transfer
:
!
0
},
on
:{
"
on-change
"
:
e
.
currentPage1
,
"
on-page-size-change
"
:
e
.
currentPageCount1
}})],
1
),
a
(
"
div
"
,{
staticStyle
:{
float
:
"
right
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
20px
"
},
on
:{
click
:
function
(
t
){
e
.
addTeamModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
t
){
return
e
.
handleSubmit
(
"
s
"
)}}},[
e
.
_v
(
"
提交
"
)])],
1
)],
1
),
a
(
"
TabPane
"
,{
attrs
:{
label
:
"
添加教师队员
"
}},[
a
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
}},[
a
(
"
RadioGroup
"
,{
staticStyle
:{
"
margin-bottom
"
:
"
15px
"
},
model
:{
value
:
e
.
modalSelect1
.
checkboxValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
modalSelect1
,
"
checkboxValue
"
,
t
)},
expression
:
"
modalSelect1.checkboxValue
"
}},
e
.
_l
(
e
.
modalSelect1
.
rList
,(
function
(
t
,
n
){
return
a
(
"
Radio
"
,{
key
:
n
,
attrs
:{
label
:
t
.
value
,
border
:
""
}},[
a
(
"
span
"
,[
e
.
_v
(
e
.
_s
(
t
.
label
))])])})),
1
),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-left
"
:
"
auto
"
,
display
:
"
flex
"
,
"
flex-wrap
"
:
"
nowrap
"
}},[
a
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入姓名或卡号搜索...
"
},
model
:{
value
:
e
.
modalSelect1
.
searchValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
modalSelect1
,
"
searchValue
"
,
t
)},
expression
:
"
modalSelect1.searchValue
"
}}),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
e
.
modalSelect1
.
searchValue
},
on
:{
click
:
e
.
searchButton
}},[
e
.
_v
(
"
\n
搜索
\n
"
)]),
a
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
text
"
},
on
:{
click
:
e
.
searchReset1
}},[
e
.
_v
(
"
重置
"
)])],
1
)],
1
),
a
(
"
Table
"
,{
attrs
:{
columns
:
e
.
modalSelect1
.
column
,
data
:
e
.
modalSelect1
.
sList
},
on
:{
"
on-select-all
"
:
e
.
modalTableSelectAll1
,
"
on-select-all-cancel
"
:
e
.
modalTableSelectAllCancel1
,
"
on-select
"
:
e
.
modalTableSelect1
,
"
on-select-cancel
"
:
e
.
modalTableSelectCancel1
}}),
a
(
"
div
"
,{
staticStyle
:{
height
:
"
40px
"
,
"
margin-top
"
:
"
20px
"
}},[
a
(
"
Page
"
,{
key
:
e
.
modalSelect1
.
pageKey
,
attrs
:{
transfer
:
!
0
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
e
.
modalSelect1
.
total
,
"
page-size
"
:
e
.
modalSelect1
.
page_size
,
"
model-value
"
:
"
modalSelect1.page_index
"
},
on
:{
"
on-change
"
:
e
.
currentPage2
,
"
on-page-size-change
"
:
e
.
currentPageCount2
}})],
1
),
a
(
"
div
"
,{
staticStyle
:{
float
:
"
right
"
}},[
a
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
20px
"
},
on
:{
click
:
function
(
t
){
e
.
addTeamModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
t
){
return
e
.
handleSubmit
(
"
t
"
)}}},[
e
.
_v
(
"
提交
"
)])],
1
)],
1
)],
1
)],
1
)]),
a
(
"
Modal
"
,{
attrs
:{
width
:
"
40%
"
,
title
:
"
创建团队
"
,
"
mask-closable
"
:
!
1
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
createTeamModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
createTeamFunOk
}},[
e
.
_v
(
"
确认
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
createTeamModal
,
callback
:
function
(
t
){
e
.
createTeamModal
=
t
},
expression
:
"
createTeamModal
"
}},[
a
(
"
div
"
,[
a
(
"
Form
"
,{
ref
:
"
formValidate3
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
团队名称
"
,
prop
:
"
teamName
"
}},[
a
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入团队名称
"
},
model
:{
value
:
e
.
formValidate
.
teamName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
teamName
"
,
t
)},
expression
:
"
formValidate.teamName
"
}})],
1
)],
1
)],
1
)]),
a
(
"
Modal
"
,{
attrs
:{
width
:
"
40%
"
,
title
:
"
修改团队
"
,
"
mask-closable
"
:
!
1
},
scopedSlots
:
e
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
a
(
"
Button
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
e
.
updateTeamModal
=!
1
}}},[
e
.
_v
(
"
取消
"
)]),
a
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
updateTeamFunOk
}},[
e
.
_v
(
"
确认
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
e
.
updateTeamModal
,
callback
:
function
(
t
){
e
.
updateTeamModal
=
t
},
expression
:
"
updateTeamModal
"
}},[
a
(
"
div
"
,[
a
(
"
Form
"
,{
ref
:
"
formValidate4
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
团队名称
"
,
prop
:
"
updateTeamName
"
}},[
a
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入团队名称
"
},
model
:{
value
:
e
.
formValidate
.
updateTeamName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
updateTeamName
"
,
t
)},
expression
:
"
formValidate.updateTeamName
"
}})],
1
),
a
(
"
FormItem
"
,{
attrs
:{
label
:
"
是否获奖
"
,
prop
:
"
updateIs_winValue
"
}},[
a
(
"
Select
"
,{
attrs
:{
clearable
:
""
,
transfer
:
""
,
filterable
:
""
,
placeholder
:
"
请选择
"
},
model
:{
value
:
e
.
formValidate
.
updateIs_winValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
updateIs_winValue
"
,
t
)},
expression
:
"
formValidate.updateIs_winValue
"
}},
e
.
_l
(
e
.
is_win
,(
function
(
t
,
n
){
return
a
(
"
Option
"
,{
key
:
n
,
attrs
:{
value
:
t
.
value
}},[
e
.
_v
(
e
.
_s
(
t
.
label
))])})),
1
)],
1
)],
1
)],
1
)])],
1
)},
i
=
[],
l
=
(
a
(
"
ac6a
"
),
a
(
"
5df3
"
),
a
(
"
96cf
"
),
a
(
"
1da1
"
)),
r
=
a
(
"
967e
"
),
s
=
a
.
n
(
r
),
o
=
a
(
"
7f6b
"
),
c
=
a
(
"
61be
"
),
d
=
{
name
:
"
list
"
,
data
:
function
(){
return
{
modalSelect1
:{
tArray
:[],
checkboxValue
:
""
,
rList
:[{
value
:
0
,
label
:
"
非指导教师
"
},{
value
:
1
,
label
:
"
指导教师
"
}],
sArray
:[],
searchValue
:
""
,
condition
:
""
,
column
:[{
type
:
"
selection
"
,
minWidth
:
150
},{
title
:
"
姓名
"
,
minWidth
:
150
,
key
:
"
name
"
},{
title
:
"
学号/工号
"
,
minWidth
:
150
,
key
:
"
number
"
}],
sList
:[],
pageKey
:
1
,
total
:
0
,
page_size
:
10
,
page_index
:
1
},
modalSelect
:{
checkboxValue
:
""
,
rList
:[{
value
:
0
,
label
:
"
否
"
},{
value
:
1
,
label
:
"
是
"
}],
sArray
:[],
searchValue
:
""
,
condition
:
""
,
column
:[{
type
:
"
selection
"
,
minWidth
:
150
},{
title
:
"
姓名
"
,
minWidth
:
150
,
key
:
"
name
"
},{
title
:
"
学号/工号
"
,
minWidth
:
150
,
key
:
"
number
"
}],
sList
:[],
pageKey
:
1
,
total
:
0
,
page_size
:
10
,
page_index
:
1
},
updateTeamModal
:
!
1
,
createTeamModal
:
!
1
,
ruleValidate
:{
teamName
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
请输入团队名称
"
,
trigger
:
"
blur
"
}],
student
:[{
type
:
"
array
"
,
required
:
!
0
,
message
:
"
请选择学生
"
,
trigger
:
"
change
"
}],
teacher
:[{
type
:
"
array
"
,
required
:
!
0
,
message
:
"
请选择教师
"
,
trigger
:
"
change
"
}],
role
:[{
type
:
"
array
"
,
required
:
!
0
,
message
:
"
请选择权限
"
,
trigger
:
"
change
"
}],
createTeamTeacher
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
请选择教师
"
,
trigger
:
"
change
"
}],
is_leadValue
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
请选择是否为指导老师
"
,
trigger
:
"
change
"
}],
updateTeamName
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
请输入团队名称
"
,
trigger
:
"
blur
"
}],
updateIs_winValue
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
请选择是否获奖
"
,
trigger
:
"
change
"
}]},
formValidate
:{
student
:[],
teacher
:[],
role
:[],
createTeamTeacher
:
""
,
is_winValue
:
""
,
teamName
:
""
,
teamid
:
""
,
is_leadValue
:
""
,
updateTeamName
:
""
,
updateIs_winValue
:
""
},
is_win
:[{
value
:
0
,
label
:
"
否
"
},{
value
:
1
,
label
:
"
是
"
}],
is_lead
:[{
value
:
0
,
label
:
"
否
"
},{
value
:
1
,
label
:
"
是
"
}],
addTeamModal
:
!
1
,
searchValue
:
""
,
search
:
""
,
promiseAllArray
:[],
drawerObject
:{},
teamDrawer
:
!
1
,
drawerColumn
:[{
title
:
"
姓名
"
,
key
:
"
name
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
成员工号
"
,
key
:
"
card_name
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
是否为教师
"
,
key
:
"
is_tea
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
150
},{
title
:
"
是否为指导教师
"
,
key
:
"
is_lead
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
班级
"
,
key
:
"
classname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
部门
"
,
key
:
"
dept
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
200
,
fixed
:
"
right
"
,
show
:
!
0
,
slot
:
"
action
"
}],
drawerData
:[],
grid
:{
xl
:
8
,
lg
:
12
,
md
:
24
,
sm
:
24
,
xs
:
24
},
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
align
:
"
center
"
,
show
:
!
0
,
width
:
80
},{
title
:
"
团队名称
"
,
key
:
"
teamname
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
人数
"
,
key
:
"
num
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
100
},{
title
:
"
是否获奖
"
,
key
:
"
is_win
"
,
align
:
"
center
"
,
show
:
!
0
,
minWidth
:
120
},{
title
:
"
操作
"
,
align
:
"
center
"
,
minWidth
:
230
,
slot
:
"
action
"
}],
loading
:
!
1
,
tableData
:[],
tableSize
:
"
default
"
,
tableFullscreen
:
!
1
,
total
:
0
,
collapse
:
!
1
,
params
:{
pageIndex
:
1
,
pageSize
:
10
,
college_id
:
""
,
grade
:
""
,
classId_Name
:
""
,
status
:
""
},
init
:{
page_size
:
10
,
page_index
:
1
,
teamname
:
""
,
total
:
0
}}},
created
:
function
(){},
mounted
:
function
(){
this
.
getTeamList
()},
methods
:{
searchButton
:
function
(){
this
.
modalSelect
.
condition
=
this
.
modalSelect
.
searchValue
,
this
.
modalSelect
.
page_index
=
1
,
this
.
modalSelect1
.
condition
=
this
.
modalSelect1
.
searchValue
,
this
.
modalSelect1
.
page_index
=
1
,
this
.
getTorS
(),
this
.
getTorS1
()},
searchReset
:
function
(){
this
.
modalSelect
.
condition
=
""
,
this
.
modalSelect
.
searchValue
=
""
,
this
.
modalSelect
.
page_index
=
1
,
this
.
modalSelect
.
page_size
=
10
,
this
.
modalSelect
.
sArray
=
[],
this
.
modalSelect
.
pageKey
++
,
this
.
getTorS
()},
searchReset1
:
function
(){
this
.
modalSelect1
.
searchValue
=
""
,
this
.
modalSelect1
.
checkboxValue
=
""
,
this
.
modalSelect1
.
condition
=
""
,
this
.
modalSelect1
.
page_index
=
1
,
this
.
modalSelect1
.
page_size
=
10
,
this
.
modalSelect1
.
tArray
=
[],
this
.
modalSelect1
.
pageKey
++
,
this
.
getTorS1
()},
modalTableSelectCancel1
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect1
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect1
.
tArray
.
push
(
e
.
tid
)}))},
modalTableSelectAll1
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect1
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect1
.
tArray
.
push
(
e
.
tid
)}))},
modalTableSelectAllCancel1
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect1
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect1
.
tArray
.
push
(
e
.
tid
)}))},
modalTableSelect1
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect1
.
tArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect1
.
tArray
.
push
(
e
.
tid
)}))},
modalTableSelectCancel
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect
.
sArray
.
push
(
e
.
sid
)}))},
modalTableSelectAll
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect
.
sArray
.
push
(
e
.
sid
)}))},
modalTableSelectAllCancel
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect
.
sArray
.
push
(
e
.
sid
)}))},
modalTableSelect
:
function
(
e
,
t
){
var
a
=
this
;
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
modalSelect
.
sArray
=
[],
e
.
map
((
function
(
e
,
t
){
a
.
modalSelect
.
sArray
.
push
(
e
.
sid
)}))},
getTorS
:
function
(){
var
e
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
=
{
page_index
:
this
.
modalSelect
.
page_index
,
page_size
:
this
.
modalSelect
.
page_size
,
condition
:
this
.
modalSelect
.
condition
},
e
.
next
=
3
,
o
[
"
ob
"
](
t
);
case
3
:
a
=
e
.
sent
,
this
.
modalSelect
.
sList
=
a
.
response
.
data
,
this
.
modalSelect
.
total
=
a
.
response
.
data_count
;
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
getTorS1
:
function
(){
var
e
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
=
{
page_index
:
this
.
modalSelect1
.
page_index
,
page_size
:
this
.
modalSelect1
.
page_size
,
condition
:
this
.
modalSelect1
.
condition
},
e
.
next
=
3
,
o
[
"
sb
"
](
t
);
case
3
:
a
=
e
.
sent
,
this
.
modalSelect1
.
sList
=
a
.
response
.
data
,
this
.
modalSelect1
.
total
=
a
.
response
.
data_count
;
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
currentPage2
:
function
(
e
){
this
.
modalSelect1
.
page_index
=
e
,
this
.
getTorS1
()},
currentPageCount2
:
function
(
e
){
this
.
modalSelect1
.
page_size
=
e
,
this
.
getTorS1
()},
currentPage1
:
function
(
e
){
this
.
modalSelect
.
page_index
=
e
,
this
.
getTorS
()},
currentPageCount1
:
function
(
e
){
this
.
modalSelect
.
page_size
=
e
,
this
.
getTorS
()},
drawerDel
:
function
(){
var
e
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
o
[
"
ic
"
]({
teammembersid
:
t
.
teammembersid
});
case
2
:
e
.
sent
,
this
.
detailed
({
teamid
:
t
.
team_id
});
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
drawerCancel
:
function
(
e
){
this
.
$Message
.
info
(
"
取消
"
)},
studentSelect
:
function
(
e
){},
handleReset
:
function
(
e
){
switch
(
e
){
case
"
s
"
:
this
.
searchReset
(),
this
.
formValidate
.
student
=
[];
break
;
case
"
t
"
:
this
.
formValidate
.
teacher
=
[],
this
.
searchReset1
();
break
}},
handleSubmit
:
function
(){
var
e
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
a
,
n
,
i
,
l
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
e
.
t0
=
t
,
e
.
next
=
"
s
"
===
e
.
t0
?
3
:
"
t
"
===
e
.
t0
?
13
:
27
;
break
;
case
3
:
return
a
=
{
team_id
:
this
.
formValidate
.
currentTeamId
,
is_tea
:
0
,
is_lead
:
0
,
id_list
:
this
.
modalSelect
.
sArray
},
e
.
next
=
6
,
o
[
"
jc
"
](
a
);
case
6
:
return
n
=
e
.
sent
,
c
[
"
e
"
](
n
),
e
.
next
=
10
,
this
.
getTeamList
();
case
10
:
return
this
.
addTeamModal
=!
1
,
this
.
modalSelect
.
sArray
=
[],
e
.
abrupt
(
"
break
"
,
27
);
case
13
:
return
i
=
{
team_id
:
this
.
formValidate
.
currentTeamId
,
is_tea
:
1
,
is_lead
:
this
.
modalSelect1
.
checkboxValue
,
id_list
:
this
.
modalSelect1
.
tArray
},
e
.
next
=
16
,
o
[
"
jc
"
](
i
);
case
16
:
if
(
l
=
e
.
sent
,
1
===
l
.
code
){
e
.
next
=
21
;
break
}
this
.
$Message
.
error
(
l
.
msg_detail
),
e
.
next
=
26
;
break
;
case
21
:
return
c
[
"
e
"
](
l
),
e
.
next
=
24
,
this
.
getTeamList
();
case
24
:
this
.
addTeamModal
=!
1
,
this
.
modalSelect1
.
tArray
=
[];
case
26
:
return
e
.
abrupt
(
"
break
"
,
27
);
case
27
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
updateTeamFunOk
:
function
(){
var
e
=
this
;
this
.
$refs
[
"
formValidate4
"
].
validate
(
function
(){
var
t
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
a
){
var
n
,
i
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
a
){
t
.
next
=
9
;
break
}
return
n
=
{
teamid
:
e
.
formValidate
.
teamid
,
teamname
:
e
.
formValidate
.
updateTeamName
,
num
:
e
.
formValidate
.
num
,
is_win
:
e
.
formValidate
.
updateIs_winValue
},
t
.
next
=
4
,
o
[
"
kc
"
](
n
);
case
4
:
return
i
=
t
.
sent
,
c
[
"
e
"
](
i
),
t
.
next
=
8
,
e
.
getTeamList
();
case
8
:
e
.
updateTeamModal
=!
1
;
case
9
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}())},
updateTeamInfo
:
function
(
e
){
console
.
log
(
"
🚀🚀🚀,
"
,
e
),
this
.
formValidate
.
teamName
=
e
.
teamName
,
this
.
formValidate
.
is_winValue
=
e
.
is_win
,
this
.
formValidate
.
teamid
=
e
.
teamid
,
this
.
formValidate
.
num
=
e
.
num
,
this
.
updateTeamModal
=!
0
},
addTeamPeople
:
function
(){
var
e
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
formValidate
.
currentTeamId
=
t
.
teamid
,
e
.
next
=
3
,
this
.
getTorS
();
case
3
:
e
.
sent
,
this
.
getTorS1
(),
this
.
addTeamModal
=!
0
;
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
addTeamOk
:
function
(){},
addTeamCancel
:
function
(){},
searchFun
:
function
(){
this
.
init
.
teamname
=
this
.
searchValue
,
this
.
init
.
page_index
=
1
,
this
.
getTeamList
()},
detailed
:
function
(){
var
e
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
e
.
next
=
3
,
o
[
"
ub
"
]({
teamid
:
t
.
teamid
});
case
3
:
a
=
e
.
sent
,
this
.
drawerObject
=
a
.
response
,
c
[
"
e
"
](
a
),
this
.
teamDrawer
=!
0
;
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
getTeamList
:
function
(){
var
e
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
loading
=!
0
,
t
=
{
teamname
:
this
.
init
.
teamname
,
page_index
:
this
.
init
.
page_index
,
page_size
:
this
.
init
.
page_size
},
e
.
next
=
4
,
o
[
"
vb
"
](
t
);
case
4
:
a
=
e
.
sent
,
this
.
tableData
=
a
.
response
.
data
,
this
.
init
.
total
=
a
.
response
.
data_count
,
this
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
createTeamFunOk
:
function
(){
var
e
=
this
;
this
.
$refs
[
"
formValidate3
"
].
validate
(
function
(){
var
t
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
a
){
var
n
,
i
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
a
){
t
.
next
=
8
;
break
}
return
n
=
{
teamid
:
e
.
formValidate
.
teamid
,
teamname
:
e
.
formValidate
.
teamName
,
num
:
1
,
is_win
:
0
},
t
.
next
=
4
,
o
[
"
kc
"
](
n
);
case
4
:
i
=
t
.
sent
,
c
[
"
e
"
](
i
),
e
.
getTeamList
(),
e
.
createTeamModal
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}())},
createTeamFun
:
function
(){
this
.
formValidate
.
teamid
=
""
,
this
.
formValidate
.
teamName
=
""
,
this
.
formValidate
.
is_winValue
=
""
,
this
.
createTeamModal
=!
0
},
edit
:
function
(
e
){
this
.
$refs
.
addEdit
.
edit
(
e
)},
del
:
function
(){
var
e
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
a
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
o
[
"
hc
"
]({
teamid
:
t
.
teamid
});
case
2
:
return
a
=
e
.
sent
,
c
[
"
e
"
](
a
),
e
.
next
=
6
,
this
.
getTeamList
();
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
cancel
:
function
(){
this
.
$Message
.
info
(
"
取消
"
)},
handleChangePage
:
function
(
e
){
this
.
init
.
page_index
=
e
,
this
.
getTeamList
()},
handleChangePageSize
:
function
(
e
){
this
.
current
=
1
,
this
.
init
.
page_size
=
e
,
this
.
getTeamList
()},
promiseAll
:
function
(){
var
e
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
Promise
.
all
([
new
Promise
(
function
(){
var
e
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
,
a
){
var
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
o
[
"
rb
"
]();
case
2
:
n
=
e
.
sent
,
t
(
n
.
response
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
return
function
(
t
,
a
){
return
e
.
apply
(
this
,
arguments
)}}()),
new
Promise
(
function
(){
var
e
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
,
a
){
var
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
o
[
"
nb
"
]();
case
2
:
n
=
e
.
sent
,
t
(
n
.
response
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
return
function
(
t
,
a
){
return
e
.
apply
(
this
,
arguments
)}}()),
new
Promise
(
function
(){
var
e
=
Object
(
l
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
,
a
){
var
n
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
o
[
"
sc
"
]();
case
2
:
n
=
e
.
sent
,
t
(
n
.
response
);
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
return
function
(
t
,
a
){
return
e
.
apply
(
this
,
arguments
)}}())]);
case
2
:
t
=
e
.
sent
,
this
.
promiseAllArray
=
t
;
case
4
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}()}},
u
=
d
,
m
=
(
a
(
"
452c
"
),
a
(
"
2877
"
)),
h
=
Object
(
m
[
"
a
"
])(
u
,
n
,
i
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
h
.
exports
},
"
452c
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
(
"
08a0
"
)},
"
5df3
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
=
a
(
"
02f4
"
)(
!
0
);
a
(
"
01f9
"
)(
String
,
"
String
"
,(
function
(
e
){
this
.
_t
=
String
(
e
),
this
.
_i
=
0
}),(
function
(){
var
e
,
t
=
this
.
_t
,
a
=
this
.
_i
;
return
a
>=
t
.
length
?{
value
:
void
0
,
done
:
!
0
}:(
e
=
n
(
t
,
a
),
this
.
_i
+=
e
.
length
,{
value
:
e
,
done
:
!
1
})}))}}]);
\ No newline at end of file
dist/js/chunk-fb6ae7e2.5c45a9e0.js
已删除
100644 → 0
浏览文件 @
1d645b1e
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-fb6ae7e2
"
],{
2150
:
function
(
e
,
t
,
n
){},
"
63fe
"
:
function
(
e
,
t
,
n
){},
bf53
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,{
staticClass
:
"
container
"
},[
n
(
"
Card
"
,{
staticStyle
:{
width
:
"
50%
"
},
scopedSlots
:
e
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
h2
"
,{
staticStyle
:{
"
text-align
"
:
"
center
"
}},[
e
.
_v
(
"
\n
竞赛公告编辑
"
)])]},
proxy
:
!
0
}])},[
n
(
"
Form
"
,{
ref
:
"
formValidate
"
,
attrs
:{
model
:
e
.
formValidate
,
rules
:
e
.
ruleValidate
,
"
label-width
"
:
80
}},[
n
(
"
Row
"
,[
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
公告标题
"
,
prop
:
"
title
"
}},[
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入公告标题
"
},
model
:{
value
:
e
.
formValidate
.
title
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
title
"
,
t
)},
expression
:
"
formValidate.title
"
}})],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
12
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
公告类型
"
,
prop
:
"
typeid
"
}},[
n
(
"
Select
"
,{
attrs
:{
placeholder
:
"
请选择公告类型
"
},
model
:{
value
:
e
.
formValidate
.
typeid
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formValidate
,
"
typeid
"
,
t
)},
expression
:
"
formValidate.typeid
"
}},
e
.
_l
(
e
.
noticeSelect
,(
function
(
t
,
r
){
return
n
(
"
Option
"
,{
key
:
r
,
attrs
:{
value
:
t
.
id
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)])})),
1
)],
1
)],
1
)],
1
),
n
(
"
richText
"
,{
attrs
:{
value
:
e
.
formValidate
.
content
,
minHeight
:
500
},
on
:{
setRichTextValue
:
e
.
getRichTextValue
}}),
n
(
"
Upload
"
,{
attrs
:{
multiple
:
!
0
,
"
before-upload
"
:
e
.
beforeUpload
,
"
on-error
"
:
e
.
onError
,
"
on-success
"
:
e
.
onsuccess
,
"
on-format-error
"
:
e
.
onFormatError
,
"
show-upload-list
"
:
!
0
,
type
:
"
drag
"
,
action
:
""
}},[
n
(
"
div
"
,{
staticStyle
:{
padding
:
"
20px 0
"
,
width
:
"
100%
"
}},[
n
(
"
Icon
"
,{
staticStyle
:{
color
:
"
#3399ff
"
},
attrs
:{
type
:
"
ios-cloud-upload
"
,
size
:
"
52
"
}}),
n
(
"
p
"
,[
e
.
_v
(
"
附件上传
"
)])],
1
)]),
e
.
_l
(
e
.
files_list
,(
function
(
t
,
r
){
return
n
(
"
div
"
,{
key
:
r
,
staticClass
:
"
filelist
"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
file_name
)
+
"
\n
"
),
t
.
file_name
?
n
(
"
Icon
"
,{
staticClass
:
"
fileddelete
"
,
attrs
:{
type
:
"
ios-trash
"
},
on
:{
click
:
function
(
n
){
return
e
.
fileDelete
(
t
)}}}):
e
.
_e
()],
1
)})),
n
(
"
FormItem
"
,[
n
(
"
Button
"
,{
staticStyle
:{
"
margin-right
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
handleSubmit
}},[
e
.
_v
(
"
保存
\n
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
8px
"
},
on
:{
click
:
e
.
handleReset
}},[
e
.
_v
(
"
重置
"
)])],
1
)],
2
)],
1
)],
1
)},
i
=
[],
a
=
(
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
o
=
n
(
"
967e
"
),
s
=
n
.
n
(
o
),
l
=
n
(
"
61be
"
),
c
=
n
(
"
7f6b
"
),
u
=
n
(
"
2ef0
"
),
f
=
n
.
n
(
u
),
p
=
n
(
"
9446
"
),
d
=
{
components
:{
richText
:
p
[
"
a
"
]},
data
:
function
(){
return
{
noticeIsTop
:[{
value
:
0
,
name
:
"
否
"
},{
value
:
1
,
name
:
"
是
"
}],
noticeSelect
:[],
teamSelect
:[],
competitionNameArray
:[],
approval_stateArray
:[{
value
:
0
,
label
:
"
未审批
"
},{
value
:
1
,
label
:
"
审批中
"
},{
value
:
2
,
label
:
"
审批通过
"
},{
value
:
3
,
label
:
"
审批不通过
"
}],
levelArray
:[{
value
:
1
,
label
:
"
国家级
"
},{
value
:
2
,
label
:
"
省一级
"
},{
value
:
3
,
label
:
"
省二级
"
}],
wayArray
:[{
value
:
0
,
label
:
"
团队
"
},{
value
:
1
,
label
:
"
个人
"
}],
competitionnameValue
:
""
,
formValidate
:{
noticeid
:
""
,
title
:
""
,
typeid
:
""
,
content
:
""
},
module
:
""
,
files_list
:[],
ruleValidate
:{
title
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
typeid
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
is_top
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
competitionname
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
sponsor
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
race_level
:[{
type
:
"
number
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
team_id
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
change
"
}],
certificate_name
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}],
certificate_description
:[{
type
:
"
string
"
,
required
:
!
0
,
message
:
"
该项不能为空
"
,
trigger
:
"
blur
"
}]}}},
computed
:{},
watch
:{
"
formValidate.content
"
:
function
(
e
,
t
){
console
.
log
(
"
🚀🚀newValue🚀,
"
,
e
)}},
methods
:{
getRichTextValue
:
function
(
e
){
this
.
formValidate
.
content
=
e
},
fileDelete
:
function
(
e
){
var
t
=
this
;
this
.
files_list
.
map
((
function
(
n
,
r
){
n
.
id
===
e
.
id
&&
t
.
files_list
.
splice
(
r
,
1
)}))},
onError
:
function
(
e
,
t
,
n
){
console
.
log
(
"
🚀🚀🚀,onError
"
,
e
,
t
,
n
)},
onsuccess
:
function
(
e
,
t
,
n
){
console
.
log
(
"
🚀🚀🚀,onsuccess
"
,
e
,
t
,
n
)},
onFormatError
:
function
(
e
,
t
,
n
){
this
.
$Message
.
info
(
"
文件类型错误!
"
)},
beforeUpload
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(
t
){
var
n
,
r
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
n
=
new
FormData
,
n
.
append
(
"
file
"
,
t
),
e
.
next
=
5
,
c
[
"
tc
"
](
this
.
module
,
n
);
case
5
:
return
r
=
e
.
sent
,
this
.
files_list
.
push
(
r
.
response
),
l
[
"
e
"
](
r
),
e
.
abrupt
(
"
return
"
,
!
1
);
case
9
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
handleSubmit
:
function
(){
var
e
=
this
;
this
.
$refs
[
"
formValidate
"
].
validate
(
function
(){
var
t
=
Object
(
a
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(
n
){
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
n
){
t
.
next
=
3
;
break
}
return
t
.
next
=
3
,
l
[
"
c
"
](
Object
(
a
[
"
a
"
])(
s
.
a
.
mark
((
function
t
(){
var
n
,
r
;
return
s
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
.
formValidate
.
files_list
=
e
.
files_list
,
n
=
f
.
a
.
cloneDeep
(
e
.
formValidate
),
t
.
next
=
4
,
c
[
"
Jb
"
](
n
);
case
4
:
return
r
=
t
.
sent
,
setTimeout
((
function
(){
localStorage
.
setItem
(
"
updataEvent
"
,
"
getDataEvent
"
),
window
.
close
()}),
1500
),
t
.
abrupt
(
"
return
"
,
r
);
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
3
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
return
function
(
e
){
return
t
.
apply
(
this
,
arguments
)}}())},
handleReset
:
function
(){
this
.
formValidate
=
{}},
getCompetiotionName
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
,
n
,
r
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
e
.
next
=
2
,
c
[
"
hb
"
]();
case
2
:
return
t
=
e
.
sent
,
this
.
competitionNameArray
=
t
.
response
,
e
.
next
=
6
,
c
[
"
lc
"
]();
case
6
:
return
n
=
e
.
sent
,
this
.
teamSelect
=
n
.
response
,
e
.
next
=
10
,
c
[
"
Nb
"
]();
case
10
:
r
=
e
.
sent
,
this
.
noticeSelect
=
r
.
response
;
case
12
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}(),
GetNoticeInfo
:
function
(){
var
e
=
Object
(
a
[
"
a
"
])(
s
.
a
.
mark
((
function
e
(){
var
t
;
return
s
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
this
.
$Spin
.
show
(),
e
.
next
=
3
,
c
[
"
X
"
]({
id
:
this
.
formValidate
.
noticeid
});
case
3
:
t
=
e
.
sent
;
try
{
this
.
formValidate
=
t
.
response
.
noticeInfo
,
this
.
files_list
=
t
.
response
.
fileList
,
this
.
$Spin
.
hide
()}
catch
(
n
){
this
.
$Spin
.
hide
()}
case
5
:
case
"
end
"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}()},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
getCompetiotionName
(),
this
.
formValidate
.
noticeid
=
this
.
$route
.
query
.
id
,
this
.
module
=
this
.
$route
.
query
.
remark
,
console
.
log
(
"
🚀🚀🚀,
"
,
this
.
module
),
this
.
GetNoticeInfo
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
m
=
d
,
h
=
(
n
(
"
c65a
"
),
n
(
"
efa8
"
),
n
(
"
2877
"
)),
g
=
Object
(
h
[
"
a
"
])(
m
,
r
,
i
,
!
1
,
null
,
null
,
null
);
t
[
"
default
"
]
=
g
.
exports
},
c65a
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
(
"
63fe
"
)},
efa8
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
(
"
2150
"
)}}]);
\ No newline at end of file
dist/js/chunk-vendors.13fecbcb.js
已删除
100644 → 0
浏览文件 @
1d645b1e
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
package-lock.json
浏览文件 @
d2b1f20c
...
...
@@ -15,6 +15,7 @@
"better-scroll": "^1.12.1",
"dayjs": "^1.8.9",
"echarts": "^4.1.0",
"element-ui": "^2.15.14",
"js-cookie": "^2.2.0",
"lodash": "^4.17.21",
"lowdb": "^1.0.0",
...
...
@@ -3700,6 +3701,11 @@
"node": ">=0.10.0"
}
},
"node_modules/babel-helper-vue-jsx-merge-props": {
"version": "2.0.3",
"resolved": "https://registry.npmmirror.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz",
"integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg=="
},
"node_modules/babel-helpers": {
"version": "6.24.1",
"resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
...
...
@@ -6425,7 +6431,6 @@
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.3.2.tgz",
"integrity": "sha512-qjMjTrk+RKv/sp4RPDpV5CnKhxjFI9p+GkLBOls5A8EEElldYWCWA9zceAkmfd0xIo2aU1nxiaLFoiya2sb6Cg==",
"dev": true,
"engines": {
"node": ">=0.10.0"
}
...
...
@@ -7114,6 +7119,30 @@
"batch-processor": "1.0.0"
}
},
"node_modules/element-ui": {
"version": "2.15.14",
"resolved": "https://registry.npmmirror.com/element-ui/-/element-ui-2.15.14.tgz",
"integrity": "sha512-2v9fHL0ZGINotOlRIAJD5YuVB8V7WKxrE9Qy7dXhRipa035+kF7WuU/z+tEmLVPBcJ0zt8mOu1DKpWcVzBK8IA==",
"dependencies": {
"async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0",
"deepmerge": "^1.2.0",
"normalize-wheel": "^1.0.1",
"resize-observer-polyfill": "^1.5.0",
"throttle-debounce": "^1.0.1"
},
"peerDependencies": {
"vue": "^2.5.17"
}
},
"node_modules/element-ui/node_modules/async-validator": {
"version": "1.8.5",
"resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-1.8.5.tgz",
"integrity": "sha512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA==",
"dependencies": {
"babel-runtime": "6.x"
}
},
"node_modules/elliptic": {
"version": "6.5.4",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
...
...
@@ -14392,6 +14421,11 @@
"node": ">=4"
}
},
"node_modules/normalize-wheel": {
"version": "1.0.1",
"resolved": "https://registry.npmmirror.com/normalize-wheel/-/normalize-wheel-1.0.1.tgz",
"integrity": "sha512-1OnlAPZ3zgrk8B91HyRj+eVv+kS5u+Z0SCsak6Xil/kmgEia50ga7zfkumayonZrImffAxPU/5WcyGhzetHNPA=="
},
"node_modules/npm-path": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz",
...
...
@@ -17290,6 +17324,11 @@
"integrity": "sha512-b/6tFZCmRhtBMa4xGqiiRp9jh9Aqi2A687Lo265cN0/QohJQEBPiQ52f4QB6i0eF3yp3hmLL21LSGBcML2dlxA==",
"dev": true
},
"node_modules/resize-observer-polyfill": {
"version": "1.5.1",
"resolved": "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
"integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
},
"node_modules/resolve": {
"version": "1.22.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz",
...
...
@@ -19741,6 +19780,14 @@
"integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=",
"dev": true
},
"node_modules/throttle-debounce": {
"version": "1.1.0",
"resolved": "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-1.1.0.tgz",
"integrity": "sha512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg==",
"engines": {
"node": ">=4"
}
},
"node_modules/through": {
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
...
...
@@ -25084,6 +25131,11 @@
}
}
},
"babel-helper-vue-jsx-merge-props": {
"version": "2.0.3",
"resolved": "https://registry.npmmirror.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz",
"integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg=="
},
"babel-helpers": {
"version": "6.24.1",
"resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
...
...
@@ -27429,8 +27481,7 @@
"deepmerge": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.3.2.tgz",
"integrity": "sha512-qjMjTrk+RKv/sp4RPDpV5CnKhxjFI9p+GkLBOls5A8EEElldYWCWA9zceAkmfd0xIo2aU1nxiaLFoiya2sb6Cg==",
"dev": true
"integrity": "sha512-qjMjTrk+RKv/sp4RPDpV5CnKhxjFI9p+GkLBOls5A8EEElldYWCWA9zceAkmfd0xIo2aU1nxiaLFoiya2sb6Cg=="
},
"default-gateway": {
"version": "5.0.5",
...
...
@@ -28004,6 +28055,29 @@
"batch-processor": "1.0.0"
}
},
"element-ui": {
"version": "2.15.14",
"resolved": "https://registry.npmmirror.com/element-ui/-/element-ui-2.15.14.tgz",
"integrity": "sha512-2v9fHL0ZGINotOlRIAJD5YuVB8V7WKxrE9Qy7dXhRipa035+kF7WuU/z+tEmLVPBcJ0zt8mOu1DKpWcVzBK8IA==",
"requires": {
"async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0",
"deepmerge": "^1.2.0",
"normalize-wheel": "^1.0.1",
"resize-observer-polyfill": "^1.5.0",
"throttle-debounce": "^1.0.1"
},
"dependencies": {
"async-validator": {
"version": "1.8.5",
"resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-1.8.5.tgz",
"integrity": "sha512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA==",
"requires": {
"babel-runtime": "6.x"
}
}
}
},
"elliptic": {
"version": "6.5.4",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
...
...
@@ -34063,6 +34137,11 @@
"sort-keys": "^1.0.0"
}
},
"normalize-wheel": {
"version": "1.0.1",
"resolved": "https://registry.npmmirror.com/normalize-wheel/-/normalize-wheel-1.0.1.tgz",
"integrity": "sha512-1OnlAPZ3zgrk8B91HyRj+eVv+kS5u+Z0SCsak6Xil/kmgEia50ga7zfkumayonZrImffAxPU/5WcyGhzetHNPA=="
},
"npm-path": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz",
...
...
@@ -36497,6 +36576,11 @@
"integrity": "sha512-b/6tFZCmRhtBMa4xGqiiRp9jh9Aqi2A687Lo265cN0/QohJQEBPiQ52f4QB6i0eF3yp3hmLL21LSGBcML2dlxA==",
"dev": true
},
"resize-observer-polyfill": {
"version": "1.5.1",
"resolved": "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
"integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
},
"resolve": {
"version": "1.22.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz",
...
...
@@ -38550,6 +38634,11 @@
"integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=",
"dev": true
},
"throttle-debounce": {
"version": "1.1.0",
"resolved": "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-1.1.0.tgz",
"integrity": "sha512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg=="
},
"through": {
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
package.json
浏览文件 @
d2b1f20c
...
...
@@ -20,6 +20,7 @@
"
better-scroll
"
:
"
^1.12.1
"
,
"
dayjs
"
:
"
^1.8.9
"
,
"
echarts
"
:
"
^4.1.0
"
,
"
element-ui
"
:
"
^2.15.14
"
,
"
js-cookie
"
:
"
^2.2.0
"
,
"
lodash
"
:
"
^4.17.21
"
,
"
lowdb
"
:
"
^1.0.0
"
,
...
...
src/configState/index.js
浏览文件 @
d2b1f20c
...
...
@@ -19,10 +19,10 @@ export const publicState = {
"
1
"
:
'
审批中
'
,
"
2
"
:
'
审批通过
'
,
"
3
"
:
'
审批不通过
'
,
"
4
"
:
'
驳
回
'
,
"
4
"
:
'
退
回
'
,
},
completeFlow
:
{
action_type
:
[
'
待办
'
,
'
发送
'
,
'
退会
'
,
'
驳
回
'
,
'
结束
'
,
'
取消
'
,
'
退回发起人
'
],
action_type
:
[
'
待办
'
,
'
发送
'
,
'
退会
'
,
'
退
回
'
,
'
结束
'
,
'
取消
'
,
'
退回发起人
'
],
color
:
[
'
default
'
,
'
success
'
,
'
warning
'
,
'
error
'
,
'
default
'
,
'
primary
'
,
'
volcano
'
]
}
...
...
src/hook/index.js
浏览文件 @
d2b1f20c
...
...
@@ -17,6 +17,25 @@ export function publicConfirm(publicFunction) {
});
}
export
function
saveForm
(
ok
,
cancel
)
{
// 公共弹窗删除
Modal
.
confirm
({
title
:
'
警告
'
,
content
:
'
<p>是否保存表单再退出?</p>
'
,
cancelText
:
"
否
"
,
okText
:
'
是
'
,
onOk
:
async
()
=>
{
// 接收需执行的方法
await
ok
()
console
.
log
(
"
🚀🚀🚀,1
"
)
},
onCancel
:
async
()
=>
{
// 接收需执行的方法
await
cancel
()
},
});
}
export
function
publicMessage
(
res
)
{
// 弹窗封装
if
(
res
.
code
!==
1
)
{
...
...
src/main.js
浏览文件 @
d2b1f20c
...
...
@@ -37,6 +37,18 @@ import {getHeaderName, getMenuSider, getSiderSubmenu} from '@/libs/system';
import
iLink
from
'
@/components/link
'
;
import
iFrame
from
'
@/components/frame
'
;
import
{
Button
,
Select
}
from
'
element-ui
'
;
Vue
.
component
(
'
el-button
'
,
Button
)
Vue
.
component
(
'
el-select
'
,
Select
)
Vue
.
use
(
Button
)
Vue
.
use
(
Select
)
/* 或写为
* Vue.use(Button)
* Vue.use(Select)
*/
// 使用样式,修改主题可以在 styles 目录下创建新的主题包并修改 iView 默认的 less 变量
// 参考 https://www.iviewui.com/docs/guide/theme
import
'
./styles/index.less
'
;
...
...
@@ -48,6 +60,7 @@ import VueImagePreview from 'vue-image-preview';
import
pdf
from
'
vue-pdf
'
import
Cookies
from
"
js-cookie
"
;
import
{
publicState
}
from
"
@/configState
"
;
import
*
as
hook
from
'
@/hook/index
'
if
(
window
)
window
.
$t
=
(
key
,
value
)
=>
i18n
.
t
(
key
,
value
);
Vue
.
prototype
.
protocolHost
=
'
https://asc.hnasct.cn
'
...
...
@@ -55,6 +68,7 @@ Vue.prototype.getUserRole = () => {
let
info
=
JSON
.
parse
(
decodeURIComponent
(
Cookies
.
get
(
'
admin-competition-userinfo
'
)))
return
info
?
info
.
role
[
0
].
split
(
''
).
includes
(
'
员
'
)
:
false
}
Vue
.
prototype
.
hooks
=
hook
Vue
.
prototype
.
publicState
=
publicState
Vue
.
use
(
plugins
);
Vue
.
use
(
ViewUI
,
{
...
...
src/pages/CompetitionSign/components/UpdateSignModal.vue
0 → 100644
浏览文件 @
d2b1f20c
<
template
>
<div
class=
"container"
>
<div
style=
"width: 100%;height: 90vh;overflow-y: auto;"
>
<Card
style=
"width: 100%;height: auto;"
>
<template
#title
><h2
style=
"text-align: center"
>
参赛报名
</h2></
template
>
<Form
ref=
"formValidate"
:model=
"formValidate"
:rules=
"ruleValidate"
:label-width=
"130"
>
<FormItem
label=
"赛事编号"
prop=
"report_code"
>
<div
style=
"display: flex"
>
<!-- <Input v-model="formValidate.report_code" :disabled="true" placeholder="请输入赛事编号"></Input>-->
<!-- <Button @click="addAddressManually" style="margin-left: 1vw" type="primary">手动添加</Button>-->
<Select
class=
"selectCompetitionNumber"
ref=
"select"
@
on-open-change=
"onOpenChange"
v-model=
"formValidate.report_code"
@
on-change=
"competitionSelectName"
:placeholder=
"formValidate.report_code"
>
<!-- <Option v-for="(item,index) in competitionNameArray" :key="index"-->
<!-- :value="item.id">-->
<!-- {{ item.name }}-->
<!-- </Option>-->
<Card>
<
template
#title
>
<div
style=
"display: flex;justify-content: space-between;align-items: center;"
>
<!--
<h3>
选择编号
</h3>
-->
<Input
style=
"width:100%"
v-model=
"contestItem.condition"
placeholder=
"请输入编号或赛项名称、赛事名称搜索..."
>
<template
#prepend
>
<Icon
type=
"md-search"
/>
</
template
>
</Input>
</div>
</template>
<Table
:columns=
"columnsCompetitionItem"
:data=
"dataCompetitionItem"
:loading=
"contestItem.loading"
:key=
"tableKeys"
>
<!-- <template #report_code="{row}">-->
<!-- {{ row.report_code + '_' + row.competitionname + '_' + row.competitionsubitem_name }}-->
<!-- </template>-->
<
template
#radio
="{
row
}"
>
<input
style=
"width: 30px;height: 30px;cursor: pointer;accent-color: #1e93ff"
type=
"radio"
:value=
"row.name"
@
click=
"tableRadio(row)"
name=
"name"
>
</input>
</
template
>
</Table>
<div
class=
"ivu-text-left ivu-mt"
>
<div
style=
"display: flex"
>
<Page
:total=
"contestItem.total"
:current.sync=
"contestItem.pageIndex"
show-total
:page-size=
"contestItem.pageSize"
@
on-change=
"contestItemhandleChangePage"
@
on-page-size-change=
"contestItemhandleChangePageSize"
/>
<Button
type=
"primary"
@
click=
"saveTheEventSingleOption"
style=
"width: 15%;margin-left: auto"
>
确定
</Button>
</div>
</div>
</Card>
<!-- <Option v-for="(item,index) in competitionNameArray" :key="index"-->
<!-- :value="item.id">-->
<!-- {{ item.name }}-->
<!-- </Option>-->
</Select>
</div>
</FormItem>
<FormItem
label=
"赛事名称"
prop=
"competitionname"
>
<Input
v-model=
"formValidate.competitionname"
:disabled=
"true"
placeholder=
"请输入赛事名称"
></Input>
<!-- <Select v-model="formValidate.competitionname" :disabled="true" @on-change="competitionSelectName"-->
<!-- placeholder="赛事名称">-->
<!-- <Option v-for="(item,index) in competitionNameArray" :key="index"-->
<!-- :value="item.id">-->
<!-- {{ item.name }}-->
<!-- </Option>-->
<!-- </Select>-->
</FormItem>
<FormItem
label=
"赛项名称"
prop=
"competitionsubitem_name"
>
<Input
v-model=
"formValidate.competitionsubitem_name"
placeholder=
"请输入赛项名称"
></Input>
</FormItem>
<FormItem
label=
"主办单位"
prop=
"sponsor"
>
<Input
v-model=
"formValidate.sponsor"
:disabled=
"true"
placeholder=
"请输入主办单位"
></Input>
</FormItem>
<FormItem
label=
"赛事级别"
prop=
"competition_level_name1"
>
<Input
v-model=
"formValidate.competition_level_name"
:disabled=
"true"
placeholder=
"请输入赛事级别"
></Input>
<!-- <Select v-model="formValidate.level" :disabled="true" placeholder="请选择赛事级别">-->
<!-- <Option v-for="(item,index) in levelArray" :key="index" :value="item.value">{{ item.label }}</Option>-->
<!-- </Select>-->
</FormItem>
<FormItem
label=
"赛事类型"
prop=
"competition_type_name1"
>
<Input
v-model=
"formValidate.competition_type_name"
:disabled=
"true"
placeholder=
"请输入赛事类型"
></Input>
<!-- <Select v-model="formValidate.level" :disabled="true" placeholder="请选择赛事类型">-->
<!-- <Option v-for="(item,index) in levelArray" :key="index" :value="item.value">{{ item.label }}</Option>-->
<!-- </Select>-->
</FormItem>
<FormItem
label=
"竞赛形式(团/个)"
prop=
"way1"
>
<RadioGroup
v-model=
"formValidate.way"
>
<Radio
v-for=
"(item,index) in wayArray"
:key=
"index"
:label=
"item.value"
>
{{ item.label }}
</Radio>
</RadioGroup>
<!-- <Select v-model="formValidate.way" placeholder="请选择竞赛形式(团/个)">-->
<!-- <Option v-for="(item,index) in wayArray" :disabled="item.value===1" :key="index" :value="item.value">-->
<!-- {{ item.label }}-->
<!-- </Option>-->
<!-- </Select>-->
</FormItem>
<FormItem
label=
"比赛时间"
prop=
"competitionTimeRange1"
>
<DatePicker
v-model=
"formValidate.competitionTimeRange"
@
clearable=
"clearableTime"
@
on-change=
"trainingTime"
type=
"daterange"
:clearable=
"false"
placeholder=
"请选择比赛时间"
style=
"width: 100%"
/>
</FormItem>
<div
:style=
"` max-height:${unfold.height}px;overflow-y: hidden;`"
>
<div
style=
" width: 100%;height: 5vh;display: flex;align-items: center;"
>
<h3>
参赛人员
</h3>
<Button
type=
"primary"
style=
"width: 15%; margin-left: 3vw"
@
click=
"addTeam = true"
>
添加团队
</Button>
<Button
type=
"primary"
style=
"width: 15%; margin-left: 3vw"
@
click=
"addTeamPeopleModal"
>
增加团队队员
</Button>
</div>
<!-- 参赛队伍卡片-->
<Card
style=
"margin:0.5vw "
v-for=
"(item,index) in teamObjectData"
:key=
"index"
>
<
template
#title
>
<h3>
{{
item
.
teanname
}}
(指导教师
<span
style=
"color: #1e93ff"
>
{{
item
.
guide_teacher_list
.
length
}}
</span>
位,参赛教师
<span
style=
"color: #1e93ff"
>
{{
item
.
contestant_teacher_list
.
length
}}
</span>
位,参赛学生
<span
style=
"color: #1e93ff"
>
{{
item
.
student_list
.
length
}}
</span>
位)
</h3>
</
template
>
<
template
#extra
>
<!--
<a
@
click=
"aTeamValue = item;addTeamMembers3.Drawer = true;"
>
增加队员
</a>
-->
<a
@
click=
"deleteTeam(item)"
style=
"color: red;margin-left: 1vw"
>
删除本团队
</a>
</
template
>
<Table
:columns=
"guidecolumnsTeacher"
:data=
"item.guide_teacher_list"
>
<
template
#action
="{
row
}"
>
<a
style=
"color: red"
@
click=
"TeamMembersDel(row)"
>
删除
</a>
</
template
>
</Table>
<Table
:columns=
"columnsTeacher"
:data=
"item.contestant_teacher_list"
>
<
template
#action
="{
row
}"
>
<a
style=
"color: red"
@
click=
"TeamMembersDel(row)"
>
删除
</a>
</
template
>
</Table>
<Table
:columns=
"columnsStudent"
:data=
"item.student_list"
>
<
template
#action
="{
row
}"
>
<a
style=
"color: red"
@
click=
"TeamMembersDel(row)"
>
删除
</a>
</
template
>
</Table>
</Card>
</div>
<!-- 展开卡片-->
<div
class=
"Atext"
>
<!-- 1收起 0展开-->
<a
v-if=
"!!teamObjectData.length"
@
click=
"unfoldTeamCard"
>
<Icon
v-if=
"unfold.State === 0"
type=
"ios-arrow-dropdown-circle"
></Icon>
<Icon
v-else
type=
"ios-arrow-dropup-circle"
/>
{{ unfold.flag[unfold.State] }}
</a>
</div>
<div
style=
"width: 100%;display: flex;"
>
<FormItem
style=
"width: 50%;"
label=
"经费预算"
prop=
"money"
>
<Input
v-model=
"formValidate.money"
placeholder=
"院系经费总额"
>
<
template
#append
>
<span>
不包含课时费(元)
</span>
</
template
>
</Input>
</FormItem>
<FormItem
label=
"计划培训量:"
prop=
"class_hour1"
style=
"width: 50%"
>
<div
style=
"display: flex"
>
<Input
:disabled=
"formValidate.competition_type_name !== 'A类'"
v-model=
"formValidate.class_hour"
placeholder=
"请输入计划培训量"
>
<
template
#append
>
课时
</
template
>
</Input>
</div>
</FormItem>
</div>
<!-- <FormItem label="比赛时间(天数)" prop="competition_time">-->
<!-- <Input style="width: 100%" v-model="formValidate.competition_time"-->
<!-- placeholder="请输入比赛时间(天数)"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛地点" prop="place">-->
<!-- <Input v-model="formValidate.place" placeholder="请输入竞赛地点"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="报名者" prop="sign_up">-->
<!-- <Select v-model="formValidate.sign_up" placeholder="请选择报名者">-->
<!-- <Option v-for="(item,index) in signPeople" :key="index" :value="item.id">-->
<!-- {{ item.name }}-->
<!-- </Option>-->
<!-- </Select>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛文件名(文号)" prop="file_name">-->
<!-- <Input v-model="formValidate.file_name" :disabled="true" placeholder="请输入竞赛文件名(文号)"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛分级" prop="race_level">-->
<!-- <Select v-model="formValidate.race_level" placeholder="请选择赛事级别">-->
<!-- <Option v-for="(item,index) in levelArray" :key="index" :value="item.value">{{ item.label }}</Option>-->
<!-- </Select>-->
<!-- </FormItem>-->
<!-- <FormItem label="参赛队数量(队/人)" prop="arity">-->
<!-- <Input v-model="formValidate.arity" placeholder="请输入参赛队数量(队/人)"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="计划培训量" prop="class_hour">-->
<!-- <Input v-model="formValidate.class_hour" placeholder="请输入计划培训量"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛对应课程" prop="curriculum">-->
<!-- <Input v-model="formValidate.curriculum" placeholder="请输入竞赛对应课程"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛的其他要求" prop="request">-->
<!-- <Input v-model="formValidate.request" type="textarea" :autosize="{minRows: 7,maxRows: 10}"-->
<!-- placeholder="请输入竞赛的其他要求"></Input>-->
<!-- </FormItem>-->
<FormItem
:key=
"fileKey"
>
<div
style=
"display: flex;justify-content: flex-start;box-sizing: border-box"
>
<Upload
style=
"margin-right: 10px"
:multiple=
"false"
:before-upload=
"trainBeforeUpload"
:on-error=
"onError"
:on-success=
"onsuccess"
:on-format-error=
"onFormatError"
:show-upload-list=
"true"
type=
"drag"
action=
""
>
<div
style=
"padding: 20px 30px; width: 100%;"
>
<Icon
type=
"ios-cloud-upload"
size=
"52"
style=
"color: #3399ff"
></Icon>
<p>
培训方案
</p>
</div>
</Upload>
<Upload
style=
"margin-right: 10px"
:multiple=
"false"
:before-upload=
"competitionBeforeUpload"
:on-error=
"onError"
:on-success=
"onsuccess"
:on-format-error=
"onFormatError"
:show-upload-list=
"true"
type=
"drag"
action=
""
>
<div
style=
"padding: 20px 30px; width: 100%;"
>
<Icon
type=
"ios-cloud-upload"
size=
"52"
style=
"color: #3399ff"
></Icon>
<p>
备赛方案
</p>
</div>
</Upload>
<Upload
:multiple=
"false"
:before-upload=
"OtherFilesBeforeUpload"
:on-error=
"onError"
:on-success=
"onsuccess"
:on-format-error=
"onFormatError"
:show-upload-list=
"true"
type=
"drag"
action=
""
>
<div
style=
"padding: 20px 30px; width: 100%;"
>
<Icon
type=
"ios-cloud-upload"
size=
"52"
style=
"color: #3399ff"
></Icon>
<p>
其他附件
</p>
</div>
</Upload>
</div>
<div
class=
"filelist"
v-for=
"(item,index) in formValidate.files_list"
:key=
"index"
>
{{ item.file_name }}
<Icon
v-if=
"item.file_name"
class=
"fileddelete"
@
click=
"fileDelete(item)"
type=
"ios-trash"
/>
</div>
</FormItem>
</Form>
<!-- <Affix style="display: flex;align-items: center; width: 100%;height: 5vh;background-color: #FF9900;">-->
<!-- <span style="font-family: '宋体';margin-left: 1vw;color: white">-->
<!-- 请优先完善参赛报名基础信息保存后,再添加参赛报名团队及成员。-->
<!-- </span>-->
<!-- </Affix>-->
</Card>
</div>
<div
style=
"width: 100%;height: 10vh;"
></div>
<div
style=
" border-top: #2D8CF0 5px solid; background-color: #FFFFFF; display: flex;justify-content: center;align-items: center; width: 100%;height: 8vh;position: absolute;bottom: 1px;"
>
<!-- <Button type="primary" style="width: 12%; margin-right: 2vw"-->
<!-- @click="back">返回-->
<!-- </Button>-->
<Button
:loading=
"saveFlowLoading"
type=
"primary"
style=
"width: 12%; margin-right: 2vw"
@
click=
"handleSubmit"
>
提交流程
</Button>
<Button
type=
"primary"
style=
"width: 12%; margin-right: 2vw"
@
click=
"save"
>
保存
</Button>
<Button
@
click=
"handleReset"
style=
"width: 12%;"
>
重置
</Button>
</div>
<!--手动添加赛项列表-->
<!-- <Modal-->
<!-- v-model="selectionOfEvents"-->
<!-- title="选择编号"-->
<!-- width="60"-->
<!-- :styles="{top:'10px'}"-->
<!-- :closable="false"-->
<!-- >-->
<!-- <template #header>-->
<!-- <div style="display: flex;justify-content: space-between;align-items: center;">-->
<!-- <h3>选择编号</h3>-->
<!-- <Input style="width: 20vw" v-model="contestItem.condition"-->
<!-- placeholder="请输入编号或赛项名称、赛事名称搜索..."></Input>-->
<!-- </div>-->
<!-- </template>-->
<!-- <Table :columns="columnsCompetitionItem" :data="dataCompetitionItem" :loading="contestItem.loading">-->
<!-- <template #radio="{row}">-->
<!-- <input style="width: 30px;height: 30px;cursor: pointer;accent-color: #1e93ff" type="radio"-->
<!-- :value="row.name"-->
<!-- @click="tableRadio(row)"-->
<!-- name="name"></input>-->
<!-- </template>-->
<!-- </Table>-->
<!-- <div class="ivu-text-center ivu-mt">-->
<!-- <Page-->
<!-- :total="contestItem.total"-->
<!-- :current.sync="contestItem.pageIndex"-->
<!-- show-total-->
<!-- show-sizer-->
<!-- :page-size="contestItem.pageSize"-->
<!-- @on-change="contestItemhandleChangePage"-->
<!-- @on-page-size-change="contestItemhandleChangePageSize"-->
<!-- />-->
<!-- </div>-->
<!-- <template #footer>-->
<!-- <Button type="primary" @click="saveTheEventSingleOption" style="width: 15%;">确定</Button>-->
<!-- <Button type="text" @click="selectionOfEvents = false" style="width: 15%;">关闭</Button>-->
<!-- </template>-->
<!-- </Modal>-->
<!-- 创建 团队添加队员抽屉-->
<Drawer
title=
"添加团队队员"
width=
"100%"
:transfer=
"false"
:z-index=
"6666"
v-model=
"addTeamMembers.Drawer"
>
<Split
v-model=
"split"
>
<
template
#left
>
<div
style=
"width: 100%;height: 94%;box-sizing: border-box;padding: 1vw"
>
<Card
style=
"margin-top: 1vw;max-height:47%;box-sizing: border-box;overflow-y: auto; "
>
<h3>
{{
Boolean
(
formValidate1
.
is_lead
)
?
"
指导老师:
"
:
'
参赛老师:
'
}}
</h3>
<!-- 0参赛老师 1指导老师-->
<div
style=
"width: 100%;height: 30%;display: flex;align-items: center;
justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;
margin-bottom: 1vw;"
>
<div
v-for=
"(item,index) in formValidate1.teacherid_list"
:key=
"index"
style=
"width: 33%;display: flex;justify-content: center;margin-bottom: 1vw;"
>
<Button>
{{
item
.
name
}}
</Button>
<div
class=
"competitionClassIcon"
@
click=
"delClass(item)"
>
<Icon
type=
"ios-close-circle"
/>
</div>
</div>
</div>
</Card>
<Card
style=
"margin-top: 1vw;max-height:47%;box-sizing: border-box;overflow-y: auto; "
>
<h3>
参赛学生:
</h3>
<div
style=
"width: 100%;height: 30%;display: flex;align-items: center;
justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;
margin-bottom: 1vw;"
>
<div
v-for=
"(item,index) in formValidate1.studentid_list"
:key=
"index"
style=
"width: 33%;display: flex;justify-content: center;margin-bottom: 1vw;"
>
<Button>
{{
item
.
name
}}
</Button>
<div
class=
"competitionClassIcon"
@
click=
"delClass(item)"
>
<Icon
type=
"ios-close-circle"
/>
</div>
</div>
</div>
</Card>
<Button
@
click=
"addInitTeamPeople"
style=
"margin-top:1vw;"
type=
"primary"
long
>
确认添加
</Button>
</div>
</
template
>
<
template
#right
>
<div
style=
"padding: 1vw;"
:key=
"kkk"
>
<Tabs>
<TabPane
label=
"添加学生"
>
<div
style=
"display: flex;"
></div>
<div
style=
"justify-content: flex-end; height: 40px; margin-left: auto ;display: flex;flex-wrap: nowrap"
>
<Input
style=
"width: 15vw;"
v-model=
"modalSelect.searchValue"
placeholder=
"请输入姓名或卡号搜索..."
></Input>
<Button
type=
"primary"
@
click=
"searchButton"
:disabled=
"modalSelect.searchValue===''"
style=
"margin-left: 10px;"
>
搜索
</Button>
<Button
type=
"text"
@
click=
"searchReset"
style=
"margin-left: 10px;"
>
重置
</Button>
</div>
<Table
:loading=
"loading1"
:columns=
"modalSelect.column"
:data=
"modalSelect.sList"
@
on-select-all=
"modalTableSelectAll"
@
on-select-all-cancel=
"modalTableSelectAllCancel"
@
on-select=
"modalTableSelect"
@
on-select-cancel=
"modalTableSelectCancel"
>
</Table>
<div
style=
"height: 40px;margin-top: 20px;display: flex"
>
<Page
show-total
show-sizer
show-elevator
:page-size-opts=
"pageSizeOpts"
:total=
"modalSelect.total"
:page-size=
"modalSelect.page_size"
model-value=
"modalSelect.page_index"
@
on-change=
"currentPage1"
@
on-page-size-change=
"currentPageCount1"
:transfer=
"true"
/>
<div
style=
"margin-left: auto"
>
<!--
<Button
type=
"primary"
@
click=
"addTeamMembers.Drawer =false"
style=
"width: 10vw; margin-right: 20px;"
>
-->
<!-- 确定-->
<!--
</Button>
-->
<Button
@
click=
"addTeamMembers.Drawer =false"
style=
"width: 10vw;"
>
关闭
</Button>
<!--
<Button
type=
"primary"
@
click=
"handleSubmit('s')"
>
提交
</Button>
-->
</div>
</div>
</TabPane>
<TabPane
label=
"添加教师"
>
<div
style=
"display: flex;align-content: center"
>
<!--
<CheckboxGroup
style=
"margin-bottom: 5px"
v-model=
"modalSelect1.checkboxValue"
>
-->
<!--
<Checkbox
:disabled=
"item.name ==='学生'"
v-for=
"(item,index) in promiseAllArray[0]"
:label=
"item.id"
--
>
<!-- :key="index"-->
<!-- border>
<span>
{{
item
.
name
}}
</span></Checkbox>
-->
<!--
</CheckboxGroup>
-->
<div>
<RadioGroup
v-model=
"formValidate1.is_lead"
>
<Radio
:label=
"item.value"
border
v-for=
"(item,idnex) in is_teacChekArray"
:key=
"idnex"
>
{{
item
.
label
}}
</Radio>
</RadioGroup>
</div>
<div
style=
"height: 40px;display: flex;flex-wrap: nowrap;margin-left: auto;"
>
<div>
<Input
style=
"width: 15vw;"
v-model=
"modalSelect1.searchValue"
placeholder=
"请输入姓名或卡号搜索..."
></Input>
<Button
type=
"primary"
@
click=
"searchButton"
:disabled=
"modalSelect1.searchValue===''"
style=
"margin-left: 10px;"
>
搜索
</Button>
<Button
type=
"text"
@
click=
"searchReset1"
style=
"margin-left: 10px;"
>
重置
</Button>
</div>
</div>
</div>
<Table
:key=
"keys1"
:loading=
"loading2"
:columns=
"modalSelect1.column"
:data=
"modalSelect1.sList"
@
on-select-all=
"modalTableSelectAll1"
@
on-select-all-cancel=
"modalTableSelectAllCancel1"
@
on-select=
"modalTableSelect1"
@
on-select-cancel=
"modalTableSelectCancel1"
>
</Table>
<div
style=
"height: 40px;margin-top: 20px;display: flex"
>
<Page
:transfer=
"true"
show-total
:key=
"modalSelect1.pageKey"
:page-size-opts=
"pageSizeOpts"
show-sizer
show-elevator
:total=
"modalSelect1.total"
:page-size=
"modalSelect1.page_size"
model-value=
"modalSelect1.page_index"
@
on-change=
"currentPage2"
@
on-page-size-change=
"currentPageCount2"
/>
<div
style=
"margin-left: auto"
>
<!--
<Button
type=
"primary"
@
click=
"addTeamMembers.Drawer =false"
style=
"width: 10vw; margin-right: 20px;"
>
-->
<!-- 确定-->
<!--
</Button>
-->
<Button
@
click=
"addTeamMembers.Drawer =false"
style=
"width: 10vw;"
>
关闭
</Button>
<!--
<Button
type=
"primary"
@
click=
"handleSubmit('s')"
>
提交
</Button>
-->
</div>
</div>
</TabPane>
</Tabs>
</div>
</
template
>
</Split>
</Drawer>
<!--添加团队-->
<Modal
v-model=
"addTeam"
title=
"添加团队"
:transfer=
"true"
:z-index=
"9999"
width=
"40%"
>
<Form
ref=
"formValidate1"
:model=
"formValidate1"
:rules=
"ruleValidate1"
:label-width=
"100"
>
<FormItem
label=
"是否备选:"
prop=
"is_choose"
>
<Select
v-model=
"formValidate1.is_choose"
placeholder=
"是否备选"
>
<Option
v-for=
"(item,index) in formValidate1.alternative"
:key=
"index"
:value=
"item.value"
>
{{ item.label }}
</Option>
</Select>
</FormItem>
<FormItem
label=
"团队名称:"
prop=
"teamname"
>
<Input
v-model=
"formValidate1.teamname"
type=
"text"
:autosize=
"{minRows: 7,maxRows: 10}"
placeholder=
"请输入团队名称"
></Input>
</FormItem>
</Form>
<!-- <!– 添加队员按钮 –>-->
<!-- <Button type="dashed" icon="md-add" @click="addAPlayer" style="width: 100%;border-color: #7bbcf8;">添加队员-->
<!-- </Button>-->
<Card
v-if=
"!!formValidate1.teacherid_list.length && teamPeople"
style=
"margin-top: 1vw;"
>
<h3>
{{ Boolean(formValidate1.is_lead) ? '参赛教师:' : '指导教师:' }}
</h3>
<div
style=
"width: 100%;height: 30%;display: flex;align-items: center;
justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;
margin-bottom: 1vw;"
>
<div
v-for=
"(item,index) in formValidate1.teacherid_list"
:key=
"index"
style=
"width: 33%;display: flex;justify-content: center;margin-bottom: 1vw;"
>
<Button>
{{ item.name }}
</Button>
<div
class=
"competitionClassIcon"
@
click=
"delClass(item)"
>
<Icon
type=
"ios-close-circle"
/>
</div>
</div>
</div>
</Card>
<Card
v-if=
"!!formValidate1.studentid_list.length && teamPeople"
style=
"margin-top: 1vw;"
>
<h3>
参赛学生:
</h3>
<div
style=
"width: 100%;height: 30%;display: flex;align-items: center;
justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;
margin-bottom: 1vw;"
>
<div
v-for=
"(item,index) in formValidate1.studentid_list"
:key=
"index"
style=
"width: 33%;display: flex;justify-content: center;margin-bottom: 1vw;"
>
<Button>
{{ item.name }}
</Button>
<div
class=
"competitionClassIcon"
@
click=
"delClass(item)"
>
<Icon
type=
"ios-close-circle"
/>
</div>
</div>
</div>
</Card>
<
template
#footer
>
<Button
type=
"primary"
@
click=
"createATeam"
style=
"width: 15%;"
>
创建参赛团队
</Button>
<!--
<Button
@
click=
"handleReset"
style=
"width: 15%;"
>
重置
</Button>
-->
</
template
>
</Modal>
<!-- 追加 增加团队队员 抽屉-->
<Drawer
title=
"增加团队队员 "
width=
"100%"
:z-index=
"99999999"
:transfer=
"false"
v-model=
"addTeamMembers3.Drawer"
>
<div
style=
"width: 100%;height: 100%;"
>
<Split
v-model=
"split"
>
<
template
#left
>
<div
style=
"margin: 1vw"
>
<Form
ref=
"addTeamPeopleData"
:model=
"addTeamPeople.data"
:rules=
"ruleValidate1"
:label-width=
"100"
>
<FormItem
label=
"团队名称:"
prop=
"teamid"
>
<Select
v-model=
"addTeamPeople.data.teamid"
placeholder=
""
>
<Option
v-for=
"(item,index) in addTeamPeople.selectArray"
:key=
"index"
:value=
"item.id"
>
{{
item
.
name
}}
</Option>
</Select>
</FormItem>
</Form>
</div>
<div
style=
"width: 100%;height: 100%;overflow-y: auto"
>
<div
style=
"width: 100%;height: 43%;overflow-y: auto;"
>
<h3>
参赛学生:
</h3>
<div
style=
"width: 100%;height: 30%;display: flex;align-items: center;
justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;
margin-bottom: 1vw;"
>
<div
v-for=
"(item,index) in formValidate3.studentid_list"
:key=
"index"
style=
"width: 33%;display: flex;justify-content: center;margin-bottom: 1vw;"
>
<Button>
{{
item
.
name
}}
</Button>
<div
class=
"competitionClassIcon"
@
click=
"delClass2(item)"
>
<Icon
type=
"ios-close-circle"
/>
</div>
</div>
</div>
</div>
<div
style=
"width: 100%;height: 43%;overflow-y: auto;"
>
<h3>
{{
Boolean
(
formValidate3
.
is_lead
)
?
"
指导教师:
"
:
'
参赛教师:
'
}}
</h3>
<div
style=
"width: 100%;height: 30%;display: flex;align-items: center;
justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;
margin-bottom: 1vw;"
>
<div
v-for=
"(item,index) in formValidate3.teacherid_list"
:key=
"index"
style=
"width: 33%;display: flex;justify-content: center;margin-bottom: 1vw;"
>
<Button>
{{
item
.
name
}}
</Button>
<div
class=
"competitionClassIcon"
@
click=
"delClass2(item)"
>
<Icon
type=
"ios-close-circle"
/>
</div>
</div>
</div>
</div>
<Button
@
click=
"MembersIns"
:loading=
"miLoad"
type=
"primary"
style=
"width: 100%;"
>
确认添加
</Button>
</div>
</
template
>
<
template
#right
>
<div
style=
"padding: 1vw"
:key=
"kkk"
>
<Tabs>
<TabPane
label=
"添加学生"
>
<div
style=
"display: flex;"
></div>
<div
style=
"justify-content: flex-end; height: 40px; margin-left: auto ;display: flex;flex-wrap: nowrap"
>
<Input
style=
"width: 15vw;"
v-model=
"modalSelect3.searchValue"
placeholder=
"请输入姓名或卡号搜索..."
></Input>
<Button
type=
"primary"
@
click=
"searchButton"
:disabled=
"modalSelect3.searchValue===''"
style=
"margin-left: 10px;"
>
搜索
</Button>
<Button
type=
"text"
@
click=
"searchReset3"
style=
"margin-left: 10px;"
>
重置
</Button>
</div>
<Table
:loading=
"loading1"
:columns=
"modalSelect3.column"
:data=
"modalSelect3.sList"
@
on-select-all=
"modalTableSelectAll3"
@
on-select-all-cancel=
"modalTableSelectAllCancel3"
@
on-select=
"modalTableSelect3"
@
on-select-cancel=
"modalTableSelectCancel3"
>
</Table>
<div
style=
"height: 40px;margin-top: 20px"
>
<Page
show-total
show-sizer
show-elevator
:page-size-opts=
"pageSizeOpts"
:total=
"modalSelect3.total"
:page-size=
"modalSelect3.page_size"
model-value=
"modalSelect3.page_index"
@
on-change=
"currentPage3"
@
on-page-size-change=
"currentPageCount3"
:transfer=
"true"
/>
</div>
<div
style=
"float: right"
>
<Button
@
click=
"addTeamMembers3.Drawer =false"
style=
"margin-right: 20px;"
>
取消
</Button>
<!--
<Button
type=
"primary"
@
click=
"handleSubmit('s')"
>
提交
</Button>
-->
</div>
</TabPane>
<TabPane
label=
"添加教师"
>
<div
style=
"display: flex;"
>
<RadioGroup
v-model=
"formValidate3.is_lead"
>
<Radio
:label=
"item.value"
border
v-for=
"(item,idnex) in is_teacChekArray"
:key=
"idnex"
>
{{
item
.
label
}}
</Radio>
</RadioGroup>
<div
style=
" justify-content: flex-end;height: 40px; margin-left: auto ;display: flex;flex-wrap: nowrap"
>
<Input
style=
"width: 15vw;"
v-model=
"modalSelect4.searchValue"
placeholder=
"请输入姓名或卡号搜索..."
></Input>
<Button
type=
"primary"
@
click=
"searchButton"
:disabled=
"modalSelect4.searchValue===''"
style=
"margin-left: 10px;"
>
搜索
</Button>
<Button
type=
"text"
@
click=
"searchReset4"
style=
"margin-left: 10px;"
>
重置
</Button>
</div>
</div>
<Table
:key=
"keys1"
:loading=
"loading2"
:columns=
"modalSelect4.column"
:data=
"modalSelect4.sList"
@
on-select-all=
"modalTableSelectAll4"
@
on-select-all-cancel=
"modalTableSelectAllCancel4"
@
on-select=
"modalTableSelect4"
@
on-select-cancel=
"modalTableSelectCancel4"
>
</Table>
<div
style=
"height: 40px;margin-top: 20px"
>
<Page
:transfer=
"true"
show-total
:key=
"modalSelect4.pageKey"
:page-size-opts=
"pageSizeOpts"
show-sizer
show-elevator
:total=
"modalSelect4.total"
:page-size=
"modalSelect4.page_size"
model-value=
"modalSelect4.page_index"
@
on-change=
"currentPage4"
@
on-page-size-change=
"currentPageCount4"
/>
</div>
<div
style=
"float: right"
>
<Button
@
click=
"addTeamMembers3.Drawer = false"
style=
"margin-right: 20px;"
>
取消
</Button>
<!--
<Button
type=
"primary"
@
click=
"handleSubmit('t')"
>
提交
</Button>
-->
</div>
</TabPane>
</Tabs>
</div>
</
template
>
</Split>
</div>
</Drawer>
<!-- 追加团队人员-->
<!-- <Modal-->
<!-- v-model="addTeamPeople.modal"-->
<!-- title="增加团队队员"-->
<!-- :transfer="true"-->
<!-- :z-index="1"-->
<!-- width="50%"-->
<!-- :styles="{top:'10px'}"-->
<!-- >-->
<!-- <Form ref="addTeamPeopleData" :model="addTeamPeople.data" :rules="ruleValidate1" :label-width="100">-->
<!-- <FormItem label="团队名称:" prop="teamid">-->
<!-- <Select v-model="addTeamPeople.data.teamid"-->
<!-- placeholder="">-->
<!-- <Option v-for="(item,index) in addTeamPeople.selectArray" :key="index"-->
<!-- :value="item.id">-->
<!-- {{ item.name }}-->
<!-- </Option>-->
<!-- </Select>-->
<!-- </FormItem>-->
<!-- </Form>-->
<!-- <Button type="dashed" icon="md-add" @click="addAPlayer" style="width: 100%;border-color: #7bbcf8;">添加队员-->
<!-- </Button>-->
<!-- <div>-->
<!-- <Card v-if="!!formValidate3.teacherid_list.length && teamPeople" style="margin-top: 1vw;">-->
<!-- <h3>{{ Boolean(formValidate3.is_lead) ? '参赛教师:' : '指导教师:' }}</h3>-->
<!-- <div-->
<!-- style="width: 100%;height: 30%;display: flex;align-items: center;-->
<!-- justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;-->
<!-- margin-bottom: 1vw;">-->
<!-- <div-->
<!-- v-for="(item,index) in formValidate3.teacherid_list" :key="index"-->
<!-- style="width: 33%;display: flex;justify-content: center;margin-bottom: 1vw;">-->
<!-- <Button>{{ item.name }}</Button>-->
<!-- <div class="competitionClassIcon" @click="delClass(item)">-->
<!-- <Icon type="ios-close-circle"/>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </Card>-->
<!-- <Card v-if="!!formValidate3.studentid_list.length && teamPeople" style="margin-top: 1vw;">-->
<!-- <h3>参赛学生:</h3>-->
<!-- <div-->
<!-- style="width: 100%;height: 30%;display: flex;align-items: center;-->
<!-- justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;-->
<!-- margin-bottom: 1vw;">-->
<!-- <div-->
<!-- v-for="(item,index) in formValidate3.studentid_list" :key="index"-->
<!-- style="width: 33%;display: flex;justify-content: center;margin-bottom: 1vw;">-->
<!-- <Button>{{ item.name }}</Button>-->
<!-- <div class="competitionClassIcon" @click="delClass(item)">-->
<!-- <Icon type="ios-close-circle"/>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </Card>-->
<!-- </div>-->
<!-- <template #footer>-->
<!-- <Button type="primary" @click="MembersIns" style="width: 15%;">确认添加</Button>-->
<!-- <!– <Button @click="handleReset" style="width: 15%;">重置</Button>–>-->
<!-- </template>-->
<!-- </Modal>-->
</div>
</template>
<
script
>
import
*
as
hook
from
'
../../../hook
'
import
*
as
api
from
'
../../../api/requestUtils
'
import
_
from
"
lodash
"
;
import
dayjs
from
"
dayjs
"
;
import
{
ReportChangeById
,
TeamMembersDel
}
from
"
../../../api/requestUtils
"
;
import
{
getInitListRequest
}
from
"
../../../hook
"
;
export
default
{
//import引入的组件需要注入到对象中才能使用",
components
:
{},
props
:
[
'
signId
'
,
],
data
()
{
//这里存放数据",
return
{
countTimer
:
''
,
is_teacChekArray
:
[
{
label
:
'
指导教师
'
,
value
:
1
,
},
{
label
:
'
参赛教师
'
,
value
:
0
,
},
],
teamPeople
:
false
,
kkk
:
1
,
saveFlowLoading
:
false
,
timer
:
''
,
selectTheNumberMedian
:
{},
aTeamValue
:
{},
split
:
0.5
,
addTeamMembers3
:
{
Drawer
:
false
,
},
loading3
:
false
,
rrr
:
1
,
keys1
:
1
,
loading2
:
false
,
signid
:
''
,
loading1
:
false
,
modal
:
false
,
pageSizeOpts
:
[
10
,
20
,
30
,
40
,
100
,
200
],
modalSelect1
:
{
deptValue
:
[],
deptSelectArray
:
[],
tArray
:
[],
checkboxValue
:
[],
rList
:
[{
value
:
0
,
label
:
'
非指导教师
'
},
{
value
:
1
,
label
:
'
指导教师
'
}],
sArray
:
[],
searchValue
:
''
,
condition
:
''
,
column
:
[
{
type
:
'
selection
'
,
minWidth
:
150
,
},
{
title
:
'
指导教师
'
,
minWidth
:
150
,
key
:
'
name
'
},
{
title
:
'
工号
'
,
minWidth
:
150
,
key
:
'
number
'
},
{
title
:
'
身份证号
'
,
minWidth
:
150
,
key
:
'
sfzh
'
},
{
title
:
'
教学院系
'
,
minWidth
:
150
,
key
:
'
dept_name
'
},
{
title
:
'
性别
'
,
minWidth
:
150
,
key
:
'
gender
'
},
{
title
:
'
联系电话
'
,
minWidth
:
150
,
key
:
'
phone
'
},
],
sList
:
[],
pageKey
:
1
,
total
:
0
,
page_size
:
10
,
page_index
:
1
,
},
modalSelect
:
{
checkboxValue
:
''
,
rList
:
[{
value
:
0
,
label
:
'
否
'
},
{
value
:
1
,
label
:
'
是
'
}],
sArray
:
[],
searchValue
:
''
,
condition
:
''
,
column
:
[
{
type
:
'
selection
'
,
minWidth
:
150
,
},
{
title
:
'
参赛学生
'
,
minWidth
:
150
,
key
:
'
name
'
},
{
title
:
'
学号
'
,
minWidth
:
150
,
key
:
'
number
'
},
{
title
:
'
身份证号
'
,
minWidth
:
150
,
key
:
'
sfzh
'
},
{
title
:
'
班级
'
,
minWidth
:
150
,
key
:
'
classname
'
},
{
title
:
'
性别
'
,
minWidth
:
150
,
key
:
'
gender
'
},
{
title
:
'
联系电话
'
,
minWidth
:
150
,
key
:
'
phone
'
},
],
sList
:
[],
pageKey
:
1
,
total
:
0
,
page_size
:
10
,
page_index
:
1
,
},
modalSelect4
:
{
deptValue
:
[],
deptSelectArray
:
[],
tArray
:
[],
checkboxValue
:
[],
rList
:
[{
value
:
0
,
label
:
'
非指导教师
'
},
{
value
:
1
,
label
:
'
指导教师
'
}],
sArray
:
[],
searchValue
:
''
,
condition
:
''
,
column
:
[
{
type
:
'
selection
'
,
minWidth
:
150
,
},
{
title
:
'
指导教师
'
,
minWidth
:
150
,
key
:
'
name
'
},
{
title
:
'
工号
'
,
minWidth
:
150
,
key
:
'
number
'
},
{
title
:
'
身份证号
'
,
minWidth
:
200
,
key
:
'
sfzh
'
},
{
title
:
'
教学院系
'
,
minWidth
:
150
,
key
:
'
dept_name
'
},
{
title
:
'
性别
'
,
minWidth
:
150
,
key
:
'
gender
'
},
{
title
:
'
联系电话
'
,
minWidth
:
150
,
key
:
'
phone
'
},
],
sList
:
[],
pageKey
:
1
,
total
:
0
,
page_size
:
10
,
page_index
:
1
,
},
modalSelect3
:
{
checkboxValue
:
''
,
rList
:
[{
value
:
0
,
label
:
'
否
'
},
{
value
:
1
,
label
:
'
是
'
}],
sArray
:
[],
searchValue
:
''
,
condition
:
''
,
column
:
[
{
type
:
'
selection
'
,
minWidth
:
150
,
},
{
title
:
'
参赛学生
'
,
minWidth
:
150
,
key
:
'
name
'
},
{
title
:
'
学号
'
,
minWidth
:
150
,
key
:
'
number
'
},
{
title
:
'
身份证号
'
,
minWidth
:
200
,
key
:
'
sfzh
'
},
{
title
:
'
班级
'
,
minWidth
:
150
,
key
:
'
classname
'
},
{
title
:
'
性别
'
,
minWidth
:
150
,
key
:
'
gender
'
},
{
title
:
'
联系电话
'
,
minWidth
:
150
,
key
:
'
phone
'
},
],
sList
:
[],
pageKey
:
1
,
total
:
0
,
page_size
:
10
,
page_index
:
1
,
},
addTeamMembers
:
{
Drawer
:
false
,
},
contestItem
:
{
loading
:
false
,
condition
:
''
,
total
:
0
,
pageIndex
:
1
,
pageSize
:
5
,
},
selectionOfEvents
:
false
,
columnsCompetitionItem
:
[
{
slot
:
'
radio
'
,
},
{
title
:
'
赛事编号
'
,
key
:
'
report_code
'
},
{
title
:
'
赛事名称
'
,
key
:
'
competitionname
'
},
{
title
:
'
赛项名称
'
,
key
:
'
competitionsubitem_name
'
},
],
dataCompetitionItem
:
[],
addTeam
:
false
,
columnsStudent
:
[
{
title
:
'
参赛学生
'
,
minWidth
:
100
,
key
:
'
name
'
},
{
title
:
'
学号
'
,
minWidth
:
120
,
key
:
'
card_name
'
},
{
title
:
'
身份证号
'
,
minWidth
:
180
,
key
:
'
sfzh
'
},
{
title
:
'
班级
'
,
minWidth
:
150
,
key
:
'
classname
'
},
{
title
:
'
性别
'
,
minWidth
:
80
,
key
:
'
gender
'
},
{
title
:
'
联系电话
'
,
minWidth
:
150
,
key
:
'
phone
'
},
{
title
:
'
操作
'
,
minWidth
:
80
,
slot
:
'
action
'
,
fixed
:
'
right
'
},
],
guidecolumnsTeacher
:
[
{
title
:
'
指导教师
'
,
minWidth
:
100
,
key
:
'
name
'
},
{
title
:
'
工号
'
,
minWidth
:
120
,
key
:
'
card_name
'
},
{
title
:
'
身份证号
'
,
minWidth
:
180
,
key
:
'
sfzh
'
},
{
title
:
'
教学院系
'
,
minWidth
:
150
,
key
:
'
dept
'
},
{
title
:
'
性别
'
,
minWidth
:
80
,
key
:
'
gender
'
},
{
title
:
'
联系电话
'
,
minWidth
:
150
,
key
:
'
phone
'
},
{
title
:
'
操作
'
,
minWidth
:
80
,
slot
:
'
action
'
,
fixed
:
'
right
'
},
],
columnsTeacher
:
[
{
title
:
'
参赛教师
'
,
minWidth
:
100
,
key
:
'
name
'
},
{
title
:
'
工号
'
,
minWidth
:
120
,
key
:
'
card_name
'
},
{
title
:
'
身份证号
'
,
minWidth
:
180
,
key
:
'
sfzh
'
},
{
title
:
'
教学院系
'
,
minWidth
:
150
,
key
:
'
dept
'
},
{
title
:
'
性别
'
,
minWidth
:
80
,
key
:
'
gender
'
},
{
title
:
'
联系电话
'
,
minWidth
:
150
,
key
:
'
phone
'
},
{
title
:
'
操作
'
,
minWidth
:
80
,
slot
:
'
action
'
,
fixed
:
'
right
'
},
],
data1
:
[],
data2
:
[],
teamObjectData
:
{},
'
signPeople
'
:
[],
competitionNameArray
:
[],
approval_stateArray
:
[
{
value
:
0
,
label
:
'
未审批
'
},
{
value
:
1
,
label
:
'
审批中
'
},
{
value
:
2
,
label
:
'
审批通过
'
},
{
value
:
3
,
label
:
'
审批不通过
'
},
],
levelArray
:
[
{
value
:
1
,
label
:
'
国家级
'
},
{
value
:
2
,
label
:
'
省一级
'
},
{
value
:
3
,
label
:
'
省二级
'
},
],
wayArray
:
[
{
value
:
0
,
label
:
'
团队
'
},
{
value
:
1
,
label
:
'
个人
'
},
],
competitionnameValue
:
''
,
changecommitid
:
''
,
flowid
:
''
,
module_id
:
''
,
module
:
''
,
fileKey
:
1
,
miLoad
:
false
,
formValidate4
:
{
"
competitionsign_id
"
:
""
,
"
teamname
"
:
""
,
"
is_choose
"
:
0
,
'
alternative
'
:
[
{
value
:
0
,
label
:
'
否
'
,
},
{
value
:
1
,
label
:
'
是
'
,
},
],
"
studentid_list
"
:
[],
"
teacherid_list
"
:
[]
},
formValidate3
:
{
"
competitionsign_id
"
:
""
,
"
teamname
"
:
""
,
"
is_choose
"
:
0
,
is_lead
:
1
,
'
alternative
'
:
[
{
value
:
0
,
label
:
'
否
'
,
},
{
value
:
1
,
label
:
'
是
'
,
},
],
"
studentid_list
"
:
[],
"
teacherid_list
"
:
[],
},
formValidate1
:
{
"
competitionsign_id
"
:
""
,
"
teamname
"
:
""
,
// "团队" + this.teamObjectData.length
"
is_choose
"
:
0
,
is_lead
:
1
,
'
alternative
'
:
[
{
value
:
0
,
label
:
'
否
'
,
},
{
value
:
1
,
label
:
'
是
'
,
},
],
"
studentid_list
"
:
[],
"
teacherid_list
"
:
[]
},
ruleValidate1
:
{
is_choose
:
[{
type
:
'
number
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
change
'
}],
teamname
:
[{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}],
teamid
:
[{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
change
'
}],
},
preparationPlan
:
[],
formValidate
:
{
"
flowid
"
:
""
,
"
competitionname
"
:
""
,
"
competitionreportid
"
:
""
,
"
sponsor
"
:
""
,
"
level
"
:
""
,
"
competition_time
"
:
''
,
"
place
"
:
""
,
"
sign_up
"
:
""
,
"
file_name
"
:
""
,
"
race_level
"
:
""
,
"
way
"
:
''
,
"
class_hour
"
:
""
,
"
arity
"
:
""
,
"
curriculum
"
:
""
,
"
begin_time
"
:
""
,
"
end_time
"
:
""
,
"
request
"
:
""
,
// "approach_file": "",
// "train_file": "",
'
competitionTimeRange
'
:
[],
"
files_list
"
:
[]
},
ruleValidate
:
{
report_code
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
competitionsubitem_name
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
competition_level_name
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
competition_type_name
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
place
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
competitionname
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
change
'
}
],
sponsor
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
change
'
}
],
level
:
[
{
type
:
'
number
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
change
'
}
],
competition_time
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
sign_up
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
change
'
}
],
file_name
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
change
'
}
],
race_level
:
[
{
type
:
'
number
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
change
'
}
],
way
:
[
{
type
:
'
number
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
change
'
}
],
arity
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
class_hour
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
curriculum
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
competitionTimeRange
:
[
{
type
:
'
array
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
change
'
}
],
average
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
ratio_info
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
request
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
},
selectTimer
:
''
,
tableKeys
:
1
,
unfold
:
{
State
:
0
,
height
:
'
400
'
,
flag
:
[
'
展开
'
,
'
收起
'
],
},
addTeamPeople
:
{
//添加团队人员
modal
:
false
,
selectArray
:
[],
data
:
{
"
teamid
"
:
""
,
"
studentid_list
"
:
[],
"
teacherid_list
"
:
[],
"
is_lead
"
:
0
}
}
}
},
//监听属性 类似于data概念",
computed
:
{},
//监控data中的数据变化",
watch
:
{
'
contestItem.condition
'
(
newValue
,
oldvalue
)
{
clearTimeout
(
this
.
selectTimer
)
this
.
selectTimer
=
setTimeout
(()
=>
{
this
.
contestItem
.
pageIndex
=
1
this
.
addAddressManually
()
},
400
)
},
'
formValidate.competitionTimeRange
'
(
newValue
,
oldvalue
)
{
console
.
log
(
"
🚀🚀12312🚀,
"
,
newValue
)
},
},
//生命周期 - 挂载完成(可以访问DOM元素)",html模板已渲染
async
mounted
()
{
clearInterval
(
this
.
countTimer
)
setInterval
(()
=>
{
this
.
save
()
},
1000
*
60
*
10
)
this
.
getCompetiotionName
()
this
.
formValidate
.
flowid
=
this
.
$route
.
query
.
id
;
// this.formValidate.files_list.module = this.$route.query.remark;
this
.
flowid
=
this
.
$route
.
query
.
id
;
this
.
module
=
this
.
$route
.
query
.
remark
;
await
this
.
GetSignInfo
()
this
.
GetStudentListToMembers
()
this
.
GetTeacherListToMembers
()
this
.
GetStudentListToMembers3
()
this
.
GetTeacherListToMembers4
()
this
.
TeamAndMemberSel
()
},
//方法集合",
methods
:
{
back
()
{
this
.
hooks
.
saveForm
(
async
()
=>
{
this
.
save
(
1
)
},
()
=>
{
this
.
$router
.
back
()
})
},
addTeamPeopleModal
()
{
this
.
$refs
[
'
addTeamPeopleData
'
].
resetFields
()
this
.
addTeamMembers3
.
Drawer
=
true
;
},
addTeamMembersFun
()
{
//添加团队人员
},
unfoldTeamCard
()
{
let
obj
=
{
'
1
'
:
()
=>
{
this
.
unfold
.
height
=
'
400
'
this
.
unfold
.
State
=
0
},
'
0
'
:
()
=>
{
this
.
unfold
.
height
=
'
3000
'
this
.
unfold
.
State
=
1
}
}
obj
[
this
.
unfold
.
State
]()
},
async
onOpenChange
(
e
)
{
if
(
e
)
{
this
.
contestItem
.
loading
=
true
await
new
Promise
((
resolve
)
=>
{
hook
.
getInitListRequest
(()
=>
{
let
data
=
{
condition
:
this
.
contestItem
.
condition
,
page_index
:
this
.
contestItem
.
pageIndex
,
page_size
:
this
.
contestItem
.
pageSize
,
}
api
.
GetCodeList
(
data
).
then
(
res
=>
{
this
.
contestItem
.
total
=
res
.
response
.
data_count
this
.
dataCompetitionItem
=
res
.
response
.
data
resolve
()
})
})
})
this
.
contestItem
.
loading
=
false
}
},
addInitTeamPeople
()
{
if
(
!!
this
.
formValidate1
.
studentid_list
.
length
||
!!
this
.
formValidate1
.
teacherid_list
.
length
)
{
this
.
teamPeople
=
true
this
.
addTeamMembers
.
Drawer
=
false
}
else
{
this
.
$Message
.
error
(
'
请选择团队人员
'
)
}
},
deleteTeam
(
e
)
{
hook
.
publicConfirm
(()
=>
{
hook
.
myEncapsulationFunction
(
async
()
=>
{
const
res
=
await
api
.
TeamDel
({
teamid
:
e
.
teamid
})
this
.
TeamAndMemberSel
()
return
res
})
})
},
MembersIns
(
e
)
{
let
studentid_list
=
[]
let
teacherid_list
=
[]
this
.
formValidate3
.
studentid_list
.
map
((
cur
,
index
)
=>
{
studentid_list
.
push
(
cur
.
sid
)
})
this
.
formValidate3
.
teacherid_list
.
map
((
cur
,
index
)
=>
{
teacherid_list
.
push
(
cur
.
tid
)
})
let
data
=
{
studentid_list
:
studentid_list
,
teacherid_list
:
teacherid_list
,
teamid
:
this
.
addTeamPeople
.
data
.
teamid
,
is_lead
:
this
.
formValidate3
.
is_lead
,
}
this
.
$refs
[
'
addTeamPeopleData
'
].
validate
((
value
)
=>
{
if
(
value
)
{
this
.
miLoad
=
true
hook
.
myEncapsulationFunction
(
async
()
=>
{
const
res
=
await
api
.
MembersIns
(
data
)
if
(
res
.
code
===
1
)
(()
=>
{
this
.
formValidate3
.
studentid_list
=
[]
this
.
formValidate3
.
teacherid_list
=
[]
this
.
kkk
++
})()
this
.
TeamAndMemberSel
()
this
.
miLoad
=
false
return
res
})
}
})
},
delClass2
(
e
)
{
console
.
log
(
"
🚀🚀🚀,
"
,
e
)
if
(
Object
.
keys
(
e
).
includes
(
'
sid
'
))
{
this
.
formValidate3
.
studentid_list
.
map
((
cur
,
index
)
=>
{
if
(
cur
.
sid
===
e
.
sid
)
this
.
formValidate3
.
studentid_list
.
splice
(
index
,
1
)
})
this
.
modalSelect3
.
sArray
.
map
((
cur1
,
index1
)
=>
{
if
(
cur1
.
sid
===
e
.
sid
)
this
.
modalSelect3
.
sArray
.
splice
(
index1
,
1
)
})
}
else
{
this
.
formValidate3
.
teacherid_list
.
map
((
cur
,
index
)
=>
{
if
(
cur
.
tid
===
e
.
tid
)
this
.
formValidate3
.
teacherid_list
.
splice
(
index
,
1
)
})
this
.
modalSelect4
.
tArray
.
map
((
cur
,
index
)
=>
{
if
(
cur
.
tid
===
e
.
tid
)
this
.
modalSelect4
.
tArray
.
splice
(
index
,
1
)
})
}
},
modalTableSelectCancel3
(
selection
,
row
)
{
this
.
modalSelect3
.
sArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect3
.
sArray
.
push
(
cur
.
tid
)
})
let
keys
=
[]
this
.
formValidate3
.
studentid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
sid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
sid
))
this
.
formValidate3
.
studentid_list
.
push
(
cur
)
})
},
modalTableSelectAll3
(
selection
,
row
)
{
this
.
modalSelect3
.
sArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect3
.
sArray
.
push
(
cur
.
tid
)
})
let
keys
=
[]
this
.
formValidate3
.
studentid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
sid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
sid
))
this
.
formValidate3
.
studentid_list
.
push
(
cur
)
})
},
modalTableSelectAllCancel3
(
selection
,
row
)
{
this
.
modalSelect3
.
sArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect3
.
sArray
.
push
(
cur
.
tid
)
})
let
keys
=
[]
this
.
formValidate3
.
studentid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
sid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
sid
))
this
.
formValidate3
.
studentid_list
.
push
(
cur
)
})
},
modalTableSelect3
(
selection
,
row
)
{
this
.
modalSelect3
.
sArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect3
.
sArray
.
push
(
cur
.
tid
)
})
let
keys
=
[]
this
.
formValidate3
.
studentid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
sid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
sid
))
this
.
formValidate3
.
studentid_list
.
push
(
cur
)
})
},
// addTeamPeople(e) {
// this.addTeamMembers3.Drawe = true
// },
TeamMembersDel
(
e
)
{
hook
.
publicConfirm
(()
=>
{
hook
.
myEncapsulationFunction
(
async
()
=>
{
const
res
=
await
api
.
TeamMembersDel
({
teammembersid
:
e
.
teammembersid
})
this
.
TeamAndMemberSel
()
return
res
})
})
},
async
TeamAndMemberSel
()
{
this
.
loading3
=
true
await
new
Promise
((
resolve
)
=>
{
hook
.
getInitListRequest
(()
=>
{
let
data
=
{
signid
:
this
.
signid
,
}
api
.
TeamAndMemberSel
(
data
).
then
(
res
=>
{
this
.
teamObjectData
=
res
.
response
let
length
=
res
.
response
.
length
length
=
length
+
1
this
.
formValidate1
.
teamname
=
"
团队
"
+
length
this
.
addTeamPeople
.
selectArray
=
[]
res
.
response
.
map
((
cur
,
index
)
=>
{
this
.
addTeamPeople
.
selectArray
.
push
({
id
:
cur
.
teamid
,
name
:
cur
.
teanname
,
})
})
resolve
()
})
})
})
this
.
loading3
=
false
},
createATeam
()
{
this
.
$refs
[
'
formValidate1
'
].
validate
((
value
)
=>
{
if
(
value
)
{
// if (this.teamPeople)
hook
.
myEncapsulationFunction
(
async
()
=>
{
let
teacherid_list
=
[]
let
studentid_list
=
[]
this
.
formValidate1
.
teacherid_list
.
map
((
cur
)
=>
{
teacherid_list
.
push
(
cur
.
tid
)
})
this
.
formValidate1
.
studentid_list
.
map
((
cur
)
=>
{
studentid_list
.
push
(
cur
.
sid
)
})
let
data
=
{
...
this
.
formValidate1
,
competitionsign_id
:
this
.
formValidate
.
competitionsignid
,
teacherid_list
:
teacherid_list
,
studentid_list
:
studentid_list
,
}
const
res
=
await
api
.
TeamAndMemberIns
(
data
)
if
(
res
.
code
===
1
)
(()
=>
{
this
.
formValidate1
.
teacherid_list
=
[]
this
.
formValidate1
.
studentid_list
=
[]
this
.
teamPeople
=
false
this
.
kkk
++
})()
this
.
TeamAndMemberSel
()
return
res
})
// else {
// this.$Message.error('请完善团队人员')
// }
}
})
},
delClass
(
e
)
{
if
(
Object
.
keys
(
e
).
includes
(
'
sid
'
))
{
this
.
formValidate1
.
studentid_list
.
map
((
cur
,
index
)
=>
{
if
(
cur
.
sid
===
e
.
sid
)
this
.
formValidate1
.
studentid_list
.
splice
(
index
,
1
)
})
this
.
modalSelect
.
sArray
.
map
((
cur1
,
index1
)
=>
{
if
(
cur1
.
sid
===
e
.
sid
)
this
.
modalSelect
.
sArray
.
splice
(
index1
,
1
)
})
}
else
{
this
.
formValidate1
.
teacherid_list
.
map
((
cur
,
index
)
=>
{
if
(
cur
.
tid
===
e
.
tid
)
this
.
formValidate1
.
teacherid_list
.
splice
(
index
,
1
)
})
this
.
modalSelect1
.
tArray
.
map
((
cur
,
index
)
=>
{
if
(
cur
.
tid
===
e
.
tid
)
this
.
modalSelect1
.
tArray
.
splice
(
index
,
1
)
})
}
this
.
keys1
++
},
currentPage1
(
e
)
{
this
.
modalSelect
.
page_index
=
e
this
.
GetStudentListToMembers
()
},
currentPage2
(
e
)
{
this
.
modalSelect1
.
page_index
=
e
this
.
GetTeacherListToMembers
()
},
currentPage3
(
e
)
{
this
.
modalSelect3
.
page_index
=
e
this
.
GetStudentListToMembers3
()
},
currentPage4
(
e
)
{
this
.
modalSelect4
.
page_index
=
e
this
.
GetTeacherListToMembers4
()
},
currentPageCount1
(
e
)
{
this
.
modalSelect
.
page_size
=
e
this
.
GetStudentListToMembers
()
},
currentPageCount2
(
e
)
{
this
.
modalSelect1
.
page_size
=
e
this
.
GetTeacherListToMembers
()
},
currentPageCount3
(
e
)
{
this
.
modalSelect3
.
page_size
=
e
this
.
GetStudentListToMembers3
()
},
currentPageCount4
(
e
)
{
this
.
modalSelect4
.
page_size
=
e
this
.
GetTeacherListToMembers4
()
},
searchButton
()
{
this
.
modalSelect
.
condition
=
this
.
modalSelect
.
searchValue
this
.
modalSelect
.
page_index
=
1
this
.
modalSelect1
.
condition
=
this
.
modalSelect1
.
searchValue
this
.
modalSelect1
.
page_index
=
1
this
.
modalSelect3
.
condition
=
this
.
modalSelect3
.
searchValue
this
.
modalSelect3
.
page_index
=
1
this
.
modalSelect4
.
condition
=
this
.
modalSelect4
.
searchValue
this
.
modalSelect4
.
page_index
=
1
this
.
GetStudentListToMembers
()
this
.
GetTeacherListToMembers
()
this
.
GetStudentListToMembers3
()
this
.
GetTeacherListToMembers4
()
},
searchReset
()
{
this
.
modalSelect
.
condition
=
''
this
.
modalSelect
.
searchValue
=
''
this
.
modalSelect
.
page_index
=
1
this
.
modalSelect
.
page_size
=
10
this
.
modalSelect
.
sArray
=
[]
this
.
modalSelect
.
pageKey
++
this
.
GetStudentListToMembers
()
},
searchReset1
()
{
this
.
modalSelect1
.
deptValue
=
[]
this
.
modalSelect1
.
searchValue
=
''
this
.
modalSelect1
.
checkboxValue
=
[]
this
.
modalSelect1
.
condition
=
''
this
.
modalSelect1
.
page_index
=
1
this
.
modalSelect1
.
page_size
=
10
this
.
modalSelect1
.
tArray
=
[]
this
.
modalSelect1
.
pageKey
++
this
.
GetTeacherListToMembers
()
},
searchReset3
()
{
this
.
modalSelect3
.
deptValue
=
[]
this
.
modalSelect3
.
searchValue
=
''
this
.
modalSelect3
.
checkboxValue
=
[]
this
.
modalSelect3
.
condition
=
''
this
.
modalSelect3
.
page_index
=
1
this
.
modalSelect3
.
page_size
=
10
this
.
modalSelect3
.
tArray
=
[]
this
.
modalSelect3
.
pageKey
++
this
.
GetStudentListToMembers3
()
},
searchReset4
()
{
this
.
modalSelect4
.
deptValue
=
[]
this
.
modalSelect4
.
searchValue
=
''
this
.
modalSelect4
.
checkboxValue
=
[]
this
.
modalSelect4
.
condition
=
''
this
.
modalSelect4
.
page_index
=
1
this
.
modalSelect4
.
page_size
=
10
this
.
modalSelect4
.
tArray
=
[]
this
.
modalSelect4
.
pageKey
++
this
.
GetTeacherListToMembers4
()
},
modalTableSelectCancel
(
selection
,
row
)
{
console
.
log
(
"
🚀🚀🚀,
"
,
selection
,
row
)
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect
.
sArray
.
push
(
cur
.
sid
)
})
let
keys
=
[]
this
.
formValidate1
.
studentid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
sid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
sid
))
this
.
formValidate1
.
studentid_list
.
push
(
cur
)
})
},
modalTableSelectAll
(
selection
,
row
)
{
this
.
modalSelect
.
sArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect
.
sArray
.
push
(
cur
.
sid
)
})
let
keys
=
[]
this
.
formValidate1
.
studentid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
sid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
sid
))
this
.
formValidate1
.
studentid_list
.
push
(
cur
)
})
},
modalTableSelectAllCancel
(
selection
,
row
)
{
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect
.
sArray
.
push
(
cur
.
sid
)
})
let
keys
=
[]
this
.
formValidate1
.
studentid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
sid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
sid
))
this
.
formValidate1
.
studentid_list
.
push
(
cur
)
})
},
modalTableSelect
(
selection
,
row
)
{
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect
.
sArray
.
push
(
cur
.
sid
)
})
let
keys
=
[]
this
.
formValidate1
.
studentid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
sid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
sid
))
this
.
formValidate1
.
studentid_list
.
push
(
cur
)
})
},
modalTableSelectCancel1
(
selection
,
row
)
{
this
.
modalSelect1
.
tArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect1
.
tArray
.
push
(
cur
.
tid
)
})
let
keys
=
[]
this
.
formValidate1
.
teacherid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
tid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
tid
))
this
.
formValidate1
.
teacherid_list
.
push
(
cur
)
})
},
modalTableSelectAll1
(
selection
,
row
)
{
this
.
modalSelect1
.
tArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect1
.
tArray
.
push
(
cur
.
tid
)
})
let
keys
=
[]
this
.
formValidate1
.
teacherid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
tid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
tid
))
this
.
formValidate1
.
teacherid_list
.
push
(
cur
)
})
},
modalTableSelectAllCancel1
(
selection
,
row
)
{
this
.
modalSelect1
.
tArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect1
.
tArray
.
push
(
cur
.
tid
)
})
let
keys
=
[]
this
.
formValidate1
.
teacherid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
tid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
tid
))
this
.
formValidate1
.
teacherid_list
.
push
(
cur
)
})
},
modalTableSelect1
(
selection
,
row
)
{
this
.
modalSelect1
.
tArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect1
.
tArray
.
push
(
cur
.
tid
)
})
let
keys
=
[]
this
.
formValidate1
.
teacherid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
tid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
tid
))
this
.
formValidate1
.
teacherid_list
.
push
(
cur
)
})
},
modalTableSelect4
(
selection
,
row
)
{
this
.
modalSelect4
.
tArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect4
.
tArray
.
push
(
cur
.
tid
)
})
let
keys
=
[]
this
.
formValidate3
.
teacherid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
tid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
tid
))
this
.
formValidate3
.
teacherid_list
.
push
(
cur
)
})
},
modalTableSelectCancel4
(
selection
,
row
)
{
this
.
modalSelect4
.
tArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect4
.
tArray
.
push
(
cur
.
tid
)
})
let
keys
=
[]
this
.
formValidate3
.
teacherid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
tid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
tid
))
this
.
formValidate3
.
teacherid_list
.
push
(
cur
)
})
},
modalTableSelectAll4
(
selection
,
row
)
{
this
.
modalSelect4
.
tArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect4
.
tArray
.
push
(
cur
.
tid
)
})
let
keys
=
[]
this
.
formValidate3
.
teacherid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
tid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
tid
))
this
.
formValidate3
.
teacherid_list
.
push
(
cur
)
})
},
modalTableSelectAllCancel4
(
selection
,
row
)
{
this
.
modalSelect4
.
tArray
=
[]
selection
.
map
((
cur
,
index
)
=>
{
this
.
modalSelect4
.
tArray
.
push
(
cur
.
tid
)
})
let
keys
=
[]
this
.
formValidate3
.
teacherid_list
.
map
((
cur
,
index
)
=>
{
keys
.
push
(
cur
.
tid
)
})
selection
.
map
((
cur
,
index
)
=>
{
if
(
!
keys
.
includes
(
cur
.
tid
))
this
.
formValidate3
.
teacherid_list
.
push
(
cur
)
})
},
async
GetStudentListToMembers3
()
{
this
.
loading1
=
true
await
new
Promise
((
resolve
)
=>
{
hook
.
getInitListRequest
(()
=>
{
let
data
=
{
signid
:
this
.
signid
,
condition
:
this
.
modalSelect3
.
condition
,
page_index
:
this
.
modalSelect3
.
page_index
,
page_size
:
this
.
modalSelect3
.
page_size
,
}
api
.
GetStudentListToMembers
(
data
).
then
(
res
=>
{
this
.
modalSelect3
.
total
=
res
.
response
.
data_count
this
.
modalSelect3
.
sList
=
res
.
response
.
data
resolve
()
})
})
})
this
.
loading1
=
false
},
async
GetTeacherListToMembers4
()
{
this
.
loading2
=
true
await
new
Promise
((
resolve
)
=>
{
hook
.
getInitListRequest
(()
=>
{
let
data
=
{
signid
:
this
.
signid
,
condition
:
this
.
modalSelect4
.
condition
,
page_index
:
this
.
modalSelect4
.
page_index
,
page_size
:
this
.
modalSelect4
.
page_size
,
}
api
.
GetTeacherListToMembers
(
data
).
then
(
res
=>
{
this
.
modalSelect4
.
total
=
res
.
response
.
data_count
this
.
modalSelect4
.
sList
=
res
.
response
.
data
resolve
()
})
})
})
this
.
loading2
=
false
},
async
GetStudentListToMembers
()
{
this
.
loading1
=
true
await
new
Promise
((
resolve
)
=>
{
hook
.
getInitListRequest
(()
=>
{
let
data
=
{
signid
:
this
.
signid
,
condition
:
this
.
modalSelect
.
condition
,
page_index
:
this
.
modalSelect
.
page_index
,
page_size
:
this
.
modalSelect
.
page_size
,
}
api
.
GetStudentListToMembers
(
data
).
then
(
res
=>
{
this
.
modalSelect
.
total
=
res
.
response
.
data_count
this
.
modalSelect
.
sList
=
res
.
response
.
data
resolve
()
})
})
})
this
.
loading1
=
false
},
async
GetTeacherListToMembers
()
{
this
.
loading2
=
true
await
new
Promise
((
resolve
)
=>
{
hook
.
getInitListRequest
(()
=>
{
let
data
=
{
signid
:
this
.
signid
,
condition
:
this
.
modalSelect1
.
condition
,
page_index
:
this
.
modalSelect1
.
page_index
,
page_size
:
this
.
modalSelect1
.
page_size
,
}
api
.
GetTeacherListToMembers
(
data
).
then
(
res
=>
{
this
.
modalSelect1
.
total
=
res
.
response
.
data_count
this
.
modalSelect1
.
sList
=
res
.
response
.
data
resolve
()
})
})
})
this
.
loading2
=
false
},
addAPlayer
()
{
this
.
addTeamMembers
.
Drawer
=
true
},
saveTheEventSingleOption
()
{
console
.
log
(
"
🚀this.selectTheNumberMedian🚀🚀,
"
,
this
.
selectTheNumberMedian
)
this
.
formValidate
=
{...
this
.
formValidate
,
...
this
.
selectTheNumberMedian
}
this
.
formValidate
.
competition_type_name
!==
'
A类
'
?
this
.
formValidate
.
class_hour
=
''
:
null
this
.
$refs
.
select
.
visible
=
false
this
.
selectionOfEvents
=
false
},
async
addAddressManually
()
{
this
.
selectionOfEvents
=
true
this
.
contestItem
.
loading
=
true
await
new
Promise
((
resolve
)
=>
{
hook
.
getInitListRequest
(()
=>
{
let
data
=
{
condition
:
this
.
contestItem
.
condition
,
page_index
:
this
.
contestItem
.
pageIndex
,
page_size
:
this
.
contestItem
.
pageSize
,
}
api
.
GetCodeList
(
data
).
then
(
res
=>
{
this
.
contestItem
.
total
=
res
.
response
.
data_count
this
.
dataCompetitionItem
=
res
.
response
.
data
resolve
()
})
})
})
this
.
contestItem
.
loading
=
false
},
tableRadio
(
e
)
{
// competitionreportid
this
.
selectTheNumberMedian
=
e
console
.
log
(
"
🚀🚀🚀,
"
,
e
)
},
contestItemhandleChangePage
(
e
)
{
this
.
contestItem
.
pageIndex
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
contestItemhandleChangePageSize
(
e
)
{
this
.
contestItem
.
pageSize
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
save
(
back
=
''
)
{
const
fun
=
async
(
changecommitid
)
=>
{
let
formValidate
=
_
.
cloneDeep
(
this
.
formValidate
)
let
files_list
=
formValidate
.
files_list
delete
formValidate
.
files_list
let
data
=
{
...
this
.
formValidate
,
}
// "changecommitid": changecommitid,
// "flowid": this.flowid,
// "module_id": this.module_id,
// "module": this.module,
// "competition_sign": formValidate,
// 'files_list': files_list,
const
res
=
await
hook
.
myEncapsulationFunction
(
async
()
=>
{
return
await
api
.
SignSave
(
data
)
})
if
(
back
===
1
&&
res
.
code
===
1
)
this
.
$router
.
back
()
this
.
GetSignInfo
()
}
switch
(
this
.
changecommitid
)
{
case
undefined
:
fun
(
this
.
changecommitid
)
break
;
default
:
fun
(
this
.
changecommitid
)
break
;
}
},
async
GetSignInfo
()
{
const
res
=
await
api
.
GetSignInfo
({
id
:
this
.
signId
})
// this.formValidate = {...this.formValidate, ...res.resopnse}
switch
(
res
.
response
.
changecommitid
)
{
case
null
:
break
;
default
:
this
.
signid
=
res
.
response
.
competitionsignid
res
.
response
.
level
=
Number
(
res
.
response
.
level
)
res
.
response
.
race_level
=
Number
(
res
.
response
.
race_level
)
this
.
formValidate
=
res
.
response
this
.
formValidate
.
competitionTimeRange
=
[
res
.
response
.
begin_time
?
res
.
response
.
begin_time
.
split
(
'
00:00
'
)[
0
]
:
''
,
res
.
response
.
end_time
?
res
.
response
.
end_time
.
split
(
'
00:00
'
)[
0
]
:
''
]
this
.
formValidate
.
files_list
=
res
.
response
.
files_list
this
.
preparationPlan
=
res
.
response
.
files_list
// 培训方案文件 仅标识
//------------------------------
this
.
changecommitid
=
res
.
response
.
changecommitid
this
.
flowid
=
res
.
response
.
flowid
this
.
module_id
=
res
.
response
.
module_id
this
.
module
=
res
.
response
.
module
break
;
}
},
clearableTime
(
e
)
{
this
.
formValidate
.
competitionTimeRange
=
[]
},
trainingTime
(
e
)
{
this
.
formValidate
.
competitionTimeRange
=
e
this
.
formValidate
.
begin_time
=
dayjs
(
e
[
0
]).
format
(
'
YYYY-MM-DD
'
)
this
.
formValidate
.
end_time
=
dayjs
(
e
[
1
]).
format
(
'
YYYY-MM-DD
'
)
},
async
competitionSelectName
(
e
)
{
// const res = await api.ReportChange({id: e})
const
res
=
await
api
.
ReportChangeById
({
id
:
e
})
this
.
formValidate
.
sponsor
=
res
.
response
.
sponsor
this
.
formValidate
.
level
=
Number
(
res
.
response
.
level
)
this
.
formValidate
.
file_name
=
res
.
response
.
file_name
this
.
formValidate
.
competitionreportid
=
res
.
response
.
competitionreportid
this
.
competitionnameValue
=
res
.
response
.
competitionname
},
fileDelete
(
e
)
{
this
.
formValidate
.
files_list
.
map
((
cur
,
index
)
=>
{
if
(
cur
.
id
===
e
.
id
)
{
this
.
formValidate
.
files_list
.
splice
(
index
,
1
)
}
})
this
.
preparationPlan
.
map
((
cur
,
index
)
=>
{
if
(
cur
.
id
===
e
.
id
)
{
this
.
preparationPlan
.
splice
(
index
,
1
)
}
})
this
.
fileKey
++
},
onError
(
response
,
file
,
fileList
)
{
},
onsuccess
(
response
,
file
,
fileList
)
{
console
.
log
(
"
🚀🚀🚀,onsuccess
"
,
response
,
file
,
fileList
)
},
onFormatError
(
response
,
file
,
fileList
)
{
this
.
$Message
.
info
(
'
文件类型错误!
'
)
console
.
log
(
"
🚀🚀🚀,onFormatError
"
,
response
,
file
,
fileList
)
},
async
OtherFilesBeforeUpload
(
file
)
{
this
.
$Spin
.
show
()
let
formData
=
new
FormData
();
formData
.
append
(
`file`
,
file
);
const
res
=
await
api
.
fileUpload
(
'
OtherFiles
'
,
formData
);
this
.
formValidate
.
files_list
.
push
(
res
.
response
)
hook
.
publicMessage
(
res
)
this
.
fileKey
++
return
false
},
async
competitionBeforeUpload
(
file
)
{
this
.
$Spin
.
show
()
let
formData
=
new
FormData
();
formData
.
append
(
`file`
,
file
);
const
res
=
await
api
.
fileUpload
(
'
TrainPlan
'
,
formData
);
this
.
formValidate
.
files_list
.
push
(
res
.
response
)
hook
.
publicMessage
(
res
)
this
.
fileKey
++
return
false
},
async
trainBeforeUpload
(
file
)
{
this
.
$Spin
.
show
()
let
formData
=
new
FormData
();
formData
.
append
(
`file`
,
file
);
const
res
=
await
api
.
fileUpload
(
'
Project
'
,
formData
);
this
.
preparationPlan
.
push
(
res
.
response
);
this
.
formValidate
.
files_list
.
push
(
res
.
response
);
hook
.
publicMessage
(
res
)
this
.
fileKey
++
return
false
},
handleSubmit
()
{
this
.
$refs
[
'
formValidate
'
].
validate
(
async
(
cur
)
=>
{
if
(
cur
)
{
// this.formValidate.competitionname = this.competitionnameValue
// this.$Spin.show()
if
(
!!
this
.
preparationPlan
.
length
)
{
clearTimeout
(
this
.
timer
)
this
.
timer
=
setTimeout
(
async
()
=>
{
this
.
formValidate
.
flowid
=
102
let
data
=
_
.
cloneDeep
(
this
.
formValidate
)
const
res
=
await
api
.
FlowSignSubmit
(
data
)
if
(
res
.
code
===
1
)
this
.
$emit
(
'
resultValue
'
,
false
)
hook
.
publicMessage
(
res
)
// setTimeout(() => {
// this.$router.back()
// // window.open("about:blank", "_top").close()
// }, 1500)
},
1000
)
}
else
{
this
.
$Message
.
error
(
'
未上传培训方案,请上传培训方案
'
)
}
}
})
},
handleReset
()
{
this
.
formValidate
=
{}
},
async
getCompetiotionName
()
{
const
res
=
await
api
.
GetReportSelect
()
this
.
competitionNameArray
=
res
.
response
const
data
=
await
api
.
GetSignUpPeople
()
this
.
signPeople
=
data
.
response
}
},
//生命周期 - 创建之前",数据模型未加载,方法未加载,html模板未加载
beforeCreate
()
{
},
//生命周期 - 创建完成(可以访问当前this实例)",数据模型已加载,方法已加载,html模板已加载,html模板未渲染
created
()
{
},
//生命周期 - 挂载之前",html模板未渲染
beforeMount
()
{
},
//生命周期 - 更新之前",数据模型已更新,html模板未更新
beforeUpdate
()
{
},
//生命周期 - 更新之后",数据模型已更新,html模板已更新
updated
()
{
},
//生命周期 - 销毁之前",
beforeDestroy
()
{
},
destroyed
()
{
clearInterval
(
this
.
countTimer
)
},
//生命周期 - 销毁完成",
//如果页面有keep-alive缓存功能,这个函数会触发",
activated
()
{
},
}
</
script
>
<
style
scoped
lang=
"less"
>
/deep/ .ivu-select-single .ivu-select-selection .ivu-select-placeholder {
color: #515a6e;
}
/deep/ .ivu-select-dropdown {
width: inherit;
max-height: 600px;
overflow: auto;
margin: 5px 0;
padding: 5px 0;
background-color: #fff;
box-sizing: border-box;
border-radius: 4px;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
position: absolute;
z-index: 900;
}
.filelist {
}
.filelist:hover {
color: #1e93ff;
background-color: #f7f7f7;
}
.fileddelete {
}
.fileddelete:hover {
color: red;
transform: scale(1.5);
}
</
style
>
<
style
>
.competitionClassIcon
{
display
:
flex
;
align-items
:
center
;
cursor
:
pointer
;
}
.competitionClassIcon
:hover
{
transform
:
scale
(
1.5
);
color
:
red
;
}
.container
{
overflow-y
:
auto
;
width
:
100%
;
//
min-height
:
987px
;
display
:
flex
;
align-content
:
center
;
justify-content
:
center
;
flex-wrap
:
wrap
;
}
.selectCompetitionNumber
{
}
.Atext
{
float
:
right
;
margin-bottom
:
0.7vw
;
margin-top
:
0.7vw
;
font-size
:
20px
}
.Atext
:hover
{
transform
:
scale
(
1.2
);
}
</
style
>
src/pages/CompetitionSign/index.vue
浏览文件 @
d2b1f20c
...
...
@@ -67,6 +67,8 @@
<
template
v-slot:action=
"{row}"
>
<!--
<a
@
click=
"importFile(row)"
>
导出
</a>
-->
<a
@
click=
"signUpdate(row)"
v-if=
"row.approval_state === 4"
>
编辑
</a>
<a
style=
"cursor: not-allowed;color: #9297a1"
v-else
>
编辑
</a>
<a
@
click=
"edit(row)"
style=
"margin-left: 15px;"
>
详细
</a>
<Poptip
confirm
transfer
title=
"你确定删除吗?"
@
on-ok=
"delCompetition(row)"
@
on-cancel=
"cancel"
>
<a
style=
"margin-left: 15px;color: red"
>
删除
</a>
...
...
@@ -184,6 +186,21 @@
<!--
<Button
type=
"primary"
@
click=
"importOk"
>
确定
</Button>
-->
</
template
>
</Modal>
<Modal
v-model=
"updateSignModal"
title=
"修改"
width=
"60"
:styles=
"{top:'10px'}"
>
<Spin
fix
v-if=
"importLoading"
></Spin>
<div
style=
" display: flex;justify-content: space-around;"
>
<UpdateSignModal
v-if=
"updateSignModal"
@
resultValue=
"resultValue"
:signId=
"signId"
></UpdateSignModal>
</div>
<
template
#footer
>
<Button
type=
"text"
@
click=
"importModal =false"
>
关闭
</Button>
<!--
<Button
type=
"primary"
@
click=
"importOk"
>
确定
</Button>
-->
</
template
>
</Modal>
</div>
</template>
...
...
@@ -191,12 +208,17 @@
import
*
as
hook
from
'
../../hook
'
import
*
as
api
from
'
../../api/requestUtils
'
import
_
from
"
lodash
"
;
import
UpdateSignModal
from
'
./components/UpdateSignModal.vue
'
export
default
{
name
:
'
list
'
,
components
:
{
UpdateSignModal
,
},
data
()
{
return
{
signId
:
''
,
updateSignModal
:
false
,
keys1
:
1
,
columnsStudent
:
[
{
...
...
@@ -458,6 +480,7 @@ export default {
{
value
:
1
,
label
:
'
审批中
'
},
{
value
:
2
,
label
:
'
审批通过
'
},
{
value
:
3
,
label
:
'
审批不通过
'
},
{
value
:
4
,
label
:
'
退回
'
},
],
levelArray
:
[
/*
...
...
@@ -496,6 +519,16 @@ export default {
this
.
GetLevelBySelect
()
},
methods
:
{
resultValue
(
e
)
{
this
.
updateSignModal
=
e
this
.
getCompetitionSignList
()
},
signUpdate
(
row
)
{
this
.
signId
=
row
.
competitionsignid
this
.
updateSignModal
=
true
},
async
GetLevelBySelect
()
{
const
res
=
await
api
.
GetLevelBySelect
()
this
.
search
.
levelArray
=
res
.
response
...
...
src/pages/flowAssemble/awaitDoneComponents/index.vue
浏览文件 @
d2b1f20c
...
...
@@ -648,13 +648,14 @@ export default {
this
.
teamDrawer
=
true
},
async
ok
()
{
this
.
btLoad
=
true
const
data
=
{
taskid
:
this
.
data
.
Object
.
taskid
,
remark
:
this
.
publicTextarea
}
switch
(
this
.
publicIdentificatio
)
{
case
'
pass
'
:
this
.
btLoad
=
true
const
pass
=
await
api
.
FlowApproval
(
data
)
this
.
btLoad
=
false
hook
.
publicMessage
(
pass
)
...
...
@@ -669,6 +670,7 @@ export default {
case
'
revocation
'
:
this
.
$refs
.
formValidate
.
validate
(
async
(
value
)
=>
{
if
(
value
)
{
this
.
btLoad
=
true
data
.
action
=
this
.
formValidate
.
publicAction
const
Revocation
=
await
api
.
FlowRevocation
(
data
)
if
(
Revocation
.
code
===
1
)
{
...
...
src/pages/flowAssemble/awaitDoneList.vue
浏览文件 @
d2b1f20c
...
...
@@ -7,9 +7,23 @@
</div>
</
template
>
<
template
#extra
>
<Select
style=
"width: 15vw"
@
on-change=
"flowSelectOnChnage"
placeholder=
"请选择流程名称"
>
<Option
v-for=
"(item,index) in flowSelect"
:key=
"index"
:value=
"item.id"
>
{{
item
.
name
}}
</Option>
</Select>
<div
style=
"display: flex;"
>
<Button
type=
"primary"
style=
"margin-right: 1vw;"
>
批量审批
</Button>
<Select
style=
"width: 12vw;margin-right: 1vw"
@
on-change=
"flowSelectOnChnage"
placeholder=
"请选择流程名称"
>
<Option
v-for=
"(item,index) in flowSelect"
:key=
"index"
:value=
"item.id"
>
{{
item
.
name
}}
</Option>
</Select>
<Select
style=
"width: 12vw;margin-right: 1vw"
>
<Option
:label=
"item.name"
v-for=
"(item,index) in flowStateArray"
:key=
"index"
></Option>
</Select>
<Select
style=
"width: 12vw;margin-right: 1vw"
>
<Option
:label=
"item.name"
v-for=
"(item,index) in flowStateArray"
:key=
"index"
></Option>
</Select>
<Input
v-model=
"search"
placeholder=
"请输入标题或流程名称搜索..."
style=
"width: 12vw;margin-right: 1vw"
></Input>
<Input
v-model=
"search"
placeholder=
"请输入姓名或工号搜索..."
style=
"width: 12vw;margin-right: 1vw"
></Input>
<Button
type=
"primary"
>
搜索
</Button>
</div>
</
template
>
<!-- <Button type="primary" class="ivu-ml-8" @click="add">-->
<!-- <Icon type="md-add"/>-->
...
...
@@ -74,6 +88,20 @@ export default {
data
()
{
return
{
flowStateArray
:
[
{
name
:
'
草稿
'
,
value
:
0
,
},
{
name
:
'
运行中
'
,
value
:
1
,
},
{
name
:
'
已结束
'
,
value
:
2
,
},
],
flowSelect
:
[],
formData
:
{
name
:
''
,
...
...
@@ -112,12 +140,17 @@ export default {
xs
:
24
},
columns
:
[
// {
// title: '序号',
// type: 'index',
// align: 'center',
// show: true,
// width: 80
// },
{
title
:
'
序号
'
,
type
:
'
index
'
,
align
:
'
center
'
,
show
:
true
,
width
:
80
type
:
'
selection
'
,
width
:
60
,
align
:
'
center
'
},
{
title
:
'
标题
'
,
...
...
src/pages/flowAssemble/completeFlow.vue
浏览文件 @
d2b1f20c
...
...
@@ -10,6 +10,20 @@
<!-- <Icon type="md-add"/>-->
<!-- 新增-->
<!-- </Button>-->
<
template
#extra
>
<div
style=
"display: flex;"
>
<Select
style=
"width: 15vw;margin-right: 1vw"
>
<Option
:label=
"item.name"
v-for=
"(item,index) in flowStateArray"
:key=
"index"
></Option>
</Select>
<Select
style=
"width: 15vw;margin-right: 1vw"
>
<Option
:label=
"item.name"
v-for=
"(item,index) in flowStateArray"
:key=
"index"
></Option>
</Select>
<Input
v-model=
"search"
placeholder=
"请输入标题或流程名称搜索..."
style=
"width: 15vw;margin-right: 1vw"
></Input>
<Input
v-model=
"search"
placeholder=
"请输入姓名或工号搜索..."
style=
"width: 15vw;margin-right: 1vw"
></Input>
<Button
type=
"primary"
>
搜索
</Button>
</div>
</
template
>
<Table
:columns=
"columns"
:data=
"tableData"
...
...
@@ -139,6 +153,20 @@ export default {
data
()
{
return
{
flowStateArray
:
[
{
name
:
'
草稿
'
,
value
:
0
,
},
{
name
:
'
运行中
'
,
value
:
1
,
},
{
name
:
'
已结束
'
,
value
:
2
,
},
],
formData
:
{
name
:
''
,
url
:
''
,
...
...
src/pages/flowAssemble/flowComponent/CompetitionSignForm.vue
浏览文件 @
d2b1f20c
<
template
>
<div
class=
"container"
>
<div
style=
"width: 50%;height: 90vh;overflow-y: auto;"
>
<Card
style=
"width: 100%;height: auto;"
>
<template
#title
><h2
style=
"text-align: center"
>
参赛报名
</h2></
template
>
<Form
ref=
"formValidate"
:model=
"formValidate"
:rules=
"ruleValidate"
:label-width=
"180"
>
<FormItem
label=
"赛事编号"
prop=
"report_code"
>
<div
style=
"display: flex"
>
<Input
v-model=
"formValidate.report_code"
:disabled=
"true"
placeholder=
"请输入赛事编号"
></Input>
<Button
@
click=
"addAddressManually"
style=
"margin-left: 1vw"
type=
"primary"
>
手动添加
</Button>
</div>
</FormItem>
<FormItem
label=
"赛事名称"
prop=
"competitionname"
>
<Input
v-model=
"formValidate.competitionname"
:disabled=
"true"
placeholder=
"请输入赛事名称"
></Input>
<!-- <Select v-model="formValidate.competitionname" :disabled="true" @on-change="competitionSelectName"-->
<!-- placeholder="赛事名称">-->
<!-- <Option v-for="(item,index) in competitionNameArray" :key="index"-->
<!-- :value="item.id">-->
<!-- {{ item.name }}-->
<!-- </Option>-->
<!-- </Select>-->
</FormItem>
<FormItem
label=
"赛项名称"
prop=
"competitionsubitem_name"
>
<Input
v-model=
"formValidate.competitionsubitem_name"
placeholder=
"请输入赛事编号"
></Input>
</FormItem>
<FormItem
label=
"主办单位"
prop=
"sponsor"
>
<Input
v-model=
"formValidate.sponsor"
:disabled=
"true"
placeholder=
"请输入主办单位"
></Input>
</FormItem>
<FormItem
label=
"赛事级别"
prop=
"competition_level_name1"
>
<Input
v-model=
"formValidate.competition_level_name"
:disabled=
"true"
placeholder=
"请输入赛事级别"
></Input>
<!-- <Select v-model="formValidate.level" :disabled="true" placeholder="请选择赛事级别">-->
<!-- <Option v-for="(item,index) in levelArray" :key="index" :value="item.value">{{ item.label }}</Option>-->
<!-- </Select>-->
</FormItem>
<FormItem
label=
"赛事类型"
prop=
"competition_type_name1"
>
<Input
v-model=
"formValidate.competition_type_name"
:disabled=
"true"
placeholder=
"请输入赛事类型"
></Input>
<!-- <Select v-model="formValidate.level" :disabled="true" placeholder="请选择赛事类型">-->
<!-- <Option v-for="(item,index) in levelArray" :key="index" :value="item.value">{{ item.label }}</Option>-->
<!-- </Select>-->
</FormItem>
<FormItem
label=
"竞赛形式(团/个)"
prop=
"way1"
>
<RadioGroup
v-model=
"formValidate.way"
>
<Radio
v-for=
"(item,index) in wayArray"
:key=
"index"
:label=
"item.value"
>
{{ item.label }}
</Radio>
</RadioGroup>
<!-- <Select v-model="formValidate.way" placeholder="请选择竞赛形式(团/个)">-->
<!-- <Option v-for="(item,index) in wayArray" :disabled="item.value===1" :key="index" :value="item.value">-->
<!-- {{ item.label }}-->
<!-- </Option>-->
<!-- </Select>-->
</FormItem>
<FormItem
label=
"比赛时间"
prop=
"competitionTimeRange1"
>
<DatePicker
v-model=
"formValidate.competitionTimeRange"
@
clearable=
"clearableTime"
@
on-change=
"trainingTime"
type=
"daterange"
:clearable=
"false"
placeholder=
"请选择比赛时间"
style=
"width: 100%"
/>
</FormItem>
<div
style=
"width: 100%;display: flex;"
>
<FormItem
style=
"width: 50%;"
label=
"经费预算"
prop=
"money"
>
<Input
v-model=
"formValidate.money"
placeholder=
"请输入经费预算"
></Input>
</FormItem>
<FormItem
label=
"计划培训量(课时):"
prop=
"class_hour1"
style=
"width: 50%"
>
<div
style=
"display: flex"
>
<Input
:disabled=
"formValidate.competition_type_name !== 'A类'"
v-model=
"formValidate.class_hour"
placeholder=
"请输入计划培训量"
></Input>
<Tabs
value=
"1"
>
<TabPane
label=
"学生赛"
name=
"1"
class=
"container"
>
<Card
style=
"width: 100%;height: auto;"
>
<template
#title
><h2
style=
"text-align: center"
>
参赛报名
</h2></
template
>
<Form
ref=
"formValidate"
:model=
"formValidate"
:rules=
"ruleValidate"
:label-width=
"130"
>
<FormItem
label=
"赛事编号"
prop=
"report_code"
>
<div
style=
"display: flex"
>
<!-- <Input v-model="formValidate.report_code" :disabled="true" placeholder="请输入赛事编号"></Input>-->
<!-- <Button @click="addAddressManually" style="margin-left: 1vw" type="primary">手动添加</Button>-->
<Select
class=
"selectCompetitionNumber"
ref=
"select"
@
on-open-change=
"onOpenChange"
v-model=
"formValidate.report_code"
@
on-change=
"competitionSelectName"
:placeholder=
"formValidate.report_code"
>
<!-- <Option v-for="(item,index) in competitionNameArray" :key="index"-->
<!-- :value="item.id">-->
<!-- {{ item.name }}-->
<!-- </Option>-->
<Card>
<
template
#title
>
<div
style=
"display: flex;justify-content: space-between;align-items: center;"
>
<!--
<h3>
选择编号
</h3>
-->
<Input
style=
"width:100%"
v-model=
"contestItem.condition"
placeholder=
"请输入编号或赛项名称、赛事名称搜索..."
>
<template
#prepend
>
<Icon
type=
"md-search"
/>
</
template
>
</Input>
</div>
</template>
<Table
:columns=
"columnsCompetitionItem"
:data=
"dataCompetitionItem"
:loading=
"contestItem.loading"
:key=
"tableKeys"
>
<!-- <template #report_code="{row}">-->
<!-- {{ row.report_code + '_' + row.competitionname + '_' + row.competitionsubitem_name }}-->
<!-- </template>-->
<
template
#radio
="{
row
}"
>
<input
style=
"width: 30px;height: 30px;cursor: pointer;accent-color: #1e93ff"
type=
"radio"
:value=
"row.name"
@
click=
"tableRadio(row)"
name=
"name"
>
</input>
</
template
>
</Table>
<div
class=
"ivu-text-left ivu-mt"
>
<div
style=
"display: flex"
>
<Page
:total=
"contestItem.total"
:current.sync=
"contestItem.pageIndex"
show-total
:page-size=
"contestItem.pageSize"
@
on-change=
"contestItemhandleChangePage"
@
on-page-size-change=
"contestItemhandleChangePageSize"
/>
<Button
type=
"primary"
@
click=
"saveTheEventSingleOption"
style=
"width: 15%;margin-left: auto"
>
确定
</Button>
</div>
</div>
</Card>
<!-- <Option v-for="(item,index) in competitionNameArray" :key="index"-->
<!-- :value="item.id">-->
<!-- {{ item.name }}-->
<!-- </Option>-->
</Select>
</div>
</FormItem>
<FormItem
label=
"赛事名称"
prop=
"competitionname"
>
<Input
v-model=
"formValidate.competitionname"
:disabled=
"true"
placeholder=
"请输入赛事名称"
></Input>
<!-- <Select v-model="formValidate.competitionname" :disabled="true" @on-change="competitionSelectName"-->
<!-- placeholder="赛事名称">-->
<!-- <Option v-for="(item,index) in competitionNameArray" :key="index"-->
<!-- :value="item.id">-->
<!-- {{ item.name }}-->
<!-- </Option>-->
<!-- </Select>-->
</FormItem>
<FormItem
label=
"赛项名称"
prop=
"competitionsubitem_name"
>
<Input
v-model=
"formValidate.competitionsubitem_name"
placeholder=
"请输入赛项名称"
></Input>
</FormItem>
<FormItem
label=
"主办单位"
prop=
"sponsor"
>
<Input
v-model=
"formValidate.sponsor"
:disabled=
"true"
placeholder=
"请输入主办单位"
></Input>
</FormItem>
<FormItem
label=
"赛事级别"
prop=
"competition_level_name1"
>
<Input
v-model=
"formValidate.competition_level_name"
:disabled=
"true"
placeholder=
"请输入赛事级别"
></Input>
<!-- <Select v-model="formValidate.level" :disabled="true" placeholder="请选择赛事级别">-->
<!-- <Option v-for="(item,index) in levelArray" :key="index" :value="item.value">{{ item.label }}</Option>-->
<!-- </Select>-->
</FormItem>
<FormItem
label=
"赛事类型"
prop=
"competition_type_name1"
>
<Input
v-model=
"formValidate.competition_type_name"
:disabled=
"true"
placeholder=
"请输入赛事类型"
></Input>
<!-- <Select v-model="formValidate.level" :disabled="true" placeholder="请选择赛事类型">-->
<!-- <Option v-for="(item,index) in levelArray" :key="index" :value="item.value">{{ item.label }}</Option>-->
<!-- </Select>-->
</FormItem>
<FormItem
label=
"竞赛形式(团/个)"
prop=
"way1"
>
<RadioGroup
v-model=
"formValidate.way"
>
<Radio
v-for=
"(item,index) in wayArray"
:key=
"index"
:label=
"item.value"
>
{{ item.label }}
</Radio>
</RadioGroup>
<!-- <Select v-model="formValidate.way" placeholder="请选择竞赛形式(团/个)">-->
<!-- <Option v-for="(item,index) in wayArray" :disabled="item.value===1" :key="index" :value="item.value">-->
<!-- {{ item.label }}-->
<!-- </Option>-->
<!-- </Select>-->
</FormItem>
<FormItem
label=
"比赛时间"
prop=
"competitionTimeRange1"
>
<DatePicker
v-model=
"formValidate.competitionTimeRange"
@
clearable=
"clearableTime"
@
on-change=
"trainingTime"
type=
"daterange"
:clearable=
"false"
placeholder=
"请选择比赛时间"
style=
"width: 100%"
/>
</FormItem>
<div
:style=
"` max-height:${unfold.height}px;overflow-y: hidden;`"
>
<div
style=
" width: 100%;height: 5vh;display: flex;align-items: center;"
>
<h3>
参赛人员
</h3>
<Button
type=
"primary"
style=
"width: 15%; margin-left: 3vw"
@
click=
"addTeam = true"
>
添加团队
</Button>
<Button
type=
"primary"
style=
"width: 15%; margin-left: 3vw"
@
click=
"addTeamPeopleModal"
>
增加团队队员
</Button>
</div>
<!-- 参赛队伍卡片-->
<Card
style=
"margin:0.5vw "
v-for=
"(item,index) in teamObjectData"
:key=
"index"
>
<
template
#title
>
<h3>
{{
item
.
teanname
}}
(指导教师
<span
style=
"color: #1e93ff"
>
{{
item
.
guide_teacher_list
.
length
}}
</span>
位,参赛教师
<span
style=
"color: #1e93ff"
>
{{
item
.
contestant_teacher_list
.
length
}}
</span>
位,参赛学生
<span
style=
"color: #1e93ff"
>
{{
item
.
student_list
.
length
}}
</span>
位)
</h3>
</
template
>
<
template
#extra
>
<!--
<a
@
click=
"aTeamValue = item;addTeamMembers3.Drawer = true;"
>
增加队员
</a>
-->
<a
@
click=
"deleteTeam(item)"
style=
"color: red;margin-left: 1vw"
>
删除本团队
</a>
</
template
>
<Table
:columns=
"guidecolumnsTeacher"
:data=
"item.guide_teacher_list"
>
<
template
#action
="{
row
}"
>
<a
style=
"color: red"
@
click=
"TeamMembersDel(row)"
>
删除
</a>
</
template
>
</Table>
<Table
:columns=
"columnsTeacher"
:data=
"item.contestant_teacher_list"
>
<
template
#action
="{
row
}"
>
<a
style=
"color: red"
@
click=
"TeamMembersDel(row)"
>
删除
</a>
</
template
>
</Table>
<Table
:columns=
"columnsStudent"
:data=
"item.student_list"
>
<
template
#action
="{
row
}"
>
<a
style=
"color: red"
@
click=
"TeamMembersDel(row)"
>
删除
</a>
</
template
>
</Table>
</Card>
</div>
<!-- 展开卡片-->
<div
class=
"Atext"
>
<!-- 1收起 0展开-->
<a
v-if=
"!!teamObjectData.length"
@
click=
"unfoldTeamCard"
>
<Icon
v-if=
"unfold.State === 0"
type=
"ios-arrow-dropdown-circle"
></Icon>
<Icon
v-else
type=
"ios-arrow-dropup-circle"
/>
{{ unfold.flag[unfold.State] }}
</a>
</div>
</FormItem>
</div>
<!-- <FormItem label="比赛时间(天数)" prop="competition_time">-->
<!-- <Input style="width: 100%" v-model="formValidate.competition_time"-->
<!-- placeholder="请输入比赛时间(天数)"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛地点" prop="place">-->
<!-- <Input v-model="formValidate.place" placeholder="请输入竞赛地点"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="报名者" prop="sign_up">-->
<!-- <Select v-model="formValidate.sign_up" placeholder="请选择报名者">-->
<!-- <Option v-for="(item,index) in signPeople" :key="index" :value="item.id">-->
<!-- {{ item.name }}-->
<!-- </Option>-->
<!-- </Select>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛文件名(文号)" prop="file_name">-->
<!-- <Input v-model="formValidate.file_name" :disabled="true" placeholder="请输入竞赛文件名(文号)"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛分级" prop="race_level">-->
<!-- <Select v-model="formValidate.race_level" placeholder="请选择赛事级别">-->
<!-- <Option v-for="(item,index) in levelArray" :key="index" :value="item.value">{{ item.label }}</Option>-->
<!-- </Select>-->
<!-- </FormItem>-->
<!-- <FormItem label="参赛队数量(队/人)" prop="arity">-->
<!-- <Input v-model="formValidate.arity" placeholder="请输入参赛队数量(队/人)"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="计划培训量" prop="class_hour">-->
<!-- <Input v-model="formValidate.class_hour" placeholder="请输入计划培训量"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛对应课程" prop="curriculum">-->
<!-- <Input v-model="formValidate.curriculum" placeholder="请输入竞赛对应课程"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛的其他要求" prop="request">-->
<!-- <Input v-model="formValidate.request" type="textarea" :autosize="{minRows: 7,maxRows: 10}"-->
<!-- placeholder="请输入竞赛的其他要求"></Input>-->
<!-- </FormItem>-->
<FormItem
:key=
"fileKey"
>
<div
style=
"display: flex;justify-content: flex-start;box-sizing: border-box"
>
<Upload
style=
"margin-right: 10px"
:multiple=
"false"
:before-upload=
"trainBeforeUpload"
:on-error=
"onError"
:on-success=
"onsuccess"
:on-format-error=
"onFormatError"
:show-upload-list=
"true"
type=
"drag"
action=
""
>
<div
style=
"padding: 20px 30px; width: 100%;"
>
<Icon
type=
"ios-cloud-upload"
size=
"52"
style=
"color: #3399ff"
></Icon>
<p>
培训方案
</p>
<div
style=
"width: 100%;display: flex;"
>
<FormItem
style=
"width: 50%;"
label=
"经费预算"
prop=
"money"
>
<Input
v-model=
"formValidate.money"
placeholder=
"院系经费总额"
>
<
template
#append
>
<span>
不包含课时费(元)
</span>
</
template
>
</Input>
</FormItem>
<FormItem
label=
"计划培训量:"
prop=
"class_hour1"
style=
"width: 50%"
>
<div
style=
"display: flex"
>
<Input
:disabled=
"formValidate.competition_type_name !== 'A类'"
v-model=
"formValidate.class_hour"
placeholder=
"请输入计划培训量"
>
<
template
#append
>
课时
</
template
>
</Input>
</div>
</FormItem>
</div>
<!-- <FormItem label="比赛时间(天数)" prop="competition_time">-->
<!-- <Input style="width: 100%" v-model="formValidate.competition_time"-->
<!-- placeholder="请输入比赛时间(天数)"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛地点" prop="place">-->
<!-- <Input v-model="formValidate.place" placeholder="请输入竞赛地点"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="报名者" prop="sign_up">-->
<!-- <Select v-model="formValidate.sign_up" placeholder="请选择报名者">-->
<!-- <Option v-for="(item,index) in signPeople" :key="index" :value="item.id">-->
<!-- {{ item.name }}-->
<!-- </Option>-->
<!-- </Select>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛文件名(文号)" prop="file_name">-->
<!-- <Input v-model="formValidate.file_name" :disabled="true" placeholder="请输入竞赛文件名(文号)"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛分级" prop="race_level">-->
<!-- <Select v-model="formValidate.race_level" placeholder="请选择赛事级别">-->
<!-- <Option v-for="(item,index) in levelArray" :key="index" :value="item.value">{{ item.label }}</Option>-->
<!-- </Select>-->
<!-- </FormItem>-->
<!-- <FormItem label="参赛队数量(队/人)" prop="arity">-->
<!-- <Input v-model="formValidate.arity" placeholder="请输入参赛队数量(队/人)"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="计划培训量" prop="class_hour">-->
<!-- <Input v-model="formValidate.class_hour" placeholder="请输入计划培训量"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛对应课程" prop="curriculum">-->
<!-- <Input v-model="formValidate.curriculum" placeholder="请输入竞赛对应课程"></Input>-->
<!-- </FormItem>-->
<!-- <FormItem label="竞赛的其他要求" prop="request">-->
<!-- <Input v-model="formValidate.request" type="textarea" :autosize="{minRows: 7,maxRows: 10}"-->
<!-- placeholder="请输入竞赛的其他要求"></Input>-->
<!-- </FormItem>-->
<FormItem
:key=
"fileKey"
>
<div
style=
"display: flex;justify-content: flex-start;box-sizing: border-box"
>
<Upload
style=
"margin-right: 10px"
:multiple=
"false"
:before-upload=
"trainBeforeUpload"
:on-error=
"onError"
:on-success=
"onsuccess"
:on-format-error=
"onFormatError"
:show-upload-list=
"true"
type=
"drag"
action=
""
>
<div
style=
"padding: 20px 30px; width: 100%;"
>
<Icon
type=
"ios-cloud-upload"
size=
"52"
style=
"color: #3399ff"
></Icon>
<p>
培训方案
</p>
</div>
</Upload>
<Upload
style=
"margin-right: 10px"
:multiple=
"false"
:before-upload=
"competitionBeforeUpload"
:on-error=
"onError"
:on-success=
"onsuccess"
:on-format-error=
"onFormatError"
:show-upload-list=
"true"
type=
"drag"
action=
""
>
<div
style=
"padding: 20px 30px; width: 100%;"
>
<Icon
type=
"ios-cloud-upload"
size=
"52"
style=
"color: #3399ff"
></Icon>
<p>
备赛方案
</p>
</div>
</Upload>
<Upload
:multiple=
"false"
:before-upload=
"OtherFilesBeforeUpload"
:on-error=
"onError"
:on-success=
"onsuccess"
:on-format-error=
"onFormatError"
:show-upload-list=
"true"
type=
"drag"
action=
""
>
<div
style=
"padding: 20px 30px; width: 100%;"
>
<Icon
type=
"ios-cloud-upload"
size=
"52"
style=
"color: #3399ff"
></Icon>
<p>
其他附件
</p>
</div>
</Upload>
</div>
</Upload>
<Upload
:multiple=
"false"
:before-upload=
"competitionBeforeUpload"
:on-error=
"onError"
:on-success=
"onsuccess"
:on-format-error=
"onFormatError"
:show-upload-list=
"true"
type=
"drag"
action=
""
>
<div
style=
"padding: 20px 30px; width: 100%;"
>
<Icon
type=
"ios-cloud-upload"
size=
"52"
style=
"color: #3399ff"
></Icon>
<p>
备赛方案
</p>
<div
class=
"filelist"
v-for=
"(item,index) in formValidate.files_list"
:key=
"index"
>
{{ item.file_name }}
<Icon
v-if=
"item.file_name"
class=
"fileddelete"
@
click=
"fileDelete(item)"
type=
"ios-trash"
/>
</div>
</Upload>
</div>
<div
class=
"filelist"
v-for=
"(item,index) in formValidate.files_list"
:key=
"index"
>
{{ item.file_name }}
<Icon
v-if=
"item.file_name"
class=
"fileddelete"
@
click=
"fileDelete(item)"
type=
"ios-trash"
/>
</div>
</FormItem>
</Form>
<Affix
style=
"display: flex;align-items: center; width: 100%;height: 5vh;background-color: #FF9900;"
>
<span
style=
"font-family: '宋体';margin-left: 1vw;color: white"
>
请优先完善参赛报名基础信息保存后,再添加参赛报名团队及成员。
</span>
</Affix>
<div
style=
" width: 100%;height: 5vh;display: flex;align-items: center;"
>
<h3>
参赛人员
</h3>
<Button
type=
"primary"
style=
"width: 15%; margin-left: 3vw"
@
click=
"addTeam = true"
>
添加团队
</Button>
</div>
<Card
style=
"margin-top: 1vw;"
v-for=
"(item,index) in teamObjectData"
:key=
"index"
>
<
template
#title
>
<h3>
{{
item
.
teanname
}}
(指导教师
{{
item
.
teacher_list
.
length
}}
位;参赛学生
{{
item
.
student_list
.
length
}}
位;)
</h3>
</
template
>
<
template
#extra
>
<!--
<a
@
click=
"addTeamPeople(item)"
>
增加队员
</a>
-->
<a
@
click=
"aTeamValue = item;addTeamMembers3.Drawer = true;"
>
增加队员
</a>
<a
@
click=
"deleteTeam(item)"
style=
"color: red;margin-left: 1vw"
>
删除本团队
</a>
</
template
>
<Table
:columns=
"columnsTeacher"
:data=
"item.teacher_list"
>
<
template
#action
="{
row
}"
>
<a
style=
"color: red"
@
click=
"TeamMembersDel(row)"
>
删除
</a>
</
template
>
</Table>
<Table
:columns=
"columnsStudent"
:data=
"item.student_list"
>
<
template
#action
="{
row
}"
>
<a
style=
"color: red"
@
click=
"TeamMembersDel(row)"
>
删除
</a>
</
template
>
</Table>
</Card>
</Card>
</FormItem>
</Form>
<!-- <Affix style="display: flex;align-items: center; width: 100%;height: 5vh;background-color: #FF9900;">-->
<!-- <span style="font-family: '宋体';margin-left: 1vw;color: white">-->
<!-- 请优先完善参赛报名基础信息保存后,再添加参赛报名团队及成员。-->
<!-- </span>-->
<!-- </Affix>-->
</Card>
</TabPane>
<TabPane
label=
"教师赛"
name=
"2"
></TabPane>
</Tabs>
</div>
<div
style=
"width: 100%;height: 10vh;"
></div>
<div
style=
" border-top: #2D8CF0 5px solid; background-color: #FFFFFF; display: flex;justify-content: center;align-items: center; width: 100%;height: 8vh;position: absolute;bottom: 1px;"
>
<Button
type=
"primary"
style=
"width: 12%; margin-right: 2vw"
@
click=
"
$router.back()
"
>
返回
@
click=
"
back
"
>
返回
</Button>
<Button
:loading=
"saveFlowLoading"
type=
"primary"
style=
"width: 12%; margin-right: 2vw"
@
click=
"handleSubmit"
>
提交流程
...
...
@@ -201,45 +317,46 @@
<Button
@
click=
"handleReset"
style=
"width: 12%;"
>
重置
</Button>
</div>
<!--手动添加赛项列表-->
<
Modal
v-model=
"selectionOfEvents"
title=
"选择编号"
width=
"60"
:styles=
"{top:'10px'}"
:closable=
"false"
>
<
template
#header
>
<div
style=
"display: flex;justify-content: space-between;align-items: center;"
>
<h3>
选择编号
</h3
>
<Input
style=
"width: 20vw"
v-model=
"contestItem.condition"
placeholder=
"请输入编号或赛项名称、赛事名称搜索..."
></Input
>
</div
>
</
template
>
<Table
:columns=
"columnsCompetitionItem"
:data=
"dataCompetitionItem"
:loading=
"contestItem.loading"
>
<
template
#radio
="{
row
}"
>
<input
style=
"width: 30px;height: 30px;cursor: pointer;accent-color: #1e93ff"
type=
"radio"
:value=
"row.name"
@
click=
"tableRadio(row)"
name=
"name"
></input
>
</
template
>
</Table
>
<div
class=
"ivu-text-center ivu-mt"
>
<Page
:total=
"contestItem.total"
:current.sync=
"contestItem.pageIndex"
show-total
show-sizer
:page-size=
"contestItem.pageSize"
@
on-change=
"contestItemhandleChangePage"
@
on-page-size-change=
"contestItemhandleChangePageSize"
/
>
</div
>
<
template
#footer
>
<Button
type=
"primary"
@
click=
"saveTheEventSingleOption"
style=
"width: 15%;"
>
确定
</Button
>
<Button
type=
"text"
@
click=
"selectionOfEvents = false"
style=
"width: 15%;"
>
关闭
</Button
>
</
template
>
<
/Modal
>
<
!-- <Modal-->
<!-- v-model="selectionOfEvents"-->
<!-- title="选择编号"-->
<!-- width="60"-->
<!-- :styles="{top:'10px'}"-->
<!-- :closable="false"-->
<!-- >--
>
<!-- <template #header>--
>
<!-- <div style="display: flex;justify-content: space-between;align-items: center;">--
>
<!-- <h3>选择编号</h3>--
>
<!-- <Input style="width: 20vw" v-model="contestItem.condition"-->
<!-- placeholder="请输入编号或赛项名称、赛事名称搜索..."></Input>--
>
<!-- </div>--
>
<!-- </template>--
>
<!-- <Table :columns="columnsCompetitionItem" :data="dataCompetitionItem" :loading="contestItem.loading">--
>
<!-- <template #radio="{row}">--
>
<!-- <input style="width: 30px;height: 30px;cursor: pointer;accent-color: #1e93ff" type="radio"-->
<!-- :value="row.name"-->
<!-- @click="tableRadio(row)"-->
<!-- name="name"></input>--
>
<!-- </template>--
>
<!-- </Table>--
>
<!-- <div class="ivu-text-center ivu-mt">--
>
<!-- <Page-->
<!-- :total="contestItem.total"-->
<!-- :current.sync="contestItem.pageIndex"-->
<!-- show-total-->
<!-- show-sizer-->
<!-- :page-size="contestItem.pageSize"-->
<!-- @on-change="contestItemhandleChangePage"-->
<!-- @on-page-size-change="contestItemhandleChangePageSize"-->
<!-- />--
>
<!-- </div>--
>
<!-- <template #footer>--
>
<!-- <Button type="primary" @click="saveTheEventSingleOption" style="width: 15%;">确定</Button>--
>
<!-- <Button type="text" @click="selectionOfEvents = false" style="width: 15%;">关闭</Button>--
>
<!-- </template>--
>
<
!-- </Modal>--
>
<!-- 创建 团队添加队员抽屉-->
<Drawer
title=
"添加团队队员"
width=
"100%"
:transfer=
"false"
:z-index=
"99999"
...
...
@@ -249,7 +366,8 @@
<div
style=
"width: 100%;height: 94%;box-sizing: border-box;padding: 1vw"
>
<Card
style=
"margin-top: 1vw;max-height:47%;box-sizing: border-box;overflow-y: auto; "
>
<h3>
指导教师:
</h3>
<h3>
{{
Boolean
(
formValidate1
.
is_lead
)
?
"
指导老师:
"
:
'
参赛老师:
'
}}
</h3>
<!-- 0参赛老师 1指导老师-->
<div
style=
"width: 100%;height: 30%;display: flex;align-items: center;
justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;
...
...
@@ -330,21 +448,31 @@
</TabPane>
<TabPane
label=
"添加教师"
>
<div
style=
"display: flex;"
>
<div
style=
"display: flex;
align-content: center
"
>
<!--
<CheckboxGroup
style=
"margin-bottom: 5px"
v-model=
"modalSelect1.checkboxValue"
>
-->
<!--
<Checkbox
:disabled=
"item.name ==='学生'"
v-for=
"(item,index) in promiseAllArray[0]"
:label=
"item.id"
--
>
<!-- :key="index"-->
<!-- border>
<span>
{{
item
.
name
}}
</span></Checkbox>
-->
<!--
</CheckboxGroup>
-->
<div
style=
" justify-content: flex-end;height: 40px; margin-left: auto ;display: flex;flex-wrap: nowrap"
>
<Input
style=
"width: 15vw;"
v-model=
"modalSelect1.searchValue"
placeholder=
"请输入姓名或卡号搜索..."
></Input>
<Button
type=
"primary"
@
click=
"searchButton"
:disabled=
"modalSelect1.searchValue===''"
style=
"margin-left: 10px;"
>
搜索
</Button>
<Button
type=
"text"
@
click=
"searchReset1"
style=
"margin-left: 10px;"
>
重置
</Button>
<div>
<RadioGroup
v-model=
"formValidate1.is_lead"
>
<Radio
:label=
"item.value"
border
v-for=
"(item,idnex) in is_teacChekArray"
:key=
"idnex"
>
{{
item
.
label
}}
</Radio>
</RadioGroup>
</div>
<div
style=
"height: 40px;display: flex;flex-wrap: nowrap;margin-left: auto;"
>
<div>
<Input
style=
"width: 15vw;"
v-model=
"modalSelect1.searchValue"
placeholder=
"请输入姓名或卡号搜索..."
></Input>
<Button
type=
"primary"
@
click=
"searchButton"
:disabled=
"modalSelect1.searchValue===''"
style=
"margin-left: 10px;"
>
搜索
</Button>
<Button
type=
"text"
@
click=
"searchReset1"
style=
"margin-left: 10px;"
>
重置
</Button>
</div>
</div>
</div>
<Table
:key=
"keys1"
:loading=
"loading2"
:columns=
"modalSelect1.column"
:data=
"modalSelect1.sList"
...
...
@@ -388,8 +516,8 @@
title=
"添加团队"
:transfer=
"true"
:z-index=
"1"
width=
"
5
0%"
:styles=
"{top:'10px'}"
width=
"
4
0%"
>
<Form
ref=
"formValidate1"
:model=
"formValidate1"
:rules=
"ruleValidate1"
:label-width=
"100"
>
<FormItem
label=
"是否备选:"
prop=
"is_choose"
>
...
...
@@ -406,10 +534,11 @@
placeholder=
"请输入团队名称"
></Input>
</FormItem>
</Form>
<Button
type=
"dashed"
icon=
"md-add"
@
click=
"addAPlayer"
style=
"width: 100%;border-color: #7bbcf8;"
>
添加队员
</Button>
<!-- <!– 添加队员按钮 –>-->
<!-- <Button type="dashed" icon="md-add" @click="addAPlayer" style="width: 100%;border-color: #7bbcf8;">添加队员-->
<!-- </Button>-->
<Card
v-if=
"!!formValidate1.teacherid_list.length && teamPeople"
style=
"margin-top: 1vw;"
>
<h3>
指导教师:
</h3>
<h3>
{{ Boolean(formValidate1.is_lead) ? '参赛教师:' : '指导教师:' }}
</h3>
<div
style=
"width: 100%;height: 30%;display: flex;align-items: center;
justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;
...
...
@@ -453,8 +582,22 @@
<div
style=
"width: 100%;height: 100%;"
>
<Split
v-model=
"split"
>
<
template
#left
>
<div
style=
"margin: 1vw"
>
<Form
ref=
"addTeamPeopleData"
:model=
"addTeamPeople.data"
:rules=
"ruleValidate1"
:label-width=
"100"
>
<FormItem
label=
"团队名称:"
prop=
"teamid"
>
<Select
v-model=
"addTeamPeople.data.teamid"
placeholder=
""
>
<Option
v-for=
"(item,index) in addTeamPeople.selectArray"
:key=
"index"
:value=
"item.id"
>
{{
item
.
name
}}
</Option>
</Select>
</FormItem>
</Form>
</div>
<div
style=
"width: 100%;height: 100%;overflow-y: auto"
>
<div
style=
"width: 100%;height: 4
7
%;overflow-y: auto;"
>
<div
style=
"width: 100%;height: 4
3
%;overflow-y: auto;"
>
<h3>
参赛学生:
</h3>
<div
style=
"width: 100%;height: 30%;display: flex;align-items: center;
...
...
@@ -470,8 +613,8 @@
</div>
</div>
</div>
<div
style=
"width: 100%;height: 4
7
%;overflow-y: auto;"
>
<h3>
指导教师:
</h3>
<div
style=
"width: 100%;height: 4
3
%;overflow-y: auto;"
>
<h3>
{{
Boolean
(
formValidate3
.
is_lead
)
?
"
指导教师:
"
:
'
参赛教师:
'
}}
</h3>
<div
style=
"width: 100%;height: 30%;display: flex;align-items: center;
justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;
...
...
@@ -486,7 +629,7 @@
</div>
</div>
</div>
<Button
@
click=
"MembersIns"
type=
"primary"
style=
"width: 100%
"
>
确认添加
</Button>
<Button
@
click=
"MembersIns"
:loading=
"miLoad"
type=
"primary"
style=
"width: 100%;
"
>
确认添加
</Button>
</div>
</
template
>
<
template
#right
>
...
...
@@ -530,6 +673,12 @@
</TabPane>
<TabPane
label=
"添加教师"
>
<div
style=
"display: flex;"
>
<RadioGroup
v-model=
"formValidate3.is_lead"
>
<Radio
:label=
"item.value"
border
v-for=
"(item,idnex) in is_teacChekArray"
:key=
"idnex"
>
{{
item
.
label
}}
</Radio>
</RadioGroup>
<div
style=
" justify-content: flex-end;height: 40px; margin-left: auto ;display: flex;flex-wrap: nowrap"
>
<Input
style=
"width: 15vw;"
v-model=
"modalSelect4.searchValue"
...
...
@@ -574,6 +723,68 @@
</div>
</Drawer>
<!-- 追加团队人员-->
<!-- <Modal-->
<!-- v-model="addTeamPeople.modal"-->
<!-- title="增加团队队员"-->
<!-- :transfer="true"-->
<!-- :z-index="1"-->
<!-- width="50%"-->
<!-- :styles="{top:'10px'}"-->
<!-- >-->
<!-- <Form ref="addTeamPeopleData" :model="addTeamPeople.data" :rules="ruleValidate1" :label-width="100">-->
<!-- <FormItem label="团队名称:" prop="teamid">-->
<!-- <Select v-model="addTeamPeople.data.teamid"-->
<!-- placeholder="">-->
<!-- <Option v-for="(item,index) in addTeamPeople.selectArray" :key="index"-->
<!-- :value="item.id">-->
<!-- {{ item.name }}-->
<!-- </Option>-->
<!-- </Select>-->
<!-- </FormItem>-->
<!-- </Form>-->
<!-- <Button type="dashed" icon="md-add" @click="addAPlayer" style="width: 100%;border-color: #7bbcf8;">添加队员-->
<!-- </Button>-->
<!-- <div>-->
<!-- <Card v-if="!!formValidate3.teacherid_list.length && teamPeople" style="margin-top: 1vw;">-->
<!-- <h3>{{ Boolean(formValidate3.is_lead) ? '参赛教师:' : '指导教师:' }}</h3>-->
<!-- <div-->
<!-- style="width: 100%;height: 30%;display: flex;align-items: center;-->
<!-- justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;-->
<!-- margin-bottom: 1vw;">-->
<!-- <div-->
<!-- v-for="(item,index) in formValidate3.teacherid_list" :key="index"-->
<!-- style="width: 33%;display: flex;justify-content: center;margin-bottom: 1vw;">-->
<!-- <Button>{{ item.name }}</Button>-->
<!-- <div class="competitionClassIcon" @click="delClass(item)">-->
<!-- <Icon type="ios-close-circle"/>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </Card>-->
<!-- <Card v-if="!!formValidate3.studentid_list.length && teamPeople" style="margin-top: 1vw;">-->
<!-- <h3>参赛学生:</h3>-->
<!-- <div-->
<!-- style="width: 100%;height: 30%;display: flex;align-items: center;-->
<!-- justify-content: space-between;flex-wrap: wrap;padding: 0 0 2vw 0;-->
<!-- margin-bottom: 1vw;">-->
<!-- <div-->
<!-- v-for="(item,index) in formValidate3.studentid_list" :key="index"-->
<!-- style="width: 33%;display: flex;justify-content: center;margin-bottom: 1vw;">-->
<!-- <Button>{{ item.name }}</Button>-->
<!-- <div class="competitionClassIcon" @click="delClass(item)">-->
<!-- <Icon type="ios-close-circle"/>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </Card>-->
<!-- </div>-->
<!-- <template #footer>-->
<!-- <Button type="primary" @click="MembersIns" style="width: 15%;">确认添加</Button>-->
<!-- <!– <Button @click="handleReset" style="width: 15%;">重置</Button>–>-->
<!-- </template>-->
<!-- </Modal>-->
</div>
</template>
...
...
@@ -592,6 +803,17 @@ export default {
data
()
{
//这里存放数据",
return
{
countTimer
:
''
,
is_teacChekArray
:
[
{
label
:
'
指导教师
'
,
value
:
1
,
},
{
label
:
'
参赛教师
'
,
value
:
0
,
},
],
teamPeople
:
false
,
kkk
:
1
,
saveFlowLoading
:
false
,
...
...
@@ -611,6 +833,7 @@ export default {
modal
:
false
,
pageSizeOpts
:
[
10
,
20
,
30
,
40
,
100
,
200
],
modalSelect1
:
{
deptValue
:
[],
deptSelectArray
:
[],
tArray
:
[],
...
...
@@ -821,12 +1044,13 @@ export default {
condition
:
''
,
total
:
0
,
pageIndex
:
1
,
pageSize
:
10
,
pageSize
:
5
,
},
selectionOfEvents
:
false
,
columnsCompetitionItem
:
[
{
slot
:
'
radio
'
,
},
{
title
:
'
赛事编号
'
,
...
...
@@ -881,7 +1105,7 @@ export default {
fixed
:
'
right
'
},
],
columnsTeacher
:
[
guide
columnsTeacher
:
[
{
title
:
'
指导教师
'
,
minWidth
:
100
,
...
...
@@ -919,6 +1143,44 @@ export default {
fixed
:
'
right
'
},
],
columnsTeacher
:
[
{
title
:
'
参赛教师
'
,
minWidth
:
100
,
key
:
'
name
'
},
{
title
:
'
工号
'
,
minWidth
:
120
,
key
:
'
card_name
'
},
{
title
:
'
身份证号
'
,
minWidth
:
180
,
key
:
'
sfzh
'
},
{
title
:
'
教学院系
'
,
minWidth
:
150
,
key
:
'
dept
'
},
{
title
:
'
性别
'
,
minWidth
:
80
,
key
:
'
gender
'
},
{
title
:
'
联系电话
'
,
minWidth
:
150
,
key
:
'
phone
'
},
{
title
:
'
操作
'
,
minWidth
:
80
,
slot
:
'
action
'
,
fixed
:
'
right
'
},
],
data1
:
[],
data2
:
[],
teamObjectData
:
{},
...
...
@@ -945,6 +1207,7 @@ export default {
module_id
:
''
,
module
:
''
,
fileKey
:
1
,
miLoad
:
false
,
formValidate4
:
{
"
competitionsign_id
"
:
""
,
"
teamname
"
:
""
,
...
...
@@ -966,6 +1229,7 @@ export default {
"
competitionsign_id
"
:
""
,
"
teamname
"
:
""
,
"
is_choose
"
:
0
,
is_lead
:
1
,
'
alternative
'
:
[
{
value
:
0
,
...
...
@@ -982,7 +1246,9 @@ export default {
formValidate1
:
{
"
competitionsign_id
"
:
""
,
"
teamname
"
:
""
,
// "团队" + this.teamObjectData.length
"
is_choose
"
:
0
,
is_lead
:
1
,
'
alternative
'
:
[
{
value
:
0
,
...
...
@@ -999,6 +1265,7 @@ export default {
ruleValidate1
:
{
is_choose
:
[{
type
:
'
number
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
change
'
}],
teamname
:
[{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}],
teamid
:
[{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
change
'
}],
},
preparationPlan
:
[],
formValidate
:
{
...
...
@@ -1086,8 +1353,25 @@ export default {
request
:
[
{
type
:
'
string
'
,
required
:
true
,
message
:
'
该项不能为空
'
,
trigger
:
'
blur
'
}
],
},
selectTimer
:
''
,
tableKeys
:
1
,
unfold
:
{
State
:
0
,
height
:
'
400
'
,
flag
:
[
'
展开
'
,
'
收起
'
],
},
addTeamPeople
:
{
//添加团队人员
modal
:
false
,
selectArray
:
[],
data
:
{
"
teamid
"
:
""
,
"
studentid_list
"
:
[],
"
teacherid_list
"
:
[],
"
is_lead
"
:
0
}
}
}
},
...
...
@@ -1096,7 +1380,11 @@ export default {
//监控data中的数据变化",
watch
:
{
'
contestItem.condition
'
(
newValue
,
oldvalue
)
{
this
.
addAddressManually
()
clearTimeout
(
this
.
selectTimer
)
this
.
selectTimer
=
setTimeout
(()
=>
{
this
.
contestItem
.
pageIndex
=
1
this
.
addAddressManually
()
},
400
)
},
'
formValidate.competitionTimeRange
'
(
newValue
,
oldvalue
)
{
console
.
log
(
"
🚀🚀12312🚀,
"
,
newValue
)
...
...
@@ -1104,6 +1392,11 @@ export default {
},
//生命周期 - 挂载完成(可以访问DOM元素)",html模板已渲染
async
mounted
()
{
clearInterval
(
this
.
countTimer
)
setInterval
(()
=>
{
this
.
save
()
},
1000
*
60
*
10
)
this
.
getCompetiotionName
()
this
.
formValidate
.
flowid
=
this
.
$route
.
query
.
id
;
// this.formValidate.files_list.module = this.$route.query.remark;
...
...
@@ -1118,6 +1411,55 @@ export default {
},
//方法集合",
methods
:
{
back
()
{
this
.
hooks
.
saveForm
(
async
()
=>
{
this
.
save
(
1
)
},
()
=>
{
this
.
$router
.
back
()
})
},
addTeamPeopleModal
()
{
this
.
$refs
[
'
addTeamPeopleData
'
].
resetFields
()
this
.
addTeamMembers3
.
Drawer
=
true
;
},
addTeamMembersFun
()
{
//添加团队人员
},
unfoldTeamCard
()
{
let
obj
=
{
'
1
'
:
()
=>
{
this
.
unfold
.
height
=
'
400
'
this
.
unfold
.
State
=
0
},
'
0
'
:
()
=>
{
this
.
unfold
.
height
=
'
3000
'
this
.
unfold
.
State
=
1
}
}
obj
[
this
.
unfold
.
State
]()
},
async
onOpenChange
(
e
)
{
if
(
e
)
{
this
.
contestItem
.
loading
=
true
await
new
Promise
((
resolve
)
=>
{
hook
.
getInitListRequest
(()
=>
{
let
data
=
{
condition
:
this
.
contestItem
.
condition
,
page_index
:
this
.
contestItem
.
pageIndex
,
page_size
:
this
.
contestItem
.
pageSize
,
}
api
.
GetCodeList
(
data
).
then
(
res
=>
{
this
.
contestItem
.
total
=
res
.
response
.
data_count
this
.
dataCompetitionItem
=
res
.
response
.
data
resolve
()
})
})
})
this
.
contestItem
.
loading
=
false
}
},
addInitTeamPeople
()
{
if
(
!!
this
.
formValidate1
.
studentid_list
.
length
||
!!
this
.
formValidate1
.
teacherid_list
.
length
)
{
this
.
teamPeople
=
true
...
...
@@ -1148,18 +1490,27 @@ export default {
let
data
=
{
studentid_list
:
studentid_list
,
teacherid_list
:
teacherid_list
,
teamid
:
this
.
aTeamValue
.
teamid
teamid
:
this
.
addTeamPeople
.
data
.
teamid
,
is_lead
:
this
.
formValidate3
.
is_lead
,
}
hook
.
myEncapsulationFunction
(
async
()
=>
{
const
res
=
await
api
.
MembersIns
(
data
)
if
(
res
.
code
===
1
)
(()
=>
{
this
.
formValidate3
.
studentid_list
=
[]
this
.
formValidate3
.
teacherid_list
=
[]
this
.
kkk
++
})()
this
.
TeamAndMemberSel
()
return
res
this
.
$refs
[
'
addTeamPeopleData
'
].
validate
((
value
)
=>
{
if
(
value
)
{
this
.
miLoad
=
true
hook
.
myEncapsulationFunction
(
async
()
=>
{
const
res
=
await
api
.
MembersIns
(
data
)
if
(
res
.
code
===
1
)
(()
=>
{
this
.
formValidate3
.
studentid_list
=
[]
this
.
formValidate3
.
teacherid_list
=
[]
this
.
kkk
++
})()
this
.
TeamAndMemberSel
()
this
.
miLoad
=
false
return
res
})
}
})
},
delClass2
(
e
)
{
console
.
log
(
"
🚀🚀🚀,
"
,
e
)
...
...
@@ -1232,14 +1583,11 @@ export default {
if
(
!
keys
.
includes
(
cur
.
sid
))
this
.
formValidate3
.
studentid_list
.
push
(
cur
)
})
},
addTeamPeople
(
e
)
{
this
.
addTeamMembers3
.
Drawe
=
true
console
.
log
(
"
🚀🚀🚀,
"
,
e
)
console
.
log
(
"
🚀🚀🚀,
"
,
this
.
addTeamMembers3
.
Drawe
)
},
// addTeamPeople(e) {
// this.addTeamMembers3.Drawe = true
// },
TeamMembersDel
(
e
)
{
console
.
log
(
"
🚀🚀🚀,
"
,
e
)
hook
.
publicConfirm
(()
=>
{
hook
.
myEncapsulationFunction
(
async
()
=>
{
const
res
=
await
api
.
TeamMembersDel
({
teammembersid
:
e
.
teammembersid
})
...
...
@@ -1257,6 +1605,17 @@ export default {
}
api
.
TeamAndMemberSel
(
data
).
then
(
res
=>
{
this
.
teamObjectData
=
res
.
response
let
length
=
res
.
response
.
length
length
=
length
+
1
this
.
formValidate1
.
teamname
=
"
团队
"
+
length
this
.
addTeamPeople
.
selectArray
=
[]
res
.
response
.
map
((
cur
,
index
)
=>
{
this
.
addTeamPeople
.
selectArray
.
push
({
id
:
cur
.
teamid
,
name
:
cur
.
teanname
,
})
})
resolve
()
})
})
...
...
@@ -1266,7 +1625,8 @@ export default {
createATeam
()
{
this
.
$refs
[
'
formValidate1
'
].
validate
((
value
)
=>
{
if
(
value
)
{
if
(
this
.
teamPeople
)
hook
.
myEncapsulationFunction
(
async
()
=>
{
// if (this.teamPeople)
hook
.
myEncapsulationFunction
(
async
()
=>
{
let
teacherid_list
=
[]
let
studentid_list
=
[]
this
.
formValidate1
.
teacherid_list
.
map
((
cur
)
=>
{
...
...
@@ -1291,9 +1651,9 @@ export default {
this
.
TeamAndMemberSel
()
return
res
})
else
{
this
.
$Message
.
error
(
'
请完善团队人员
'
)
}
//
else {
//
this.$Message.error('请完善团队人员')
//
}
}
})
},
...
...
@@ -1643,8 +2003,10 @@ export default {
this
.
addTeamMembers
.
Drawer
=
true
},
saveTheEventSingleOption
()
{
console
.
log
(
"
🚀this.selectTheNumberMedian🚀🚀,
"
,
this
.
selectTheNumberMedian
)
this
.
formValidate
=
{...
this
.
formValidate
,
...
this
.
selectTheNumberMedian
}
this
.
formValidate
.
competition_type_name
!==
'
A类
'
?
this
.
formValidate
.
class_hour
=
''
:
null
this
.
$refs
.
select
.
visible
=
false
this
.
selectionOfEvents
=
false
},
async
addAddressManually
()
{
...
...
@@ -1670,18 +2032,20 @@ export default {
tableRadio
(
e
)
{
// competitionreportid
this
.
selectTheNumberMedian
=
e
console
.
log
(
"
🚀🚀🚀,
"
,
e
)
},
contestItemhandleChangePage
(
e
)
{
this
.
contestItem
.
pageIndex
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
contestItemhandleChangePageSize
(
e
)
{
this
.
contestItem
.
pageSize
=
e
this
.
addAddressManually
()
this
.
tableKeys
++
},
save
()
{
save
(
back
=
''
)
{
const
fun
=
async
(
changecommitid
)
=>
{
let
formValidate
=
_
.
cloneDeep
(
this
.
formValidate
)
let
files_list
=
formValidate
.
files_list
...
...
@@ -1694,9 +2058,10 @@ export default {
"
competition_sign
"
:
formValidate
,
'
files_list
'
:
files_list
,
}
await
hook
.
myEncapsulationFunction
(
async
()
=>
{
const
res
=
await
hook
.
myEncapsulationFunction
(
async
()
=>
{
return
await
api
.
FlowChangeCommit
(
data
)
})
if
(
back
===
1
&&
res
.
code
===
1
)
this
.
$router
.
back
()
this
.
FlowInit
()
}
switch
(
this
.
changecommitid
)
{
...
...
@@ -1775,6 +2140,17 @@ export default {
console
.
log
(
"
🚀🚀🚀,onFormatError
"
,
response
,
file
,
fileList
)
},
async
OtherFilesBeforeUpload
(
file
)
{
this
.
$Spin
.
show
()
let
formData
=
new
FormData
();
formData
.
append
(
`file`
,
file
);
const
res
=
await
api
.
fileUpload
(
'
OtherFiles
'
,
formData
);
this
.
formValidate
.
files_list
.
push
(
res
.
response
)
hook
.
publicMessage
(
res
)
this
.
fileKey
++
return
false
},
async
competitionBeforeUpload
(
file
)
{
this
.
$Spin
.
show
()
let
formData
=
new
FormData
();
...
...
@@ -1858,6 +2234,7 @@ export default {
},
destroyed
()
{
clearInterval
(
this
.
countTimer
)
},
//生命周期 - 销毁完成",
//如果页面有keep-alive缓存功能,这个函数会触发",
...
...
@@ -1868,7 +2245,24 @@ export default {
</
script
>
<
style
>
<
style
scoped
lang=
"less"
>
/deep/ .ivu-select-single .ivu-select-selection .ivu-select-placeholder {
color: #515a6e;
}
/deep/ .ivu-select-dropdown {
width: inherit;
max-height: 600px;
overflow: auto;
margin: 5px 0;
padding: 5px 0;
background-color: #fff;
box-sizing: border-box;
border-radius: 4px;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
position: absolute;
z-index: 900;
}
.filelist {
...
...
@@ -1907,4 +2301,22 @@ export default {
width
:
100%
;
//
min-height
:
987px
;
display
:
flex
;
align-content
:
center
;
justify-content
:
center
;
flex-wrap
:
wrap
;
}
.selectCompetitionNumber
{
}
.Atext
{
float
:
right
;
margin-bottom
:
0.7vw
;
margin-top
:
0.7vw
;
font-size
:
20px
}
.Atext
:hover
{
transform
:
scale
(
1.2
);
}
</
style
>
src/pages/flowAssemble/myFlow.vue
浏览文件 @
d2b1f20c
...
...
@@ -2,10 +2,26 @@
<div>
<Card
ref=
"card"
>
<template
#title
>
<div
style=
"height:
30px;display: flex;align-items: center
"
>
<div
style=
"height:
30px;display: flex;align-items: center;flex-wrap: wrap;
"
>
<h3>
我的流程列表
</h3>
</div>
</
template
>
<
template
#extra
>
<div
style=
"display: flex;"
>
<Select
style=
"width: 15vw;margin-right: 1vw"
>
<Option
:label=
"item.name"
v-for=
"(item,index) in flowStateArray"
:key=
"index"
></Option>
</Select>
<Select
style=
"width: 15vw;margin-right: 1vw"
>
<Option
:label=
"item.name"
v-for=
"(item,index) in flowStateArray"
:key=
"index"
></Option>
</Select>
<Input
v-model=
"search"
placeholder=
"请输入标题或流程名称搜索..."
style=
"width: 15vw;margin-right: 1vw"
></Input>
<Input
v-model=
"search"
placeholder=
"请输入姓名或工号搜索..."
style=
"width: 15vw;margin-right: 1vw"
></Input>
<Button
type=
"primary"
>
搜索
</Button>
</div>
</
template
>
<!-- <Button type="primary" class="ivu-ml-8" @click="add">-->
<!-- <Icon type="md-add"/>-->
<!-- 新增-->
...
...
@@ -141,6 +157,20 @@ export default {
data
()
{
return
{
flowStateArray
:
[
{
name
:
'
草稿
'
,
value
:
0
,
},
{
name
:
'
运行中
'
,
value
:
1
,
},
{
name
:
'
已结束
'
,
value
:
2
,
},
],
cancelKey
:
1
,
formData
:
{
name
:
''
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录