Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
office-web
Commits
71dcdf9f
Commit
71dcdf9f
authored
Dec 26, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改排班
parent
08845a1b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
+10
-8
index.html
dist/index.html
+2
-2
app.6fe8fe3ded4329cd7896f06cf54b9030.css
dist/static/css/app.6fe8fe3ded4329cd7896f06cf54b9030.css
+0
-0
39.7b5b9a339d19d2dd1d2f.js
dist/static/js/39.7b5b9a339d19d2dd1d2f.js
+2
-2
manifest.d4ca0bd3106cd82b47af.js
dist/static/js/manifest.d4ca0bd3106cd82b47af.js
+2
-2
workTimeManage.vue
src/views/enterpriseApp/dailyAttendance/workTimeManage.vue
+4
-2
No files found.
dist/index.html
View file @
71dcdf9f
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.87d95c7261945f1298b186d405a24bf6.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.2bb487058f0eb6f6c870.js
></script><script
type=
text/javascript
src=
./static/js/vendor.0000e68e65e4a9dc3840.js
></script><script
type=
text/javascript
src=
./static/js/app.1b0d1c4a3af4aeb6c6a1.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.6fe8fe3ded4329cd7896f06cf54b9030.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.d4ca0bd3106cd82b47af.js
></script><script
type=
text/javascript
src=
./static/js/vendor.0000e68e65e4a9dc3840.js
></script><script
type=
text/javascript
src=
./static/js/app.1b0d1c4a3af4aeb6c6a1.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
87d95c7261945f1298b186d405a24bf6
.css
→
dist/static/css/app.
6fe8fe3ded4329cd7896f06cf54b9030
.css
View file @
71dcdf9f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/39.
99abd17e0b1bfc252097
.js
→
dist/static/js/39.
7b5b9a339d19d2dd1d2f
.js
View file @
71dcdf9f
webpackJsonp
([
39
],{
"/n/x"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"mvHQ"
),
r
=
a
.
n
(
s
),
n
=
a
(
"Ke24"
),
c
=
a
(
"P9l9"
),
l
=
a
(
"Ch4/"
),
i
=
a
(
"3E4D"
),
o
=
{
name
:
"people-day-class"
,
props
:{
classData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
cycleData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
itemSchedule
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
dates
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
weekDay
:{
type
:[
Number
,
String
],
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
translate
:{
width
:
"56px"
,
transform
:
"translateX(30px)"
},
defaultData
:[{
classesId
:
"-1"
,
classesName
:
"休息"
,
classColor
:
"day-tag-grey"
},{
classesId
:
"-2"
,
classesName
:
"清空"
,
classColor
:
""
}],
itemData
:{},
itemCycleData
:[]}},
methods
:{
chooseTab
:
function
(
t
,
e
){
this
.
activeTab
=
e
,
this
.
translate
=
{
width
:
t
.
target
.
offsetWidth
+
"px"
,
transform
:
"translateX("
+
t
.
target
.
offsetLeft
+
"px)"
}},
hideSet
:
function
(){
var
t
=
document
.
createElement
(
"button"
);
document
.
body
.
appendChild
(
t
),
t
.
click
(),
document
.
body
.
removeChild
(
t
)},
daySet
:
function
(
t
){
var
e
=
this
,
a
=
(
new
Date
).
getFullYear
(),
s
=
(
new
Date
).
getMonth
()
+
1
<
10
?(
new
Date
).
getMonth
()
+
1
:
"0"
+
((
new
Date
).
getMonth
()
+
1
),
n
=
(
new
Date
).
getDate
()
<
10
?(
new
Date
).
getDate
():
"0"
+
(
new
Date
).
getDate
();
if
(
new
Date
(
e
.
weekDay
).
getTime
()
<
new
Date
(
String
(
a
)
+
"-"
+
String
(
s
)
+
"-"
+
String
(
n
)).
getTime
())
return
i
.
a
.
showmsg
(
"不能设置今天以前的排班"
,
"warning"
),
!
1
;
e
.
hideSet
(),
e
.
itemData
.
setClassesList
.
map
(
function
(
t
){
return
t
.
weekDay
}).
includes
(
e
.
weekDay
)
&&
(
e
.
itemData
.
setClassesList
.
forEach
(
function
(
a
){
a
.
weekDay
==
e
.
weekDay
&&
(
a
.
classesName
=
t
.
classesName
,
a
.
classesId
=
t
.
classesId
,
a
.
classColor
=
t
.
classColor
,
a
.
isRest
=!
0
)}),
e
.
$emit
(
"refreshData"
,
JSON
.
parse
(
r
()(
e
.
itemData
))),
e
.
$forceUpdate
())},
toCycleSet
:
function
(){
this
.
$router
.
push
(
"/workGroupSet?appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&attenceGroupId="
+
this
.
$route
.
query
.
attenceGroupId
)},
dayWeekSet
:
function
(){
var
t
=
this
,
e
=
(
new
Date
).
getFullYear
(),
a
=
(
new
Date
).
getMonth
()
+
1
>
10
?(
new
Date
).
getMonth
()
+
1
:
"0"
+
((
new
Date
).
getMonth
()
+
1
),
s
=
(
new
Date
).
getDate
()
>
10
?(
new
Date
).
getDate
():
"0"
+
(
new
Date
).
getDate
();
if
(
new
Date
(
t
.
weekDay
).
getTime
()
<
new
Date
(
String
(
e
)
+
"-"
+
String
(
a
)
+
"-"
+
String
(
s
)).
getTime
())
return
i
.
a
.
showmsg
(
"不能设置今天以前的排班"
,
"warning"
),
!
1
;
var
n
=
0
;
t
.
itemData
.
setClassesList
.
forEach
(
function
(
e
,
a
){
t
.
weekDay
==
e
.
weekDay
&&
(
n
=
a
)}),
t
.
hideSet
();
for
(
var
c
=
t
.
cycleData
[
0
].
classesList
.
length
,
l
=
n
,
o
=
0
;
o
<
t
.
itemData
.
setClassesList
.
length
-
n
;
o
++
)
t
.
itemData
.
setClassesList
[
l
].
classesName
=
t
.
cycleData
[
0
].
classesList
[
o
%
c
].
classesName
,
t
.
itemData
.
setClassesList
[
l
].
classesId
=
t
.
cycleData
[
0
].
classesList
[
o
%
c
].
classesId
,
t
.
itemData
.
setClassesList
[
l
].
classColor
=
t
.
cycleData
[
0
].
classesList
[
o
%
c
].
classColor
,
t
.
itemData
.
setClassesList
[
l
].
isRest
=!
0
,
l
++
;
t
.
$emit
(
"refreshData"
,
JSON
.
parse
(
r
()(
t
.
itemData
))),
t
.
$forceUpdate
()}},
watch
:{
itemSchedule
:
function
(
t
){
this
.
itemData
=
JSON
.
parse
(
r
()(
t
))},
cycleData
:
function
(
t
){
this
.
itemCycleData
=
JSON
.
parse
(
r
()(
t
))}},
mounted
:
function
(){
this
.
itemData
=
JSON
.
parse
(
r
()(
this
.
itemSchedule
)),
this
.
itemCycleData
=
JSON
.
parse
(
r
()(
this
.
cycleData
))}},
u
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"day-tabs"
},[
a
(
"div"
,{
staticClass
:
"tablist"
},[
a
(
"div"
,{
staticClass
:
"right-content-top border-box"
},[
a
(
"div"
,{
staticClass
:
"right-top-wrap_left flex flex-pack-center"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-row flex-pack-center "
},[
a
(
"div"
,{
staticClass
:
"el-tabs__active-bar is-top"
,
style
:
t
.
translate
}),
t
.
_v
(
" "
),
a
(
"li"
,{
class
:[
"flex flex-align-center flex-pack-center p-lr-24"
,
1
==
t
.
activeTab
?
"active-li"
:
""
],
on
:{
click
:
function
(
e
){
t
.
chooseTab
(
e
,
"1"
)}}},[
a
(
"span"
,{
staticClass
:
"flex flex-align-center flex-pack-center right-top-title"
},[
t
.
_v
(
"按天排班"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
class
:[
"flex flex-align-center flex-pack-center p-lr-24"
,
2
==
t
.
activeTab
?
"active-li"
:
""
],
on
:{
click
:
function
(
e
){
t
.
chooseTab
(
e
,
"2"
)}}},[
a
(
"span"
,{
staticClass
:
"flex flex-align-center flex-pack-center right-top-title"
},[
t
.
_v
(
"按周期排班"
)])])])])])]),
t
.
_v
(
" "
),
1
==
t
.
activeTab
?
a
(
"ul"
,[
a
(
"li"
,[
a
(
"div"
,{
staticClass
:
"day-item-title"
,
attrs
:{
title
:
"修改该员工当天班次"
}},[
t
.
_v
(
"修改该员工当天班次"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
t
.
_l
(
t
.
classData
,
function
(
e
,
s
){
return
[
a
(
"li"
,{
key
:
s
+
"class"
,
staticClass
:
"day-class-item p-lr-20"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
daySet
(
e
)}}},[
a
(
"p"
,{
class
:[
"class-item"
,
e
.
classColor
]},[
t
.
_v
(
t
.
_s
(
e
.
classesName
))])])]}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
defaultData
,
function
(
e
,
s
){
return
[
a
(
"li"
,{
key
:
s
+
"defaultClass"
,
staticClass
:
"day-class-item p-lr-20"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
daySet
(
e
)}}},[
a
(
"p"
,{
class
:[
"class-item"
,
"-1"
==
e
.
classesId
?
"class-rest"
:
"class-clear"
]},[
t
.
_v
(
t
.
_s
(
e
.
classesName
))])])]})],
2
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
t
.
activeTab
?
a
(
"ul"
,[
a
(
"li"
,[
t
.
cycleData
.
length
?
a
(
"div"
,{
staticClass
:
"day-item-title"
,
attrs
:{
title
:
"从该天开始周期排班至月底"
}},[
t
.
_v
(
"从该天开始周期排班至月底"
)]):
a
(
"div"
,{
staticClass
:
"day-item-title"
,
attrs
:{
title
:
"还没有排班周期"
}},[
t
.
_v
(
"还没有排班周期"
),
a
(
"br"
),
t
.
_v
(
"请去后台考勤组规则里设置"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
t
.
cycleData
.
length
?
a
(
"li"
,{
staticClass
:
"day-class-item p-lr-20"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
dayWeekSet
(
e
)}}},[
a
(
"p"
,{
staticClass
:
"class-item day-tag-blue"
},[
t
.
_v
(
t
.
_s
(
t
.
cycleData
[
0
].
rangeName
)
+
" "
+
t
.
_s
(
t
.
cycleData
[
0
].
classesList
.
map
(
function
(
t
){
return
t
.
classesName
}).
join
(
"-"
)))])]):
a
(
"li"
,{
staticClass
:
"day-class-item p-lr-20"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
toCycleSet
(
e
)}}},[
a
(
"p"
,{
staticClass
:
"class-item day-tag-blue"
},[
t
.
_v
(
"请设置排班周期"
)])])])])]):
t
.
_e
()])},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
o
,
u
,
!
1
,
function
(
t
){
a
(
"JSVo"
)},
"data-v-10310f02"
,
null
).
exports
,
p
=
{
name
:
"workTimeManage"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
peopleDayClass
:
d
,
commonDetailTop
:
n
.
a
},
filters
:{
filterDay
:
function
(
t
){
return
new
Date
(
t
).
getDate
()}},
data
:
function
(){
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"考勤组管理"
,
path
:
"/workSet?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"编辑排班表"
}],
yearMonth
:(
new
Date
).
getFullYear
()
+
"-"
+
((
new
Date
).
getMonth
()
+
1
),
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
cycleData
:[],
classes
:[],
weekData
:[
"日"
,
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
],
dates
:[],
tableData
:[]}},
methods
:{
toSave
:
function
(){
var
t
=
this
,
e
=
[];
JSON
.
parse
(
r
()(
t
.
tableData
)).
forEach
(
function
(
a
){
a
.
setClassesList
.
forEach
(
function
(
s
){
e
.
push
({
attenceGroupId
:
t
.
$route
.
query
.
attenceGroupId
,
classesId
:
s
.
classesId
,
userId
:
a
.
userId
,
weekDay
:
s
.
weekDay
})})}),
t
.
postSave
(
e
)},
postSave
:
function
(
t
){
var
e
=
this
,
a
=
{
enterpriseId
:
e
.
enterpriseId
,
attenceGroupId
:
e
.
$route
.
query
.
attenceGroupId
,
setClassesJson
:
r
()(
t
)};
Object
(
c
.
e
)(
"/haoban-app-attence-web/set-classes"
,
a
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
i
.
a
.
showmsg
(
"保存成功"
,
"success"
),
!
1
;
l
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toReset
:
function
(){
this
.
pageSize
=
1
,
this
.
getTableList
(
this
.
brandId
)},
changeMonth
:
function
(){
this
.
pageSize
=
1
,
this
.
getTableList
(
this
.
brandId
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
(
this
.
brandId
)},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
(
this
.
brandId
)},
toWorkGroup
:
function
(){
this
.
$router
.
push
(
"/workGroupSet?appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&attenceGroupId="
+
this
.
$route
.
query
.
attenceGroupId
)},
refreshData
:
function
(
t
){
if
(
!
t
)
return
!
1
;
var
e
=
JSON
.
parse
(
r
()(
this
.
tableData
));
e
.
forEach
(
function
(
e
){
e
.
userId
==
t
.
userId
&&
(
e
.
setClassesList
=
t
.
setClassesList
)}),
this
.
tableData
=
JSON
.
parse
(
r
()(
e
)),
this
.
$forceUpdate
()},
getClassifyData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
enterpriseId
,
attenceGroupId
:
t
.
$route
.
query
.
attenceGroupId
};
Object
(
c
.
a
)(
"/haoban-app-attence-web/attence-classes-list"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
length
&&
a
.
result
.
forEach
(
function
(
t
,
e
){
e
%
7
==
0
&&
(
t
.
classColor
=
"day-tag-blue"
),
e
%
7
==
1
&&
(
t
.
classColor
=
"day-tag-red"
),
e
%
7
==
2
&&
(
t
.
classColor
=
"day-tag-purple"
),
e
%
7
==
3
&&
(
t
.
classColor
=
"day-tag-orange"
),
e
%
7
==
4
&&
(
t
.
classColor
=
"day-tag-green"
),
e
%
7
==
5
&&
(
t
.
classColor
=
"day-tag-pink"
),
e
%
7
==
6
&&
(
t
.
classColor
=
"day-tag-cyan"
),
t
.
classessTimesJson
&&
(
t
.
classessTimesJson
=
JSON
.
parse
(
t
.
classessTimesJson
))}),
t
.
classes
=
a
.
result
||
[],
t
.
getCycleData
(),
t
.
getTableList
(),
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getCycleData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
enterpriseId
,
attenceGroupId
:
t
.
$route
.
query
.
attenceGroupId
};
Object
(
c
.
a
)(
"/haoban-app-attence-web/attence-range-list"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
length
&&
a
.
result
.
forEach
(
function
(
e
){
e
.
classesList
&&
e
.
classesList
.
length
&&
e
.
classesList
.
forEach
(
function
(
e
){
t
.
classes
.
forEach
(
function
(
t
){
e
.
classesId
==
t
.
classesId
&&
(
e
.
classColor
=
t
.
classColor
)})})}),
t
.
cycleData
=
a
.
result
||
[],
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
month
:
e
.
yearMonth
,
enterpriseId
:
e
.
enterpriseId
,
attenceGroupId
:
e
.
$route
.
query
.
attenceGroupId
};
Object
(
c
.
e
)(
"/haoban-app-attence-web/set-classes-detail"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
total
=
a
.
result
.
totalCount
,
e
.
dates
=
JSON
.
parse
(
r
()(
a
.
result
.
params
.
dateList
)),
a
.
result
.
params
.
userList
.
forEach
(
function
(
t
){
t
.
setClassesList
.
forEach
(
function
(
t
){
t
.
classColor
=
t
.
classColor
?
t
.
classColor
:
""
,
e
.
classes
.
forEach
(
function
(
e
){
t
.
classesId
==
e
.
classesId
&&
(
t
.
classColor
=
e
.
classColor
)})})}),
e
.
tableData
=
JSON
.
parse
(
r
()(
a
.
result
.
params
.
userList
))
||
[],
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
getClassifyData
()}},
f
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"work-time border-box"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"work-time-content border-box"
},[
a
(
"div"
,{
staticClass
:
"classes-wrap m-b-20"
},[
a
(
"span"
,{
staticClass
:
"fl font-13 color-303133"
},[
t
.
_v
(
"班次说明:"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"class-row-tags"
},[
t
.
_l
(
t
.
classes
,
function
(
e
,
s
){
return
a
(
"div"
,{
key
:
s
,
class
:[
"class-tag"
,
s
%
7
==
0
?
"day-tag-blue"
:
""
,
s
%
7
==
1
?
"day-tag-red"
:
""
,
s
%
7
==
2
?
"day-tag-purple"
:
""
,
s
%
7
==
3
?
"day-tag-orange"
:
""
,
s
%
7
==
4
?
"day-tag-green"
:
""
,
s
%
7
==
5
?
"day-tag-pink"
:
""
,
s
%
7
==
6
?
"day-tag-cyan"
:
""
]},[
a
(
"span"
,{
staticClass
:
"class-tag-text"
},[
t
.
_v
(
"班次"
+
t
.
_s
(
e
.
classesName
)
+
":"
)]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
classess
,
function
(
e
,
s
){
return
a
(
"span"
,{
key
:
s
+
"time"
},[
t
.
_v
(
t
.
_s
(
e
.
startTime
)
+
"-"
+
t
.
_s
(
e
.
endTime
))])})],
2
)}),
t
.
_v
(
" "
),
t
.
_m
(
0
),
t
.
_v
(
" "
),
t
.
_m
(
1
)],
2
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"range-wrap m-b-20"
},[
a
(
"span"
,{
staticClass
:
"fl font-13 color-303133"
},[
t
.
_v
(
"排班周期:"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"class-row-tags"
},[
t
.
_l
(
t
.
cycleData
,
function
(
e
,
s
){
return
a
(
"div"
,{
key
:
s
+
"cycle"
,
staticClass
:
"class-tag"
},[
a
(
"span"
,{
staticClass
:
"ant-tag-text"
},[
t
.
_v
(
t
.
_s
(
e
.
rangeName
)
+
":"
)]),
t
.
_v
(
" "
),
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
classesList
.
map
(
function
(
t
){
return
t
.
classesName
}).
join
(
"-"
)))])])}),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
t
.
toWorkGroup
}},[
t
.
_v
(
"设置"
)])],
2
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"work-time-opt m-b-20 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"work-time-opt_left"
},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"month"
,
format
:
"yyyy-MM"
,
"value-format"
:
"yyyy-MM"
,
placeholder
:
"选择月"
},
on
:{
change
:
t
.
changeMonth
},
model
:{
value
:
t
.
yearMonth
,
callback
:
function
(
e
){
t
.
yearMonth
=
e
},
expression
:
"yearMonth"
}}),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-606266"
},[
t
.
_v
(
"未排班时,员工可选择班次打卡"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"work-time-opt_right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toSave
}},[
t
.
_v
(
"保存"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
on
:{
click
:
t
.
toReset
}},[
t
.
_v
(
"恢复"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"work-time-table"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 20px)"
},
attrs
:{
border
:
""
,
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
"show-overflow-tooltip"
:
""
,
fixed
:
""
,
resizable
:
!
1
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n 姓名
\
n "
)]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"row-username"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
userName
)
+
"
\
n "
)])]}}])}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
dates
,
function
(
e
,
s
){
return
[
a
(
"el-table-column"
,{
key
:
s
+
"thead"
,
attrs
:{
prop
:
""
,
"show-overflow-tooltip"
:
""
,
resizable
:
!
1
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
s
){
return
[
a
(
"div"
,{
class
:[
"text-center"
,
"六"
==
e
.
dayOfWeek
||
"日"
==
e
.
dayOfWeek
?
"color-red"
:
""
]},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
weekDay
?
parseInt
(
e
.
weekDay
.
split
(
"-"
)[
2
]):
""
)
+
" "
),
a
(
"br"
),
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
dayOfWeek
)
+
"
\
n "
)])]}},{
key
:
"default"
,
fn
:
function
(
r
){
return
[
a
(
"div"
,{
staticClass
:
"day-work"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
width
:
"231"
,
trigger
:
"click"
}},[
a
(
"people-day-class"
,{
attrs
:{
dates
:
t
.
dates
,
itemSchedule
:
r
.
row
,
weekDay
:
e
.
weekDay
,
classData
:
t
.
classes
,
cycleData
:
t
.
cycleData
},
on
:{
refreshData
:
t
.
refreshData
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"tool-tip-body"
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
class
:[
"day-work-cell schedule_del_class"
,
r
.
row
.
setClassesList
[
s
].
classColor
]},[
a
(
"div"
,{
staticClass
:
"day-work-cell_text"
},[
t
.
_v
(
t
.
_s
(
r
.
row
.
setClassesList
[
s
].
classesName
||
"清空"
))])])])],
1
)],
1
)]}}])})]})],
2
)],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()])],
1
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"schedule-content_tag"
},[
e
(
"div"
,{
staticClass
:
"class-tag"
},[
e
(
"span"
,{
staticClass
:
"class-tag-text"
},[
this
.
_v
(
"休息: 休息"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"schedule-content_tag"
},[
e
(
"div"
,{
staticClass
:
"class-tag"
},[
e
(
"span"
,{
staticClass
:
"class-tag-text"
},[
this
.
_v
(
"清空: 休息"
)])])])}]};
var
h
=
a
(
"VU/8"
)(
p
,
f
,
!
1
,
function
(
t
){
a
(
"w8Ki"
)},
"data-v-7169784e"
,
null
);
e
.
default
=
h
.
exports
},
JSVo
:
function
(
t
,
e
){},
w8Ki
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
39
],{
"/n/x"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"mvHQ"
),
r
=
a
.
n
(
s
),
n
=
a
(
"Ke24"
),
c
=
a
(
"P9l9"
),
l
=
a
(
"Ch4/"
),
i
=
a
(
"3E4D"
),
o
=
{
name
:
"people-day-class"
,
props
:{
classData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
cycleData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
itemSchedule
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
dates
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
weekDay
:{
type
:[
Number
,
String
],
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
translate
:{
width
:
"56px"
,
transform
:
"translateX(30px)"
},
defaultData
:[{
classesId
:
"-1"
,
classesName
:
"休息"
,
classColor
:
"day-tag-grey"
},{
classesId
:
"-2"
,
classesName
:
"清空"
,
classColor
:
""
}],
itemData
:{},
itemCycleData
:[]}},
methods
:{
chooseTab
:
function
(
t
,
e
){
this
.
activeTab
=
e
,
this
.
translate
=
{
width
:
t
.
target
.
offsetWidth
+
"px"
,
transform
:
"translateX("
+
t
.
target
.
offsetLeft
+
"px)"
}},
hideSet
:
function
(){
var
t
=
document
.
createElement
(
"button"
);
document
.
body
.
appendChild
(
t
),
t
.
click
(),
document
.
body
.
removeChild
(
t
)},
daySet
:
function
(
t
){
var
e
=
this
,
a
=
(
new
Date
).
getFullYear
(),
s
=
(
new
Date
).
getMonth
()
+
1
<
10
?(
new
Date
).
getMonth
()
+
1
:
"0"
+
((
new
Date
).
getMonth
()
+
1
),
n
=
(
new
Date
).
getDate
()
<
10
?(
new
Date
).
getDate
():
"0"
+
(
new
Date
).
getDate
();
if
(
new
Date
(
e
.
weekDay
).
getTime
()
<
new
Date
(
String
(
a
)
+
"-"
+
String
(
s
)
+
"-"
+
String
(
n
)).
getTime
())
return
i
.
a
.
showmsg
(
"不能设置今天以前的排班"
,
"warning"
),
!
1
;
e
.
hideSet
(),
e
.
itemData
.
setClassesList
.
map
(
function
(
t
){
return
t
.
weekDay
}).
includes
(
e
.
weekDay
)
&&
(
e
.
itemData
.
setClassesList
.
forEach
(
function
(
a
){
a
.
weekDay
==
e
.
weekDay
&&
(
a
.
classesName
=
t
.
classesName
,
a
.
classesId
=
t
.
classesId
,
a
.
classColor
=
t
.
classColor
,
a
.
isRest
=!
0
)}),
e
.
$emit
(
"refreshData"
,
JSON
.
parse
(
r
()(
e
.
itemData
))),
e
.
$forceUpdate
())},
toCycleSet
:
function
(){
this
.
$router
.
push
(
"/workGroupSet?appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&attenceGroupId="
+
this
.
$route
.
query
.
attenceGroupId
)},
dayWeekSet
:
function
(){
var
t
=
this
,
e
=
(
new
Date
).
getFullYear
(),
a
=
(
new
Date
).
getMonth
()
+
1
>
10
?(
new
Date
).
getMonth
()
+
1
:
"0"
+
((
new
Date
).
getMonth
()
+
1
),
s
=
(
new
Date
).
getDate
()
>
10
?(
new
Date
).
getDate
():
"0"
+
(
new
Date
).
getDate
();
if
(
new
Date
(
t
.
weekDay
).
getTime
()
<
new
Date
(
String
(
e
)
+
"-"
+
String
(
a
)
+
"-"
+
String
(
s
)).
getTime
())
return
i
.
a
.
showmsg
(
"不能设置今天以前的排班"
,
"warning"
),
!
1
;
var
n
=
0
;
t
.
itemData
.
setClassesList
.
forEach
(
function
(
e
,
a
){
t
.
weekDay
==
e
.
weekDay
&&
(
n
=
a
)}),
t
.
hideSet
();
for
(
var
c
=
t
.
cycleData
[
0
].
classesList
.
length
,
l
=
n
,
o
=
0
;
o
<
t
.
itemData
.
setClassesList
.
length
-
n
;
o
++
)
t
.
itemData
.
setClassesList
[
l
].
classesName
=
t
.
cycleData
[
0
].
classesList
[
o
%
c
].
classesName
,
t
.
itemData
.
setClassesList
[
l
].
classesId
=
t
.
cycleData
[
0
].
classesList
[
o
%
c
].
classesId
,
t
.
itemData
.
setClassesList
[
l
].
classColor
=
t
.
cycleData
[
0
].
classesList
[
o
%
c
].
classColor
,
t
.
itemData
.
setClassesList
[
l
].
isRest
=!
0
,
l
++
;
t
.
$emit
(
"refreshData"
,
JSON
.
parse
(
r
()(
t
.
itemData
))),
t
.
$forceUpdate
()}},
watch
:{
itemSchedule
:
function
(
t
){
this
.
itemData
=
JSON
.
parse
(
r
()(
t
))},
cycleData
:
function
(
t
){
this
.
itemCycleData
=
JSON
.
parse
(
r
()(
t
))}},
mounted
:
function
(){
this
.
itemData
=
JSON
.
parse
(
r
()(
this
.
itemSchedule
)),
this
.
itemCycleData
=
JSON
.
parse
(
r
()(
this
.
cycleData
))}},
u
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"day-tabs"
},[
a
(
"div"
,{
staticClass
:
"tablist"
},[
a
(
"div"
,{
staticClass
:
"right-content-top border-box"
},[
a
(
"div"
,{
staticClass
:
"right-top-wrap_left flex flex-pack-center"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-row flex-pack-center "
},[
a
(
"div"
,{
staticClass
:
"el-tabs__active-bar is-top"
,
style
:
t
.
translate
}),
t
.
_v
(
" "
),
a
(
"li"
,{
class
:[
"flex flex-align-center flex-pack-center p-lr-24"
,
1
==
t
.
activeTab
?
"active-li"
:
""
],
on
:{
click
:
function
(
e
){
t
.
chooseTab
(
e
,
"1"
)}}},[
a
(
"span"
,{
staticClass
:
"flex flex-align-center flex-pack-center right-top-title"
},[
t
.
_v
(
"按天排班"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
class
:[
"flex flex-align-center flex-pack-center p-lr-24"
,
2
==
t
.
activeTab
?
"active-li"
:
""
],
on
:{
click
:
function
(
e
){
t
.
chooseTab
(
e
,
"2"
)}}},[
a
(
"span"
,{
staticClass
:
"flex flex-align-center flex-pack-center right-top-title"
},[
t
.
_v
(
"按周期排班"
)])])])])])]),
t
.
_v
(
" "
),
1
==
t
.
activeTab
?
a
(
"ul"
,[
a
(
"li"
,[
a
(
"div"
,{
staticClass
:
"day-item-title"
,
attrs
:{
title
:
"修改该员工当天班次"
}},[
t
.
_v
(
"修改该员工当天班次"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
t
.
_l
(
t
.
classData
,
function
(
e
,
s
){
return
[
a
(
"li"
,{
key
:
s
+
"class"
,
staticClass
:
"day-class-item p-lr-20"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
daySet
(
e
)}}},[
a
(
"p"
,{
class
:[
"class-item"
,
e
.
classColor
]},[
t
.
_v
(
t
.
_s
(
e
.
classesName
))])])]}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
defaultData
,
function
(
e
,
s
){
return
[
a
(
"li"
,{
key
:
s
+
"defaultClass"
,
staticClass
:
"day-class-item p-lr-20"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
daySet
(
e
)}}},[
a
(
"p"
,{
class
:[
"class-item"
,
"-1"
==
e
.
classesId
?
"class-rest"
:
"class-clear"
]},[
t
.
_v
(
t
.
_s
(
e
.
classesName
))])])]})],
2
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
t
.
activeTab
?
a
(
"ul"
,[
a
(
"li"
,[
t
.
cycleData
.
length
?
a
(
"div"
,{
staticClass
:
"day-item-title"
,
attrs
:{
title
:
"从该天开始周期排班至月底"
}},[
t
.
_v
(
"从该天开始周期排班至月底"
)]):
a
(
"div"
,{
staticClass
:
"day-item-title"
,
attrs
:{
title
:
"还没有排班周期"
}},[
t
.
_v
(
"还没有排班周期"
),
a
(
"br"
),
t
.
_v
(
"请去后台考勤组规则里设置"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
t
.
cycleData
.
length
?
a
(
"li"
,{
staticClass
:
"day-class-item p-lr-20"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
dayWeekSet
(
e
)}}},[
a
(
"p"
,{
staticClass
:
"class-item day-tag-blue"
},[
t
.
_v
(
t
.
_s
(
t
.
cycleData
[
0
].
rangeName
)
+
" "
+
t
.
_s
(
t
.
cycleData
[
0
].
classesList
.
map
(
function
(
t
){
return
t
.
classesName
}).
join
(
"-"
)))])]):
a
(
"li"
,{
staticClass
:
"day-class-item p-lr-20"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
toCycleSet
(
e
)}}},[
a
(
"p"
,{
staticClass
:
"class-item day-tag-blue"
},[
t
.
_v
(
"请设置排班周期"
)])])])])]):
t
.
_e
()])},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
o
,
u
,
!
1
,
function
(
t
){
a
(
"JSVo"
)},
"data-v-10310f02"
,
null
).
exports
,
p
=
{
name
:
"workTimeManage"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
peopleDayClass
:
d
,
commonDetailTop
:
n
.
a
},
filters
:{
filterDay
:
function
(
t
){
return
new
Date
(
t
).
getDate
()}},
data
:
function
(){
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"考勤组管理"
,
path
:
"/workSet?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"编辑排班表"
}],
yearMonth
:(
new
Date
).
getFullYear
()
+
"-"
+
((
new
Date
).
getMonth
()
+
1
),
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
cycleData
:[],
classes
:[],
weekData
:[
"日"
,
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
],
dates
:[],
tableData
:[]}},
methods
:{
toSave
:
function
(){
var
t
=
this
,
e
=
[];
JSON
.
parse
(
r
()(
t
.
tableData
)).
forEach
(
function
(
a
){
a
.
setClassesList
.
forEach
(
function
(
s
){
e
.
push
({
attenceGroupId
:
t
.
$route
.
query
.
attenceGroupId
,
classesId
:
s
.
classesId
,
userId
:
a
.
userId
,
weekDay
:
s
.
weekDay
})})}),
t
.
postSave
(
e
)},
postSave
:
function
(
t
){
var
e
=
this
,
a
=
{
enterpriseId
:
e
.
enterpriseId
,
attenceGroupId
:
e
.
$route
.
query
.
attenceGroupId
,
setClassesJson
:
r
()(
t
)};
Object
(
c
.
e
)(
"/haoban-app-attence-web/set-classes"
,
a
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
i
.
a
.
showmsg
(
"保存成功"
,
"success"
),
!
1
;
l
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toReset
:
function
(){
this
.
pageSize
=
1
,
this
.
getTableList
(
this
.
brandId
)},
changeMonth
:
function
(){
this
.
dates
=
[],
this
.
tableData
=
[],
this
.
pageSize
=
1
,
this
.
getTableList
(
this
.
brandId
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
(
this
.
brandId
)},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
(
this
.
brandId
)},
toWorkGroup
:
function
(){
this
.
$router
.
push
(
"/workGroupSet?appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&attenceGroupId="
+
this
.
$route
.
query
.
attenceGroupId
)},
refreshData
:
function
(
t
){
if
(
!
t
)
return
!
1
;
var
e
=
JSON
.
parse
(
r
()(
this
.
tableData
));
e
.
forEach
(
function
(
e
){
e
.
userId
==
t
.
userId
&&
(
e
.
setClassesList
=
t
.
setClassesList
)}),
this
.
tableData
=
JSON
.
parse
(
r
()(
e
)),
this
.
$forceUpdate
()},
getClassifyData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
enterpriseId
,
attenceGroupId
:
t
.
$route
.
query
.
attenceGroupId
};
Object
(
c
.
a
)(
"/haoban-app-attence-web/attence-classes-list"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
length
&&
a
.
result
.
forEach
(
function
(
t
,
e
){
e
%
7
==
0
&&
(
t
.
classColor
=
"day-tag-blue"
),
e
%
7
==
1
&&
(
t
.
classColor
=
"day-tag-red"
),
e
%
7
==
2
&&
(
t
.
classColor
=
"day-tag-purple"
),
e
%
7
==
3
&&
(
t
.
classColor
=
"day-tag-orange"
),
e
%
7
==
4
&&
(
t
.
classColor
=
"day-tag-green"
),
e
%
7
==
5
&&
(
t
.
classColor
=
"day-tag-pink"
),
e
%
7
==
6
&&
(
t
.
classColor
=
"day-tag-cyan"
),
t
.
classessTimesJson
&&
(
t
.
classessTimesJson
=
JSON
.
parse
(
t
.
classessTimesJson
))}),
t
.
classes
=
a
.
result
||
[],
t
.
getCycleData
(),
t
.
getTableList
(),
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getCycleData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
enterpriseId
,
attenceGroupId
:
t
.
$route
.
query
.
attenceGroupId
};
Object
(
c
.
a
)(
"/haoban-app-attence-web/attence-range-list"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
length
&&
a
.
result
.
forEach
(
function
(
e
){
e
.
classesList
&&
e
.
classesList
.
length
&&
e
.
classesList
.
forEach
(
function
(
e
){
t
.
classes
.
forEach
(
function
(
t
){
e
.
classesId
==
t
.
classesId
&&
(
e
.
classColor
=
t
.
classColor
)})})}),
t
.
cycleData
=
a
.
result
||
[],
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
month
:
e
.
yearMonth
,
enterpriseId
:
e
.
enterpriseId
,
attenceGroupId
:
e
.
$route
.
query
.
attenceGroupId
};
Object
(
c
.
e
)(
"/haoban-app-attence-web/set-classes-detail"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
total
=
a
.
result
.
totalCount
,
e
.
dates
=
JSON
.
parse
(
r
()(
a
.
result
.
params
.
dateList
)),
a
.
result
.
params
.
userList
.
forEach
(
function
(
t
){
t
.
setClassesList
.
forEach
(
function
(
t
){
t
.
classColor
=
t
.
classColor
?
t
.
classColor
:
""
,
e
.
classes
.
forEach
(
function
(
e
){
t
.
classesId
==
e
.
classesId
&&
(
t
.
classColor
=
e
.
classColor
)})})}),
e
.
tableData
=
JSON
.
parse
(
r
()(
a
.
result
.
params
.
userList
))
||
[],
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
getClassifyData
()}},
f
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"work-time border-box"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"work-time-content border-box"
},[
a
(
"div"
,{
staticClass
:
"classes-wrap m-b-20"
},[
a
(
"span"
,{
staticClass
:
"fl font-13 color-303133"
},[
t
.
_v
(
"班次说明:"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"class-row-tags"
},[
t
.
_l
(
t
.
classes
,
function
(
e
,
s
){
return
a
(
"div"
,{
key
:
s
,
class
:[
"class-tag"
,
s
%
7
==
0
?
"day-tag-blue"
:
""
,
s
%
7
==
1
?
"day-tag-red"
:
""
,
s
%
7
==
2
?
"day-tag-purple"
:
""
,
s
%
7
==
3
?
"day-tag-orange"
:
""
,
s
%
7
==
4
?
"day-tag-green"
:
""
,
s
%
7
==
5
?
"day-tag-pink"
:
""
,
s
%
7
==
6
?
"day-tag-cyan"
:
""
]},[
a
(
"span"
,{
staticClass
:
"class-tag-text"
},[
t
.
_v
(
"班次"
+
t
.
_s
(
e
.
classesName
)
+
":"
)]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
classess
,
function
(
e
,
s
){
return
a
(
"span"
,{
key
:
s
+
"time"
},[
t
.
_v
(
t
.
_s
(
e
.
startTime
)
+
"-"
+
t
.
_s
(
e
.
endTime
))])})],
2
)}),
t
.
_v
(
" "
),
t
.
_m
(
0
),
t
.
_v
(
" "
),
t
.
_m
(
1
)],
2
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"range-wrap m-b-20"
},[
a
(
"span"
,{
staticClass
:
"fl font-13 color-303133"
},[
t
.
_v
(
"排班周期:"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"class-row-tags"
},[
t
.
_l
(
t
.
cycleData
,
function
(
e
,
s
){
return
a
(
"div"
,{
key
:
s
+
"cycle"
,
staticClass
:
"class-tag"
},[
a
(
"span"
,{
staticClass
:
"ant-tag-text"
},[
t
.
_v
(
t
.
_s
(
e
.
rangeName
)
+
":"
)]),
t
.
_v
(
" "
),
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
classesList
.
map
(
function
(
t
){
return
t
.
classesName
}).
join
(
"-"
)))])])}),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
t
.
toWorkGroup
}},[
t
.
_v
(
"设置"
)])],
2
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"work-time-opt m-b-20 flex flex-space-between"
,
staticStyle
:{
width
:
"calc(100% - 20px)"
}},[
a
(
"div"
,{
staticClass
:
"work-time-opt_left"
},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"month"
,
format
:
"yyyy-MM"
,
"value-format"
:
"yyyy-MM"
,
placeholder
:
"选择月"
},
on
:{
change
:
t
.
changeMonth
},
model
:{
value
:
t
.
yearMonth
,
callback
:
function
(
e
){
t
.
yearMonth
=
e
},
expression
:
"yearMonth"
}}),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-606266"
},[
t
.
_v
(
"未排班时,员工可选择班次打卡"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"work-time-opt_right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toSave
}},[
t
.
_v
(
"保存"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
on
:{
click
:
t
.
toReset
}},[
t
.
_v
(
"恢复"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"work-time-table"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 20px)"
},
attrs
:{
border
:
""
,
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
"show-overflow-tooltip"
:
""
,
fixed
:
""
,
resizable
:
!
1
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n 姓名
\
n "
)]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"row-username"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
userName
)
+
"
\
n "
)])]}}])}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
dates
,
function
(
e
,
s
){
return
[
a
(
"el-table-column"
,{
key
:
s
+
"thead"
,
attrs
:{
prop
:
""
,
"show-overflow-tooltip"
:
""
,
resizable
:
!
1
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
s
){
return
[
a
(
"div"
,{
class
:[
"text-center"
,
"六"
==
e
.
dayOfWeek
||
"日"
==
e
.
dayOfWeek
?
"color-red"
:
""
]},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
weekDay
?
parseInt
(
e
.
weekDay
.
split
(
"-"
)[
2
]):
""
)
+
" "
),
a
(
"br"
),
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
dayOfWeek
)
+
"
\
n "
)])]}},{
key
:
"default"
,
fn
:
function
(
r
){
return
[
a
(
"div"
,{
staticClass
:
"day-work"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
width
:
"231"
,
trigger
:
"click"
}},[
a
(
"people-day-class"
,{
attrs
:{
dates
:
t
.
dates
,
itemSchedule
:
r
.
row
,
weekDay
:
e
.
weekDay
,
classData
:
t
.
classes
,
cycleData
:
t
.
cycleData
},
on
:{
refreshData
:
t
.
refreshData
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"tool-tip-body"
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
class
:[
"day-work-cell schedule_del_class"
,
r
.
row
.
setClassesList
[
s
].
classColor
]},[
a
(
"div"
,{
staticClass
:
"day-work-cell_text"
},[
t
.
_v
(
t
.
_s
(
r
.
row
.
setClassesList
[
s
].
classesName
||
"清空"
))])])])],
1
)],
1
)]}}])})]})],
2
)],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()])],
1
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"schedule-content_tag"
},[
e
(
"div"
,{
staticClass
:
"class-tag"
},[
e
(
"span"
,{
staticClass
:
"class-tag-text"
},[
this
.
_v
(
"休息: 休息"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"schedule-content_tag"
},[
e
(
"div"
,{
staticClass
:
"class-tag"
},[
e
(
"span"
,{
staticClass
:
"class-tag-text"
},[
this
.
_v
(
"清空: 休息"
)])])])}]};
var
h
=
a
(
"VU/8"
)(
p
,
f
,
!
1
,
function
(
t
){
a
(
"J2dp"
)},
"data-v-4bc200ca"
,
null
);
e
.
default
=
h
.
exports
},
J2dp
:
function
(
t
,
e
){},
JSVo
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/manifest.
2bb487058f0eb6f6c870
.js
→
dist/static/js/manifest.
d4ca0bd3106cd82b47af
.js
View file @
71dcdf9f
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
103
:
0
};
function
b
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
b
){
c
=
f
[
e
]
=
[
a
,
b
]});
c
[
2
]
=
a
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"2baca21202cf454cd7b0"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"54aabab28c7735d34c10"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"b5e24a58d047a2ec70f5"
,
6
:
"124ad8222f7b043b44ae"
,
7
:
"ebad93a8c5bffffd9e98"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"879536ae7ce46f0c54ec"
,
13
:
"57e51fc1b6342003f25d"
,
14
:
"dce1b92c12422c24e840"
,
15
:
"ff02049c8f18cb82efa6"
,
16
:
"f483f95dbac654c7de5a"
,
17
:
"ff6edf624b982c354977"
,
18
:
"d50ec99b96f7acbb4d42"
,
19
:
"d7d09ae4564d64842009"
,
20
:
"455fd80bd8af15457c57"
,
21
:
"c1b5e15e28768af52654"
,
22
:
"2a873e819c6c369d5cd1"
,
23
:
"d2380bf3c276e741313b"
,
24
:
"56085041ae784faf3c32"
,
25
:
"e23f42a6b2180b63c129"
,
26
:
"606394f2e20eb1a455fa"
,
27
:
"4a1c52078d154a141023"
,
28
:
"70cb3f87bd69723dbd41"
,
29
:
"c5bb15e8e1bd17cdc0f7"
,
30
:
"feb81cd112a60d4701eb"
,
31
:
"20f69d688df3827843c5"
,
32
:
"0c7863fa05e5c75053c3"
,
33
:
"f4e32fc6846aa744ee48"
,
34
:
"0fb2eb67d47b9ecbd519"
,
35
:
"e64c33855b455bcdd9a2"
,
36
:
"8615782328f743c5f783"
,
37
:
"8d599976023acb79bef4"
,
38
:
"6620399d71206af0621b"
,
39
:
"99abd17e0b1bfc252097"
,
40
:
"bf494f662eed5b762aa1"
,
41
:
"17121c9227dddf24b37d"
,
42
:
"54f2f4850c109391114a"
,
43
:
"fb46c0bad10552e7ef89"
,
44
:
"3d32c7e1954754671303"
,
45
:
"c0accd45711184d0044d"
,
46
:
"785c8076b8d217da747e"
,
47
:
"b477848570e876912bdb"
,
48
:
"32a6d29de6b93cd9201c"
,
49
:
"1a7182d9cdf2e08ff7f0"
,
50
:
"4235ecfe09e1fc4e1ca4"
,
51
:
"2f363aaad04264e9f159"
,
52
:
"d56e883ddcbef7c6b221"
,
53
:
"ec91f2b143d0b1e708b5"
,
54
:
"31eed9c38748896262d1"
,
55
:
"4f96191ae2c44c6f18f7"
,
56
:
"99063bd3b07926595af4"
,
57
:
"ba6530916d934b70d218"
,
58
:
"2241679269f18e7f14c3"
,
59
:
"5c336f6f4d119300c1d8"
,
60
:
"d43c13d5c29feb45e864"
,
61
:
"0806aac37bd2b86e8bc2"
,
62
:
"8ef5c75f77376ecd8873"
,
63
:
"bbe4da77ef31a0aa9150"
,
64
:
"f26939887c305ec6f7fc"
,
65
:
"069ccaf5f8e5b5f3c59d"
,
66
:
"5f0382c9cb76b57ba778"
,
67
:
"745b9621e5297c575b33"
,
68
:
"aaaa125fb978b59c2cbf"
,
69
:
"bb6a8bab41cac9f11bd4"
,
70
:
"a226d330de7ebb2a4c5f"
,
71
:
"9551ae81326c57064dec"
,
72
:
"cb1b3985b92be4556fc1"
,
73
:
"b6b1fb51b601c0fafcda"
,
74
:
"6206c00744e77bc84fec"
,
75
:
"93eb5a61daaa3a1df425"
,
76
:
"78e5a422e9fecbbd255a"
,
77
:
"b3f7cf4d2b54d306c522"
,
78
:
"1fc3472c5f95a0a66979"
,
79
:
"69811ba75d1fceae9737"
,
80
:
"12442b543aff65f2c05d"
,
81
:
"00a94b58ac2affb758dc"
,
82
:
"1fa56152d6bdcfd4ec14"
,
83
:
"976088a6ee120b8caa17"
,
84
:
"45dae077c86a1a0050ff"
,
85
:
"0c7635a15cceae31d981"
,
86
:
"d0d0607a424156f2d88d"
,
87
:
"aee44c25b8d252c44b6e"
,
88
:
"6583c4b0dc7a8f908fa2"
,
89
:
"8d513b9c9d7970a612c0"
,
90
:
"57319965505945b3ae7e"
,
91
:
"446342439ce97b19c84f"
,
92
:
"09a5823b00d6180576b9"
,
93
:
"e801fdd8bbd27a68d8ee"
,
94
:
"c50da77d4e1d5a44b971"
,
95
:
"04507f6fadd31b01a746"
,
96
:
"d4a4beef007fa347bd93"
,
97
:
"8b0f08b3974b32d7bc2a"
,
98
:
"69c8efc82743796dc255"
,
99
:
"58cc1884c4f80303999a"
,
102
:
"2c7e1d628bd2f4ac709c"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
b
.
m
=
e
,
b
.
c
=
a
,
b
.
d
=
function
(
e
,
c
,
a
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
103
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"2baca21202cf454cd7b0"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"54aabab28c7735d34c10"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"b5e24a58d047a2ec70f5"
,
6
:
"124ad8222f7b043b44ae"
,
7
:
"ebad93a8c5bffffd9e98"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"879536ae7ce46f0c54ec"
,
13
:
"57e51fc1b6342003f25d"
,
14
:
"dce1b92c12422c24e840"
,
15
:
"ff02049c8f18cb82efa6"
,
16
:
"f483f95dbac654c7de5a"
,
17
:
"ff6edf624b982c354977"
,
18
:
"d50ec99b96f7acbb4d42"
,
19
:
"d7d09ae4564d64842009"
,
20
:
"455fd80bd8af15457c57"
,
21
:
"c1b5e15e28768af52654"
,
22
:
"2a873e819c6c369d5cd1"
,
23
:
"d2380bf3c276e741313b"
,
24
:
"56085041ae784faf3c32"
,
25
:
"e23f42a6b2180b63c129"
,
26
:
"606394f2e20eb1a455fa"
,
27
:
"4a1c52078d154a141023"
,
28
:
"70cb3f87bd69723dbd41"
,
29
:
"c5bb15e8e1bd17cdc0f7"
,
30
:
"feb81cd112a60d4701eb"
,
31
:
"20f69d688df3827843c5"
,
32
:
"0c7863fa05e5c75053c3"
,
33
:
"f4e32fc6846aa744ee48"
,
34
:
"0fb2eb67d47b9ecbd519"
,
35
:
"e64c33855b455bcdd9a2"
,
36
:
"8615782328f743c5f783"
,
37
:
"8d599976023acb79bef4"
,
38
:
"6620399d71206af0621b"
,
39
:
"7b5b9a339d19d2dd1d2f"
,
40
:
"bf494f662eed5b762aa1"
,
41
:
"17121c9227dddf24b37d"
,
42
:
"54f2f4850c109391114a"
,
43
:
"fb46c0bad10552e7ef89"
,
44
:
"3d32c7e1954754671303"
,
45
:
"c0accd45711184d0044d"
,
46
:
"785c8076b8d217da747e"
,
47
:
"b477848570e876912bdb"
,
48
:
"32a6d29de6b93cd9201c"
,
49
:
"1a7182d9cdf2e08ff7f0"
,
50
:
"4235ecfe09e1fc4e1ca4"
,
51
:
"2f363aaad04264e9f159"
,
52
:
"d56e883ddcbef7c6b221"
,
53
:
"ec91f2b143d0b1e708b5"
,
54
:
"31eed9c38748896262d1"
,
55
:
"4f96191ae2c44c6f18f7"
,
56
:
"99063bd3b07926595af4"
,
57
:
"ba6530916d934b70d218"
,
58
:
"2241679269f18e7f14c3"
,
59
:
"5c336f6f4d119300c1d8"
,
60
:
"d43c13d5c29feb45e864"
,
61
:
"0806aac37bd2b86e8bc2"
,
62
:
"8ef5c75f77376ecd8873"
,
63
:
"bbe4da77ef31a0aa9150"
,
64
:
"f26939887c305ec6f7fc"
,
65
:
"069ccaf5f8e5b5f3c59d"
,
66
:
"5f0382c9cb76b57ba778"
,
67
:
"745b9621e5297c575b33"
,
68
:
"aaaa125fb978b59c2cbf"
,
69
:
"bb6a8bab41cac9f11bd4"
,
70
:
"a226d330de7ebb2a4c5f"
,
71
:
"9551ae81326c57064dec"
,
72
:
"cb1b3985b92be4556fc1"
,
73
:
"b6b1fb51b601c0fafcda"
,
74
:
"6206c00744e77bc84fec"
,
75
:
"93eb5a61daaa3a1df425"
,
76
:
"78e5a422e9fecbbd255a"
,
77
:
"b3f7cf4d2b54d306c522"
,
78
:
"1fc3472c5f95a0a66979"
,
79
:
"69811ba75d1fceae9737"
,
80
:
"12442b543aff65f2c05d"
,
81
:
"00a94b58ac2affb758dc"
,
82
:
"1fa56152d6bdcfd4ec14"
,
83
:
"976088a6ee120b8caa17"
,
84
:
"45dae077c86a1a0050ff"
,
85
:
"0c7635a15cceae31d981"
,
86
:
"d0d0607a424156f2d88d"
,
87
:
"aee44c25b8d252c44b6e"
,
88
:
"6583c4b0dc7a8f908fa2"
,
89
:
"8d513b9c9d7970a612c0"
,
90
:
"57319965505945b3ae7e"
,
91
:
"446342439ce97b19c84f"
,
92
:
"09a5823b00d6180576b9"
,
93
:
"e801fdd8bbd27a68d8ee"
,
94
:
"c50da77d4e1d5a44b971"
,
95
:
"04507f6fadd31b01a746"
,
96
:
"d4a4beef007fa347bd93"
,
97
:
"8b0f08b3974b32d7bc2a"
,
98
:
"69c8efc82743796dc255"
,
99
:
"58cc1884c4f80303999a"
,
102
:
"2c7e1d628bd2f4ac709c"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/views/enterpriseApp/dailyAttendance/workTimeManage.vue
View file @
71dcdf9f
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-09-18 15:25:12
* @LastEditors : 无尘
* @LastEditTime : 2019-12-26 10:
08:14
* @LastEditTime : 2019-12-26 10:
18:37
-->
<
template
>
...
...
@@ -39,7 +39,7 @@
<el-button
type=
"text"
@
click=
"toWorkGroup"
>
设置
</el-button>
</div>
</div>
<div
class=
"work-time-opt m-b-20 flex flex-space-between"
>
<div
class=
"work-time-opt m-b-20 flex flex-space-between"
style=
"width: calc(100% - 20px);"
>
<div
class=
"work-time-opt_left"
>
<el-date-picker
v-model=
"yearMonth"
type=
"month"
format=
"yyyy-MM"
value-format=
"yyyy-MM"
placeholder=
"选择月"
@
change=
"changeMonth"
>
</el-date-picker>
<span
class=
"p-l-10 font-12 color-606266"
>
未排班时,员工可选择班次打卡
</span>
...
...
@@ -250,6 +250,8 @@ export default {
*/
changeMonth
()
{
const
that
=
this
;
that
.
dates
=
[];
that
.
tableData
=
[];
that
.
pageSize
=
1
;
that
.
getTableList
(
that
.
brandId
);
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment