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
0d68e2b7
Commit
0d68e2b7
authored
Dec 25, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改考勤组数据
parent
eb6fbb34
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
100 additions
and
121 deletions
+100
-121
index.html
dist/index.html
+2
-2
app.9a4bf4115a85a686888e71a788fe8438.css
dist/static/css/app.9a4bf4115a85a686888e71a788fe8438.css
+0
-0
15.09bd7cff5ebf3ac736ef.js
dist/static/js/15.09bd7cff5ebf3ac736ef.js
+0
-2
15.b9d0cf0cc0231fa10357.js
dist/static/js/15.b9d0cf0cc0231fa10357.js
+2
-0
31.20f69d688df3827843c5.js
dist/static/js/31.20f69d688df3827843c5.js
+2
-2
32.0c7863fa05e5c75053c3.js
dist/static/js/32.0c7863fa05e5c75053c3.js
+2
-2
33.f4e32fc6846aa744ee48.js
dist/static/js/33.f4e32fc6846aa744ee48.js
+2
-2
34.0fb2eb67d47b9ecbd519.js
dist/static/js/34.0fb2eb67d47b9ecbd519.js
+2
-2
35.e64c33855b455bcdd9a2.js
dist/static/js/35.e64c33855b455bcdd9a2.js
+2
-2
36.7b2e2fedc166438ee6b0.js
dist/static/js/36.7b2e2fedc166438ee6b0.js
+2
-2
app.9c584469c2b22effc5a0.js
dist/static/js/app.9c584469c2b22effc5a0.js
+2
-2
manifest.2265f86cc35c034eadc4.js
dist/static/js/manifest.2265f86cc35c034eadc4.js
+2
-2
class-select-mult.vue
src/components/app/dailyAttendance/class-select-mult.vue
+4
-2
class-select.vue
src/components/app/dailyAttendance/class-select.vue
+5
-3
cycle-set.vue
src/components/app/dailyAttendance/cycle-set.vue
+55
-93
workGroupSet.vue
src/views/enterpriseApp/dailyAttendance/workGroupSet.vue
+11
-2
workTimeManage.vue
src/views/enterpriseApp/dailyAttendance/workTimeManage.vue
+5
-1
No files found.
dist/index.html
View file @
0d68e2b7
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.fe90169e105f672f4099780ab65f5c28.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.68369f7a6f5bff351a51.js
></script><script
type=
text/javascript
src=
./static/js/vendor.0000e68e65e4a9dc3840.js
></script><script
type=
text/javascript
src=
./static/js/app.0fdd6f9db01df4317e29.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.9a4bf4115a85a686888e71a788fe8438.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.2265f86cc35c034eadc4.js
></script><script
type=
text/javascript
src=
./static/js/vendor.0000e68e65e4a9dc3840.js
></script><script
type=
text/javascript
src=
./static/js/app.9c584469c2b22effc5a0.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
fe90169e105f672f4099780ab65f5c2
8.css
→
dist/static/css/app.
9a4bf4115a85a686888e71a788fe843
8.css
View file @
0d68e2b7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/15.09bd7cff5ebf3ac736ef.js
deleted
100644 → 0
View file @
eb6fbb34
webpackJsonp
([
15
],{
"08l2"
:
function
(
e
,
t
){},
estW
:
function
(
e
,
t
,
s
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"Gu7T"
),
l
=
s
.
n
(
a
),
o
=
s
(
"mvHQ"
),
n
=
s
.
n
(
o
),
r
=
s
(
"Xxa5"
),
i
=
s
.
n
(
r
),
c
=
s
(
"exGp"
),
u
=
s
.
n
(
c
),
d
=
s
(
"P9l9"
),
m
=
s
(
"3E4D"
),
p
=
s
(
"PI0u"
),
g
=
{
name
:
"class-select"
,
components
:{},
props
:{
workClassShow
:{
type
:
Boolean
,
default
:
!
1
},
classesId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
selClassesId
:
this
.
classesId
,
customDialog
:
!
1
,
tableData
:[],
classesName
:
""
}},
methods
:{
toInput
:
Object
(
p
.
a
)(
function
(
e
,
t
){
this
.
getClassifyData
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getClassifyData
()},
customConfirm
:
Object
(
p
.
a
)(
u
()(
i
.
a
.
mark
(
function
e
(){
var
t
,
s
;
return
i
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
((
t
=
this
).
customDialog
=!
1
,
t
.
selClassesId
){
e
.
next
=
5
;
break
}
return
m
.
a
.
showmsg
(
"请选择班次"
,
"warning"
),
e
.
abrupt
(
"return"
,
!
1
);
case
5
:
s
=
{},
t
.
tableData
.
forEach
(
function
(
e
){
e
.
classesId
==
t
.
selClassesId
&&
(
s
=
e
)}),
t
.
$emit
(
"hideClassDialog"
,
s
),
t
.
$nextTick
(
function
(){
t
.
selClassesId
=
""
});
case
9
:
case
"end"
:
return
e
.
stop
()}},
e
,
this
)})),
300
),
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
var
e
=
this
;
e
.
customDialog
=!
1
,
e
.
$emit
(
"hideClassDialog"
),
e
.
$nextTick
(
function
(){
e
.
selClassesId
=
""
})},
getClassifyData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
enterpriseId
,
classesName
:
e
.
classesName
};
Object
(
d
.
a
)(
"/haoban-app-attence-web/attence-classes-list"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
1
==
s
.
errorCode
&&
(
s
.
result
&&
s
.
result
.
length
&&
s
.
result
.
forEach
(
function
(
e
){
e
.
classessTimesJson
&&
(
e
.
classessTimesJson
=
JSON
.
parse
(
e
.
classessTimesJson
))}),
e
.
tableData
=
s
.
result
||
[])}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
workClassShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
classesId
:
function
(
e
){
this
.
selClassesId
=
e
||
""
}},
mounted
:
function
(){
this
.
getClassifyData
(),
this
.
classesId
?
this
.
selClassesId
=
this
.
classesId
:
this
.
selClassesId
=
""
,
this
.
customDialog
=
this
.
workClassShow
}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"选择班次"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
s
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
s
(
"div"
,{
staticClass
:
"m-b-20"
},[
s
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入班次名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
s
=
t
,
e
.
toInput
(
s
,
e
.
classesName
);
var
s
}},
model
:{
value
:
e
.
classesName
,
callback
:
function
(
t
){
e
.
classesName
=
t
},
expression
:
"classesName"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
s
(
"el-table-column"
,{
attrs
:{
label
:
""
,
width
:
"50"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"el-radio"
,{
attrs
:{
label
:
t
.
row
.
classesId
},
model
:{
value
:
e
.
selClassesId
,
callback
:
function
(
t
){
e
.
selClassesId
=
t
},
expression
:
"selClassesId"
}},[
e
.
_v
(
e
.
_s
(
""
))])]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"imageUrl"
,
label
:
"班次名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
classesName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"titleName"
,
label
:
"考勤时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
e
.
_l
(
t
.
row
.
classessTimesJson
,
function
(
t
,
a
){
return
s
(
"div"
,{
key
:
a
+
"time"
},[
e
.
_v
(
e
.
_s
(
t
.
startTime
)
+
"-"
+
e
.
_s
(
t
.
endTime
))])})}}])})],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
customCancel
(
t
)}}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
customConfirm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
h
=
s
(
"VU/8"
)(
g
,
f
,
!
1
,
function
(
e
){
s
(
"gqu5"
)},
"data-v-7f1ae9d0"
,
null
).
exports
,
v
=
{
name
:
"class-select-mult"
,
components
:{},
props
:{
workClassMultShow
:{
type
:
Boolean
,
default
:
!
1
},
classesData
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
selClassesData
:
JSON
.
parse
(
n
()(
this
.
classesData
))
||
[],
customDialog
:
!
1
,
tableData
:[],
classesName
:
""
,
multipleSelection
:[]}},
methods
:{
toggleSelection
:
function
(
e
){
var
t
=
this
;
e
&&
t
.
$nextTick
(
function
(){
e
.
forEach
(
function
(
e
){
t
.
$refs
.
multipleTable
.
toggleRowSelection
(
e
,
!
0
)})})},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
,
this
.
selClassesData
=
JSON
.
parse
(
n
()(
e
))},
toInput
:
Object
(
p
.
a
)(
function
(
e
,
t
){
this
.
getClassifyData
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getClassifyData
()},
customConfirm
:
Object
(
p
.
a
)(
u
()(
i
.
a
.
mark
(
function
e
(){
var
t
,
s
,
a
,
l
;
return
i
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
((
t
=
this
).
selClassesData
.
length
){
e
.
next
=
4
;
break
}
return
m
.
a
.
showmsg
(
"请选择班次"
,
"warning"
),
e
.
abrupt
(
"return"
,
!
1
);
case
4
:
if
(
!
(
t
.
selClassesData
.
length
>
10
)){
e
.
next
=
7
;
break
}
return
m
.
a
.
showmsg
(
"最多选择10个班次"
,
"warning"
),
e
.
abrupt
(
"return"
,
!
1
);
case
7
:
if
(
s
=
[],
t
.
classesData
.
length
&&
(
a
=
t
.
selClassesData
.
map
(
function
(
e
){
return
e
.
classesId
}),
t
.
classesData
.
forEach
(
function
(
e
){
a
.
includes
(
e
.
classesId
)
||
s
.
push
(
e
.
classesName
)})),
!
s
.
length
||!
t
.
$route
.
query
.
attenceGroupId
){
e
.
next
=
12
;
break
}
return
t
.
$confirm
(
"移除后,排班周期将自动去掉该班次,但不影响排班表中已排的班次"
,
"确定从考勤组移除"
+
s
.
join
(
"-"
),{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
e
=
[];
t
.
selClassesData
.
forEach
(
function
(
t
){
e
.
push
({
classesId
:
t
.
classesId
,
classesName
:
t
.
classesName
,
classessTimesJson
:
t
.
classessTimesJson
})}),
t
.
$emit
(
"hideMultClassDialog"
,
e
),
t
.
customDialog
=!
1
,
t
.
$nextTick
(
function
(){})}).
catch
(
function
(){}),
e
.
abrupt
(
"return"
,
!
1
);
case
12
:
l
=
[],
t
.
selClassesData
.
forEach
(
function
(
e
){
l
.
push
({
classesId
:
e
.
classesId
,
classesName
:
e
.
classesName
,
classessTimesJson
:
e
.
classessTimesJson
})}),
t
.
$emit
(
"hideMultClassDialog"
,
l
),
t
.
customDialog
=!
1
,
t
.
$nextTick
(
function
(){});
case
17
:
case
"end"
:
return
e
.
stop
()}},
e
,
this
)})),
300
),
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideMultClassDialog"
),
this
.
$nextTick
(
function
(){})},
handleData
:
function
(){
var
e
=
this
.
selClassesData
.
map
(
function
(
e
){
return
e
.
classesId
}),
t
=
[];
this
.
selClassesData
.
length
&&
(
this
.
tableData
.
forEach
(
function
(
s
){
e
.
includes
(
s
.
classesId
)
&&
t
.
push
(
s
)}),
this
.
toggleSelection
(
t
))},
getClassifyData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
enterpriseId
,
classesName
:
e
.
classesName
};
Object
(
d
.
a
)(
"/haoban-app-attence-web/attence-classes-list"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
1
==
s
.
errorCode
&&
(
s
.
result
&&
s
.
result
.
length
&&
s
.
result
.
forEach
(
function
(
e
){
e
.
classessTimesJson
&&
(
e
.
classessTimesJson
=
JSON
.
parse
(
e
.
classessTimesJson
))}),
e
.
tableData
=
s
.
result
||
[],
e
.
handleData
())}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
workClassMultShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
,
this
.
getClassifyData
()},
classesData
:
function
(
e
){
this
.
selClassesData
=
e
?
JSON
.
parse
(
n
()(
e
)):[]}},
mounted
:
function
(){
this
.
getClassifyData
(),
this
.
classesData
?
this
.
selClassesData
=
JSON
.
parse
(
n
()(
this
.
classesData
)):
this
.
selClassesData
=
[],
this
.
customDialog
=
this
.
workClassMultShow
}},
D
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"选择班次"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
s
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
s
(
"div"
,{
staticClass
:
"m-b-20"
},[
s
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入班次名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
s
=
t
,
e
.
toInput
(
s
,
e
.
classesName
);
var
s
}},
model
:{
value
:
e
.
classesName
,
callback
:
function
(
t
){
e
.
classesName
=
t
},
expression
:
"classesName"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
height
:
"350"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
s
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"imageUrl"
,
label
:
"班次名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
classesName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"titleName"
,
label
:
"考勤时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
e
.
_l
(
t
.
row
.
classessTimesJson
,
function
(
t
,
a
){
return
s
(
"div"
,{
key
:
a
+
"time"
},[
e
.
_v
(
e
.
_s
(
t
.
startTime
)
+
"-"
+
e
.
_s
(
t
.
endTime
))])})}}])})],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
customCancel
(
t
)}}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
customConfirm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
y
,
S
=
s
(
"VU/8"
)(
v
,
D
,
!
1
,
function
(
e
){
s
(
"zkXj"
)},
"data-v-7b0fb0e4"
,
null
).
exports
,
b
=
{
name
:
"class-select"
,
components
:{},
props
:{
mapShow
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
var
e
=
this
;
return
{
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
selClassesId
:
this
.
classesId
,
customDialog
:
!
1
,
ruleForm
:{
address
:
""
},
rules
:{
address
:[{
required
:
!
0
,
message
:
"请选择考勤地点"
,
trigger
:
"blur"
}]},
zoom
:
12
,
center
:[
120.12497
,
30.277155
],
address
:
""
,
plugin
:[{
pName
:
"ToolBar"
}],
events
:{
click
:
function
(
t
){
var
s
=
t
.
lnglat
,
a
=
s
.
lng
,
l
=
s
.
lat
;
e
.
lng
=
a
,
e
.
lat
=
l
,
new
AMap
.
Geocoder
({
radius
:
1
e3
,
extensions
:
"all"
}).
getAddress
([
a
,
l
],
function
(
t
,
s
){
"complete"
===
t
&&
"OK"
===
s
.
info
&&
s
&&
s
.
regeocode
&&
(
console
.
log
(
s
),
e
.
address
=
s
.
regeocode
.
formattedAddress
,
e
.
ruleForm
.
address
=
s
.
regeocode
.
formattedAddress
,
e
.
$nextTick
())})}},
lng
:
0
,
lat
:
0
}},
methods
:{
customConfirm
:
Object
(
p
.
a
)((
y
=
u
()(
i
.
a
.
mark
(
function
e
(
t
){
var
s
;
return
i
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
s
=
this
,
this
.
$refs
[
t
].
validate
(
function
(
e
){
e
&&
(
s
.
customDialog
=!
1
,
s
.
$emit
(
"hideMapDialog"
,{
address
:
s
.
address
,
longitude
:
s
.
lng
,
latitude
:
s
.
lat
}),
s
.
$nextTick
(
function
(){
s
.
address
=
""
,
s
.
ruleForm
.
address
=
""
}))});
case
2
:
case
"end"
:
return
e
.
stop
()}},
e
,
this
)})),
function
(
e
){
return
y
.
apply
(
this
,
arguments
)}),
300
),
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
var
e
=
this
;
e
.
customDialog
=!
1
,
e
.
$emit
(
"hideMapDialog"
),
e
.
$nextTick
(
function
(){
e
.
address
=
""
,
e
.
ruleForm
.
address
=
""
})}},
watch
:{
mapShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
}},
mounted
:
function
(){
this
.
customDialog
=
this
.
mapShow
}},
_
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
customDialog
,
expression
:
"customDialog"
}]},[
s
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"考勤地点"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
s
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
s
(
"div"
,{
staticClass
:
"amap-page-container"
},[
s
(
"el-amap"
,{
staticClass
:
"amap-demo"
,
attrs
:{
vid
:
"amapDemo"
,
center
:
e
.
center
,
zoom
:
e
.
zoom
,
plugin
:
e
.
plugin
,
events
:
e
.
events
}}),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"toolbar m-t-20"
},[
s
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"详细地址:"
,
prop
:
"address"
}},[
s
(
"el-input"
,{
model
:{
value
:
e
.
ruleForm
.
address
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"address"
,
t
)},
expression
:
"ruleForm.address"
}})],
1
)],
1
)],
1
)],
1
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
customCancel
(
t
)}}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
customConfirm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
w
=
s
(
"VU/8"
)(
b
,
_
,
!
1
,
function
(
e
){
s
(
"08l2"
)},
"data-v-1e2f8b2a"
,
null
).
exports
,
F
=
s
(
"Ke24"
),
C
=
s
(
"fZjL"
),
k
=
s
.
n
(
C
),
I
=
s
(
"l46T"
),
T
=
{
name
:
"cycle-set"
,
components
:{
limitInput
:
I
.
a
},
props
:{
rangeShow
:{
type
:
Boolean
,
default
:
!
1
},
attenceGroupId
:{
type
:
String
,
default
:
""
},
classesJson
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
attenceGroupData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
{
classesRangeId
:
""
,
days
:
3
,
rangeName
:
""
,
classes
:[{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]},{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]},{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]}]}}}},
data
:
function
(){
return
{
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
selClassesId
:
this
.
attenceGroupId
,
customDialog
:
!
1
,
tableData
:[],
classesName
:
""
,
ruleFormData
:{
classesRangeId
:
""
,
days
:
3
,
rangeName
:
""
,
classes
:[{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]},{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]},{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]}]},
rules
:{
rangeName
:[{
required
:
!
0
,
message
:
"请输入周期名称"
,
trigger
:
"blur"
}]}}},
methods
:{
changeClass
:
function
(
e
,
t
){
this
.
tableData
.
forEach
(
function
(
s
){
s
.
classesId
==
e
&&
(
t
.
classesName
=
s
.
classesName
)})},
handleRangeDay
:
function
(
e
){
var
t
=
this
.
ruleFormData
.
classes
?
this
.
ruleFormData
.
classes
.
length
:
0
;
if
(
e
-
t
>
0
)
for
(
var
s
=
0
;
s
<
e
-
t
;
s
++
)
this
.
ruleFormData
.
classes
.
push
({
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]});
e
-
t
<
0
&&
this
.
ruleFormData
.
classes
.
splice
(
e
-
1
,
t
-
e
)},
toInput
:
Object
(
p
.
a
)(
function
(
e
,
t
){
this
.
getClassifyData
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getClassifyData
()},
customConfirm
:
Object
(
p
.
a
)(
function
(){
var
e
=
u
()(
i
.
a
.
mark
(
function
e
(
t
){
var
s
,
a
;
return
i
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
a
=!
0
,(
s
=
this
).
ruleFormData
.
classes
.
forEach
(
function
(
e
){
a
=!!
e
.
classesId
}),
a
){
e
.
next
=
6
;
break
}
return
m
.
a
.
showmsg
(
"请选择班次"
,
"warning"
),
e
.
abrupt
(
"return"
,
!
1
);
case
6
:
s
.
$refs
[
t
].
validate
(
function
(
e
){
e
&&
(
s
.
customDialog
=!
1
,
s
.
$emit
(
"hideCycleDialog"
,
s
.
ruleFormData
),
s
.
resetData
())});
case
7
:
case
"end"
:
return
e
.
stop
()}},
e
,
this
)}));
return
function
(
t
){
return
e
.
apply
(
this
,
arguments
)}}(),
300
),
resetData
:
function
(){
var
e
=
this
;
e
.
$nextTick
(
function
(){
e
.
ruleFormData
=
{
classesRangeId
:
""
,
days
:
3
,
rangeName
:
""
,
classes
:[{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]},{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]},{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]}]}})},
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideCycleDialog"
),
this
.
resetData
()},
getClassifyData
:
function
(){
this
.
classesJson
&&
this
.
classesJson
.
length
&&
this
.
classesJson
.
forEach
(
function
(
e
){
e
.
label
=
" "
,
e
.
classessTimesJson
&&
e
.
classessTimesJson
.
length
&&
e
.
classessTimesJson
.
forEach
(
function
(
t
){
e
.
label
+=
t
.
startTime
+
"-"
+
t
.
endTime
})}),
this
.
tableData
=
this
.
classesJson
||
[]},
getRangeData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
enterpriseId
,
attenceGroupId
:
e
.
attenceGroupId
};
Object
(
d
.
a
)(
"/haoban-app-attence-web/attence-range-list"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
1
==
s
.
errorCode
&&
(
e
.
ruleFormData
=
s
.
result
||
[])}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
rangeShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
attenceGroupId
:
function
(
e
){
e
&&
this
.
getRangeData
()},
attenceGroupData
:
function
(
e
){
if
(
k
()(
e
).
length
){
var
t
=
JSON
.
parse
(
n
()(
e
));
this
.
ruleFormData
.
days
=
t
.
days
,
this
.
ruleFormData
.
rangeName
=
t
.
rangeName
,
this
.
ruleFormData
.
classes
=
t
.
classes
||
[]}
else
this
.
ruleFormData
.
days
=
3
,
this
.
ruleFormData
.
rangeName
=
""
,
this
.
ruleFormData
.
classes
=
[{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]},{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]},{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]}]},
classesJson
:
function
(
e
){
e
.
length
&&
this
.
getClassifyData
()}},
mounted
:
function
(){
var
e
=
this
;
e
.
attenceGroupId
&&
e
.
getRangeData
(),
k
()(
e
.
attenceGroupData
).
length
?
e
.
$nextTick
(
function
(){
var
t
=
JSON
.
parse
(
n
()(
e
.
attenceGroupData
));
e
.
ruleFormData
.
days
=
t
.
days
,
e
.
ruleFormData
.
rangeName
=
t
.
rangeName
,
e
.
ruleFormData
.
classes
=
t
.
classes
||
[]}):(
e
.
ruleFormData
.
days
=
3
,
e
.
ruleFormData
.
rangeName
=
""
,
e
.
ruleFormData
.
classes
=
[{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]},{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]},{
classesId
:
""
,
classesName
:
""
,
classessTimesJson
:[]}]),
e
.
classesJson
.
length
&&
e
.
getClassifyData
(),
e
.
customDialog
=
e
.
rangeShow
}},
N
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"选择班次"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
s
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
s
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleFormData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"周期名称:"
,
prop
:
"rangeName"
}},[
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
305
,
inputValue
:
e
.
ruleFormData
.
rangeName
,
holder
:
"请输入周期名称"
,
getByType
:
"word"
,
maxLength
:
15
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"rangeName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"每个周期天数:"
,
prop
:
""
}},[
s
(
"div"
,[
s
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
step
:
1
,
"step-strictly"
:
!
0
,
min
:
3
,
max
:
31
},
on
:{
change
:
e
.
handleRangeDay
},
model
:{
value
:
e
.
ruleFormData
.
days
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"days"
,
t
)},
expression
:
"ruleFormData.days"
}}),
e
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"font-12 color-909399"
},[
e
.
_v
(
"以3天为周期进行循环,最大周期天数为31天"
)])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"range-classes"
},[
s
(
"ul"
,
e
.
_l
(
e
.
ruleFormData
.
classes
,
function
(
t
,
a
){
return
s
(
"li"
,{
key
:
a
+
"class"
},[
s
(
"span"
,[
e
.
_v
(
"第"
+
e
.
_s
(
a
+
1
)
+
"天:"
)]),
e
.
_v
(
" "
),
s
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
function
(
s
){
e
.
changeClass
(
s
,
t
)}},
model
:{
value
:
t
.
classesId
,
callback
:
function
(
s
){
e
.
$set
(
t
,
"classesId"
,
s
)},
expression
:
"item.classesId"
}},
e
.
_l
(
e
.
tableData
,
function
(
e
){
return
s
(
"el-option"
,{
key
:
e
.
classesId
,
attrs
:{
label
:
"班次"
+
e
.
classesName
+
e
.
label
,
value
:
e
.
classesId
}})}))],
1
)}))])])],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
customCancel
(
t
)}}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
customConfirm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
J
=
s
(
"VU/8"
)(
T
,
N
,
!
1
,
function
(
e
){
s
(
"wYFT"
)},
"data-v-d62130f6"
,
null
).
exports
,
x
=
s
(
"Ie7z"
),
R
=
s
(
"c4uw"
),
$
=
s
(
"Kkt8"
),
L
=
{
name
:
"workGroupSet"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
topMenuData
:[{
id
:
"1"
,
name
:
"考勤组管理"
,
path
:
"/workSet?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
this
.
$route
.
query
.
attenceGroupId
?
"编辑考勤组"
:
"新建考勤组"
,
path
:
""
}],
weekDays
:{
0
:
"周日"
,
1
:
"周一"
,
2
:
"周二"
,
3
:
"周三"
,
4
:
"周四"
,
5
:
"周五"
,
6
:
"周六"
},
classifyOptions
:[],
activeId
:
"2"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
ruleFormData
:{
attenceGroupId
:
""
,
attenceGroupName
:
""
,
attenceType
:
1
,
attenceRangeType
:
!
1
,
attenceRangeStoreType
:
!
1
,
adminList
:[],
storeList
:[],
noAttenceRangeType
:
!
1
,
noAttenceRangeStoreType
:
!
1
,
noAdminList
:[],
noStoreList
:[],
lawFreeFlag
:
!
1
,
clockDistance
:
300
,
storeClockFlag
:
!
1
,
gpsFlag
:
!
1
,
distanceAddress
:[],
attenceRangeJson
:[],
sperialRangeJson
:[],
mustJson
:[],
noMustJson
:[],
attenceWorkJson
:[{
weekDay
:
"1"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]},{
weekDay
:
"2"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]},{
weekDay
:
"3"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]},{
weekDay
:
"4"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]},{
weekDay
:
"5"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]},{
weekDay
:
"6"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]},{
weekDay
:
"0"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]}],
attenceClassesRangeJSON
:[],
classesJson
:[]},
rules
:{
attenceGroupName
:[{
required
:
!
0
,
message
:
"请输入考勤组名称"
,
trigger
:
"blur"
}],
content
:[{
required
:
!
0
,
message
:
"请输入公告内容"
,
trigger
:
"blur"
}],
sendType
:[{
required
:
!
0
,
message
:
"请选择发送方式"
,
trigger
:
"change"
}]},
wxFlag
:
1
,
actionUrl
:
"/haoban-manage-web/upload-img"
,
datePickerBool
:
!
1
,
dateValue
:
""
,
mustType
:
""
,
selectNoType
:
""
,
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
},
mustSelection
:[],
changed
:
""
,
onlyPerson
:
!
1
,
appScene
:
1
,
mustStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
changedNo
:
""
,
noTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
},
noSelection
:[],
noStoreList
:[],
noStoreTreeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
defaultStoreBool
:
!
1
,
saveDataBool
:
!
0
,
showEffect
:
!
1
,
workClassShow
:
!
1
,
modIndex
:
""
,
modRow
:{},
showClassesFlag
:
!
1
,
multipleSelection
:[],
distance
:[{
value
:
"50"
,
label
:
"50米"
}],
mapShow
:
!
1
,
rangeShow
:
!
1
,
classesJson
:[],
attenceGroupData
:{
classesRangeId
:
""
,
days
:
3
,
rangeName
:
""
,
classes
:[{
classesId
:
""
,
classesName
:
""
},{
classesId
:
""
,
classesName
:
""
},{
classesId
:
""
,
classesName
:
""
}]},
workClassMultShow
:
!
1
}},
methods
:{
toShowRangeMult
:
function
(){
this
.
classesJson
=
JSON
.
parse
(
n
()(
this
.
ruleFormData
.
classesJson
)),
this
.
rangeShow
=!
0
},
hideCycleDialog
:
function
(
e
){
if
(
this
.
rangeShow
=!
1
,
!
e
)
return
!
1
;
this
.
ruleFormData
.
attenceClassesRangeJSON
=
JSON
.
parse
(
n
()([
e
])),
this
.
$forceUpdate
()},
toShowClassMult
:
function
(){
this
.
workClassMultShow
=!
0
,
this
.
classesData
=
JSON
.
parse
(
n
()(
this
.
ruleFormData
.
classesJson
))},
hideMultClassDialog
:
function
(
e
){
if
(
this
.
workClassMultShow
=!
1
,
this
.
classesData
=
[],
!
e
)
return
!
1
;
this
.
ruleFormData
.
classesJson
=
JSON
.
parse
(
n
()(
e
)),
this
.
classesJson
=
JSON
.
parse
(
n
()(
e
))},
editRange
:
function
(
e
,
t
){
this
.
classesJson
=
JSON
.
parse
(
n
()(
this
.
ruleFormData
.
classesJson
)),
this
.
attenceGroupData
=
JSON
.
parse
(
n
()(
t
)),
this
.
rangeShow
=!
0
},
addMap
:
function
(){
this
.
mapShow
=!
0
},
hideMapDialog
:
function
(
e
){
if
(
console
.
log
(
e
),
this
.
mapShow
=!
1
,
!
e
)
return
!
1
;
this
.
ruleFormData
.
distanceAddress
.
push
({
address
:
e
.
address
,
longitude
:
e
.
longitude
,
latitude
:
e
.
latitude
})},
delGps
:
function
(
e
,
t
){
this
.
ruleFormData
.
distanceAddress
.
splice
(
e
,
1
)},
showClasses
:
function
(){
this
.
workClassShow
=!
0
},
modClasses
:
function
(
e
,
t
){
console
.
log
(
t
),
this
.
modIndex
=
e
,
this
.
modRow
=
t
,
this
.
classesId
=
t
.
classesId
||
""
,
this
.
workClassShow
=!
0
},
hideClassDialog
:
function
(
e
){
if
(
this
.
workClassShow
=!
1
,
this
.
classesId
=
""
,
!
e
)
return
!
1
;
this
.
modRow
.
workType
=!
0
;
var
t
=
JSON
.
parse
(
n
()(
e
));
this
.
modRow
.
classesName
=
t
.
classesName
,
this
.
modRow
.
classesId
=
t
.
classesId
,
this
.
modRow
.
classessTimesJson
=
t
.
classessTimesJson
},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
selectBrandId
:
function
(
e
,
t
){
this
.
brandId
=
e
},
cancelSend
:
function
(){
var
e
=
this
;
if
(
e
.
$route
.
query
.
attenceGroupId
)
return
e
.
$router
.
go
(
-
1
),
!
1
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
go
(
-
1
)}).
catch
(
function
(){})},
showDialogMust
:
function
(
e
,
t
){
if
(
this
.
mustType
=
e
,
this
.
changed
=
e
,
"store"
===
e
)
return
this
.
nustStoreList
=
t
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
,
openNextBool
:
!
0
});
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
,
openNextBool
:
!
0
},
this
.
nustSelection
=
t
},
showDialogNo
:
function
(
e
,
t
){
if
(
this
.
selectNoType
=
e
,
this
.
changedNo
=
e
,
"store"
===
e
)
return
this
.
noStoreList
=
t
,
void
(
this
.
noStoreTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
,
openNextBool
:
!
0
});
this
.
noTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
,
openNextBool
:
!
0
},
this
.
noSelection
=
t
},
handleMustList
:
function
(
e
){
console
.
log
(
e
),
"store"
===
this
.
mustType
?(
this
.
ruleFormData
.
storeList
=
e
,
this
.
mustStoreList
=
e
):(
this
.
ruleFormData
.
adminList
=
e
,
this
.
mustSelection
=
e
)},
handleNoList
:
function
(
e
){
console
.
log
(
e
),
"store"
===
this
.
selectNoType
?(
this
.
ruleFormData
.
noStoreList
=
e
,
this
.
noStoreList
=
e
):(
this
.
ruleFormData
.
noAdminList
=
e
,
this
.
noSelection
=
e
)},
delDepart
:
function
(
e
,
t
,
s
){
t
.
splice
(
e
,
1
)},
changeMyDate
:
function
(){
this
.
dateValue
?
this
.
saveDataBool
=!
0
:
this
.
datePickerBool
=!
0
},
changeSendType
:
function
(
e
){
"0"
==
e
&&
(
this
.
saveDataBool
=!
0
)},
toSubmit
:
function
(
e
,
t
){
var
s
=
this
,
a
=
[];
s
.
ruleFormData
.
attenceRangeType
&&
s
.
ruleFormData
.
adminList
.
length
&&
(
a
=
s
.
ruleFormData
.
adminList
.
map
(
function
(
e
){
var
t
=
{
rangeType
:
1
,
storeFlag
:
0
,
id
:
e
.
id
,
name
:
e
.
name
||
e
.
label
,
type
:
e
.
type
};
return
1
==
e
.
type
&&
(
t
.
userId
=
e
.
id
),
2
==
e
.
type
&&
(
t
.
groupId
=
e
.
id
),
3
==
e
.
type
&&
(
t
.
storeId
=
e
.
id
),
t
}));
var
o
=
[];
s
.
ruleFormData
.
attenceRangeStoreType
&&
s
.
ruleFormData
.
storeList
.
length
&&
(
o
=
s
.
ruleFormData
.
storeList
.
map
(
function
(
e
){
var
t
=
{
rangeType
:
1
,
storeFlag
:
1
,
id
:
e
.
id
,
name
:
e
.
name
||
e
.
label
,
type
:
e
.
type
};
return
1
==
e
.
type
&&
(
t
.
userId
=
e
.
id
),
2
==
e
.
type
&&
(
t
.
groupId
=
e
.
id
),
3
==
e
.
type
&&
(
t
.
storeId
=
e
.
id
),
t
}));
var
n
=
[];
s
.
ruleFormData
.
noAttenceRangeType
&&
s
.
ruleFormData
.
noAdminList
.
length
&&
(
n
=
s
.
ruleFormData
.
noAdminList
.
map
(
function
(
e
){
return
{
rangeType
:
2
,
storeFlag
:
0
,
id
:
e
.
id
,
userId
:
e
.
id
,
name
:
e
.
name
||
e
.
label
,
type
:
e
.
type
}}));
if
(
s
.
ruleFormData
.
noAttenceRangeStoreType
&&
s
.
ruleFormData
.
noStoreList
.
length
&&
(
o
=
s
.
ruleFormData
.
noStoreList
.
map
(
function
(
e
){
return
{
rangeType
:
2
,
storeFlag
:
1
,
id
:
e
.
id
,
userId
:
e
.
id
,
name
:
e
.
name
||
e
.
label
,
type
:
e
.
type
}})),
s
.
ruleFormData
.
attenceRangeJson
=
[].
concat
(
l
()(
a
),
l
()(
o
),
l
()(
n
),[]),
s
.
ruleFormData
.
gpsFlag
&&!
s
.
ruleFormData
.
distanceAddress
.
length
)
return
m
.
a
.
showmsg
(
"请设置打卡地点"
,
"warning"
),
!
1
;
console
.
log
(
s
.
ruleFormData
),
s
.
$refs
[
e
].
validate
(
function
(
t
){
t
&&
(
s
.
$route
.
query
.
attenceGroupId
?
s
.
showEffect
=!
0
:
s
.
sendData
(
e
,
1
))})},
sendData
:
Object
(
p
.
a
)(
function
(
e
,
t
){
var
s
=
this
,
a
=
{
enterpriseId
:
s
.
enterpriseId
,
effectFlag
:
t
,
attenceGroupId
:
s
.
ruleFormData
.
attenceGroupId
,
attenceGroupName
:
s
.
ruleFormData
.
attenceGroupName
,
attenceType
:
s
.
ruleFormData
.
attenceType
,
attenceRangeType
:
s
.
ruleFormData
.
attenceRangeType
?
1
:
0
,
attenceRangeStoreType
:
s
.
ruleFormData
.
attenceRangeStoreType
?
1
:
0
,
noAttenceRangeType
:
s
.
ruleFormData
.
noAttenceRangeType
?
1
:
0
,
noAttenceRangeStoreType
:
s
.
ruleFormData
.
noAttenceRangeStoreType
?
1
:
0
,
lawFreeFlag
:
s
.
ruleFormData
.
lawFreeFlag
?
1
:
0
,
clockDistance
:
s
.
ruleFormData
.
clockDistance
,
storeClockFlag
:
s
.
ruleFormData
.
storeClockFlag
?
1
:
0
,
gpsFlag
:
s
.
ruleFormData
.
gpsFlag
?
1
:
0
,
distanceAddress
:
n
()(
s
.
ruleFormData
.
distanceAddress
),
attenceRangeJson
:
n
()(
s
.
ruleFormData
.
attenceRangeJson
),
sperialRangeJson
:
n
()(
s
.
ruleFormData
.
sperialRangeJson
),
attenceWorkJson
:
n
()(
s
.
ruleFormData
.
attenceWorkJson
),
attenceClassesRangeJSON
:
n
()(
s
.
ruleFormData
.
attenceClassesRangeJSON
),
classesJson
:
n
()(
s
.
ruleFormData
.
classesJson
)};
s
.
saveDataBool
&&
Object
(
d
.
e
)(
s
.
$route
.
query
.
attenceGroupId
?
"/haoban-app-attence-web/attence-edit"
:
"/haoban-app-attence-web/attence-add"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
==
t
.
errorCode
?
1
==
s
.
ruleFormData
.
attenceType
?(
s
.
$message
.
success
(
"保存成功"
),
s
.
$router
.
go
(
-
1
)):
s
.
$router
.
push
(
"/workTimeManage?appIcon="
+
s
.
$route
.
query
.
appIcon
+
"&attenceGroupId="
+
s
.
$route
.
query
.
attenceGroupId
):
s
.
$message
.
error
(
t
.
message
)})},
500
),
getClassifyData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
enterpriseId
};
Object
(
d
.
a
)(
"/haoban-app-attence-web/attence-classes-list"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
1
==
s
.
errorCode
&&
(
s
.
result
.
list
&&
s
.
result
.
list
.
length
&&
s
.
result
.
list
.
forEach
(
function
(
e
){
e
.
classessTimesJson
&&
(
e
.
classessTimesJson
=
JSON
.
parse
(
e
.
classessTimesJson
))}),
e
.
classifyList
=
s
.
result
.
list
||
[])}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getGroupData
:
function
(){
var
e
=
this
,
t
=
{
attenceGroupId
:
e
.
$route
.
query
.
attenceGroupId
};
Object
(
d
.
a
)(
"/haoban-app-attence-web/attence-detail"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
1
==
s
.
errorCode
&&
(
s
.
result
.
attenceRangeType
=
1
==
s
.
result
.
attenceRangeType
,
s
.
result
.
attenceRangeStoreType
=
1
==
s
.
result
.
attenceRangeStoreType
,
s
.
result
.
noAttenceRangeType
=
1
==
s
.
result
.
noAttenceRangeType
,
s
.
result
.
noAttenceRangeStoreType
=
1
==
s
.
result
.
noAttenceRangeStoreType
,
s
.
result
.
attenceRangeJson
=
s
.
result
.
attenceRangeJson
?
JSON
.
parse
(
s
.
result
.
attenceRangeJson
):[],
s
.
result
.
lawFreeFlag
=
1
==
s
.
result
.
lawFreeFlag
,
s
.
result
.
storeClockFlag
=
1
==
s
.
result
.
storeClockFlag
,
s
.
result
.
gpsFlag
=
1
==
s
.
result
.
gpsFlag
,
s
.
result
.
clockDistance
=
parseInt
(
s
.
result
.
clockDistance
),
s
.
result
.
distanceAddress
=
s
.
result
.
distanceAddress
?
JSON
.
parse
(
s
.
result
.
distanceAddress
):[],
s
.
result
.
sperialRangeJson
=
s
.
result
.
sperialRangeJson
?
JSON
.
parse
(
s
.
result
.
sperialRangeJson
):[],
s
.
result
.
attenceWorkJson
=
s
.
result
.
attenceWorkJson
?
JSON
.
parse
(
s
.
result
.
attenceWorkJson
):[],
s
.
result
.
attenceClassesRangeJSON
=
s
.
result
.
attenceClassesRangeJSON
?
JSON
.
parse
(
s
.
result
.
attenceClassesRangeJSON
):[],
s
.
result
.
classesJson
=
s
.
result
.
classesJson
?
JSON
.
parse
(
s
.
result
.
classesJson
):[],
s
.
result
.
adminList
=
[],
s
.
result
.
storeList
=
[],
s
.
result
.
noAdminList
=
[],
s
.
result
.
noStoreList
=
[],
s
.
result
.
attenceRangeJson
&&
s
.
result
.
attenceRangeJson
.
forEach
(
function
(
e
){
1
==
e
.
rangeType
&&
0
==
e
.
storeFlag
&&
s
.
result
.
adminList
.
push
(
e
),
2
==
e
.
rangeType
&&
0
==
e
.
storeFlag
&&
s
.
result
.
noAdminList
.
push
(
e
),
1
==
e
.
rangeType
&&
1
==
e
.
storeFlag
&&
s
.
result
.
storeList
.
push
(
e
),
2
==
e
.
rangeType
&&
1
==
e
.
storeFlag
&&
s
.
result
.
noStoreList
.
push
(
e
)}),
s
.
result
.
attenceWorkJson
&&
s
.
result
.
attenceWorkJson
.
forEach
(
function
(
e
){
e
.
workType
=
1
==
e
.
workType
}),
s
.
result
.
attenceWorkJson
&&
s
.
result
.
attenceWorkJson
.
length
&&
s
.
result
.
attenceWorkJson
.
forEach
(
function
(
e
){
e
.
classessTimesJson
=
e
.
classessTimesJson
?
JSON
.
parse
(
e
.
classessTimesJson
):[]}),
e
.
mustSelection
=
s
.
result
.
adminList
,
e
.
mustStoreList
=
s
.
result
.
storeList
,
e
.
noSelection
=
s
.
result
.
noAdminList
,
e
.
noStoreList
=
s
.
result
.
noStoreList
,
e
.
ruleFormData
=
JSON
.
parse
(
n
()(
s
.
result
)))}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
setDistance
:
function
(){
for
(
var
e
=
1
;
e
<
11
;
e
++
)
this
.
distance
.
push
({
value
:
100
*
e
,
label
:
100
*
e
+
"米"
});
this
.
distance
.
push
({
value
:
2
e3
,
label
:
"2000米"
})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getClassifyData
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
components
:{
commonDetailTop
:
F
.
a
,
limitInput
:
I
.
a
,
limitTextarea
:
$
.
a
,
vueSelectStore
:
x
.
a
,
vueSelectEmployee
:
R
.
a
,
classSelect
:
h
,
mapSelect
:
w
,
classSelectMult
:
S
,
cycleSet
:
J
},
mounted
:
function
(){
var
e
=
this
;
e
.
$emit
(
"showTab"
,
"2"
),
e
.
setDistance
(),
e
.
$route
.
query
.
attenceGroupId
&&
e
.
$nextTick
(
function
(){
e
.
getGroupData
()})}},
O
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"notice-list-wrap"
},[
s
(
"div"
,{
staticClass
:
"notice-list"
},[
s
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
s
(
"el-form"
,{
ref
:
"noteForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleFormData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
s
(
"el-form-item"
,{
staticClass
:
"input-item"
,
attrs
:{
label
:
"考勤组名称:"
,
prop
:
"attenceGroupName"
}},[
s
(
"limitInput"
,{
attrs
:{
disflag
:
!!
e
.
$route
.
query
.
attenceGroupId
,
inputWidth
:
286
,
inputValue
:
e
.
ruleFormData
.
attenceGroupName
,
holder
:
"请输入考勤组名称"
,
getByType
:
"word"
,
maxLength
:
15
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"attenceGroupName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
staticClass
:
"input-item"
,
attrs
:{
label
:
"参与考勤人员:"
,
prop
:
""
}},[
s
(
"div"
,{
staticClass
:
"flex"
},[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
attenceRangeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"attenceRangeType"
,
t
)},
expression
:
"ruleFormData.attenceRangeType"
}},[
e
.
_v
(
"行政架构"
)]),
e
.
_v
(
" "
),
e
.
ruleFormData
.
attenceRangeType
?
s
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
s
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
s
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"470px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogMust
(
"depart"
,
e
.
ruleFormData
.
adminList
)}}},[
e
.
ruleFormData
.
adminList
.
length
?
e
.
_e
():
s
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
e
.
_v
(
"请选择行政架构"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"el-select__tags"
},[
s
(
"span"
,[
e
.
_l
(
e
.
ruleFormData
.
adminList
,
function
(
t
,
a
){
return
[
s
(
"span"
,{
key
:
a
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
s
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
s
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
a
,
e
.
ruleFormData
.
adminList
,
"depart"
)}}})])]})],
2
)])])])]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"flex m-t-20"
},[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
attenceRangeStoreType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"attenceRangeStoreType"
,
t
)},
expression
:
"ruleFormData.attenceRangeStoreType"
}},[
e
.
_v
(
"门店架构"
)]),
e
.
_v
(
" "
),
e
.
ruleFormData
.
attenceRangeStoreType
?
s
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
s
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
s
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"470px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogMust
(
"store"
,
e
.
ruleFormData
.
storeList
)}}},[
e
.
ruleFormData
.
storeList
.
length
?
e
.
_e
():
s
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
e
.
_v
(
"请选择门店架构"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"el-select__tags"
},[
s
(
"span"
,[
e
.
_l
(
e
.
ruleFormData
.
storeList
,
function
(
t
,
a
){
return
[
s
(
"span"
,{
key
:
a
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
s
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
s
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
a
,
e
.
ruleFormData
.
storeList
,
"store"
)}}})])]})],
2
)])])])]):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
staticClass
:
"input-item"
,
attrs
:{
label
:
"考勤白名单:"
,
prop
:
""
}},[
s
(
"div"
,{
staticClass
:
"flex"
},[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
noAttenceRangeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"noAttenceRangeType"
,
t
)},
expression
:
"ruleFormData.noAttenceRangeType"
}},[
e
.
_v
(
"行政架构"
)]),
e
.
_v
(
" "
),
e
.
ruleFormData
.
noAttenceRangeType
?
s
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
s
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
s
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"470px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogNo
(
"depart"
,
e
.
ruleFormData
.
noAdminList
)}}},[
e
.
ruleFormData
.
noAdminList
.
length
?
e
.
_e
():
s
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
e
.
_v
(
"请选择行政架构"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"el-select__tags"
},[
s
(
"span"
,[
e
.
_l
(
e
.
ruleFormData
.
noAdminList
,
function
(
t
,
a
){
return
[
s
(
"span"
,{
key
:
a
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
s
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
s
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
a
,
e
.
ruleFormData
.
noAdminList
,
"depart"
)}}})])]})],
2
)])])])]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"flex m-t-20"
},[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
noAttenceRangeStoreType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"noAttenceRangeStoreType"
,
t
)},
expression
:
"ruleFormData.noAttenceRangeStoreType"
}},[
e
.
_v
(
"门店架构"
)]),
e
.
_v
(
" "
),
e
.
ruleFormData
.
noAttenceRangeStoreType
?
s
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
s
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
s
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"470px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogNo
(
"store"
,
e
.
ruleFormData
.
noStoreList
)}}},[
e
.
ruleFormData
.
noStoreList
.
length
?
e
.
_e
():
s
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
e
.
_v
(
"请选择门店架构"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"el-select__tags"
},[
s
(
"span"
,[
e
.
_l
(
e
.
ruleFormData
.
noStoreList
,
function
(
t
,
a
){
return
[
s
(
"span"
,{
key
:
a
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
s
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
s
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
a
,
e
.
ruleFormData
.
noStoreList
,
"store"
)}}})])]})],
2
)])])])]):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"考勤类型:"
,
prop
:
""
}},[
s
(
"div"
,{
staticClass
:
"work-type m-b-8"
},[
s
(
"el-radio"
,{
attrs
:{
disabled
:
!!
e
.
$route
.
query
.
attenceGroupId
,
label
:
1
},
model
:{
value
:
e
.
ruleFormData
.
attenceType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"attenceType"
,
t
)},
expression
:
"ruleFormData.attenceType"
}},[
e
.
_v
(
"固定时间上下班【所有人按照相同时间打卡】"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"line-h-15 font-14 color-909399"
},[
e
.
_v
(
"适用于:办公室等"
)])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"work-type m-b-8"
},[
s
(
"el-radio"
,{
attrs
:{
disabled
:
!!
e
.
$route
.
query
.
attenceGroupId
,
label
:
2
},
model
:{
value
:
e
.
ruleFormData
.
attenceType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"attenceType"
,
t
)},
expression
:
"ruleFormData.attenceType"
}},[
e
.
_v
(
"排班时间上下班【不同人员根据各自排班打卡】"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"line-h-15 font-14 color-909399"
},[
e
.
_v
(
"适用于:工厂、门店等"
)])],
1
)]),
e
.
_v
(
" "
),
1
==
e
.
ruleFormData
.
attenceType
?
s
(
"el-form-item"
,{
attrs
:{
label
:
"工作日设置:"
,
prop
:
""
}},[
s
(
"div"
,{
staticClass
:
"quick-set-table"
},[
s
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"567px"
},
attrs
:{
data
:
e
.
ruleFormData
.
attenceWorkJson
,
"tooltip-effect"
:
"dark"
}},[
s
(
"el-table-column"
,{
attrs
:{
width
:
"55"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
label
:
"工作日"
,
width
:
"120"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
e
.
weekDays
[
t
.
row
.
weekDay
]))]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"排班时间段"
,
width
:
"120"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
workType
?
s
(
"div"
,
e
.
_l
(
t
.
row
.
classessTimesJson
,
function
(
t
,
a
){
return
s
(
"div"
,{
key
:
a
+
"time"
},[
e
.
_v
(
e
.
_s
(
t
.
startTime
)
+
"-"
+
e
.
_s
(
t
.
endTime
))])})):
s
(
"div"
,[
e
.
_v
(
"休息"
)])]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
modClasses
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"更改班次"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
lawFreeFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"lawFreeFlag"
,
t
)},
expression
:
"ruleFormData.lawFreeFlag"
}},[
e
.
_v
(
"法定节假日自动排休"
)])],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
ruleFormData
.
attenceType
?
s
(
"el-form-item"
,{
attrs
:{
label
:
"考勤班次:"
,
prop
:
""
}},[
e
.
ruleFormData
.
classesJson
.
length
?
s
(
"div"
,{
staticClass
:
"tags-classes"
},[
s
(
"div"
,{
staticClass
:
"attend-type-classes"
,
on
:{
click
:
e
.
toShowClassMult
}},[
s
(
"div"
,{
staticClass
:
"attend-type-classes-display"
},
e
.
_l
(
e
.
ruleFormData
.
classesJson
,
function
(
t
,
a
){
return
s
(
"div"
,{
key
:
a
,
class
:[
"class-tag"
,
a
%
7
==
0
?
"day-tag-blue"
:
""
,
a
%
7
==
1
?
"day-tag-red"
:
""
,
a
%
7
==
2
?
"day-tag-purple"
:
""
,
a
%
7
==
3
?
"day-tag-orange"
:
""
,
a
%
7
==
4
?
"day-tag-green"
:
""
,
a
%
7
==
5
?
"day-tag-pink"
:
""
,
a
%
7
==
6
?
"day-tag-cyan"
:
""
]},[
s
(
"span"
,{
staticClass
:
"ant-tag-text"
},[
e
.
_v
(
"班次"
+
e
.
_s
(
t
.
classesName
)
+
":"
)]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
classessTimesJson
,
function
(
t
,
a
){
return
s
(
"span"
,{
key
:
a
+
"time"
},[
e
.
_v
(
e
.
_s
(
t
.
startTime
)
+
"-"
+
e
.
_s
(
t
.
endTime
))])})],
2
)}))])]):
s
(
"div"
,{
staticClass
:
"classes-btn"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
toShowClassMult
}},[
e
.
_v
(
"选择班次"
)])],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
ruleFormData
.
attenceType
&&
e
.
ruleFormData
.
classesJson
.
length
?
s
(
"el-form-item"
,{
attrs
:{
label
:
"排班周期:"
,
prop
:
""
}},[
e
.
ruleFormData
.
attenceClassesRangeJSON
.
length
?
s
(
"el-table"
,{
staticStyle
:{
width
:
"567px"
},
attrs
:{
data
:
e
.
ruleFormData
.
attenceClassesRangeJSON
,
"tooltip-effect"
:
"dark"
}},[
s
(
"el-table-column"
,{
attrs
:{
prop
:
"ranageName"
,
label
:
"周期名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
rangeName
))]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"周期班次"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
e
.
_l
(
t
.
row
.
classes
,
function
(
t
,
a
){
return
s
(
"span"
,{
key
:
a
+
"time"
},[
e
.
_v
(
e
.
_s
(
a
>
1
?
"-"
:
""
)
+
e
.
_s
(
t
.
classesName
))])})}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"ranageName"
,
label
:
"周期天数"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
days
))]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
s
){
e
.
editRange
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)])]}}])})],
1
):
s
(
"div"
,{
staticClass
:
"classes-btn"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
toShowRangeMult
}},[
e
.
_v
(
"请设置排班周期"
)])],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"考勤方式:"
,
prop
:
""
}},[
s
(
"div"
,[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
gpsFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"gpsFlag"
,
t
)},
expression
:
"ruleFormData.gpsFlag"
}},[
e
.
_v
(
"GPS打卡"
)]),
e
.
ruleFormData
.
gpsFlag
?
e
.
_e
():
s
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
e
.
_v
(
"你尚未设置任何考勤方式,保存设置后成员可在任何地点打卡"
)])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"gps-body p-20 bg-f7f8fa"
,
staticStyle
:{
width
:
"567px"
}},[
s
(
"div"
,[
e
.
_v
(
"根据工作地点考勤(可添加多个考勤地点)"
)]),
e
.
_v
(
" "
),
s
(
"div"
,[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
addMap
}},[
e
.
_v
(
"添加考勤地点"
)]),
e
.
_v
(
" "
),
s
(
"span"
,[
e
.
_v
(
"有效范围"
)]),
e
.
_v
(
" "
),
s
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
ruleFormData
.
clockDistance
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"clockDistance"
,
t
)},
expression
:
"ruleFormData.clockDistance"
}},
e
.
_l
(
e
.
distance
,
function
(
e
){
return
s
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
e
.
ruleFormData
.
distanceAddress
.
length
?
s
(
"div"
,{
staticClass
:
"m-t-20"
},[
s
(
"el-table"
,{
staticStyle
:{
width
:
"567px"
},
attrs
:{
data
:
e
.
ruleFormData
.
distanceAddress
,
"tooltip-effect"
:
"dark"
}},[
s
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"考勤地址"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
address
))]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
s
){
e
.
delGps
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
s
(
"div"
,[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
storeClockFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"storeClockFlag"
,
t
)},
expression
:
"ruleFormData.storeClockFlag"
}},[
e
.
_v
(
"根据门店地址经纬度自动配置"
)]),
e
.
_v
(
" "
),
s
(
"p"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"如门店经纬度有误,请在通讯录修改门店相关信息,未设置门店打卡无须选择此项"
)])],
1
)])]),
e
.
_v
(
" "
),
s
(
"el-form-item"
,[
s
(
"div"
,{
staticClass
:
"btn-wrap"
},[
s
(
"el-button"
,{
attrs
:{
plain
:
""
},
on
:{
click
:
e
.
cancelSend
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
1
==
e
.
ruleFormData
.
attenceType
?
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
toSubmit
(
"noteForm"
,
"1"
)}}},[
e
.
_v
(
"保存"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
ruleFormData
.
attenceType
?
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
toSubmit
(
"noteForm"
,
"2"
)}}},[
e
.
_v
(
"保存设置,开始排班 "
)]):
e
.
_e
()],
1
)])],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"vue-select-employee"
,{
attrs
:{
appScene
:
e
.
appScene
,
defaultSelection
:
e
.
mustSelection
,
onlyPerson
:
e
.
onlyPerson
,
treeSet
:
e
.
treeSet
,
changed
:
e
.
changed
},
on
:{
handleSelectedList
:
e
.
handleMustList
}}),
e
.
_v
(
" "
),
s
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"all"
,
defaultList
:
e
.
mustStoreList
},
on
:{
handleSelectedList
:
e
.
handleMustList
}}),
e
.
_v
(
" "
),
s
(
"vue-select-employee"
,{
attrs
:{
appScene
:
e
.
appScene
,
defaultSelection
:
e
.
noSelection
,
onlyPerson
:
!
0
,
treeSet
:
e
.
noTreeSet
,
changed
:
e
.
changedNo
},
on
:{
handleSelectedList
:
e
.
handleNoList
}}),
e
.
_v
(
" "
),
s
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
appScene
:
e
.
appScene
,
treeSet
:
e
.
noStoreTreeSet
,
selectType
:
"person"
,
defaultList
:
e
.
noStoreList
},
on
:{
handleSelectedList
:
e
.
handleNoList
}}),
e
.
_v
(
" "
),
s
(
"el-dialog"
,{
attrs
:{
title
:
"选择规则生效时间"
,
visible
:
e
.
showEffect
,
width
:
"420px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showEffect
=
t
}}},[
s
(
"span"
,[
e
.
_v
(
"立即生效:今日考勤结果将按新规则重算"
)]),
e
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
sendData
(
"noteForm"
,
"0"
)}}},[
e
.
_v
(
"明天生效"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
sendData
(
"noteForm"
,
"1"
)}}},[
e
.
_v
(
"立即生效"
)])],
1
)]),
e
.
_v
(
" "
),
s
(
"class-select"
,{
attrs
:{
workClassShow
:
e
.
workClassShow
,
classesId
:
e
.
classesId
},
on
:{
hideClassDialog
:
e
.
hideClassDialog
}}),
e
.
_v
(
" "
),
s
(
"map-select"
,{
attrs
:{
mapShow
:
e
.
mapShow
},
on
:{
hideMapDialog
:
e
.
hideMapDialog
}}),
e
.
_v
(
" "
),
s
(
"class-select-mult"
,{
attrs
:{
workClassMultShow
:
e
.
workClassMultShow
,
classesData
:
e
.
ruleFormData
.
classesJson
},
on
:{
hideMultClassDialog
:
e
.
hideMultClassDialog
}}),
e
.
_v
(
" "
),
s
(
"cycle-set"
,{
attrs
:{
rangeShow
:
e
.
rangeShow
,
classesJson
:
e
.
classesJson
,
attenceGroupData
:
e
.
attenceGroupData
,
attenceGroupId
:
e
.
$route
.
query
.
attenceGroupId
},
on
:{
hideCycleDialog
:
e
.
hideCycleDialog
}})],
1
)},
staticRenderFns
:[]};
var
G
=
s
(
"VU/8"
)(
L
,
O
,
!
1
,
function
(
e
){
s
(
"hKBp"
)},
"data-v-188aed32"
,
null
);
t
.
default
=
G
.
exports
},
gqu5
:
function
(
e
,
t
){},
hKBp
:
function
(
e
,
t
){},
wYFT
:
function
(
e
,
t
){},
zkXj
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/15.b9d0cf0cc0231fa10357.js
0 → 100644
View file @
0d68e2b7
webpackJsonp
([
15
],{
"08l2"
:
function
(
e
,
t
){},
"7hty"
:
function
(
e
,
t
){},
DrR8
:
function
(
e
,
t
){},
DsHd
:
function
(
e
,
t
){},
estW
:
function
(
e
,
t
,
s
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"Gu7T"
),
o
=
s
.
n
(
a
),
l
=
s
(
"mvHQ"
),
n
=
s
.
n
(
l
),
r
=
s
(
"Xxa5"
),
i
=
s
.
n
(
r
),
c
=
s
(
"exGp"
),
u
=
s
.
n
(
c
),
d
=
s
(
"P9l9"
),
p
=
s
(
"Ch4/"
),
m
=
s
(
"3E4D"
),
g
=
s
(
"PI0u"
),
f
=
{
name
:
"class-select"
,
components
:{},
props
:{
workClassShow
:{
type
:
Boolean
,
default
:
!
1
},
classesId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
selClassesId
:
this
.
classesId
,
customDialog
:
!
1
,
tableData
:[],
classesName
:
""
}},
methods
:{
toInput
:
Object
(
g
.
a
)(
function
(
e
,
t
){
this
.
getClassifyData
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getClassifyData
()},
customConfirm
:
Object
(
g
.
a
)(
u
()(
i
.
a
.
mark
(
function
e
(){
var
t
,
s
;
return
i
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
((
t
=
this
).
customDialog
=!
1
,
t
.
selClassesId
){
e
.
next
=
5
;
break
}
return
m
.
a
.
showmsg
(
"请选择班次"
,
"warning"
),
e
.
abrupt
(
"return"
,
!
1
);
case
5
:
s
=
{},
t
.
tableData
.
forEach
(
function
(
e
){
e
.
classesId
==
t
.
selClassesId
&&
(
s
=
e
)}),
t
.
$emit
(
"hideClassDialog"
,
s
),
t
.
$nextTick
(
function
(){
t
.
selClassesId
=
""
});
case
9
:
case
"end"
:
return
e
.
stop
()}},
e
,
this
)})),
300
),
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
var
e
=
this
;
e
.
customDialog
=!
1
,
e
.
$emit
(
"hideClassDialog"
),
e
.
$nextTick
(
function
(){
e
.
selClassesId
=
""
})},
getClassifyData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
enterpriseId
,
classesName
:
e
.
classesName
};
Object
(
d
.
a
)(
"/haoban-app-attence-web/attence-classes-list"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
&&
s
.
result
.
length
&&
s
.
result
.
forEach
(
function
(
e
){
e
.
classessTimesJson
&&
(
e
.
classessTimesJson
=
JSON
.
parse
(
e
.
classessTimesJson
))}),
e
.
tableData
=
s
.
result
||
[],
!
1
;
p
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
workClassShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
classesId
:
function
(
e
){
this
.
selClassesId
=
e
||
""
}},
mounted
:
function
(){
this
.
getClassifyData
(),
this
.
classesId
?
this
.
selClassesId
=
this
.
classesId
:
this
.
selClassesId
=
""
,
this
.
customDialog
=
this
.
workClassShow
}},
h
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"选择班次"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
s
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
s
(
"div"
,{
staticClass
:
"m-b-20"
},[
s
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入班次名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
s
=
t
,
e
.
toInput
(
s
,
e
.
classesName
);
var
s
}},
model
:{
value
:
e
.
classesName
,
callback
:
function
(
t
){
e
.
classesName
=
t
},
expression
:
"classesName"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
s
(
"el-table-column"
,{
attrs
:{
label
:
""
,
width
:
"50"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"el-radio"
,{
attrs
:{
label
:
t
.
row
.
classesId
},
model
:{
value
:
e
.
selClassesId
,
callback
:
function
(
t
){
e
.
selClassesId
=
t
},
expression
:
"selClassesId"
}},[
e
.
_v
(
e
.
_s
(
""
))])]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"imageUrl"
,
label
:
"班次名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
classesName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"titleName"
,
label
:
"考勤时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
e
.
_l
(
t
.
row
.
classessTimesJson
,
function
(
t
,
a
){
return
s
(
"div"
,{
key
:
a
+
"time"
},[
e
.
_v
(
e
.
_s
(
t
.
startTime
)
+
"-"
+
e
.
_s
(
t
.
endTime
))])})}}])})],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
customCancel
(
t
)}}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
customConfirm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
v
=
s
(
"VU/8"
)(
f
,
h
,
!
1
,
function
(
e
){
s
(
"DsHd"
)},
"data-v-2627b5fa"
,
null
).
exports
,
D
=
{
name
:
"class-select-mult"
,
components
:{},
props
:{
workClassMultShow
:{
type
:
Boolean
,
default
:
!
1
},
classesData
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
selClassesData
:
JSON
.
parse
(
n
()(
this
.
classesData
))
||
[],
customDialog
:
!
1
,
tableData
:[],
classesName
:
""
,
multipleSelection
:[]}},
methods
:{
toggleSelection
:
function
(
e
){
var
t
=
this
;
e
&&
t
.
$nextTick
(
function
(){
e
.
forEach
(
function
(
e
){
t
.
$refs
.
multipleTable
.
toggleRowSelection
(
e
,
!
0
)})})},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
,
this
.
selClassesData
=
JSON
.
parse
(
n
()(
e
))},
toInput
:
Object
(
g
.
a
)(
function
(
e
,
t
){
this
.
getClassifyData
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getClassifyData
()},
customConfirm
:
Object
(
g
.
a
)(
u
()(
i
.
a
.
mark
(
function
e
(){
var
t
,
s
,
a
,
o
;
return
i
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
((
t
=
this
).
selClassesData
.
length
){
e
.
next
=
4
;
break
}
return
m
.
a
.
showmsg
(
"请选择班次"
,
"warning"
),
e
.
abrupt
(
"return"
,
!
1
);
case
4
:
if
(
!
(
t
.
selClassesData
.
length
>
10
)){
e
.
next
=
7
;
break
}
return
m
.
a
.
showmsg
(
"最多选择10个班次"
,
"warning"
),
e
.
abrupt
(
"return"
,
!
1
);
case
7
:
if
(
s
=
[],
t
.
classesData
.
length
&&
(
a
=
t
.
selClassesData
.
map
(
function
(
e
){
return
e
.
classesId
}),
t
.
classesData
.
forEach
(
function
(
e
){
a
.
includes
(
e
.
classesId
)
||
s
.
push
(
e
.
classesName
)})),
!
s
.
length
||!
t
.
$route
.
query
.
attenceGroupId
){
e
.
next
=
12
;
break
}
return
t
.
$confirm
(
"移除后,排班周期将自动去掉该班次,但不影响排班表中已排的班次"
,
"确定从考勤组移除"
+
s
.
join
(
"-"
),{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
e
=
[];
t
.
selClassesData
.
forEach
(
function
(
t
){
e
.
push
({
classesId
:
t
.
classesId
,
classesName
:
t
.
classesName
,
classessTimesJson
:
t
.
classessTimesJson
})}),
t
.
$emit
(
"hideMultClassDialog"
,
e
),
t
.
customDialog
=!
1
,
t
.
$nextTick
(
function
(){})}).
catch
(
function
(){}),
e
.
abrupt
(
"return"
,
!
1
);
case
12
:
o
=
[],
t
.
selClassesData
.
forEach
(
function
(
e
){
o
.
push
({
classesId
:
e
.
classesId
,
classesName
:
e
.
classesName
,
classessTimesJson
:
e
.
classessTimesJson
})}),
t
.
$emit
(
"hideMultClassDialog"
,
o
),
t
.
customDialog
=!
1
,
t
.
$nextTick
(
function
(){});
case
17
:
case
"end"
:
return
e
.
stop
()}},
e
,
this
)})),
300
),
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideMultClassDialog"
),
this
.
$nextTick
(
function
(){})},
handleData
:
function
(){
var
e
=
this
.
selClassesData
.
map
(
function
(
e
){
return
e
.
classesId
}),
t
=
[];
this
.
selClassesData
.
length
&&
(
this
.
tableData
.
forEach
(
function
(
s
){
e
.
includes
(
s
.
classesId
)
&&
t
.
push
(
s
)}),
this
.
toggleSelection
(
t
))},
getClassifyData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
enterpriseId
,
classesName
:
e
.
classesName
};
Object
(
d
.
a
)(
"/haoban-app-attence-web/attence-classes-list"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
&&
s
.
result
.
length
&&
s
.
result
.
forEach
(
function
(
e
){
e
.
classessTimesJson
&&
(
e
.
classessTimesJson
=
JSON
.
parse
(
e
.
classessTimesJson
))}),
e
.
tableData
=
s
.
result
||
[],
e
.
handleData
(),
!
1
;
p
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
workClassMultShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
,
this
.
getClassifyData
()},
classesData
:
function
(
e
){
this
.
selClassesData
=
e
?
JSON
.
parse
(
n
()(
e
)):[]}},
mounted
:
function
(){
this
.
getClassifyData
(),
this
.
classesData
?
this
.
selClassesData
=
JSON
.
parse
(
n
()(
this
.
classesData
)):
this
.
selClassesData
=
[],
this
.
customDialog
=
this
.
workClassMultShow
}},
y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"选择班次"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
s
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
s
(
"div"
,{
staticClass
:
"m-b-20"
},[
s
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入班次名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
s
=
t
,
e
.
toInput
(
s
,
e
.
classesName
);
var
s
}},
model
:{
value
:
e
.
classesName
,
callback
:
function
(
t
){
e
.
classesName
=
t
},
expression
:
"classesName"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
height
:
"350"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
s
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"imageUrl"
,
label
:
"班次名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
classesName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"titleName"
,
label
:
"考勤时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
e
.
_l
(
t
.
row
.
classessTimesJson
,
function
(
t
,
a
){
return
s
(
"div"
,{
key
:
a
+
"time"
},[
e
.
_v
(
e
.
_s
(
t
.
startTime
)
+
"-"
+
e
.
_s
(
t
.
endTime
))])})}}])})],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
customCancel
(
t
)}}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
customConfirm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
S
,
b
=
s
(
"VU/8"
)(
D
,
y
,
!
1
,
function
(
e
){
s
(
"kr0l"
)},
"data-v-0daf0c9a"
,
null
).
exports
,
_
=
{
name
:
"class-select"
,
components
:{},
props
:{
mapShow
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
var
e
=
this
;
return
{
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
selClassesId
:
this
.
classesId
,
customDialog
:
!
1
,
ruleForm
:{
address
:
""
},
rules
:{
address
:[{
required
:
!
0
,
message
:
"请选择考勤地点"
,
trigger
:
"blur"
}]},
zoom
:
12
,
center
:[
120.12497
,
30.277155
],
address
:
""
,
plugin
:[{
pName
:
"ToolBar"
}],
events
:{
click
:
function
(
t
){
var
s
=
t
.
lnglat
,
a
=
s
.
lng
,
o
=
s
.
lat
;
e
.
lng
=
a
,
e
.
lat
=
o
,
new
AMap
.
Geocoder
({
radius
:
1
e3
,
extensions
:
"all"
}).
getAddress
([
a
,
o
],
function
(
t
,
s
){
"complete"
===
t
&&
"OK"
===
s
.
info
&&
s
&&
s
.
regeocode
&&
(
console
.
log
(
s
),
e
.
address
=
s
.
regeocode
.
formattedAddress
,
e
.
ruleForm
.
address
=
s
.
regeocode
.
formattedAddress
,
e
.
$nextTick
())})}},
lng
:
0
,
lat
:
0
}},
methods
:{
customConfirm
:
Object
(
g
.
a
)((
S
=
u
()(
i
.
a
.
mark
(
function
e
(
t
){
var
s
;
return
i
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
s
=
this
,
this
.
$refs
[
t
].
validate
(
function
(
e
){
e
&&
(
s
.
customDialog
=!
1
,
s
.
$emit
(
"hideMapDialog"
,{
address
:
s
.
address
,
longitude
:
s
.
lng
,
latitude
:
s
.
lat
}),
s
.
$nextTick
(
function
(){
s
.
address
=
""
,
s
.
ruleForm
.
address
=
""
}))});
case
2
:
case
"end"
:
return
e
.
stop
()}},
e
,
this
)})),
function
(
e
){
return
S
.
apply
(
this
,
arguments
)}),
300
),
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
var
e
=
this
;
e
.
customDialog
=!
1
,
e
.
$emit
(
"hideMapDialog"
),
e
.
$nextTick
(
function
(){
e
.
address
=
""
,
e
.
ruleForm
.
address
=
""
})}},
watch
:{
mapShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
}},
mounted
:
function
(){
this
.
customDialog
=
this
.
mapShow
}},
w
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
customDialog
,
expression
:
"customDialog"
}]},[
s
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"考勤地点"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
s
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
s
(
"div"
,{
staticClass
:
"amap-page-container"
},[
s
(
"el-amap"
,{
staticClass
:
"amap-demo"
,
attrs
:{
vid
:
"amapDemo"
,
center
:
e
.
center
,
zoom
:
e
.
zoom
,
plugin
:
e
.
plugin
,
events
:
e
.
events
}}),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"toolbar m-t-20"
},[
s
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"详细地址:"
,
prop
:
"address"
}},[
s
(
"el-input"
,{
model
:{
value
:
e
.
ruleForm
.
address
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"address"
,
t
)},
expression
:
"ruleForm.address"
}})],
1
)],
1
)],
1
)],
1
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
customCancel
(
t
)}}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
customConfirm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
C
=
s
(
"VU/8"
)(
_
,
w
,
!
1
,
function
(
e
){
s
(
"08l2"
)},
"data-v-1e2f8b2a"
,
null
).
exports
,
F
=
s
(
"Ke24"
),
k
=
s
(
"fZjL"
),
I
=
s
.
n
(
k
),
T
=
s
(
"l46T"
),
J
=
{
name
:
"cycle-set"
,
components
:{
limitInput
:
T
.
a
},
props
:{
rangeShow
:{
type
:
Boolean
,
default
:
!
1
},
attenceGroupId
:{
type
:
String
,
default
:
""
},
classesJson
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
attenceGroupData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
selClassesId
:
this
.
attenceGroupId
,
customDialog
:
!
1
,
tableData
:[],
classesName
:
""
,
ruleFormData
:{
classesRangeId
:
""
,
days
:
3
,
rangeName
:
""
,
classes
:[{
classesId
:
""
,
classesName
:
""
},{
classesId
:
""
,
classesName
:
""
},{
classesId
:
""
,
classesName
:
""
}]},
rules
:{
rangeName
:[{
required
:
!
0
,
message
:
"请输入周期名称"
,
trigger
:
"blur"
}]}}},
methods
:{
changeClass
:
function
(
e
,
t
){
this
.
tableData
.
forEach
(
function
(
s
){
s
.
classesId
==
e
&&
(
t
.
classesName
=
s
.
classesName
)})},
handleRangeDay
:
function
(
e
){
var
t
=
this
.
ruleFormData
.
classes
?
this
.
ruleFormData
.
classes
.
length
:
0
;
if
(
e
-
t
>
0
)
for
(
var
s
=
0
;
s
<
e
-
t
;
s
++
)
this
.
ruleFormData
.
classes
.
push
({
classesId
:
""
,
classesName
:
""
});
e
-
t
<
0
&&
this
.
ruleFormData
.
classes
.
splice
(
e
-
1
,
t
-
e
)},
toInput
:
Object
(
g
.
a
)(
function
(
e
,
t
){
this
.
getClassifyData
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getClassifyData
()},
customConfirm
:
Object
(
g
.
a
)(
function
(){
var
e
=
u
()(
i
.
a
.
mark
(
function
e
(
t
){
var
s
,
a
;
return
i
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
a
=!
0
,(
s
=
this
).
ruleFormData
.
classes
.
forEach
(
function
(
e
){
a
=!!
e
.
classesId
}),
a
){
e
.
next
=
6
;
break
}
return
m
.
a
.
showmsg
(
"请选择班次"
,
"warning"
),
e
.
abrupt
(
"return"
,
!
1
);
case
6
:
s
.
$refs
[
t
].
validate
(
function
(
e
){
e
&&
(
s
.
customDialog
=!
1
,
s
.
$emit
(
"hideCycleDialog"
,
s
.
ruleFormData
),
s
.
resetData
())});
case
7
:
case
"end"
:
return
e
.
stop
()}},
e
,
this
)}));
return
function
(
t
){
return
e
.
apply
(
this
,
arguments
)}}(),
300
),
resetData
:
function
(){
var
e
=
this
;
e
.
$nextTick
(
function
(){
e
.
ruleFormData
=
{
classesRangeId
:
""
,
days
:
3
,
rangeName
:
""
,
classes
:[{
classesId
:
""
,
classesName
:
""
},{
classesId
:
""
,
classesName
:
""
},{
classesId
:
""
,
classesName
:
""
}]}})},
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideCycleDialog"
),
this
.
resetData
()},
getClassifyData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
enterpriseId
};
Object
(
d
.
a
)(
"/haoban-app-attence-web/attence-classes-list"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
&&
s
.
result
.
length
&&
(
s
.
result
.
forEach
(
function
(
e
){
e
.
classessTimesJson
&&
(
e
.
classessTimesJson
=
JSON
.
parse
(
e
.
classessTimesJson
))}),
s
.
result
.
forEach
(
function
(
e
){
e
.
label
=
" "
,
e
.
classessTimesJson
&&
e
.
classessTimesJson
.
length
&&
e
.
classessTimesJson
.
forEach
(
function
(
t
){
e
.
label
+=
t
.
startTime
+
"-"
+
t
.
endTime
})})),
e
.
tableData
=
s
.
result
||
[],
!
1
;
p
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getRangeData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
enterpriseId
,
attenceGroupId
:
e
.
attenceGroupId
};
Object
(
d
.
a
)(
"/haoban-app-attence-web/attence-range-list"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
&&
s
.
result
.
length
&&
(
s
.
result
.
forEach
(
function
(
e
){
e
.
classes
=
e
.
classesList
}),
e
.
ruleFormData
=
s
.
result
[
0
]
||
[]),
!
1
;
p
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
rangeShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
attenceGroupId
:
function
(
e
){
e
&&
this
.
getRangeData
()},
attenceGroupData
:
function
(
e
){
I
()(
e
).
length
&&
(
this
.
ruleFormData
=
JSON
.
parse
(
n
()(
e
)))},
classesJson
:
function
(
e
){
e
.
length
&&
this
.
getClassifyData
()}},
mounted
:
function
(){
this
.
attenceGroupId
&&
this
.
getRangeData
(),
I
()(
this
.
attenceGroupData
).
length
&&
(
this
.
ruleFormData
=
JSON
.
parse
(
n
()(
this
.
attenceGroupData
))),
this
.
classesJson
.
length
&&
this
.
getClassifyData
(),
this
.
customDialog
=
this
.
rangeShow
}},
N
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"el-dialog"
,{
staticClass
:
"edit-dialog"
,
attrs
:{
title
:
"选择班次"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
s
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
s
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleFormData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"周期名称:"
,
prop
:
"rangeName"
}},[
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
305
,
inputValue
:
e
.
ruleFormData
.
rangeName
,
holder
:
"请输入周期名称"
,
getByType
:
"word"
,
maxLength
:
15
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"rangeName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"每个周期天数:"
,
prop
:
""
}},[
s
(
"div"
,[
s
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
step
:
1
,
"step-strictly"
:
!
0
,
min
:
3
,
max
:
31
},
on
:{
change
:
e
.
handleRangeDay
},
model
:{
value
:
e
.
ruleFormData
.
days
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"days"
,
t
)},
expression
:
"ruleFormData.days"
}}),
e
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"font-12 color-909399"
},[
e
.
_v
(
"以3天为周期进行循环,最大周期天数为31天"
)])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"range-classes"
},[
s
(
"ul"
,
e
.
_l
(
e
.
ruleFormData
.
classes
,
function
(
t
,
a
){
return
s
(
"li"
,{
key
:
a
+
"class"
},[
s
(
"span"
,[
e
.
_v
(
"第"
+
e
.
_s
(
a
+
1
)
+
"天:"
)]),
e
.
_v
(
" "
),
s
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
function
(
s
){
e
.
changeClass
(
s
,
t
)}},
model
:{
value
:
t
.
classesId
,
callback
:
function
(
s
){
e
.
$set
(
t
,
"classesId"
,
s
)},
expression
:
"item.classesId"
}},
e
.
_l
(
e
.
tableData
,
function
(
e
){
return
s
(
"el-option"
,{
key
:
e
.
classesId
,
attrs
:{
label
:
"班次"
+
e
.
classesName
+
e
.
label
,
value
:
e
.
classesId
}})}))],
1
)}))])])],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
customCancel
(
t
)}}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
customConfirm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
x
=
s
(
"VU/8"
)(
J
,
N
,
!
1
,
function
(
e
){
s
(
"7hty"
)},
"data-v-0ebaadc4"
,
null
).
exports
,
R
=
s
(
"Ie7z"
),
$
=
s
(
"c4uw"
),
L
=
s
(
"Kkt8"
),
O
=
{
name
:
"workGroupSet"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
topMenuData
:[{
id
:
"1"
,
name
:
"考勤组管理"
,
path
:
"/workSet?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
this
.
$route
.
query
.
attenceGroupId
?
"编辑考勤组"
:
"新建考勤组"
,
path
:
""
}],
weekDays
:{
0
:
"周日"
,
1
:
"周一"
,
2
:
"周二"
,
3
:
"周三"
,
4
:
"周四"
,
5
:
"周五"
,
6
:
"周六"
},
classifyOptions
:[],
activeId
:
"2"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
ruleFormData
:{
attenceGroupId
:
""
,
attenceGroupName
:
""
,
attenceType
:
1
,
attenceRangeType
:
!
1
,
attenceRangeStoreType
:
!
1
,
adminList
:[],
storeList
:[],
noAttenceRangeType
:
!
1
,
noAttenceRangeStoreType
:
!
1
,
noAdminList
:[],
noStoreList
:[],
lawFreeFlag
:
!
1
,
clockDistance
:
300
,
storeClockFlag
:
!
1
,
gpsFlag
:
!
1
,
distanceAddress
:[],
attenceRangeJson
:[],
sperialRangeJson
:[],
mustJson
:[],
noMustJson
:[],
attenceWorkJson
:[{
weekDay
:
"1"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]},{
weekDay
:
"2"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]},{
weekDay
:
"3"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]},{
weekDay
:
"4"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]},{
weekDay
:
"5"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]},{
weekDay
:
"6"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]},{
weekDay
:
"0"
,
workType
:
!
1
,
classesName
:
""
,
classesId
:
"-1"
,
classessTimesJson
:[]}],
attenceClassesRangeJSON
:[],
classesJson
:[]},
rules
:{
attenceGroupName
:[{
required
:
!
0
,
message
:
"请输入考勤组名称"
,
trigger
:
"blur"
}],
content
:[{
required
:
!
0
,
message
:
"请输入公告内容"
,
trigger
:
"blur"
}],
sendType
:[{
required
:
!
0
,
message
:
"请选择发送方式"
,
trigger
:
"change"
}]},
wxFlag
:
1
,
actionUrl
:
"/haoban-manage-web/upload-img"
,
datePickerBool
:
!
1
,
dateValue
:
""
,
mustType
:
""
,
selectNoType
:
""
,
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
},
mustSelection
:[],
changed
:
""
,
onlyPerson
:
!
1
,
appScene
:
1
,
mustStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
changedNo
:
""
,
noTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
},
noSelection
:[],
noStoreList
:[],
noStoreTreeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
defaultStoreBool
:
!
1
,
saveDataBool
:
!
0
,
showEffect
:
!
1
,
workClassShow
:
!
1
,
modIndex
:
""
,
modRow
:{},
showClassesFlag
:
!
1
,
multipleSelection
:[],
distance
:[{
value
:
"50"
,
label
:
"50米"
}],
mapShow
:
!
1
,
rangeShow
:
!
1
,
classesJson
:[],
attenceGroupData
:{
classesRangeId
:
""
,
days
:
3
,
rangeName
:
""
,
classes
:[{
classesId
:
""
,
classesName
:
""
},{
classesId
:
""
,
classesName
:
""
},{
classesId
:
""
,
classesName
:
""
}]},
workClassMultShow
:
!
1
}},
methods
:{
toShowRangeMult
:
function
(){
this
.
classesJson
=
JSON
.
parse
(
n
()(
this
.
ruleFormData
.
classesJson
)),
this
.
rangeShow
=!
0
},
hideCycleDialog
:
function
(
e
){
if
(
this
.
rangeShow
=!
1
,
!
e
)
return
!
1
;
this
.
ruleFormData
.
attenceClassesRangeJSON
=
JSON
.
parse
(
n
()([
e
])),
this
.
$forceUpdate
()},
toShowClassMult
:
function
(){
this
.
workClassMultShow
=!
0
,
this
.
classesData
=
JSON
.
parse
(
n
()(
this
.
ruleFormData
.
classesJson
))},
hideMultClassDialog
:
function
(
e
){
if
(
this
.
workClassMultShow
=!
1
,
this
.
classesData
=
[],
!
e
)
return
!
1
;
this
.
ruleFormData
.
classesJson
=
JSON
.
parse
(
n
()(
e
)),
this
.
classesJson
=
JSON
.
parse
(
n
()(
e
))},
editRange
:
function
(
e
,
t
){
this
.
classesJson
=
JSON
.
parse
(
n
()(
this
.
ruleFormData
.
classesJson
)),
this
.
attenceGroupData
=
JSON
.
parse
(
n
()(
t
)),
this
.
rangeShow
=!
0
},
addMap
:
function
(){
this
.
mapShow
=!
0
},
hideMapDialog
:
function
(
e
){
if
(
console
.
log
(
e
),
this
.
mapShow
=!
1
,
!
e
)
return
!
1
;
this
.
ruleFormData
.
distanceAddress
.
push
({
address
:
e
.
address
,
longitude
:
e
.
longitude
,
latitude
:
e
.
latitude
})},
delGps
:
function
(
e
,
t
){
this
.
ruleFormData
.
distanceAddress
.
splice
(
e
,
1
)},
showClasses
:
function
(){
this
.
workClassShow
=!
0
},
modClasses
:
function
(
e
,
t
){
console
.
log
(
t
),
this
.
modIndex
=
e
,
this
.
modRow
=
t
,
this
.
classesId
=
t
.
classesId
||
""
,
this
.
workClassShow
=!
0
},
hideClassDialog
:
function
(
e
){
if
(
this
.
workClassShow
=!
1
,
this
.
classesId
=
""
,
!
e
)
return
!
1
;
this
.
modRow
.
workType
=!
0
;
var
t
=
JSON
.
parse
(
n
()(
e
));
this
.
modRow
.
classesName
=
t
.
classesName
,
this
.
modRow
.
classesId
=
t
.
classesId
,
this
.
modRow
.
classessTimesJson
=
t
.
classessTimesJson
},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
selectBrandId
:
function
(
e
,
t
){
this
.
brandId
=
e
},
cancelSend
:
function
(){
var
e
=
this
;
if
(
e
.
$route
.
query
.
attenceGroupId
)
return
e
.
$router
.
go
(
-
1
),
!
1
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
go
(
-
1
)}).
catch
(
function
(){})},
showDialogMust
:
function
(
e
,
t
){
if
(
this
.
mustType
=
e
,
this
.
changed
=
e
,
"store"
===
e
)
return
this
.
nustStoreList
=
t
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
,
openNextBool
:
!
0
});
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
,
openNextBool
:
!
0
},
this
.
nustSelection
=
t
},
showDialogNo
:
function
(
e
,
t
){
if
(
this
.
selectNoType
=
e
,
this
.
changedNo
=
e
,
"store"
===
e
)
return
this
.
noStoreList
=
t
,
void
(
this
.
noStoreTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
,
openNextBool
:
!
0
});
this
.
noTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
,
openNextBool
:
!
0
},
this
.
noSelection
=
t
},
handleMustList
:
function
(
e
){
console
.
log
(
e
),
"store"
===
this
.
mustType
?(
this
.
ruleFormData
.
storeList
=
e
,
this
.
mustStoreList
=
e
):(
this
.
ruleFormData
.
adminList
=
e
,
this
.
mustSelection
=
e
)},
handleNoList
:
function
(
e
){
console
.
log
(
e
),
"store"
===
this
.
selectNoType
?(
this
.
ruleFormData
.
noStoreList
=
e
,
this
.
noStoreList
=
e
):(
this
.
ruleFormData
.
noAdminList
=
e
,
this
.
noSelection
=
e
)},
delDepart
:
function
(
e
,
t
,
s
){
t
.
splice
(
e
,
1
)},
changeMyDate
:
function
(){
this
.
dateValue
?
this
.
saveDataBool
=!
0
:
this
.
datePickerBool
=!
0
},
changeSendType
:
function
(
e
){
"0"
==
e
&&
(
this
.
saveDataBool
=!
0
)},
toSubmit
:
function
(
e
,
t
){
var
s
=
this
,
a
=
[];
s
.
ruleFormData
.
attenceRangeType
&&
s
.
ruleFormData
.
adminList
.
length
&&
(
a
=
s
.
ruleFormData
.
adminList
.
map
(
function
(
e
){
var
t
=
{
rangeType
:
1
,
storeFlag
:
0
,
id
:
e
.
id
,
name
:
e
.
name
||
e
.
label
,
type
:
e
.
type
};
return
1
==
e
.
type
&&
(
t
.
userId
=
e
.
id
),
2
==
e
.
type
&&
(
t
.
groupId
=
e
.
id
),
3
==
e
.
type
&&
(
t
.
storeId
=
e
.
id
),
t
}));
var
l
=
[];
s
.
ruleFormData
.
attenceRangeStoreType
&&
s
.
ruleFormData
.
storeList
.
length
&&
(
l
=
s
.
ruleFormData
.
storeList
.
map
(
function
(
e
){
var
t
=
{
rangeType
:
1
,
storeFlag
:
1
,
id
:
e
.
id
,
name
:
e
.
name
||
e
.
label
,
type
:
e
.
type
};
return
1
==
e
.
type
&&
(
t
.
userId
=
e
.
id
),
2
==
e
.
type
&&
(
t
.
groupId
=
e
.
id
),
3
==
e
.
type
&&
(
t
.
storeId
=
e
.
id
),
t
}));
var
n
=
[];
s
.
ruleFormData
.
noAttenceRangeType
&&
s
.
ruleFormData
.
noAdminList
.
length
&&
(
n
=
s
.
ruleFormData
.
noAdminList
.
map
(
function
(
e
){
return
{
rangeType
:
2
,
storeFlag
:
0
,
id
:
e
.
id
,
userId
:
e
.
id
,
name
:
e
.
name
||
e
.
label
,
type
:
e
.
type
}}));
if
(
s
.
ruleFormData
.
noAttenceRangeStoreType
&&
s
.
ruleFormData
.
noStoreList
.
length
&&
(
l
=
s
.
ruleFormData
.
noStoreList
.
map
(
function
(
e
){
return
{
rangeType
:
2
,
storeFlag
:
1
,
id
:
e
.
id
,
userId
:
e
.
id
,
name
:
e
.
name
||
e
.
label
,
type
:
e
.
type
}})),
s
.
ruleFormData
.
attenceRangeJson
=
[].
concat
(
o
()(
a
),
o
()(
l
),
o
()(
n
),[]),
s
.
ruleFormData
.
gpsFlag
&&!
s
.
ruleFormData
.
distanceAddress
.
length
)
return
m
.
a
.
showmsg
(
"请设置打卡地点"
,
"warning"
),
!
1
;
console
.
log
(
s
.
ruleFormData
),
s
.
$refs
[
e
].
validate
(
function
(
t
){
t
&&
(
s
.
$route
.
query
.
attenceGroupId
?
s
.
showEffect
=!
0
:
s
.
sendData
(
e
,
1
))})},
sendData
:
Object
(
g
.
a
)(
function
(
e
,
t
){
var
s
=
this
,
a
=
{
enterpriseId
:
s
.
enterpriseId
,
effectFlag
:
t
,
attenceGroupId
:
s
.
ruleFormData
.
attenceGroupId
,
attenceGroupName
:
s
.
ruleFormData
.
attenceGroupName
,
attenceType
:
s
.
ruleFormData
.
attenceType
,
attenceRangeType
:
s
.
ruleFormData
.
attenceRangeType
?
1
:
0
,
attenceRangeStoreType
:
s
.
ruleFormData
.
attenceRangeStoreType
?
1
:
0
,
noAttenceRangeType
:
s
.
ruleFormData
.
noAttenceRangeType
?
1
:
0
,
noAttenceRangeStoreType
:
s
.
ruleFormData
.
noAttenceRangeStoreType
?
1
:
0
,
lawFreeFlag
:
s
.
ruleFormData
.
lawFreeFlag
?
1
:
0
,
clockDistance
:
s
.
ruleFormData
.
clockDistance
,
storeClockFlag
:
s
.
ruleFormData
.
storeClockFlag
?
1
:
0
,
gpsFlag
:
s
.
ruleFormData
.
gpsFlag
?
1
:
0
,
distanceAddress
:
n
()(
s
.
ruleFormData
.
distanceAddress
),
attenceRangeJson
:
n
()(
s
.
ruleFormData
.
attenceRangeJson
),
sperialRangeJson
:
n
()(
s
.
ruleFormData
.
sperialRangeJson
),
attenceWorkJson
:
n
()(
s
.
ruleFormData
.
attenceWorkJson
),
attenceClassesRangeJSON
:
n
()(
s
.
ruleFormData
.
attenceClassesRangeJSON
),
classesJson
:
n
()(
s
.
ruleFormData
.
classesJson
)};
s
.
saveDataBool
&&
Object
(
d
.
e
)(
s
.
$route
.
query
.
attenceGroupId
?
"/haoban-app-attence-web/attence-edit"
:
"/haoban-app-attence-web/attence-add"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
==
t
.
errorCode
?
1
==
s
.
ruleFormData
.
attenceType
?(
s
.
$message
.
success
(
"保存成功"
),
s
.
$router
.
go
(
-
1
)):
s
.
$router
.
push
(
"/workTimeManage?appIcon="
+
s
.
$route
.
query
.
appIcon
+
"&attenceGroupId="
+
s
.
$route
.
query
.
attenceGroupId
):
s
.
$message
.
error
(
t
.
message
)})},
500
),
getClassifyData
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
enterpriseId
};
Object
(
d
.
a
)(
"/haoban-app-attence-web/attence-classes-list"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
.
list
&&
s
.
result
.
list
.
length
&&
s
.
result
.
list
.
forEach
(
function
(
e
){
e
.
classessTimesJson
&&
(
e
.
classessTimesJson
=
JSON
.
parse
(
e
.
classessTimesJson
))}),
e
.
classifyList
=
s
.
result
.
list
||
[],
!
1
;
p
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getGroupData
:
function
(){
var
e
=
this
,
t
=
{
attenceGroupId
:
e
.
$route
.
query
.
attenceGroupId
};
Object
(
d
.
a
)(
"/haoban-app-attence-web/attence-detail"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
.
attenceRangeType
=
1
==
s
.
result
.
attenceRangeType
,
s
.
result
.
attenceRangeStoreType
=
1
==
s
.
result
.
attenceRangeStoreType
,
s
.
result
.
noAttenceRangeType
=
1
==
s
.
result
.
noAttenceRangeType
,
s
.
result
.
noAttenceRangeStoreType
=
1
==
s
.
result
.
noAttenceRangeStoreType
,
s
.
result
.
attenceRangeJson
=
s
.
result
.
attenceRangeJson
?
JSON
.
parse
(
s
.
result
.
attenceRangeJson
):[],
s
.
result
.
lawFreeFlag
=
1
==
s
.
result
.
lawFreeFlag
,
s
.
result
.
storeClockFlag
=
1
==
s
.
result
.
storeClockFlag
,
s
.
result
.
gpsFlag
=
1
==
s
.
result
.
gpsFlag
,
s
.
result
.
clockDistance
=
parseInt
(
s
.
result
.
clockDistance
),
s
.
result
.
distanceAddress
=
s
.
result
.
distanceAddress
?
JSON
.
parse
(
s
.
result
.
distanceAddress
):[],
s
.
result
.
sperialRangeJson
=
s
.
result
.
sperialRangeJson
?
JSON
.
parse
(
s
.
result
.
sperialRangeJson
):[],
s
.
result
.
attenceWorkJson
=
s
.
result
.
attenceWorkJson
?
JSON
.
parse
(
s
.
result
.
attenceWorkJson
):[],
s
.
result
.
attenceClassesRangeJSON
=
s
.
result
.
attenceClassesRangeJSON
?
JSON
.
parse
(
s
.
result
.
attenceClassesRangeJSON
):[],
s
.
result
.
classesJson
=
s
.
result
.
classesJson
?
JSON
.
parse
(
s
.
result
.
classesJson
):[],
s
.
result
.
adminList
=
[],
s
.
result
.
storeList
=
[],
s
.
result
.
noAdminList
=
[],
s
.
result
.
noStoreList
=
[],
s
.
result
.
attenceRangeJson
&&
s
.
result
.
attenceRangeJson
.
forEach
(
function
(
e
){
1
==
e
.
rangeType
&&
0
==
e
.
storeFlag
&&
s
.
result
.
adminList
.
push
(
e
),
2
==
e
.
rangeType
&&
0
==
e
.
storeFlag
&&
s
.
result
.
noAdminList
.
push
(
e
),
1
==
e
.
rangeType
&&
1
==
e
.
storeFlag
&&
s
.
result
.
storeList
.
push
(
e
),
2
==
e
.
rangeType
&&
1
==
e
.
storeFlag
&&
s
.
result
.
noStoreList
.
push
(
e
)}),
s
.
result
.
attenceWorkJson
&&
s
.
result
.
attenceWorkJson
.
forEach
(
function
(
e
){
e
.
workType
=
1
==
e
.
workType
}),
s
.
result
.
attenceWorkJson
&&
s
.
result
.
attenceWorkJson
.
length
&&
s
.
result
.
attenceWorkJson
.
forEach
(
function
(
e
){
e
.
classessTimesJson
=
e
.
classessTimesJson
?
JSON
.
parse
(
e
.
classessTimesJson
):[]}),
s
.
result
.
classesJson
&&
s
.
result
.
classesJson
.
length
&&
s
.
result
.
classesJson
.
forEach
(
function
(
e
){
e
.
classessTimesJson
=
e
.
classessTimesJson
?
JSON
.
parse
(
e
.
classessTimesJson
):[]}),
e
.
mustSelection
=
s
.
result
.
adminList
,
e
.
mustStoreList
=
s
.
result
.
storeList
,
e
.
noSelection
=
s
.
result
.
noAdminList
,
e
.
noStoreList
=
s
.
result
.
noStoreList
,
e
.
ruleFormData
=
JSON
.
parse
(
n
()(
s
.
result
)),
!
1
;
p
.
a
.
errorMsg
(
resData
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
setDistance
:
function
(){
for
(
var
e
=
1
;
e
<
11
;
e
++
)
this
.
distance
.
push
({
value
:
100
*
e
,
label
:
100
*
e
+
"米"
});
this
.
distance
.
push
({
value
:
2
e3
,
label
:
"2000米"
})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getClassifyData
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
components
:{
commonDetailTop
:
F
.
a
,
limitInput
:
T
.
a
,
limitTextarea
:
L
.
a
,
vueSelectStore
:
R
.
a
,
vueSelectEmployee
:
$
.
a
,
classSelect
:
v
,
mapSelect
:
C
,
classSelectMult
:
b
,
cycleSet
:
x
},
mounted
:
function
(){
var
e
=
this
;
e
.
$emit
(
"showTab"
,
"2"
),
e
.
setDistance
(),
e
.
$route
.
query
.
attenceGroupId
&&
e
.
$nextTick
(
function
(){
e
.
getGroupData
()})}},
G
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"notice-list-wrap"
},[
s
(
"div"
,{
staticClass
:
"notice-list"
},[
s
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
s
(
"el-form"
,{
ref
:
"noteForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleFormData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
s
(
"el-form-item"
,{
staticClass
:
"input-item"
,
attrs
:{
label
:
"考勤组名称:"
,
prop
:
"attenceGroupName"
}},[
s
(
"limitInput"
,{
attrs
:{
disflag
:
!!
e
.
$route
.
query
.
attenceGroupId
,
inputWidth
:
286
,
inputValue
:
e
.
ruleFormData
.
attenceGroupName
,
holder
:
"请输入考勤组名称"
,
getByType
:
"word"
,
maxLength
:
15
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"attenceGroupName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
staticClass
:
"input-item"
,
attrs
:{
label
:
"参与考勤人员:"
,
prop
:
""
}},[
s
(
"div"
,{
staticClass
:
"flex"
},[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
attenceRangeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"attenceRangeType"
,
t
)},
expression
:
"ruleFormData.attenceRangeType"
}},[
e
.
_v
(
"行政架构"
)]),
e
.
_v
(
" "
),
e
.
ruleFormData
.
attenceRangeType
?
s
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
s
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
s
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"470px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogMust
(
"depart"
,
e
.
ruleFormData
.
adminList
)}}},[
e
.
ruleFormData
.
adminList
.
length
?
e
.
_e
():
s
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
e
.
_v
(
"请选择行政架构"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"el-select__tags"
},[
s
(
"span"
,[
e
.
_l
(
e
.
ruleFormData
.
adminList
,
function
(
t
,
a
){
return
[
s
(
"span"
,{
key
:
a
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
s
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
s
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
a
,
e
.
ruleFormData
.
adminList
,
"depart"
)}}})])]})],
2
)])])])]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"flex m-t-20"
},[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
attenceRangeStoreType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"attenceRangeStoreType"
,
t
)},
expression
:
"ruleFormData.attenceRangeStoreType"
}},[
e
.
_v
(
"门店架构"
)]),
e
.
_v
(
" "
),
e
.
ruleFormData
.
attenceRangeStoreType
?
s
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
s
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
s
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"470px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogMust
(
"store"
,
e
.
ruleFormData
.
storeList
)}}},[
e
.
ruleFormData
.
storeList
.
length
?
e
.
_e
():
s
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
e
.
_v
(
"请选择门店架构"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"el-select__tags"
},[
s
(
"span"
,[
e
.
_l
(
e
.
ruleFormData
.
storeList
,
function
(
t
,
a
){
return
[
s
(
"span"
,{
key
:
a
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
s
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
s
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
a
,
e
.
ruleFormData
.
storeList
,
"store"
)}}})])]})],
2
)])])])]):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
staticClass
:
"input-item"
,
attrs
:{
label
:
"考勤白名单:"
,
prop
:
""
}},[
s
(
"div"
,{
staticClass
:
"flex"
},[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
noAttenceRangeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"noAttenceRangeType"
,
t
)},
expression
:
"ruleFormData.noAttenceRangeType"
}},[
e
.
_v
(
"行政架构"
)]),
e
.
_v
(
" "
),
e
.
ruleFormData
.
noAttenceRangeType
?
s
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
s
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
s
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"470px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogNo
(
"depart"
,
e
.
ruleFormData
.
noAdminList
)}}},[
e
.
ruleFormData
.
noAdminList
.
length
?
e
.
_e
():
s
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
e
.
_v
(
"请选择行政架构"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"el-select__tags"
},[
s
(
"span"
,[
e
.
_l
(
e
.
ruleFormData
.
noAdminList
,
function
(
t
,
a
){
return
[
s
(
"span"
,{
key
:
a
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
s
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
s
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
a
,
e
.
ruleFormData
.
noAdminList
,
"depart"
)}}})])]})],
2
)])])])]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"flex m-t-20"
},[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
noAttenceRangeStoreType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"noAttenceRangeStoreType"
,
t
)},
expression
:
"ruleFormData.noAttenceRangeStoreType"
}},[
e
.
_v
(
"门店架构"
)]),
e
.
_v
(
" "
),
e
.
ruleFormData
.
noAttenceRangeStoreType
?
s
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
s
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
s
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"470px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogNo
(
"store"
,
e
.
ruleFormData
.
noStoreList
)}}},[
e
.
ruleFormData
.
noStoreList
.
length
?
e
.
_e
():
s
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
e
.
_v
(
"请选择门店架构"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"el-select__tags"
},[
s
(
"span"
,[
e
.
_l
(
e
.
ruleFormData
.
noStoreList
,
function
(
t
,
a
){
return
[
s
(
"span"
,{
key
:
a
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
s
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
s
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
a
,
e
.
ruleFormData
.
noStoreList
,
"store"
)}}})])]})],
2
)])])])]):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"考勤类型:"
,
prop
:
""
}},[
s
(
"div"
,{
staticClass
:
"work-type m-b-8"
},[
s
(
"el-radio"
,{
attrs
:{
disabled
:
!!
e
.
$route
.
query
.
attenceGroupId
,
label
:
1
},
model
:{
value
:
e
.
ruleFormData
.
attenceType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"attenceType"
,
t
)},
expression
:
"ruleFormData.attenceType"
}},[
e
.
_v
(
"固定时间上下班【所有人按照相同时间打卡】"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"line-h-15 font-14 color-909399"
},[
e
.
_v
(
"适用于:办公室等"
)])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"work-type m-b-8"
},[
s
(
"el-radio"
,{
attrs
:{
disabled
:
!!
e
.
$route
.
query
.
attenceGroupId
,
label
:
2
},
model
:{
value
:
e
.
ruleFormData
.
attenceType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"attenceType"
,
t
)},
expression
:
"ruleFormData.attenceType"
}},[
e
.
_v
(
"排班时间上下班【不同人员根据各自排班打卡】"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"line-h-15 font-14 color-909399"
},[
e
.
_v
(
"适用于:工厂、门店等"
)])],
1
)]),
e
.
_v
(
" "
),
1
==
e
.
ruleFormData
.
attenceType
?
s
(
"el-form-item"
,{
attrs
:{
label
:
"工作日设置:"
,
prop
:
""
}},[
s
(
"div"
,{
staticClass
:
"quick-set-table"
},[
s
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"567px"
},
attrs
:{
data
:
e
.
ruleFormData
.
attenceWorkJson
,
"tooltip-effect"
:
"dark"
}},[
s
(
"el-table-column"
,{
attrs
:{
width
:
"55"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
label
:
"工作日"
,
width
:
"120"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
e
.
weekDays
[
t
.
row
.
weekDay
]))]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"排班时间段"
,
width
:
"120"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
workType
?
s
(
"div"
,
e
.
_l
(
t
.
row
.
classessTimesJson
,
function
(
t
,
a
){
return
s
(
"div"
,{
key
:
a
+
"time"
},[
e
.
_v
(
e
.
_s
(
t
.
startTime
)
+
"-"
+
e
.
_s
(
t
.
endTime
))])})):
s
(
"div"
,[
e
.
_v
(
"休息"
)])]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
modClasses
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"更改班次"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
lawFreeFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"lawFreeFlag"
,
t
)},
expression
:
"ruleFormData.lawFreeFlag"
}},[
e
.
_v
(
"法定节假日自动排休"
)])],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
ruleFormData
.
attenceType
?
s
(
"el-form-item"
,{
attrs
:{
label
:
"考勤班次:"
,
prop
:
""
}},[
e
.
ruleFormData
.
classesJson
.
length
?
s
(
"div"
,{
staticClass
:
"tags-classes"
},[
s
(
"div"
,{
staticClass
:
"attend-type-classes"
,
on
:{
click
:
e
.
toShowClassMult
}},[
s
(
"div"
,{
staticClass
:
"attend-type-classes-display"
},
e
.
_l
(
e
.
ruleFormData
.
classesJson
,
function
(
t
,
a
){
return
s
(
"div"
,{
key
:
a
,
class
:[
"class-tag"
,
a
%
7
==
0
?
"day-tag-blue"
:
""
,
a
%
7
==
1
?
"day-tag-red"
:
""
,
a
%
7
==
2
?
"day-tag-purple"
:
""
,
a
%
7
==
3
?
"day-tag-orange"
:
""
,
a
%
7
==
4
?
"day-tag-green"
:
""
,
a
%
7
==
5
?
"day-tag-pink"
:
""
,
a
%
7
==
6
?
"day-tag-cyan"
:
""
]},[
s
(
"span"
,{
staticClass
:
"ant-tag-text"
},[
e
.
_v
(
"班次"
+
e
.
_s
(
t
.
classesName
)
+
":"
)]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
classessTimesJson
,
function
(
t
,
a
){
return
s
(
"span"
,{
key
:
a
+
"time"
},[
e
.
_v
(
e
.
_s
(
t
.
startTime
)
+
"-"
+
e
.
_s
(
t
.
endTime
))])})],
2
)}))])]):
s
(
"div"
,{
staticClass
:
"classes-btn"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
toShowClassMult
}},[
e
.
_v
(
"选择班次"
)])],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
ruleFormData
.
attenceType
&&
e
.
ruleFormData
.
classesJson
.
length
?
s
(
"el-form-item"
,{
attrs
:{
label
:
"排班周期:"
,
prop
:
""
}},[
e
.
ruleFormData
.
attenceClassesRangeJSON
.
length
?
s
(
"el-table"
,{
staticStyle
:{
width
:
"567px"
},
attrs
:{
data
:
e
.
ruleFormData
.
attenceClassesRangeJSON
,
"tooltip-effect"
:
"dark"
}},[
s
(
"el-table-column"
,{
attrs
:{
prop
:
"ranageName"
,
label
:
"周期名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
rangeName
))]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"周期班次"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
e
.
_l
(
t
.
row
.
classes
,
function
(
t
,
a
){
return
s
(
"span"
,{
key
:
a
+
"time"
},[
e
.
_v
(
e
.
_s
(
a
>
1
?
"-"
:
""
)
+
e
.
_s
(
t
.
classesName
))])})}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"ranageName"
,
label
:
"周期天数"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
days
))]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
s
){
e
.
editRange
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)])]}}])})],
1
):
s
(
"div"
,{
staticClass
:
"classes-btn"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
toShowRangeMult
}},[
e
.
_v
(
"请设置排班周期"
)])],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"考勤方式:"
,
prop
:
""
}},[
s
(
"div"
,[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
gpsFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"gpsFlag"
,
t
)},
expression
:
"ruleFormData.gpsFlag"
}},[
e
.
_v
(
"GPS打卡"
)]),
e
.
ruleFormData
.
gpsFlag
?
e
.
_e
():
s
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
e
.
_v
(
"你尚未设置任何考勤方式,保存设置后成员可在任何地点打卡"
)])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"gps-body p-20 bg-f7f8fa"
,
staticStyle
:{
width
:
"567px"
}},[
s
(
"div"
,[
e
.
_v
(
"根据工作地点考勤(可添加多个考勤地点)"
)]),
e
.
_v
(
" "
),
s
(
"div"
,[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
addMap
}},[
e
.
_v
(
"添加考勤地点"
)]),
e
.
_v
(
" "
),
s
(
"span"
,[
e
.
_v
(
"有效范围"
)]),
e
.
_v
(
" "
),
s
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
ruleFormData
.
clockDistance
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"clockDistance"
,
t
)},
expression
:
"ruleFormData.clockDistance"
}},
e
.
_l
(
e
.
distance
,
function
(
e
){
return
s
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
e
.
ruleFormData
.
distanceAddress
.
length
?
s
(
"div"
,{
staticClass
:
"m-t-20"
},[
s
(
"el-table"
,{
staticStyle
:{
width
:
"567px"
},
attrs
:{
data
:
e
.
ruleFormData
.
distanceAddress
,
"tooltip-effect"
:
"dark"
}},[
s
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"考勤地址"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
address
))]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
s
){
e
.
delGps
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
s
(
"div"
,[
s
(
"el-checkbox"
,{
model
:{
value
:
e
.
ruleFormData
.
storeClockFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleFormData
,
"storeClockFlag"
,
t
)},
expression
:
"ruleFormData.storeClockFlag"
}},[
e
.
_v
(
"根据门店地址经纬度自动配置"
)]),
e
.
_v
(
" "
),
s
(
"p"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"如门店经纬度有误,请在通讯录修改门店相关信息,未设置门店打卡无须选择此项"
)])],
1
)])]),
e
.
_v
(
" "
),
s
(
"el-form-item"
,[
s
(
"div"
,{
staticClass
:
"btn-wrap"
},[
s
(
"el-button"
,{
attrs
:{
plain
:
""
},
on
:{
click
:
e
.
cancelSend
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
1
==
e
.
ruleFormData
.
attenceType
?
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
toSubmit
(
"noteForm"
,
"1"
)}}},[
e
.
_v
(
"保存"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
ruleFormData
.
attenceType
?
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
toSubmit
(
"noteForm"
,
"2"
)}}},[
e
.
_v
(
"保存设置,开始排班 "
)]):
e
.
_e
()],
1
)])],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"vue-select-employee"
,{
attrs
:{
appScene
:
e
.
appScene
,
defaultSelection
:
e
.
mustSelection
,
onlyPerson
:
e
.
onlyPerson
,
treeSet
:
e
.
treeSet
,
changed
:
e
.
changed
},
on
:{
handleSelectedList
:
e
.
handleMustList
}}),
e
.
_v
(
" "
),
s
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"all"
,
defaultList
:
e
.
mustStoreList
},
on
:{
handleSelectedList
:
e
.
handleMustList
}}),
e
.
_v
(
" "
),
s
(
"vue-select-employee"
,{
attrs
:{
appScene
:
e
.
appScene
,
defaultSelection
:
e
.
noSelection
,
onlyPerson
:
!
0
,
treeSet
:
e
.
noTreeSet
,
changed
:
e
.
changedNo
},
on
:{
handleSelectedList
:
e
.
handleNoList
}}),
e
.
_v
(
" "
),
s
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
appScene
:
e
.
appScene
,
treeSet
:
e
.
noStoreTreeSet
,
selectType
:
"person"
,
defaultList
:
e
.
noStoreList
},
on
:{
handleSelectedList
:
e
.
handleNoList
}}),
e
.
_v
(
" "
),
s
(
"el-dialog"
,{
attrs
:{
title
:
"选择规则生效时间"
,
visible
:
e
.
showEffect
,
width
:
"420px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showEffect
=
t
}}},[
s
(
"span"
,[
e
.
_v
(
"立即生效:今日考勤结果将按新规则重算"
)]),
e
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
sendData
(
"noteForm"
,
"0"
)}}},[
e
.
_v
(
"明天生效"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
sendData
(
"noteForm"
,
"1"
)}}},[
e
.
_v
(
"立即生效"
)])],
1
)]),
e
.
_v
(
" "
),
s
(
"class-select"
,{
attrs
:{
workClassShow
:
e
.
workClassShow
,
classesId
:
e
.
classesId
},
on
:{
hideClassDialog
:
e
.
hideClassDialog
}}),
e
.
_v
(
" "
),
s
(
"map-select"
,{
attrs
:{
mapShow
:
e
.
mapShow
},
on
:{
hideMapDialog
:
e
.
hideMapDialog
}}),
e
.
_v
(
" "
),
s
(
"class-select-mult"
,{
attrs
:{
workClassMultShow
:
e
.
workClassMultShow
,
classesData
:
e
.
ruleFormData
.
classesJson
},
on
:{
hideMultClassDialog
:
e
.
hideMultClassDialog
}}),
e
.
_v
(
" "
),
s
(
"cycle-set"
,{
attrs
:{
rangeShow
:
e
.
rangeShow
,
classesJson
:
e
.
classesJson
,
attenceGroupData
:
e
.
attenceGroupData
,
attenceGroupId
:
e
.
$route
.
query
.
attenceGroupId
},
on
:{
hideCycleDialog
:
e
.
hideCycleDialog
}})],
1
)},
staticRenderFns
:[]};
var
A
=
s
(
"VU/8"
)(
O
,
G
,
!
1
,
function
(
e
){
s
(
"DrR8"
)},
"data-v-1b452ad2"
,
null
);
t
.
default
=
A
.
exports
},
kr0l
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/3
2.fc2213c2b57da6c25ea2
.js
→
dist/static/js/3
1.20f69d688df3827843c5
.js
View file @
0d68e2b7
webpackJsonp
([
32
],{
CJkk
:
function
(
t
,
e
){},
HmVO
:
function
(
t
,
e
){},
Zyzf
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"//Fk"
),
s
=
a
.
n
(
i
),
o
=
a
(
"gBtx"
),
n
=
a
.
n
(
o
),
l
=
a
(
"3Xzz"
),
c
=
a
(
"PI0u"
),
r
=
a
(
"P9l9"
),
d
=
a
(
"3E4D"
),
f
=
a
(
"Ch4/"
),
u
=
{
name
:
"staff-detail-field"
,
props
:{
showCustomDialog
:{
type
:
Boolean
,
default
:
!
1
},
detailData
:{
type
:
Array
,
default
:
function
(){
return
[]}},
dataType
:{
type
:
Number
,
default
:
1
}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
!
1
,
fixData
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
],
fixDataStore
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
,
"clerkCode"
],
customData
:[],
checkList
:[],
setList
:[],
baseUrl
:
""
}},
beforeMount
:
function
(){
var
t
=
window
.
location
.
origin
;
"-1"
!=
t
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://gicdev.demogic.com"
:
this
.
baseUrl
=
t
},
computed
:{},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"customHandleConfirm"
,
"hide"
)},
customConfirm
:
Object
(
c
.
a
)(
function
(){
this
.
checkList
=
this
.
customData
.
map
(
function
(
t
){
return
t
.
checkList
}).
flat
(),
this
.
saveFields
(
this
.
dataType
)},
500
),
customChange
:
function
(
t
){},
saveFields
:
function
(
t
){
var
e
=
this
,
a
=
{
fields
:
e
.
checkList
,
type
:
t
};
Object
(
r
.
e
)(
"/haoban-manage-web/record/employee-show-field-save.json"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
d
.
a
.
showmsg
(
"添加成功"
,
"success"
),
void
e
.
$emit
(
"customHandleConfirm"
);
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
console
.
log
(
t
),
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
treeData
:
function
(
t
){
var
e
=
t
.
filter
(
function
(
e
){
var
a
=
t
.
filter
(
function
(
t
){
return
e
.
fieldCode
==
t
.
parentCode
});
return
a
.
length
>
0
&&
(
e
.
children
=
a
),
0
==
e
.
parentCode
});
return
e
.
sort
(
function
(
t
,
e
){
return
t
.
sort
-
e
.
sort
}),
e
.
forEach
(
function
(
t
,
e
){
t
.
children
.
sort
(
function
(
t
,
e
){
return
t
.
sort
-
e
.
sort
})}),
e
},
getInfo
:
function
(){
var
t
=
this
;
t
.
setList
=
[],
Object
(
r
.
e
)(
"/haoban-manage-web/record/employee-find-template.json"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
a
.
result
.
forEach
(
function
(
e
){
0
!=
e
.
parentCode
&&
t
.
setList
.
push
(
e
.
fieldCode
)})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getAllFields
:
function
(){
var
t
=
this
;
Object
(
r
.
e
)(
"/haoban-manage-web/record/employee-find-system-template.json"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
t
.
handleAllFields
(
a
.
result
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleAllFields
:
function
(
t
){
var
e
=
this
.
treeData
(
t
);
e
.
forEach
(
function
(
t
,
e
){
t
.
checkList
=
[]}),
this
.
customData
=
e
},
handleDetailData
:
function
(){
var
t
=
this
;
t
.
customData
.
forEach
(
function
(
e
,
a
){
e
.
checkList
=
[],
e
.
children
.
forEach
(
function
(
a
,
i
){
t
.
checkList
.
includes
(
a
.
fieldCode
)
&&
e
.
checkList
.
push
(
a
.
fieldCode
),
a
.
disable
=
1
==
t
.
dataType
?
t
.
fixData
.
includes
(
a
.
fieldCode
):
t
.
fixDataStore
.
includes
(
a
.
fieldCode
),
t
.
setList
.
includes
(
a
.
fieldCode
)
||
(
a
.
disable
=!
0
)})})}},
watch
:{
showCustomDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
detailData
:
function
(
t
,
e
){
this
.
checkList
=
t
&&
t
.
length
?
t
:[],
this
.
handleDetailData
()}},
mounted
:
function
(){
var
t
=
this
;
t
.
customDialog
=
t
.
showCustomDialog
,
s
.
a
.
all
([
t
.
getInfo
()]).
then
(
function
(){
t
.
getAllFields
()})}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"员工个人详情页展示字段设置"
,
visible
:
t
.
customDialog
,
width
:
"761px"
,
"before-close"
:
t
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"custom-dialog__title"
},[
a
(
"p"
,{
staticClass
:
"custom-dialog__p"
},[
t
.
_v
(
"tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-dialog-body"
},[
t
.
_l
(
t
.
customData
,
function
(
e
,
i
){
return
[
a
(
"div"
,{
key
:
i
,
staticClass
:
"detail-field-cell flex"
},[
a
(
"div"
,{
staticClass
:
"detail-field-left"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"detail-field-right flex"
},[
a
(
"el-checkbox-group"
,{
staticClass
:
"flex flex-wrap"
,
on
:{
change
:
t
.
customChange
},
model
:{
value
:
e
.
checkList
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"checkList"
,
a
)},
expression
:
"item.checkList"
}},
t
.
_l
(
e
.
children
,
function
(
e
,
i
){
return
a
(
"el-checkbox"
,{
key
:
e
.
fieldCode
+
i
,
attrs
:{
label
:
e
.
fieldCode
,
disabled
:
e
.
disable
,
name
:
"type"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
fieldName
)
+
"
\
n "
)])}))],
1
)])]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
customCancel
}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
customConfirm
}},[
t
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
t
){
a
(
"CJkk"
)},
"data-v-64d006f9"
,
null
).
exports
,
g
=
{
name
:
"staffDetails"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"通讯录信息"
,
path
:
"/staffDetails"
},{
name
:
"员工详细字段"
,
path
:
""
}],
fixData
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
],
fixDataStore
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
,
"clerkCode"
],
adminStruct
:{
name
:
"行政架构通讯录员工详情字段"
,
fixedList
:[],
defineList
:[]},
storeStruct
:{
name
:
"门店架构通讯录员工详情字段"
,
fixedList
:[],
defineList
:[]},
showCustomDialog
:
!
1
,
detailData
:[],
dataType
:
null
}},
computed
:{},
methods
:{
showDialogLayer
:
function
(
t
){
this
.
showCustomDialog
=!
0
,
this
.
dataType
=
t
,
this
.
detailData
=
1
===
t
?
this
.
adminStruct
.
fixedList
.
map
(
function
(
t
){
return
t
.
fields
}).
concat
(
this
.
adminStruct
.
defineList
.
map
(
function
(
t
){
return
t
.
fields
})):
this
.
storeStruct
.
fixedList
.
map
(
function
(
t
){
return
t
.
fields
}).
concat
(
this
.
storeStruct
.
defineList
.
map
(
function
(
t
){
return
t
.
fields
}))},
customHandleConfirm
:
function
(
t
){
if
(
this
.
showCustomDialog
=!
1
,
t
)
return
!
1
;
this
.
getSaveFields
(
this
.
dataType
)},
delField
:
function
(
t
,
e
,
a
,
i
){
var
s
=
this
;
s
.
$alert
(
"确定要删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
}).
then
(
function
(
o
){
o
.
value
;
s
.
postDlField
(
e
.
fields
,
i
,
a
,
t
)}).
catch
(
function
(){})},
postDlField
:
function
(
t
,
e
,
a
,
i
){
var
s
=
this
,
o
=
{
fields
:
t
,
type
:
e
};
Object
(
r
.
e
)(
"/haoban-manage-web/record/employee-show-field-delete.json"
,
o
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
splice
(
i
,
1
);
f
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
s
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getSaveFields
:
function
(
t
){
var
e
=
this
;
1
===
t
?(
e
.
adminStruct
.
fixedList
=
[],
e
.
adminStruct
.
defineList
=
[]):(
e
.
storeStruct
.
fixedList
=
[],
e
.
storeStruct
.
defineList
=
[]);
var
a
=
{
type
:
t
};
Object
(
r
.
e
)(
"/haoban-manage-web/record/employee-show-field-detail.json"
,
a
).
then
(
function
(
a
){
var
i
=
a
.
data
;
1
!=
i
.
errorCode
?
f
.
a
.
errorMsg
(
i
):
i
.
result
.
forEach
(
function
(
a
,
i
){
1
===
n
()(
t
)?
e
.
fixData
.
includes
(
a
.
fields
)?
e
.
adminStruct
.
fixedList
.
push
(
a
):
e
.
adminStruct
.
defineList
.
push
(
a
):
e
.
fixDataStore
.
includes
(
a
.
fields
)?
e
.
storeStruct
.
fixedList
.
push
(
a
):
e
.
storeStruct
.
defineList
.
push
(
a
)})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
s
.
a
.
all
([
this
.
getSaveFields
(
1
),
this
.
getSaveFields
(
2
)])},
components
:{
navCrumb
:
l
.
a
,
staffDetailField
:
h
}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"staffDetails-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
height
:
t
.
$store
.
state
.
bgHeight
,
"overflow-y"
:
"auto"
}},[
a
(
"div"
,{
staticClass
:
"staffDetails-cell"
},[
a
(
"h2"
,{
staticClass
:
"m-b-25 font-w-500"
},[
t
.
_v
(
t
.
_s
(
t
.
adminStruct
.
name
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-fixed"
},[
t
.
_l
(
t
.
adminStruct
.
fixedList
,
function
(
e
,
i
){
return
[
a
(
"el-button"
,{
key
:
"btn1"
+
i
,
staticClass
:
"staffDetails-cell-btn"
,
attrs
:{
disabled
:
""
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
))])]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-add font-0"
},[
t
.
_l
(
t
.
adminStruct
.
defineList
,
function
(
e
,
i
){
return
[
a
(
"el-tag"
,{
key
:
"tag1"
+
i
,
staticClass
:
"staffDetails-cell-btn"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
delField
(
i
,
e
,
t
.
adminStruct
.
defineList
,
1
)}}})])]}),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"el-tag m-l-8 staffDetails-cell-btn"
,
on
:{
click
:
function
(
e
){
e
.
stopPropagation
(),
t
.
showDialogLayer
(
1
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
}),
t
.
_v
(
"添加字段"
)])],
2
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell"
},[
a
(
"h2"
,{
staticClass
:
"m-b-25 font-w-500"
},[
t
.
_v
(
t
.
_s
(
t
.
storeStruct
.
name
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-fixed"
},[
t
.
_l
(
t
.
storeStruct
.
fixedList
,
function
(
e
,
i
){
return
[
a
(
"el-button"
,{
key
:
"btn"
+
i
,
staticClass
:
"staffDetails-cell-btn"
,
attrs
:{
disabled
:
""
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
))])]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-add font-0"
},[
t
.
_l
(
t
.
storeStruct
.
defineList
,
function
(
e
,
i
){
return
[
a
(
"el-tag"
,{
key
:
"tag"
+
i
,
staticClass
:
"staffDetails-cell-btn"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
delField
(
i
,
e
,
t
.
storeStruct
.
defineList
,
2
)}}})])]}),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"el-tag m-l-8 staffDetails-cell-btn"
,
on
:{
click
:
function
(
e
){
e
.
stopPropagation
(),
t
.
showDialogLayer
(
2
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
}),
t
.
_v
(
"添加字段"
)])],
2
)])])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"staff-detail-field"
,{
attrs
:{
detailData
:
t
.
detailData
,
showCustomDialog
:
t
.
showCustomDialog
,
dataType
:
t
.
dataType
},
on
:{
customHandleConfirm
:
t
.
customHandleConfirm
}})],
1
)},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
g
,
p
,
!
1
,
function
(
t
){
a
(
"HmVO"
)},
"data-v-4dbf74e4"
,
null
);
e
.
default
=
v
.
exports
}});
webpackJsonp
([
31
],{
CJkk
:
function
(
t
,
e
){},
HmVO
:
function
(
t
,
e
){},
Zyzf
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"//Fk"
),
s
=
a
.
n
(
i
),
o
=
a
(
"gBtx"
),
n
=
a
.
n
(
o
),
l
=
a
(
"3Xzz"
),
c
=
a
(
"PI0u"
),
r
=
a
(
"P9l9"
),
d
=
a
(
"3E4D"
),
f
=
a
(
"Ch4/"
),
u
=
{
name
:
"staff-detail-field"
,
props
:{
showCustomDialog
:{
type
:
Boolean
,
default
:
!
1
},
detailData
:{
type
:
Array
,
default
:
function
(){
return
[]}},
dataType
:{
type
:
Number
,
default
:
1
}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
!
1
,
fixData
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
],
fixDataStore
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
,
"clerkCode"
],
customData
:[],
checkList
:[],
setList
:[],
baseUrl
:
""
}},
beforeMount
:
function
(){
var
t
=
window
.
location
.
origin
;
"-1"
!=
t
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://gicdev.demogic.com"
:
this
.
baseUrl
=
t
},
computed
:{},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"customHandleConfirm"
,
"hide"
)},
customConfirm
:
Object
(
c
.
a
)(
function
(){
this
.
checkList
=
this
.
customData
.
map
(
function
(
t
){
return
t
.
checkList
}).
flat
(),
this
.
saveFields
(
this
.
dataType
)},
500
),
customChange
:
function
(
t
){},
saveFields
:
function
(
t
){
var
e
=
this
,
a
=
{
fields
:
e
.
checkList
,
type
:
t
};
Object
(
r
.
e
)(
"/haoban-manage-web/record/employee-show-field-save.json"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
d
.
a
.
showmsg
(
"添加成功"
,
"success"
),
void
e
.
$emit
(
"customHandleConfirm"
);
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
console
.
log
(
t
),
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
treeData
:
function
(
t
){
var
e
=
t
.
filter
(
function
(
e
){
var
a
=
t
.
filter
(
function
(
t
){
return
e
.
fieldCode
==
t
.
parentCode
});
return
a
.
length
>
0
&&
(
e
.
children
=
a
),
0
==
e
.
parentCode
});
return
e
.
sort
(
function
(
t
,
e
){
return
t
.
sort
-
e
.
sort
}),
e
.
forEach
(
function
(
t
,
e
){
t
.
children
.
sort
(
function
(
t
,
e
){
return
t
.
sort
-
e
.
sort
})}),
e
},
getInfo
:
function
(){
var
t
=
this
;
t
.
setList
=
[],
Object
(
r
.
e
)(
"/haoban-manage-web/record/employee-find-template.json"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
a
.
result
.
forEach
(
function
(
e
){
0
!=
e
.
parentCode
&&
t
.
setList
.
push
(
e
.
fieldCode
)})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getAllFields
:
function
(){
var
t
=
this
;
Object
(
r
.
e
)(
"/haoban-manage-web/record/employee-find-system-template.json"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
t
.
handleAllFields
(
a
.
result
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleAllFields
:
function
(
t
){
var
e
=
this
.
treeData
(
t
);
e
.
forEach
(
function
(
t
,
e
){
t
.
checkList
=
[]}),
this
.
customData
=
e
},
handleDetailData
:
function
(){
var
t
=
this
;
t
.
customData
.
forEach
(
function
(
e
,
a
){
e
.
checkList
=
[],
e
.
children
.
forEach
(
function
(
a
,
i
){
t
.
checkList
.
includes
(
a
.
fieldCode
)
&&
e
.
checkList
.
push
(
a
.
fieldCode
),
a
.
disable
=
1
==
t
.
dataType
?
t
.
fixData
.
includes
(
a
.
fieldCode
):
t
.
fixDataStore
.
includes
(
a
.
fieldCode
),
t
.
setList
.
includes
(
a
.
fieldCode
)
||
(
a
.
disable
=!
0
)})})}},
watch
:{
showCustomDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
detailData
:
function
(
t
,
e
){
this
.
checkList
=
t
&&
t
.
length
?
t
:[],
this
.
handleDetailData
()}},
mounted
:
function
(){
var
t
=
this
;
t
.
customDialog
=
t
.
showCustomDialog
,
s
.
a
.
all
([
t
.
getInfo
()]).
then
(
function
(){
t
.
getAllFields
()})}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"员工个人详情页展示字段设置"
,
visible
:
t
.
customDialog
,
width
:
"761px"
,
"before-close"
:
t
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"custom-dialog__title"
},[
a
(
"p"
,{
staticClass
:
"custom-dialog__p"
},[
t
.
_v
(
"tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-dialog-body"
},[
t
.
_l
(
t
.
customData
,
function
(
e
,
i
){
return
[
a
(
"div"
,{
key
:
i
,
staticClass
:
"detail-field-cell flex"
},[
a
(
"div"
,{
staticClass
:
"detail-field-left"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"detail-field-right flex"
},[
a
(
"el-checkbox-group"
,{
staticClass
:
"flex flex-wrap"
,
on
:{
change
:
t
.
customChange
},
model
:{
value
:
e
.
checkList
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"checkList"
,
a
)},
expression
:
"item.checkList"
}},
t
.
_l
(
e
.
children
,
function
(
e
,
i
){
return
a
(
"el-checkbox"
,{
key
:
e
.
fieldCode
+
i
,
attrs
:{
label
:
e
.
fieldCode
,
disabled
:
e
.
disable
,
name
:
"type"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
fieldName
)
+
"
\
n "
)])}))],
1
)])]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
customCancel
}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
customConfirm
}},[
t
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
t
){
a
(
"CJkk"
)},
"data-v-64d006f9"
,
null
).
exports
,
g
=
{
name
:
"staffDetails"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"通讯录信息"
,
path
:
"/staffDetails"
},{
name
:
"员工详细字段"
,
path
:
""
}],
fixData
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
],
fixDataStore
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
,
"clerkCode"
],
adminStruct
:{
name
:
"行政架构通讯录员工详情字段"
,
fixedList
:[],
defineList
:[]},
storeStruct
:{
name
:
"门店架构通讯录员工详情字段"
,
fixedList
:[],
defineList
:[]},
showCustomDialog
:
!
1
,
detailData
:[],
dataType
:
null
}},
computed
:{},
methods
:{
showDialogLayer
:
function
(
t
){
this
.
showCustomDialog
=!
0
,
this
.
dataType
=
t
,
this
.
detailData
=
1
===
t
?
this
.
adminStruct
.
fixedList
.
map
(
function
(
t
){
return
t
.
fields
}).
concat
(
this
.
adminStruct
.
defineList
.
map
(
function
(
t
){
return
t
.
fields
})):
this
.
storeStruct
.
fixedList
.
map
(
function
(
t
){
return
t
.
fields
}).
concat
(
this
.
storeStruct
.
defineList
.
map
(
function
(
t
){
return
t
.
fields
}))},
customHandleConfirm
:
function
(
t
){
if
(
this
.
showCustomDialog
=!
1
,
t
)
return
!
1
;
this
.
getSaveFields
(
this
.
dataType
)},
delField
:
function
(
t
,
e
,
a
,
i
){
var
s
=
this
;
s
.
$alert
(
"确定要删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
}).
then
(
function
(
o
){
o
.
value
;
s
.
postDlField
(
e
.
fields
,
i
,
a
,
t
)}).
catch
(
function
(){})},
postDlField
:
function
(
t
,
e
,
a
,
i
){
var
s
=
this
,
o
=
{
fields
:
t
,
type
:
e
};
Object
(
r
.
e
)(
"/haoban-manage-web/record/employee-show-field-delete.json"
,
o
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
splice
(
i
,
1
);
f
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
s
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getSaveFields
:
function
(
t
){
var
e
=
this
;
1
===
t
?(
e
.
adminStruct
.
fixedList
=
[],
e
.
adminStruct
.
defineList
=
[]):(
e
.
storeStruct
.
fixedList
=
[],
e
.
storeStruct
.
defineList
=
[]);
var
a
=
{
type
:
t
};
Object
(
r
.
e
)(
"/haoban-manage-web/record/employee-show-field-detail.json"
,
a
).
then
(
function
(
a
){
var
i
=
a
.
data
;
1
!=
i
.
errorCode
?
f
.
a
.
errorMsg
(
i
):
i
.
result
.
forEach
(
function
(
a
,
i
){
1
===
n
()(
t
)?
e
.
fixData
.
includes
(
a
.
fields
)?
e
.
adminStruct
.
fixedList
.
push
(
a
):
e
.
adminStruct
.
defineList
.
push
(
a
):
e
.
fixDataStore
.
includes
(
a
.
fields
)?
e
.
storeStruct
.
fixedList
.
push
(
a
):
e
.
storeStruct
.
defineList
.
push
(
a
)})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
s
.
a
.
all
([
this
.
getSaveFields
(
1
),
this
.
getSaveFields
(
2
)])},
components
:{
navCrumb
:
l
.
a
,
staffDetailField
:
h
}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"staffDetails-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
height
:
t
.
$store
.
state
.
bgHeight
,
"overflow-y"
:
"auto"
}},[
a
(
"div"
,{
staticClass
:
"staffDetails-cell"
},[
a
(
"h2"
,{
staticClass
:
"m-b-25 font-w-500"
},[
t
.
_v
(
t
.
_s
(
t
.
adminStruct
.
name
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-fixed"
},[
t
.
_l
(
t
.
adminStruct
.
fixedList
,
function
(
e
,
i
){
return
[
a
(
"el-button"
,{
key
:
"btn1"
+
i
,
staticClass
:
"staffDetails-cell-btn"
,
attrs
:{
disabled
:
""
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
))])]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-add font-0"
},[
t
.
_l
(
t
.
adminStruct
.
defineList
,
function
(
e
,
i
){
return
[
a
(
"el-tag"
,{
key
:
"tag1"
+
i
,
staticClass
:
"staffDetails-cell-btn"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
delField
(
i
,
e
,
t
.
adminStruct
.
defineList
,
1
)}}})])]}),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"el-tag m-l-8 staffDetails-cell-btn"
,
on
:{
click
:
function
(
e
){
e
.
stopPropagation
(),
t
.
showDialogLayer
(
1
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
}),
t
.
_v
(
"添加字段"
)])],
2
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell"
},[
a
(
"h2"
,{
staticClass
:
"m-b-25 font-w-500"
},[
t
.
_v
(
t
.
_s
(
t
.
storeStruct
.
name
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-fixed"
},[
t
.
_l
(
t
.
storeStruct
.
fixedList
,
function
(
e
,
i
){
return
[
a
(
"el-button"
,{
key
:
"btn"
+
i
,
staticClass
:
"staffDetails-cell-btn"
,
attrs
:{
disabled
:
""
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
))])]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-add font-0"
},[
t
.
_l
(
t
.
storeStruct
.
defineList
,
function
(
e
,
i
){
return
[
a
(
"el-tag"
,{
key
:
"tag"
+
i
,
staticClass
:
"staffDetails-cell-btn"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
delField
(
i
,
e
,
t
.
storeStruct
.
defineList
,
2
)}}})])]}),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"el-tag m-l-8 staffDetails-cell-btn"
,
on
:{
click
:
function
(
e
){
e
.
stopPropagation
(),
t
.
showDialogLayer
(
2
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
}),
t
.
_v
(
"添加字段"
)])],
2
)])])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"staff-detail-field"
,{
attrs
:{
detailData
:
t
.
detailData
,
showCustomDialog
:
t
.
showCustomDialog
,
dataType
:
t
.
dataType
},
on
:{
customHandleConfirm
:
t
.
customHandleConfirm
}})],
1
)},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
g
,
p
,
!
1
,
function
(
t
){
a
(
"HmVO"
)},
"data-v-4dbf74e4"
,
null
);
e
.
default
=
v
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
3.f4c48aa4b6adbdec738a
.js
→
dist/static/js/3
2.0c7863fa05e5c75053c3
.js
View file @
0d68e2b7
webpackJsonp
([
33
],{
"4HoI"
:
function
(
t
,
s
){},
B9Yg
:
function
(
t
,
s
,
e
){
t
.
exports
=
e
.
p
+
"static/img/gic-error.8aba914.png"
},
"Q3j/"
:
function
(
t
,
s
,
e
){
"use strict"
;
Object
.
defineProperty
(
s
,
"__esModule"
,{
value
:
!
0
});
var
i
=
e
(
"B9Yg"
),
a
=
e
.
n
(
i
),
n
=
{
name
:
"page404"
,
data
:
function
(){
return
{
img_404
:
a
.
a
}},
computed
:{
message
:
function
(){
return
"登录遇到错误啦!请确认您是否已是好办管理员,如不是,请联系管理员。"
}},
mounted
:
function
(){}},
r
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
s
=
this
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticStyle
:{
background
:
"#f0f2f5"
,
"margin-top"
:
"-20px"
,
height
:
"100%"
}},[
s
(
"div"
,{
staticClass
:
"wscn-http404"
},[
s
(
"div"
,{
staticClass
:
"pic-404"
},[
s
(
"img"
,{
staticClass
:
"pic-404__parent"
,
attrs
:{
src
:
this
.
img_404
,
alt
:
"404"
}})]),
this
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"bullshit"
},[
s
(
"div"
,{
staticClass
:
"bullshit__headline"
},[
this
.
_v
(
this
.
_s
(
this
.
message
))]),
this
.
_v
(
" "
),
s
(
"a"
,{
staticClass
:
"bullshit__return-home"
,
attrs
:{
href
:
"#/login"
,
rel
:
"noopener noreferrer"
}},[
this
.
_v
(
"返回好办登录页"
)])])])])},
staticRenderFns
:[]};
var
c
=
e
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
e
(
"4HoI"
)},
"data-v-45ea1cc1"
,
null
);
s
.
default
=
c
.
exports
}});
webpackJsonp
([
32
],{
"4HoI"
:
function
(
t
,
s
){},
B9Yg
:
function
(
t
,
s
,
e
){
t
.
exports
=
e
.
p
+
"static/img/gic-error.8aba914.png"
},
"Q3j/"
:
function
(
t
,
s
,
e
){
"use strict"
;
Object
.
defineProperty
(
s
,
"__esModule"
,{
value
:
!
0
});
var
i
=
e
(
"B9Yg"
),
a
=
e
.
n
(
i
),
n
=
{
name
:
"page404"
,
data
:
function
(){
return
{
img_404
:
a
.
a
}},
computed
:{
message
:
function
(){
return
"登录遇到错误啦!请确认您是否已是好办管理员,如不是,请联系管理员。"
}},
mounted
:
function
(){}},
r
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
s
=
this
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticStyle
:{
background
:
"#f0f2f5"
,
"margin-top"
:
"-20px"
,
height
:
"100%"
}},[
s
(
"div"
,{
staticClass
:
"wscn-http404"
},[
s
(
"div"
,{
staticClass
:
"pic-404"
},[
s
(
"img"
,{
staticClass
:
"pic-404__parent"
,
attrs
:{
src
:
this
.
img_404
,
alt
:
"404"
}})]),
this
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"bullshit"
},[
s
(
"div"
,{
staticClass
:
"bullshit__headline"
},[
this
.
_v
(
this
.
_s
(
this
.
message
))]),
this
.
_v
(
" "
),
s
(
"a"
,{
staticClass
:
"bullshit__return-home"
,
attrs
:{
href
:
"#/login"
,
rel
:
"noopener noreferrer"
}},[
this
.
_v
(
"返回好办登录页"
)])])])])},
staticRenderFns
:[]};
var
c
=
e
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
e
(
"4HoI"
)},
"data-v-45ea1cc1"
,
null
);
s
.
default
=
c
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
4.e5ba3c1688f3038d3d09
.js
→
dist/static/js/3
3.f4e32fc6846aa744ee48
.js
View file @
0d68e2b7
webpackJsonp
([
34
],{
C57R
:
function
(
e
,
t
){},
Cw3p
:
function
(
e
,
t
){},
iG3v
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
i
=
a
(
"2eFk"
),
l
=
a
(
"Ie7z"
),
s
=
a
(
"Ke24"
),
r
=
a
(
"LRn8"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"PI0u"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"Ch4/"
),
h
=
{
name
:
"taskView"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
tableType
:
"1"
,
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
changeTable
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
toInput
:
Object
(
d
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
o
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
;
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
a
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
ecmIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
ecmIds
}).
join
(
","
)
||
""
,
brandId
:
t
.
activeBrand
,
delTaskStatus
:
e
.
delOptFlag
,
reason
:
e
.
reason
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-task-view-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
exportExcel
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
a
.
join
(
","
)
||
""
,
storeGroupIds
:
t
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
?
e
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
e
.
conditionObj
.
dateRange
?
e
.
conditionObj
.
dateRange
[
1
]:
""
,
brandId
:
e
.
activeBrand
};
Object
(
c
.
b
)(
"/haoban-app-tel-task-web/task/export-store-task-list"
,
n
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
p
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
n
=
(
e
.
tableData
[
0
]?
e
.
tableData
[
0
].
storeName
:
""
)
+
"门店任务报表.csv"
,
o
=
document
.
createElement
(
"a"
);
o
.
download
=
n
,
o
.
style
.
display
=
"none"
,
o
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
o
),
o
.
click
(),
URL
.
revokeObjectURL
(
o
.
href
),
document
.
body
.
removeChild
(
o
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
toDetail
:
function
(
e
,
t
){
this
.
$router
.
push
(
"taskViewDetail?ecmId="
+
t
.
ecmId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/task-view-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
initDataRange
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getTime
()
-
7776
e6
,
a
=
e
.
getFullYear
(),
n
=
e
.
getMonth
()
+
1
,
o
=
e
.
getDate
()
<
10
?
"0"
+
e
.
getDate
():
e
.
getDate
(),
i
=
n
<
10
?
"0"
+
n
:
n
,
l
=
new
Date
(
t
),
s
=
l
.
getFullYear
(),
r
=
l
.
getMonth
()
+
1
,
c
=
l
.
getDate
()
<
10
?
"0"
+
l
.
getDate
():
l
.
getDate
();
return
[
s
+
"-"
+
(
r
<
10
?
"0"
+
r
:
r
)
+
"-"
+
c
,
a
+
"-"
+
i
+
"-"
+
o
]}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
conditionObj
.
dateRange
=
e
.
initDataRange
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
e
.
activeBrand
=
e
.
brandId
,
this
.
brandId
&&
e
.
$nextTick
(
function
(){
e
.
getTableList
()})},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonDetailTop
:
s
.
a
,
vueSelectStore
:
l
.
a
,
multipleDel
:
r
.
a
}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入话务任务名称"
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"condition-tips font-12 color-909399 p-l-10"
},[
e
.
_v
(
"仅包含话务任务记录"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"任务名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
ecmName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"已完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
competedTaskNum
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
competedTaskRate
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
toComplete
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
overTimeNum
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toDetail
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
e
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
e
){
a
(
"C57R"
)},
"data-v-35b0f131"
,
null
).
exports
,
f
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
tableType
:
"1"
,
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
changeTable
:
function
(
e
){
if
(
2
==
e
.
name
)
return
!
1
;
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
toInput
:
Object
(
d
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
o
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
[],
n
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
n
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
o
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
n
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
storeId
}).
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
t
.
activeBrand
,
delTaskStatus
:
e
.
delOptFlag
,
reason
:
e
.
reason
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-store-task-list"
,
o
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
exportExcel
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
a
.
join
(
","
)
||
""
,
storeGroupIds
:
t
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
?
e
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
e
.
conditionObj
.
dateRange
?
e
.
conditionObj
.
dateRange
[
1
]:
""
,
brandId
:
e
.
activeBrand
};
Object
(
c
.
b
)(
"/haoban-app-tel-task-web/task/export-store-task-list"
,
n
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
p
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
n
=
(
e
.
tableData
[
0
]?
e
.
tableData
[
0
].
storeName
:
""
)
+
"门店任务报表.csv"
,
o
=
document
.
createElement
(
"a"
);
o
.
download
=
n
,
o
.
style
.
display
=
"none"
,
o
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
o
),
o
.
click
(),
URL
.
revokeObjectURL
(
o
.
href
),
document
.
body
.
removeChild
(
o
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
toDetail
:
function
(
e
,
t
){
this
.
$router
.
push
(
"taskDetail?storeId="
+
t
.
storeId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
[],
n
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
n
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
o
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
n
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/store-task-list"
,
o
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
initDataRange
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getTime
()
-
7776
e6
,
a
=
e
.
getFullYear
(),
n
=
e
.
getMonth
()
+
1
,
o
=
e
.
getDate
()
<
10
?
"0"
+
e
.
getDate
():
e
.
getDate
(),
i
=
n
<
10
?
"0"
+
n
:
n
,
l
=
new
Date
(
t
),
s
=
l
.
getFullYear
(),
r
=
l
.
getMonth
()
+
1
,
c
=
l
.
getDate
()
<
10
?
"0"
+
l
.
getDate
():
l
.
getDate
();
return
[
s
+
"-"
+
(
r
<
10
?
"0"
+
r
:
r
)
+
"-"
+
c
,
a
+
"-"
+
i
+
"-"
+
o
]}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
conditionObj
.
dateRange
=
e
.
initDataRange
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
e
.
activeBrand
=
e
.
brandId
,
this
.
brandId
&&
e
.
$nextTick
(
function
(){
e
.
getTableList
()})},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonDetailTop
:
s
.
a
,
vueSelectStore
:
l
.
a
,
multipleDel
:
r
.
a
,
taskView
:
g
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"common-detail-tab"
},[
a
(
"el-tabs"
,{
staticClass
:
"daily-set-tab"
,
on
:{
"tab-click"
:
e
.
changeTable
},
model
:{
value
:
e
.
conditionObj
.
tableType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"tableType"
,
t
)},
expression
:
"conditionObj.tableType"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"门店视图"
,
name
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"话务任务视图"
,
name
:
"2"
}})],
1
)],
1
),
e
.
_v
(
" "
),
1
==
e
.
conditionObj
.
tableType
?
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称"
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
conditionObj
.
storeGroup
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
e
.
_v
(
"请选择门店分组"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
conditionObj
.
storeGroup
,
function
(
t
,
n
){
return
[
a
(
"span"
,{
key
:
n
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
n
,
e
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeStoreType
},
model
:{
value
:
e
.
conditionObj
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"storeType"
,
t
)},
expression
:
"conditionObj.storeType"
}},
e
.
_l
(
e
.
storeTypeOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"dateRange"
,
t
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"任务总数"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
taskCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
completedCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
completedRate
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
noCompletedCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
overdueCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toDetail
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
conditionObj
.
tableType
?
a
(
"taskView"
,{
attrs
:{
brandId
:
e
.
brandId
,
activeGroupId
:
e
.
activeGroupId
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
e
){
a
(
"Cw3p"
)},
"data-v-8b3b982c"
,
null
);
t
.
default
=
v
.
exports
}});
webpackJsonp
([
33
],{
C57R
:
function
(
e
,
t
){},
Cw3p
:
function
(
e
,
t
){},
iG3v
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
i
=
a
(
"2eFk"
),
l
=
a
(
"Ie7z"
),
s
=
a
(
"Ke24"
),
r
=
a
(
"LRn8"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"PI0u"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"Ch4/"
),
h
=
{
name
:
"taskView"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
tableType
:
"1"
,
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
changeTable
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
toInput
:
Object
(
d
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
o
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
;
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
a
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
ecmIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
ecmIds
}).
join
(
","
)
||
""
,
brandId
:
t
.
activeBrand
,
delTaskStatus
:
e
.
delOptFlag
,
reason
:
e
.
reason
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-task-view-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
exportExcel
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
a
.
join
(
","
)
||
""
,
storeGroupIds
:
t
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
?
e
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
e
.
conditionObj
.
dateRange
?
e
.
conditionObj
.
dateRange
[
1
]:
""
,
brandId
:
e
.
activeBrand
};
Object
(
c
.
b
)(
"/haoban-app-tel-task-web/task/export-store-task-list"
,
n
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
p
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
n
=
(
e
.
tableData
[
0
]?
e
.
tableData
[
0
].
storeName
:
""
)
+
"门店任务报表.csv"
,
o
=
document
.
createElement
(
"a"
);
o
.
download
=
n
,
o
.
style
.
display
=
"none"
,
o
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
o
),
o
.
click
(),
URL
.
revokeObjectURL
(
o
.
href
),
document
.
body
.
removeChild
(
o
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
toDetail
:
function
(
e
,
t
){
this
.
$router
.
push
(
"taskViewDetail?ecmId="
+
t
.
ecmId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/task-view-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
initDataRange
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getTime
()
-
7776
e6
,
a
=
e
.
getFullYear
(),
n
=
e
.
getMonth
()
+
1
,
o
=
e
.
getDate
()
<
10
?
"0"
+
e
.
getDate
():
e
.
getDate
(),
i
=
n
<
10
?
"0"
+
n
:
n
,
l
=
new
Date
(
t
),
s
=
l
.
getFullYear
(),
r
=
l
.
getMonth
()
+
1
,
c
=
l
.
getDate
()
<
10
?
"0"
+
l
.
getDate
():
l
.
getDate
();
return
[
s
+
"-"
+
(
r
<
10
?
"0"
+
r
:
r
)
+
"-"
+
c
,
a
+
"-"
+
i
+
"-"
+
o
]}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
conditionObj
.
dateRange
=
e
.
initDataRange
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
e
.
activeBrand
=
e
.
brandId
,
this
.
brandId
&&
e
.
$nextTick
(
function
(){
e
.
getTableList
()})},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonDetailTop
:
s
.
a
,
vueSelectStore
:
l
.
a
,
multipleDel
:
r
.
a
}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入话务任务名称"
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"condition-tips font-12 color-909399 p-l-10"
},[
e
.
_v
(
"仅包含话务任务记录"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"任务名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
ecmName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"已完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
competedTaskNum
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
competedTaskRate
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
toComplete
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
overTimeNum
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toDetail
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
e
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
e
){
a
(
"C57R"
)},
"data-v-35b0f131"
,
null
).
exports
,
f
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
tableType
:
"1"
,
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
changeTable
:
function
(
e
){
if
(
2
==
e
.
name
)
return
!
1
;
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
toInput
:
Object
(
d
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
o
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
[],
n
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
n
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
o
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
n
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
storeId
}).
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
t
.
activeBrand
,
delTaskStatus
:
e
.
delOptFlag
,
reason
:
e
.
reason
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-store-task-list"
,
o
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
exportExcel
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
a
.
join
(
","
)
||
""
,
storeGroupIds
:
t
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
?
e
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
e
.
conditionObj
.
dateRange
?
e
.
conditionObj
.
dateRange
[
1
]:
""
,
brandId
:
e
.
activeBrand
};
Object
(
c
.
b
)(
"/haoban-app-tel-task-web/task/export-store-task-list"
,
n
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
p
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
n
=
(
e
.
tableData
[
0
]?
e
.
tableData
[
0
].
storeName
:
""
)
+
"门店任务报表.csv"
,
o
=
document
.
createElement
(
"a"
);
o
.
download
=
n
,
o
.
style
.
display
=
"none"
,
o
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
o
),
o
.
click
(),
URL
.
revokeObjectURL
(
o
.
href
),
document
.
body
.
removeChild
(
o
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
toDetail
:
function
(
e
,
t
){
this
.
$router
.
push
(
"taskDetail?storeId="
+
t
.
storeId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
[],
n
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
n
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
o
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
n
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/store-task-list"
,
o
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
initDataRange
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getTime
()
-
7776
e6
,
a
=
e
.
getFullYear
(),
n
=
e
.
getMonth
()
+
1
,
o
=
e
.
getDate
()
<
10
?
"0"
+
e
.
getDate
():
e
.
getDate
(),
i
=
n
<
10
?
"0"
+
n
:
n
,
l
=
new
Date
(
t
),
s
=
l
.
getFullYear
(),
r
=
l
.
getMonth
()
+
1
,
c
=
l
.
getDate
()
<
10
?
"0"
+
l
.
getDate
():
l
.
getDate
();
return
[
s
+
"-"
+
(
r
<
10
?
"0"
+
r
:
r
)
+
"-"
+
c
,
a
+
"-"
+
i
+
"-"
+
o
]}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
conditionObj
.
dateRange
=
e
.
initDataRange
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
e
.
activeBrand
=
e
.
brandId
,
this
.
brandId
&&
e
.
$nextTick
(
function
(){
e
.
getTableList
()})},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonDetailTop
:
s
.
a
,
vueSelectStore
:
l
.
a
,
multipleDel
:
r
.
a
,
taskView
:
g
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"common-detail-tab"
},[
a
(
"el-tabs"
,{
staticClass
:
"daily-set-tab"
,
on
:{
"tab-click"
:
e
.
changeTable
},
model
:{
value
:
e
.
conditionObj
.
tableType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"tableType"
,
t
)},
expression
:
"conditionObj.tableType"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"门店视图"
,
name
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"话务任务视图"
,
name
:
"2"
}})],
1
)],
1
),
e
.
_v
(
" "
),
1
==
e
.
conditionObj
.
tableType
?
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称"
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
conditionObj
.
storeGroup
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
e
.
_v
(
"请选择门店分组"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
conditionObj
.
storeGroup
,
function
(
t
,
n
){
return
[
a
(
"span"
,{
key
:
n
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
n
,
e
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeStoreType
},
model
:{
value
:
e
.
conditionObj
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"storeType"
,
t
)},
expression
:
"conditionObj.storeType"
}},
e
.
_l
(
e
.
storeTypeOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"dateRange"
,
t
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"任务总数"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
taskCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
completedCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
completedRate
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
noCompletedCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
overdueCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toDetail
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
conditionObj
.
tableType
?
a
(
"taskView"
,{
attrs
:{
brandId
:
e
.
brandId
,
activeGroupId
:
e
.
activeGroupId
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
e
){
a
(
"Cw3p"
)},
"data-v-8b3b982c"
,
null
);
t
.
default
=
v
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
5.d8abf87eeb477b4bc1f3
.js
→
dist/static/js/3
4.0fb2eb67d47b9ecbd519
.js
View file @
0d68e2b7
webpackJsonp
([
35
],{
"6XGN"
:
function
(
M
,
L
,
j
){
"use strict"
;
Object
.
defineProperty
(
L
,
"__esModule"
,{
value
:
!
0
});
var
N
=
j
(
"CkW6"
),
u
=
j
.
n
(
N
),
w
=
{
name
:
"page403"
,
data
:
function
(){
return
{
img_403
:
u
.
a
}},
computed
:{
message
:
function
(){
return
"抱歉,你无权访问该页面"
}}},
D
=
{
render
:
function
(){
var
M
=
this
.
$createElement
,
L
=
this
.
_self
.
_c
||
M
;
return
L
(
"div"
,{
staticStyle
:{
background
:
"#f0f2f5"
,
"margin-top"
:
"-20px"
,
height
:
"100%"
}},[
L
(
"div"
,{
staticClass
:
"wscn-http404"
},[
L
(
"div"
,{
staticClass
:
"pic-404"
},[
L
(
"img"
,{
staticClass
:
"pic-404__parent"
,
attrs
:{
src
:
this
.
img_403
,
alt
:
"403"
}})]),
this
.
_v
(
" "
),
L
(
"div"
,{
staticClass
:
"bullshit"
},[
L
(
"div"
,{
staticClass
:
"bullshit__headline"
},[
this
.
_v
(
this
.
_s
(
this
.
message
))]),
this
.
_v
(
" "
),
L
(
"a"
,{
staticClass
:
"bullshit__return-home"
,
attrs
:{
href
:
"#/companyGroup"
}},[
this
.
_v
(
"返回首页"
)])])])])},
staticRenderFns
:[]};
var
C
=
j
(
"VU/8"
)(
w
,
D
,
!
1
,
function
(
M
){
j
(
"GVON"
)},
"data-v-34b4b20b"
,
null
);
L
.
default
=
C
.
exports
},
CkW6
:
function
(
M
,
L
){
M
.
exports
=
"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDAwIDMzNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0ZBRkNGRjt9DQoJLnN0MXtmaWxsOiNEQkU1RjE7fQ0KCS5zdDJ7ZmlsbDojREVFN0Y0O30NCgkuc3Qze2ZpbGw6I0I5QzdEQjt9DQoJLnN0NHtmaWxsOiNGRkZGRkY7fQ0KCS5zdDV7ZmlsbDpub25lO3N0cm9rZTojQjlDN0RCO3N0cm9rZS13aWR0aDo0O3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Q2e2ZpbGw6bm9uZTtzdHJva2U6I0I2QzdEODtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0NSIgZD0iTTI3NC41LDI0MS4zYy01LjMtNS4zLTQuNCw0LjQtNi43LDYuN2MtMy4xLDMuMS02LjMsNi05LjcsOC42SDEyNS4yYy0zLjQtMi43LTYuNi01LjYtOS43LTguNw0KCWMtMjguNC0yOC41LTM4LjYtNzAuNS0yNi42LTEwOWwtMTAuNS0xMC42Yy01LjMtNS4zLTUuMy0xMy44LDAtMTkuMmM1LjItNS4zLDEzLjctNS4zLDE5LTAuMWMwLDAsMCwwLDAuMSwwLjFsNi42LDYuOA0KCWMzLjEsMy4yLDguMiwzLjIsMTEuNCwwbDAsMGMzLjItMy4yLDMuMi04LjMsMC0xMS41TDEwMy4xLDkyYy0zLjItMy4yLTMuMi04LjMsMC0xMS41YzMuMS0zLjIsOC4yLTMuMiwxMS40LDBsMCwwbDE3LjIsMTcuMg0KCWMtMC45LDMuNywwLjksNy42LDQuNCw5LjNjMy41LDEuNyw3LjcsMC42LDkuOS0yLjVjMi4zLTMuMSwyLjEtNy40LTAuNS0xMC4zYy0zLjMtMy44LTYuNS03LjItNi41LTcuMmwtNy4zLTcuNA0KCWMzNC44LTIxLjMsODIuNi0yMS43LDExNy4yLDBjMzQuNSwyMS43LDUzLjksNjEuMiw1MCwxMDEuOWwxNS40LDE1LjZjMy4yLDMuMiwzLjIsOC4zLDAsMTEuNWMtMy4xLDMuMi04LjIsMy4yLTExLjQsMGwwLDANCglsLTE1LjEtMTUuM2MtMy4xLTMuMi04LjItMy4yLTExLjQsMGwwLDBjLTMuMiwzLjItMy4yLDguMywwLDExLjVsMTcuMSwxNy4yYzUuMiw1LjMsNS4yLDEzLjgsMCwxOS4xDQoJQzI4OC40LDI0Ni42LDI3OS45LDI0Ni42LDI3NC41LDI0MS4zQzI3NC42LDI0MS4zLDI3NC42LDI0MS4zLDI3NC41LDI0MS4zTDI3NC41LDI0MS4zeiIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTg2LjYsNzEuNGMwLDQuNywzLjgsOC41LDguNSw4LjVjMS41LDAsMy0wLjQsNC4zLTEuMWM0LjEtMi4zLDUuNS03LjUsMy4xLTExLjZjLTEuNS0yLjYtNC4zLTQuMy03LjQtNC4zDQoJQzkwLjQsNjIuOSw4Ni42LDY2LjcsODYuNiw3MS40Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjE2LjQsMTQ1LjRoMjQuM2wtNy40LDE3LjljMi42LDEuOCw0LjUsMy44LDUuOCw2YzEuMiwyLjIsMS45LDQuOCwxLjksNy44YzAsNC42LTEuNiw4LjQtNC44LDExLjINCgljLTMuMiwyLjktNy4zLDQuMy0xMi4zLDQuM2MtMi41LDAtNS4xLTAuNC03LjUtMS4xdi0xMy4xYzIsMC45LDMuOSwxLjQsNS41LDEuNHMyLjktMC41LDMuNy0xLjRjMC45LTEsMS4zLTIuMywxLjMtNC4xDQoJYzAtMS45LTAuOC0zLjQtMi40LTQuNmMtMS42LTEuMi0zLjctMS43LTYuNC0xLjdsMy40LTkuMWgtNS4xVjE0NS40TDIxNi40LDE0NS40eiBNMjA3LjUsMTgxLjZjMCwxLjUtMC4zLDMtMC44LDQuMw0KCXMtMS4zLDIuNS0yLjMsMy41cy0yLjIsMS44LTMuNCwyLjNjLTEuMywwLjYtMi44LDAuOS00LjMsMC45aC05LjZjLTEuNSwwLTIuOS0wLjMtNC4zLTAuOWMtMS4zLTAuNi0yLjUtMS4zLTMuNC0yLjMNCgljLTAuNC0wLjQtMC44LTAuOS0xLjItMS40bDExLjctMTcuM3Y2YzAsMC42LDAuMiwxLjEsMC42LDEuNGMwLjQsMC40LDAuOCwwLjYsMS40LDAuNmMxLjEsMCwyLTAuOCwyLTEuOXYtMC4xdi0xMS45bDEwLjktMTYuMQ0KCWMxLjgsMiwyLjgsNC42LDIuNyw3LjNMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZ6IE0xNzcuMSwxODUuOWMtMC42LTEuNC0wLjktMi44LTAuOC00LjNWMTU2YzAtMS41LDAuMy0zLDAuOC00LjMNCglzMS4zLTIuNSwyLjMtMy41czIuMi0xLjgsMy40LTIuM2MxLjMtMC42LDIuOC0wLjksNC4zLTAuOWg5LjZjMS41LDAsMi45LDAuMyw0LjMsMC45YzEuMywwLjUsMi40LDEuMywzLjQsMi4zbC0xMC41LDE1LjR2LTIuNw0KCWMwLTAuNS0wLjItMS4xLTAuNi0xLjRjLTAuNC0wLjQtMC45LTAuNi0xLjQtMC42Yy0xLjEsMC0yLDAuOC0yLDEuOXYwLjF2OC42bC0xMi4xLDE3LjlDMTc3LjUsMTg2LjksMTc3LjMsMTg2LjQsMTc3LjEsMTg1LjkNCglMMTc3LjEsMTg1Ljl6IE0yNDMuOCwxOTIuN2MzLjUtNy40LDUuMy0xNS41LDUuMy0yMy43YzAtMzAuNS0yNC40LTU1LjItNTQuNi01NS4ycy01NC42LDI0LjctNTQuNiw1NS4yYzAsMC40LDAsMC44LDAsMS4xDQoJbDE5LjYtMjQuNmgxMS40TDE1NCwxNzEuM2g1LjV2LTYuNWwxMS43LTE4LjV2NDYuOGgtMTEuN3YtOS44aC0xNy44YzUuMSwxOS4yLDIwLjEsMzQuMywzOS4yLDM5LjJjLTEuMiwzLjEtNC44LDEwLjctMTAuNywxMg0KCWMtNy4zLDEuNywxOS45LDAuNCwzOS40LTEyLjVjMTQuOS00LjQsMjcuMi0xNSwzMy45LTI4LjlMMjQzLjgsMTkyLjdMMjQzLjgsMTkyLjd6Ii8+DQo8cGF0aCBjbGFzcz0ic3Q0IiBkPSJNMjM4LjksMTU0LjNsLTI0LjQsMzUuNGwwLjUsMC4zbDI0LjQtMzUuNEwyMzguOSwxNTQuM3oiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yNjYuMiw2Ni42aDhjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjIsMC4zLTAuNiwwLjQtMC45LDAuNGgtOA0KCWMtMC40LDAtMC43LTAuMS0wLjktMC40Yy0wLjUtMC41LTAuNS0xLjQsMC0xLjlDMjY1LjUsNjYuNywyNjUuOCw2Ni42LDI2Ni4yLDY2LjYgTTExNi41LDIwMS45Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJczgtMy42LDgtOC4xUzEyMC45LDIwMS45LDExNi41LDIwMS45TDExNi41LDIwMS45eiBNMTIxLjQsMjEyLjFjLTAuOCwyLTIuOCwzLjMtNC45LDMuM2MtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4xLDMuMy01DQoJYzItMC44LDQuMy0wLjQsNS44LDEuMkMxMjEuOCwyMDcuNywxMjIuMiwyMTAsMTIxLjQsMjEyLjFMMTIxLjQsMjEyLjF6IE0xOTEuMyw3OC43Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJYzIuMSwwLDQuMi0wLjksNS43LTIuNHMyLjMtMy42LDIuMy01LjdDMTk5LjMsODIuNCwxOTUuNyw3OC43LDE5MS4zLDc4Ljd6IE0xOTYuMyw4OC45Yy0wLjgsMi0yLjgsMy4zLTQuOSwzLjMNCgljLTMsMC01LjMtMi40LTUuMy01LjRjMC0yLjIsMS4zLTQuMiwzLjMtNXM0LjMtMC40LDUuOCwxLjJDMTk2LjYsODQuNiwxOTcuMSw4Ni45LDE5Ni4zLDg4LjlMMTk2LjMsODguOXogTTI3MC4yLDE2Mi42DQoJYy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xczgtMy42LDgtOC4xQzI3OC4yLDE2Ni4zLDI3NC42LDE2Mi42LDI3MC4yLDE2Mi42eiBNMjc1LjEsMTcyLjhjLTAuOCwyLTIuOCwzLjMtNC45LDMuMw0KCWMtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4yLDMuMy01czQuMy0wLjQsNS44LDEuMlMyNzUuOSwxNzAuOCwyNzUuMSwxNzIuOHogTTIzMC4xLDMxLjRjLTQuNCwwLTgsMy42LTgsOC4xczMuNiw4LjEsOCw4LjENCgljMi4xLDAsNC4yLTAuOSw1LjctMi40czIuMy0zLjYsMi4zLTUuN0MyMzguMSwzNSwyMzQuNSwzMS40LDIzMC4xLDMxLjR6IE0yMzUsNDEuNmMtMC44LDItMi44LDMuMy00LjksMy4zYy0zLDAtNS4zLTIuNC01LjMtNS40DQoJYzAtMi4yLDEuMy00LjIsMy4zLTVzNC4zLTAuNCw1LjgsMS4yQzIzNS40LDM3LjIsMjM1LjgsMzkuNSwyMzUsNDEuNnoiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0xNjMuMiw0NS45aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuNSwwLjUsMC41LDEuMywwLDEuOWwwLDBjLTAuMywwLjMtMC42LDAuNC0xLDAuNGgtOC4yDQoJYy0wLjQsMC0wLjctMC4xLTEtMC40Yy0wLjUtMC41LTAuNS0xLjMsMC0xLjlsMCwwQzE2Mi40LDQ2LjEsMTYyLjgsNDUuOSwxNjMuMiw0NS45IE0yNzEuNyw2My41djhjMCwwLjQtMC4xLDAuNy0wLjQsMC45DQoJYy0wLjMsMC4zLTAuNiwwLjQtMSwwLjRjLTAuNywwLTEuNC0wLjYtMS40LTEuM2wwLDB2LThjMC0wLjQsMC4xLTAuNywwLjQtMC45YzAuNS0wLjUsMS40LTAuNSwxLjksMA0KCUMyNzEuNiw2Mi44LDI3MS43LDYzLjIsMjcxLjcsNjMuNSIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTEwNy40LDE1NC44aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuMywwLjIsMC40LDAuNiwwLjQsMC45YzAsMC43LTAuNiwxLjMtMS40LDEuM2gtOC4yDQoJYy0wLjUsMC0wLjktMC4zLTEuMi0wLjdjLTAuMi0wLjQtMC4yLTAuOSwwLTEuM0MxMDYuNCwxNTUuMSwxMDYuOSwxNTQuOCwxMDcuNCwxNTQuOCBNMTY5LDQyLjd2OGMwLDAuNC0wLjEsMC43LTAuNCwwLjkNCgljLTAuNSwwLjUtMS40LDAuNS0yLDBjLTAuMi0wLjItMC40LTAuNi0wLjQtMC45di04YzAtMC40LDAuMS0wLjcsMC40LTAuOWMwLjUtMC41LDEuNC0wLjUsMS45LDBDMTY4LjgsNDIsMTY5LDQyLjMsMTY5LDQyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yMzAuOSwxMTAuM2g4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS40YzAsMC43LTAuNiwxLjMtMS4zLDEuNGgtOC4xYy0wLjgsMC0xLjQtMC42LTEuNC0xLjQNCgljMC0wLjQsMC4xLTAuNywwLjQtMUMyMzAuMiwxMTAuNCwyMzAuNiwxMTAuMywyMzAuOSwxMTAuMyIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTExNC42LDE2My44djguMmMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjUsMC41LTEuNCwwLjUtMS45LDBjLTAuMy0wLjMtMC40LTAuNi0wLjQtMXYtOC4yYzAtMC40LDAuMS0wLjcsMC40LTENCgljMC41LTAuNSwxLjQtMC41LDEuOSwwbDAsMEMxMTQuNCwxNjMuMSwxMTQuNiwxNjMuNCwxMTQuNiwxNjMuOCIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTEyNiwyNzIuN2g2MC40YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40SDEyNmMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzEyNC43LDI3My4zLDEyNS4zLDI3Mi43LDEyNiwyNzIuNyIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTIxOC42LDI3Mi43aDM0LjljMC43LDAsMS4zLDAuNiwxLjMsMS4zYzAsMC43LTAuNiwxLjMtMS4zLDEuM2gtMzQuOWMtMC43LDAtMS4zLTAuNi0xLjQtMS4zDQoJYzAtMC40LDAuMS0wLjcsMC40LTFDMjE3LjksMjcyLjksMjE4LjIsMjcyLjcsMjE4LjYsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0xNTguMiwyODIuMmgxMzEuNWMwLjcsMCwxLjMsMC42LDEuNCwxLjNjMCwwLjQtMC4xLDAuNy0wLjQsMWMtMC4zLDAuMy0wLjYsMC40LTEsMC40SDE1OC4yDQoJYy0wLjcsMC0xLjMtMC42LTEuMy0xLjNsMCwwQzE1Ni45LDI4Mi44LDE1Ny41LDI4Mi4yLDE1OC4yLDI4Mi4yIi8+DQo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNOTMuOCwyODIuMmgzNC45YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40bDAsMEg5My44Yy0wLjcsMC0xLjMtMC42LTEuNC0xLjMNCgljMC0wLjQsMC4xLTAuNywwLjQtMUM5My4xLDI4Mi4zLDkzLjUsMjgyLjIsOTMuOCwyODIuMiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTE5Ny4xLDI3Mi43aDguMWMwLjcsMCwxLjMsMC42LDEuMywxLjNjMCwwLjctMC42LDEuMy0xLjMsMS4zaC04LjFjLTAuNywwLjEtMS40LTAuNS0xLjQtMS4zDQoJYy0wLjEtMC43LDAuNS0xLjQsMS4zLTEuNEMxOTcsMjcyLjcsMTk3LjEsMjcyLjcsMTk3LjEsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yODQuNCwyNjQuNmg4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNy0wLjYsMS4zLTEuMywxLjNoLTguMWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzI4MywyNjUuMywyODMuNiwyNjQuNiwyODQuNCwyNjQuNiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTk5LjIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="
},
GVON
:
function
(
M
,
L
){}});
webpackJsonp
([
34
],{
"6XGN"
:
function
(
M
,
L
,
j
){
"use strict"
;
Object
.
defineProperty
(
L
,
"__esModule"
,{
value
:
!
0
});
var
N
=
j
(
"CkW6"
),
u
=
j
.
n
(
N
),
w
=
{
name
:
"page403"
,
data
:
function
(){
return
{
img_403
:
u
.
a
}},
computed
:{
message
:
function
(){
return
"抱歉,你无权访问该页面"
}}},
D
=
{
render
:
function
(){
var
M
=
this
.
$createElement
,
L
=
this
.
_self
.
_c
||
M
;
return
L
(
"div"
,{
staticStyle
:{
background
:
"#f0f2f5"
,
"margin-top"
:
"-20px"
,
height
:
"100%"
}},[
L
(
"div"
,{
staticClass
:
"wscn-http404"
},[
L
(
"div"
,{
staticClass
:
"pic-404"
},[
L
(
"img"
,{
staticClass
:
"pic-404__parent"
,
attrs
:{
src
:
this
.
img_403
,
alt
:
"403"
}})]),
this
.
_v
(
" "
),
L
(
"div"
,{
staticClass
:
"bullshit"
},[
L
(
"div"
,{
staticClass
:
"bullshit__headline"
},[
this
.
_v
(
this
.
_s
(
this
.
message
))]),
this
.
_v
(
" "
),
L
(
"a"
,{
staticClass
:
"bullshit__return-home"
,
attrs
:{
href
:
"#/companyGroup"
}},[
this
.
_v
(
"返回首页"
)])])])])},
staticRenderFns
:[]};
var
C
=
j
(
"VU/8"
)(
w
,
D
,
!
1
,
function
(
M
){
j
(
"GVON"
)},
"data-v-34b4b20b"
,
null
);
L
.
default
=
C
.
exports
},
CkW6
:
function
(
M
,
L
){
M
.
exports
=
"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDAwIDMzNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0ZBRkNGRjt9DQoJLnN0MXtmaWxsOiNEQkU1RjE7fQ0KCS5zdDJ7ZmlsbDojREVFN0Y0O30NCgkuc3Qze2ZpbGw6I0I5QzdEQjt9DQoJLnN0NHtmaWxsOiNGRkZGRkY7fQ0KCS5zdDV7ZmlsbDpub25lO3N0cm9rZTojQjlDN0RCO3N0cm9rZS13aWR0aDo0O3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Q2e2ZpbGw6bm9uZTtzdHJva2U6I0I2QzdEODtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0NSIgZD0iTTI3NC41LDI0MS4zYy01LjMtNS4zLTQuNCw0LjQtNi43LDYuN2MtMy4xLDMuMS02LjMsNi05LjcsOC42SDEyNS4yYy0zLjQtMi43LTYuNi01LjYtOS43LTguNw0KCWMtMjguNC0yOC41LTM4LjYtNzAuNS0yNi42LTEwOWwtMTAuNS0xMC42Yy01LjMtNS4zLTUuMy0xMy44LDAtMTkuMmM1LjItNS4zLDEzLjctNS4zLDE5LTAuMWMwLDAsMCwwLDAuMSwwLjFsNi42LDYuOA0KCWMzLjEsMy4yLDguMiwzLjIsMTEuNCwwbDAsMGMzLjItMy4yLDMuMi04LjMsMC0xMS41TDEwMy4xLDkyYy0zLjItMy4yLTMuMi04LjMsMC0xMS41YzMuMS0zLjIsOC4yLTMuMiwxMS40LDBsMCwwbDE3LjIsMTcuMg0KCWMtMC45LDMuNywwLjksNy42LDQuNCw5LjNjMy41LDEuNyw3LjcsMC42LDkuOS0yLjVjMi4zLTMuMSwyLjEtNy40LTAuNS0xMC4zYy0zLjMtMy44LTYuNS03LjItNi41LTcuMmwtNy4zLTcuNA0KCWMzNC44LTIxLjMsODIuNi0yMS43LDExNy4yLDBjMzQuNSwyMS43LDUzLjksNjEuMiw1MCwxMDEuOWwxNS40LDE1LjZjMy4yLDMuMiwzLjIsOC4zLDAsMTEuNWMtMy4xLDMuMi04LjIsMy4yLTExLjQsMGwwLDANCglsLTE1LjEtMTUuM2MtMy4xLTMuMi04LjItMy4yLTExLjQsMGwwLDBjLTMuMiwzLjItMy4yLDguMywwLDExLjVsMTcuMSwxNy4yYzUuMiw1LjMsNS4yLDEzLjgsMCwxOS4xDQoJQzI4OC40LDI0Ni42LDI3OS45LDI0Ni42LDI3NC41LDI0MS4zQzI3NC42LDI0MS4zLDI3NC42LDI0MS4zLDI3NC41LDI0MS4zTDI3NC41LDI0MS4zeiIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTg2LjYsNzEuNGMwLDQuNywzLjgsOC41LDguNSw4LjVjMS41LDAsMy0wLjQsNC4zLTEuMWM0LjEtMi4zLDUuNS03LjUsMy4xLTExLjZjLTEuNS0yLjYtNC4zLTQuMy03LjQtNC4zDQoJQzkwLjQsNjIuOSw4Ni42LDY2LjcsODYuNiw3MS40Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjE2LjQsMTQ1LjRoMjQuM2wtNy40LDE3LjljMi42LDEuOCw0LjUsMy44LDUuOCw2YzEuMiwyLjIsMS45LDQuOCwxLjksNy44YzAsNC42LTEuNiw4LjQtNC44LDExLjINCgljLTMuMiwyLjktNy4zLDQuMy0xMi4zLDQuM2MtMi41LDAtNS4xLTAuNC03LjUtMS4xdi0xMy4xYzIsMC45LDMuOSwxLjQsNS41LDEuNHMyLjktMC41LDMuNy0xLjRjMC45LTEsMS4zLTIuMywxLjMtNC4xDQoJYzAtMS45LTAuOC0zLjQtMi40LTQuNmMtMS42LTEuMi0zLjctMS43LTYuNC0xLjdsMy40LTkuMWgtNS4xVjE0NS40TDIxNi40LDE0NS40eiBNMjA3LjUsMTgxLjZjMCwxLjUtMC4zLDMtMC44LDQuMw0KCXMtMS4zLDIuNS0yLjMsMy41cy0yLjIsMS44LTMuNCwyLjNjLTEuMywwLjYtMi44LDAuOS00LjMsMC45aC05LjZjLTEuNSwwLTIuOS0wLjMtNC4zLTAuOWMtMS4zLTAuNi0yLjUtMS4zLTMuNC0yLjMNCgljLTAuNC0wLjQtMC44LTAuOS0xLjItMS40bDExLjctMTcuM3Y2YzAsMC42LDAuMiwxLjEsMC42LDEuNGMwLjQsMC40LDAuOCwwLjYsMS40LDAuNmMxLjEsMCwyLTAuOCwyLTEuOXYtMC4xdi0xMS45bDEwLjktMTYuMQ0KCWMxLjgsMiwyLjgsNC42LDIuNyw3LjNMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZMMjA3LjUsMTgxLjZ6IE0xNzcuMSwxODUuOWMtMC42LTEuNC0wLjktMi44LTAuOC00LjNWMTU2YzAtMS41LDAuMy0zLDAuOC00LjMNCglzMS4zLTIuNSwyLjMtMy41czIuMi0xLjgsMy40LTIuM2MxLjMtMC42LDIuOC0wLjksNC4zLTAuOWg5LjZjMS41LDAsMi45LDAuMyw0LjMsMC45YzEuMywwLjUsMi40LDEuMywzLjQsMi4zbC0xMC41LDE1LjR2LTIuNw0KCWMwLTAuNS0wLjItMS4xLTAuNi0xLjRjLTAuNC0wLjQtMC45LTAuNi0xLjQtMC42Yy0xLjEsMC0yLDAuOC0yLDEuOXYwLjF2OC42bC0xMi4xLDE3LjlDMTc3LjUsMTg2LjksMTc3LjMsMTg2LjQsMTc3LjEsMTg1LjkNCglMMTc3LjEsMTg1Ljl6IE0yNDMuOCwxOTIuN2MzLjUtNy40LDUuMy0xNS41LDUuMy0yMy43YzAtMzAuNS0yNC40LTU1LjItNTQuNi01NS4ycy01NC42LDI0LjctNTQuNiw1NS4yYzAsMC40LDAsMC44LDAsMS4xDQoJbDE5LjYtMjQuNmgxMS40TDE1NCwxNzEuM2g1LjV2LTYuNWwxMS43LTE4LjV2NDYuOGgtMTEuN3YtOS44aC0xNy44YzUuMSwxOS4yLDIwLjEsMzQuMywzOS4yLDM5LjJjLTEuMiwzLjEtNC44LDEwLjctMTAuNywxMg0KCWMtNy4zLDEuNywxOS45LDAuNCwzOS40LTEyLjVjMTQuOS00LjQsMjcuMi0xNSwzMy45LTI4LjlMMjQzLjgsMTkyLjdMMjQzLjgsMTkyLjd6Ii8+DQo8cGF0aCBjbGFzcz0ic3Q0IiBkPSJNMjM4LjksMTU0LjNsLTI0LjQsMzUuNGwwLjUsMC4zbDI0LjQtMzUuNEwyMzguOSwxNTQuM3oiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yNjYuMiw2Ni42aDhjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjIsMC4zLTAuNiwwLjQtMC45LDAuNGgtOA0KCWMtMC40LDAtMC43LTAuMS0wLjktMC40Yy0wLjUtMC41LTAuNS0xLjQsMC0xLjlDMjY1LjUsNjYuNywyNjUuOCw2Ni42LDI2Ni4yLDY2LjYgTTExNi41LDIwMS45Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJczgtMy42LDgtOC4xUzEyMC45LDIwMS45LDExNi41LDIwMS45TDExNi41LDIwMS45eiBNMTIxLjQsMjEyLjFjLTAuOCwyLTIuOCwzLjMtNC45LDMuM2MtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4xLDMuMy01DQoJYzItMC44LDQuMy0wLjQsNS44LDEuMkMxMjEuOCwyMDcuNywxMjIuMiwyMTAsMTIxLjQsMjEyLjFMMTIxLjQsMjEyLjF6IE0xOTEuMyw3OC43Yy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xDQoJYzIuMSwwLDQuMi0wLjksNS43LTIuNHMyLjMtMy42LDIuMy01LjdDMTk5LjMsODIuNCwxOTUuNyw3OC43LDE5MS4zLDc4Ljd6IE0xOTYuMyw4OC45Yy0wLjgsMi0yLjgsMy4zLTQuOSwzLjMNCgljLTMsMC01LjMtMi40LTUuMy01LjRjMC0yLjIsMS4zLTQuMiwzLjMtNXM0LjMtMC40LDUuOCwxLjJDMTk2LjYsODQuNiwxOTcuMSw4Ni45LDE5Ni4zLDg4LjlMMTk2LjMsODguOXogTTI3MC4yLDE2Mi42DQoJYy00LjQsMC04LDMuNi04LDguMXMzLjYsOC4xLDgsOC4xczgtMy42LDgtOC4xQzI3OC4yLDE2Ni4zLDI3NC42LDE2Mi42LDI3MC4yLDE2Mi42eiBNMjc1LjEsMTcyLjhjLTAuOCwyLTIuOCwzLjMtNC45LDMuMw0KCWMtMywwLTUuMy0yLjQtNS4zLTUuNGMwLTIuMiwxLjMtNC4yLDMuMy01czQuMy0wLjQsNS44LDEuMlMyNzUuOSwxNzAuOCwyNzUuMSwxNzIuOHogTTIzMC4xLDMxLjRjLTQuNCwwLTgsMy42LTgsOC4xczMuNiw4LjEsOCw4LjENCgljMi4xLDAsNC4yLTAuOSw1LjctMi40czIuMy0zLjYsMi4zLTUuN0MyMzguMSwzNSwyMzQuNSwzMS40LDIzMC4xLDMxLjR6IE0yMzUsNDEuNmMtMC44LDItMi44LDMuMy00LjksMy4zYy0zLDAtNS4zLTIuNC01LjMtNS40DQoJYzAtMi4yLDEuMy00LjIsMy4zLTVzNC4zLTAuNCw1LjgsMS4yQzIzNS40LDM3LjIsMjM1LjgsMzkuNSwyMzUsNDEuNnoiLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0xNjMuMiw0NS45aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuNSwwLjUsMC41LDEuMywwLDEuOWwwLDBjLTAuMywwLjMtMC42LDAuNC0xLDAuNGgtOC4yDQoJYy0wLjQsMC0wLjctMC4xLTEtMC40Yy0wLjUtMC41LTAuNS0xLjMsMC0xLjlsMCwwQzE2Mi40LDQ2LjEsMTYyLjgsNDUuOSwxNjMuMiw0NS45IE0yNzEuNyw2My41djhjMCwwLjQtMC4xLDAuNy0wLjQsMC45DQoJYy0wLjMsMC4zLTAuNiwwLjQtMSwwLjRjLTAuNywwLTEuNC0wLjYtMS40LTEuM2wwLDB2LThjMC0wLjQsMC4xLTAuNywwLjQtMC45YzAuNS0wLjUsMS40LTAuNSwxLjksMA0KCUMyNzEuNiw2Mi44LDI3MS43LDYzLjIsMjcxLjcsNjMuNSIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTEwNy40LDE1NC44aDguMmMwLjQsMCwwLjcsMC4xLDEsMC40YzAuMywwLjIsMC40LDAuNiwwLjQsMC45YzAsMC43LTAuNiwxLjMtMS40LDEuM2gtOC4yDQoJYy0wLjUsMC0wLjktMC4zLTEuMi0wLjdjLTAuMi0wLjQtMC4yLTAuOSwwLTEuM0MxMDYuNCwxNTUuMSwxMDYuOSwxNTQuOCwxMDcuNCwxNTQuOCBNMTY5LDQyLjd2OGMwLDAuNC0wLjEsMC43LTAuNCwwLjkNCgljLTAuNSwwLjUtMS40LDAuNS0yLDBjLTAuMi0wLjItMC40LTAuNi0wLjQtMC45di04YzAtMC40LDAuMS0wLjcsMC40LTAuOWMwLjUtMC41LDEuNC0wLjUsMS45LDBDMTY4LjgsNDIsMTY5LDQyLjMsMTY5LDQyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDMiIGQ9Ik0yMzAuOSwxMTAuM2g4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS40YzAsMC43LTAuNiwxLjMtMS4zLDEuNGgtOC4xYy0wLjgsMC0xLjQtMC42LTEuNC0xLjQNCgljMC0wLjQsMC4xLTAuNywwLjQtMUMyMzAuMiwxMTAuNCwyMzAuNiwxMTAuMywyMzAuOSwxMTAuMyIvPg0KPHBhdGggY2xhc3M9InN0MyIgZD0iTTExNC42LDE2My44djguMmMwLDAuNC0wLjEsMC43LTAuNCwxYy0wLjUsMC41LTEuNCwwLjUtMS45LDBjLTAuMy0wLjMtMC40LTAuNi0wLjQtMXYtOC4yYzAtMC40LDAuMS0wLjcsMC40LTENCgljMC41LTAuNSwxLjQtMC41LDEuOSwwbDAsMEMxMTQuNCwxNjMuMSwxMTQuNiwxNjMuNCwxMTQuNiwxNjMuOCIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTEyNiwyNzIuN2g2MC40YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40SDEyNmMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzEyNC43LDI3My4zLDEyNS4zLDI3Mi43LDEyNiwyNzIuNyIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTIxOC42LDI3Mi43aDM0LjljMC43LDAsMS4zLDAuNiwxLjMsMS4zYzAsMC43LTAuNiwxLjMtMS4zLDEuM2gtMzQuOWMtMC43LDAtMS4zLTAuNi0xLjQtMS4zDQoJYzAtMC40LDAuMS0wLjcsMC40LTFDMjE3LjksMjcyLjksMjE4LjIsMjcyLjcsMjE4LjYsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0xNTguMiwyODIuMmgxMzEuNWMwLjcsMCwxLjMsMC42LDEuNCwxLjNjMCwwLjQtMC4xLDAuNy0wLjQsMWMtMC4zLDAuMy0wLjYsMC40LTEsMC40SDE1OC4yDQoJYy0wLjcsMC0xLjMtMC42LTEuMy0xLjNsMCwwQzE1Ni45LDI4Mi44LDE1Ny41LDI4Mi4yLDE1OC4yLDI4Mi4yIi8+DQo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNOTMuOCwyODIuMmgzNC45YzAuNywwLDEuMywwLjYsMS4zLDEuM2wwLDBjMCwwLjctMC42LDEuMy0xLjMsMS40bDAsMEg5My44Yy0wLjcsMC0xLjMtMC42LTEuNC0xLjMNCgljMC0wLjQsMC4xLTAuNywwLjQtMUM5My4xLDI4Mi4zLDkzLjUsMjgyLjIsOTMuOCwyODIuMiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTE5Ny4xLDI3Mi43aDguMWMwLjcsMCwxLjMsMC42LDEuMywxLjNjMCwwLjctMC42LDEuMy0xLjMsMS4zaC04LjFjLTAuNywwLjEtMS40LTAuNS0xLjQtMS4zDQoJYy0wLjEtMC43LDAuNS0xLjQsMS4zLTEuNEMxOTcsMjcyLjcsMTk3LjEsMjcyLjcsMTk3LjEsMjcyLjciLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yODQuNCwyNjQuNmg4LjFjMC43LDAsMS4zLDAuNiwxLjMsMS4zbDAsMGMwLDAuNy0wLjYsMS4zLTEuMywxLjNoLTguMWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zDQoJQzI4MywyNjUuMywyODMuNiwyNjQuNiwyODQuNCwyNjQuNiIvPg0KPHBhdGggY2xhc3M9InN0MSIgZD0iTTk5LjIsMjY0LjZoMTcxLjdjMC40LDAsMC43LDAuMSwwLjksMC40YzAuNCwwLjQsMC41LDEsMC4zLDEuNWMtMC4yLDAuNS0wLjcsMC44LTEuMiwwLjhIOTkuMQ0KCWMtMC43LDAtMS4zLTAuNi0xLjMtMS4zQzk3LjgsMjY1LjMsOTguNCwyNjQuNiw5OS4yLDI2NC42Ii8+DQo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="
},
GVON
:
function
(
M
,
L
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
6.2cadbd4ded3457625f5
2.js
→
dist/static/js/3
5.e64c33855b455bcdd9a
2.js
View file @
0d68e2b7
webpackJsonp
([
36
],{
JXTs
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"//Fk"
),
n
=
a
.
n
(
s
),
o
=
a
(
"mvHQ"
),
i
=
a
.
n
(
o
),
c
=
a
(
"P9l9"
),
r
=
a
(
"3E4D"
),
l
=
a
(
"Ch4/"
),
u
=
{
name
:
"custom-dialog"
,
props
:{
showCustomDialog
:{
type
:
Boolean
,
default
:
!
1
},
customType
:{
type
:
String
,
default
:
""
},
customTitle
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
repProjectName
:
"haoban-manage-web"
,
customDialog
:
!
1
,
customData
:[],
checkList
:[]}},
beforeMount
:
function
(){},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"customHandleConfirm"
)},
customConfirm
:
function
(){
if
(
!
this
.
checkList
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择操作"
}),
!
1
;
this
.
setData
(
this
.
checkList
)},
customChange
:
function
(
t
){},
setData
:
function
(
t
){
var
e
=
this
,
a
=
{
viewIdList
:
t
},
s
=
"data"
==
e
.
customType
?
"/haoban-manage-web/home/set-display-enterprise-data"
:
"/haoban-manage-web/home/set-display-quick-entry"
;
Object
(
c
.
d
)(
s
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
r
.
a
.
showmsg
(
"设置成功"
,
"success"
),
void
e
.
$emit
(
"customHandleConfirm"
);
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardList
:
function
(){
var
t
=
this
,
e
=
{
all
:
!
0
};
"data"
==
t
.
customType
&&
(
e
.
fetchData
=!
1
);
var
a
=
"data"
==
t
.
customType
?
"/haoban-manage-web/home/find-enterprise-data"
:
"/haoban-manage-web/home/find-quick-entry"
;
t
.
checkList
=
[],
Object
(
c
.
e
)(
a
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
){
var
s
=
[];
return
a
.
result
.
forEach
(
function
(
e
,
a
){
e
.
homeDisplay
&&
(
"data"
==
t
.
customType
?
s
.
push
(
e
.
dataViewId
):
s
.
push
(
e
.
settingViewId
))}),
t
.
customData
=
a
.
result
,
void
(
t
.
checkList
=
s
)}
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
showCustomDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
customType
:
function
(
t
,
e
){
t
&&
this
.
getCardList
()}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showCustomDialog
}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"自定义"
+
t
.
customTitle
,
visible
:
t
.
customDialog
,
width
:
"761px"
,
"before-close"
:
t
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"custom-dialog__title"
},[
a
(
"p"
,{
staticClass
:
"custom-dialog__p"
},[
t
.
_v
(
"
\
n 请选择您想在首页展示的"
+
t
.
_s
(
t
.
customTitle
)
+
",还可以再勾选"
),
a
(
"span"
,[
t
.
_v
(
" "
+
t
.
_s
(
8
-
t
.
checkList
.
length
)
+
" "
)]),
t
.
_v
(
"个
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-dialog__checkbox"
},[
a
(
"el-checkbox-group"
,{
attrs
:{
max
:
8
},
on
:{
change
:
t
.
customChange
},
model
:{
value
:
t
.
checkList
,
callback
:
function
(
e
){
t
.
checkList
=
e
},
expression
:
"checkList"
}},[
"data"
===
t
.
customType
?
t
.
_l
(
t
.
customData
,
function
(
e
){
return
a
(
"el-checkbox"
,{
key
:
e
.
dataViewId
,
attrs
:{
label
:
e
.
dataViewId
,
name
:
"type"
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))])}):
t
.
_e
(),
t
.
_v
(
" "
),
"data"
!=
t
.
customType
?
t
.
_l
(
t
.
customData
,
function
(
e
){
return
a
(
"el-checkbox"
,{
key
:
e
.
settingViewId
,
attrs
:{
label
:
e
.
settingViewId
,
name
:
"type"
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))])}):
t
.
_e
()],
2
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
customCancel
}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
customConfirm
}},[
t
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
f
=
{
name
:
"index"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
,
showCustomDialog
:
!
1
,
customType
:
""
,
customTitle
:
""
,
bannerList
:[],
companyObj
:{},
dataOverview
:[],
entryData
:[]}},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
},
showDialogLayer
:
function
(
t
){
this
.
showCustomDialog
=!
0
,
this
.
customType
=
t
,
this
.
customTitle
=
"data"
==
t
?
"数据概览"
:
"快捷操作"
},
customHandleConfirm
:
function
(
t
){
this
.
showCustomDialog
=!
1
,
"data"
===
this
.
customType
?
this
.
getDataOverview
():
this
.
getEntryData
()},
toCertify
:
function
(
t
){
1
!=
t
&&
this
.
changeRoute
(
"/companyCertify"
)},
getBannerData
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/home/find-advertisement"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
bannerList
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getEnterpriseData
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/home/find-enterprise-info"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
balance
=
Number
(
a
.
result
.
balance
).
toFixed
(
2
),
0
==
a
.
result
.
yesterdayUseNumber
&&
(
a
.
result
.
yesterdayUseNumber
=
String
(
a
.
result
.
yesterdayUseNumber
)),
t
.
companyObj
=
a
.
result
,
void
t
.
$nextTick
(
function
(){
t
.
getUserData
()});
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getUserData
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
localStorage
.
setItem
(
"userInfo"
,
i
()(
a
.
result
)),
void
t
.
$nextTick
(
function
(){
t
.
$refs
.
headerMenu
.
getHeaderMenu
()});
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getDataOverview
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/home/find-enterprise-data"
,{
all
:
!
1
,
fetchData
:
!
0
}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
dataOverview
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getEntryData
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/home/find-quick-entry"
,{
all
:
!
1
}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
entryData
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
204
+
"px"
,
n
.
a
.
all
([
this
.
getBannerData
(),
this
.
getDataOverview
(),
this
.
getEntryData
(),
this
.
getEnterpriseData
()])},
components
:{
customDialog
:
a
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
t
){
a
(
"mZuu"
)},
"data-v-20cf4057"
,
null
).
exports
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
attrs
:{
id
:
"index"
}},[
a
(
"vue-office-header"
,{
ref
:
"headerMenu"
,
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
minHeight
:
t
.
contentHeight
}},[
a
(
"div"
,{
staticClass
:
"index-company flex flex-row"
},[
a
(
"div"
,{
staticClass
:
"index-company-left m-r-24 border-box radius-2"
},[
a
(
"div"
,{
staticClass
:
"index-company-logo"
},[
t
.
companyObj
.
logoUrl
?
a
(
"div"
,{
staticClass
:
"index-company-logo_img"
},[
a
(
"img"
,{
attrs
:{
src
:
t
.
companyObj
.
logoUrl
,
alt
:
"log"
}})]):
a
(
"div"
,{
staticClass
:
"default-logo-bg"
},[
a
(
"i"
,{
staticClass
:
"iconfont icon-2zuzhijiagou default-logo"
})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-company-name color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
enterpriseName
))]),
t
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"index-company-count"
},[
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"企业人数
\
n "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"light"
,
content
:
"企业总人数,每日刷新一次"
,
placement
:
"right"
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-xinxixianshi"
})])],
1
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
staffNumber
||
"--"
)
+
"人"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"行政架构部门数
\
n "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"light"
,
content
:
"企业行政架构部门总数,每日刷新一次"
,
placement
:
"right"
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-xinxixianshi"
})])],
1
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
departmentNumber
||
"--"
)
+
"个"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"门店架构门店总数
\
n "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"light"
,
content
:
"企业门店总数,每日刷新一次"
,
placement
:
"right"
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-xinxixianshi"
})])],
1
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
storeGroupNumber
||
"--"
)
+
"个"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"昨日使用人数
\
n "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"light"
,
content
:
"昨日登录好办人数,每日刷新一次"
,
placement
:
"right"
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-xinxixianshi"
})])],
1
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
""
==
t
.
companyObj
.
yesterdayUseNumber
||
null
==
t
.
companyObj
.
yesterdayUseNumber
?
"--"
:
t
.
companyObj
.
yesterdayUseNumber
)
+
"人"
)])])]),
t
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"p-t-12"
},[
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"企业编码"
)]),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
enterpriseCode
||
"--"
))])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex flex-between"
,
on
:{
click
:
function
(
e
){
t
.
toCertify
(
t
.
companyObj
.
authenticationStatus
)}}},[
a
(
"span"
,[
t
.
_v
(
"企业认证"
)]),
a
(
"span"
,{
class
:[
1
==
t
.
companyObj
.
authenticationStatus
?
"authActive"
:
0
==
t
.
companyObj
.
authenticationStatus
?
"unAuth"
:
2
==
t
.
companyObj
.
authenticationStatus
?
"auth-ing"
:
"auth-fail"
]},[
1
==
t
.
companyObj
.
authenticationStatus
||
0
==
t
.
companyObj
.
authenticationStatus
?
a
(
"i"
,{
staticClass
:
"iconfont icon-renzheng p-r-6 "
}):
t
.
_e
(),
2
==
t
.
companyObj
.
authenticationStatus
?
a
(
"i"
,{
staticClass
:
"iconfont icon-qiyerenzheng1 p-r-6 "
}):
t
.
_e
(),
3
==
t
.
companyObj
.
authenticationStatus
?
a
(
"i"
,{
staticClass
:
"iconfont icon-qiyerenzheng2 p-r-6 "
}):
t
.
_e
(),
t
.
_v
(
t
.
_s
(
1
==
t
.
companyObj
.
authenticationStatus
?
"已认证"
:
0
==
t
.
companyObj
.
authenticationStatus
?
"未认证"
:
2
==
t
.
companyObj
.
authenticationStatus
?
"认证中"
:
"认证失败"
)
+
" "
)])]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-entry radius-2"
},[
a
(
"div"
,{
staticClass
:
"index-swiper"
},[
a
(
"el-carousel"
,{
attrs
:{
trigger
:
"click"
,
height
:
"250px"
,
arrow
:
"never"
,
autoplay
:
!
1
}},
t
.
_l
(
t
.
bannerList
,
function
(
t
,
e
){
return
a
(
"el-carousel-item"
,{
key
:
e
},[
a
(
"a"
,{
staticClass
:
"index-swiper-bg"
,
style
:{
backgroundImage
:
"url("
+
t
.
imgUrl
+
")"
},
attrs
:{
href
:
1
==
t
.
linkType
?
"#"
+
t
.
linkUrl
:
t
.
linkUrl
,
target
:
"_blank"
,
rel
:
"nofollow noopener noreferrer"
}})])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"bg-f5f8fa bg-space"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-entry-head flex flex-between border-box border-b-e4e7e7"
},[
a
(
"span"
,{
staticClass
:
"color-303133 font-16 font-w-500"
},[
t
.
_v
(
"快捷入口"
)]),
a
(
"span"
,{
staticClass
:
"auto-define"
,
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"entry"
)}}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-zidingyi color-909399"
})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-entry-body p-24 border-box"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-row flex-wrap"
},
t
.
_l
(
t
.
entryData
,
function
(
e
,
s
){
return
a
(
"li"
,{
key
:
s
,
staticClass
:
"flex flex-align-center border-box flex"
,
on
:{
click
:
function
(
a
){
t
.
changeRoute
(
e
.
fieldUrl
)}}},[
a
(
"span"
,{
staticClass
:
"square-item flex flex-align-center flex-pack-center"
,
style
:{
background
:
e
.
fieldIconBgColor
}},[
a
(
"i"
,{
class
:[
"iconfont"
,
e
.
fieldIconUrl
]})]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16 p-l-20"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))])])}))])])])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
),
t
.
_v
(
" "
),
a
(
"custom-dialog"
,{
attrs
:{
customTitle
:
t
.
customTitle
,
customType
:
t
.
customType
,
showCustomDialog
:
t
.
showCustomDialog
},
on
:{
customHandleConfirm
:
t
.
customHandleConfirm
}})],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"li"
,{
staticClass
:
"flex flex-between"
},[
e
(
"span"
,[
this
.
_v
(
"帮助手册"
)]),
e
(
"a"
,{
attrs
:{
href
:
"https://report-1251519181.cos.ap-shanghai.myqcloud.com/haoban/20190619185604/好办管理员.pdf"
,
download
:
"好办帮助手册.pdf"
}},[
e
(
"span"
,{
staticClass
:
"color-1890ff"
},[
this
.
_v
(
"立即下载"
),
e
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])}]};
var
h
=
a
(
"VU/8"
)(
f
,
d
,
!
1
,
function
(
t
){
a
(
"LE4m"
)},
"data-v-f9b92a44"
,
null
);
e
.
default
=
h
.
exports
},
LE4m
:
function
(
t
,
e
){},
mZuu
:
function
(
t
,
e
){}});
webpackJsonp
([
35
],{
JXTs
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"//Fk"
),
n
=
a
.
n
(
s
),
o
=
a
(
"mvHQ"
),
i
=
a
.
n
(
o
),
c
=
a
(
"P9l9"
),
r
=
a
(
"3E4D"
),
l
=
a
(
"Ch4/"
),
u
=
{
name
:
"custom-dialog"
,
props
:{
showCustomDialog
:{
type
:
Boolean
,
default
:
!
1
},
customType
:{
type
:
String
,
default
:
""
},
customTitle
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
repProjectName
:
"haoban-manage-web"
,
customDialog
:
!
1
,
customData
:[],
checkList
:[]}},
beforeMount
:
function
(){},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"customHandleConfirm"
)},
customConfirm
:
function
(){
if
(
!
this
.
checkList
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择操作"
}),
!
1
;
this
.
setData
(
this
.
checkList
)},
customChange
:
function
(
t
){},
setData
:
function
(
t
){
var
e
=
this
,
a
=
{
viewIdList
:
t
},
s
=
"data"
==
e
.
customType
?
"/haoban-manage-web/home/set-display-enterprise-data"
:
"/haoban-manage-web/home/set-display-quick-entry"
;
Object
(
c
.
d
)(
s
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
r
.
a
.
showmsg
(
"设置成功"
,
"success"
),
void
e
.
$emit
(
"customHandleConfirm"
);
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardList
:
function
(){
var
t
=
this
,
e
=
{
all
:
!
0
};
"data"
==
t
.
customType
&&
(
e
.
fetchData
=!
1
);
var
a
=
"data"
==
t
.
customType
?
"/haoban-manage-web/home/find-enterprise-data"
:
"/haoban-manage-web/home/find-quick-entry"
;
t
.
checkList
=
[],
Object
(
c
.
e
)(
a
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
){
var
s
=
[];
return
a
.
result
.
forEach
(
function
(
e
,
a
){
e
.
homeDisplay
&&
(
"data"
==
t
.
customType
?
s
.
push
(
e
.
dataViewId
):
s
.
push
(
e
.
settingViewId
))}),
t
.
customData
=
a
.
result
,
void
(
t
.
checkList
=
s
)}
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
showCustomDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
customType
:
function
(
t
,
e
){
t
&&
this
.
getCardList
()}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showCustomDialog
}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"自定义"
+
t
.
customTitle
,
visible
:
t
.
customDialog
,
width
:
"761px"
,
"before-close"
:
t
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"custom-dialog__title"
},[
a
(
"p"
,{
staticClass
:
"custom-dialog__p"
},[
t
.
_v
(
"
\
n 请选择您想在首页展示的"
+
t
.
_s
(
t
.
customTitle
)
+
",还可以再勾选"
),
a
(
"span"
,[
t
.
_v
(
" "
+
t
.
_s
(
8
-
t
.
checkList
.
length
)
+
" "
)]),
t
.
_v
(
"个
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-dialog__checkbox"
},[
a
(
"el-checkbox-group"
,{
attrs
:{
max
:
8
},
on
:{
change
:
t
.
customChange
},
model
:{
value
:
t
.
checkList
,
callback
:
function
(
e
){
t
.
checkList
=
e
},
expression
:
"checkList"
}},[
"data"
===
t
.
customType
?
t
.
_l
(
t
.
customData
,
function
(
e
){
return
a
(
"el-checkbox"
,{
key
:
e
.
dataViewId
,
attrs
:{
label
:
e
.
dataViewId
,
name
:
"type"
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))])}):
t
.
_e
(),
t
.
_v
(
" "
),
"data"
!=
t
.
customType
?
t
.
_l
(
t
.
customData
,
function
(
e
){
return
a
(
"el-checkbox"
,{
key
:
e
.
settingViewId
,
attrs
:{
label
:
e
.
settingViewId
,
name
:
"type"
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))])}):
t
.
_e
()],
2
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
customCancel
}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
customConfirm
}},[
t
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
f
=
{
name
:
"index"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
,
showCustomDialog
:
!
1
,
customType
:
""
,
customTitle
:
""
,
bannerList
:[],
companyObj
:{},
dataOverview
:[],
entryData
:[]}},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
},
showDialogLayer
:
function
(
t
){
this
.
showCustomDialog
=!
0
,
this
.
customType
=
t
,
this
.
customTitle
=
"data"
==
t
?
"数据概览"
:
"快捷操作"
},
customHandleConfirm
:
function
(
t
){
this
.
showCustomDialog
=!
1
,
"data"
===
this
.
customType
?
this
.
getDataOverview
():
this
.
getEntryData
()},
toCertify
:
function
(
t
){
1
!=
t
&&
this
.
changeRoute
(
"/companyCertify"
)},
getBannerData
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/home/find-advertisement"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
bannerList
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getEnterpriseData
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/home/find-enterprise-info"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
balance
=
Number
(
a
.
result
.
balance
).
toFixed
(
2
),
0
==
a
.
result
.
yesterdayUseNumber
&&
(
a
.
result
.
yesterdayUseNumber
=
String
(
a
.
result
.
yesterdayUseNumber
)),
t
.
companyObj
=
a
.
result
,
void
t
.
$nextTick
(
function
(){
t
.
getUserData
()});
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getUserData
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
localStorage
.
setItem
(
"userInfo"
,
i
()(
a
.
result
)),
void
t
.
$nextTick
(
function
(){
t
.
$refs
.
headerMenu
.
getHeaderMenu
()});
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getDataOverview
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/home/find-enterprise-data"
,{
all
:
!
1
,
fetchData
:
!
0
}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
dataOverview
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getEntryData
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/home/find-quick-entry"
,{
all
:
!
1
}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
t
.
entryData
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
204
+
"px"
,
n
.
a
.
all
([
this
.
getBannerData
(),
this
.
getDataOverview
(),
this
.
getEntryData
(),
this
.
getEnterpriseData
()])},
components
:{
customDialog
:
a
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
t
){
a
(
"mZuu"
)},
"data-v-20cf4057"
,
null
).
exports
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
attrs
:{
id
:
"index"
}},[
a
(
"vue-office-header"
,{
ref
:
"headerMenu"
,
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
minHeight
:
t
.
contentHeight
}},[
a
(
"div"
,{
staticClass
:
"index-company flex flex-row"
},[
a
(
"div"
,{
staticClass
:
"index-company-left m-r-24 border-box radius-2"
},[
a
(
"div"
,{
staticClass
:
"index-company-logo"
},[
t
.
companyObj
.
logoUrl
?
a
(
"div"
,{
staticClass
:
"index-company-logo_img"
},[
a
(
"img"
,{
attrs
:{
src
:
t
.
companyObj
.
logoUrl
,
alt
:
"log"
}})]):
a
(
"div"
,{
staticClass
:
"default-logo-bg"
},[
a
(
"i"
,{
staticClass
:
"iconfont icon-2zuzhijiagou default-logo"
})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-company-name color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
enterpriseName
))]),
t
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"index-company-count"
},[
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"企业人数
\
n "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"light"
,
content
:
"企业总人数,每日刷新一次"
,
placement
:
"right"
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-xinxixianshi"
})])],
1
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
staffNumber
||
"--"
)
+
"人"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"行政架构部门数
\
n "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"light"
,
content
:
"企业行政架构部门总数,每日刷新一次"
,
placement
:
"right"
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-xinxixianshi"
})])],
1
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
departmentNumber
||
"--"
)
+
"个"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"门店架构门店总数
\
n "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"light"
,
content
:
"企业门店总数,每日刷新一次"
,
placement
:
"right"
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-xinxixianshi"
})])],
1
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
storeGroupNumber
||
"--"
)
+
"个"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"昨日使用人数
\
n "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"light"
,
content
:
"昨日登录好办人数,每日刷新一次"
,
placement
:
"right"
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-xinxixianshi"
})])],
1
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
""
==
t
.
companyObj
.
yesterdayUseNumber
||
null
==
t
.
companyObj
.
yesterdayUseNumber
?
"--"
:
t
.
companyObj
.
yesterdayUseNumber
)
+
"人"
)])])]),
t
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"p-t-12"
},[
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"企业编码"
)]),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
enterpriseCode
||
"--"
))])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex flex-between"
,
on
:{
click
:
function
(
e
){
t
.
toCertify
(
t
.
companyObj
.
authenticationStatus
)}}},[
a
(
"span"
,[
t
.
_v
(
"企业认证"
)]),
a
(
"span"
,{
class
:[
1
==
t
.
companyObj
.
authenticationStatus
?
"authActive"
:
0
==
t
.
companyObj
.
authenticationStatus
?
"unAuth"
:
2
==
t
.
companyObj
.
authenticationStatus
?
"auth-ing"
:
"auth-fail"
]},[
1
==
t
.
companyObj
.
authenticationStatus
||
0
==
t
.
companyObj
.
authenticationStatus
?
a
(
"i"
,{
staticClass
:
"iconfont icon-renzheng p-r-6 "
}):
t
.
_e
(),
2
==
t
.
companyObj
.
authenticationStatus
?
a
(
"i"
,{
staticClass
:
"iconfont icon-qiyerenzheng1 p-r-6 "
}):
t
.
_e
(),
3
==
t
.
companyObj
.
authenticationStatus
?
a
(
"i"
,{
staticClass
:
"iconfont icon-qiyerenzheng2 p-r-6 "
}):
t
.
_e
(),
t
.
_v
(
t
.
_s
(
1
==
t
.
companyObj
.
authenticationStatus
?
"已认证"
:
0
==
t
.
companyObj
.
authenticationStatus
?
"未认证"
:
2
==
t
.
companyObj
.
authenticationStatus
?
"认证中"
:
"认证失败"
)
+
" "
)])]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-entry radius-2"
},[
a
(
"div"
,{
staticClass
:
"index-swiper"
},[
a
(
"el-carousel"
,{
attrs
:{
trigger
:
"click"
,
height
:
"250px"
,
arrow
:
"never"
,
autoplay
:
!
1
}},
t
.
_l
(
t
.
bannerList
,
function
(
t
,
e
){
return
a
(
"el-carousel-item"
,{
key
:
e
},[
a
(
"a"
,{
staticClass
:
"index-swiper-bg"
,
style
:{
backgroundImage
:
"url("
+
t
.
imgUrl
+
")"
},
attrs
:{
href
:
1
==
t
.
linkType
?
"#"
+
t
.
linkUrl
:
t
.
linkUrl
,
target
:
"_blank"
,
rel
:
"nofollow noopener noreferrer"
}})])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"bg-f5f8fa bg-space"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-entry-head flex flex-between border-box border-b-e4e7e7"
},[
a
(
"span"
,{
staticClass
:
"color-303133 font-16 font-w-500"
},[
t
.
_v
(
"快捷入口"
)]),
a
(
"span"
,{
staticClass
:
"auto-define"
,
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"entry"
)}}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-zidingyi color-909399"
})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-entry-body p-24 border-box"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-row flex-wrap"
},
t
.
_l
(
t
.
entryData
,
function
(
e
,
s
){
return
a
(
"li"
,{
key
:
s
,
staticClass
:
"flex flex-align-center border-box flex"
,
on
:{
click
:
function
(
a
){
t
.
changeRoute
(
e
.
fieldUrl
)}}},[
a
(
"span"
,{
staticClass
:
"square-item flex flex-align-center flex-pack-center"
,
style
:{
background
:
e
.
fieldIconBgColor
}},[
a
(
"i"
,{
class
:[
"iconfont"
,
e
.
fieldIconUrl
]})]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16 p-l-20"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))])])}))])])])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
),
t
.
_v
(
" "
),
a
(
"custom-dialog"
,{
attrs
:{
customTitle
:
t
.
customTitle
,
customType
:
t
.
customType
,
showCustomDialog
:
t
.
showCustomDialog
},
on
:{
customHandleConfirm
:
t
.
customHandleConfirm
}})],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"li"
,{
staticClass
:
"flex flex-between"
},[
e
(
"span"
,[
this
.
_v
(
"帮助手册"
)]),
e
(
"a"
,{
attrs
:{
href
:
"https://report-1251519181.cos.ap-shanghai.myqcloud.com/haoban/20190619185604/好办管理员.pdf"
,
download
:
"好办帮助手册.pdf"
}},[
e
(
"span"
,{
staticClass
:
"color-1890ff"
},[
this
.
_v
(
"立即下载"
),
e
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])}]};
var
h
=
a
(
"VU/8"
)(
f
,
d
,
!
1
,
function
(
t
){
a
(
"LE4m"
)},
"data-v-f9b92a44"
,
null
);
e
.
default
=
h
.
exports
},
LE4m
:
function
(
t
,
e
){},
mZuu
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
1.5d5e618d2ceadec7e8cb
.js
→
dist/static/js/3
6.7b2e2fedc166438ee6b0
.js
View file @
0d68e2b7
webpackJsonp
([
31
],{
"/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"
),
i
=
a
(
"Ch4/"
),
l
=
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
l
.
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
=
(
new
Date
).
getFullYear
(),
e
=
(
new
Date
).
getMonth
()
+
1
>
10
?(
new
Date
).
getMonth
()
+
1
:
"0"
+
((
new
Date
).
getMonth
()
+
1
),
a
=
(
new
Date
).
getDate
()
>
10
?(
new
Date
).
getDate
():
"0"
+
(
new
Date
).
getDate
();
if
(
new
Date
(
this
.
weekDay
).
getTime
()
<
new
Date
(
String
(
t
)
+
"-"
+
String
(
e
)
+
"-"
+
String
(
a
)).
getTime
())
return
l
.
a
.
showmsg
(
"不能设置今天以前的排班"
,
"warning"
),
!
1
;
this
.
hideSet
();
for
(
var
s
=
new
Date
(
this
.
weekDay
).
getTime
(),
n
=
this
.
cycleData
[
0
].
classesList
.
length
,
c
=
0
;
c
<
this
.
itemData
.
setClassesList
.
length
;
c
++
)
new
Date
(
this
.
itemData
.
setClassesList
[
c
].
weekDay
).
getTime
()
>=
s
&&
(
this
.
itemData
.
setClassesList
[
c
].
classesName
=
this
.
cycleData
[
0
].
classesList
[
c
%
n
].
classesName
,
this
.
itemData
.
setClassesList
[
c
].
classesId
=
this
.
cycleData
[
0
].
classesList
[
c
%
n
].
classesId
,
this
.
itemData
.
setClassesList
[
c
].
classColor
=
this
.
cycleData
[
0
].
classesList
[
c
%
n
].
classColor
,
this
.
itemData
.
setClassesList
[
c
].
isRest
=!
0
);
this
.
$emit
(
"refreshData"
,
JSON
.
parse
(
r
()(
this
.
itemData
))),
this
.
$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
(
"uZaf"
)},
"data-v-54181cbb"
,
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
l
.
a
.
showmsg
(
"保存成功"
,
"success"
),
!
1
;
i
.
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
;
1
==
a
.
errorCode
&&
(
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
())}).
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
;
1
==
a
.
errorCode
&&
(
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
||
[])}).
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
;
i
.
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"
,
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
(
"VfCl"
)},
"data-v-c4f02e14"
,
null
);
e
.
default
=
h
.
exports
},
VfCl
:
function
(
t
,
e
){},
uZaf
:
function
(
t
,
e
){}});
webpackJsonp
([
36
],{
"/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"
),
i
=
a
(
"P9l9"
),
c
=
a
(
"Ch4/"
),
l
=
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
l
.
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
=
(
new
Date
).
getFullYear
(),
e
=
(
new
Date
).
getMonth
()
+
1
>
10
?(
new
Date
).
getMonth
()
+
1
:
"0"
+
((
new
Date
).
getMonth
()
+
1
),
a
=
(
new
Date
).
getDate
()
>
10
?(
new
Date
).
getDate
():
"0"
+
(
new
Date
).
getDate
();
if
(
new
Date
(
this
.
weekDay
).
getTime
()
<
new
Date
(
String
(
t
)
+
"-"
+
String
(
e
)
+
"-"
+
String
(
a
)).
getTime
())
return
l
.
a
.
showmsg
(
"不能设置今天以前的排班"
,
"warning"
),
!
1
;
this
.
hideSet
();
for
(
var
s
=
new
Date
(
this
.
weekDay
).
getTime
(),
n
=
this
.
cycleData
[
0
].
classesList
.
length
,
i
=
0
;
i
<
this
.
itemData
.
setClassesList
.
length
;
i
++
)
new
Date
(
this
.
itemData
.
setClassesList
[
i
].
weekDay
).
getTime
()
>=
s
&&
(
this
.
itemData
.
setClassesList
[
i
].
classesName
=
this
.
cycleData
[
0
].
classesList
[
i
%
n
].
classesName
,
this
.
itemData
.
setClassesList
[
i
].
classesId
=
this
.
cycleData
[
0
].
classesList
[
i
%
n
].
classesId
,
this
.
itemData
.
setClassesList
[
i
].
classColor
=
this
.
cycleData
[
0
].
classesList
[
i
%
n
].
classColor
,
this
.
itemData
.
setClassesList
[
i
].
isRest
=!
0
);
this
.
$emit
(
"refreshData"
,
JSON
.
parse
(
r
()(
this
.
itemData
))),
this
.
$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
(
"uZaf"
)},
"data-v-54181cbb"
,
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
(
i
.
e
)(
"/haoban-app-attence-web/set-classes"
,
a
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
l
.
a
.
showmsg
(
"保存成功"
,
"success"
),
!
1
;
c
.
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
(
i
.
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
;
c
.
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
(
i
.
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
;
c
.
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
(
i
.
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
;
c
.
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"
,
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
(
"LaqR"
)},
"data-v-1efad130"
,
null
);
e
.
default
=
h
.
exports
},
LaqR
:
function
(
t
,
e
){},
uZaf
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/app.
0fdd6f9db01df4317e29
.js
→
dist/static/js/app.
9c584469c2b22effc5a0
.js
View file @
0d68e2b7
webpackJsonp
([
101
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
r
=
n
.
n
(
a
),
o
=
n
(
"fZjL"
),
p
=
n
.
n
(
o
),
i
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
s
=
n
.
n
(
i
),
c
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
m
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
c
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
d
=
n
(
"lRwf"
),
u
=
n
.
n
(
d
),
l
=
n
(
"pRNm"
),
h
=
n
.
n
(
l
),
v
=
n
(
"5tgt"
),
g
=
n
.
n
(
v
);
u
.
a
.
use
(
h
.
a
);
var
A
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
f
,
y
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
g
()(
"login"
,
"index"
)},{
path
:
"/download"
,
name
:
"下载"
,
component
:
g
()(
"download"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
g
()(
"index"
,
"index"
)},{
path
:
"/sign"
,
name
:
"index"
,
component
:
g
()(
"sign"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
g
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
g
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
g
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
g
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
g
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
g
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
g
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
g
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
g
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
g
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
g
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
g
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
g
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
g
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
g
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
g
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
g
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
g
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
g
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
g
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memeberBaseSet"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"index"
),
children
:[{
path
:
"/memeberBaseSet"
,
name
:
"会员基础设置"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"memeberBaseSet"
)},{
path
:
"/onlineChatSet"
,
name
:
"在线沟通设置"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"onlineChatSet"
)},{
path
:
"/chatRecord"
,
name
:
"聊天记录"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"chatRecord"
)},{
path
:
"/sendRecord"
,
name
:
"发送记录"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"sendRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"newCard"
)},{
path
:
"/cardSendRecord"
,
name
:
"卡券发送记录"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"cardSendRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"卡券领取卡券"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"cardGetRecord"
)}]},{
path
:
"/marketing"
,
name
:
"营销素材"
,
redirect
:
"/imageText"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"index"
),
children
:[{
path
:
"/imageText"
,
name
:
"图文素材"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"imageText"
)},{
path
:
"/newImageText"
,
name
:
"选择图文"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"newImageText"
)},{
path
:
"/enjoyMaterial"
,
name
:
"纷享素材"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"enjoyMaterial"
)},{
path
:
"/newEnjoy"
,
name
:
"新建素材"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"newEnjoy"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
g
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
g
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
g
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
g
()(
"enterpriseApp/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
g
()(
"enterpriseApp/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
g
()(
"enterpriseApp/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
g
()(
"enterpriseApp/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
g
()(
"enterpriseApp/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
g
()(
"enterpriseApp/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
g
()(
"enterpriseApp/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/signList"
,
name
:
"企业公告"
,
redirect
:
"/signList"
,
component
:
g
()(
"enterpriseApp/signApp"
,
"index"
),
children
:[{
path
:
"/signList"
,
name
:
"企业公告列表"
,
component
:
g
()(
"enterpriseApp/signApp"
,
"signList"
)}]},{
path
:
"/clockin"
,
name
:
"考勤打卡"
,
redirect
:
"/dayStatistics"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"index"
),
children
:[{
path
:
"/dayStatistics"
,
name
:
"日统计"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"dayStatistics"
)},{
path
:
"/workSet"
,
name
:
"考勤设置"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"workSet"
)},{
path
:
"/workGroupSet"
,
name
:
"考勤设置"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"workGroupSet"
)},{
path
:
"/workTimeManage"
,
name
:
"排班管理"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"workTimeManage"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
g
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
g
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
g
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
g
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
g
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
g
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
g
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
g
()(
"setting"
,
"storePermission"
)},{
path
:
"/contactPermission"
,
name
:
"通讯录控制"
,
component
:
g
()(
"setting"
,
"contactPermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
g
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
g
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
g
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
g
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
g
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
g
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
A
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
A
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
A
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
k
=
new
h
.
a
({
routes
:
y
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
w
=
n
(
"zL8q"
),
D
=
n
.
n
(
w
),
x
=
n
(
"Rf8U"
),
S
=
n
.
n
(
x
),
R
=
n
(
"mtWM"
),
C
=
n
.
n
(
R
),
T
=
n
(
"bOdI"
),
M
=
n
.
n
(
T
),
E
=
n
(
"SJI6"
),
b
=
n
.
n
(
E
);
u
.
a
.
use
(
b
.
a
);
var
I
=
new
b
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
f
=
{},
M
()(
f
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
M
()(
f
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
M
()(
f
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
M
()(
f
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
f
)}),
j
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
n
=
new
Date
(
e
),
a
=
{
"M+"
:
n
.
getMonth
()
+
1
,
"D+"
:
n
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
n
.
getDay
()),
"h+"
:
n
.
getHours
(),
"m+"
:
n
.
getMinutes
(),
"s+"
:
n
.
getSeconds
(),
"q+"
:
Math
.
floor
((
n
.
getMonth
()
+
3
)
/
3
),
S
:
n
.
getMilliseconds
()};
for
(
var
r
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
n
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
a
)
new
RegExp
(
"("
+
r
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
a
[
r
]:(
"00"
+
a
[
r
]).
substr
((
""
+
a
[
r
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
,
o
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
i
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"-"
+
r
+
"-"
+
a
+
" "
+
o
+
":"
+
p
+
":"
+
i
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
;
return
t
.
getFullYear
()
+
"-"
+
r
+
"-"
+
a
}},
timeStampToHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
+
(
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
())}},
formatTimeYmdHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
,
o
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
i
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"."
+
r
+
"."
+
a
+
" "
+
o
+
":"
+
p
+
":"
+
i
}}}),
V
=
n
(
"TUaa"
),
q
=
n
.
n
(
V
),
P
=
n
(
"tyqE"
),
G
=
n
.
n
(
P
),
H
=
n
(
"pRVe"
),
L
=
n
.
n
(
H
),
F
=
n
(
"SE7k"
),
O
=
n
.
n
(
F
),
N
=
n
(
"XsK6"
),
z
=
n
.
n
(
N
),
Y
=
n
(
"QRL9"
),
J
=
n
.
n
(
Y
),
K
=
n
(
"2Pnh"
),
B
=
n
.
n
(
K
),
U
=
n
(
"l9mu"
),
X
=
n
.
n
(
U
),
Q
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
B
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
r
=
n
/
592.28
*
841.89
,
o
=
a
,
p
=
0
,
i
=
592.28
/
n
*
a
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
X
.
a
(
""
,
"pt"
,
"a4"
);
if
(
o
<
r
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
o
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
p
,
595.28
,
i
),
p
-=
841.89
,(
o
-=
r
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}},
Z
=
n
(
"/IwO"
),
W
=
n
.
n
(
Z
);
s
.
a
.
polyfill
(),
Vue
.
use
(
W
.
a
),
W
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
Q
),
Vue
.
use
(
z
.
a
),
Vue
.
use
(
J
.
a
),
Vue
.
use
(
O
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
use
(
G
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
D
.
a
,{
size
:
"large"
}),
Vue
.
use
(
S
.
a
,
C
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
p
()(
j
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
j
[
e
])}),
k
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
o
=
window
.
location
.
origin
;
a
=-
1
!=
o
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
o
,
localStorage
.
getItem
(
"userInfo"
)
||
C
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
r
()(
t
.
result
))}).
catch
(
function
(
e
){
w
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
k
,
store
:
I
,
components
:{
App
:
m
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
23
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
21
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
60
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
69
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
59
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
80
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
9
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
11
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
66
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
17
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
24
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
37
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
20
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
43
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
3
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
87
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
57
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
86
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
19
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
8
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
39
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
58
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
52
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
79
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
50
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
84
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
64
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
41
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
98
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
42
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
81
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
54
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
96
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
61
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
71
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
78
],
"./enterpriseApp/dailyAttendance/dayStatistics.vue"
:[
"gncU"
,
0
,
40
],
"./enterpriseApp/dailyAttendance/index.vue"
:[
"vgwM"
,
0
,
88
],
"./enterpriseApp/dailyAttendance/monthStatistics.vue"
:[
"z8Gq"
,
99
],
"./enterpriseApp/dailyAttendance/workGroupSet.vue"
:[
"estW"
,
0
,
15
],
"./enterpriseApp/dailyAttendance/workSet.vue"
:[
"A/XQ"
,
0
,
30
],
"./enterpriseApp/dailyAttendance/workTimeManage.vue"
:[
"/n/x"
,
0
,
31
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
51
],
"./enterpriseApp/marketingMaterial/enjoyMaterial.vue"
:[
"SB6x"
,
0
,
27
],
"./enterpriseApp/marketingMaterial/imageText.vue"
:[
"0qiV"
,
0
,
26
],
"./enterpriseApp/marketingMaterial/index.vue"
:[
"m0O4"
,
0
,
67
],
"./enterpriseApp/marketingMaterial/newEnjoy.vue"
:[
"7fkC"
,
0
,
18
],
"./enterpriseApp/marketingMaterial/newImageText.vue"
:[
"NajC"
,
0
,
14
],
"./enterpriseApp/myCustomer/cardGetRecord.vue"
:[
"YqmZ"
,
0
,
74
],
"./enterpriseApp/myCustomer/cardSendRecord.vue"
:[
"+Q5U"
,
0
,
95
],
"./enterpriseApp/myCustomer/chatRecord.vue"
:[
"gjw3"
,
0
,
56
],
"./enterpriseApp/myCustomer/index.vue"
:[
"/rje"
,
0
,
97
],
"./enterpriseApp/myCustomer/memeberBaseSet.vue"
:[
"N+Or"
,
0
,
47
],
"./enterpriseApp/myCustomer/newCard.vue"
:[
"G/J9"
,
0
,
94
],
"./enterpriseApp/myCustomer/onlineChatSet.vue"
:[
"ahzF"
,
0
,
28
],
"./enterpriseApp/myCustomer/sendRecord.vue"
:[
"8msp"
,
0
,
83
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
48
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
2
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
65
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
13
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
46
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
85
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
76
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
82
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
75
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
62
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
45
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
70
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
63
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
68
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
49
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
34
],
"./enterpriseApp/trafficTask/taskViewDetail.vue"
:[
"Akas"
,
0
,
73
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
93
],
"./errorPage/403.vue"
:[
"6XGN"
,
35
],
"./errorPage/404.vue"
:[
"AejC"
,
38
],
"./errorPage/500.vue"
:[
"FskK"
,
29
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
33
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
36
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
90
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
22
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
12
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
55
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
77
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
53
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
16
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
72
],
"./setting/index.vue"
:[
"VlR1"
,
44
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
89
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
91
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
32
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
25
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
92
]};
function
r
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
r
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
r
.
id
=
"Opzk"
,
e
.
exports
=
r
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){}},[
0
]);
webpackJsonp
([
101
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
r
=
n
.
n
(
a
),
o
=
n
(
"fZjL"
),
p
=
n
.
n
(
o
),
i
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
s
=
n
.
n
(
i
),
c
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
m
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
c
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
d
=
n
(
"lRwf"
),
u
=
n
.
n
(
d
),
l
=
n
(
"pRNm"
),
h
=
n
.
n
(
l
),
v
=
n
(
"5tgt"
),
g
=
n
.
n
(
v
);
u
.
a
.
use
(
h
.
a
);
var
A
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
f
,
y
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
g
()(
"login"
,
"index"
)},{
path
:
"/download"
,
name
:
"下载"
,
component
:
g
()(
"download"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
g
()(
"index"
,
"index"
)},{
path
:
"/sign"
,
name
:
"index"
,
component
:
g
()(
"sign"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
g
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
g
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
g
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
g
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
g
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
g
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
g
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
g
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
g
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
g
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
g
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
g
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
g
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
g
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
g
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
g
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
g
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
g
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
g
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
g
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memeberBaseSet"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"index"
),
children
:[{
path
:
"/memeberBaseSet"
,
name
:
"会员基础设置"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"memeberBaseSet"
)},{
path
:
"/onlineChatSet"
,
name
:
"在线沟通设置"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"onlineChatSet"
)},{
path
:
"/chatRecord"
,
name
:
"聊天记录"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"chatRecord"
)},{
path
:
"/sendRecord"
,
name
:
"发送记录"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"sendRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"newCard"
)},{
path
:
"/cardSendRecord"
,
name
:
"卡券发送记录"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"cardSendRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"卡券领取卡券"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"cardGetRecord"
)}]},{
path
:
"/marketing"
,
name
:
"营销素材"
,
redirect
:
"/imageText"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"index"
),
children
:[{
path
:
"/imageText"
,
name
:
"图文素材"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"imageText"
)},{
path
:
"/newImageText"
,
name
:
"选择图文"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"newImageText"
)},{
path
:
"/enjoyMaterial"
,
name
:
"纷享素材"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"enjoyMaterial"
)},{
path
:
"/newEnjoy"
,
name
:
"新建素材"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"newEnjoy"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
g
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
g
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
g
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
g
()(
"enterpriseApp/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
g
()(
"enterpriseApp/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
g
()(
"enterpriseApp/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
g
()(
"enterpriseApp/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
g
()(
"enterpriseApp/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
g
()(
"enterpriseApp/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
g
()(
"enterpriseApp/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/signList"
,
name
:
"企业公告"
,
redirect
:
"/signList"
,
component
:
g
()(
"enterpriseApp/signApp"
,
"index"
),
children
:[{
path
:
"/signList"
,
name
:
"企业公告列表"
,
component
:
g
()(
"enterpriseApp/signApp"
,
"signList"
)}]},{
path
:
"/clockin"
,
name
:
"考勤打卡"
,
redirect
:
"/dayStatistics"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"index"
),
children
:[{
path
:
"/dayStatistics"
,
name
:
"日统计"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"dayStatistics"
)},{
path
:
"/workSet"
,
name
:
"考勤设置"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"workSet"
)},{
path
:
"/workGroupSet"
,
name
:
"考勤设置"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"workGroupSet"
)},{
path
:
"/workTimeManage"
,
name
:
"排班管理"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"workTimeManage"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
g
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
g
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
g
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
g
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
g
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
g
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
g
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
g
()(
"setting"
,
"storePermission"
)},{
path
:
"/contactPermission"
,
name
:
"通讯录控制"
,
component
:
g
()(
"setting"
,
"contactPermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
g
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
g
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
g
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
g
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
g
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
g
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
A
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
A
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
A
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
k
=
new
h
.
a
({
routes
:
y
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
w
=
n
(
"zL8q"
),
D
=
n
.
n
(
w
),
x
=
n
(
"Rf8U"
),
S
=
n
.
n
(
x
),
R
=
n
(
"mtWM"
),
C
=
n
.
n
(
R
),
T
=
n
(
"bOdI"
),
M
=
n
.
n
(
T
),
E
=
n
(
"SJI6"
),
b
=
n
.
n
(
E
);
u
.
a
.
use
(
b
.
a
);
var
I
=
new
b
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
f
=
{},
M
()(
f
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
M
()(
f
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
M
()(
f
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
M
()(
f
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
f
)}),
j
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
n
=
new
Date
(
e
),
a
=
{
"M+"
:
n
.
getMonth
()
+
1
,
"D+"
:
n
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
n
.
getDay
()),
"h+"
:
n
.
getHours
(),
"m+"
:
n
.
getMinutes
(),
"s+"
:
n
.
getSeconds
(),
"q+"
:
Math
.
floor
((
n
.
getMonth
()
+
3
)
/
3
),
S
:
n
.
getMilliseconds
()};
for
(
var
r
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
n
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
a
)
new
RegExp
(
"("
+
r
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
a
[
r
]:(
"00"
+
a
[
r
]).
substr
((
""
+
a
[
r
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
,
o
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
i
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"-"
+
r
+
"-"
+
a
+
" "
+
o
+
":"
+
p
+
":"
+
i
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
;
return
t
.
getFullYear
()
+
"-"
+
r
+
"-"
+
a
}},
timeStampToHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
+
(
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
())}},
formatTimeYmdHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
,
o
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
i
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"."
+
r
+
"."
+
a
+
" "
+
o
+
":"
+
p
+
":"
+
i
}}}),
V
=
n
(
"TUaa"
),
q
=
n
.
n
(
V
),
P
=
n
(
"tyqE"
),
G
=
n
.
n
(
P
),
H
=
n
(
"pRVe"
),
L
=
n
.
n
(
H
),
F
=
n
(
"SE7k"
),
O
=
n
.
n
(
F
),
N
=
n
(
"XsK6"
),
z
=
n
.
n
(
N
),
Y
=
n
(
"QRL9"
),
J
=
n
.
n
(
Y
),
K
=
n
(
"2Pnh"
),
B
=
n
.
n
(
K
),
U
=
n
(
"l9mu"
),
X
=
n
.
n
(
U
),
Q
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
B
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
r
=
n
/
592.28
*
841.89
,
o
=
a
,
p
=
0
,
i
=
592.28
/
n
*
a
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
X
.
a
(
""
,
"pt"
,
"a4"
);
if
(
o
<
r
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
o
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
p
,
595.28
,
i
),
p
-=
841.89
,(
o
-=
r
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}},
Z
=
n
(
"/IwO"
),
W
=
n
.
n
(
Z
);
s
.
a
.
polyfill
(),
Vue
.
use
(
W
.
a
),
W
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
Q
),
Vue
.
use
(
z
.
a
),
Vue
.
use
(
J
.
a
),
Vue
.
use
(
O
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
use
(
G
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
D
.
a
,{
size
:
"large"
}),
Vue
.
use
(
S
.
a
,
C
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
p
()(
j
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
j
[
e
])}),
k
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
o
=
window
.
location
.
origin
;
a
=-
1
!=
o
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
o
,
localStorage
.
getItem
(
"userInfo"
)
||
C
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
r
()(
t
.
result
))}).
catch
(
function
(
e
){
w
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
k
,
store
:
I
,
components
:{
App
:
m
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
23
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
21
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
60
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
69
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
59
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
80
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
9
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
11
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
66
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
17
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
24
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
37
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
20
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
43
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
3
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
87
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
57
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
86
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
19
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
8
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
39
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
58
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
52
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
79
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
50
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
84
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
64
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
41
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
98
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
42
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
81
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
54
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
96
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
61
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
71
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
78
],
"./enterpriseApp/dailyAttendance/dayStatistics.vue"
:[
"gncU"
,
0
,
40
],
"./enterpriseApp/dailyAttendance/index.vue"
:[
"vgwM"
,
0
,
88
],
"./enterpriseApp/dailyAttendance/monthStatistics.vue"
:[
"z8Gq"
,
99
],
"./enterpriseApp/dailyAttendance/workGroupSet.vue"
:[
"estW"
,
0
,
15
],
"./enterpriseApp/dailyAttendance/workSet.vue"
:[
"A/XQ"
,
0
,
30
],
"./enterpriseApp/dailyAttendance/workTimeManage.vue"
:[
"/n/x"
,
0
,
36
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
51
],
"./enterpriseApp/marketingMaterial/enjoyMaterial.vue"
:[
"SB6x"
,
0
,
27
],
"./enterpriseApp/marketingMaterial/imageText.vue"
:[
"0qiV"
,
0
,
26
],
"./enterpriseApp/marketingMaterial/index.vue"
:[
"m0O4"
,
0
,
67
],
"./enterpriseApp/marketingMaterial/newEnjoy.vue"
:[
"7fkC"
,
0
,
18
],
"./enterpriseApp/marketingMaterial/newImageText.vue"
:[
"NajC"
,
0
,
14
],
"./enterpriseApp/myCustomer/cardGetRecord.vue"
:[
"YqmZ"
,
0
,
74
],
"./enterpriseApp/myCustomer/cardSendRecord.vue"
:[
"+Q5U"
,
0
,
95
],
"./enterpriseApp/myCustomer/chatRecord.vue"
:[
"gjw3"
,
0
,
56
],
"./enterpriseApp/myCustomer/index.vue"
:[
"/rje"
,
0
,
97
],
"./enterpriseApp/myCustomer/memeberBaseSet.vue"
:[
"N+Or"
,
0
,
47
],
"./enterpriseApp/myCustomer/newCard.vue"
:[
"G/J9"
,
0
,
94
],
"./enterpriseApp/myCustomer/onlineChatSet.vue"
:[
"ahzF"
,
0
,
28
],
"./enterpriseApp/myCustomer/sendRecord.vue"
:[
"8msp"
,
0
,
83
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
48
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
2
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
65
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
13
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
46
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
85
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
76
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
82
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
75
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
62
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
45
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
70
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
63
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
68
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
49
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
33
],
"./enterpriseApp/trafficTask/taskViewDetail.vue"
:[
"Akas"
,
0
,
73
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
93
],
"./errorPage/403.vue"
:[
"6XGN"
,
34
],
"./errorPage/404.vue"
:[
"AejC"
,
38
],
"./errorPage/500.vue"
:[
"FskK"
,
29
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
32
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
35
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
90
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
22
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
12
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
55
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
77
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
53
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
16
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
72
],
"./setting/index.vue"
:[
"VlR1"
,
44
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
89
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
91
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
31
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
25
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
92
]};
function
r
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
r
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
r
.
id
=
"Opzk"
,
e
.
exports
=
r
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
\ No newline at end of file
dist/static/js/manifest.
68369f7a6f5bff351a51
.js
→
dist/static/js/manifest.
2265f86cc35c034eadc4
.js
View file @
0d68e2b7
!
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
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
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
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
d
=
{
103
:
0
};
function
f
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
d
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
c
=
d
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
f
){
c
=
d
[
e
]
=
[
a
,
f
]});
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
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
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
:
"09bd7cff5ebf3ac736ef"
,
16
:
"f483f95dbac654c7de5a"
,
17
:
"ff6edf624b982c354977"
,
18
:
"3fd10a3380b9d3fddb35"
,
19
:
"d7d09ae4564d64842009"
,
20
:
"455fd80bd8af15457c57"
,
21
:
"c1b5e15e28768af52654"
,
22
:
"2a873e819c6c369d5cd1"
,
23
:
"d2380bf3c276e741313b"
,
24
:
"56085041ae784faf3c32"
,
25
:
"e23f42a6b2180b63c129"
,
26
:
"606394f2e20eb1a455fa"
,
27
:
"a03cfb5cd6c9069b179f"
,
28
:
"70cb3f87bd69723dbd41"
,
29
:
"c5bb15e8e1bd17cdc0f7"
,
30
:
"b5b324cb1a4e5fe6a395"
,
31
:
"5d5e618d2ceadec7e8cb"
,
32
:
"fc2213c2b57da6c25ea2"
,
33
:
"f4c48aa4b6adbdec738a"
,
34
:
"e5ba3c1688f3038d3d09"
,
35
:
"d8abf87eeb477b4bc1f3"
,
36
:
"2cadbd4ded3457625f52"
,
37
:
"8dc3e1f0f3e416135406"
,
38
:
"9f4a46d2ce3c9477a06b"
,
39
:
"b33ea830129fb895dd77"
,
40
:
"b0211e85af913b5307f8"
,
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
:
"2629d20834840d0da10e"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
d
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
f
.
m
=
e
,
f
.
c
=
a
,
f
.
d
=
function
(
e
,
c
,
a
){
f
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
f
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
c
,
"a"
,
c
),
c
},
f
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
f
.
p
=
"./"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
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
:
"b9d0cf0cc0231fa10357"
,
16
:
"f483f95dbac654c7de5a"
,
17
:
"ff6edf624b982c354977"
,
18
:
"3fd10a3380b9d3fddb35"
,
19
:
"d7d09ae4564d64842009"
,
20
:
"455fd80bd8af15457c57"
,
21
:
"c1b5e15e28768af52654"
,
22
:
"2a873e819c6c369d5cd1"
,
23
:
"d2380bf3c276e741313b"
,
24
:
"56085041ae784faf3c32"
,
25
:
"e23f42a6b2180b63c129"
,
26
:
"606394f2e20eb1a455fa"
,
27
:
"a03cfb5cd6c9069b179f"
,
28
:
"70cb3f87bd69723dbd41"
,
29
:
"c5bb15e8e1bd17cdc0f7"
,
30
:
"b5b324cb1a4e5fe6a395"
,
31
:
"20f69d688df3827843c5"
,
32
:
"0c7863fa05e5c75053c3"
,
33
:
"f4e32fc6846aa744ee48"
,
34
:
"0fb2eb67d47b9ecbd519"
,
35
:
"e64c33855b455bcdd9a2"
,
36
:
"7b2e2fedc166438ee6b0"
,
37
:
"8dc3e1f0f3e416135406"
,
38
:
"9f4a46d2ce3c9477a06b"
,
39
:
"b33ea830129fb895dd77"
,
40
:
"b0211e85af913b5307f8"
,
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
:
"2629d20834840d0da10e"
}[
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
\ No newline at end of file
src/components/app/dailyAttendance/class-select-mult.vue
View file @
0d68e2b7
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-12-17 09:40:42
* @Date: 2019-12-17 09:40:42
* @LastEditors : 无尘
* @LastEditors : 无尘
* @LastEditTime : 2019-12-2
4 15:37:14
* @LastEditTime : 2019-12-2
5 14:25:47
-->
-->
<!--
<!--
...
@@ -45,7 +45,7 @@ import classSelectMult from '@/components/app/dailyAttendance/class-select-mult.
...
@@ -45,7 +45,7 @@ import classSelectMult from '@/components/app/dailyAttendance/class-select-mult.
</template>
</template>
<
script
>
<
script
>
import
{
getRequest
}
from
'@/api/api'
;
import
{
getRequest
}
from
'@/api/api'
;
//
import errMsg from '@/common/js/error';
import
errMsg
from
'@/common/js/error'
;
import
showMsg
from
'@/common/js/showmsg'
;
import
showMsg
from
'@/common/js/showmsg'
;
import
{
_debounce
}
from
'@/common/js/public'
;
import
{
_debounce
}
from
'@/common/js/public'
;
export
default
{
export
default
{
...
@@ -223,7 +223,9 @@ export default {
...
@@ -223,7 +223,9 @@ export default {
}
}
that
.
tableData
=
resData
.
result
||
[];
that
.
tableData
=
resData
.
result
||
[];
that
.
handleData
();
that
.
handleData
();
return
false
;
}
}
errMsg
.
errorMsg
(
resData
);
})
})
.
catch
(
function
(
error
)
{
.
catch
(
function
(
error
)
{
that
.
$message
.
error
({
that
.
$message
.
error
({
...
...
src/components/app/dailyAttendance/class-select.vue
View file @
0d68e2b7
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
* @version: 1.0.0
* @version: 1.0.0
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-12-17 09:40:42
* @Date: 2019-12-17 09:40:42
* @LastEditors: 无尘
* @LastEditors
: 无尘
* @LastEditTime
: 2019-12-18 12:53:47
* @LastEditTime
: 2019-12-25 14:26:50
-->
-->
<!--
<!--
...
@@ -49,7 +49,7 @@ import classSelect from '@/components/app/dailyAttendance/class-select.vue'
...
@@ -49,7 +49,7 @@ import classSelect from '@/components/app/dailyAttendance/class-select.vue'
</template>
</template>
<
script
>
<
script
>
import
{
getRequest
}
from
'@/api/api'
;
import
{
getRequest
}
from
'@/api/api'
;
//
import errMsg from '@/common/js/error';
import
errMsg
from
'@/common/js/error'
;
import
showMsg
from
'@/common/js/showmsg'
;
import
showMsg
from
'@/common/js/showmsg'
;
import
{
_debounce
}
from
'@/common/js/public'
;
import
{
_debounce
}
from
'@/common/js/public'
;
export
default
{
export
default
{
...
@@ -155,7 +155,9 @@ export default {
...
@@ -155,7 +155,9 @@ export default {
});
});
}
}
that
.
tableData
=
resData
.
result
||
[];
that
.
tableData
=
resData
.
result
||
[];
return
false
;
}
}
errMsg
.
errorMsg
(
resData
);
})
})
.
catch
(
function
(
error
)
{
.
catch
(
function
(
error
)
{
that
.
$message
.
error
({
that
.
$message
.
error
({
...
...
src/components/app/dailyAttendance/cycle-set.vue
View file @
0d68e2b7
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-12-17 09:40:42
* @Date: 2019-12-17 09:40:42
* @LastEditors : 无尘
* @LastEditors : 无尘
* @LastEditTime : 2019-12-2
3 18:31:27
* @LastEditTime : 2019-12-2
5 14:39:42
-->
-->
<!--
<!--
...
@@ -53,7 +53,7 @@ import cycleSet from '@/components/app/dailyAttendance/cycle-set.vue'
...
@@ -53,7 +53,7 @@ import cycleSet from '@/components/app/dailyAttendance/cycle-set.vue'
<
script
>
<
script
>
import
limitInput
from
'@/components/limit-input.vue'
;
import
limitInput
from
'@/components/limit-input.vue'
;
import
{
getRequest
}
from
'@/api/api'
;
import
{
getRequest
}
from
'@/api/api'
;
//
import errMsg from '@/common/js/error';
import
errMsg
from
'@/common/js/error'
;
import
showMsg
from
'@/common/js/showmsg'
;
import
showMsg
from
'@/common/js/showmsg'
;
import
{
_debounce
}
from
'@/common/js/public'
;
import
{
_debounce
}
from
'@/common/js/public'
;
export
default
{
export
default
{
...
@@ -77,28 +77,7 @@ export default {
...
@@ -77,28 +77,7 @@ export default {
attenceGroupData
:
{
attenceGroupData
:
{
type
:
[
Array
,
Object
],
type
:
[
Array
,
Object
],
default
()
{
default
()
{
return
{
return
{};
classesRangeId
:
''
,
days
:
3
,
rangeName
:
''
,
classes
:
[
{
classesId
:
''
,
classesName
:
''
,
classessTimesJson
:
[]
},
{
classesId
:
''
,
classesName
:
''
,
classessTimesJson
:
[]
},
{
classesId
:
''
,
classesName
:
''
,
classessTimesJson
:
[]
}
]
};
}
}
}
}
},
},
...
@@ -117,18 +96,15 @@ export default {
...
@@ -117,18 +96,15 @@ export default {
classes
:
[
classes
:
[
{
{
classesId
:
''
,
classesId
:
''
,
classesName
:
''
,
classesName
:
''
classessTimesJson
:
[]
},
},
{
{
classesId
:
''
,
classesId
:
''
,
classesName
:
''
,
classesName
:
''
classessTimesJson
:
[]
},
},
{
{
classesId
:
''
,
classesId
:
''
,
classesName
:
''
,
classesName
:
''
classessTimesJson
:
[]
}
}
]
]
},
},
...
@@ -159,8 +135,7 @@ export default {
...
@@ -159,8 +135,7 @@ export default {
for
(
let
index
=
0
;
index
<
e
-
length
;
index
++
)
{
for
(
let
index
=
0
;
index
<
e
-
length
;
index
++
)
{
that
.
ruleFormData
.
classes
.
push
({
that
.
ruleFormData
.
classes
.
push
({
classesId
:
''
,
classesId
:
''
,
classesName
:
''
,
classesName
:
''
classessTimesJson
:
[]
});
});
}
}
}
}
...
@@ -211,18 +186,15 @@ export default {
...
@@ -211,18 +186,15 @@ export default {
classes
:
[
classes
:
[
{
{
classesId
:
''
,
classesId
:
''
,
classesName
:
''
,
classesName
:
''
classessTimesJson
:
[]
},
},
{
{
classesId
:
''
,
classesId
:
''
,
classesName
:
''
,
classesName
:
''
classessTimesJson
:
[]
},
},
{
{
classesId
:
''
,
classesId
:
''
,
classesName
:
''
,
classesName
:
''
classessTimesJson
:
[]
}
}
]
]
};
};
...
@@ -258,7 +230,7 @@ export default {
...
@@ -258,7 +230,7 @@ export default {
*/
*/
getClassifyData
()
{
getClassifyData
()
{
const
that
=
this
;
const
that
=
this
;
if
(
that
.
classesJson
&&
that
.
classesJson
.
length
)
{
/*
if (that.classesJson && that.classesJson.length) {
that.classesJson.forEach(ele => {
that.classesJson.forEach(ele => {
ele.label = ' ';
ele.label = ' ';
if (!!ele.classessTimesJson && ele.classessTimesJson.length) {
if (!!ele.classessTimesJson && ele.classessTimesJson.length) {
...
@@ -268,7 +240,40 @@ export default {
...
@@ -268,7 +240,40 @@ export default {
}
}
});
});
}
}
that
.
tableData
=
that
.
classesJson
||
[];
that.tableData = that.classesJson || []; */
let
para
=
{
enterpriseId
:
that
.
enterpriseId
};
getRequest
(
'/haoban-app-attence-web/attence-classes-list'
,
para
)
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
if
(
resData
.
result
&&
resData
.
result
.
length
)
{
resData
.
result
.
forEach
(
ele
=>
{
if
(
ele
.
classessTimesJson
)
{
ele
.
classessTimesJson
=
JSON
.
parse
(
ele
.
classessTimesJson
);
}
});
resData
.
result
.
forEach
(
ele
=>
{
ele
.
label
=
' '
;
if
(
!!
ele
.
classessTimesJson
&&
ele
.
classessTimesJson
.
length
)
{
ele
.
classessTimesJson
.
forEach
(
child
=>
{
ele
.
label
+=
child
.
startTime
+
'-'
+
child
.
endTime
;
});
}
});
}
that
.
tableData
=
resData
.
result
||
[];
return
false
;
}
errMsg
.
errorMsg
(
resData
);
})
.
catch
(
function
(
error
)
{
that
.
$message
.
error
({
duration
:
1000
,
message
:
error
.
message
});
});
},
},
/**
/**
* 获取周期
* 获取周期
...
@@ -283,8 +288,15 @@ export default {
...
@@ -283,8 +288,15 @@ export default {
.
then
(
res
=>
{
.
then
(
res
=>
{
let
resData
=
res
.
data
;
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
if
(
resData
.
errorCode
==
1
)
{
that
.
ruleFormData
=
resData
.
result
||
[];
if
(
!!
resData
.
result
&&
!!
resData
.
result
.
length
)
{
resData
.
result
.
forEach
(
ele
=>
{
ele
.
classes
=
ele
.
classesList
;
});
that
.
ruleFormData
=
resData
.
result
[
0
]
||
[];
}
return
false
;
}
}
errMsg
.
errorMsg
(
resData
);
})
})
.
catch
(
function
(
error
)
{
.
catch
(
function
(
error
)
{
that
.
$message
.
error
({
that
.
$message
.
error
({
...
@@ -307,32 +319,8 @@ export default {
...
@@ -307,32 +319,8 @@ export default {
},
},
attenceGroupData
(
newData
)
{
attenceGroupData
(
newData
)
{
const
that
=
this
;
const
that
=
this
;
// console.log(newData);
if
(
Object
.
keys
(
newData
).
length
)
{
if
(
Object
.
keys
(
newData
).
length
)
{
const
ruleFormData
=
JSON
.
parse
(
JSON
.
stringify
(
newData
));
that
.
ruleFormData
=
JSON
.
parse
(
JSON
.
stringify
(
newData
));
that
.
ruleFormData
.
days
=
ruleFormData
.
days
;
that
.
ruleFormData
.
rangeName
=
ruleFormData
.
rangeName
;
that
.
ruleFormData
.
classes
=
ruleFormData
.
classes
||
[];
}
else
{
that
.
ruleFormData
.
days
=
3
;
that
.
ruleFormData
.
rangeName
=
''
;
that
.
ruleFormData
.
classes
=
[
{
classesId
:
''
,
classesName
:
''
,
classessTimesJson
:
[]
},
{
classesId
:
''
,
classesName
:
''
,
classessTimesJson
:
[]
},
{
classesId
:
''
,
classesName
:
''
,
classessTimesJson
:
[]
}
];
}
}
},
},
classesJson
(
newData
)
{
classesJson
(
newData
)
{
...
@@ -347,34 +335,8 @@ export default {
...
@@ -347,34 +335,8 @@ export default {
if
(
that
.
attenceGroupId
)
{
if
(
that
.
attenceGroupId
)
{
that
.
getRangeData
();
that
.
getRangeData
();
}
}
if
(
Object
.
keys
(
that
.
attenceGroupData
).
length
)
{
if
(
Object
.
keys
(
that
.
attenceGroupData
).
length
)
{
that
.
$nextTick
(()
=>
{
that
.
ruleFormData
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
attenceGroupData
));
const
ruleFormData
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
attenceGroupData
));
that
.
ruleFormData
.
days
=
ruleFormData
.
days
;
that
.
ruleFormData
.
rangeName
=
ruleFormData
.
rangeName
;
that
.
ruleFormData
.
classes
=
ruleFormData
.
classes
||
[];
});
}
else
{
that
.
ruleFormData
.
days
=
3
;
that
.
ruleFormData
.
rangeName
=
''
;
that
.
ruleFormData
.
classes
=
[
{
classesId
:
''
,
classesName
:
''
,
classessTimesJson
:
[]
},
{
classesId
:
''
,
classesName
:
''
,
classessTimesJson
:
[]
},
{
classesId
:
''
,
classesName
:
''
,
classessTimesJson
:
[]
}
];
}
}
if
(
that
.
classesJson
.
length
)
{
if
(
that
.
classesJson
.
length
)
{
that
.
getClassifyData
();
that
.
getClassifyData
();
...
...
src/views/enterpriseApp/dailyAttendance/workGroupSet.vue
View file @
0d68e2b7
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-04-12 17:56:45
* @Date: 2019-04-12 17:56:45
* @LastEditors : 无尘
* @LastEditors : 无尘
* @LastEditTime : 2019-12-2
4 16:36:15
* @LastEditTime : 2019-12-2
5 14:26:37
-->
-->
<
template
>
<
template
>
<div
class=
"notice-list-wrap"
>
<div
class=
"notice-list-wrap"
>
...
@@ -288,7 +288,7 @@ import limitTextarea from '@/components/limit-textarea.vue';
...
@@ -288,7 +288,7 @@ import limitTextarea from '@/components/limit-textarea.vue';
import
{
getRequest
,
postRequest
}
from
'@/api/api'
;
import
{
getRequest
,
postRequest
}
from
'@/api/api'
;
import
showMsg
from
'@/common/js/showmsg'
;
import
showMsg
from
'@/common/js/showmsg'
;
import
{
_debounce
}
from
'@/common/js/public'
;
import
{
_debounce
}
from
'@/common/js/public'
;
//
import errMsg from '@/common/js/error';
import
errMsg
from
'@/common/js/error'
;
export
default
{
export
default
{
name
:
'workGroupSet'
,
name
:
'workGroupSet'
,
props
:
{
props
:
{
...
@@ -840,7 +840,9 @@ export default {
...
@@ -840,7 +840,9 @@ export default {
});
});
}
}
that
.
classifyList
=
resData
.
result
.
list
||
[];
that
.
classifyList
=
resData
.
result
.
list
||
[];
return
false
;
}
}
errMsg
.
errorMsg
(
resData
);
})
})
.
catch
(
function
(
error
)
{
.
catch
(
function
(
error
)
{
that
.
$message
.
error
({
that
.
$message
.
error
({
...
@@ -905,12 +907,19 @@ export default {
...
@@ -905,12 +907,19 @@ export default {
child
.
classessTimesJson
=
child
.
classessTimesJson
?
JSON
.
parse
(
child
.
classessTimesJson
):
[]
child
.
classessTimesJson
=
child
.
classessTimesJson
?
JSON
.
parse
(
child
.
classessTimesJson
):
[]
});
});
}
}
if
(
!!
data
.
result
.
classesJson
&&
data
.
result
.
classesJson
.
length
)
{
data
.
result
.
classesJson
.
forEach
(
child
=>
{
child
.
classessTimesJson
=
child
.
classessTimesJson
?
JSON
.
parse
(
child
.
classessTimesJson
):
[]
});
}
that
.
mustSelection
=
data
.
result
.
adminList
;
that
.
mustSelection
=
data
.
result
.
adminList
;
that
.
mustStoreList
=
data
.
result
.
storeList
;
that
.
mustStoreList
=
data
.
result
.
storeList
;
that
.
noSelection
=
data
.
result
.
noAdminList
;
that
.
noSelection
=
data
.
result
.
noAdminList
;
that
.
noStoreList
=
data
.
result
.
noStoreList
;
that
.
noStoreList
=
data
.
result
.
noStoreList
;
that
.
ruleFormData
=
JSON
.
parse
(
JSON
.
stringify
(
data
.
result
));
that
.
ruleFormData
=
JSON
.
parse
(
JSON
.
stringify
(
data
.
result
));
return
false
;
}
}
errMsg
.
errorMsg
(
resData
);
})
})
.
catch
(
function
(
error
)
{
.
catch
(
function
(
error
)
{
that
.
$message
.
error
({
that
.
$message
.
error
({
...
...
src/views/enterpriseApp/dailyAttendance/workTimeManage.vue
View file @
0d68e2b7
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-09-18 15:25:12
* @Date: 2019-09-18 15:25:12
* @LastEditors : 无尘
* @LastEditors : 无尘
* @LastEditTime : 2019-12-2
3 16:40:07
* @LastEditTime : 2019-12-2
5 14:27:51
-->
-->
<
template
>
<
template
>
...
@@ -338,7 +338,9 @@ export default {
...
@@ -338,7 +338,9 @@ export default {
that
.
classes
=
resData
.
result
||
[];
that
.
classes
=
resData
.
result
||
[];
that
.
getCycleData
();
that
.
getCycleData
();
that
.
getTableList
();
that
.
getTableList
();
return
false
;
}
}
errMsg
.
errorMsg
(
resData
);
})
})
.
catch
(
function
(
error
)
{
.
catch
(
function
(
error
)
{
that
.
$message
.
error
({
that
.
$message
.
error
({
...
@@ -374,7 +376,9 @@ export default {
...
@@ -374,7 +376,9 @@ export default {
});
});
}
}
that
.
cycleData
=
resData
.
result
||
[];
that
.
cycleData
=
resData
.
result
||
[];
return
false
;
}
}
errMsg
.
errorMsg
(
resData
);
})
})
.
catch
(
function
(
error
)
{
.
catch
(
function
(
error
)
{
that
.
$message
.
error
({
that
.
$message
.
error
({
...
...
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