Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
D
dutyManagement
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
dutyManagement
提交
58360a8f
提交
58360a8f
编写于
11月 18, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 20241107 操作日志/推送日志,增加查询条件
上级
9c48043c
流水线
#31217
已通过 ,包含阶段
in 41 second
变更
6
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
22 行增加
和
7 行删除
+22
-7
index.html
dist/index.html
+1
-1
app.e37d8f51.js
dist/js/app.e37d8f51.js
+1
-1
chunk-2d2084c8.a98ace7e.js
dist/js/chunk-2d2084c8.a98ace7e.js
+1
-0
chunk-2d2084c8.ca7fcb01.js
dist/js/chunk-2d2084c8.ca7fcb01.js
+0
-1
index.vue
src/layouts/basic-layout/menu-side/index.vue
+0
-1
initializationSettings.vue
src/pages/systemConfiguration/initializationSettings.vue
+19
-3
未找到文件。
dist/index.html
浏览文件 @
58360a8f
<!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/app.f8f860e0.css
rel=
stylesheet
></head><body><script
charset=
utf-8
src=
"https://map.qq.com/api/gljs?v=1.exp&key=IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP"
></script><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 党建管理系统。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.c0d93cbb.js
></script><script
src=
js/app.bb277c12.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/app.f8f860e0.css
rel=
stylesheet
></head><body><script
charset=
utf-8
src=
"https://map.qq.com/api/gljs?v=1.exp&key=IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP"
></script><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 党建管理系统。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.c0d93cbb.js
></script><script
src=
js/app.e37d8f51.js
></script></body></html>
\ No newline at end of file
dist/js/app.
bb277c12
.js
→
dist/js/app.
e37d8f51
.js
浏览文件 @
58360a8f
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-2d2084c8.a98ace7e.js
0 → 100644
浏览文件 @
58360a8f
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2d2084c8
"
],{
a3cc
:
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
"
,{
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
height
:
"
30px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
RadioGroup
"
,{
attrs
:{
type
:
"
button
"
},
model
:{
value
:
t
.
buttonSize
,
callback
:
function
(
e
){
t
.
buttonSize
=
e
},
expression
:
"
buttonSize
"
}},[
n
(
"
Radio
"
,{
attrs
:{
label
:
"
type
"
}},[
t
.
_v
(
"
值班类型
"
)]),
n
(
"
Radio
"
,{
attrs
:{
label
:
"
time
"
}},[
t
.
_v
(
"
值班时间
"
)]),
n
(
"
Radio
"
,{
attrs
:{
label
:
"
campus
"
}},[
t
.
_v
(
"
校区配置
"
)]),
n
(
"
Radio
"
,{
attrs
:{
label
:
"
info
"
}},[
t
.
_v
(
"
消息提醒
"
)]),
n
(
"
Radio
"
,{
attrs
:{
label
:
"
attendance
"
}},[
t
.
_v
(
"
考勤管理
"
)])],
1
),
n
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
,
"
margin-left
"
:
"
15px
"
}},[
n
(
"
h3
"
,[
t
.
_v
(
"
系部干事换班:
"
)]),
n
(
"
i-switch
"
,{
attrs
:{
size
:
"
large
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
open
"
,
fn
:
function
(){
return
[
n
(
"
span
"
,[
t
.
_v
(
"
开启
"
)])]},
proxy
:
!
0
},{
key
:
"
close
"
,
fn
:
function
(){
return
[
n
(
"
span
"
,[
t
.
_v
(
"
关闭
"
)])]},
proxy
:
!
0
}])})],
1
)],
1
)]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
nowrap
"
,
"
align-items
"
:
"
center
"
}},[
t
.
showComponent
.
info
||
t
.
showComponent
.
attendance
?
t
.
_e
():
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入权限名称进行查找...
"
},
model
:{
value
:
t
.
searchValue
,
callback
:
function
(
e
){
t
.
searchValue
=
e
},
expression
:
"
searchValue
"
}}),
t
.
showComponent
.
info
||
t
.
showComponent
.
attendance
?
t
.
_e
():
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
t
.
searchValue
},
on
:{
click
:
t
.
searchEvent
}},[
t
.
_v
(
"
查找
\n
"
)]),
t
.
showComponent
.
info
||
t
.
showComponent
.
attendance
?
t
.
_e
():
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
addWatchType
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
ModalTitleValue
)
+
"
\n
"
)]),
t
.
showComponent
.
attendance
?
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
addAttendance
}},[
t
.
_v
(
"
添加考勤范围
"
)]):
t
.
_e
()],
1
)]},
proxy
:
!
0
}])},[
t
.
showComponent
.
type
?
n
(
"
watchType
"
,{
attrs
:{
input
:
t
.
formTop
,
searchValue
:
t
.
searchValue
},
on
:{
cancelModal
:
t
.
cancelModal
}}):
t
.
_e
(),
t
.
showComponent
.
info
?
n
(
"
MessageConfig
"
):
t
.
_e
(),
t
.
showComponent
.
campus
?
n
(
"
Campus
"
,{
attrs
:{
input
:
t
.
formTop
,
searchValue
:
t
.
searchValue
},
on
:{
cancelModal
:
t
.
cancelModal
}}):
t
.
_e
(),
t
.
showComponent
.
time
?
n
(
"
WatchHour
"
,{
attrs
:{
input
:
t
.
formTop
,
searchValue
:
t
.
searchValue
},
on
:{
cancelModal
:
t
.
cancelModal
}}):
t
.
_e
(),
t
.
showComponent
.
attendance
?
n
(
"
Attendance
"
,{
ref
:
"
attendance
"
}):
t
.
_e
(),
n
(
"
Modal
"
,{
attrs
:{
title
:
""
+
t
.
ModalTitleValue
,
"
cancel-text
"
:
"
取消
"
,
"
ok-text
"
:
"
确认
"
,
"
mask-closable
"
:
!
1
,
loading
:
t
.
loading
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
modalOk
()}},
model
:{
value
:
t
.
modal
,
callback
:
function
(
e
){
t
.
modal
=
e
},
expression
:
"
modal
"
}},[
n
(
"
Form
"
,{
ref
:
"
updateRoleValue
"
,
attrs
:{
model
:
t
.
formTop
,
"
label-width
"
:
80
}},[
t
.
showComponent
.
type
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班名称
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
input1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input1
"
,
e
)},
expression
:
"
formTop.input1
"
}})],
1
):
t
.
_e
(),
t
.
showComponent
.
type
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班时间
"
,
prop
:
"
input3
"
}},[
n
(
"
Select
"
,{
attrs
:{
placeholder
:
""
},
model
:{
value
:
t
.
formTop
.
input3
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input3
"
,
e
)},
expression
:
"
formTop.input3
"
}},
t
.
_l
(
t
.
watchHourTimeList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
name
)
+
"
\n
"
)])})),
1
)],
1
):
t
.
_e
(),
t
.
showComponent
.
type
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班备注
"
,
prop
:
"
input2
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
input2
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input2
"
,
e
)},
expression
:
"
formTop.input2
"
}})],
1
):
t
.
_e
(),
t
.
showComponent
.
type
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
签到类型
"
}},[
n
(
"
Select
"
,{
attrs
:{
placeholder
:
""
},
model
:{
value
:
t
.
formTop
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
type
"
,
e
)},
expression
:
"
formTop.type
"
}},[
n
(
"
Option
"
,{
attrs
:{
value
:
0
}},[
t
.
_v
(
"
免打卡
"
)]),
n
(
"
Option
"
,{
attrs
:{
value
:
1
}},[
t
.
_v
(
"
无定位打卡
"
)]),
n
(
"
Option
"
,{
attrs
:{
value
:
2
}},[
t
.
_v
(
"
定位拍照打卡
"
)])],
1
)],
1
):
t
.
_e
(),
t
.
showComponent
.
campus
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
校区名称
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
input1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input1
"
,
e
)},
expression
:
"
formTop.input1
"
}})],
1
):
t
.
_e
(),
t
.
showComponent
.
time
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
区间名称
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
timeName1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
timeName1
"
,
e
)},
expression
:
"
formTop.timeName1
"
}})],
1
):
t
.
_e
(),
t
.
showComponent
.
time
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
时间
"
,
prop
:
"
input2
"
}},[
n
(
"
TimePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
format
:
"
HH:mm
"
,
type
:
"
timerange
"
,
placement
:
"
bottom-end
"
,
placeholder
:
"
Select time
"
},
on
:{
"
on-change
"
:
t
.
selectTileValue
}})],
1
):
t
.
_e
()],
1
)],
1
)],
1
)],
1
)},
o
=
[],
i
=
n
(
"
5e9b
"
),
r
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
sign_type
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
0
==
a
.
sign_type
?
n
(
"
span
"
,[
t
.
_v
(
"
免打卡
"
)]):
t
.
_e
(),
1
==
a
.
sign_type
?
n
(
"
span
"
,[
t
.
_v
(
"
无定位打卡
"
)]):
t
.
_e
(),
2
==
a
.
sign_type
?
n
(
"
span
"
,[
t
.
_v
(
"
定位拍照打卡
"
)]):
t
.
_e
()]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
update
(
a
)}}},[
t
.
_v
(
"
修改
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
error
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
Delete
(
a
)}}},[
t
.
_v
(
"
删除
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
t
.
total
,
"
page-size
"
:
t
.
page_size
,
"
model-value
"
:
"
page_index
"
},
on
:{
"
on-change
"
:
t
.
currentPage
,
"
on-page-size-change
"
:
t
.
currentPageCount
}})],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
值班类型
"
,
"
cancel-text
"
:
"
取消
"
,
"
ok-text
"
:
"
确认
"
,
"
mask-closable
"
:
!
1
},
on
:{
"
on-ok
"
:
t
.
modalOk
},
model
:{
value
:
t
.
modal
,
callback
:
function
(
e
){
t
.
modal
=
e
},
expression
:
"
modal
"
}},[
n
(
"
Form
"
,{
ref
:
"
updateRoleValue
"
,
attrs
:{
model
:
t
.
formTop
,
"
label-width
"
:
100
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班类型
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
input1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input1
"
,
e
)},
expression
:
"
formTop.input1
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班时间
"
,
prop
:
"
input2
"
}},[
n
(
"
Select
"
,{
attrs
:{
placeholder
:
""
},
model
:{
value
:
t
.
formTop
.
input3
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input3
"
,
e
)},
expression
:
"
formTop.input3
"
}},
t
.
_l
(
t
.
watchHourTimeList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
name
)
+
"
\n
"
)])})),
1
)],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班类型备注
"
,
prop
:
"
input2
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
input2
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input2
"
,
e
)},
expression
:
"
formTop.input2
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
签到类型
"
}},[
n
(
"
Select
"
,{
attrs
:{
placeholder
:
""
},
model
:{
value
:
t
.
formTop
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
type
"
,
e
)},
expression
:
"
formTop.type
"
}},[
n
(
"
Option
"
,{
attrs
:{
value
:
0
}},[
t
.
_v
(
"
免打卡
"
)]),
n
(
"
Option
"
,{
attrs
:{
value
:
1
}},[
t
.
_v
(
"
无定位打卡
"
)]),
n
(
"
Option
"
,{
attrs
:{
value
:
2
}},[
t
.
_v
(
"
定位拍照打卡
"
)])],
1
)],
1
)],
1
)],
1
)],
1
)},
s
=
[],
c
=
(
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
u
=
n
(
"
967e
"
),
l
=
n
.
n
(
u
),
p
=
n
(
"
806c
"
),
d
=
{
name
:
"
watchType
"
,
components
:{},
props
:[
"
input
"
,
"
searchValue
"
],
data
:
function
(){
return
{
watchHourTimeList
:[],
modal
:
!
1
,
formTop
:{
id
:
""
,
input1
:
""
,
input2
:
""
,
input3
:
""
,
type
:
""
},
page_size
:
10
,
page_index
:
1
,
total
:
null
,
loading
:
!
1
,
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
},{
title
:
"
值班类型
"
,
key
:
"
watchtypename
"
},{
title
:
"
值班时间
"
,
key
:
"
watchhourname
"
},{
title
:
"
类型备注
"
,
key
:
"
watchtype_remark
"
},{
title
:
"
签到类型
"
,
slot
:
"
sign_type
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[]}},
computed
:{},
watch
:{
"
input.flag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
var
a
,
o
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
console
.
log
(
e
),
!
e
){
t
.
next
=
10
;
break
}
return
a
=
{
watchtypename
:
this
.
input
.
input1
,
watchtype_remark
:
this
.
input
.
input2
,
watchhour_id
:
this
.
input
.
input3
,
sign_type
:
this
.
input
.
type
},
t
.
next
=
5
,
i
[
"
W
"
](
a
);
case
5
:
return
o
=
t
.
sent
,
t
.
next
=
8
,
this
.
GetWatchTypeList
();
case
8
:
this
.
input
.
flag
=!
1
,
1
===
o
.
code
&&
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
10
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
"
input.searchFlag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
console
.
log
(
e
),
!
e
){
t
.
next
=
6
;
break
}
return
t
.
next
=
4
,
this
.
GetWatchTypeList
();
case
4
:
this
.
input
.
searchFlag
=!
1
,
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
6
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
methods
:{
modalOk
:
function
(){
var
t
=
this
;
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
{
watchtypeid
:
t
.
formTop
.
id
,
watchtypename
:
t
.
formTop
.
input1
,
watchtype_remark
:
t
.
formTop
.
input2
,
watchhour_id
:
t
.
formTop
.
input3
,
sign_type
:
t
.
formTop
.
type
},
e
.
next
=
3
,
i
[
"
W
"
](
n
);
case
3
:
return
a
=
e
.
sent
,
e
.
next
=
6
,
t
.
GetWatchTypeList
();
case
6
:
return
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
update
:
function
(
t
){
this
.
formTop
.
id
=
t
.
watchtypeid
,
this
.
formTop
.
input1
=
t
.
watchtypename
,
this
.
formTop
.
input2
=
t
.
watchtype_remark
,
this
.
formTop
.
input3
=
t
.
watchhour_id
,
this
.
formTop
.
type
=
t
.
sign_type
,
this
.
modal
=!
0
},
DeleteAction
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
{
id
:
e
.
formTop
.
id
},
t
.
next
=
3
,
i
[
"
V
"
](
n
);
case
3
:
return
a
=
t
.
sent
,
t
.
next
=
6
,
e
.
GetWatchTypeList
();
case
6
:
return
t
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
1
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
Delete
:
function
(
t
){
var
e
=
this
;
this
.
formTop
.
id
=
t
.
watchtypeid
,
this
.
publicConfirm
((
function
(){
return
e
.
DeleteAction
()}))},
currentPage
:
function
(
t
){
console
.
log
(
t
),
this
.
page_index
=
t
,
this
.
GetWatchTypeList
()},
currentPageCount
:
function
(
t
){
console
.
log
(
t
,
"
currentPageCount
"
),
this
.
page_size
=
t
,
this
.
GetWatchTypeList
()},
publicConfirm
:
function
(
t
){
this
.
$Modal
.
confirm
({
title
:
"
警告
"
,
content
:
"
<p>是否继续此操作?</p>
"
,
cancelText
:
"
取消
"
,
okText
:
"
确定
"
,
onOk
:
function
(){
var
e
=
Object
(
c
[
"
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
,
t
();
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
n
(){
return
e
.
apply
(
this
,
arguments
)}
return
n
}()})},
publicMessage
:
function
(
t
){
1
!==
t
.
code
?
this
.
$Message
[
"
warning
"
]({
background
:
!
0
,
content
:
"
操作异常
"
}):(
this
.
$Spin
.
hide
(),
this
.
$Message
[
"
success
"
]({
background
:
!
0
,
content
:
"
操作成功
"
}))},
GetWatchTypeList
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
=
this
,
n
=
arguments
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
n
.
length
>
0
&&
void
0
!==
n
[
0
]?
n
[
0
]:
""
,
p
[
"
getInitListRequest
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
.
loading
=!
0
,
n
=
{
name
:
e
.
searchValue
,
page_size
:
e
.
page_size
,
page_index
:
e
.
page_index
},
t
.
next
=
4
,
i
[
"
x
"
](
n
);
case
4
:
a
=
t
.
sent
,
e
.
data
=
a
.
response
.
data
,
e
.
total
=
a
.
response
.
data_count
,
e
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
var
t
=
this
;
this
.
GetWatchTypeList
(),
i
[
"
u
"
]().
then
((
function
(
e
){
t
.
watchHourTimeList
=
e
.
response
}))},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){
console
.
info
(
"
🚀🚀🚀destroyed,
"
)},
activated
:
function
(){}},
m
=
d
,
h
=
n
(
"
2877
"
),
f
=
Object
(
h
[
"
a
"
])(
m
,
r
,
s
,
!
1
,
null
,
"
11b2a98e
"
,
null
),
g
=
f
.
exports
,
w
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
update
(
a
)}}},[
t
.
_v
(
"
修改
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
error
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
Delete
(
a
)}}},[
t
.
_v
(
"
删除
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
t
.
total
,
"
page-size
"
:
t
.
page_size
,
"
model-value
"
:
"
page_index
"
},
on
:{
"
on-change
"
:
t
.
currentPage
,
"
on-page-size-change
"
:
t
.
currentPageCount
}})],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
配置校区
"
,
"
cancel-text
"
:
"
取消
"
,
"
ok-text
"
:
"
确认
"
,
"
mask-closable
"
:
!
1
},
on
:{
"
on-ok
"
:
t
.
modalOk
},
model
:{
value
:
t
.
modal
,
callback
:
function
(
e
){
t
.
modal
=
e
},
expression
:
"
modal
"
}},[
n
(
"
Form
"
,{
ref
:
"
updateRoleValue
"
,
attrs
:{
model
:
t
.
formTop
,
"
label-width
"
:
80
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
配置校区
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
input1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input1
"
,
e
)},
expression
:
"
formTop.input1
"
}})],
1
)],
1
)],
1
)],
1
)},
v
=
[],
b
=
{
name
:
"
watchType
"
,
components
:{},
props
:[
"
input
"
,
"
searchValue
"
],
data
:
function
(){
return
{
loading
:
!
1
,
spinShow
:
!
1
,
modal
:
!
1
,
formTop
:{
id
:
""
,
input1
:
""
,
input2
:
""
},
page_size
:
10
,
page_index
:
1
,
total
:
null
,
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
},{
title
:
"
校区名称
"
,
key
:
"
campusname
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[]}},
computed
:{},
watch
:{
"
input.flag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
var
a
,
o
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
e
){
t
.
next
=
9
;
break
}
return
a
=
{
campusname
:
this
.
input
.
input1
},
t
.
next
=
4
,
i
[
"
d
"
](
a
);
case
4
:
return
o
=
t
.
sent
,
t
.
next
=
7
,
this
.
GetCampusList
();
case
7
:
this
.
input
.
flag
=!
1
,
1
===
o
.
code
&&
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
9
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
"
input.searchFlag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
e
){
t
.
next
=
5
;
break
}
return
t
.
next
=
3
,
this
.
GetCampusList
();
case
3
:
this
.
input
.
searchFlag
=!
1
,
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
5
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
methods
:{
modalOk
:
function
(){
var
t
=
this
;
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
{
campusid
:
t
.
formTop
.
id
,
campusname
:
t
.
formTop
.
input1
},
e
.
next
=
3
,
i
[
"
d
"
](
n
);
case
3
:
if
(
a
=
e
.
sent
,
1
!==
a
.
code
){
e
.
next
=
7
;
break
}
return
e
.
next
=
7
,
t
.
GetCampusList
();
case
7
:
return
e
.
abrupt
(
"
return
"
,
a
);
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
update
:
function
(
t
){
this
.
formTop
.
id
=
t
.
campusid
,
this
.
formTop
.
input1
=
t
.
campusname
,
this
.
modal
=!
0
},
DeleteAction
:
function
(){
var
t
=
this
;
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
{
campusid
:
t
.
formTop
.
id
},
e
.
next
=
3
,
i
[
"
c
"
](
n
);
case
3
:
return
a
=
e
.
sent
,
t
.
GetCampusList
(),
e
.
abrupt
(
"
return
"
,
a
);
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
Delete
:
function
(
t
){
var
e
=
this
;
this
.
formTop
.
id
=
t
.
campusid
,
this
.
publicConfirm
((
function
(){
return
e
.
DeleteAction
()}))},
currentPage
:
function
(
t
){
console
.
log
(
t
),
this
.
page_index
=
t
,
this
.
GetCampusList
()},
currentPageCount
:
function
(
t
){
console
.
log
(
t
,
"
currentPageCount
"
),
this
.
page_size
=
t
,
this
.
GetCampusList
()},
publicConfirm
:
function
(
t
){
this
.
$Modal
.
confirm
({
title
:
"
警告
"
,
content
:
"
<p>是否继续此操作?</p>
"
,
cancelText
:
"
取消
"
,
okText
:
"
确定
"
,
onOk
:
function
(){
var
e
=
Object
(
c
[
"
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
,
t
();
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
n
(){
return
e
.
apply
(
this
,
arguments
)}
return
n
}()})},
publicMessage
:
function
(
t
){
1
!==
t
.
code
?
this
.
$Message
[
"
warning
"
]({
background
:
!
0
,
content
:
"
操作异常
"
}):(
this
.
$Message
[
"
success
"
]({
background
:
!
0
,
content
:
"
操作成功
"
}),
this
.
$Spin
.
hide
())},
GetCampusList
:
function
(){
var
t
=
this
;
p
[
"
getInitListRequest
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
loading
=!
0
,
n
=
{
name
:
t
.
searchValue
,
page_size
:
t
.
page_size
,
page_index
:
t
.
page_index
},
e
.
next
=
4
,
i
[
"
f
"
](
n
);
case
4
:
a
=
e
.
sent
,
t
.
data
=
a
.
response
.
data
,
t
.
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
.
GetCampusList
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
y
=
b
,
T
=
Object
(
h
[
"
a
"
])(
y
,
w
,
v
,
!
1
,
null
,
"
edda14ca
"
,
null
),
x
=
T
.
exports
,
k
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
advance_day
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
n
.
advance_day
)
+
"
天
\n
"
)]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
update
(
a
)}}},[
t
.
_v
(
"
修改
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
t
.
total
,
"
page-size
"
:
t
.
page_size
,
"
model-value
"
:
"
page_index
"
},
on
:{
"
on-change
"
:
t
.
currentPage
,
"
on-page-size-change
"
:
t
.
currentPageCount
}})],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
值班类型
"
,
"
cancel-text
"
:
"
取消
"
,
"
ok-text
"
:
"
确认
"
,
"
mask-closable
"
:
!
1
},
on
:{
"
on-ok
"
:
t
.
modalOk
},
model
:{
value
:
t
.
modal
,
callback
:
function
(
e
){
t
.
modal
=
e
},
expression
:
"
modal
"
}},[
n
(
"
Form
"
,{
ref
:
"
updateRoleValue
"
,
attrs
:{
model
:
t
.
formTop
,
"
label-width
"
:
80
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
提前天数
"
,
prop
:
"
input1
"
}},[
n
(
"
InputNumber
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
max
:
10
,
min
:
1
},
model
:{
value
:
t
.
formTop
.
input1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input1
"
,
e
)},
expression
:
"
formTop.input1
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
提醒时间
"
,
prop
:
"
input2
"
}},[
n
(
"
TimePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
format
:
"
HH:mm
"
,
placeholder
:
"
Select time
"
},
on
:{
"
on-change
"
:
t
.
getSelectTime
},
model
:{
value
:
t
.
formTop
.
input2
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input2
"
,
e
)},
expression
:
"
formTop.input2
"
}})],
1
)],
1
)],
1
)],
1
)},
_
=
[],
C
=
{
name
:
"
watchType
"
,
components
:{},
props
:[
"
input
"
,
"
searchValue
"
],
data
:
function
(){
return
{
loading
:
!
1
,
modal
:
!
1
,
formTop
:{
time_task_id
:
""
,
id
:
""
,
input1
:
1
,
input2
:
""
},
page_size
:
10
,
page_index
:
1
,
total
:
null
,
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
},{
title
:
"
提前天数
"
,
slot
:
"
advance_day
"
},{
title
:
"
提醒时间
"
,
key
:
"
remind_time
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[]}},
computed
:{},
watch
:{
"
input.flag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
var
a
,
o
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
console
.
log
(
e
),
!
e
){
t
.
next
=
10
;
break
}
return
a
=
{
watchtypename
:
this
.
input
.
input1
,
watchtype_remark
:
this
.
formTop
.
input2
},
t
.
next
=
5
,
i
[
"
W
"
](
a
);
case
5
:
return
o
=
t
.
sent
,
t
.
next
=
8
,
this
.
GetMessageConfigInfo
();
case
8
:
this
.
input
.
flag
=!
1
,
1
===
o
.
code
&&
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
10
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
"
input.searchFlag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
var
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
console
.
log
(
e
),
!
e
){
t
.
next
=
7
;
break
}
return
t
.
next
=
4
,
this
.
GetMessageConfigInfo
();
case
4
:
a
=
t
.
sent
,
this
.
input
.
searchFlag
=!
1
,
1
===
a
.
code
&&
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
methods
:{
getSelectTime
:
function
(
t
){
this
.
formTop
.
input2
=
t
},
modalOk
:
function
(){
var
t
=
this
;
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
{
megconfigid
:
t
.
formTop
.
id
,
advance_day
:
t
.
formTop
.
input1
,
remind_time
:
t
.
formTop
.
input2
,
time_task_id
:
t
.
formTop
.
time_task_id
},
e
.
next
=
3
,
i
[
"
i
"
](
n
);
case
3
:
return
a
=
e
.
sent
,
e
.
next
=
6
,
t
.
GetMessageConfigInfo
();
case
6
:
return
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
update
:
function
(
t
){
this
.
formTop
.
id
=
t
.
megconfigid
,
this
.
formTop
.
input1
=
t
.
advance_day
,
this
.
formTop
.
input2
=
t
.
remind_time
,
this
.
formTop
.
time_task_id
=
t
.
time_task_id
,
this
.
modal
=!
0
},
DeleteAction
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
=
{
id
:
this
.
formTop
.
id
},
t
.
next
=
3
,
i
[
"
V
"
](
e
);
case
3
:
t
.
sent
,
this
.
GetMessageConfigInfo
();
case
5
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
Delete
:
function
(
t
){
var
e
=
this
;
this
.
formTop
.
id
=
t
.
watchtypeid
,
this
.
publicConfirm
((
function
(){
return
e
.
DeleteAction
()}))},
currentPage
:
function
(
t
){
console
.
log
(
t
),
this
.
page_index
=
t
,
this
.
GetMessageConfigInfo
()},
currentPageCount
:
function
(
t
){
console
.
log
(
t
,
"
currentPageCount
"
),
this
.
page_size
=
t
,
this
.
GetMessageConfigInfo
()},
publicConfirm
:
function
(
t
){
this
.
$Modal
.
confirm
({
title
:
"
警告
"
,
content
:
"
<p>是否继续此操作?</p>
"
,
cancelText
:
"
取消
"
,
okText
:
"
确定
"
,
onOk
:
function
(){
var
e
=
Object
(
c
[
"
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
,
t
();
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
n
(){
return
e
.
apply
(
this
,
arguments
)}
return
n
}()})},
publicMessage
:
function
(
t
){
1
!==
t
.
code
?
this
.
$Message
[
"
warning
"
]({
background
:
!
0
,
content
:
"
操作异常
"
}):(
this
.
$Spin
.
hide
(),
this
.
$Message
[
"
success
"
]({
background
:
!
0
,
content
:
"
操作成功
"
}))},
GetMessageConfigInfo
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
=
this
,
n
=
arguments
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
n
.
length
>
0
&&
void
0
!==
n
[
0
]?
n
[
0
]:
""
,
p
[
"
getInitListRequest
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
n
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
.
loading
=!
0
,
e
.
data
=
[],
t
.
next
=
4
,
i
[
"
h
"
]();
case
4
:
n
=
t
.
sent
,
e
.
data
.
push
(
n
.
response
),
e
.
loading
=!
1
;
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
beforeCreate
:
function
(){
console
.
info
(
"
🚀🚀🚀,
"
)},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
GetMessageConfigInfo
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){
console
.
info
(
"
🚀🚀🚀destroyed,
"
)},
activated
:
function
(){}},
M
=
C
,
S
=
Object
(
h
[
"
a
"
])(
M
,
k
,
_
,
!
1
,
null
,
"
d1c9db82
"
,
null
),
O
=
S
.
exports
,
$
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
update
(
a
)}}},[
t
.
_v
(
"
修改
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
error
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
Delete
(
a
)}}},[
t
.
_v
(
"
删除
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
t
.
total
,
"
page-size
"
:
t
.
page_size
,
"
model-value
"
:
"
page_index
"
},
on
:{
"
on-change
"
:
t
.
currentPage
,
"
on-page-size-change
"
:
t
.
currentPageCount
}})],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
值班类型
"
,
"
cancel-text
"
:
"
取消
"
,
"
ok-text
"
:
"
确认
"
,
"
mask-closable
"
:
!
1
},
on
:{
"
on-ok
"
:
t
.
modalOk
},
model
:{
value
:
t
.
modal
,
callback
:
function
(
e
){
t
.
modal
=
e
},
expression
:
"
modal
"
}},[
n
(
"
Form
"
,{
ref
:
"
updateRoleValue
"
,
attrs
:{
model
:
t
.
formTop
,
"
label-width
"
:
80
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
区间名称
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
timeName
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
timeName
"
,
e
)},
expression
:
"
formTop.timeName
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
时间
"
,
prop
:
"
input2
"
}},[
n
(
"
TimePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
format
:
"
HH:mm
"
,
type
:
"
timerange
"
,
placement
:
"
bottom-end
"
,
placeholder
:
"
请选择时间
"
},
on
:{
"
on-change
"
:
t
.
selectTileValue
}})],
1
)],
1
)],
1
)],
1
)},
L
=
[],
F
=
{
name
:
"
watchType
"
,
components
:{},
props
:[
"
input
"
,
"
searchValue
"
],
data
:
function
(){
return
{
loading
:
!
1
,
modal
:
!
1
,
formTop
:{
id
:
""
,
input1
:
""
,
input2
:
""
,
timeName
:
""
},
page_size
:
10
,
page_index
:
1
,
total
:
null
,
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
},{
title
:
"
开始时间
"
,
key
:
"
watchhour_start_time
"
},{
title
:
"
结束时间
"
,
key
:
"
watchhour_end_time
"
},{
title
:
"
区间名称
"
,
key
:
"
watchhourname
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[]}},
computed
:{},
watch
:{
"
input.flag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
var
a
,
o
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
console
.
log
(
e
),
!
e
){
t
.
next
=
10
;
break
}
return
a
=
{
watchhourname
:
this
.
input
.
timeName1
,
watchhour_start_time
:
this
.
input
.
input1
,
watchhour_end_time
:
this
.
input
.
input2
},
t
.
next
=
5
,
i
[
"
Q
"
](
a
);
case
5
:
return
o
=
t
.
sent
,
t
.
next
=
8
,
this
.
GetWatchHourList
();
case
8
:
this
.
input
.
flag
=!
1
,
1
===
o
.
code
&&
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
10
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
"
input.searchFlag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
console
.
log
(
e
),
!
e
){
t
.
next
=
7
;
break
}
return
t
.
next
=
4
,
this
.
GetWatchHourList
();
case
4
:
t
.
sent
,
this
.
input
.
searchFlag
=!
1
,
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
methods
:{
selectTileValue
:
function
(
t
){
this
.
formTop
.
input1
=
t
[
0
],
this
.
formTop
.
input2
=
t
[
1
],
console
.
log
(
"
🚀🚀🚀,
"
,
t
[
1
])},
modalOk
:
function
(){
var
t
=
this
;
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
{
watchhourid
:
t
.
formTop
.
id
,
watchhourname
:
t
.
formTop
.
timeName
,
watchhour_start_time
:
t
.
formTop
.
input1
,
watchhour_end_time
:
t
.
formTop
.
input2
},
e
.
next
=
3
,
i
[
"
Q
"
](
n
);
case
3
:
return
a
=
e
.
sent
,
e
.
next
=
6
,
t
.
GetWatchHourList
();
case
6
:
return
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
update
:
function
(
t
){
this
.
formTop
.
id
=
t
.
watchhourid
,
this
.
formTop
.
timeName
=
t
.
watchhourname
,
this
.
modal
=!
0
},
DeleteAction
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
{
id
:
e
.
formTop
.
id
},
t
.
next
=
3
,
i
[
"
P
"
](
n
);
case
3
:
return
a
=
t
.
sent
,
t
.
next
=
6
,
e
.
GetWatchHourList
();
case
6
:
return
t
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
1
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
Delete
:
function
(
t
){
var
e
=
this
;
this
.
formTop
.
id
=
t
.
watchhourid
,
this
.
publicConfirm
((
function
(){
return
e
.
DeleteAction
()}))},
currentPage
:
function
(
t
){
console
.
log
(
t
),
this
.
page_index
=
t
,
this
.
GetWatchHourList
()},
currentPageCount
:
function
(
t
){
console
.
log
(
t
,
"
currentPageCount
"
),
this
.
page_size
=
t
,
this
.
GetWatchHourList
()},
publicConfirm
:
function
(
t
){
this
.
$Modal
.
confirm
({
title
:
"
警告
"
,
content
:
"
<p>是否继续此操作?</p>
"
,
cancelText
:
"
取消
"
,
okText
:
"
确定
"
,
onOk
:
function
(){
var
e
=
Object
(
c
[
"
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
,
t
();
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
n
(){
return
e
.
apply
(
this
,
arguments
)}
return
n
}()})},
publicMessage
:
function
(
t
){
1
!==
t
.
code
?
this
.
$Message
[
"
warning
"
]({
background
:
!
0
,
content
:
"
操作异常
"
}):(
this
.
$Spin
.
hide
(),
this
.
$Message
[
"
success
"
]({
background
:
!
0
,
content
:
"
操作成功
"
}))},
GetWatchHourList
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
=
this
,
n
=
arguments
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
n
.
length
>
0
&&
void
0
!==
n
[
0
]?
n
[
0
]:
""
,
p
[
"
getInitListRequest
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
.
loading
=!
0
,
n
=
{
condition
:
e
.
searchValue
,
page_size
:
e
.
page_size
,
page_index
:
e
.
page_index
},
t
.
next
=
4
,
i
[
"
t
"
](
n
);
case
4
:
a
=
t
.
sent
,
e
.
data
=
a
.
response
.
data
,
e
.
total
=
a
.
response
.
data_count
,
e
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
beforeCreate
:
function
(){
console
.
info
(
"
🚀🚀🚀,
"
)},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
GetWatchHourList
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){
console
.
info
(
"
🚀🚀🚀destroyed,
"
)},
activated
:
function
(){}},
I
=
F
,
z
=
Object
(
h
[
"
a
"
])(
I
,
$
,
L
,
!
1
,
null
,
"
6176df14
"
,
null
),
V
=
z
.
exports
,
j
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
tableColumns
,
data
:
t
.
tableData
,
loading
:
t
.
loading1
},
scopedSlots
:
t
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
rowDelete
(
a
)}}},[
t
.
_v
(
"
删除
"
)])]}}])}),
n
(
"
Modal
"
,{
attrs
:{
"
mask-closable
"
:
""
,
title
:(
t
.
isEdit
?
"
编辑
"
:
"
添加
"
)
+
"
考勤地点
"
},
on
:{
"
on-cancle
"
:
function
(
e
){
t
.
address
=
void
0
}},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
disabled
:
void
0
==
t
.
address
},
on
:{
click
:
t
.
nextStep
}},[
t
.
_v
(
"
下一步
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
editModalShow
,
callback
:
function
(
e
){
t
.
editModalShow
=
e
},
expression
:
"
editModalShow
"
}},[[
n
(
"
iframe
"
,{
attrs
:{
id
:
"
mapPage
"
,
width
:
"
100%
"
,
height
:
"
500px
"
,
frameborder
:
"
0
"
,
src
:
"
https://apis.map.qq.com/tools/locpicker?search=1&type=1&key=IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP&referer=myapp
"
}})]],
2
),
n
(
"
Modal
"
,{
attrs
:{
"
mask-closable
"
:
""
,
title
:
"
地点设置
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
on
:{
click
:
function
(
e
){
t
.
locSetModalShow
=!
1
}}},[
t
.
_v
(
"
上一步
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
loading
:
t
.
btSaveLoading
},
on
:{
click
:
t
.
saveAttendance
}},[
t
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
locSetModalShow
,
callback
:
function
(
e
){
t
.
locSetModalShow
=
e
},
expression
:
"
locSetModalShow
"
}},[[
n
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
,
"
label-width
"
:
100
}},[
n
(
"
Row
"
,[
n
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
标题
"
}},[
n
(
"
Input
"
,{
attrs
:{
type
:
"
text
"
},
model
:{
value
:
t
.
addrTitle
,
callback
:
function
(
e
){
t
.
addrTitle
=
e
},
expression
:
"
addrTitle
"
}})],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
地点名称
"
}},[
n
(
"
Input
"
,{
attrs
:{
type
:
"
text
"
},
model
:{
value
:
t
.
addrName
,
callback
:
function
(
e
){
t
.
addrName
=
e
},
expression
:
"
addrName
"
}})],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
打卡范围
"
}},[
n
(
"
Select
"
,{
model
:{
value
:
t
.
addrRange
,
callback
:
function
(
e
){
t
.
addrRange
=
e
},
expression
:
"
addrRange
"
}},
t
.
_l
(
t
.
addrRangeList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
value
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
)],
1
)]],
2
)],
1
)},
G
=
[],
P
=
{
data
:
function
(){
return
{
loading1
:
!
1
,
tableColumns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
width
:
80
,
align
:
"
center
"
},{
title
:
"
标题
"
,
key
:
"
title
"
},{
title
:
"
地址
"
,
key
:
"
address
"
},{
title
:
"
纬度
"
,
key
:
"
latitude
"
},{
title
:
"
经度
"
,
key
:
"
longitude
"
},{
title
:
"
误差
"
,
key
:
"
offset
"
},{
title
:
"
创建时间
"
,
key
:
"
createtime
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
width
:
120
,
align
:
"
center
"
}],
tableData
:[],
isEdit
:
!
1
,
editModalShow
:
!
1
,
addrTitle
:
""
,
addrName
:
void
0
,
addrRange
:
100
,
address
:
void
0
,
addrRangeList
:[{
label
:
"
100米
"
,
value
:
100
},{
label
:
"
200米
"
,
value
:
200
},{
label
:
"
300米
"
,
value
:
300
},{
label
:
"
400米
"
,
value
:
400
},{
label
:
"
500米
"
,
value
:
500
},{
label
:
"
600米
"
,
value
:
600
},{
label
:
"
700米
"
,
value
:
700
},{
label
:
"
800米
"
,
value
:
800
},{
label
:
"
900米
"
,
value
:
900
},{
label
:
"
1000米
"
,
value
:
1
e3
},{
label
:
"
2000米
"
,
value
:
2
e3
},{
label
:
"
3000米
"
,
value
:
3
e3
}],
locSetModalShow
:
!
1
,
btSaveLoading
:
!
1
}},
computed
:{},
created
:
function
(){
this
.
getAttendanceList
()},
mounted
:
function
(){
var
t
=
this
;
window
.
addEventListener
(
"
message
"
,(
function
(
e
){
console
.
log
(
"
🚀🚀event🚀,
"
,
e
);
var
n
=
e
.
data
;
n
&&
"
locationPicker
"
==
n
.
module
&&
(
t
.
address
=
n
)}),
!
1
)},
methods
:{
nextStep
:
function
(){
this
.
addrName
=
this
.
address
.
poiname
,
this
.
addrTitle
=
this
.
address
.
poiname
,
this
.
locSetModalShow
=!
0
},
saveAttendance
:
function
(){
var
t
=
this
,
e
=
{
title
:
this
.
addrTitle
,
address
:
this
.
addrName
,
latitude
:
this
.
address
.
latlng
.
lat
,
longitude
:
this
.
address
.
latlng
.
lng
,
offset
:
this
.
addrRange
};
this
.
btSaveLoading
=!
0
,
i
[
"
b
"
](
e
).
then
((
function
(
e
){
1
==
e
.
code
?(
t
.
globalMessage
(
"
success
"
,
e
.
response
),
t
.
getAttendanceList
(),
t
.
editModalShow
=!
1
,
t
.
locSetModalShow
=!
1
,
t
.
address
=
void
0
,
t
.
addrName
=
void
0
):
t
.
globalMessage
(
"
error
"
,
e
.
msg_detail
)})).
catch
((
function
(
e
){
t
.
globalMessage
(
"
error
"
,
e
)})).
finally
((
function
(){
t
.
btSaveLoading
=!
1
}))},
rowDelete
:
function
(
t
){
var
e
=
this
;
this
.
$Modal
.
confirm
({
title
:
"
提示
"
,
content
:
"
是否确认删除考勤
"
.
concat
(
t
.
title
,
"
?
"
),
loading
:
!
0
,
onOk
:
function
(){
i
[
"
a
"
](
t
.
attendanceid
).
then
((
function
(
t
){
1
==
t
.
code
?(
e
.
globalMessage
(
"
success
"
,
t
.
response
),
e
.
$Modal
.
remove
(),
e
.
getAttendanceList
()):
e
.
globalMessage
(
"
error
"
,
t
.
msg_detail
)})).
catch
((
function
(
t
){
e
.
globalMessage
(
"
error
"
,
t
)}))}})},
getAttendanceList
:
function
(){
var
t
=
this
;
this
.
loading1
=!
0
,
i
[
"
e
"
]().
then
((
function
(
e
){
t
.
tableData
=
e
.
response
})).
catch
((
function
(
e
){
t
.
globalMessage
(
"
error
"
,
e
)})).
finally
((
function
(){
t
.
loading1
=!
1
}))},
globalMessage
:
function
(
t
,
e
){
var
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
3
,
a
=!
(
arguments
.
length
>
3
&&
void
0
!==
arguments
[
3
])
||
arguments
[
3
];
this
.
$Message
[
t
]({
type
:
t
,
content
:
e
,
duration
:
n
,
background
:
a
})}}},
D
=
P
,
N
=
Object
(
h
[
"
a
"
])(
D
,
j
,
G
,
!
1
,
null
,
"
eda4cfd8
"
,
null
),
W
=
N
.
exports
,
H
=
{
components
:{
watchType
:
g
,
MessageConfig
:
O
,
Campus
:
x
,
WatchHour
:
V
,
Attendance
:
W
},
data
:
function
(){
return
{
watchHourTimeList
:[],
showComponent
:{
type
:
!
0
,
time
:
!
1
,
campus
:
!
1
,
info
:
!
1
,
attendance
:
!
1
},
buttonSize
:
""
,
searchValue
:
""
,
loading
:
!
0
,
modal
:
!
1
,
formTop
:{
input1
:
""
,
input2
:
""
,
input3
:
""
,
type
:
""
,
flag
:
!
1
,
searchFlag
:
!
1
,
timeName1
:
""
}}},
computed
:{
ModalTitleValue
:
function
(){
return
!
0
===
this
.
showComponent
.
type
?
"
增添值班类型
"
:
!
0
===
this
.
showComponent
.
info
?
"
配置消息提醒
"
:
!
0
===
this
.
showComponent
.
time
?
"
增添值班时间
"
:
"
增添校区
"
},
ModalInputLabelValue
:
function
(){
var
t
=
[
"
权限名称
"
,
"
权限备注
"
],
e
=
[
"
校区名称
"
],
n
=
[
"
校区名称
"
],
a
=
[
"
校区名称
"
];
return
!
0
===
this
.
showComponent
.
type
?
t
:
!
0
===
this
.
showComponent
.
campus
?
e
:
!
0
===
this
.
showComponent
.
time
?
a
:
n
}},
watch
:{
buttonSize
:
function
(
t
,
e
){
console
.
info
(
"
🚀🚀🚀,
"
,
t
),
this
.
columnButtonState
(
t
)}},
methods
:{
selectTileValue
:
function
(
t
){
this
.
formTop
.
input1
=
t
[
0
],
this
.
formTop
.
input2
=
t
[
1
]},
searchEvent
:
function
(){
this
.
formTop
.
searchFlag
=!
0
},
cancelModal
:
function
(
t
){
this
.
spinShow
=
t
,
this
.
modal
=
t
,
this
.
formTop
.
searchFlag
=
t
,
this
.
formTop
.
flag
=
t
},
addWatchType
:
function
(){
this
.
modal
=!
0
},
addAttendance
:
function
(){
this
.
$refs
.
attendance
.
isEdit
=!
1
,
this
.
$refs
.
attendance
.
editModalShow
=!
0
},
modalOk
:
function
(){
this
.
formTop
.
flag
=!
0
},
columnButtonState
:
function
(
t
){
switch
(
t
){
case
"
type
"
:
this
.
showComponent
.
type
=!
0
,
this
.
showComponent
.
info
=!
1
,
this
.
showComponent
.
time
=!
1
,
this
.
showComponent
.
campus
=!
1
,
this
.
showComponent
.
attendance
=!
1
,
this
.
searchValue
=
""
,
this
.
formTop
.
input1
=
""
,
this
.
formTop
.
input2
=
""
,
this
.
formTop
.
input3
=
""
,
this
.
formTop
.
type
=
""
,
this
.
formTop
.
timeName1
=
""
;
break
;
case
"
info
"
:
this
.
showComponent
.
type
=!
1
,
this
.
showComponent
.
info
=!
0
,
this
.
showComponent
.
time
=!
1
,
this
.
showComponent
.
campus
=!
1
,
this
.
showComponent
.
attendance
=!
1
,
this
.
searchValue
=
""
,
this
.
formTop
.
input1
=
""
,
this
.
formTop
.
input2
=
""
,
this
.
formTop
.
input3
=
""
,
this
.
formTop
.
type
=
""
,
this
.
formTop
.
timeName1
=
""
;
break
;
case
"
time
"
:
this
.
showComponent
.
type
=!
1
,
this
.
showComponent
.
info
=!
1
,
this
.
showComponent
.
time
=!
0
,
this
.
showComponent
.
campus
=!
1
,
this
.
showComponent
.
attendance
=!
1
,
this
.
searchValue
=
""
,
this
.
formTop
.
input1
=
""
,
this
.
formTop
.
input2
=
""
,
this
.
formTop
.
input3
=
""
,
this
.
formTop
.
type
=
""
,
this
.
formTop
.
timeName1
=
""
;
break
;
case
"
campus
"
:
this
.
showComponent
.
type
=!
1
,
this
.
showComponent
.
info
=!
1
,
this
.
showComponent
.
time
=!
1
,
this
.
showComponent
.
campus
=!
0
,
this
.
showComponent
.
attendance
=!
1
,
this
.
searchValue
=
""
,
this
.
formTop
.
input1
=
""
,
this
.
formTop
.
input2
=
""
,
this
.
formTop
.
input3
=
""
,
this
.
formTop
.
type
=
""
,
this
.
formTop
.
timeName1
=
""
;
break
;
case
"
attendance
"
:
this
.
showComponent
.
type
=!
1
,
this
.
showComponent
.
info
=!
1
,
this
.
showComponent
.
time
=!
1
,
this
.
showComponent
.
campus
=!
1
,
this
.
showComponent
.
attendance
=!
0
,
this
.
searchValue
=
""
,
this
.
formTop
.
input1
=
""
,
this
.
formTop
.
input2
=
""
,
this
.
formTop
.
input3
=
""
,
this
.
formTop
.
type
=
""
,
this
.
formTop
.
timeName1
=
""
;
break
}}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
var
t
=
this
;
i
[
"
u
"
]().
then
((
function
(
e
){
t
.
watchHourTimeList
=
e
.
response
}))},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
R
=
H
,
A
=
Object
(
h
[
"
a
"
])(
R
,
a
,
o
,
!
1
,
null
,
"
26664b3e
"
,
null
);
e
[
"
default
"
]
=
A
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-2d2084c8.ca7fcb01.js
已删除
100644 → 0
浏览文件 @
9c48043c
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2d2084c8
"
],{
a3cc
:
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
"
,{
scopedSlots
:
t
.
_u
([{
key
:
"
title
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
height
:
"
30px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
RadioGroup
"
,{
attrs
:{
type
:
"
button
"
},
model
:{
value
:
t
.
buttonSize
,
callback
:
function
(
e
){
t
.
buttonSize
=
e
},
expression
:
"
buttonSize
"
}},[
n
(
"
Radio
"
,{
attrs
:{
label
:
"
type
"
}},[
t
.
_v
(
"
值班类型
"
)]),
n
(
"
Radio
"
,{
attrs
:{
label
:
"
time
"
}},[
t
.
_v
(
"
值班时间
"
)]),
n
(
"
Radio
"
,{
attrs
:{
label
:
"
campus
"
}},[
t
.
_v
(
"
校区配置
"
)]),
n
(
"
Radio
"
,{
attrs
:{
label
:
"
info
"
}},[
t
.
_v
(
"
消息提醒
"
)]),
n
(
"
Radio
"
,{
attrs
:{
label
:
"
attendance
"
}},[
t
.
_v
(
"
考勤管理
"
)])],
1
)],
1
)]},
proxy
:
!
0
},{
key
:
"
extra
"
,
fn
:
function
(){
return
[
n
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
flex-wrap
"
:
"
nowrap
"
,
"
align-items
"
:
"
center
"
}},[
t
.
showComponent
.
info
||
t
.
showComponent
.
attendance
?
t
.
_e
():
n
(
"
Input
"
,{
attrs
:{
placeholder
:
"
请输入权限名称进行查找...
"
},
model
:{
value
:
t
.
searchValue
,
callback
:
function
(
e
){
t
.
searchValue
=
e
},
expression
:
"
searchValue
"
}}),
t
.
showComponent
.
info
||
t
.
showComponent
.
attendance
?
t
.
_e
():
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
,
disabled
:
""
===
t
.
searchValue
},
on
:{
click
:
t
.
searchEvent
}},[
t
.
_v
(
"
查找
\n
"
)]),
t
.
showComponent
.
info
||
t
.
showComponent
.
attendance
?
t
.
_e
():
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
addWatchType
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
ModalTitleValue
)
+
"
\n
"
)]),
t
.
showComponent
.
attendance
?
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
t
.
addAttendance
}},[
t
.
_v
(
"
添加考勤范围
"
)]):
t
.
_e
()],
1
)]},
proxy
:
!
0
}])},[
t
.
showComponent
.
type
?
n
(
"
watchType
"
,{
attrs
:{
input
:
t
.
formTop
,
searchValue
:
t
.
searchValue
},
on
:{
cancelModal
:
t
.
cancelModal
}}):
t
.
_e
(),
t
.
showComponent
.
info
?
n
(
"
MessageConfig
"
):
t
.
_e
(),
t
.
showComponent
.
campus
?
n
(
"
Campus
"
,{
attrs
:{
input
:
t
.
formTop
,
searchValue
:
t
.
searchValue
},
on
:{
cancelModal
:
t
.
cancelModal
}}):
t
.
_e
(),
t
.
showComponent
.
time
?
n
(
"
WatchHour
"
,{
attrs
:{
input
:
t
.
formTop
,
searchValue
:
t
.
searchValue
},
on
:{
cancelModal
:
t
.
cancelModal
}}):
t
.
_e
(),
t
.
showComponent
.
attendance
?
n
(
"
Attendance
"
,{
ref
:
"
attendance
"
}):
t
.
_e
(),
n
(
"
Modal
"
,{
attrs
:{
title
:
""
+
t
.
ModalTitleValue
,
"
cancel-text
"
:
"
取消
"
,
"
ok-text
"
:
"
确认
"
,
"
mask-closable
"
:
!
1
,
loading
:
t
.
loading
},
on
:{
"
on-ok
"
:
function
(
e
){
return
t
.
modalOk
()}},
model
:{
value
:
t
.
modal
,
callback
:
function
(
e
){
t
.
modal
=
e
},
expression
:
"
modal
"
}},[
n
(
"
Form
"
,{
ref
:
"
updateRoleValue
"
,
attrs
:{
model
:
t
.
formTop
,
"
label-width
"
:
80
}},[
t
.
showComponent
.
type
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班名称
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
input1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input1
"
,
e
)},
expression
:
"
formTop.input1
"
}})],
1
):
t
.
_e
(),
t
.
showComponent
.
type
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班时间
"
,
prop
:
"
input3
"
}},[
n
(
"
Select
"
,{
attrs
:{
placeholder
:
""
},
model
:{
value
:
t
.
formTop
.
input3
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input3
"
,
e
)},
expression
:
"
formTop.input3
"
}},
t
.
_l
(
t
.
watchHourTimeList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
name
)
+
"
\n
"
)])})),
1
)],
1
):
t
.
_e
(),
t
.
showComponent
.
type
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班备注
"
,
prop
:
"
input2
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
input2
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input2
"
,
e
)},
expression
:
"
formTop.input2
"
}})],
1
):
t
.
_e
(),
t
.
showComponent
.
type
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
签到类型
"
}},[
n
(
"
Select
"
,{
attrs
:{
placeholder
:
""
},
model
:{
value
:
t
.
formTop
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
type
"
,
e
)},
expression
:
"
formTop.type
"
}},[
n
(
"
Option
"
,{
attrs
:{
value
:
0
}},[
t
.
_v
(
"
免打卡
"
)]),
n
(
"
Option
"
,{
attrs
:{
value
:
1
}},[
t
.
_v
(
"
无定位打卡
"
)]),
n
(
"
Option
"
,{
attrs
:{
value
:
2
}},[
t
.
_v
(
"
定位拍照打卡
"
)])],
1
)],
1
):
t
.
_e
(),
t
.
showComponent
.
campus
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
校区名称
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
input1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input1
"
,
e
)},
expression
:
"
formTop.input1
"
}})],
1
):
t
.
_e
(),
t
.
showComponent
.
time
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
区间名称
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
timeName1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
timeName1
"
,
e
)},
expression
:
"
formTop.timeName1
"
}})],
1
):
t
.
_e
(),
t
.
showComponent
.
time
?
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
时间
"
,
prop
:
"
input2
"
}},[
n
(
"
TimePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
format
:
"
HH:mm
"
,
type
:
"
timerange
"
,
placement
:
"
bottom-end
"
,
placeholder
:
"
Select time
"
},
on
:{
"
on-change
"
:
t
.
selectTileValue
}})],
1
):
t
.
_e
()],
1
)],
1
)],
1
)],
1
)},
o
=
[],
i
=
n
(
"
5e9b
"
),
r
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
sign_type
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
0
==
a
.
sign_type
?
n
(
"
span
"
,[
t
.
_v
(
"
免打卡
"
)]):
t
.
_e
(),
1
==
a
.
sign_type
?
n
(
"
span
"
,[
t
.
_v
(
"
无定位打卡
"
)]):
t
.
_e
(),
2
==
a
.
sign_type
?
n
(
"
span
"
,[
t
.
_v
(
"
定位拍照打卡
"
)]):
t
.
_e
()]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
update
(
a
)}}},[
t
.
_v
(
"
修改
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
error
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
Delete
(
a
)}}},[
t
.
_v
(
"
删除
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
t
.
total
,
"
page-size
"
:
t
.
page_size
,
"
model-value
"
:
"
page_index
"
},
on
:{
"
on-change
"
:
t
.
currentPage
,
"
on-page-size-change
"
:
t
.
currentPageCount
}})],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
值班类型
"
,
"
cancel-text
"
:
"
取消
"
,
"
ok-text
"
:
"
确认
"
,
"
mask-closable
"
:
!
1
},
on
:{
"
on-ok
"
:
t
.
modalOk
},
model
:{
value
:
t
.
modal
,
callback
:
function
(
e
){
t
.
modal
=
e
},
expression
:
"
modal
"
}},[
n
(
"
Form
"
,{
ref
:
"
updateRoleValue
"
,
attrs
:{
model
:
t
.
formTop
,
"
label-width
"
:
100
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班类型
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
input1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input1
"
,
e
)},
expression
:
"
formTop.input1
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班时间
"
,
prop
:
"
input2
"
}},[
n
(
"
Select
"
,{
attrs
:{
placeholder
:
""
},
model
:{
value
:
t
.
formTop
.
input3
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input3
"
,
e
)},
expression
:
"
formTop.input3
"
}},
t
.
_l
(
t
.
watchHourTimeList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
id
,
attrs
:{
value
:
e
.
id
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
name
)
+
"
\n
"
)])})),
1
)],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班类型备注
"
,
prop
:
"
input2
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
input2
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input2
"
,
e
)},
expression
:
"
formTop.input2
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
签到类型
"
}},[
n
(
"
Select
"
,{
attrs
:{
placeholder
:
""
},
model
:{
value
:
t
.
formTop
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
type
"
,
e
)},
expression
:
"
formTop.type
"
}},[
n
(
"
Option
"
,{
attrs
:{
value
:
0
}},[
t
.
_v
(
"
免打卡
"
)]),
n
(
"
Option
"
,{
attrs
:{
value
:
1
}},[
t
.
_v
(
"
无定位打卡
"
)]),
n
(
"
Option
"
,{
attrs
:{
value
:
2
}},[
t
.
_v
(
"
定位拍照打卡
"
)])],
1
)],
1
)],
1
)],
1
)],
1
)},
s
=
[],
c
=
(
n
(
"
96cf
"
),
n
(
"
1da1
"
)),
u
=
n
(
"
967e
"
),
l
=
n
.
n
(
u
),
p
=
n
(
"
806c
"
),
d
=
{
name
:
"
watchType
"
,
components
:{},
props
:[
"
input
"
,
"
searchValue
"
],
data
:
function
(){
return
{
watchHourTimeList
:[],
modal
:
!
1
,
formTop
:{
id
:
""
,
input1
:
""
,
input2
:
""
,
input3
:
""
,
type
:
""
},
page_size
:
10
,
page_index
:
1
,
total
:
null
,
loading
:
!
1
,
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
},{
title
:
"
值班类型
"
,
key
:
"
watchtypename
"
},{
title
:
"
值班时间
"
,
key
:
"
watchhourname
"
},{
title
:
"
类型备注
"
,
key
:
"
watchtype_remark
"
},{
title
:
"
签到类型
"
,
slot
:
"
sign_type
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[]}},
computed
:{},
watch
:{
"
input.flag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
var
a
,
o
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
console
.
log
(
e
),
!
e
){
t
.
next
=
10
;
break
}
return
a
=
{
watchtypename
:
this
.
input
.
input1
,
watchtype_remark
:
this
.
input
.
input2
,
watchhour_id
:
this
.
input
.
input3
,
sign_type
:
this
.
input
.
type
},
t
.
next
=
5
,
i
[
"
W
"
](
a
);
case
5
:
return
o
=
t
.
sent
,
t
.
next
=
8
,
this
.
GetWatchTypeList
();
case
8
:
this
.
input
.
flag
=!
1
,
1
===
o
.
code
&&
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
10
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
"
input.searchFlag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
console
.
log
(
e
),
!
e
){
t
.
next
=
6
;
break
}
return
t
.
next
=
4
,
this
.
GetWatchTypeList
();
case
4
:
this
.
input
.
searchFlag
=!
1
,
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
6
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
methods
:{
modalOk
:
function
(){
var
t
=
this
;
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
{
watchtypeid
:
t
.
formTop
.
id
,
watchtypename
:
t
.
formTop
.
input1
,
watchtype_remark
:
t
.
formTop
.
input2
,
watchhour_id
:
t
.
formTop
.
input3
,
sign_type
:
t
.
formTop
.
type
},
e
.
next
=
3
,
i
[
"
W
"
](
n
);
case
3
:
return
a
=
e
.
sent
,
e
.
next
=
6
,
t
.
GetWatchTypeList
();
case
6
:
return
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
update
:
function
(
t
){
this
.
formTop
.
id
=
t
.
watchtypeid
,
this
.
formTop
.
input1
=
t
.
watchtypename
,
this
.
formTop
.
input2
=
t
.
watchtype_remark
,
this
.
formTop
.
input3
=
t
.
watchhour_id
,
this
.
formTop
.
type
=
t
.
sign_type
,
this
.
modal
=!
0
},
DeleteAction
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
{
id
:
e
.
formTop
.
id
},
t
.
next
=
3
,
i
[
"
V
"
](
n
);
case
3
:
return
a
=
t
.
sent
,
t
.
next
=
6
,
e
.
GetWatchTypeList
();
case
6
:
return
t
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
1
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
Delete
:
function
(
t
){
var
e
=
this
;
this
.
formTop
.
id
=
t
.
watchtypeid
,
this
.
publicConfirm
((
function
(){
return
e
.
DeleteAction
()}))},
currentPage
:
function
(
t
){
console
.
log
(
t
),
this
.
page_index
=
t
,
this
.
GetWatchTypeList
()},
currentPageCount
:
function
(
t
){
console
.
log
(
t
,
"
currentPageCount
"
),
this
.
page_size
=
t
,
this
.
GetWatchTypeList
()},
publicConfirm
:
function
(
t
){
this
.
$Modal
.
confirm
({
title
:
"
警告
"
,
content
:
"
<p>是否继续此操作?</p>
"
,
cancelText
:
"
取消
"
,
okText
:
"
确定
"
,
onOk
:
function
(){
var
e
=
Object
(
c
[
"
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
,
t
();
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
n
(){
return
e
.
apply
(
this
,
arguments
)}
return
n
}()})},
publicMessage
:
function
(
t
){
1
!==
t
.
code
?
this
.
$Message
[
"
warning
"
]({
background
:
!
0
,
content
:
"
操作异常
"
}):(
this
.
$Spin
.
hide
(),
this
.
$Message
[
"
success
"
]({
background
:
!
0
,
content
:
"
操作成功
"
}))},
GetWatchTypeList
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
=
this
,
n
=
arguments
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
n
.
length
>
0
&&
void
0
!==
n
[
0
]?
n
[
0
]:
""
,
p
[
"
getInitListRequest
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
.
loading
=!
0
,
n
=
{
name
:
e
.
searchValue
,
page_size
:
e
.
page_size
,
page_index
:
e
.
page_index
},
t
.
next
=
4
,
i
[
"
x
"
](
n
);
case
4
:
a
=
t
.
sent
,
e
.
data
=
a
.
response
.
data
,
e
.
total
=
a
.
response
.
data_count
,
e
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
var
t
=
this
;
this
.
GetWatchTypeList
(),
i
[
"
u
"
]().
then
((
function
(
e
){
t
.
watchHourTimeList
=
e
.
response
}))},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){
console
.
info
(
"
🚀🚀🚀destroyed,
"
)},
activated
:
function
(){}},
m
=
d
,
h
=
n
(
"
2877
"
),
f
=
Object
(
h
[
"
a
"
])(
m
,
r
,
s
,
!
1
,
null
,
"
11b2a98e
"
,
null
),
g
=
f
.
exports
,
w
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
update
(
a
)}}},[
t
.
_v
(
"
修改
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
error
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
Delete
(
a
)}}},[
t
.
_v
(
"
删除
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
t
.
total
,
"
page-size
"
:
t
.
page_size
,
"
model-value
"
:
"
page_index
"
},
on
:{
"
on-change
"
:
t
.
currentPage
,
"
on-page-size-change
"
:
t
.
currentPageCount
}})],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
配置校区
"
,
"
cancel-text
"
:
"
取消
"
,
"
ok-text
"
:
"
确认
"
,
"
mask-closable
"
:
!
1
},
on
:{
"
on-ok
"
:
t
.
modalOk
},
model
:{
value
:
t
.
modal
,
callback
:
function
(
e
){
t
.
modal
=
e
},
expression
:
"
modal
"
}},[
n
(
"
Form
"
,{
ref
:
"
updateRoleValue
"
,
attrs
:{
model
:
t
.
formTop
,
"
label-width
"
:
80
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
配置校区
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
input1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input1
"
,
e
)},
expression
:
"
formTop.input1
"
}})],
1
)],
1
)],
1
)],
1
)},
v
=
[],
b
=
{
name
:
"
watchType
"
,
components
:{},
props
:[
"
input
"
,
"
searchValue
"
],
data
:
function
(){
return
{
loading
:
!
1
,
spinShow
:
!
1
,
modal
:
!
1
,
formTop
:{
id
:
""
,
input1
:
""
,
input2
:
""
},
page_size
:
10
,
page_index
:
1
,
total
:
null
,
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
},{
title
:
"
校区名称
"
,
key
:
"
campusname
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[]}},
computed
:{},
watch
:{
"
input.flag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
var
a
,
o
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
e
){
t
.
next
=
9
;
break
}
return
a
=
{
campusname
:
this
.
input
.
input1
},
t
.
next
=
4
,
i
[
"
d
"
](
a
);
case
4
:
return
o
=
t
.
sent
,
t
.
next
=
7
,
this
.
GetCampusList
();
case
7
:
this
.
input
.
flag
=!
1
,
1
===
o
.
code
&&
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
9
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
"
input.searchFlag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
!
e
){
t
.
next
=
5
;
break
}
return
t
.
next
=
3
,
this
.
GetCampusList
();
case
3
:
this
.
input
.
searchFlag
=!
1
,
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
5
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
methods
:{
modalOk
:
function
(){
var
t
=
this
;
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
{
campusid
:
t
.
formTop
.
id
,
campusname
:
t
.
formTop
.
input1
},
e
.
next
=
3
,
i
[
"
d
"
](
n
);
case
3
:
if
(
a
=
e
.
sent
,
1
!==
a
.
code
){
e
.
next
=
7
;
break
}
return
e
.
next
=
7
,
t
.
GetCampusList
();
case
7
:
return
e
.
abrupt
(
"
return
"
,
a
);
case
8
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
update
:
function
(
t
){
this
.
formTop
.
id
=
t
.
campusid
,
this
.
formTop
.
input1
=
t
.
campusname
,
this
.
modal
=!
0
},
DeleteAction
:
function
(){
var
t
=
this
;
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
{
campusid
:
t
.
formTop
.
id
},
e
.
next
=
3
,
i
[
"
c
"
](
n
);
case
3
:
return
a
=
e
.
sent
,
t
.
GetCampusList
(),
e
.
abrupt
(
"
return
"
,
a
);
case
6
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
Delete
:
function
(
t
){
var
e
=
this
;
this
.
formTop
.
id
=
t
.
campusid
,
this
.
publicConfirm
((
function
(){
return
e
.
DeleteAction
()}))},
currentPage
:
function
(
t
){
console
.
log
(
t
),
this
.
page_index
=
t
,
this
.
GetCampusList
()},
currentPageCount
:
function
(
t
){
console
.
log
(
t
,
"
currentPageCount
"
),
this
.
page_size
=
t
,
this
.
GetCampusList
()},
publicConfirm
:
function
(
t
){
this
.
$Modal
.
confirm
({
title
:
"
警告
"
,
content
:
"
<p>是否继续此操作?</p>
"
,
cancelText
:
"
取消
"
,
okText
:
"
确定
"
,
onOk
:
function
(){
var
e
=
Object
(
c
[
"
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
,
t
();
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
n
(){
return
e
.
apply
(
this
,
arguments
)}
return
n
}()})},
publicMessage
:
function
(
t
){
1
!==
t
.
code
?
this
.
$Message
[
"
warning
"
]({
background
:
!
0
,
content
:
"
操作异常
"
}):(
this
.
$Message
[
"
success
"
]({
background
:
!
0
,
content
:
"
操作成功
"
}),
this
.
$Spin
.
hide
())},
GetCampusList
:
function
(){
var
t
=
this
;
p
[
"
getInitListRequest
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
.
loading
=!
0
,
n
=
{
name
:
t
.
searchValue
,
page_size
:
t
.
page_size
,
page_index
:
t
.
page_index
},
e
.
next
=
4
,
i
[
"
f
"
](
n
);
case
4
:
a
=
e
.
sent
,
t
.
data
=
a
.
response
.
data
,
t
.
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
.
GetCampusList
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
y
=
b
,
T
=
Object
(
h
[
"
a
"
])(
y
,
w
,
v
,
!
1
,
null
,
"
edda14ca
"
,
null
),
k
=
T
.
exports
,
x
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
advance_day
"
,
fn
:
function
(
e
){
var
n
=
e
.
row
;
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
n
.
advance_day
)
+
"
天
\n
"
)]}},{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
update
(
a
)}}},[
t
.
_v
(
"
修改
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
t
.
total
,
"
page-size
"
:
t
.
page_size
,
"
model-value
"
:
"
page_index
"
},
on
:{
"
on-change
"
:
t
.
currentPage
,
"
on-page-size-change
"
:
t
.
currentPageCount
}})],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
值班类型
"
,
"
cancel-text
"
:
"
取消
"
,
"
ok-text
"
:
"
确认
"
,
"
mask-closable
"
:
!
1
},
on
:{
"
on-ok
"
:
t
.
modalOk
},
model
:{
value
:
t
.
modal
,
callback
:
function
(
e
){
t
.
modal
=
e
},
expression
:
"
modal
"
}},[
n
(
"
Form
"
,{
ref
:
"
updateRoleValue
"
,
attrs
:{
model
:
t
.
formTop
,
"
label-width
"
:
80
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
提前天数
"
,
prop
:
"
input1
"
}},[
n
(
"
InputNumber
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
max
:
10
,
min
:
1
},
model
:{
value
:
t
.
formTop
.
input1
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input1
"
,
e
)},
expression
:
"
formTop.input1
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
提醒时间
"
,
prop
:
"
input2
"
}},[
n
(
"
TimePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
format
:
"
HH:mm
"
,
placeholder
:
"
Select time
"
},
on
:{
"
on-change
"
:
t
.
getSelectTime
},
model
:{
value
:
t
.
formTop
.
input2
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
input2
"
,
e
)},
expression
:
"
formTop.input2
"
}})],
1
)],
1
)],
1
)],
1
)},
_
=
[],
C
=
{
name
:
"
watchType
"
,
components
:{},
props
:[
"
input
"
,
"
searchValue
"
],
data
:
function
(){
return
{
loading
:
!
1
,
modal
:
!
1
,
formTop
:{
time_task_id
:
""
,
id
:
""
,
input1
:
1
,
input2
:
""
},
page_size
:
10
,
page_index
:
1
,
total
:
null
,
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
},{
title
:
"
提前天数
"
,
slot
:
"
advance_day
"
},{
title
:
"
提醒时间
"
,
key
:
"
remind_time
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[]}},
computed
:{},
watch
:{
"
input.flag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
var
a
,
o
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
console
.
log
(
e
),
!
e
){
t
.
next
=
10
;
break
}
return
a
=
{
watchtypename
:
this
.
input
.
input1
,
watchtype_remark
:
this
.
formTop
.
input2
},
t
.
next
=
5
,
i
[
"
W
"
](
a
);
case
5
:
return
o
=
t
.
sent
,
t
.
next
=
8
,
this
.
GetMessageConfigInfo
();
case
8
:
this
.
input
.
flag
=!
1
,
1
===
o
.
code
&&
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
10
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
"
input.searchFlag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
var
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
console
.
log
(
e
),
!
e
){
t
.
next
=
7
;
break
}
return
t
.
next
=
4
,
this
.
GetMessageConfigInfo
();
case
4
:
a
=
t
.
sent
,
this
.
input
.
searchFlag
=!
1
,
1
===
a
.
code
&&
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
methods
:{
getSelectTime
:
function
(
t
){
this
.
formTop
.
input2
=
t
},
modalOk
:
function
(){
var
t
=
this
;
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
{
megconfigid
:
t
.
formTop
.
id
,
advance_day
:
t
.
formTop
.
input1
,
remind_time
:
t
.
formTop
.
input2
,
time_task_id
:
t
.
formTop
.
time_task_id
},
e
.
next
=
3
,
i
[
"
i
"
](
n
);
case
3
:
return
a
=
e
.
sent
,
e
.
next
=
6
,
t
.
GetMessageConfigInfo
();
case
6
:
return
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
update
:
function
(
t
){
this
.
formTop
.
id
=
t
.
megconfigid
,
this
.
formTop
.
input1
=
t
.
advance_day
,
this
.
formTop
.
input2
=
t
.
remind_time
,
this
.
formTop
.
time_task_id
=
t
.
time_task_id
,
this
.
modal
=!
0
},
DeleteAction
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
=
{
id
:
this
.
formTop
.
id
},
t
.
next
=
3
,
i
[
"
V
"
](
e
);
case
3
:
t
.
sent
,
this
.
GetMessageConfigInfo
();
case
5
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
Delete
:
function
(
t
){
var
e
=
this
;
this
.
formTop
.
id
=
t
.
watchtypeid
,
this
.
publicConfirm
((
function
(){
return
e
.
DeleteAction
()}))},
currentPage
:
function
(
t
){
console
.
log
(
t
),
this
.
page_index
=
t
,
this
.
GetMessageConfigInfo
()},
currentPageCount
:
function
(
t
){
console
.
log
(
t
,
"
currentPageCount
"
),
this
.
page_size
=
t
,
this
.
GetMessageConfigInfo
()},
publicConfirm
:
function
(
t
){
this
.
$Modal
.
confirm
({
title
:
"
警告
"
,
content
:
"
<p>是否继续此操作?</p>
"
,
cancelText
:
"
取消
"
,
okText
:
"
确定
"
,
onOk
:
function
(){
var
e
=
Object
(
c
[
"
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
,
t
();
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
n
(){
return
e
.
apply
(
this
,
arguments
)}
return
n
}()})},
publicMessage
:
function
(
t
){
1
!==
t
.
code
?
this
.
$Message
[
"
warning
"
]({
background
:
!
0
,
content
:
"
操作异常
"
}):(
this
.
$Spin
.
hide
(),
this
.
$Message
[
"
success
"
]({
background
:
!
0
,
content
:
"
操作成功
"
}))},
GetMessageConfigInfo
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
=
this
,
n
=
arguments
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
n
.
length
>
0
&&
void
0
!==
n
[
0
]?
n
[
0
]:
""
,
p
[
"
getInitListRequest
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
n
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
.
loading
=!
0
,
e
.
data
=
[],
t
.
next
=
4
,
i
[
"
h
"
]();
case
4
:
n
=
t
.
sent
,
e
.
data
.
push
(
n
.
response
),
e
.
loading
=!
1
;
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
beforeCreate
:
function
(){
console
.
info
(
"
🚀🚀🚀,
"
)},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
GetMessageConfigInfo
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){
console
.
info
(
"
🚀🚀🚀destroyed,
"
)},
activated
:
function
(){}},
M
=
C
,
S
=
Object
(
h
[
"
a
"
])(
M
,
x
,
_
,
!
1
,
null
,
"
d1c9db82
"
,
null
),
O
=
S
.
exports
,
$
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
columns
,
data
:
t
.
data
,
loading
:
t
.
loading
},
scopedSlots
:
t
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
update
(
a
)}}},[
t
.
_v
(
"
修改
"
)]),
n
(
"
Button
"
,{
staticStyle
:{
"
margin-left
"
:
"
10px
"
},
attrs
:{
type
:
"
error
"
,
size
:
"
small
"
},
on
:{
click
:
function
(
e
){
return
t
.
Delete
(
a
)}}},[
t
.
_v
(
"
删除
"
)])]}}])}),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
height
:
"
70px
"
,
display
:
"
flex
"
,
"
align-items
"
:
"
center
"
}},[
n
(
"
Page
"
,{
attrs
:{
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
total
:
t
.
total
,
"
page-size
"
:
t
.
page_size
,
"
model-value
"
:
"
page_index
"
},
on
:{
"
on-change
"
:
t
.
currentPage
,
"
on-page-size-change
"
:
t
.
currentPageCount
}})],
1
),
n
(
"
Modal
"
,{
attrs
:{
title
:
"
值班类型
"
,
"
cancel-text
"
:
"
取消
"
,
"
ok-text
"
:
"
确认
"
,
"
mask-closable
"
:
!
1
},
on
:{
"
on-ok
"
:
t
.
modalOk
},
model
:{
value
:
t
.
modal
,
callback
:
function
(
e
){
t
.
modal
=
e
},
expression
:
"
modal
"
}},[
n
(
"
Form
"
,{
ref
:
"
updateRoleValue
"
,
attrs
:{
model
:
t
.
formTop
,
"
label-width
"
:
80
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
区间名称
"
,
prop
:
"
input1
"
}},[
n
(
"
Input
"
,{
model
:{
value
:
t
.
formTop
.
timeName
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formTop
,
"
timeName
"
,
e
)},
expression
:
"
formTop.timeName
"
}})],
1
),
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
时间
"
,
prop
:
"
input2
"
}},[
n
(
"
TimePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
format
:
"
HH:mm
"
,
type
:
"
timerange
"
,
placement
:
"
bottom-end
"
,
placeholder
:
"
请选择时间
"
},
on
:{
"
on-change
"
:
t
.
selectTileValue
}})],
1
)],
1
)],
1
)],
1
)},
L
=
[],
F
=
{
name
:
"
watchType
"
,
components
:{},
props
:[
"
input
"
,
"
searchValue
"
],
data
:
function
(){
return
{
loading
:
!
1
,
modal
:
!
1
,
formTop
:{
id
:
""
,
input1
:
""
,
input2
:
""
,
timeName
:
""
},
page_size
:
10
,
page_index
:
1
,
total
:
null
,
columns
:[{
title
:
"
序号
"
,
type
:
"
index
"
},{
title
:
"
开始时间
"
,
key
:
"
watchhour_start_time
"
},{
title
:
"
结束时间
"
,
key
:
"
watchhour_end_time
"
},{
title
:
"
区间名称
"
,
key
:
"
watchhourname
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
align
:
"
center
"
}],
data
:[]}},
computed
:{},
watch
:{
"
input.flag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
var
a
,
o
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
console
.
log
(
e
),
!
e
){
t
.
next
=
10
;
break
}
return
a
=
{
watchhourname
:
this
.
input
.
timeName1
,
watchhour_start_time
:
this
.
input
.
input1
,
watchhour_end_time
:
this
.
input
.
input2
},
t
.
next
=
5
,
i
[
"
Q
"
](
a
);
case
5
:
return
o
=
t
.
sent
,
t
.
next
=
8
,
this
.
GetWatchHourList
();
case
8
:
this
.
input
.
flag
=!
1
,
1
===
o
.
code
&&
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
10
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
"
input.searchFlag
"
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(
e
,
n
){
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
console
.
log
(
e
),
!
e
){
t
.
next
=
7
;
break
}
return
t
.
next
=
4
,
this
.
GetWatchHourList
();
case
4
:
t
.
sent
,
this
.
input
.
searchFlag
=!
1
,
this
.
$emit
(
"
cancelModal
"
,
!
1
);
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
,
this
)})));
function
e
(
e
,
n
){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
methods
:{
selectTileValue
:
function
(
t
){
this
.
formTop
.
input1
=
t
[
0
],
this
.
formTop
.
input2
=
t
[
1
],
console
.
log
(
"
🚀🚀🚀,
"
,
t
[
1
])},
modalOk
:
function
(){
var
t
=
this
;
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
e
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
{
watchhourid
:
t
.
formTop
.
id
,
watchhourname
:
t
.
formTop
.
timeName
,
watchhour_start_time
:
t
.
formTop
.
input1
,
watchhour_end_time
:
t
.
formTop
.
input2
},
e
.
next
=
3
,
i
[
"
Q
"
](
n
);
case
3
:
return
a
=
e
.
sent
,
e
.
next
=
6
,
t
.
GetWatchHourList
();
case
6
:
return
e
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)}))))},
update
:
function
(
t
){
this
.
formTop
.
id
=
t
.
watchhourid
,
this
.
formTop
.
timeName
=
t
.
watchhourname
,
this
.
modal
=!
0
},
DeleteAction
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
=
this
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
p
[
"
myEncapsulationFunction
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
n
=
{
id
:
e
.
formTop
.
id
},
t
.
next
=
3
,
i
[
"
P
"
](
n
);
case
3
:
return
a
=
t
.
sent
,
t
.
next
=
6
,
e
.
GetWatchHourList
();
case
6
:
return
t
.
abrupt
(
"
return
"
,
a
);
case
7
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
1
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}(),
Delete
:
function
(
t
){
var
e
=
this
;
this
.
formTop
.
id
=
t
.
watchhourid
,
this
.
publicConfirm
((
function
(){
return
e
.
DeleteAction
()}))},
currentPage
:
function
(
t
){
console
.
log
(
t
),
this
.
page_index
=
t
,
this
.
GetWatchHourList
()},
currentPageCount
:
function
(
t
){
console
.
log
(
t
,
"
currentPageCount
"
),
this
.
page_size
=
t
,
this
.
GetWatchHourList
()},
publicConfirm
:
function
(
t
){
this
.
$Modal
.
confirm
({
title
:
"
警告
"
,
content
:
"
<p>是否继续此操作?</p>
"
,
cancelText
:
"
取消
"
,
okText
:
"
确定
"
,
onOk
:
function
(){
var
e
=
Object
(
c
[
"
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
,
t
();
case
2
:
case
"
end
"
:
return
e
.
stop
()}}),
e
)})));
function
n
(){
return
e
.
apply
(
this
,
arguments
)}
return
n
}()})},
publicMessage
:
function
(
t
){
1
!==
t
.
code
?
this
.
$Message
[
"
warning
"
]({
background
:
!
0
,
content
:
"
操作异常
"
}):(
this
.
$Spin
.
hide
(),
this
.
$Message
[
"
success
"
]({
background
:
!
0
,
content
:
"
操作成功
"
}))},
GetWatchHourList
:
function
(){
var
t
=
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
e
=
this
,
n
=
arguments
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
n
.
length
>
0
&&
void
0
!==
n
[
0
]?
n
[
0
]:
""
,
p
[
"
getInitListRequest
"
](
Object
(
c
[
"
a
"
])(
l
.
a
.
mark
((
function
t
(){
var
n
,
a
;
return
l
.
a
.
wrap
((
function
(
t
){
while
(
1
)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
e
.
loading
=!
0
,
n
=
{
condition
:
e
.
searchValue
,
page_size
:
e
.
page_size
,
page_index
:
e
.
page_index
},
t
.
next
=
4
,
i
[
"
t
"
](
n
);
case
4
:
a
=
t
.
sent
,
e
.
data
=
a
.
response
.
data
,
e
.
total
=
a
.
response
.
data_count
,
e
.
loading
=!
1
;
case
8
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)}))));
case
2
:
case
"
end
"
:
return
t
.
stop
()}}),
t
)})));
function
e
(){
return
t
.
apply
(
this
,
arguments
)}
return
e
}()},
beforeCreate
:
function
(){
console
.
info
(
"
🚀🚀🚀,
"
)},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
GetWatchHourList
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){
console
.
info
(
"
🚀🚀🚀destroyed,
"
)},
activated
:
function
(){}},
I
=
F
,
z
=
Object
(
h
[
"
a
"
])(
I
,
$
,
L
,
!
1
,
null
,
"
6176df14
"
,
null
),
V
=
z
.
exports
,
j
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
Table
"
,{
attrs
:{
columns
:
t
.
tableColumns
,
data
:
t
.
tableData
,
loading
:
t
.
loading1
},
scopedSlots
:
t
.
_u
([{
key
:
"
action
"
,
fn
:
function
(
e
){
var
a
=
e
.
row
;
return
[
n
(
"
a
"
,{
on
:{
click
:
function
(
e
){
return
t
.
rowDelete
(
a
)}}},[
t
.
_v
(
"
删除
"
)])]}}])}),
n
(
"
Modal
"
,{
attrs
:{
"
mask-closable
"
:
""
,
title
:(
t
.
isEdit
?
"
编辑
"
:
"
添加
"
)
+
"
考勤地点
"
},
on
:{
"
on-cancle
"
:
function
(
e
){
t
.
address
=
void
0
}},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
disabled
:
void
0
==
t
.
address
},
on
:{
click
:
t
.
nextStep
}},[
t
.
_v
(
"
下一步
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
editModalShow
,
callback
:
function
(
e
){
t
.
editModalShow
=
e
},
expression
:
"
editModalShow
"
}},[[
n
(
"
iframe
"
,{
attrs
:{
id
:
"
mapPage
"
,
width
:
"
100%
"
,
height
:
"
500px
"
,
frameborder
:
"
0
"
,
src
:
"
https://apis.map.qq.com/tools/locpicker?search=1&type=1&key=IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP&referer=myapp
"
}})]],
2
),
n
(
"
Modal
"
,{
attrs
:{
"
mask-closable
"
:
""
,
title
:
"
地点设置
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
footer
"
,
fn
:
function
(){
return
[
n
(
"
Button
"
,{
on
:{
click
:
function
(
e
){
t
.
locSetModalShow
=!
1
}}},[
t
.
_v
(
"
上一步
"
)]),
n
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
loading
:
t
.
btSaveLoading
},
on
:{
click
:
t
.
saveAttendance
}},[
t
.
_v
(
"
确定
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
locSetModalShow
,
callback
:
function
(
e
){
t
.
locSetModalShow
=
e
},
expression
:
"
locSetModalShow
"
}},[[
n
(
"
Form
"
,{
attrs
:{
"
label-colon
"
:
""
,
"
label-width
"
:
100
}},[
n
(
"
Row
"
,[
n
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
标题
"
}},[
n
(
"
Input
"
,{
attrs
:{
type
:
"
text
"
},
model
:{
value
:
t
.
addrTitle
,
callback
:
function
(
e
){
t
.
addrTitle
=
e
},
expression
:
"
addrTitle
"
}})],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
地点名称
"
}},[
n
(
"
Input
"
,{
attrs
:{
type
:
"
text
"
},
model
:{
value
:
t
.
addrName
,
callback
:
function
(
e
){
t
.
addrName
=
e
},
expression
:
"
addrName
"
}})],
1
)],
1
),
n
(
"
Col
"
,{
attrs
:{
span
:
"
24
"
}},[
n
(
"
FormItem
"
,{
attrs
:{
label
:
"
打卡范围
"
}},[
n
(
"
Select
"
,{
model
:{
value
:
t
.
addrRange
,
callback
:
function
(
e
){
t
.
addrRange
=
e
},
expression
:
"
addrRange
"
}},
t
.
_l
(
t
.
addrRangeList
,(
function
(
e
){
return
n
(
"
Option
"
,{
key
:
e
.
value
,
attrs
:{
value
:
e
.
value
}},[
t
.
_v
(
t
.
_s
(
e
.
label
))])})),
1
)],
1
)],
1
)],
1
)],
1
)]],
2
)],
1
)},
G
=
[],
P
=
{
data
:
function
(){
return
{
loading1
:
!
1
,
tableColumns
:[{
title
:
"
序号
"
,
type
:
"
index
"
,
width
:
80
,
align
:
"
center
"
},{
title
:
"
标题
"
,
key
:
"
title
"
},{
title
:
"
地址
"
,
key
:
"
address
"
},{
title
:
"
纬度
"
,
key
:
"
latitude
"
},{
title
:
"
经度
"
,
key
:
"
longitude
"
},{
title
:
"
误差
"
,
key
:
"
offset
"
},{
title
:
"
创建时间
"
,
key
:
"
createtime
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
width
:
120
,
align
:
"
center
"
}],
tableData
:[],
isEdit
:
!
1
,
editModalShow
:
!
1
,
addrTitle
:
""
,
addrName
:
void
0
,
addrRange
:
100
,
address
:
void
0
,
addrRangeList
:[{
label
:
"
100米
"
,
value
:
100
},{
label
:
"
200米
"
,
value
:
200
},{
label
:
"
300米
"
,
value
:
300
},{
label
:
"
400米
"
,
value
:
400
},{
label
:
"
500米
"
,
value
:
500
},{
label
:
"
600米
"
,
value
:
600
},{
label
:
"
700米
"
,
value
:
700
},{
label
:
"
800米
"
,
value
:
800
},{
label
:
"
900米
"
,
value
:
900
},{
label
:
"
1000米
"
,
value
:
1
e3
},{
label
:
"
2000米
"
,
value
:
2
e3
},{
label
:
"
3000米
"
,
value
:
3
e3
}],
locSetModalShow
:
!
1
,
btSaveLoading
:
!
1
}},
computed
:{},
created
:
function
(){
this
.
getAttendanceList
()},
mounted
:
function
(){
var
t
=
this
;
window
.
addEventListener
(
"
message
"
,(
function
(
e
){
console
.
log
(
"
🚀🚀event🚀,
"
,
e
);
var
n
=
e
.
data
;
n
&&
"
locationPicker
"
==
n
.
module
&&
(
t
.
address
=
n
)}),
!
1
)},
methods
:{
nextStep
:
function
(){
this
.
addrName
=
this
.
address
.
poiname
,
this
.
addrTitle
=
this
.
address
.
poiname
,
this
.
locSetModalShow
=!
0
},
saveAttendance
:
function
(){
var
t
=
this
,
e
=
{
title
:
this
.
addrTitle
,
address
:
this
.
addrName
,
latitude
:
this
.
address
.
latlng
.
lat
,
longitude
:
this
.
address
.
latlng
.
lng
,
offset
:
this
.
addrRange
};
this
.
btSaveLoading
=!
0
,
i
[
"
b
"
](
e
).
then
((
function
(
e
){
1
==
e
.
code
?(
t
.
globalMessage
(
"
success
"
,
e
.
response
),
t
.
getAttendanceList
(),
t
.
editModalShow
=!
1
,
t
.
locSetModalShow
=!
1
,
t
.
address
=
void
0
,
t
.
addrName
=
void
0
):
t
.
globalMessage
(
"
error
"
,
e
.
msg_detail
)})).
catch
((
function
(
e
){
t
.
globalMessage
(
"
error
"
,
e
)})).
finally
((
function
(){
t
.
btSaveLoading
=!
1
}))},
rowDelete
:
function
(
t
){
var
e
=
this
;
this
.
$Modal
.
confirm
({
title
:
"
提示
"
,
content
:
"
是否确认删除考勤
"
.
concat
(
t
.
title
,
"
?
"
),
loading
:
!
0
,
onOk
:
function
(){
i
[
"
a
"
](
t
.
attendanceid
).
then
((
function
(
t
){
1
==
t
.
code
?(
e
.
globalMessage
(
"
success
"
,
t
.
response
),
e
.
$Modal
.
remove
(),
e
.
getAttendanceList
()):
e
.
globalMessage
(
"
error
"
,
t
.
msg_detail
)})).
catch
((
function
(
t
){
e
.
globalMessage
(
"
error
"
,
t
)}))}})},
getAttendanceList
:
function
(){
var
t
=
this
;
this
.
loading1
=!
0
,
i
[
"
e
"
]().
then
((
function
(
e
){
t
.
tableData
=
e
.
response
})).
catch
((
function
(
e
){
t
.
globalMessage
(
"
error
"
,
e
)})).
finally
((
function
(){
t
.
loading1
=!
1
}))},
globalMessage
:
function
(
t
,
e
){
var
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
3
,
a
=!
(
arguments
.
length
>
3
&&
void
0
!==
arguments
[
3
])
||
arguments
[
3
];
this
.
$Message
[
t
]({
type
:
t
,
content
:
e
,
duration
:
n
,
background
:
a
})}}},
D
=
P
,
N
=
Object
(
h
[
"
a
"
])(
D
,
j
,
G
,
!
1
,
null
,
"
eda4cfd8
"
,
null
),
W
=
N
.
exports
,
H
=
{
components
:{
watchType
:
g
,
MessageConfig
:
O
,
Campus
:
k
,
WatchHour
:
V
,
Attendance
:
W
},
data
:
function
(){
return
{
watchHourTimeList
:[],
showComponent
:{
type
:
!
0
,
time
:
!
1
,
campus
:
!
1
,
info
:
!
1
,
attendance
:
!
1
},
buttonSize
:
""
,
searchValue
:
""
,
loading
:
!
0
,
modal
:
!
1
,
formTop
:{
input1
:
""
,
input2
:
""
,
input3
:
""
,
type
:
""
,
flag
:
!
1
,
searchFlag
:
!
1
,
timeName1
:
""
}}},
computed
:{
ModalTitleValue
:
function
(){
return
!
0
===
this
.
showComponent
.
type
?
"
增添值班类型
"
:
!
0
===
this
.
showComponent
.
info
?
"
配置消息提醒
"
:
!
0
===
this
.
showComponent
.
time
?
"
增添值班时间
"
:
"
增添校区
"
},
ModalInputLabelValue
:
function
(){
var
t
=
[
"
权限名称
"
,
"
权限备注
"
],
e
=
[
"
校区名称
"
],
n
=
[
"
校区名称
"
],
a
=
[
"
校区名称
"
];
return
!
0
===
this
.
showComponent
.
type
?
t
:
!
0
===
this
.
showComponent
.
campus
?
e
:
!
0
===
this
.
showComponent
.
time
?
a
:
n
}},
watch
:{
buttonSize
:
function
(
t
,
e
){
console
.
info
(
"
🚀🚀🚀,
"
,
t
),
this
.
columnButtonState
(
t
)}},
methods
:{
selectTileValue
:
function
(
t
){
this
.
formTop
.
input1
=
t
[
0
],
this
.
formTop
.
input2
=
t
[
1
]},
searchEvent
:
function
(){
this
.
formTop
.
searchFlag
=!
0
},
cancelModal
:
function
(
t
){
this
.
spinShow
=
t
,
this
.
modal
=
t
,
this
.
formTop
.
searchFlag
=
t
,
this
.
formTop
.
flag
=
t
},
addWatchType
:
function
(){
this
.
modal
=!
0
},
addAttendance
:
function
(){
this
.
$refs
.
attendance
.
isEdit
=!
1
,
this
.
$refs
.
attendance
.
editModalShow
=!
0
},
modalOk
:
function
(){
this
.
formTop
.
flag
=!
0
},
columnButtonState
:
function
(
t
){
switch
(
t
){
case
"
type
"
:
this
.
showComponent
.
type
=!
0
,
this
.
showComponent
.
info
=!
1
,
this
.
showComponent
.
time
=!
1
,
this
.
showComponent
.
campus
=!
1
,
this
.
showComponent
.
attendance
=!
1
,
this
.
searchValue
=
""
,
this
.
formTop
.
input1
=
""
,
this
.
formTop
.
input2
=
""
,
this
.
formTop
.
input3
=
""
,
this
.
formTop
.
type
=
""
,
this
.
formTop
.
timeName1
=
""
;
break
;
case
"
info
"
:
this
.
showComponent
.
type
=!
1
,
this
.
showComponent
.
info
=!
0
,
this
.
showComponent
.
time
=!
1
,
this
.
showComponent
.
campus
=!
1
,
this
.
showComponent
.
attendance
=!
1
,
this
.
searchValue
=
""
,
this
.
formTop
.
input1
=
""
,
this
.
formTop
.
input2
=
""
,
this
.
formTop
.
input3
=
""
,
this
.
formTop
.
type
=
""
,
this
.
formTop
.
timeName1
=
""
;
break
;
case
"
time
"
:
this
.
showComponent
.
type
=!
1
,
this
.
showComponent
.
info
=!
1
,
this
.
showComponent
.
time
=!
0
,
this
.
showComponent
.
campus
=!
1
,
this
.
showComponent
.
attendance
=!
1
,
this
.
searchValue
=
""
,
this
.
formTop
.
input1
=
""
,
this
.
formTop
.
input2
=
""
,
this
.
formTop
.
input3
=
""
,
this
.
formTop
.
type
=
""
,
this
.
formTop
.
timeName1
=
""
;
break
;
case
"
campus
"
:
this
.
showComponent
.
type
=!
1
,
this
.
showComponent
.
info
=!
1
,
this
.
showComponent
.
time
=!
1
,
this
.
showComponent
.
campus
=!
0
,
this
.
showComponent
.
attendance
=!
1
,
this
.
searchValue
=
""
,
this
.
formTop
.
input1
=
""
,
this
.
formTop
.
input2
=
""
,
this
.
formTop
.
input3
=
""
,
this
.
formTop
.
type
=
""
,
this
.
formTop
.
timeName1
=
""
;
break
;
case
"
attendance
"
:
this
.
showComponent
.
type
=!
1
,
this
.
showComponent
.
info
=!
1
,
this
.
showComponent
.
time
=!
1
,
this
.
showComponent
.
campus
=!
1
,
this
.
showComponent
.
attendance
=!
0
,
this
.
searchValue
=
""
,
this
.
formTop
.
input1
=
""
,
this
.
formTop
.
input2
=
""
,
this
.
formTop
.
input3
=
""
,
this
.
formTop
.
type
=
""
,
this
.
formTop
.
timeName1
=
""
;
break
}}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
var
t
=
this
;
i
[
"
u
"
]().
then
((
function
(
e
){
t
.
watchHourTimeList
=
e
.
response
}))},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}},
R
=
H
,
A
=
Object
(
h
[
"
a
"
])(
R
,
a
,
o
,
!
1
,
null
,
"
16c9f476
"
,
null
);
e
[
"
default
"
]
=
A
.
exports
}}]);
\ No newline at end of file
src/layouts/basic-layout/menu-side/index.vue
浏览文件 @
58360a8f
...
...
@@ -43,7 +43,6 @@
import
iMenuSideSubmenu
from
'
./submenu
'
;
import
iMenuSideCollapse
from
'
./menu-collapse
'
;
import
tTitle
from
'
../mixins/translate-title
'
;
import
{
mapState
,
mapGetters
}
from
'
vuex
'
;
// 元素是否在可视区域
...
...
src/pages/systemConfiguration/initializationSettings.vue
浏览文件 @
58360a8f
...
...
@@ -12,20 +12,35 @@
<Radio
label=
"info"
>
消息提醒
</Radio>
<Radio
label=
"attendance"
>
考勤管理
</Radio>
</RadioGroup>
<div
style=
"display: flex;align-items: center;margin-left: 15px"
>
<h3>
系部干事换班:
</h3>
<Switch
size=
"large"
>
<template
#open
>
<span>
开启
</span>
</
template
>
<
template
#close
>
<span>
关闭
</span>
</
template
>
</Switch>
</div>
</div>
</template>
<
template
#extra
>
<div
style=
"display: flex;flex-wrap: nowrap;align-items: center; "
>
<Input
v-if=
"!showComponent.info && !showComponent.attendance"
v-model=
"searchValue"
placeholder=
"请输入权限名称进行查找..."
></Input>
<Button
v-if=
"!showComponent.info && !showComponent.attendance"
type=
"primary"
:disabled=
"searchValue === ''"
@
click=
"searchEvent"
<Input
v-if=
"!showComponent.info && !showComponent.attendance"
v-model=
"searchValue"
placeholder=
"请输入权限名称进行查找..."
></Input>
<Button
v-if=
"!showComponent.info && !showComponent.attendance"
type=
"primary"
:disabled=
"searchValue === ''"
@
click=
"searchEvent"
style=
"margin-left: 10px;"
>
查找
</Button>
<Button
v-if=
"!showComponent.info && !showComponent.attendance"
type=
"primary"
@
click=
"addWatchType"
style=
"margin-left: 10px;"
>
<Button
v-if=
"!showComponent.info && !showComponent.attendance"
type=
"primary"
@
click=
"addWatchType"
style=
"margin-left: 10px;"
>
{{
ModalTitleValue
}}
</Button>
<Button
v-if=
"showComponent.attendance"
type=
"primary"
@
click=
"addAttendance"
>
添加考勤范围
</Button>
</div>
</
template
>
<watchType
v-if=
"showComponent.type"
:input=
"formTop"
@
cancelModal=
"cancelModal"
...
...
@@ -36,6 +51,7 @@
<WatchHour
v-if=
"showComponent.time"
:input=
"formTop"
@
cancelModal=
"cancelModal"
:searchValue=
"searchValue"
></WatchHour>
<Attendance
v-if=
"showComponent.attendance"
ref=
"attendance"
></Attendance>
<!-- <Table :columns="columns" :data="data">-->
<!-- <template #action="{row}">-->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录