Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
日
日程管理
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
日程管理
提交
8db1868d
提交
8db1868d
编写于
8月 28, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
V20240820 保存
上级
bd179aa2
变更
35
展开全部
显示空白字符变更
内嵌
并排
正在显示
35 个修改的文件
包含
275 行增加
和
66 行删除
+275
-66
dist.zip
dist.zip
+0
-0
chunk-0232b414.4ba7b626.css
dist/css/chunk-0232b414.4ba7b626.css
+0
-0
chunk-2607fcdd.674bcdc4.css
dist/css/chunk-2607fcdd.674bcdc4.css
+0
-1
chunk-580b4a06.262f7476.css
dist/css/chunk-580b4a06.262f7476.css
+1
-0
chunk-a550fabc.bea643fc.css
dist/css/chunk-a550fabc.bea643fc.css
+1
-0
index.html
dist/index.html
+1
-1
app.edf0ed4d.js
dist/js/app.edf0ed4d.js
+15
-0
chunk-0232b414.9678d7dc.js
dist/js/chunk-0232b414.9678d7dc.js
+1
-0
chunk-041c3a25.1ab44b2d.js
dist/js/chunk-041c3a25.1ab44b2d.js
+0
-18
chunk-2607fcdd.6f6d06fb.js
dist/js/chunk-2607fcdd.6f6d06fb.js
+0
-1
chunk-2d21d0b3.a298bc24.js
dist/js/chunk-2d21d0b3.a298bc24.js
+0
-1
chunk-2d21d0b3.f7ffa864.js
dist/js/chunk-2d21d0b3.f7ffa864.js
+1
-0
chunk-580b4a06.321175d7.js
dist/js/chunk-580b4a06.321175d7.js
+1
-0
chunk-59309fa8.fc94681a.js
dist/js/chunk-59309fa8.fc94681a.js
+0
-0
chunk-82daf772.375c3228.js
dist/js/chunk-82daf772.375c3228.js
+0
-0
chunk-a550fabc.c39205a9.js
dist/js/chunk-a550fabc.c39205a9.js
+1
-0
chunk-d28d77d2.49b82785.js
dist/js/chunk-d28d77d2.49b82785.js
+18
-0
chunk-e9ce1a96.5a55df5f.js
dist/js/chunk-e9ce1a96.5a55df5f.js
+0
-1
getApiDutyRecordDutyRecordAllExportByAdmin.d.ts
...utyRecord/getApiDutyRecordDutyRecordAllExportByAdmin.d.ts
+10
-0
getApiDutyRecordDutyRecordAllExportByAdmin.js
.../DutyRecord/getApiDutyRecordDutyRecordAllExportByAdmin.js
+15
-0
getApiDutyRecordGetLogRecordBacklogList.d.ts
...r/DutyRecord/getApiDutyRecordGetLogRecordBacklogList.d.ts
+1
-0
getApiDutyRecordGetLogRecordInfoByDate.d.ts
...er/DutyRecord/getApiDutyRecordGetLogRecordInfoByDate.d.ts
+49
-0
getApiDutyRecordGetLogRecordInfoByDate.js
...ller/DutyRecord/getApiDutyRecordGetLogRecordInfoByDate.js
+14
-0
getApiDutyRecordGetLogRecordRepairList.d.ts
...er/DutyRecord/getApiDutyRecordGetLogRecordRepairList.d.ts
+1
-0
getApiDutyRecordGetSubordinateLogRecordList.d.ts
...tyRecord/getApiDutyRecordGetSubordinateLogRecordList.d.ts
+1
-0
index.d.ts
src/api/controller/DutyRecord/index.d.ts
+2
-0
index.js
src/api/controller/DutyRecord/index.js
+2
-0
postApiDutyRecordGetMyDutyRecordListNew.d.ts
...r/DutyRecord/postApiDutyRecordGetMyDutyRecordListNew.d.ts
+1
-0
AddDutyTypeRequest.d.ts
src/api/interface/apiTypes/AddDutyTypeRequest.d.ts
+1
-0
DutyLogWxNewResponse.d.ts
src/api/interface/apiTypes/DutyLogWxNewResponse.d.ts
+2
-0
DutySelfWxNewResponse.d.ts
src/api/interface/apiTypes/DutySelfWxNewResponse.d.ts
+2
-0
SubordinateRecordResponse.d.ts
src/api/interface/apiTypes/SubordinateRecordResponse.d.ts
+2
-0
index.js
src/hook/index.js
+18
-0
index.vue
src/pages/account/sso/index.vue
+1
-1
index.vue
src/pages/arrangement/index.vue
+113
-42
未找到文件。
dist.zip
0 → 100644
浏览文件 @
8db1868d
文件已添加
dist/css/chunk-0
41c3a25
.4ba7b626.css
→
dist/css/chunk-0
232b414
.4ba7b626.css
浏览文件 @
8db1868d
文件已移动
dist/css/chunk-2607fcdd.674bcdc4.css
已删除
100644 → 0
浏览文件 @
bd179aa2
.demo-spin-container
[
data-v-7a6ef363
]
{
display
:
inline-block
;
width
:
100%
;
height
:
100%
;
position
:
relative
;
border
:
1px
solid
#eee
}
\ No newline at end of file
dist/css/chunk-
e9ce1a96.1f2b61df
.css
→
dist/css/chunk-
580b4a06.262f7476
.css
浏览文件 @
8db1868d
.index
[
data-v-2d07ffaa
]
{
width
:
100%
;
box-sizing
:
border-box
;
padding
:
10px
;
background-color
:
#fff
}
table
[
data-v-2d07ffaa
]
{
width
:
100%
;
background-color
:
#fff
;
border-color
:
#e3e8ee
;
text-align
:
center
;
border-radius
:
4px
;
border-top
:
1px
solid
#e3e8ee
;
border-left
:
1px
solid
#e3e8ee
}
tr
[
data-v-2d07ffaa
]
{
border
:
none
;
text-align
:
center
}
td
[
data-v-2d07ffaa
]
{
border-bottom
:
1px
solid
#e3e8ee
;
border-right
:
1px
solid
#e3e8ee
;
text-align
:
center
;
box-sizing
:
border-box
;
padding
:
6px
;
cursor
:
pointer
;
max-width
:
150px
}
td
[
data-v-2d07ffaa
]
:hover
{
background
:
#e7f7f4
}
td
:hover
.dis
[
data-v-2d07ffaa
]
{
display
:
block
;
text-align
:
center
;
margin
:
0
auto
;
cursor
:
pointer
}
tr
[
data-v-2d07ffaa
]
:first-child
{
height
:
30px
;
background-color
:
#f3f3f3
;
border
:
none
;
color
:
#525252
;
font-weight
:
700
;
width
:
50px
}
.sepacialy
[
data-v-2d07ffaa
]
{
border-top
:
1px
solid
#e3e8ee
;
border-left
:
1px
solid
#e3e8ee
}
.table-heard
[
data-v-2d07ffaa
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin-bottom
:
10px
;
box-sizing
:
border-box
;
padding
:
10px
10px
}
.table-heard
.center
[
data-v-2d07ffaa
]
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
}
.table-heard
.center
p
[
data-v-2d07ffaa
]
{
font-size
:
20px
;
margin
:
0
30px
}
.course-item
[
data-v-2d07ffaa
]
{
display
:
flex
;
justify-content
:
center
;
flex-direction
:
column
;
gap
:
6px
;
align-items
:
center
;
min-height
:
80px
;
border-radius
:
4px
;
box-sizing
:
border-box
;
padding
:
10px
0
}
.course-item
p
[
data-v-2d07ffaa
]
{
color
:
#3a3a3a
}
.time
[
data-v-2d07ffaa
]
{
background
:
#f7f7f7
;
color
:
#707070
;
font-weight
:
700
}
\ No newline at end of file
.index
[
data-v-ea8cc90e
]
{
width
:
100%
;
box-sizing
:
border-box
;
padding
:
10px
;
background-color
:
#fff
}
table
[
data-v-ea8cc90e
]
{
width
:
100%
;
background-color
:
#fff
;
border-color
:
#e3e8ee
;
text-align
:
center
;
border-radius
:
4px
;
border-top
:
1px
solid
#e3e8ee
;
border-left
:
1px
solid
#e3e8ee
}
tr
[
data-v-ea8cc90e
]
{
border
:
none
;
text-align
:
center
}
td
[
data-v-ea8cc90e
]
{
border-bottom
:
1px
solid
#e3e8ee
;
border-right
:
1px
solid
#e3e8ee
;
text-align
:
center
;
box-sizing
:
border-box
;
padding
:
6px
;
cursor
:
pointer
;
max-width
:
150px
}
td
[
data-v-ea8cc90e
]
:hover
{
background
:
#e7f7f4
}
td
:hover
.dis
[
data-v-ea8cc90e
]
{
display
:
block
;
text-align
:
center
;
margin
:
0
auto
;
cursor
:
pointer
}
tr
[
data-v-ea8cc90e
]
:first-child
{
height
:
30px
;
background-color
:
#f3f3f3
;
border
:
none
;
color
:
#525252
;
font-weight
:
700
;
width
:
50px
}
.sepacialy
[
data-v-ea8cc90e
]
{
border-top
:
1px
solid
#e3e8ee
;
border-left
:
1px
solid
#e3e8ee
}
.table-heard
[
data-v-ea8cc90e
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin-bottom
:
10px
;
box-sizing
:
border-box
;
padding
:
10px
10px
}
.table-heard
.center
[
data-v-ea8cc90e
]
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
}
.table-heard
.center
p
[
data-v-ea8cc90e
]
{
font-size
:
20px
;
margin
:
0
30px
}
.course-item
[
data-v-ea8cc90e
]
{
display
:
flex
;
justify-content
:
center
;
flex-direction
:
column
;
gap
:
6px
;
align-items
:
center
;
min-height
:
80px
;
border-radius
:
4px
;
box-sizing
:
border-box
;
padding
:
10px
0
}
.course-item
p
[
data-v-ea8cc90e
]
{
color
:
#3a3a3a
}
.time
[
data-v-ea8cc90e
]
{
background
:
#f7f7f7
;
color
:
#707070
;
font-weight
:
700
}
\ No newline at end of file
dist/css/chunk-a550fabc.bea643fc.css
0 → 100644
浏览文件 @
8db1868d
.demo-spin-container
[
data-v-3b6bb7c6
]
{
display
:
inline-block
;
width
:
100%
;
height
:
100%
;
position
:
relative
;
border
:
1px
solid
#eee
}
\ No newline at end of file
dist/index.html
浏览文件 @
8db1868d
<!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"
><title>
值班管理
</title><link
href=
css/chunk-vendors.cc1990b1.css
rel=
stylesheet
><link
href=
css/app.a786022a.css
rel=
stylesheet
></head><body><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 值班管理。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.9ae50470.js
></script><script
src=
js/app.56a8bec2.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"
><title>
值班管理
</title><link
href=
css/chunk-vendors.cc1990b1.css
rel=
stylesheet
><link
href=
css/app.a786022a.css
rel=
stylesheet
></head><body><script
src=
/a/manager/identify/identify.js
></script><noscript><strong>
请开启 JavaScript 功能来使用 值班管理。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.9ae50470.js
></script><script
src=
js/app.edf0ed4d.js
></script></body></html>
\ No newline at end of file
dist/js/app.
56a8bec2
.js
→
dist/js/app.
edf0ed4d
.js
浏览文件 @
8db1868d
此差异已折叠。
点击以展开。
dist/js/chunk-0232b414.9678d7dc.js
0 → 100644
浏览文件 @
8db1868d
此差异已折叠。
点击以展开。
dist/js/chunk-041c3a25.1ab44b2d.js
已删除
100644 → 0
浏览文件 @
bd179aa2
此差异已折叠。
点击以展开。
dist/js/chunk-2607fcdd.6f6d06fb.js
已删除
100644 → 0
浏览文件 @
bd179aa2
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2607fcdd
"
],{
"
0cb6
"
:
function
(
e
,
t
,
r
){},
a697
:
function
(
e
,
t
,
r
){
"
use strict
"
;
r
.
r
(
t
);
var
c
=
function
(){
var
e
=
this
,
t
=
e
.
_self
.
_c
;
return
t
(
"
div
"
,{
staticClass
:
"
demo-spin-container
"
},[
t
(
"
Spin
"
,{
attrs
:{
fix
:
""
,
size
:
"
large
"
}})],
1
)},
n
=
[],
o
=
(
r
(
"
8e6e
"
),
r
(
"
ac6a
"
),
r
(
"
456d
"
),
r
(
"
ade3
"
)),
s
=
(
r
(
"
6762
"
),
r
(
"
2fdb
"
),
r
(
"
a481
"
),
r
(
"
d02c
"
)),
i
=
r
(
"
2f62
"
);
function
a
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
c
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
c
=
c
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
c
)}
return
r
}
function
u
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
a
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
a
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
var
p
=
{
created
:
function
(){
var
e
=
this
,
t
=
this
.
$route
.
query
.
token
;
"
test
"
===
t
?
this
.
testsso
(
"
syjs295
"
).
then
((
function
(){
e
.
$router
.
replace
(
e
.
$route
.
query
.
redirect
||
"
/
"
)})):
this
.
sso
(
t
).
then
((
function
(
t
){
s
[
"
g
"
]().
then
((
function
(
t
){
console
.
log
(
"
🚀🚀🚀,
"
,
t
.
role_capacity_list
),
t
.
role_capacity_list
.
includes
(
"
arrangement
"
)?
e
.
$router
.
replace
(
e
.
$route
.
query
.
redirect
||
"
/
"
):
e
.
$router
.
replace
(
"
dutychange
"
)}))}))},
methods
:
u
({},
Object
(
i
[
"
b
"
])(
"
admin/account
"
,[
"
sso
"
,
"
testsso
"
]))},
f
=
p
,
l
=
(
r
(
"
c87b
"
),
r
(
"
2877
"
)),
b
=
Object
(
l
[
"
a
"
])(
f
,
c
,
n
,
!
1
,
null
,
"
7a6ef363
"
,
null
);
t
[
"
default
"
]
=
b
.
exports
},
c87b
:
function
(
e
,
t
,
r
){
"
use strict
"
;
r
(
"
0cb6
"
)}}]);
\ No newline at end of file
dist/js/chunk-2d21d0b3.a298bc24.js
已删除
100644 → 0
浏览文件 @
bd179aa2
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2d21d0b3
"
],{
d02c
:
function
(
e
,
t
,
r
){
"
use strict
"
;
r
.
d
(
t
,
"
a
"
,(
function
(){
return
c
})),
r
.
d
(
t
,
"
b
"
,(
function
(){
return
p
})),
r
.
d
(
t
,
"
h
"
,(
function
(){
return
a
})),
r
.
d
(
t
,
"
i
"
,(
function
(){
return
f
})),
r
.
d
(
t
,
"
e
"
,(
function
(){
return
s
})),
r
.
d
(
t
,
"
d
"
,(
function
(){
return
g
})),
r
.
d
(
t
,
"
f
"
,(
function
(){
return
P
})),
r
.
d
(
t
,
"
c
"
,(
function
(){
return
v
})),
r
.
d
(
t
,
"
g
"
,(
function
(){
return
m
}));
var
n
=
r
(
"
b6bd
"
);
r
(
"
8e6e
"
),
r
(
"
ac6a
"
),
r
(
"
456d
"
);
var
o
=
r
(
"
ade3
"
);
function
c
(
e
){
return
n
[
"
a
"
].
get
(
"
/api/Common/GetFlowUrl
"
,
e
)}
r
(
"
7f7f
"
);
function
i
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
n
)}
return
r
}
function
u
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
i
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
i
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
function
p
(
e
,
t
){
var
r
=
{
parent_id
:
e
.
parent_id
};
return
n
[
"
a
"
].
get
(
"
/api/DutyClassify/GetDutyTypeIdAndCode
"
,
u
({
params
:
r
},
t
))}
function
a
(
e
,
t
){
return
n
[
"
a
"
].
post
(
"
/api/DutyConfig/AddDutyConfig
"
,
e
,
t
)}
function
f
(
e
,
t
){
return
n
[
"
a
"
].
post
(
"
/api/DutyConfig/UpdateDutyConfig
"
,
e
,
t
)}
function
O
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
n
)}
return
r
}
function
b
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
O
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
O
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
function
s
(
e
,
t
){
var
r
=
{
id
:
e
.
id
,
name
:
e
.
name
,
page_index
:
e
.
page_index
,
page_size
:
e
.
page_size
};
return
n
[
"
a
"
].
get
(
"
/api/DutyConfig/GetDutyTypeList
"
,
b
({
params
:
r
},
t
))}
function
y
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
n
)}
return
r
}
function
j
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
y
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
y
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
function
g
(
e
,
t
){
var
r
=
{
id
:
e
.
id
};
return
n
[
"
a
"
].
get
(
"
/api/DutyConfig/GetDutyConfigDetail
"
,
j
({
params
:
r
},
t
))}
function
d
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
n
)}
return
r
}
function
l
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
d
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
d
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
function
P
(
e
,
t
){
var
r
=
{
id
:
e
.
id
,
is_enable
:
e
.
is_enable
};
return
n
[
"
a
"
].
get
(
"
/api/DutyConfig/ModifyDutyConfigStatus
"
,
l
({
params
:
r
},
t
))}
function
w
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
n
)}
return
r
}
function
D
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
w
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
w
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
function
v
(
e
,
t
){
var
r
=
{
id
:
e
.
id
};
return
n
[
"
a
"
].
get
(
"
/api/DutyConfig/DeleteDutyConfig
"
,
D
({
params
:
r
},
t
))}
function
m
(
e
){
return
n
[
"
a
"
].
get
(
"
/api/GetTokenInfo
"
,
e
)}}}]);
\ No newline at end of file
dist/js/chunk-2d21d0b3.f7ffa864.js
0 → 100644
浏览文件 @
8db1868d
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2d21d0b3
"
],{
d02c
:
function
(
e
,
t
,
r
){
"
use strict
"
;
r
.
d
(
t
,
"
a
"
,(
function
(){
return
c
})),
r
.
d
(
t
,
"
b
"
,(
function
(){
return
p
})),
r
.
d
(
t
,
"
i
"
,(
function
(){
return
a
})),
r
.
d
(
t
,
"
j
"
,(
function
(){
return
f
})),
r
.
d
(
t
,
"
e
"
,(
function
(){
return
s
})),
r
.
d
(
t
,
"
d
"
,(
function
(){
return
g
})),
r
.
d
(
t
,
"
f
"
,(
function
(){
return
P
})),
r
.
d
(
t
,
"
c
"
,(
function
(){
return
m
})),
r
.
d
(
t
,
"
g
"
,(
function
(){
return
C
})),
r
.
d
(
t
,
"
h
"
,(
function
(){
return
E
}));
var
n
=
r
(
"
b6bd
"
);
r
(
"
8e6e
"
),
r
(
"
ac6a
"
),
r
(
"
456d
"
);
var
o
=
r
(
"
ade3
"
);
function
c
(
e
){
return
n
[
"
a
"
].
get
(
"
/api/Common/GetFlowUrl
"
,
e
)}
r
(
"
7f7f
"
);
function
i
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
n
)}
return
r
}
function
u
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
i
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
i
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
function
p
(
e
,
t
){
var
r
=
{
parent_id
:
e
.
parent_id
};
return
n
[
"
a
"
].
get
(
"
/api/DutyClassify/GetDutyTypeIdAndCode
"
,
u
({
params
:
r
},
t
))}
function
a
(
e
,
t
){
return
n
[
"
a
"
].
post
(
"
/api/DutyConfig/AddDutyConfig
"
,
e
,
t
)}
function
f
(
e
,
t
){
return
n
[
"
a
"
].
post
(
"
/api/DutyConfig/UpdateDutyConfig
"
,
e
,
t
)}
function
O
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
n
)}
return
r
}
function
b
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
O
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
O
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
function
s
(
e
,
t
){
var
r
=
{
id
:
e
.
id
,
name
:
e
.
name
,
page_index
:
e
.
page_index
,
page_size
:
e
.
page_size
};
return
n
[
"
a
"
].
get
(
"
/api/DutyConfig/GetDutyTypeList
"
,
b
({
params
:
r
},
t
))}
function
y
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
n
)}
return
r
}
function
j
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
y
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
y
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
function
g
(
e
,
t
){
var
r
=
{
id
:
e
.
id
};
return
n
[
"
a
"
].
get
(
"
/api/DutyConfig/GetDutyConfigDetail
"
,
j
({
params
:
r
},
t
))}
function
d
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
n
)}
return
r
}
function
l
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
d
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
d
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
function
P
(
e
,
t
){
var
r
=
{
id
:
e
.
id
,
is_enable
:
e
.
is_enable
};
return
n
[
"
a
"
].
get
(
"
/api/DutyConfig/ModifyDutyConfigStatus
"
,
l
({
params
:
r
},
t
))}
function
w
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
n
)}
return
r
}
function
D
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
w
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
w
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
function
m
(
e
,
t
){
var
r
=
{
id
:
e
.
id
};
return
n
[
"
a
"
].
get
(
"
/api/DutyConfig/DeleteDutyConfig
"
,
D
({
params
:
r
},
t
))}
function
v
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
n
)}
return
r
}
function
h
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
v
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
v
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
function
C
(
e
,
t
){
var
r
=
{
begin_time
:
e
.
begin_time
,
end_time
:
e
.
end_time
};
return
n
[
"
a
"
].
get
(
"
/api/DutyRecord/DutyRecordALLExportByAdmin
"
,
h
({
params
:
r
},
t
))}
function
E
(
e
){
return
n
[
"
a
"
].
get
(
"
/api/GetTokenInfo
"
,
e
)}}}]);
\ No newline at end of file
dist/js/chunk-580b4a06.321175d7.js
0 → 100644
浏览文件 @
8db1868d
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-580b4a06
"
],{
1010
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
fc31
"
)},
ba6e
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
a
(
"
7f7f
"
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
_self
.
_c
;
return
e
(
"
div
"
,{
staticClass
:
"
ele-body
"
},[
e
(
"
Card
"
,{
ref
:
"
card
"
,
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
}},[
t
.
loading
?
e
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
t
.
_e
(),
e
(
"
div
"
,{
staticClass
:
"
table-heard
"
},[
e
(
"
div
"
,[
e
(
"
Tag
"
,{
attrs
:{
size
:
"
large
"
}},[
t
.
_v
(
t
.
_s
(
this
.
currentWeekRange
[
0
]
+
"
至
"
+
this
.
currentWeekRange
[
1
])
+
"
\n
"
)]),
e
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
function
(
e
){
t
.
importDuty
.
show
=!
0
}}},[
t
.
_v
(
"
导出值班
"
)])],
1
),
e
(
"
div
"
,{
staticClass
:
"
center
"
},[
e
(
"
Button
"
,{
attrs
:{
size
:
"
default
"
},
on
:{
click
:
t
.
weekPre
}},[
e
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-arrow-back
"
}}),
t
.
_v
(
"
\n
上一周
\n
"
)],
1
),
e
(
"
p
"
,[
t
.
_v
(
t
.
_s
(
t
.
currentYear
)
+
"
年
"
+
t
.
_s
(
t
.
currentMonth
)
+
"
月
"
)]),
e
(
"
Button
"
,{
attrs
:{
size
:
"
default
"
},
on
:{
click
:
t
.
weekNext
}},[
t
.
_v
(
"
下一周
\n
"
),
e
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-arrow-forward
"
}})],
1
)],
1
),
e
(
"
div
"
)]),
e
(
"
table
"
,{
attrs
:{
align
:
"
center
"
,
cellpadding
:
"
0
"
,
cellspacing
:
"
0
"
}},[
e
(
"
tr
"
,{
staticClass
:
"
sepacialy
"
},[
e
(
"
td
"
),
t
.
_l
(
t
.
weekGround
,(
function
(
a
,
n
){
return
e
(
"
td
"
,{
key
:
n
},[
t
.
_v
(
t
.
_s
(
a
))])}))],
2
),
t
.
_l
(
t
.
timeGround
,(
function
(
a
,
n
){
return
e
(
"
tr
"
,{
key
:
n
},[
e
(
"
td
"
,{
staticClass
:
"
time
"
},[
t
.
_v
(
t
.
_s
(
a
.
typeName
))]),
t
.
_l
(
t
.
weekGround
,(
function
(
a
,
i
){
return
e
(
"
td
"
,{
key
:
i
,
attrs
:{
align
:
"
center
"
,
valign
:
"
middle
"
}},
t
.
_l
(
t
.
course
[
i
].
dutydatas
,(
function
(
a
,
o
){
return
e
(
"
div
"
,{
key
:
o
,
on
:{
click
:
function
(
e
){
return
t
.
clickCell
(
a
,
t
.
course
[
i
].
date
)}}},[
a
.
duty_type_id
===
t
.
timeGround
[
n
].
id
?
e
(
"
div
"
,{
staticClass
:
"
course-item
"
},[
e
(
"
p
"
,[
a
.
duty_daytime_people
?
e
(
"
Tag
"
,{
staticStyle
:{
height
:
"
auto
"
},
attrs
:{
color
:
"
blue
"
},
nativeOn
:{
click
:
function
(
e
){
return
t
.
clickCell
(
a
,
t
.
course
[
i
].
date
)}}},[
t
.
_v
(
"
\n
白天:
"
+
t
.
_s
(
a
.
duty_daytime_people
)
+
"
\n
"
)]):
t
.
_e
()],
1
),
e
(
"
p
"
,[
a
.
duty_night_people
?
e
(
"
Tag
"
,{
staticStyle
:{
height
:
"
auto
"
},
attrs
:{
color
:
"
red
"
},
nativeOn
:{
click
:
function
(
e
){
return
t
.
clickCell
(
a
,
t
.
course
[
i
].
date
)}}},[
t
.
_v
(
"
\n
晚上:
"
+
t
.
_s
(
a
.
duty_night_people
)
+
"
\n
"
)]):
t
.
_e
()],
1
)]):
t
.
_e
()])})),
0
)}))],
2
)}))],
2
)],
1
),
e
(
"
Modal
"
,{
staticClass
:
"
add-modal
"
,
attrs
:{
loading
:
t
.
modalLoading
,
title
:
"
值班安排
"
,
width
:
"
50%
"
},
on
:{
"
on-ok
"
:
t
.
handleConfirm
,
"
on-cancel
"
:
t
.
handleClose
},
model
:{
value
:
t
.
showModal
,
callback
:
function
(
e
){
t
.
showModal
=
e
},
expression
:
"
showModal
"
}},[
e
(
"
Form
"
,{
ref
:
"
form
"
,
attrs
:{
"
label-width
"
:
150
,
model
:
t
.
formData
,
rules
:
t
.
formRule
}},[
e
(
"
FormItem
"
,{
attrs
:{
label
:
"
分类名称
"
}},[
e
(
"
Input
"
,{
attrs
:{
disabled
:
""
},
model
:{
value
:
t
.
selectItem
.
duty_type_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
selectItem
,
"
duty_type_name
"
,
e
)},
expression
:
"
selectItem.duty_type_name
"
}})],
1
),
e
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班日期
"
}},[
e
(
"
Input
"
,{
attrs
:{
disabled
:
""
},
model
:{
value
:
t
.
selectDate
,
callback
:
function
(
e
){
t
.
selectDate
=
e
},
expression
:
"
selectDate
"
}})],
1
),
e
(
"
FormItem
"
,{
attrs
:{
label
:
"
白天值班人员
"
}},[
e
(
"
Select
"
,{
attrs
:{
filterable
:
""
,
multiple
:
""
},
model
:{
value
:
t
.
duty_daytime_people_id
,
callback
:
function
(
e
){
t
.
duty_daytime_people_id
=
e
},
expression
:
"
duty_daytime_people_id
"
}},
t
.
_l
(
t
.
peopleOption
,(
function
(
a
){
return
e
(
"
Option
"
,{
key
:
a
.
id
,
attrs
:{
label
:
a
.
name
,
value
:
a
.
id
}},[
e
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
}},[
e
(
"
p
"
,[
t
.
_v
(
t
.
_s
(
a
.
name
)
+
"
\n
"
),
e
(
"
span
"
,{
staticStyle
:{
color
:
"
#9a9a9a
"
}},[
t
.
_v
(
"
(
"
+
t
.
_s
(
a
.
card
)
+
"
)
"
)])]),
e
(
"
p
"
,{
staticStyle
:{
color
:
"
#ccc
"
}},[
t
.
_v
(
t
.
_s
(
a
.
dept_name
))])])])})),
1
)],
1
),
e
(
"
FormItem
"
,{
attrs
:{
label
:
"
晚上值班人员
"
}},[
e
(
"
Select
"
,{
attrs
:{
filterable
:
""
,
multiple
:
""
},
model
:{
value
:
t
.
duty_night_people_id
,
callback
:
function
(
e
){
t
.
duty_night_people_id
=
e
},
expression
:
"
duty_night_people_id
"
}},
t
.
_l
(
t
.
peopleOption
,(
function
(
a
){
return
e
(
"
Option
"
,{
key
:
a
.
id
,
attrs
:{
label
:
a
.
name
,
value
:
a
.
id
}},[
e
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
}},[
e
(
"
p
"
,[
t
.
_v
(
t
.
_s
(
a
.
name
)
+
"
\n
"
),
e
(
"
span
"
,{
staticStyle
:{
color
:
"
#9a9a9a
"
}},[
t
.
_v
(
"
(
"
+
t
.
_s
(
a
.
card
)
+
"
)
"
)])]),
e
(
"
p
"
,{
staticStyle
:{
color
:
"
#ccc
"
}},[
t
.
_v
(
t
.
_s
(
a
.
dept_name
))])])])})),
1
)],
1
)],
1
)],
1
),
e
(
"
Modal
"
,{
attrs
:{
width
:
"
460
"
},
scopedSlots
:
t
.
_u
([{
key
:
"
header
"
,
fn
:
function
(){
return
[
e
(
"
p
"
,{
staticStyle
:{
color
:
"
#2D8CF0
"
,
"
text-align
"
:
"
center
"
}},[
e
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-information-circle
"
}}),
e
(
"
span
"
,[
t
.
_v
(
"
值班附件导出
"
)])],
1
)]},
proxy
:
!
0
},{
key
:
"
footer
"
,
fn
:
function
(){
return
[
e
(
"
Button
"
,{
attrs
:{
type
:
"
primary
"
,
size
:
"
large
"
,
loading
:
t
.
importDuty
.
loading
,
long
:
""
},
on
:{
click
:
t
.
importDutyFun
}},[
t
.
_v
(
"
附件导出
"
)])]},
proxy
:
!
0
}]),
model
:{
value
:
t
.
importDuty
.
show
,
callback
:
function
(
e
){
t
.
$set
(
t
.
importDuty
,
"
show
"
,
e
)},
expression
:
"
importDuty.show
"
}},[
e
(
"
div
"
,{
staticStyle
:{
"
text-align
"
:
"
center
"
}},[
e
(
"
Form
"
,{
attrs
:{
"
label-width
"
:
80
}},[
e
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班日期
"
,
prop
:
"
user
"
}},[
e
(
"
DatePicker
"
,{
staticStyle
:{
width
:
"
100%
"
},
attrs
:{
type
:
"
daterange
"
,
placement
:
"
bottom-end
"
,
placeholder
:
"
请选择值班日期
"
},
model
:{
value
:
t
.
importDuty
.
date
,
callback
:
function
(
e
){
t
.
$set
(
t
.
importDuty
,
"
date
"
,
e
)},
expression
:
"
importDuty.date
"
}})],
1
)],
1
)],
1
)])],
1
)},
i
=
[],
o
=
(
a
(
"
ac6a
"
),
a
(
"
e191
"
)),
r
=
a
(
"
61be
"
),
s
=
a
(
"
d02c
"
),
c
=
a
(
"
5a0c
"
),
l
=
a
.
n
(
c
),
d
=
{
props
:{},
data
:
function
(){
return
{
importDuty
:{
loading
:
!
1
,
show
:
!
1
,
date
:[
l
()().
format
(
"
YYYY-MM-DD
"
),
l
()().
format
(
"
YYYY-MM-DD
"
)],
formData
:{
begin_time
:
""
,
end_time
:
""
}},
weekGround
:[
"
周一
"
,
"
周二
"
,
"
周三
"
,
"
周四
"
,
"
周五
"
,
"
周六
"
,
"
周日
"
],
course
:[],
timeGround
:[],
currentYear
:
""
,
currentMonth
:
""
,
currentDay
:
""
,
currentWeek
:
""
,
days
:[],
currentWeekRange
:[],
defalultWeekGround
:[
"
周一
"
,
"
周二
"
,
"
周三
"
,
"
周四
"
,
"
周五
"
,
"
周六
"
,
"
周日
"
],
coachColorMap
:{
"
张三
"
:
"
#2B2E4A
"
,
"
李四
"
:
"
#521262
"
,
"
王五
"
:
"
#903749
"
},
loading
:
!
1
,
showModal
:
!
1
,
selectDate
:
""
,
selectItem
:
""
,
formData
:{},
formRule
:{},
peopleOption
:[],
duty_daytime_people_id
:[],
duty_night_people_id
:[],
modalLoading
:
!
0
}},
created
:
function
(){},
mounted
:
function
(){
this
.
initData
(),
this
.
GetPersonByCondiction
()},
methods
:{
importDutyFun
:
function
(){
var
t
=
this
;
return
this
.
importDuty
.
loading
=!
0
,
this
.
importDuty
.
formData
=
{
begin_time
:
l
()(
this
.
importDuty
.
date
[
0
]).
format
(
"
YYYY-MM-DD
"
),
end_time
:
l
()(
this
.
importDuty
.
date
[
1
]).
format
(
"
YYYY-MM-DD
"
)},
s
[
"
g
"
](
this
.
importDuty
.
formData
).
then
((
function
(
e
){
r
[
"
a
"
](
e
,
""
.
concat
(
t
.
importDuty
.
formData
.
begin_time
+
"
-
"
+
t
.
importDuty
.
formData
.
end_time
,
"
值班数据
"
)),
console
.
log
(
"
🚀🚀🚀,res
"
,
e
),
t
.
importDuty
.
loading
=!
1
})).
finally
((
function
(){
t
.
importDuty
.
loading
=!
1
}))},
getData
:
function
(){
var
t
=
this
,
e
=
{
begin
:
this
.
currentWeekRange
[
0
],
end
:
this
.
currentWeekRange
[
1
]};
this
.
loading
=!
0
,
Object
(
o
[
"
b
"
])(
e
).
then
((
function
(
e
){
t
.
loading
=!
1
,
t
.
timeGround
=
[],
t
.
course
=
e
,
t
.
course
[
0
].
dutydatas
.
forEach
((
function
(
e
){
t
.
timeGround
.
push
({
id
:
e
.
duty_type_id
,
typeName
:
e
.
duty_type_name
})}))}))},
formatDate
:
function
(
t
,
e
,
a
){
var
n
=
t
,
i
=
e
;
i
<
10
&&
(
i
=
"
0
"
.
concat
(
i
));
var
o
=
a
;
return
o
<
10
&&
(
o
=
"
0
"
.
concat
(
o
)),
""
.
concat
(
n
,
"
-
"
).
concat
(
i
,
"
-
"
).
concat
(
o
)},
initData
:
function
(
t
){
var
e
=
this
,
a
=
""
;
a
=
t
?
new
Date
(
t
):
new
Date
,
this
.
currentDay
=
a
.
getDate
(),
this
.
currentYear
=
a
.
getFullYear
(),
this
.
currentMonth
=
a
.
getMonth
()
+
1
,
this
.
currentWeek
=
a
.
getDay
(),
0
===
this
.
currentWeek
&&
(
this
.
currentWeek
=
7
);
var
n
=
this
.
formatDate
(
this
.
currentYear
,
this
.
currentMonth
,
this
.
currentDay
);
this
.
days
.
length
=
0
;
for
(
var
i
=
this
.
currentWeek
-
1
;
i
>=
0
;
i
-=
1
){
var
o
=
new
Date
(
n
);
o
.
setDate
(
o
.
getDate
()
-
i
),
this
.
days
.
push
(
o
)}
for
(
var
r
=
1
;
r
<=
7
-
this
.
currentWeek
;
r
+=
1
){
var
s
=
new
Date
(
n
);
s
.
setDate
(
s
.
getDate
()
+
r
),
this
.
days
.
push
(
s
)}
this
.
currentWeekRange
=
[
this
.
formatDate
(
this
.
days
[
0
].
getFullYear
(),
this
.
days
[
0
].
getMonth
()
+
1
,
this
.
days
[
0
].
getDate
()),
this
.
formatDate
(
this
.
days
[
6
].
getFullYear
(),
this
.
days
[
6
].
getMonth
()
+
1
,
this
.
days
[
6
].
getDate
())];
var
c
=
[];
this
.
days
.
forEach
((
function
(
t
){
c
.
push
(
""
.
concat
(
t
.
getMonth
()
+
1
,
"
/
"
).
concat
(
t
.
getDate
()))})),
this
.
defalultWeekGround
.
map
((
function
(
t
,
a
){
e
.
weekGround
[
a
]
=
t
+
"
(
"
.
concat
(
c
[
a
],
"
)
"
)})),
this
.
getData
()},
weekPre
:
function
(){
var
t
=
this
.
days
[
0
];
t
.
setDate
(
t
.
getDate
()
-
7
),
this
.
initData
(
t
)},
weekNext
:
function
(){
var
t
=
this
.
days
[
6
];
t
.
setDate
(
t
.
getDate
()
+
7
),
this
.
initData
(
t
)},
GetPersonByCondiction
:
function
(){
var
t
=
this
,
e
=
{
page_index
:
1
,
page_size
:
1
e4
};
Object
(
o
[
"
c
"
])(
e
).
then
((
function
(
e
){
t
.
peopleOption
=
e
.
data
}))},
clickCell
:
function
(
t
,
e
){
this
.
selectDate
=
e
,
this
.
selectItem
=
t
,
this
.
duty_daytime_people_id
=
t
.
duty_daytime_people_list
.
map
((
function
(
t
){
return
t
.
id
})),
this
.
duty_night_people_id
=
t
.
duty_night_people_list
.
map
((
function
(
t
){
return
t
.
id
})),
this
.
showModal
=!
0
},
handleConfirm
:
function
(){
var
t
=
this
,
e
=
{
duty_type_id
:
this
.
selectItem
.
duty_type_id
,
date
:
this
.
selectDate
,
record_id
:
this
.
selectItem
.
record_id
,
duty_daytime_people_id
:
this
.
duty_daytime_people_id
,
duty_night_people_id
:
this
.
duty_night_people_id
};
console
.
log
(
e
),
Object
(
o
[
"
a
"
])(
e
).
then
((
function
(
e
){
t
.
handleModalLoading
(),
t
.
showModal
=!
1
,
t
.
$Message
.
success
(
"
安排成功
"
),
t
.
duty_daytime_people_id
=
[],
t
.
duty_night_people_id
=
[],
t
.
getData
()})).
catch
((
function
(){
t
.
handleModalLoading
()}))},
handleModalLoading
:
function
(){
var
t
=
this
;
this
.
modalLoading
=!
1
,
this
.
$nextTick
((
function
(){
t
.
modalLoading
=!
0
}))},
handleClose
:
function
(){
this
.
duty_daytime_people_id
=
[],
this
.
duty_night_people_id
=
[]}},
computed
:{}},
u
=
d
,
p
=
(
a
(
"
1010
"
),
a
(
"
2877
"
)),
_
=
Object
(
p
[
"
a
"
])(
u
,
n
,
i
,
!
1
,
null
,
"
ea8cc90e
"
,
null
);
e
[
"
default
"
]
=
_
.
exports
},
e191
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
d
(
e
,
"
b
"
,(
function
(){
return
i
})),
a
.
d
(
e
,
"
c
"
,(
function
(){
return
o
})),
a
.
d
(
e
,
"
a
"
,(
function
(){
return
r
}));
var
n
=
a
(
"
b6bd
"
);
function
i
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/DutyRecord/GetDutyArrangeByDateList
"
,
method
:
"
get
"
,
params
:
t
})}
function
o
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/Common/GetPersonByCondiction
"
,
method
:
"
get
"
,
params
:
t
})}
function
r
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/DutyRecord/DutyArrangeIns
"
,
method
:
"
post
"
,
data
:
t
})}},
fc31
:
function
(
t
,
e
,
a
){}}]);
\ No newline at end of file
dist/js/chunk-59309fa8.
428594f9
.js
→
dist/js/chunk-59309fa8.
fc94681a
.js
浏览文件 @
8db1868d
文件已移动
dist/js/chunk-82daf772.
eb886c0b
.js
→
dist/js/chunk-82daf772.
375c3228
.js
浏览文件 @
8db1868d
文件已移动
dist/js/chunk-a550fabc.c39205a9.js
0 → 100644
浏览文件 @
8db1868d
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-a550fabc
"
],{
"
4bca
"
:
function
(
e
,
t
,
r
){},
a25d
:
function
(
e
,
t
,
r
){
"
use strict
"
;
r
(
"
4bca
"
)},
a697
:
function
(
e
,
t
,
r
){
"
use strict
"
;
r
.
r
(
t
);
var
c
=
function
(){
var
e
=
this
,
t
=
e
.
_self
.
_c
;
return
t
(
"
div
"
,{
staticClass
:
"
demo-spin-container
"
},[
t
(
"
Spin
"
,{
attrs
:{
fix
:
""
,
size
:
"
large
"
}})],
1
)},
n
=
[],
o
=
(
r
(
"
8e6e
"
),
r
(
"
ac6a
"
),
r
(
"
456d
"
),
r
(
"
ade3
"
)),
s
=
(
r
(
"
6762
"
),
r
(
"
2fdb
"
),
r
(
"
a481
"
),
r
(
"
d02c
"
)),
a
=
r
(
"
2f62
"
);
function
i
(
e
,
t
){
var
r
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
c
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
c
=
c
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
r
.
push
.
apply
(
r
,
c
)}
return
r
}
function
u
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
i
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
i
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
var
p
=
{
created
:
function
(){
var
e
=
this
,
t
=
this
.
$route
.
query
.
token
;
"
test
"
===
t
?
this
.
testsso
(
"
asc666
"
).
then
((
function
(){
e
.
$router
.
replace
(
e
.
$route
.
query
.
redirect
||
"
/
"
)})):
this
.
sso
(
t
).
then
((
function
(
t
){
s
[
"
h
"
]().
then
((
function
(
t
){
console
.
log
(
"
🚀🚀🚀,
"
,
t
.
role_capacity_list
),
t
.
role_capacity_list
.
includes
(
"
arrangement
"
)?
e
.
$router
.
replace
(
e
.
$route
.
query
.
redirect
||
"
/
"
):
e
.
$router
.
replace
(
"
dutychange
"
)}))}))},
methods
:
u
({},
Object
(
a
[
"
b
"
])(
"
admin/account
"
,[
"
sso
"
,
"
testsso
"
]))},
b
=
p
,
f
=
(
r
(
"
a25d
"
),
r
(
"
2877
"
)),
l
=
Object
(
f
[
"
a
"
])(
b
,
c
,
n
,
!
1
,
null
,
"
3b6bb7c6
"
,
null
);
t
[
"
default
"
]
=
l
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-d28d77d2.49b82785.js
0 → 100644
浏览文件 @
8db1868d
此差异已折叠。
点击以展开。
dist/js/chunk-e9ce1a96.5a55df5f.js
已删除
100644 → 0
浏览文件 @
bd179aa2
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-e9ce1a96
"
],{
"
34c7
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
4d93
"
)},
"
4d93
"
:
function
(
t
,
e
,
a
){},
ba6e
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
a
(
"
7f7f
"
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
_self
.
_c
;
return
e
(
"
div
"
,{
staticClass
:
"
ele-body
"
},[
e
(
"
Card
"
,{
ref
:
"
card
"
,
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
}},[
t
.
loading
?
e
(
"
Spin
"
,{
attrs
:{
fix
:
""
}}):
t
.
_e
(),
e
(
"
div
"
,{
staticClass
:
"
table-heard
"
},[
e
(
"
div
"
,[
e
(
"
Tag
"
,{
attrs
:{
size
:
"
large
"
}},[
t
.
_v
(
t
.
_s
(
this
.
currentWeekRange
[
0
]
+
"
至
"
+
this
.
currentWeekRange
[
1
]))])],
1
),
e
(
"
div
"
,{
staticClass
:
"
center
"
},[
e
(
"
Button
"
,{
attrs
:{
size
:
"
default
"
},
on
:{
click
:
t
.
weekPre
}},[
e
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-arrow-back
"
}}),
t
.
_v
(
"
上一周
\n
"
)],
1
),
e
(
"
p
"
,[
t
.
_v
(
t
.
_s
(
t
.
currentYear
)
+
"
年
"
+
t
.
_s
(
t
.
currentMonth
)
+
"
月
"
)]),
e
(
"
Button
"
,{
attrs
:{
size
:
"
default
"
},
on
:{
click
:
t
.
weekNext
}},[
t
.
_v
(
"
下一周
\n
"
),
e
(
"
Icon
"
,{
attrs
:{
type
:
"
ios-arrow-forward
"
}})],
1
)],
1
),
e
(
"
div
"
)]),
e
(
"
table
"
,{
attrs
:{
align
:
"
center
"
,
cellpadding
:
"
0
"
,
cellspacing
:
"
0
"
}},[
e
(
"
tr
"
,{
staticClass
:
"
sepacialy
"
},[
e
(
"
td
"
),
t
.
_l
(
t
.
weekGround
,(
function
(
a
,
n
){
return
e
(
"
td
"
,{
key
:
n
},[
t
.
_v
(
t
.
_s
(
a
))])}))],
2
),
t
.
_l
(
t
.
timeGround
,(
function
(
a
,
n
){
return
e
(
"
tr
"
,{
key
:
n
},[
e
(
"
td
"
,{
staticClass
:
"
time
"
},[
t
.
_v
(
t
.
_s
(
a
.
typeName
))]),
t
.
_l
(
t
.
weekGround
,(
function
(
a
,
i
){
return
e
(
"
td
"
,{
key
:
i
,
attrs
:{
align
:
"
center
"
,
valign
:
"
middle
"
}},
t
.
_l
(
t
.
course
[
i
].
dutydatas
,(
function
(
a
,
o
){
return
e
(
"
div
"
,{
key
:
o
,
on
:{
click
:
function
(
e
){
return
t
.
clickCell
(
a
,
t
.
course
[
i
].
date
)}}},[
a
.
duty_type_id
===
t
.
timeGround
[
n
].
id
?
e
(
"
div
"
,{
staticClass
:
"
course-item
"
},[
e
(
"
p
"
,[
a
.
duty_daytime_people
?
e
(
"
Tag
"
,{
staticStyle
:{
height
:
"
auto
"
},
attrs
:{
color
:
"
blue
"
},
nativeOn
:{
click
:
function
(
e
){
return
t
.
clickCell
(
a
,
t
.
course
[
i
].
date
)}}},[
t
.
_v
(
"
\n
白天:
"
+
t
.
_s
(
a
.
duty_daytime_people
))]):
t
.
_e
()],
1
),
e
(
"
p
"
,[
a
.
duty_night_people
?
e
(
"
Tag
"
,{
staticStyle
:{
height
:
"
auto
"
},
attrs
:{
color
:
"
red
"
},
nativeOn
:{
click
:
function
(
e
){
return
t
.
clickCell
(
a
,
t
.
course
[
i
].
date
)}}},[
t
.
_v
(
"
\n
晚上:
"
+
t
.
_s
(
a
.
duty_night_people
))]):
t
.
_e
()],
1
)]):
t
.
_e
()])})),
0
)}))],
2
)}))],
2
)],
1
),
e
(
"
Modal
"
,{
staticClass
:
"
add-modal
"
,
attrs
:{
width
:
"
50%
"
,
title
:
"
值班安排
"
,
loading
:
t
.
modalLoading
},
on
:{
"
on-ok
"
:
t
.
handleConfirm
,
"
on-cancel
"
:
t
.
handleClose
},
model
:{
value
:
t
.
showModal
,
callback
:
function
(
e
){
t
.
showModal
=
e
},
expression
:
"
showModal
"
}},[
e
(
"
Form
"
,{
ref
:
"
form
"
,
attrs
:{
model
:
t
.
formData
,
rules
:
t
.
formRule
,
"
label-width
"
:
150
}},[
e
(
"
FormItem
"
,{
attrs
:{
label
:
"
分类名称
"
}},[
e
(
"
Input
"
,{
attrs
:{
disabled
:
""
},
model
:{
value
:
t
.
selectItem
.
duty_type_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
selectItem
,
"
duty_type_name
"
,
e
)},
expression
:
"
selectItem.duty_type_name
"
}})],
1
),
e
(
"
FormItem
"
,{
attrs
:{
label
:
"
值班日期
"
}},[
e
(
"
Input
"
,{
attrs
:{
disabled
:
""
},
model
:{
value
:
t
.
selectDate
,
callback
:
function
(
e
){
t
.
selectDate
=
e
},
expression
:
"
selectDate
"
}})],
1
),
e
(
"
FormItem
"
,{
attrs
:{
label
:
"
白天值班人员
"
}},[
e
(
"
Select
"
,{
attrs
:{
filterable
:
""
,
multiple
:
""
},
model
:{
value
:
t
.
duty_daytime_people_id
,
callback
:
function
(
e
){
t
.
duty_daytime_people_id
=
e
},
expression
:
"
duty_daytime_people_id
"
}},
t
.
_l
(
t
.
peopleOption
,(
function
(
a
){
return
e
(
"
Option
"
,{
key
:
a
.
id
,
attrs
:{
value
:
a
.
id
,
label
:
a
.
name
}},[
e
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
}},[
e
(
"
p
"
,[
t
.
_v
(
t
.
_s
(
a
.
name
)
+
"
\n
"
),
e
(
"
span
"
,{
staticStyle
:{
color
:
"
#9a9a9a
"
}},[
t
.
_v
(
"
(
"
+
t
.
_s
(
a
.
card
)
+
"
)
"
)])]),
e
(
"
p
"
,{
staticStyle
:{
color
:
"
#ccc
"
}},[
t
.
_v
(
t
.
_s
(
a
.
dept_name
))])])])})),
1
)],
1
),
e
(
"
FormItem
"
,{
attrs
:{
label
:
"
晚上值班人员
"
}},[
e
(
"
Select
"
,{
attrs
:{
filterable
:
""
,
multiple
:
""
},
model
:{
value
:
t
.
duty_night_people_id
,
callback
:
function
(
e
){
t
.
duty_night_people_id
=
e
},
expression
:
"
duty_night_people_id
"
}},
t
.
_l
(
t
.
peopleOption
,(
function
(
a
){
return
e
(
"
Option
"
,{
key
:
a
.
id
,
attrs
:{
value
:
a
.
id
,
label
:
a
.
name
}},[
e
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
}},[
e
(
"
p
"
,[
t
.
_v
(
t
.
_s
(
a
.
name
)
+
"
\n
"
),
e
(
"
span
"
,{
staticStyle
:{
color
:
"
#9a9a9a
"
}},[
t
.
_v
(
"
(
"
+
t
.
_s
(
a
.
card
)
+
"
)
"
)])]),
e
(
"
p
"
,{
staticStyle
:{
color
:
"
#ccc
"
}},[
t
.
_v
(
t
.
_s
(
a
.
dept_name
))])])])})),
1
)],
1
)],
1
)],
1
)],
1
)},
i
=
[],
o
=
(
a
(
"
ac6a
"
),
a
(
"
e191
"
)),
r
=
{
props
:{},
data
:
function
(){
return
{
weekGround
:[
"
周一
"
,
"
周二
"
,
"
周三
"
,
"
周四
"
,
"
周五
"
,
"
周六
"
,
"
周日
"
],
course
:[],
timeGround
:[],
currentYear
:
""
,
currentMonth
:
""
,
currentDay
:
""
,
currentWeek
:
""
,
days
:[],
currentWeekRange
:[],
defalultWeekGround
:[
"
周一
"
,
"
周二
"
,
"
周三
"
,
"
周四
"
,
"
周五
"
,
"
周六
"
,
"
周日
"
],
coachColorMap
:{
"
张三
"
:
"
#2B2E4A
"
,
"
李四
"
:
"
#521262
"
,
"
王五
"
:
"
#903749
"
},
loading
:
!
1
,
showModal
:
!
1
,
selectDate
:
""
,
selectItem
:
""
,
formData
:{},
formRule
:{},
peopleOption
:[],
duty_daytime_people_id
:[],
duty_night_people_id
:[],
modalLoading
:
!
0
}},
created
:
function
(){},
mounted
:
function
(){
this
.
initData
(),
this
.
GetPersonByCondiction
()},
methods
:{
getData
:
function
(){
var
t
=
this
,
e
=
{
begin
:
this
.
currentWeekRange
[
0
],
end
:
this
.
currentWeekRange
[
1
]};
this
.
loading
=!
0
,
Object
(
o
[
"
b
"
])(
e
).
then
((
function
(
e
){
t
.
loading
=!
1
,
t
.
timeGround
=
[],
t
.
course
=
e
,
t
.
course
[
0
].
dutydatas
.
forEach
((
function
(
e
){
t
.
timeGround
.
push
({
id
:
e
.
duty_type_id
,
typeName
:
e
.
duty_type_name
})}))}))},
formatDate
:
function
(
t
,
e
,
a
){
var
n
=
t
,
i
=
e
;
i
<
10
&&
(
i
=
"
0
"
.
concat
(
i
));
var
o
=
a
;
return
o
<
10
&&
(
o
=
"
0
"
.
concat
(
o
)),
""
.
concat
(
n
,
"
-
"
).
concat
(
i
,
"
-
"
).
concat
(
o
)},
initData
:
function
(
t
){
var
e
=
this
,
a
=
""
;
a
=
t
?
new
Date
(
t
):
new
Date
,
this
.
currentDay
=
a
.
getDate
(),
this
.
currentYear
=
a
.
getFullYear
(),
this
.
currentMonth
=
a
.
getMonth
()
+
1
,
this
.
currentWeek
=
a
.
getDay
(),
0
===
this
.
currentWeek
&&
(
this
.
currentWeek
=
7
);
var
n
=
this
.
formatDate
(
this
.
currentYear
,
this
.
currentMonth
,
this
.
currentDay
);
this
.
days
.
length
=
0
;
for
(
var
i
=
this
.
currentWeek
-
1
;
i
>=
0
;
i
-=
1
){
var
o
=
new
Date
(
n
);
o
.
setDate
(
o
.
getDate
()
-
i
),
this
.
days
.
push
(
o
)}
for
(
var
r
=
1
;
r
<=
7
-
this
.
currentWeek
;
r
+=
1
){
var
s
=
new
Date
(
n
);
s
.
setDate
(
s
.
getDate
()
+
r
),
this
.
days
.
push
(
s
)}
this
.
currentWeekRange
=
[
this
.
formatDate
(
this
.
days
[
0
].
getFullYear
(),
this
.
days
[
0
].
getMonth
()
+
1
,
this
.
days
[
0
].
getDate
()),
this
.
formatDate
(
this
.
days
[
6
].
getFullYear
(),
this
.
days
[
6
].
getMonth
()
+
1
,
this
.
days
[
6
].
getDate
())];
var
c
=
[];
this
.
days
.
forEach
((
function
(
t
){
c
.
push
(
""
.
concat
(
t
.
getMonth
()
+
1
,
"
/
"
).
concat
(
t
.
getDate
()))})),
this
.
defalultWeekGround
.
map
((
function
(
t
,
a
){
e
.
weekGround
[
a
]
=
t
+
"
(
"
.
concat
(
c
[
a
],
"
)
"
)})),
this
.
getData
()},
weekPre
:
function
(){
var
t
=
this
.
days
[
0
];
t
.
setDate
(
t
.
getDate
()
-
7
),
this
.
initData
(
t
)},
weekNext
:
function
(){
var
t
=
this
.
days
[
6
];
t
.
setDate
(
t
.
getDate
()
+
7
),
this
.
initData
(
t
)},
GetPersonByCondiction
:
function
(){
var
t
=
this
,
e
=
{
page_index
:
1
,
page_size
:
1
e4
};
Object
(
o
[
"
c
"
])(
e
).
then
((
function
(
e
){
t
.
peopleOption
=
e
.
data
}))},
clickCell
:
function
(
t
,
e
){
this
.
selectDate
=
e
,
this
.
selectItem
=
t
,
this
.
duty_daytime_people_id
=
t
.
duty_daytime_people_list
.
map
((
function
(
t
){
return
t
.
id
})),
this
.
duty_night_people_id
=
t
.
duty_night_people_list
.
map
((
function
(
t
){
return
t
.
id
})),
this
.
showModal
=!
0
},
handleConfirm
:
function
(){
var
t
=
this
,
e
=
{
duty_type_id
:
this
.
selectItem
.
duty_type_id
,
date
:
this
.
selectDate
,
record_id
:
this
.
selectItem
.
record_id
,
duty_daytime_people_id
:
this
.
duty_daytime_people_id
,
duty_night_people_id
:
this
.
duty_night_people_id
};
console
.
log
(
e
),
Object
(
o
[
"
a
"
])(
e
).
then
((
function
(
e
){
t
.
handleModalLoading
(),
t
.
showModal
=!
1
,
t
.
$Message
.
success
(
"
安排成功
"
),
t
.
duty_daytime_people_id
=
[],
t
.
duty_night_people_id
=
[],
t
.
getData
()})).
catch
((
function
(){
t
.
handleModalLoading
()}))},
handleModalLoading
:
function
(){
var
t
=
this
;
this
.
modalLoading
=!
1
,
this
.
$nextTick
((
function
(){
t
.
modalLoading
=!
0
}))},
handleClose
:
function
(){
this
.
duty_daytime_people_id
=
[],
this
.
duty_night_people_id
=
[]}},
computed
:{}},
s
=
r
,
c
=
(
a
(
"
34c7
"
),
a
(
"
2877
"
)),
d
=
Object
(
c
[
"
a
"
])(
s
,
n
,
i
,
!
1
,
null
,
"
2d07ffaa
"
,
null
);
e
[
"
default
"
]
=
d
.
exports
},
e191
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
d
(
e
,
"
b
"
,(
function
(){
return
i
})),
a
.
d
(
e
,
"
c
"
,(
function
(){
return
o
})),
a
.
d
(
e
,
"
a
"
,(
function
(){
return
r
}));
var
n
=
a
(
"
b6bd
"
);
function
i
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/DutyRecord/GetDutyArrangeByDateList
"
,
method
:
"
get
"
,
params
:
t
})}
function
o
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/Common/GetPersonByCondiction
"
,
method
:
"
get
"
,
params
:
t
})}
function
r
(
t
){
return
Object
(
n
[
"
a
"
])({
url
:
"
/api/DutyRecord/DutyArrangeIns
"
,
method
:
"
post
"
,
data
:
t
})}}}]);
\ No newline at end of file
src/api/controller/DutyRecord/getApiDutyRecordDutyRecordAllExportByAdmin.d.ts
0 → 100644
浏览文件 @
8db1868d
import
{
type
AxiosRequestConfig
}
from
"
axios
"
;
/**
* 管理员导出值班
* /api/DutyRecord/DutyRecordALLExportByAdmin
*/
export
declare
function
getApiDutyRecordDutyRecordAllExportByAdmin
(
params
:
GetApiDutyRecordDutyRecordAllExportByAdminParams
,
config
?:
AxiosRequestConfig
):
import
(
"
axios
"
).
AxiosPromise
<
any
>
;
export
interface
GetApiDutyRecordDutyRecordAllExportByAdminParams
{
begin_time
:
string
;
end_time
:
string
;
}
src/api/controller/DutyRecord/getApiDutyRecordDutyRecordAllExportByAdmin.js
0 → 100644
浏览文件 @
8db1868d
import
request
from
"
@/plugins/request
"
;
/**
* 管理员导出值班
* /api/DutyRecord/DutyRecordALLExportByAdmin
*/
export
function
getApiDutyRecordDutyRecordAllExportByAdmin
(
params
,
config
)
{
const
paramsInput
=
{
begin_time
:
params
.
begin_time
,
end_time
:
params
.
end_time
,
};
return
request
.
get
(
`/api/DutyRecord/DutyRecordALLExportByAdmin`
,
{
params
:
paramsInput
,
...
config
,
});
}
src/api/controller/DutyRecord/getApiDutyRecordGetLogRecordBacklogList.d.ts
浏览文件 @
8db1868d
...
...
@@ -13,6 +13,7 @@ export declare function getApiDutyRecordGetLogRecordBacklogList(params: GetApiDu
duty_type_id
:
string
;
duty_type_name
:
string
;
date
:
string
;
logid
:
string
;
attendance_area
:
{
address
:
string
;
latitude
:
string
;
...
...
src/api/controller/DutyRecord/getApiDutyRecordGetLogRecordInfoByDate.d.ts
0 → 100644
浏览文件 @
8db1868d
import
{
type
AxiosRequestConfig
}
from
"
axios
"
;
/**
* 查看日志详情--根据时间
* /api/DutyRecord/GetLogRecordInfoByDate
*/
export
declare
function
getApiDutyRecordGetLogRecordInfoByDate
(
params
:
GetApiDutyRecordGetLogRecordInfoByDateParams
,
config
?:
AxiosRequestConfig
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
status
:
string
;
msg
:
string
;
msg_detail
:
string
;
response
:
{
id
:
string
;
userid
:
string
;
card
:
string
;
name
:
string
;
dept_id
:
string
;
dept_name
:
string
;
record_id
:
string
;
duty_type_id
:
string
;
duty_type_name
:
string
;
content
:
string
;
file_id
:
string
;
is_receipt
:
number
;
is_receipt_name
:
string
;
log_date
:
string
;
state
:
number
;
state_name
:
string
;
dispose_time
:
string
;
dispose_userid
:
string
;
dispose_card
:
string
;
dispose_name
:
string
;
dispose_dept_id
:
string
;
dispose_dept_name
:
string
;
dispose_content
:
string
;
createtime
:
string
;
file_list
:
{
id
:
string
;
createby
:
string
;
createtime
:
string
;
path
:
string
;
suffix
:
string
;
size
:
string
;
file_name
:
string
;
}[];
};
}
>
;
export
interface
GetApiDutyRecordGetLogRecordInfoByDateParams
{
date
:
string
;
}
src/api/controller/DutyRecord/getApiDutyRecordGetLogRecordInfoByDate.js
0 → 100644
浏览文件 @
8db1868d
import
request
from
"
@/plugins/request
"
;
/**
* 查看日志详情--根据时间
* /api/DutyRecord/GetLogRecordInfoByDate
*/
export
function
getApiDutyRecordGetLogRecordInfoByDate
(
params
,
config
)
{
const
paramsInput
=
{
date
:
params
.
date
,
};
return
request
.
get
(
`/api/DutyRecord/GetLogRecordInfoByDate`
,
{
params
:
paramsInput
,
...
config
,
});
}
src/api/controller/DutyRecord/getApiDutyRecordGetLogRecordRepairList.d.ts
浏览文件 @
8db1868d
...
...
@@ -13,6 +13,7 @@ export declare function getApiDutyRecordGetLogRecordRepairList(config?: AxiosReq
duty_type_id
:
string
;
duty_type_name
:
string
;
date
:
string
;
logid
:
string
;
attendance_area
:
{
address
:
string
;
latitude
:
string
;
...
...
src/api/controller/DutyRecord/getApiDutyRecordGetSubordinateLogRecordList.d.ts
浏览文件 @
8db1868d
...
...
@@ -13,6 +13,7 @@ export declare function getApiDutyRecordGetSubordinateLogRecordList(params: GetA
duty_type_id
:
string
;
duty_type_name
:
string
;
date
:
string
;
logid
:
string
;
attendance_area
:
{
address
:
string
;
latitude
:
string
;
...
...
src/api/controller/DutyRecord/index.d.ts
浏览文件 @
8db1868d
...
...
@@ -25,3 +25,5 @@ export * from "./getApiDutyRecordGetLogRecordRepairList";
export
*
from
"
./getApiDutyRecordGetLogRecordBacklogList
"
;
export
*
from
"
./getApiDutyRecordGetSubordinateLogRecordList
"
;
export
*
from
"
./getApiDutyRecordGetLogRecordStateCount
"
;
export
*
from
"
./getApiDutyRecordGetLogRecordInfoByDate
"
;
export
*
from
"
./getApiDutyRecordDutyRecordAllExportByAdmin
"
;
src/api/controller/DutyRecord/index.js
浏览文件 @
8db1868d
...
...
@@ -25,3 +25,5 @@ export * from "./getApiDutyRecordGetLogRecordRepairList";
export
*
from
"
./getApiDutyRecordGetLogRecordBacklogList
"
;
export
*
from
"
./getApiDutyRecordGetSubordinateLogRecordList
"
;
export
*
from
"
./getApiDutyRecordGetLogRecordStateCount
"
;
export
*
from
"
./getApiDutyRecordGetLogRecordInfoByDate
"
;
export
*
from
"
./getApiDutyRecordDutyRecordAllExportByAdmin
"
;
src/api/controller/DutyRecord/postApiDutyRecordGetMyDutyRecordListNew.d.ts
浏览文件 @
8db1868d
...
...
@@ -34,6 +34,7 @@ export declare function postApiDutyRecordGetMyDutyRecordListNew(input?: MyDutyRe
duty_type_id
:
string
;
duty_type_name
:
string
;
date
:
string
;
logid
:
string
;
attendance_area
:
{
address
:
string
;
latitude
:
string
;
...
...
src/api/interface/apiTypes/AddDutyTypeRequest.d.ts
浏览文件 @
8db1868d
export
interface
AddDutyTypeRequest
{
id
?:
string
;
/**
* Desc:值班类型
* Default:
...
...
src/api/interface/apiTypes/DutyLogWxNewResponse.d.ts
浏览文件 @
8db1868d
...
...
@@ -8,6 +8,8 @@ export interface DutyLogWxNewResponse {
duty_type_name
?:
string
;
/** 日期 */
date
?:
string
;
/** 日志id */
logid
?:
string
;
/** 坐标 */
attendance_area
?:
LocationAddress
[];
duty_data
?:
DutyTimeData
[];
...
...
src/api/interface/apiTypes/DutySelfWxNewResponse.d.ts
浏览文件 @
8db1868d
...
...
@@ -8,6 +8,8 @@ export interface DutySelfWxNewResponse {
duty_type_name
?:
string
;
/** 日期 */
date
?:
string
;
/** 日志id */
logid
?:
string
;
/** 坐标 */
attendance_area
?:
LocationAddress
[];
duty_data
?:
DutyTimeData
[];
...
...
src/api/interface/apiTypes/SubordinateRecordResponse.d.ts
浏览文件 @
8db1868d
...
...
@@ -8,6 +8,8 @@ export interface SubordinateRecordResponse {
duty_type_name
?:
string
;
/** 日期 */
date
?:
string
;
/** 日志id */
logid
?:
string
;
/** 坐标 */
attendance_area
?:
LocationAddress
[];
duty_data
?:
DutyTimeData
[];
...
...
src/hook/index.js
浏览文件 @
8db1868d
...
...
@@ -115,7 +115,25 @@ export function getInitListRequest(fun) {
return
false
}
}
export
function
blobFileDown
(
res
,
text
=
'
专家数据导出
'
)
{
/**
* 流文件下载,
* 需要接口响应类型:responseType:blob
* */
const
blob
=
new
Blob
([
res
],
{
type
:
'
application/octet-stream
'
// 使用通用的二进制流类型
});
const
downloadElement
=
document
.
createElement
(
'
a
'
);
const
href
=
window
.
URL
.
createObjectURL
(
blob
);
//创建下载的链接
downloadElement
.
href
=
href
;
downloadElement
.
download
=
`
${
text
}
.xls`
;
//下载后文件名,根据实际情况修改 建议 日期 + 文件名
document
.
body
.
appendChild
(
downloadElement
);
downloadElement
.
click
();
//点击下载
document
.
body
.
removeChild
(
downloadElement
);
//下载完成移除元素
window
.
URL
.
revokeObjectURL
(
href
);
//释放掉blob对象
}
export
function
isAdmin
()
{
//validate user is a admin
// if (Cookies.get('admin-competition-userinfo')) {
...
...
src/pages/account/sso/index.vue
浏览文件 @
8db1868d
...
...
@@ -11,7 +11,7 @@ export default {
created
()
{
const
token
=
this
.
$route
.
query
.
token
if
(
token
===
'
test
'
)
{
this
.
testsso
(
'
syjs295
'
).
then
(()
=>
{
this
.
testsso
(
'
asc666
'
).
then
(()
=>
{
this
.
$router
.
replace
(
this
.
$route
.
query
.
redirect
||
'
/
'
);
})
}
else
{
...
...
src/pages/arrangement/index.vue
浏览文件 @
8db1868d
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录