Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
一
一周安排
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
一周安排
提交
e2c228e2
提交
e2c228e2
编写于
8月 30, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
V20240830 排班表导入导出
上级
d5285488
变更
20
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
20 个修改的文件
包含
130 行增加
和
12 行删除
+130
-12
dist.zip
dist.zip
+0
-0
chunk-84d6a804.38825739.css
dist/css/chunk-84d6a804.38825739.css
+1
-0
index.html
dist/index.html
+1
-1
app.8582185f.js
dist/js/app.8582185f.js
+2
-2
chunk-0232b414.fb23bf42.js
dist/js/chunk-0232b414.fb23bf42.js
+1
-1
chunk-2d21d0b3.d753f7a4.js
dist/js/chunk-2d21d0b3.d753f7a4.js
+1
-0
chunk-2d21d0b3.f7ffa864.js
dist/js/chunk-2d21d0b3.f7ffa864.js
+0
-1
chunk-4d43c11c.225a9e88.js
dist/js/chunk-4d43c11c.225a9e88.js
+0
-1
chunk-59309fa8.16670d0d.js
dist/js/chunk-59309fa8.16670d0d.js
+0
-0
chunk-82daf772.32ef0bbc.js
dist/js/chunk-82daf772.32ef0bbc.js
+0
-0
chunk-84d6a804.221408b5.js
dist/js/chunk-84d6a804.221408b5.js
+1
-0
chunk-a550fabc.3781b9f0.js
dist/js/chunk-a550fabc.3781b9f0.js
+1
-1
pc.zip
pc.zip
+0
-0
getApiDutyRecordExportDutyTable.d.ts
...ontroller/DutyRecord/getApiDutyRecordExportDutyTable.d.ts
+16
-0
getApiDutyRecordExportDutyTable.js
.../controller/DutyRecord/getApiDutyRecordExportDutyTable.js
+15
-0
index.d.ts
src/api/controller/DutyRecord/index.d.ts
+2
-0
index.js
src/api/controller/DutyRecord/index.js
+2
-0
postApiDutyRecordImportDutyTable.d.ts
...ntroller/DutyRecord/postApiDutyRecordImportDutyTable.d.ts
+15
-0
postApiDutyRecordImportDutyTable.js
...controller/DutyRecord/postApiDutyRecordImportDutyTable.js
+8
-0
index.vue
src/pages/arrangement/index.vue
+64
-5
未找到文件。
dist.zip
浏览文件 @
e2c228e2
无法预览此类型文件
dist/css/chunk-
4d43c11c.f449a631
.css
→
dist/css/chunk-
84d6a804.38825739
.css
浏览文件 @
e2c228e2
.index
[
data-v-a4e5c79e
]
{
width
:
100%
;
box-sizing
:
border-box
;
padding
:
10px
;
background-color
:
#fff
}
table
[
data-v-a4e5c79e
]
{
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-a4e5c79e
]
{
border
:
none
;
text-align
:
center
}
td
[
data-v-a4e5c79e
]
{
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-a4e5c79e
]
:hover
{
background
:
#e7f7f4
}
td
:hover
.dis
[
data-v-a4e5c79e
]
{
display
:
block
;
text-align
:
center
;
margin
:
0
auto
;
cursor
:
pointer
}
tr
[
data-v-a4e5c79e
]
:first-child
{
height
:
30px
;
background-color
:
#f3f3f3
;
border
:
none
;
color
:
#525252
;
font-weight
:
700
;
width
:
50px
}
.sepacialy
[
data-v-a4e5c79e
]
{
border-top
:
1px
solid
#e3e8ee
;
border-left
:
1px
solid
#e3e8ee
}
.table-heard
[
data-v-a4e5c79e
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin-bottom
:
10px
;
box-sizing
:
border-box
;
padding
:
10px
10px
}
.table-heard
.center
[
data-v-a4e5c79e
]
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
}
.table-heard
.center
p
[
data-v-a4e5c79e
]
{
font-size
:
20px
;
margin
:
0
30px
}
.course-item
[
data-v-a4e5c79e
]
{
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-a4e5c79e
]
{
color
:
#3a3a3a
}
.time
[
data-v-a4e5c79e
]
{
background
:
#f7f7f7
;
color
:
#707070
;
font-weight
:
700
}
.index
[
data-v-a1485b70
]
{
width
:
100%
;
box-sizing
:
border-box
;
padding
:
10px
;
background-color
:
#fff
}
table
[
data-v-a1485b70
]
{
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-a1485b70
]
{
border
:
none
;
text-align
:
center
}
td
[
data-v-a1485b70
]
{
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-a1485b70
]
:hover
{
background
:
#e7f7f4
}
td
:hover
.dis
[
data-v-a1485b70
]
{
display
:
block
;
text-align
:
center
;
margin
:
0
auto
;
cursor
:
pointer
}
tr
[
data-v-a1485b70
]
:first-child
{
height
:
30px
;
background-color
:
#f3f3f3
;
border
:
none
;
color
:
#525252
;
font-weight
:
700
;
width
:
50px
}
.sepacialy
[
data-v-a1485b70
]
{
border-top
:
1px
solid
#e3e8ee
;
border-left
:
1px
solid
#e3e8ee
}
.table-heard
[
data-v-a1485b70
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin-bottom
:
10px
;
box-sizing
:
border-box
;
padding
:
10px
10px
}
.table-heard
.center
[
data-v-a1485b70
]
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
}
.table-heard
.center
p
[
data-v-a1485b70
]
{
font-size
:
20px
;
margin
:
0
30px
}
.course-item
[
data-v-a1485b70
]
{
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-a1485b70
]
{
color
:
#3a3a3a
}
.time
[
data-v-a1485b70
]
{
background
:
#f7f7f7
;
color
:
#707070
;
font-weight
:
700
}
\ No newline at end of file
\ No newline at end of file
dist/index.html
浏览文件 @
e2c228e2
<!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.2ea0e833.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><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.8582185f.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app.
2ea0e833
.js
→
dist/js/app.
8582185f
.js
浏览文件 @
e2c228e2
此差异已折叠。
点击以展开。
dist/js/chunk-0232b414.
9678d7dc
.js
→
dist/js/chunk-0232b414.
fb23bf42
.js
浏览文件 @
e2c228e2
此差异已折叠。
点击以展开。
dist/js/chunk-2d21d0b3.d753f7a4.js
0 → 100644
浏览文件 @
e2c228e2
(
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
,
"
j
"
,(
function
(){
return
a
})),
r
.
d
(
t
,
"
k
"
,(
function
(){
return
f
})),
r
.
d
(
t
,
"
e
"
,(
function
(){
return
y
})),
r
.
d
(
t
,
"
d
"
,(
function
(){
return
g
})),
r
.
d
(
t
,
"
f
"
,(
function
(){
return
P
})),
r
.
d
(
t
,
"
c
"
,(
function
(){
return
m
})),
r
.
d
(
t
,
"
h
"
,(
function
(){
return
E
})),
r
.
d
(
t
,
"
l
"
,(
function
(){
return
S
})),
r
.
d
(
t
,
"
g
"
,(
function
(){
return
_
})),
r
.
d
(
t
,
"
i
"
,(
function
(){
return
G
}));
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
y
(
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
s
(
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
?
s
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
s
(
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
l
(
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
?
l
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
l
(
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
"
,
d
({
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
w
(
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
m
(
e
,
t
){
var
r
=
{
id
:
e
.
id
};
return
n
[
"
a
"
].
get
(
"
/api/DutyConfig/DeleteDutyConfig
"
,
w
({
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
E
(
e
,
t
){
var
r
=
{
begin
:
e
.
begin
,
end
:
e
.
end
};
return
n
[
"
a
"
].
get
(
"
/api/DutyRecord/ExportDutyTable
"
,
h
({
params
:
r
},
t
))}
function
S
(
e
,
t
){
return
n
[
"
a
"
].
post
(
"
/api/DutyRecord/ImportDutyTable
"
,
e
,
t
)}
function
C
(
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
k
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
r
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
C
(
Object
(
r
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
r
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
r
)):
C
(
Object
(
r
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
r
,
t
))}))}
return
e
}
function
_
(
e
,
t
){
var
r
=
{
begin_time
:
e
.
begin_time
,
end_time
:
e
.
end_time
};
return
n
[
"
a
"
].
get
(
"
/api/DutyRecord/DutyRecordALLExportByAdmin
"
,
k
({
params
:
r
},
t
))}
function
G
(
e
){
return
n
[
"
a
"
].
get
(
"
/api/GetTokenInfo
"
,
e
)}}}]);
\ No newline at end of file
dist/js/chunk-2d21d0b3.f7ffa864.js
已删除
100644 → 0
浏览文件 @
d5285488
(
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-4d43c11c.225a9e88.js
已删除
100644 → 0
浏览文件 @
d5285488
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-4d43c11c
"
],{
"
6d0c
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
(
"
99a4
"
)},
"
99a4
"
:
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
])
+
"
\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
,{
responseType
:
"
blob
"
}).
then
((
function
(
e
){
r
[
"
a
"
](
e
,
""
.
concat
(
t
.
importDuty
.
formData
.
begin_time
+
"
至
"
+
t
.
importDuty
.
formData
.
end_time
,
"
值班数据
"
)),
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
(
"
6d0c
"
),
a
(
"
2877
"
)),
_
=
Object
(
p
[
"
a
"
])(
u
,
n
,
i
,
!
1
,
null
,
"
a4e5c79e
"
,
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
})}}}]);
\ No newline at end of file
dist/js/chunk-59309fa8.
fc94681a
.js
→
dist/js/chunk-59309fa8.
16670d0d
.js
浏览文件 @
e2c228e2
文件已移动
dist/js/chunk-82daf772.3
75c3228
.js
→
dist/js/chunk-82daf772.3
2ef0bbc
.js
浏览文件 @
e2c228e2
文件已移动
dist/js/chunk-84d6a804.221408b5.js
0 → 100644
浏览文件 @
e2c228e2
此差异已折叠。
点击以展开。
dist/js/chunk-a550fabc.
c39205a9
.js
→
dist/js/chunk-a550fabc.
3781b9f0
.js
浏览文件 @
e2c228e2
(
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
}}]);
(
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
[
"
i
"
]().
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
\ No newline at end of file
pc.zip
已删除
100644 → 0
浏览文件 @
d5285488
文件已删除
src/api/controller/DutyRecord/getApiDutyRecordExportDutyTable.d.ts
0 → 100644
浏览文件 @
e2c228e2
import
{
type
AxiosRequestConfig
}
from
"
axios
"
;
/**
* 导出值班表
* /api/DutyRecord/ExportDutyTable
*/
export
declare
function
getApiDutyRecordExportDutyTable
(
params
:
GetApiDutyRecordExportDutyTableParams
,
config
?:
AxiosRequestConfig
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
status
:
string
;
msg
:
string
;
msg_detail
:
string
;
response
:
string
;
}
>
;
export
interface
GetApiDutyRecordExportDutyTableParams
{
begin
?:
string
;
end
?:
string
;
}
src/api/controller/DutyRecord/getApiDutyRecordExportDutyTable.js
0 → 100644
浏览文件 @
e2c228e2
import
request
from
"
@/plugins/request
"
;
/**
* 导出值班表
* /api/DutyRecord/ExportDutyTable
*/
export
function
getApiDutyRecordExportDutyTable
(
params
,
config
)
{
const
paramsInput
=
{
begin
:
params
.
begin
,
end
:
params
.
end
,
};
return
request
.
get
(
`/api/DutyRecord/ExportDutyTable`
,
{
params
:
paramsInput
,
...
config
,
});
}
src/api/controller/DutyRecord/index.d.ts
浏览文件 @
e2c228e2
export
*
from
"
./getApiDutyRecordGetDutyArrangeList
"
;
export
*
from
"
./getApiDutyRecordGetDutyArrangeList
"
;
export
*
from
"
./getApiDutyRecordExportDutyTable
"
;
export
*
from
"
./postApiDutyRecordImportDutyTable
"
;
export
*
from
"
./getApiDutyRecordGetDutyArrangeByDateList
"
;
export
*
from
"
./getApiDutyRecordGetDutyArrangeByDateList
"
;
export
*
from
"
./postApiDutyRecordDutyArrangeIns
"
;
export
*
from
"
./postApiDutyRecordDutyArrangeIns
"
;
export
*
from
"
./postApiDutyRecordGetDutyRecordSelfListMyWx
"
;
export
*
from
"
./postApiDutyRecordGetDutyRecordSelfListMyWx
"
;
...
...
src/api/controller/DutyRecord/index.js
浏览文件 @
e2c228e2
export
*
from
"
./getApiDutyRecordGetDutyArrangeList
"
;
export
*
from
"
./getApiDutyRecordGetDutyArrangeList
"
;
export
*
from
"
./getApiDutyRecordExportDutyTable
"
;
export
*
from
"
./postApiDutyRecordImportDutyTable
"
;
export
*
from
"
./getApiDutyRecordGetDutyArrangeByDateList
"
;
export
*
from
"
./getApiDutyRecordGetDutyArrangeByDateList
"
;
export
*
from
"
./postApiDutyRecordDutyArrangeIns
"
;
export
*
from
"
./postApiDutyRecordDutyArrangeIns
"
;
export
*
from
"
./postApiDutyRecordGetDutyRecordSelfListMyWx
"
;
export
*
from
"
./postApiDutyRecordGetDutyRecordSelfListMyWx
"
;
...
...
src/api/controller/DutyRecord/postApiDutyRecordImportDutyTable.d.ts
0 → 100644
浏览文件 @
e2c228e2
import
{
type
AxiosRequestConfig
}
from
"
axios
"
;
/**
* 值班表导入
* /api/DutyRecord/ImportDutyTable
*/
export
declare
function
postApiDutyRecordImportDutyTable
(
input
?:
PostApiDutyRecordImportDutyTableInput
,
config
?:
AxiosRequestConfig
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
status
:
string
;
msg
:
string
;
msg_detail
:
string
;
response
:
string
;
}
>
;
export
interface
PostApiDutyRecordImportDutyTableInput
{
file
:
File
;
}
src/api/controller/DutyRecord/postApiDutyRecordImportDutyTable.js
0 → 100644
浏览文件 @
e2c228e2
import
request
from
"
@/plugins/request
"
;
/**
* 值班表导入
* /api/DutyRecord/ImportDutyTable
*/
export
function
postApiDutyRecordImportDutyTable
(
input
,
config
)
{
return
request
.
post
(
`/api/DutyRecord/ImportDutyTable`
,
input
,
config
);
}
src/pages/arrangement/index.vue
浏览文件 @
e2c228e2
...
@@ -5,14 +5,11 @@
...
@@ -5,14 +5,11 @@
<Spin
v-if=
"loading"
fix
></Spin>
<Spin
v-if=
"loading"
fix
></Spin>
<!-- 表标题 -->
<!-- 表标题 -->
<div
class=
"table-heard"
>
<div
class=
"table-heard"
>
<div>
<div
>
<Tag
size=
'large'
>
{{
<Tag
size=
'large'
>
{{
this
.
currentWeekRange
[
0
]
+
'
至
'
+
this
.
currentWeekRange
[
1
]
this
.
currentWeekRange
[
0
]
+
'
至
'
+
this
.
currentWeekRange
[
1
]
}}
}}
</Tag>
</Tag>
<!--
<Button
type=
"primary"
>
值班导入
</Button>
-->
<Button
type=
"primary"
@
click=
"importDuty.show = true"
>
导出值班日志
</Button>
</div>
</div>
<div
class=
"center"
>
<div
class=
"center"
>
...
@@ -25,7 +22,16 @@
...
@@ -25,7 +22,16 @@
<Icon
type=
"ios-arrow-forward"
/>
<Icon
type=
"ios-arrow-forward"
/>
</Button>
</Button>
</div>
</div>
<div></div>
<div>
</div>
</div>
<div
style=
"width: 100%;display: flex;"
>
<Button
style=
"margin:0 5px 0 0;"
icon=
"ios-download-outline"
@
click=
"importDuty.show = true"
>
导出值班日志
</Button>
<Button
style=
"margin:0 5px;"
icon=
"ios-download-outline"
@
click=
"importDutySheet.show = true"
>
导出值班表
</Button>
<Upload
style=
"margin:0 5px;"
action=
"#"
:before-upload=
"uploadFile"
>
<Button
icon=
"ios-cloud-upload-outline"
>
导入值班表
</Button>
</Upload>
</div>
</div>
<table
align=
"center"
cellpadding=
"0"
cellspacing=
"0"
>
<table
align=
"center"
cellpadding=
"0"
cellspacing=
"0"
>
<tr
class=
"sepacialy"
>
<tr
class=
"sepacialy"
>
...
@@ -117,6 +123,27 @@
...
@@ -117,6 +123,27 @@
<Button
type=
"primary"
size=
"large"
:loading=
"importDuty.loading"
long
@
click=
"importDutyFun"
>
导出值班日志
</Button>
<Button
type=
"primary"
size=
"large"
:loading=
"importDuty.loading"
long
@
click=
"importDutyFun"
>
导出值班日志
</Button>
</
template
>
</
template
>
</Modal>
</Modal>
<!-- 导出值班表 -->
<Modal
v-model=
"importDutySheet.show"
width=
"460"
>
<
template
#header
>
<p
style=
"color:#2D8CF0;text-align:center"
>
<Icon
type=
"ios-information-circle"
></Icon>
<span>
导出值班表
</span>
</p>
</
template
>
<div
style=
"text-align:center"
>
<Form
:label-width=
"80"
>
<FormItem
label=
"值班日期"
prop=
"user"
>
<DatePicker
v-model=
"importDutySheet.date"
style=
"width: 100%"
type=
"daterange"
placement=
"bottom-end"
placeholder=
"请选择值班日期"
/>
</FormItem>
</Form>
</div>
<
template
#footer
>
<Button
type=
"primary"
size=
"large"
:loading=
"importDutySheet.loading"
long
@
click=
"importDutySheetFun"
>
导出值班表
</Button>
</
template
>
</Modal>
</div>
</div>
</template>
</template>
...
@@ -130,6 +157,15 @@ export default {
...
@@ -130,6 +157,15 @@ export default {
props
:
{},
props
:
{},
data
()
{
data
()
{
return
{
return
{
importDutySheet
:
{
loading
:
false
,
show
:
false
,
date
:[
dayjs
().
format
(
'
YYYY-MM-DD
'
),
dayjs
().
format
(
'
YYYY-MM-DD
'
)],
formData
:
{
begin_time
:
''
,
end_time
:
''
}
},
importDuty
:
{
importDuty
:
{
loading
:
false
,
loading
:
false
,
show
:
false
,
show
:
false
,
...
@@ -195,6 +231,29 @@ export default {
...
@@ -195,6 +231,29 @@ export default {
this
.
GetPersonByCondiction
();
this
.
GetPersonByCondiction
();
},
},
methods
:
{
methods
:
{
uploadFile
(
file
){
//值班表导入
let
fd
=
new
FormData
()
fd
.
append
(
'
file
'
,
file
)
return
api
.
postApiDutyRecordImportDutyTable
(
fd
).
then
(
res
=>
{
this
.
$Message
.
success
(
'
导入成功
'
)
})
return
false
},
importDutySheetFun
(){
//值班表导出
this
.
importDutySheet
.
loading
=
true
this
.
importDutySheet
.
formData
=
{
begin
:
dayjs
(
this
.
importDutySheet
.
date
[
0
]).
format
(
'
YYYY-MM-DD
'
),
end
:
dayjs
(
this
.
importDutySheet
.
date
[
1
]).
format
(
'
YYYY-MM-DD
'
),
}
return
api
.
getApiDutyRecordExportDutyTable
(
this
.
importDutySheet
.
formData
).
then
(
res
=>
{
if
(
res
)
window
.
location
.
href
=
res
this
.
importDutySheet
.
loading
=
false
}).
finally
(()
=>
{
this
.
importDutySheet
.
loading
=
false
})
},
importDutyFun
(){
importDutyFun
(){
//值班附件导出
//值班附件导出
this
.
importDuty
.
loading
=
true
this
.
importDuty
.
loading
=
true
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录