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
b9dcbf13
Commit
b9dcbf13
authored
Jun 10, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改我的顾客
parent
3cc1f696
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
28 additions
and
28 deletions
+28
-28
index.html
dist/index.html
+2
-2
app.9e922a29b48921412d126124b3738a90.css
dist/static/css/app.9e922a29b48921412d126124b3738a90.css
+0
-0
5.d3fd4d9cfb91869be480.js
dist/static/js/5.d3fd4d9cfb91869be480.js
+2
-2
81.458561c7080bbb2b8b51.js
dist/static/js/81.458561c7080bbb2b8b51.js
+0
-2
81.dc300d9df998b44e6232.js
dist/static/js/81.dc300d9df998b44e6232.js
+2
-2
82.144114e508b0964b3a4a.js
dist/static/js/82.144114e508b0964b3a4a.js
+2
-2
83.8f8eee29795665b74226.js
dist/static/js/83.8f8eee29795665b74226.js
+2
-2
84.ae9e016eb15a5ec99e7f.js
dist/static/js/84.ae9e016eb15a5ec99e7f.js
+2
-2
85.bfae8273934cbb68d34c.js
dist/static/js/85.bfae8273934cbb68d34c.js
+2
-2
86.62d40f9d4fac7cd847c0.js
dist/static/js/86.62d40f9d4fac7cd847c0.js
+2
-2
87.0fb42cff2a7382428597.js
dist/static/js/87.0fb42cff2a7382428597.js
+2
-2
88.4baa99b5ba65f517e6b4.js
dist/static/js/88.4baa99b5ba65f517e6b4.js
+2
-2
89.be04c66b88e208c029e7.js
dist/static/js/89.be04c66b88e208c029e7.js
+2
-0
app.b6bed284c63e1621ce3b.js
dist/static/js/app.b6bed284c63e1621ce3b.js
+2
-2
manifest.cbdb556cf05435d7d04b.js
dist/static/js/manifest.cbdb556cf05435d7d04b.js
+2
-2
memeberBaseSet.vue
src/views/enterpriseApp/myCustomer/memeberBaseSet.vue
+2
-2
No files found.
dist/index.html
View file @
b9dcbf13
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.74a1e11aefe8a9f7b2a9f08286efa3d7.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
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.9ce06fb6c946cf7da60e.js
></script><script
type=
text/javascript
src=
./static/js/vendor.4cb881ee73a47d4b4440.js
></script><script
type=
text/javascript
src=
./static/js/app.1770d93608676b30aeb4.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.9e922a29b48921412d126124b3738a90.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
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.cbdb556cf05435d7d04b.js
></script><script
type=
text/javascript
src=
./static/js/vendor.4cb881ee73a47d4b4440.js
></script><script
type=
text/javascript
src=
./static/js/app.b6bed284c63e1621ce3b.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
74a1e11aefe8a9f7b2a9f08286efa3d7
.css
→
dist/static/css/app.
9e922a29b48921412d126124b3738a90
.css
View file @
b9dcbf13
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/5.
44c4b15c4c7924605d5b
.js
→
dist/static/js/5.
d3fd4d9cfb91869be480
.js
View file @
b9dcbf13
webpackJsonp
([
5
,
55
,
65
,
74
,
82
,
97
],{
"1NWy"
:
function
(
t
,
e
){},
"79Bk"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"date-range-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
startTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
startTitle
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"b-t-1 flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
endTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
endTitle
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"Dy6z"
)},
"data-v-05d718c8"
,
null
);
e
.
default
=
l
.
exports
},
Dy6z
:
function
(
t
,
e
){},
EWqx
:
function
(
t
,
e
){},
FdYP
:
function
(
t
,
e
){},
H8Kg
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"image-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"image-com flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"must"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"draged-item-show"
},[
e
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])}]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"FdYP"
)},
"data-v-6c75d59f"
,
null
);
e
.
default
=
l
.
exports
},
IA9l
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"//Fk"
),
s
=
i
.
n
(
a
),
l
=
i
(
"Gu7T"
),
n
=
i
.
n
(
l
),
c
=
i
(
"gBtx"
),
o
=
i
.
n
(
c
),
r
=
i
(
"mvHQ"
),
d
=
i
.
n
(
r
),
m
=
i
(
"DAYN"
),
p
=
i
.
n
(
m
),
u
=
i
(
"Isrn"
),
v
=
i
(
"l46T"
),
h
=
i
(
"H8Kg"
),
f
=
i
(
"t0b0"
),
_
=
i
(
"79Bk"
),
g
=
i
(
"s4D+"
),
y
=
i
(
"PAYw"
),
C
=
i
(
"fPyK"
),
b
=
i
(
"3E4D"
),
I
=
i
(
"Ch4/"
),
x
=
i
(
"PI0u"
),
w
=
i
(
"P9l9"
),
k
=
{
name
:
"customSetTemplate"
,
data
:
function
(){
return
{
activeName
:
"first"
,
rightName
:
"second"
,
dialogVisible
:
!
1
,
bodyHeight
:(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
+
"px"
,
isDragging
:
!
1
,
delayedDragging
:
!
1
,
leftOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
leftDefineOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
templateId
:
""
,
oparateType
:
""
,
counter
:
1
,
selectKey
:
""
,
tradeInfo
:[],
personInfo
:[],
goodsInfo
:[],
competeInfo
:[],
defineInfo
:[],
currentIndex
:
0
,
currentChildKey
:
null
,
currentChildIndex
:
null
,
childIndex
:
0
,
tempaletDataList
:[],
setList
:[],
templateObj
:{
title
:
""
,
description
:
""
,
storeType
:
""
,
momory
:[]},
storeList
:[{
id
:
"0"
,
name
:
"自营门店"
,
disabled
:
!
1
},{
id
:
"1"
,
name
:
"联营门店"
,
disabled
:
!
1
},{
id
:
"2"
,
name
:
"代理门店"
,
disabled
:
!
1
},{
id
:
"3"
,
name
:
"代销门店"
,
disabled
:
!
1
},{
id
:
"4"
,
name
:
"托管门店"
,
disabled
:
!
1
}]}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)},
returnBack
:
function
(){
this
.
changeRoute
(
"/customReport?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
cloneItem
:
function
(
t
){
var
e
=
JSON
.
parse
(
d
()(
t
));
return
e
.
cid
=
"c"
+
this
.
counter
,
e
.
systemFlag
||
(
e
.
name
.
includes
(
"textc"
)
&&
(
e
.
name
=
"textc"
+
this
.
counter
),
e
.
name
.
includes
(
"paragraphc"
)
&&
(
e
.
name
=
"paragraphc"
+
this
.
counter
),
e
.
name
.
includes
(
"numberc"
)
&&
(
e
.
name
=
"numberc"
+
this
.
counter
),
e
.
name
.
includes
(
"checkboxesOrRadioc"
)
&&
(
e
.
name
=
"checkboxesOrRadioc"
+
this
.
counter
),
e
.
name
.
includes
(
"datec"
)
&&
(
e
.
name
=
"datec"
+
this
.
counter
),
e
.
name
.
includes
(
"dateareac"
)
&&
(
e
.
name
=
"dateareac"
+
this
.
counter
),
e
.
name
.
includes
(
"picc"
)
&&
(
e
.
name
=
"picc"
+
this
.
counter
),
e
.
name
.
includes
(
"introductionc"
)
&&
(
e
.
name
=
"introductionc"
+
this
.
counter
),
e
.
name
.
includes
(
"pricec"
)
&&
(
e
.
name
=
"pricec"
+
this
.
counter
),
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
name
=
"groupc"
+
this
.
counter
,
e
.
title
=
""
+
e
.
title
+
this
.
counter
)),
e
},
onMove
:
function
(
t
){
var
e
=
t
.
draggedContext
.
element
;
return
!
this
.
tempaletDataList
.
map
(
function
(
t
){
return
t
.
name
}).
includes
(
e
.
name
)
&&!
e
.
fixed
},
onChildMove
:
function
(
t
){
var
e
=!
0
;
return
-
1
!=
t
.
dragged
.
className
.
indexOf
(
"block-class"
)
&&-
1
!=
t
.
to
.
className
.
indexOf
(
"block-wrap"
)
&&
(
e
=!
1
),
e
},
itemMoveEnd
:
function
(
t
){
var
e
=
this
;
function
i
(
t
){
e
[
t
].
forEach
(
function
(
t
,
i
){
t
.
name
==
e
.
selectKey
&&
(
t
.
fixed
=!
0
)})}
e
.
isDragging
=!
1
,
e
.
selectKey
=
""
,
e
.
selectKey
=
t
.
clone
.
dataset
.
name
,
e
.
tempaletDataList
.
forEach
(
function
(
t
,
a
){
t
.
name
==
e
.
selectKey
&&
i
(
t
.
parentCode
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
,
a
){
t
.
name
==
e
.
selectKey
&&
i
(
t
.
parentCode
)})}),
e
.
selectKey
=
""
,
e
.
tempaletDataList
=
JSON
.
parse
(
d
()(
e
.
tempaletDataList
)),
e
.
$forceUpdate
(),
e
.
counter
=
e
.
counter
+
1
},
selectItem
:
function
(
t
,
e
){
this
.
currentIndex
=
e
,
this
.
currentChildIndex
=
null
},
deleteItem
:
function
(
t
,
e
,
i
,
a
){
var
s
=
this
;
if
(
s
.
tempaletDataList
.
splice
(
i
,
1
),
s
.
currentIndex
--
,
s
.
currentIndex
<=
0
&&
(
s
.
currentIndex
=
0
),
!
a
.
systemFlag
)
return
a
.
name
.
includes
(
"groupc"
)
&&
a
.
children
.
length
&&
a
.
children
.
forEach
(
function
(
t
){
t
.
systemFlag
&&
s
[
t
.
parentCode
].
forEach
(
function
(
e
){
e
.
name
==
t
.
name
&&
(
e
.
fixed
=!
1
)})}),
!
1
;
s
[
e
].
forEach
(
function
(
e
,
i
){
e
.
name
==
t
&&
(
e
.
fixed
=!
1
)})},
addDragItem
:
function
(
t
){
return
!
1
},
selectChildItem
:
function
(
t
,
e
,
i
,
a
){
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
t
,
this
.
childIndex
=
e
,
this
.
currentChildIndex
=
i
},
deleteChildItem
:
function
(
t
,
e
,
i
,
a
,
s
){
if
(
this
.
childIndex
=
e
,
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
this
.
tempaletDataList
[
e
].
children
[
i
].
name
,
this
.
currentChildIndex
--
,
this
.
currentChildIndex
<=
0
&&
(
this
.
currentChildIndex
=
0
),
this
.
tempaletDataList
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
this
.
tempaletDataList
[
e
].
children
.
splice
(
i
,
1
),
!
s
.
systemFlag
)
return
!
1
;
this
[
s
.
parentCode
].
forEach
(
function
(
e
,
i
){
e
.
name
===
t
&&
(
e
.
fixed
=!
1
)})},
delChildItem
:
function
(
t
,
e
,
i
){
i
.
list
.
splice
(
e
,
1
)},
addChildItem
:
function
(
t
,
e
,
i
){
if
(
19
!=
e
){
i
.
list
.
push
({
value
:
"选项"
+
(
e
+
2
),
key
:
e
+
2
});
var
a
=
i
.
list
.
map
(
function
(
t
){
return
t
.
value
});
this
.
isRepeat
(
a
)
&&
(
i
.
list
.
splice
(
i
.
list
.
length
-
1
,
1
),
a
.
splice
(
i
.
list
.
length
-
1
,
1
),
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"选项不能重复"
}))}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多可添加 20 项"
})},
changeMust
:
function
(
t
,
e
,
i
){
e
&&
i
.
list
.
forEach
(
function
(
e
){
e
.
isMust
=!!
t
})},
isRepeat
:
function
(
t
){
var
e
=
{};
for
(
var
i
in
t
){
if
(
e
[
t
[
i
]])
return
!
0
;
e
[
t
[
i
]]
=!
0
}
return
!
1
},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
checkTag
:
function
(
t
){
var
e
=
{
filedFlag
:
!
0
,
filedRepeat
:
!
1
},
i
=
[];
return
t
.
forEach
(
function
(
t
){
if
(
""
==
t
.
title
)
return
e
.
filedFlag
=!
1
,
e
.
name
=
t
.
title
||
""
,
!
1
;
i
.
push
(
t
.
title
),
t
.
hasOwnProperty
(
"children"
)
&&
t
.
children
.
length
&&
t
.
children
.
forEach
(
function
(
t
){
if
(
t
.
systemFlag
&&
""
==
t
.
title
)
return
e
.
filedFlag
=!
1
,
e
.
name
=
t
.
title
||
""
,
!
1
;
i
.
push
(
t
.
title
)})}),
this
.
isRepeat
(
i
)
&&
(
e
.
filedRepeat
=!
0
),
e
},
checkTemplateObj
:
function
(){
var
t
=!
0
;
return
this
.
templateObj
.
title
&&
this
.
templateObj
.
description
&&
this
.
templateObj
.
storeType
||
(
t
=!
1
),
t
},
getUuid
:
function
(){
return
"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx"
.
replace
(
/
[
xy
]
/g
,
function
(
t
){
var
e
=
16
*
Math
.
random
()
|
0
;
return
(
"x"
==
t
?
e
:
3
&
e
|
8
).
toString
(
16
)})},
saveAndBack
:
Object
(
x
.
a
)(
function
(
t
){
if
(
!
this
.
checkTemplateObj
())
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请完善模板设置内容"
}),
!
1
;
var
e
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
i
=
this
.
checkTag
(
e
);
if
(
!
i
.
filedFlag
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
name
+
"字段标题不能为空"
}),
!
1
;
if
(
i
.
filedRepeat
)
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"字段标题不能重复"
});
else
{
if
(
e
.
forEach
(
function
(
t
,
e
){
t
.
sort
=
e
,
t
.
isMust
=
t
.
isMust
?
1
:
0
,
t
.
memory
=
t
.
memory
?
1
:
0
,
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=
t
.
openCapitalize
?
1
:
0
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=
t
.
isMust
?
1
:
0
}),
t
.
hasOwnProperty
(
"children"
)
&&
(
t
.
children
.
forEach
(
function
(
t
,
e
){
t
.
sort
=
e
,
t
.
isMust
=
t
.
isMust
?
1
:
0
,
t
.
memory
=
t
.
memory
?
1
:
0
,
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=
t
.
isMust
?
1
:
0
}),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=
t
.
openCapitalize
?
1
:
0
)}),
t
.
list
=
t
.
children
)}),
!
e
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请先配置字段"
}),
!
1
;
"save"
===
t
?
this
.
saveAllData
(
e
):
this
.
postPreview
(
e
)}},
500
),
saveAllData
:
function
(
t
){
var
e
=
this
,
i
=
{
status
:
1
,
brandId
:
e
.
brandId
,
templateContent
:
d
()(
t
),
title
:
e
.
templateObj
.
title
,
description
:
e
.
templateObj
.
description
,
storeType
:
e
.
templateObj
.
storeType
,
memory
:[]};
Object
(
w
.
e
)(
"/haoban-app-daily-web/daily/save-define-template"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
b
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
changeRoute
(
"/customReport?brandId="
+
e
.
brandId
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
);
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
postPreview
:
function
(
t
){
var
e
=
this
,
i
=
{
templateType
:
1
,
brandId
:
e
.
brandId
,
templateContent
:
d
()(
t
)};
Object
(
w
.
e
)(
"/haoban-app-daily-web/daily/preview-template"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
){
var
a
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
s
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?enterpriseId="
+
a
+
"&templateId="
+
i
.
result
+
"&brandId="
+
e
.
brandId
;
return
e
.
$refs
.
qrcodePreview
.
qrcode
(
s
,
"daily-preview"
),
void
(
e
.
dialogVisible
=!
0
)}
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
closeDialog
:
function
(){
this
.
dialogVisible
=!
1
},
getHasStores
:
function
(){
var
t
=
this
;
Object
(
w
.
e
)(
"/haoban-app-daily-web/daily/has-defined-template-store-type"
,{
brandId
:
t
.
brandId
}).
then
(
function
(
e
){
var
i
=
e
.
data
;
1
!=
i
.
errorCode
?
I
.
a
.
errorMsg
(
i
):
t
.
storeList
.
forEach
(
function
(
e
){
i
.
result
&&
i
.
result
.
length
&&
i
.
result
.
includes
(
o
()(
e
.
id
))
&&
(
e
.
disabled
=!
0
),
"edit"
==
t
.
oparateType
&&
t
.
storeType
==
e
.
id
&&
(
e
.
disabled
=!
1
)})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getAllFields
:
function
(
t
){
var
e
=
this
;
Object
(
w
.
e
)(
"/haoban-app-daily-web/daily/get-template-items"
,{
brandId
:
e
.
brandId
,
type
:
t
}).
then
(
function
(
i
){
var
a
=
i
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
forEach
(
function
(
e
){
e
.
isMust
=!!
e
.
isMust
,
e
.
memory
=!!
e
.
memory
,
e
.
title
=
e
.
title
.
trim
(),
e
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
e
.
openCapitalize
=!!
e
.
openCapitalize
),
e
.
hasOwnProperty
(
"list"
)
&&
e
.
list
&&
e
.
list
.
length
&&
e
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
}),
e
.
systemFlag
=
3
!=
t
,
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
children
=
[])}),
void
(
3
==
t
?
e
.
defineInfo
=
a
.
result
:
e
.
handleAllFields
(
a
.
result
));
I
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAllFields
:
function
(
t
){
var
e
=
this
;
t
.
forEach
(
function
(
t
){
t
.
fixed
=!
1
,
1
==
t
.
classify
&&
(
t
.
parentCode
=
"tradeInfo"
,
e
.
tradeInfo
.
push
(
t
)),
2
==
t
.
classify
&&
(
t
.
parentCode
=
"personInfo"
,
e
.
personInfo
.
push
(
t
)),
3
==
t
.
classify
&&
(
t
.
parentCode
=
"goodsInfo"
,
e
.
goodsInfo
.
push
(
t
)),
4
==
t
.
classify
&&
(
t
.
parentCode
=
"competeInfo"
,
e
.
competeInfo
.
push
(
t
))})},
getInfo
:
function
(){
var
t
=
this
;
Object
(
w
.
e
)(
"/haoban-app-daily-web/daily/get-define-template"
,{
templateId
:
t
.
templateId
}).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
t
.
setList
=
[],
i
.
result
&&
(
t
.
templateObj
.
title
=
i
.
result
.
title
,
t
.
templateObj
.
description
=
i
.
result
.
description
,
t
.
storeType
=
"edit"
==
t
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
t
.
templateObj
.
storeType
=
"edit"
==
t
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
i
.
result
.
templateContent
&&
i
.
result
.
templateContent
.
length
&&
t
.
handleGetInfo
(
i
.
result
.
templateContent
)),
void
t
.
getHasStores
();
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
treeData
:
function
(
t
){
var
e
=
t
.
filter
(
function
(
e
){
var
i
=
t
.
filter
(
function
(
t
){
return
e
.
fieldCode
==
t
.
parentCode
});
return
i
.
length
>
0
&&
(
e
.
children
=
i
),
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
},
handleGetInfo
:
function
(
t
){
var
e
=
this
,
i
=
JSON
.
parse
(
d
()(
t
));
e
.
cids
=
[],
e
.
setParent
=
[],
i
.
forEach
(
function
(
t
,
i
){
t
.
title
=
t
.
title
.
trim
(),
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
t
.
name
.
includes
(
"textc"
)
||
t
.
name
.
includes
(
"paragraphc"
)
||
t
.
name
.
includes
(
"numberc"
)
||
t
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
t
.
name
.
includes
(
"datec"
)
||
t
.
name
.
includes
(
"dateareac"
)
||
t
.
name
.
includes
(
"picc"
)
||
t
.
name
.
includes
(
"introductionc"
)
||
t
.
name
.
includes
(
"pricec"
)
||
t
.
name
.
includes
(
"groupc"
)?(
t
.
systemFlag
=!
1
,
t
.
parentCode
=
"defineInfo"
):(
e
.
setParent
.
push
(
t
.
name
),
t
.
systemFlag
=!
0
,
1
==
t
.
classify
&&
(
t
.
parentCode
=
"tradeInfo"
),
2
==
t
.
classify
&&
(
t
.
parentCode
=
"personInfo"
),
3
==
t
.
classify
&&
(
t
.
parentCode
=
"goodsInfo"
),
4
==
t
.
classify
&&
(
t
.
parentCode
=
"competeInfo"
)),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=!!
t
.
openCapitalize
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
&&
t
.
list
.
length
&&
(
t
.
list
.
forEach
(
function
(
i
){(
i
.
isMust
=!!
i
.
isMust
,
t
.
name
.
includes
(
"groupc"
))
&&
(
i
.
isMust
=!!
i
.
isMust
,
i
.
memory
=!!
i
.
memory
,
i
.
name
.
includes
(
"textc"
)
||
i
.
name
.
includes
(
"paragraphc"
)
||
i
.
name
.
includes
(
"numberc"
)
||
i
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
i
.
name
.
includes
(
"datec"
)
||
i
.
name
.
includes
(
"dateareac"
)
||
i
.
name
.
includes
(
"picc"
)
||
i
.
name
.
includes
(
"introductionc"
)
||
i
.
name
.
includes
(
"pricec"
)
||
i
.
name
.
includes
(
"groupc"
)?
i
.
systemFlag
=!
1
:(
e
.
setParent
.
push
(
i
.
name
),
i
.
systemFlag
=!
0
,
1
==
i
.
classify
&&
(
i
.
parentCode
=
"tradeInfo"
),
2
==
i
.
classify
&&
(
i
.
parentCode
=
"personInfo"
),
3
==
i
.
classify
&&
(
i
.
parentCode
=
"goodsInfo"
),
4
==
i
.
classify
&&
(
i
.
parentCode
=
"competeInfo"
)))}),
t
.
name
.
includes
(
"groupc"
)
&&
(
t
.
children
=
t
.
list
)),
e
.
cids
.
push
(
o
()(
t
.
cid
.
match
(
/
\d
+/g
))),
t
.
hasOwnProperty
(
"children"
)
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
e
.
cids
.
push
(
o
()(
t
.
cid
.
match
(
/
\d
+/g
)))})}),
e
.
counter
=
Math
.
max
.
apply
(
Math
,
n
()(
e
.
cids
)),
e
.
tempaletDataList
=
i
,
setTimeout
(
function
(){
e
.
setFixed
()},
500
)},
setFixed
:
function
(){
var
t
=
this
;[
"tradeInfo"
,
"personInfo"
,
"goodsInfo"
,
"competeInfo"
].
forEach
(
function
(
e
){
t
[
e
].
forEach
(
function
(
e
){
t
.
setParent
.
includes
(
e
.
name
)
&&
(
e
.
fixed
=!
0
)})})}},
watch
:{
isDragging
:
function
(
t
){
var
e
=
this
;
t
?
e
.
delayedDragging
=!
0
:
e
.
$nextTick
(
function
(){
e
.
delayedDragging
=!
1
})}},
components
:{
draggable
:
p
.
a
,
AddInput
:
u
.
a
,
limitInput
:
v
.
a
,
imageCom
:
h
.
default
,
selectCom
:
f
.
default
,
dateRangeCom
:
_
.
default
,
inputCom
:
g
.
default
,
blockCom
:
y
.
default
,
qrcodeDialog
:
C
.
a
},
mounted
:
function
(){
var
t
=
this
,
e
=
t
.
$route
.
query
;
t
.
brandId
=
t
.
$route
.
query
.
brandId
,
s
.
a
.
all
([
t
.
getAllFields
(
2
)]).
then
(
function
(
i
){
t
.
getAllFields
(
3
),
e
.
hasOwnProperty
(
"templateId"
)?(
t
.
templateId
=
e
.
templateId
,
t
.
oparateType
=
e
.
type
,
t
.
getInfo
()):
t
.
getHasStores
()}).
catch
(
function
(
t
){
console
.
log
(
t
)}),
document
.
body
.
ondrop
=
function
(
t
){
t
.
preventDefault
(),
t
.
stopPropagation
()}}},
T
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"template-wrap"
,
style
:{
height
:
t
.
bodyHeight
}},[
a
(
"div"
,{
staticClass
:
"template-contain"
},[
a
(
"div"
,{
staticClass
:
"template-head"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-btns flex-1 flex-r"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
saveAndBack
(
"preview"
)}}},[
t
.
_v
(
"预 览"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
returnBack
}},[
t
.
_v
(
"返 回"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
saveAndBack
(
"save"
)}}},[
t
.
_v
(
"保存并启用"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-body"
},[
a
(
"div"
,{
staticClass
:
"template-cell template-cell-l"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
activeName
,
callback
:
function
(
e
){
t
.
activeName
=
e
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"系统字段"
,
name
:
"first"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"交易"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list1"
,
list
:
t
.
tradeInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
tradeInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
,
"aria-hidden"
:
"true"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"人员"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list2"
,
list
:
t
.
personInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
personInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"商品"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list3"
,
list
:
t
.
goodsInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
goodsInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"竞品"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list4"
,
list
:
t
.
competeInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
competeInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
)]),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义字段"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
}),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
t
.
defineInfo
,
options
:
t
.
leftDefineOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onChildMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
defineInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
,
11
==
e
.
type
?
"block-class"
:
""
],
attrs
:{
"data-type"
:
e
.
fieldCode
}},[
0
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
5
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
9
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
10
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
11
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
0
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-one"
}):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-two"
}):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-three"
}):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-four"
}):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-five"
}):
t
.
_e
(),
t
.
_v
(
" "
),
5
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-six"
}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-seven"
}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eight"
}):
t
.
_e
(),
t
.
_v
(
" "
),
9
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-ten"
}):
t
.
_e
(),
t
.
_v
(
" "
),
10
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eleven"
}):
t
.
_e
(),
t
.
_v
(
" "
),
11
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-twelve"
}):
t
.
_e
()])}))],
1
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-m"
},[
a
(
"div"
,{
staticClass
:
"phone-view"
},[
a
(
"div"
,{
staticClass
:
"phone-show-content"
},[
a
(
"div"
,{
staticClass
:
"drag-show-content"
},[
a
(
"div"
,{
staticClass
:
"view-container"
},[
a
(
"ul"
,{
staticClass
:
"view-content"
,
attrs
:{
id
:
"showPhoneView"
}},[
0
==
t
.
tempaletDataList
.
length
?[
a
(
"img"
,{
staticClass
:
"templet-null-img"
,
attrs
:{
src
:
i
(
"Y7wY"
)}})]:
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
model
:{
value
:
t
.
tempaletDataList
,
callback
:
function
(
e
){
t
.
tempaletDataList
=
e
},
expression
:
"tempaletDataList"
}},
t
.
_l
(
t
.
tempaletDataList
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
"li1"
+
i
,
class
:[
"filed-item"
,
t
.
currentIndex
==
i
?
"active-item"
:
""
,
"li-block"
],
on
:{
click
:
function
(
a
){
t
.
selectItem
(
e
.
fieldCode
,
i
)}}},[
"baseInfo"
!=
e
.
fieldCode
?
a
(
"span"
,{
staticClass
:
"item-close p-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
deleteItem
(
e
.
name
,
e
.
parentCode
,
i
,
e
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
systemFlag
||!
e
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,[
1
==
e
.
type
||
2
==
e
.
type
||
3
==
e
.
type
||
10
==
e
.
type
||
9
==
e
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
||
5
==
e
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"11"
==
e
.
type
?
a
(
"block-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
()],
1
):
t
.
_e
(),
t
.
_v
(
" "
),[
e
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,{
staticClass
:
"block"
},[
a
(
"div"
,{
staticClass
:
"block-head"
},[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
e
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))])]),
t
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"view-content"
},[
a
(
"draggable"
,{
class
:[
"drag-wrap"
,
"block-wrap"
,
e
.
fieldCode
],
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
add
:
t
.
addDragItem
},
model
:{
value
:
e
.
children
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"children"
,
i
)},
expression
:
"item.children"
}},
t
.
_l
(
e
.
children
,
function
(
s
,
l
){
return
a
(
"li"
,{
key
:
"li"
+
l
,
class
:[
"filed-item"
,
"child-filed-item"
,
t
.
currentChildKey
==
s
.
name
&&
t
.
currentChildIndex
==
l
?
"active-item"
:
""
],
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
selectChildItem
(
s
.
name
,
i
,
l
,
e
.
children
)}}},[
a
(
"span"
,{
staticClass
:
"item-close child-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
deleteChildItem
(
s
.
name
,
i
,
l
,
e
.
children
,
s
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]),
t
.
_v
(
" "
),
4
==
s
.
type
||
5
==
s
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
s
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
s
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
s
.
type
||
2
==
s
.
type
||
3
==
s
.
type
||
10
==
s
.
type
||
9
==
s
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"11"
==
s
.
type
&&
s
.
systemFlag
?
a
(
"block-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
()],
1
)}))],
1
)]):
t
.
_e
()]],
2
)}))],
2
)])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-r define-template-tab"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
rightName
,
callback
:
function
(
e
){
t
.
rightName
=
e
},
expression
:
"rightName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"控件设置"
,
name
:
"first"
}},[
a
(
"div"
,{
attrs
:{
id
:
"edit-box"
}},[
a
(
"div"
,{
staticClass
:
"edit-view baby-info-flag baby-info"
},[
t
.
_l
(
t
.
tempaletDataList
,
function
(
e
,
i
){
return
[
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
6
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
title
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"title"
,
i
)}}}),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
t
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child62"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
startTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"startTitle"
,
i
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child64"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题2 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
endTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"endTitle"
,
i
)}}})],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
11
==
e
.
type
||
5
==
e
.
type
||
7
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"提示文字最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
2
==
e
.
type
||
9
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入500个字"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入100个字"
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
3
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child11"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"单位最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
"4"
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"选项 "
),
e
.
systemFlag
?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"最多20项,每项最多10个字"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
list
,
function
(
s
,
l
){
return
[
a
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
s
,
"value"
,
e
)}}}),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
e
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
t
.
delChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
l
<
19
?[
l
==
e
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
t
.
addChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
()]:
t
.
_e
()],
2
)]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"parent22"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"选择框类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
t
.
_v
(
"单选"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
t
.
_v
(
"多选"
)])],
1
)])],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
5
!=
e
.
type
&&
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child117"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"日期类型"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
10
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent210"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"大写"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
openCapitalize
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"openCapitalize"
,
i
)},
expression
:
"item.openCapitalize"
}},[
t
.
_v
(
"显示大写"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
name
.
includes
(
"groupc"
)?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent2"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
t
.
changeMust
(
i
,
!!
e
.
list
,
e
)}},
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"item.isMust"
}},[
t
.
_v
(
"必填"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
"performanceKing"
!=
e
.
name
&&
"competitorInfo"
!=
e
.
name
?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent21"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证 是否必填"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
t
.
_l
(
e
.
list
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
"list"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
t
.
_v
(
t
.
_s
(
e
.
title
))])],
1
)}))])],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
name
.
includes
(
"groupc"
)?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent3"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"记忆"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
memory
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"memory"
,
i
)},
expression
:
"item.memory"
}},[
t
.
_v
(
"是否记忆"
)])],
1
)],
t
.
_v
(
" "
),
t
.
childIndex
==
i
&&
e
.
children
&&
e
.
children
.
length
?[
t
.
_l
(
e
.
children
,
function
(
e
,
s
){
return
[
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
6
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
title
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"title"
,
i
)}}}),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
t
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child2"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
startTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"startTitle"
,
i
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child4"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题2 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
endTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"endTitle"
,
i
)}}})],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
5
==
e
.
type
||
7
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"提示文字最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
2
==
e
.
type
||
9
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入500个字"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入100个字"
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
3
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child6"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"单位最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
unit
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"unit"
,
i
)}}}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
5
!=
e
.
type
&&
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child7"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"日期类型"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
"4"
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child9"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"选项 "
),
e
.
systemFlag
?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"最多20项,每项最多10个字"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
list
,
function
(
s
,
l
){
return
[
a
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
s
,
"value"
,
e
)}}}),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
e
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
t
.
delChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
l
<
19
?[
l
==
e
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
t
.
addChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
()]:
t
.
_e
()],
2
)]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child922"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"选择框类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
t
.
_v
(
"单选"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
t
.
_v
(
"多选"
)])],
1
)])],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
10
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child910"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"大写"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
openCapitalize
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"openCapitalize"
,
i
)},
expression
:
"childItem.openCapitalize"
}},[
t
.
_v
(
"显示大写"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child11"
+
s
,
staticClass
:
"edit-item"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"验证"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
t
.
changeMust
(
i
,
!!
e
.
list
,
e
)}},
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"childItem.isMust"
}},[
t
.
_v
(
"必填"
)])],
1
)]:
t
.
_e
(),
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
"performanceKing"
!=
e
.
name
&&
"competitorInfo"
!=
e
.
name
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证 是否必填"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
t
.
_l
(
e
.
list
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
"list111"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
t
.
_v
(
t
.
_s
(
e
.
title
))])],
1
)}))])],
t
.
_v
(
" "
),
t
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child12"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"记忆"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
memory
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"memory"
,
i
)},
expression
:
"childItem.memory"
}},[
t
.
_v
(
"是否记忆"
)])],
1
)]:
t
.
_e
()]})]:
t
.
_e
()]})],
2
)])]),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"模板设置"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"template-item limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"模板名称 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
templateObj
.
title
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"title"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-item limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"模板描述 最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
templateObj
.
description
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"description"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"门店类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"store-type-list"
},
t
.
_l
(
t
.
storeList
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
e
.
name
+
i
,
staticClass
:
"store-type-cell m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
e
.
id
,
disabled
:
e
.
disabled
},
model
:{
value
:
t
.
templateObj
.
storeType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"storeType"
,
e
)},
expression
:
"templateObj.storeType"
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])],
1
)}))])])],
1
)],
1
)])]),
t
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
t
.
dialogVisible
,
callback
:
function
(
e
){
t
.
dialogVisible
=
e
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"template-title flex-1"
},[
e
(
"img"
,{
attrs
:{
src
:
i
(
"LbEI"
),
alt
:
"logo"
}}),
this
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"template-title-span"
},[
this
.
_v
(
"日报设置"
)])])}]};
var
M
=
i
(
"VU/8"
)(
k
,
T
,
!
1
,
function
(
t
){
i
(
"EWqx"
)},
"data-v-fe6d56f6"
,
null
);
e
.
default
=
M
.
exports
},
PAYw
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"block-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"block block-field"
},[
i
(
"div"
,{
staticClass
:
"block-head"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
childItem
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))])]),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"view-content"
},
t
.
_l
(
t
.
childItem
.
list
,
function
(
e
,
a
){
return
i
(
"li"
,{
key
:
"performance"
+
a
,
staticClass
:
"block-filed-item border-bottom-1"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag "
},[
t
.
_v
(
t
.
_s
(
e
.
placeholder
)
+
" "
+
t
.
_s
(
e
.
isMust
?
"(必填)"
:
""
))])])])})),
t
.
_v
(
" "
),
"competitorInfo"
==
t
.
childItem
.
name
?
i
(
"div"
,{
staticClass
:
"compete-add"
},[
t
.
_v
(
"
\
n +竞品信息
\
n "
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"1NWy"
)},
"data-v-97f6d394"
,
null
);
e
.
default
=
l
.
exports
},
"fIe/"
:
function
(
t
,
e
){},
lpYn
:
function
(
t
,
e
){},
"s4D+"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"input-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
class
:[
2
==
t
.
childItem
.
type
?
"h-66"
:
""
]},[
9
!=
t
.
childItem
.
type
?
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
,
style
:{
"padding-left"
:
9
==
t
.
childItem
.
type
?
"15px"
:
"0"
}},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))])]),
t
.
_v
(
" "
),
10
==
t
.
childItem
.
type
&&
t
.
childItem
.
openCapitalize
?
i
(
"div"
,{
staticClass
:
"show-capitalize font-12 color-909399 p-l-10 border-box"
},[
t
.
_v
(
"大写:壹万元整(示例)"
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"lpYn"
)},
"data-v-51432d8f"
,
null
);
e
.
default
=
l
.
exports
},
t0b0
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"select-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"fIe/"
)},
"data-v-3fd29910"
,
null
);
e
.
default
=
l
.
exports
}});
webpackJsonp
([
5
,
55
,
65
,
74
,
81
,
97
],{
"1NWy"
:
function
(
t
,
e
){},
"79Bk"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"date-range-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
startTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
startTitle
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"b-t-1 flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
endTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
endTitle
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"Dy6z"
)},
"data-v-05d718c8"
,
null
);
e
.
default
=
l
.
exports
},
Dy6z
:
function
(
t
,
e
){},
EWqx
:
function
(
t
,
e
){},
FdYP
:
function
(
t
,
e
){},
H8Kg
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"image-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"image-com flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"must"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"draged-item-show"
},[
e
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])}]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"FdYP"
)},
"data-v-6c75d59f"
,
null
);
e
.
default
=
l
.
exports
},
IA9l
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"//Fk"
),
s
=
i
.
n
(
a
),
l
=
i
(
"Gu7T"
),
n
=
i
.
n
(
l
),
c
=
i
(
"gBtx"
),
o
=
i
.
n
(
c
),
r
=
i
(
"mvHQ"
),
d
=
i
.
n
(
r
),
m
=
i
(
"DAYN"
),
p
=
i
.
n
(
m
),
u
=
i
(
"Isrn"
),
v
=
i
(
"l46T"
),
h
=
i
(
"H8Kg"
),
f
=
i
(
"t0b0"
),
_
=
i
(
"79Bk"
),
g
=
i
(
"s4D+"
),
y
=
i
(
"PAYw"
),
C
=
i
(
"fPyK"
),
b
=
i
(
"3E4D"
),
I
=
i
(
"Ch4/"
),
x
=
i
(
"PI0u"
),
w
=
i
(
"P9l9"
),
k
=
{
name
:
"customSetTemplate"
,
data
:
function
(){
return
{
activeName
:
"first"
,
rightName
:
"second"
,
dialogVisible
:
!
1
,
bodyHeight
:(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
+
"px"
,
isDragging
:
!
1
,
delayedDragging
:
!
1
,
leftOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
leftDefineOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
templateId
:
""
,
oparateType
:
""
,
counter
:
1
,
selectKey
:
""
,
tradeInfo
:[],
personInfo
:[],
goodsInfo
:[],
competeInfo
:[],
defineInfo
:[],
currentIndex
:
0
,
currentChildKey
:
null
,
currentChildIndex
:
null
,
childIndex
:
0
,
tempaletDataList
:[],
setList
:[],
templateObj
:{
title
:
""
,
description
:
""
,
storeType
:
""
,
momory
:[]},
storeList
:[{
id
:
"0"
,
name
:
"自营门店"
,
disabled
:
!
1
},{
id
:
"1"
,
name
:
"联营门店"
,
disabled
:
!
1
},{
id
:
"2"
,
name
:
"代理门店"
,
disabled
:
!
1
},{
id
:
"3"
,
name
:
"代销门店"
,
disabled
:
!
1
},{
id
:
"4"
,
name
:
"托管门店"
,
disabled
:
!
1
}]}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)},
returnBack
:
function
(){
this
.
changeRoute
(
"/customReport?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
cloneItem
:
function
(
t
){
var
e
=
JSON
.
parse
(
d
()(
t
));
return
e
.
cid
=
"c"
+
this
.
counter
,
e
.
systemFlag
||
(
e
.
name
.
includes
(
"textc"
)
&&
(
e
.
name
=
"textc"
+
this
.
counter
),
e
.
name
.
includes
(
"paragraphc"
)
&&
(
e
.
name
=
"paragraphc"
+
this
.
counter
),
e
.
name
.
includes
(
"numberc"
)
&&
(
e
.
name
=
"numberc"
+
this
.
counter
),
e
.
name
.
includes
(
"checkboxesOrRadioc"
)
&&
(
e
.
name
=
"checkboxesOrRadioc"
+
this
.
counter
),
e
.
name
.
includes
(
"datec"
)
&&
(
e
.
name
=
"datec"
+
this
.
counter
),
e
.
name
.
includes
(
"dateareac"
)
&&
(
e
.
name
=
"dateareac"
+
this
.
counter
),
e
.
name
.
includes
(
"picc"
)
&&
(
e
.
name
=
"picc"
+
this
.
counter
),
e
.
name
.
includes
(
"introductionc"
)
&&
(
e
.
name
=
"introductionc"
+
this
.
counter
),
e
.
name
.
includes
(
"pricec"
)
&&
(
e
.
name
=
"pricec"
+
this
.
counter
),
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
name
=
"groupc"
+
this
.
counter
,
e
.
title
=
""
+
e
.
title
+
this
.
counter
)),
e
},
onMove
:
function
(
t
){
var
e
=
t
.
draggedContext
.
element
;
return
!
this
.
tempaletDataList
.
map
(
function
(
t
){
return
t
.
name
}).
includes
(
e
.
name
)
&&!
e
.
fixed
},
onChildMove
:
function
(
t
){
var
e
=!
0
;
return
-
1
!=
t
.
dragged
.
className
.
indexOf
(
"block-class"
)
&&-
1
!=
t
.
to
.
className
.
indexOf
(
"block-wrap"
)
&&
(
e
=!
1
),
e
},
itemMoveEnd
:
function
(
t
){
var
e
=
this
;
function
i
(
t
){
e
[
t
].
forEach
(
function
(
t
,
i
){
t
.
name
==
e
.
selectKey
&&
(
t
.
fixed
=!
0
)})}
e
.
isDragging
=!
1
,
e
.
selectKey
=
""
,
e
.
selectKey
=
t
.
clone
.
dataset
.
name
,
e
.
tempaletDataList
.
forEach
(
function
(
t
,
a
){
t
.
name
==
e
.
selectKey
&&
i
(
t
.
parentCode
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
,
a
){
t
.
name
==
e
.
selectKey
&&
i
(
t
.
parentCode
)})}),
e
.
selectKey
=
""
,
e
.
tempaletDataList
=
JSON
.
parse
(
d
()(
e
.
tempaletDataList
)),
e
.
$forceUpdate
(),
e
.
counter
=
e
.
counter
+
1
},
selectItem
:
function
(
t
,
e
){
this
.
currentIndex
=
e
,
this
.
currentChildIndex
=
null
},
deleteItem
:
function
(
t
,
e
,
i
,
a
){
var
s
=
this
;
if
(
s
.
tempaletDataList
.
splice
(
i
,
1
),
s
.
currentIndex
--
,
s
.
currentIndex
<=
0
&&
(
s
.
currentIndex
=
0
),
!
a
.
systemFlag
)
return
a
.
name
.
includes
(
"groupc"
)
&&
a
.
children
.
length
&&
a
.
children
.
forEach
(
function
(
t
){
t
.
systemFlag
&&
s
[
t
.
parentCode
].
forEach
(
function
(
e
){
e
.
name
==
t
.
name
&&
(
e
.
fixed
=!
1
)})}),
!
1
;
s
[
e
].
forEach
(
function
(
e
,
i
){
e
.
name
==
t
&&
(
e
.
fixed
=!
1
)})},
addDragItem
:
function
(
t
){
return
!
1
},
selectChildItem
:
function
(
t
,
e
,
i
,
a
){
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
t
,
this
.
childIndex
=
e
,
this
.
currentChildIndex
=
i
},
deleteChildItem
:
function
(
t
,
e
,
i
,
a
,
s
){
if
(
this
.
childIndex
=
e
,
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
this
.
tempaletDataList
[
e
].
children
[
i
].
name
,
this
.
currentChildIndex
--
,
this
.
currentChildIndex
<=
0
&&
(
this
.
currentChildIndex
=
0
),
this
.
tempaletDataList
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
this
.
tempaletDataList
[
e
].
children
.
splice
(
i
,
1
),
!
s
.
systemFlag
)
return
!
1
;
this
[
s
.
parentCode
].
forEach
(
function
(
e
,
i
){
e
.
name
===
t
&&
(
e
.
fixed
=!
1
)})},
delChildItem
:
function
(
t
,
e
,
i
){
i
.
list
.
splice
(
e
,
1
)},
addChildItem
:
function
(
t
,
e
,
i
){
if
(
19
!=
e
){
i
.
list
.
push
({
value
:
"选项"
+
(
e
+
2
),
key
:
e
+
2
});
var
a
=
i
.
list
.
map
(
function
(
t
){
return
t
.
value
});
this
.
isRepeat
(
a
)
&&
(
i
.
list
.
splice
(
i
.
list
.
length
-
1
,
1
),
a
.
splice
(
i
.
list
.
length
-
1
,
1
),
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"选项不能重复"
}))}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多可添加 20 项"
})},
changeMust
:
function
(
t
,
e
,
i
){
e
&&
i
.
list
.
forEach
(
function
(
e
){
e
.
isMust
=!!
t
})},
isRepeat
:
function
(
t
){
var
e
=
{};
for
(
var
i
in
t
){
if
(
e
[
t
[
i
]])
return
!
0
;
e
[
t
[
i
]]
=!
0
}
return
!
1
},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
checkTag
:
function
(
t
){
var
e
=
{
filedFlag
:
!
0
,
filedRepeat
:
!
1
},
i
=
[];
return
t
.
forEach
(
function
(
t
){
if
(
""
==
t
.
title
)
return
e
.
filedFlag
=!
1
,
e
.
name
=
t
.
title
||
""
,
!
1
;
i
.
push
(
t
.
title
),
t
.
hasOwnProperty
(
"children"
)
&&
t
.
children
.
length
&&
t
.
children
.
forEach
(
function
(
t
){
if
(
t
.
systemFlag
&&
""
==
t
.
title
)
return
e
.
filedFlag
=!
1
,
e
.
name
=
t
.
title
||
""
,
!
1
;
i
.
push
(
t
.
title
)})}),
this
.
isRepeat
(
i
)
&&
(
e
.
filedRepeat
=!
0
),
e
},
checkTemplateObj
:
function
(){
var
t
=!
0
;
return
this
.
templateObj
.
title
&&
this
.
templateObj
.
description
&&
this
.
templateObj
.
storeType
||
(
t
=!
1
),
t
},
getUuid
:
function
(){
return
"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx"
.
replace
(
/
[
xy
]
/g
,
function
(
t
){
var
e
=
16
*
Math
.
random
()
|
0
;
return
(
"x"
==
t
?
e
:
3
&
e
|
8
).
toString
(
16
)})},
saveAndBack
:
Object
(
x
.
a
)(
function
(
t
){
if
(
!
this
.
checkTemplateObj
())
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请完善模板设置内容"
}),
!
1
;
var
e
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
i
=
this
.
checkTag
(
e
);
if
(
!
i
.
filedFlag
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
name
+
"字段标题不能为空"
}),
!
1
;
if
(
i
.
filedRepeat
)
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"字段标题不能重复"
});
else
{
if
(
e
.
forEach
(
function
(
t
,
e
){
t
.
sort
=
e
,
t
.
isMust
=
t
.
isMust
?
1
:
0
,
t
.
memory
=
t
.
memory
?
1
:
0
,
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=
t
.
openCapitalize
?
1
:
0
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=
t
.
isMust
?
1
:
0
}),
t
.
hasOwnProperty
(
"children"
)
&&
(
t
.
children
.
forEach
(
function
(
t
,
e
){
t
.
sort
=
e
,
t
.
isMust
=
t
.
isMust
?
1
:
0
,
t
.
memory
=
t
.
memory
?
1
:
0
,
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=
t
.
isMust
?
1
:
0
}),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=
t
.
openCapitalize
?
1
:
0
)}),
t
.
list
=
t
.
children
)}),
!
e
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请先配置字段"
}),
!
1
;
"save"
===
t
?
this
.
saveAllData
(
e
):
this
.
postPreview
(
e
)}},
500
),
saveAllData
:
function
(
t
){
var
e
=
this
,
i
=
{
status
:
1
,
brandId
:
e
.
brandId
,
templateContent
:
d
()(
t
),
title
:
e
.
templateObj
.
title
,
description
:
e
.
templateObj
.
description
,
storeType
:
e
.
templateObj
.
storeType
,
memory
:[]};
Object
(
w
.
e
)(
"/haoban-app-daily-web/daily/save-define-template"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
b
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
changeRoute
(
"/customReport?brandId="
+
e
.
brandId
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
);
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
postPreview
:
function
(
t
){
var
e
=
this
,
i
=
{
templateType
:
1
,
brandId
:
e
.
brandId
,
templateContent
:
d
()(
t
)};
Object
(
w
.
e
)(
"/haoban-app-daily-web/daily/preview-template"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
){
var
a
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
s
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?enterpriseId="
+
a
+
"&templateId="
+
i
.
result
+
"&brandId="
+
e
.
brandId
;
return
e
.
$refs
.
qrcodePreview
.
qrcode
(
s
,
"daily-preview"
),
void
(
e
.
dialogVisible
=!
0
)}
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
closeDialog
:
function
(){
this
.
dialogVisible
=!
1
},
getHasStores
:
function
(){
var
t
=
this
;
Object
(
w
.
e
)(
"/haoban-app-daily-web/daily/has-defined-template-store-type"
,{
brandId
:
t
.
brandId
}).
then
(
function
(
e
){
var
i
=
e
.
data
;
1
!=
i
.
errorCode
?
I
.
a
.
errorMsg
(
i
):
t
.
storeList
.
forEach
(
function
(
e
){
i
.
result
&&
i
.
result
.
length
&&
i
.
result
.
includes
(
o
()(
e
.
id
))
&&
(
e
.
disabled
=!
0
),
"edit"
==
t
.
oparateType
&&
t
.
storeType
==
e
.
id
&&
(
e
.
disabled
=!
1
)})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getAllFields
:
function
(
t
){
var
e
=
this
;
Object
(
w
.
e
)(
"/haoban-app-daily-web/daily/get-template-items"
,{
brandId
:
e
.
brandId
,
type
:
t
}).
then
(
function
(
i
){
var
a
=
i
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
forEach
(
function
(
e
){
e
.
isMust
=!!
e
.
isMust
,
e
.
memory
=!!
e
.
memory
,
e
.
title
=
e
.
title
.
trim
(),
e
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
e
.
openCapitalize
=!!
e
.
openCapitalize
),
e
.
hasOwnProperty
(
"list"
)
&&
e
.
list
&&
e
.
list
.
length
&&
e
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
}),
e
.
systemFlag
=
3
!=
t
,
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
children
=
[])}),
void
(
3
==
t
?
e
.
defineInfo
=
a
.
result
:
e
.
handleAllFields
(
a
.
result
));
I
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAllFields
:
function
(
t
){
var
e
=
this
;
t
.
forEach
(
function
(
t
){
t
.
fixed
=!
1
,
1
==
t
.
classify
&&
(
t
.
parentCode
=
"tradeInfo"
,
e
.
tradeInfo
.
push
(
t
)),
2
==
t
.
classify
&&
(
t
.
parentCode
=
"personInfo"
,
e
.
personInfo
.
push
(
t
)),
3
==
t
.
classify
&&
(
t
.
parentCode
=
"goodsInfo"
,
e
.
goodsInfo
.
push
(
t
)),
4
==
t
.
classify
&&
(
t
.
parentCode
=
"competeInfo"
,
e
.
competeInfo
.
push
(
t
))})},
getInfo
:
function
(){
var
t
=
this
;
Object
(
w
.
e
)(
"/haoban-app-daily-web/daily/get-define-template"
,{
templateId
:
t
.
templateId
}).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
t
.
setList
=
[],
i
.
result
&&
(
t
.
templateObj
.
title
=
i
.
result
.
title
,
t
.
templateObj
.
description
=
i
.
result
.
description
,
t
.
storeType
=
"edit"
==
t
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
t
.
templateObj
.
storeType
=
"edit"
==
t
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
i
.
result
.
templateContent
&&
i
.
result
.
templateContent
.
length
&&
t
.
handleGetInfo
(
i
.
result
.
templateContent
)),
void
t
.
getHasStores
();
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
treeData
:
function
(
t
){
var
e
=
t
.
filter
(
function
(
e
){
var
i
=
t
.
filter
(
function
(
t
){
return
e
.
fieldCode
==
t
.
parentCode
});
return
i
.
length
>
0
&&
(
e
.
children
=
i
),
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
},
handleGetInfo
:
function
(
t
){
var
e
=
this
,
i
=
JSON
.
parse
(
d
()(
t
));
e
.
cids
=
[],
e
.
setParent
=
[],
i
.
forEach
(
function
(
t
,
i
){
t
.
title
=
t
.
title
.
trim
(),
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
t
.
name
.
includes
(
"textc"
)
||
t
.
name
.
includes
(
"paragraphc"
)
||
t
.
name
.
includes
(
"numberc"
)
||
t
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
t
.
name
.
includes
(
"datec"
)
||
t
.
name
.
includes
(
"dateareac"
)
||
t
.
name
.
includes
(
"picc"
)
||
t
.
name
.
includes
(
"introductionc"
)
||
t
.
name
.
includes
(
"pricec"
)
||
t
.
name
.
includes
(
"groupc"
)?(
t
.
systemFlag
=!
1
,
t
.
parentCode
=
"defineInfo"
):(
e
.
setParent
.
push
(
t
.
name
),
t
.
systemFlag
=!
0
,
1
==
t
.
classify
&&
(
t
.
parentCode
=
"tradeInfo"
),
2
==
t
.
classify
&&
(
t
.
parentCode
=
"personInfo"
),
3
==
t
.
classify
&&
(
t
.
parentCode
=
"goodsInfo"
),
4
==
t
.
classify
&&
(
t
.
parentCode
=
"competeInfo"
)),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=!!
t
.
openCapitalize
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
&&
t
.
list
.
length
&&
(
t
.
list
.
forEach
(
function
(
i
){(
i
.
isMust
=!!
i
.
isMust
,
t
.
name
.
includes
(
"groupc"
))
&&
(
i
.
isMust
=!!
i
.
isMust
,
i
.
memory
=!!
i
.
memory
,
i
.
name
.
includes
(
"textc"
)
||
i
.
name
.
includes
(
"paragraphc"
)
||
i
.
name
.
includes
(
"numberc"
)
||
i
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
i
.
name
.
includes
(
"datec"
)
||
i
.
name
.
includes
(
"dateareac"
)
||
i
.
name
.
includes
(
"picc"
)
||
i
.
name
.
includes
(
"introductionc"
)
||
i
.
name
.
includes
(
"pricec"
)
||
i
.
name
.
includes
(
"groupc"
)?
i
.
systemFlag
=!
1
:(
e
.
setParent
.
push
(
i
.
name
),
i
.
systemFlag
=!
0
,
1
==
i
.
classify
&&
(
i
.
parentCode
=
"tradeInfo"
),
2
==
i
.
classify
&&
(
i
.
parentCode
=
"personInfo"
),
3
==
i
.
classify
&&
(
i
.
parentCode
=
"goodsInfo"
),
4
==
i
.
classify
&&
(
i
.
parentCode
=
"competeInfo"
)))}),
t
.
name
.
includes
(
"groupc"
)
&&
(
t
.
children
=
t
.
list
)),
e
.
cids
.
push
(
o
()(
t
.
cid
.
match
(
/
\d
+/g
))),
t
.
hasOwnProperty
(
"children"
)
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
e
.
cids
.
push
(
o
()(
t
.
cid
.
match
(
/
\d
+/g
)))})}),
e
.
counter
=
Math
.
max
.
apply
(
Math
,
n
()(
e
.
cids
)),
e
.
tempaletDataList
=
i
,
setTimeout
(
function
(){
e
.
setFixed
()},
500
)},
setFixed
:
function
(){
var
t
=
this
;[
"tradeInfo"
,
"personInfo"
,
"goodsInfo"
,
"competeInfo"
].
forEach
(
function
(
e
){
t
[
e
].
forEach
(
function
(
e
){
t
.
setParent
.
includes
(
e
.
name
)
&&
(
e
.
fixed
=!
0
)})})}},
watch
:{
isDragging
:
function
(
t
){
var
e
=
this
;
t
?
e
.
delayedDragging
=!
0
:
e
.
$nextTick
(
function
(){
e
.
delayedDragging
=!
1
})}},
components
:{
draggable
:
p
.
a
,
AddInput
:
u
.
a
,
limitInput
:
v
.
a
,
imageCom
:
h
.
default
,
selectCom
:
f
.
default
,
dateRangeCom
:
_
.
default
,
inputCom
:
g
.
default
,
blockCom
:
y
.
default
,
qrcodeDialog
:
C
.
a
},
mounted
:
function
(){
var
t
=
this
,
e
=
t
.
$route
.
query
;
t
.
brandId
=
t
.
$route
.
query
.
brandId
,
s
.
a
.
all
([
t
.
getAllFields
(
2
)]).
then
(
function
(
i
){
t
.
getAllFields
(
3
),
e
.
hasOwnProperty
(
"templateId"
)?(
t
.
templateId
=
e
.
templateId
,
t
.
oparateType
=
e
.
type
,
t
.
getInfo
()):
t
.
getHasStores
()}).
catch
(
function
(
t
){
console
.
log
(
t
)}),
document
.
body
.
ondrop
=
function
(
t
){
t
.
preventDefault
(),
t
.
stopPropagation
()}}},
T
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"template-wrap"
,
style
:{
height
:
t
.
bodyHeight
}},[
a
(
"div"
,{
staticClass
:
"template-contain"
},[
a
(
"div"
,{
staticClass
:
"template-head"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-btns flex-1 flex-r"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
saveAndBack
(
"preview"
)}}},[
t
.
_v
(
"预 览"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
returnBack
}},[
t
.
_v
(
"返 回"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
saveAndBack
(
"save"
)}}},[
t
.
_v
(
"保存并启用"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-body"
},[
a
(
"div"
,{
staticClass
:
"template-cell template-cell-l"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
activeName
,
callback
:
function
(
e
){
t
.
activeName
=
e
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"系统字段"
,
name
:
"first"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"交易"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list1"
,
list
:
t
.
tradeInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
tradeInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
,
"aria-hidden"
:
"true"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"人员"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list2"
,
list
:
t
.
personInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
personInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"商品"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list3"
,
list
:
t
.
goodsInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
goodsInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"竞品"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list4"
,
list
:
t
.
competeInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
competeInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
)]),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义字段"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
}),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
t
.
defineInfo
,
options
:
t
.
leftDefineOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onChildMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
defineInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
,
11
==
e
.
type
?
"block-class"
:
""
],
attrs
:{
"data-type"
:
e
.
fieldCode
}},[
0
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
5
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
9
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
10
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
11
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
0
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-one"
}):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-two"
}):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-three"
}):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-four"
}):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-five"
}):
t
.
_e
(),
t
.
_v
(
" "
),
5
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-six"
}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-seven"
}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eight"
}):
t
.
_e
(),
t
.
_v
(
" "
),
9
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-ten"
}):
t
.
_e
(),
t
.
_v
(
" "
),
10
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eleven"
}):
t
.
_e
(),
t
.
_v
(
" "
),
11
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-twelve"
}):
t
.
_e
()])}))],
1
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-m"
},[
a
(
"div"
,{
staticClass
:
"phone-view"
},[
a
(
"div"
,{
staticClass
:
"phone-show-content"
},[
a
(
"div"
,{
staticClass
:
"drag-show-content"
},[
a
(
"div"
,{
staticClass
:
"view-container"
},[
a
(
"ul"
,{
staticClass
:
"view-content"
,
attrs
:{
id
:
"showPhoneView"
}},[
0
==
t
.
tempaletDataList
.
length
?[
a
(
"img"
,{
staticClass
:
"templet-null-img"
,
attrs
:{
src
:
i
(
"Y7wY"
)}})]:
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
model
:{
value
:
t
.
tempaletDataList
,
callback
:
function
(
e
){
t
.
tempaletDataList
=
e
},
expression
:
"tempaletDataList"
}},
t
.
_l
(
t
.
tempaletDataList
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
"li1"
+
i
,
class
:[
"filed-item"
,
t
.
currentIndex
==
i
?
"active-item"
:
""
,
"li-block"
],
on
:{
click
:
function
(
a
){
t
.
selectItem
(
e
.
fieldCode
,
i
)}}},[
"baseInfo"
!=
e
.
fieldCode
?
a
(
"span"
,{
staticClass
:
"item-close p-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
deleteItem
(
e
.
name
,
e
.
parentCode
,
i
,
e
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
systemFlag
||!
e
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,[
1
==
e
.
type
||
2
==
e
.
type
||
3
==
e
.
type
||
10
==
e
.
type
||
9
==
e
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
||
5
==
e
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"11"
==
e
.
type
?
a
(
"block-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
()],
1
):
t
.
_e
(),
t
.
_v
(
" "
),[
e
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,{
staticClass
:
"block"
},[
a
(
"div"
,{
staticClass
:
"block-head"
},[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
e
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))])]),
t
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"view-content"
},[
a
(
"draggable"
,{
class
:[
"drag-wrap"
,
"block-wrap"
,
e
.
fieldCode
],
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
add
:
t
.
addDragItem
},
model
:{
value
:
e
.
children
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"children"
,
i
)},
expression
:
"item.children"
}},
t
.
_l
(
e
.
children
,
function
(
s
,
l
){
return
a
(
"li"
,{
key
:
"li"
+
l
,
class
:[
"filed-item"
,
"child-filed-item"
,
t
.
currentChildKey
==
s
.
name
&&
t
.
currentChildIndex
==
l
?
"active-item"
:
""
],
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
selectChildItem
(
s
.
name
,
i
,
l
,
e
.
children
)}}},[
a
(
"span"
,{
staticClass
:
"item-close child-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
deleteChildItem
(
s
.
name
,
i
,
l
,
e
.
children
,
s
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]),
t
.
_v
(
" "
),
4
==
s
.
type
||
5
==
s
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
s
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
s
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
s
.
type
||
2
==
s
.
type
||
3
==
s
.
type
||
10
==
s
.
type
||
9
==
s
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"11"
==
s
.
type
&&
s
.
systemFlag
?
a
(
"block-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
()],
1
)}))],
1
)]):
t
.
_e
()]],
2
)}))],
2
)])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-r define-template-tab"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
rightName
,
callback
:
function
(
e
){
t
.
rightName
=
e
},
expression
:
"rightName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"控件设置"
,
name
:
"first"
}},[
a
(
"div"
,{
attrs
:{
id
:
"edit-box"
}},[
a
(
"div"
,{
staticClass
:
"edit-view baby-info-flag baby-info"
},[
t
.
_l
(
t
.
tempaletDataList
,
function
(
e
,
i
){
return
[
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
6
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
title
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"title"
,
i
)}}}),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
t
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child62"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
startTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"startTitle"
,
i
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child64"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题2 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
endTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"endTitle"
,
i
)}}})],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
11
==
e
.
type
||
5
==
e
.
type
||
7
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"提示文字最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
2
==
e
.
type
||
9
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入500个字"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入100个字"
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
3
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child11"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"单位最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
"4"
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"选项 "
),
e
.
systemFlag
?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"最多20项,每项最多10个字"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
list
,
function
(
s
,
l
){
return
[
a
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
s
,
"value"
,
e
)}}}),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
e
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
t
.
delChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
l
<
19
?[
l
==
e
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
t
.
addChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
()]:
t
.
_e
()],
2
)]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"parent22"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"选择框类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
t
.
_v
(
"单选"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
t
.
_v
(
"多选"
)])],
1
)])],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
5
!=
e
.
type
&&
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child117"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"日期类型"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
10
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent210"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"大写"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
openCapitalize
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"openCapitalize"
,
i
)},
expression
:
"item.openCapitalize"
}},[
t
.
_v
(
"显示大写"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
name
.
includes
(
"groupc"
)?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent2"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
t
.
changeMust
(
i
,
!!
e
.
list
,
e
)}},
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"item.isMust"
}},[
t
.
_v
(
"必填"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
"performanceKing"
!=
e
.
name
&&
"competitorInfo"
!=
e
.
name
?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent21"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证 是否必填"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
t
.
_l
(
e
.
list
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
"list"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
t
.
_v
(
t
.
_s
(
e
.
title
))])],
1
)}))])],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
name
.
includes
(
"groupc"
)?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent3"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"记忆"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
memory
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"memory"
,
i
)},
expression
:
"item.memory"
}},[
t
.
_v
(
"是否记忆"
)])],
1
)],
t
.
_v
(
" "
),
t
.
childIndex
==
i
&&
e
.
children
&&
e
.
children
.
length
?[
t
.
_l
(
e
.
children
,
function
(
e
,
s
){
return
[
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
6
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
title
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"title"
,
i
)}}}),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
t
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child2"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
startTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"startTitle"
,
i
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child4"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题2 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
endTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"endTitle"
,
i
)}}})],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
5
==
e
.
type
||
7
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"提示文字最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
2
==
e
.
type
||
9
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入500个字"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入100个字"
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
3
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child6"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"单位最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
unit
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"unit"
,
i
)}}}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
5
!=
e
.
type
&&
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child7"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"日期类型"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
"4"
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child9"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"选项 "
),
e
.
systemFlag
?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"最多20项,每项最多10个字"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
list
,
function
(
s
,
l
){
return
[
a
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
s
,
"value"
,
e
)}}}),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
e
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
t
.
delChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
l
<
19
?[
l
==
e
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
t
.
addChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
()]:
t
.
_e
()],
2
)]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child922"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"选择框类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
t
.
_v
(
"单选"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
t
.
_v
(
"多选"
)])],
1
)])],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
10
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child910"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"大写"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
openCapitalize
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"openCapitalize"
,
i
)},
expression
:
"childItem.openCapitalize"
}},[
t
.
_v
(
"显示大写"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child11"
+
s
,
staticClass
:
"edit-item"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"验证"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
t
.
changeMust
(
i
,
!!
e
.
list
,
e
)}},
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"childItem.isMust"
}},[
t
.
_v
(
"必填"
)])],
1
)]:
t
.
_e
(),
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
"performanceKing"
!=
e
.
name
&&
"competitorInfo"
!=
e
.
name
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证 是否必填"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
t
.
_l
(
e
.
list
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
"list111"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
t
.
_v
(
t
.
_s
(
e
.
title
))])],
1
)}))])],
t
.
_v
(
" "
),
t
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child12"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"记忆"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
memory
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"memory"
,
i
)},
expression
:
"childItem.memory"
}},[
t
.
_v
(
"是否记忆"
)])],
1
)]:
t
.
_e
()]})]:
t
.
_e
()]})],
2
)])]),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"模板设置"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"template-item limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"模板名称 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
templateObj
.
title
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"title"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-item limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"模板描述 最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
templateObj
.
description
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"description"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"门店类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"store-type-list"
},
t
.
_l
(
t
.
storeList
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
e
.
name
+
i
,
staticClass
:
"store-type-cell m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
e
.
id
,
disabled
:
e
.
disabled
},
model
:{
value
:
t
.
templateObj
.
storeType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"storeType"
,
e
)},
expression
:
"templateObj.storeType"
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])],
1
)}))])])],
1
)],
1
)])]),
t
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
t
.
dialogVisible
,
callback
:
function
(
e
){
t
.
dialogVisible
=
e
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"template-title flex-1"
},[
e
(
"img"
,{
attrs
:{
src
:
i
(
"LbEI"
),
alt
:
"logo"
}}),
this
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"template-title-span"
},[
this
.
_v
(
"日报设置"
)])])}]};
var
M
=
i
(
"VU/8"
)(
k
,
T
,
!
1
,
function
(
t
){
i
(
"EWqx"
)},
"data-v-fe6d56f6"
,
null
);
e
.
default
=
M
.
exports
},
PAYw
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"block-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"block block-field"
},[
i
(
"div"
,{
staticClass
:
"block-head"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
childItem
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))])]),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"view-content"
},
t
.
_l
(
t
.
childItem
.
list
,
function
(
e
,
a
){
return
i
(
"li"
,{
key
:
"performance"
+
a
,
staticClass
:
"block-filed-item border-bottom-1"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag "
},[
t
.
_v
(
t
.
_s
(
e
.
placeholder
)
+
" "
+
t
.
_s
(
e
.
isMust
?
"(必填)"
:
""
))])])])})),
t
.
_v
(
" "
),
"competitorInfo"
==
t
.
childItem
.
name
?
i
(
"div"
,{
staticClass
:
"compete-add"
},[
t
.
_v
(
"
\
n +竞品信息
\
n "
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"1NWy"
)},
"data-v-97f6d394"
,
null
);
e
.
default
=
l
.
exports
},
"fIe/"
:
function
(
t
,
e
){},
lpYn
:
function
(
t
,
e
){},
"s4D+"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"input-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
class
:[
2
==
t
.
childItem
.
type
?
"h-66"
:
""
]},[
9
!=
t
.
childItem
.
type
?
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
,
style
:{
"padding-left"
:
9
==
t
.
childItem
.
type
?
"15px"
:
"0"
}},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))])]),
t
.
_v
(
" "
),
10
==
t
.
childItem
.
type
&&
t
.
childItem
.
openCapitalize
?
i
(
"div"
,{
staticClass
:
"show-capitalize font-12 color-909399 p-l-10 border-box"
},[
t
.
_v
(
"大写:壹万元整(示例)"
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"lpYn"
)},
"data-v-51432d8f"
,
null
);
e
.
default
=
l
.
exports
},
t0b0
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"select-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"fIe/"
)},
"data-v-3fd29910"
,
null
);
e
.
default
=
l
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/81.458561c7080bbb2b8b51.js
deleted
100644 → 0
View file @
3cc1f696
webpackJsonp
([
81
],{
Aibu
:
function
(
e
,
t
){},
"N+Or"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"gBtx"
),
o
=
a
.
n
(
s
),
r
=
a
(
"Xxa5"
),
n
=
a
.
n
(
r
),
i
=
a
(
"exGp"
),
l
=
a
.
n
(
i
),
c
=
a
(
"Ke24"
),
u
=
a
(
"Ie7z"
),
m
=
a
(
"jxcq"
),
d
=
a
(
"a9gP"
),
p
=
a
(
"3E4D"
),
g
=
a
(
"Ch4/"
),
b
=
a
(
"PI0u"
),
h
=
a
(
"P9l9"
),
v
=
{
name
:
"app-detail"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
tabType
:{
type
:
String
,
default
:
function
(){
return
"1"
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
activeName
:
"first"
,
activeGroup
:
this
.
activeGroupId
,
myCustomData
:{
searchFlag
:
!
1
,
chatFlag
:
!
1
,
mainStoreFlag
:
!
1
,
minorStoreFlag
:
!
1
,
openCardStoreFlag
:
!
1
,
clerkSeeOtherFlag
:
!
1
,
isSeeAuthMember
:
!
1
,
allowGuideContact
:
!
1
,
allowGuideMobile
:
!
1
,
allowGuideMessage
:
!
1
,
allowGuideOnlineChat
:
!
1
,
showFreezeFlag
:
!
1
},
topMenuData
:[{
id
:
"1"
,
name
:
"会员搜索设置"
}],
activeId
:
"1"
,
overTimeSeeFlag
:
""
,
conditionObj
:{
searchInput
:
""
,
classifyName
:
""
,
effectiveStatus
:
""
},
groupListData
:[],
classifyList
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
syncDate
:
""
}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
getSyncDate
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
t
.
brandId
||
e
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/get-group_last_syn_time"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
g
.
a
.
errorMsg
(
a
):
t
.
syncDate
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toSync
:
Object
(
b
.
a
)(
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
brandId
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/syn-group"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
p
.
a
.
showmsg
(
"同步成功"
,
"success"
),
void
e
.
getSyncDate
();
g
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
500
),
handleTabClick
:
function
(
e
,
t
){
var
a
=
this
;
return
l
()(
n
.
a
.
mark
(
function
t
(){
var
s
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
s
=
a
,
"first"
!=
e
.
name
){
t
.
next
=
5
;
break
}
s
.
getCustomerSet
(
s
.
brandId
),
t
.
next
=
15
;
break
;
case
5
:
if
(
"second"
!=
e
.
name
){
t
.
next
=
9
;
break
}
s
.
getShowSet
(
s
.
brandId
),
t
.
next
=
15
;
break
;
case
9
:
return
t
.
next
=
11
,
s
.
getGroupClassSet
(
s
.
brandId
);
case
11
:
return
t
.
next
=
13
,
s
.
getGroupClassify
(
s
.
brandId
);
case
13
:
return
t
.
next
=
15
,
s
.
getGroupList
(
s
.
brandId
);
case
15
:
case
"end"
:
return
t
.
stop
()}},
t
,
a
)}))()},
getGroupClassSet
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
e
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/get-member-group-setting"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
g
.
a
.
errorMsg
(
a
):
t
.
overTimeSeeFlag
=
0
!=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
saveGroupSet
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
brandId
,
overTimeSeeFlag
:
1
==
e
.
overTimeSeeFlag
?
1
:
0
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/save-member-group-setting"
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
p
.
a
.
showmsg
(
"设置成功"
,
"success"
),
!
1
;
g
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toInput
:
Object
(
b
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
changeCondition
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
getGroupClassify
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
e
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/get-member-class-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
g
.
a
.
errorMsg
(
a
):
t
.
classifyList
=
a
.
result
.
list
||
[]}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toEditGroup
:
function
(
e
,
t
){
this
.
memberTagGroupId
=
t
.
memberTagGroupId
,
this
.
getGroupSet
()},
getGroupSet
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
brandId
,
memberTagGroupId
:
e
.
memberTagGroupId
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/find-gorup-see-range"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
length
&&
a
.
result
.
forEach
(
function
(
e
){
2
===
o
()(
e
.
type
)
&&
(
e
.
groupId
=
e
.
id
),
e
.
label
=
e
.
name
}),
e
.
defaultStoreList
=
a
.
result
||
[],
void
(
e
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
});
g
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSelectedList
:
function
(
e
){
console
.
log
(
e
);
this
.
defaultStoreList
=
e
||
[],
this
.
saveGorupRange
()},
saveGorupRange
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
defaultStoreList
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
s
=
{
brandId
:
e
.
brandId
,
memberTagGroupId
:
e
.
memberTagGroupId
,
groupList
:
t
||
[],
storeList
:
a
||
[]};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/save-gorup-see-range"
,
s
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
p
.
a
.
showmsg
(
"编辑成功"
,
"success"
),
void
(
e
.
defaultStoreList
=
[]);
g
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toChangeTemp
:
function
(
e
,
t
,
a
){
var
s
=
this
;
console
.
log
(
e
,
t
,
a
);
var
o
=
{
brandId
:
s
.
brandId
,
memberTagGroupId
:
a
.
memberTagGroupId
,
isSendTemplate
:
1
==
a
.
isSendTemplate
?
1
:
0
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/save-member-group-is-template-message"
,
o
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
p
.
a
.
showmsg
(
"操作成功"
,
"success"
),
s
.
pageNum
=
1
,
void
s
.
getGroupList
(
s
.
brandId
);
a
.
isSendTemplate
=!
1
,
g
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
s
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getGroupList
(
this
.
brandId
)},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getGroupList
(
this
.
brandId
)},
getGroupList
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
e
,
memberGroupName
:
t
.
conditionObj
.
searchInput
,
classifyName
:
t
.
conditionObj
.
classifyName
,
effectiveStatus
:
t
.
conditionObj
.
effectiveStatus
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/member-tag-group-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
length
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
isSendTemplate
=
1
==
e
.
isSendTemplate
}),
t
.
groupListData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
g
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
submit
:
Object
(
b
.
a
)(
function
(
e
){
this
.
setData
(
e
)},
500
),
setData
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
t
.
brandId
,
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
},
s
=
void
0
;
"showFlag"
!=
e
?(
a
[
e
]
=
t
.
myCustomData
[
e
]?
1
:
0
,
s
=
"/haoban-app-member-web/customer/save-online-chat-setting"
,
"searchFlag"
===
e
&&
(
s
=
"/haoban-app-member-web/customer/save-customer-setting"
)):(
a
.
mainStoreFlag
=
t
.
myCustomData
.
mainStoreFlag
?
1
:
0
,
a
.
minorStoreFlag
=
t
.
myCustomData
.
minorStoreFlag
?
1
:
0
,
a
.
openCardStoreFlag
=
t
.
myCustomData
.
openCardStoreFlag
?
1
:
0
,
a
.
clerkSeeOtherFlag
=
t
.
myCustomData
.
clerkSeeOtherFlag
?
1
:
0
,
a
.
allowGuideContact
=
t
.
myCustomData
.
allowGuideContact
?
1
:
0
,
a
.
allowGuideMobile
=
t
.
myCustomData
.
allowGuideMobile
?
1
:
0
,
a
.
allowGuideMessage
=
t
.
myCustomData
.
allowGuideMessage
?
1
:
0
,
a
.
allowGuideOnlineChat
=
t
.
myCustomData
.
allowGuideOnlineChat
?
1
:
0
,
a
.
isSeeAuthMember
=
t
.
myCustomData
.
isSeeAuthMember
?
1
:
0
,
a
.
showFreezeFlag
=
t
.
myCustomData
.
showFreezeFlag
?
1
:
0
,
a
.
chatFlag
=
t
.
myCustomData
.
chatFlag
,
a
.
isMessageRemind
=
t
.
myCustomData
.
isMessageRemind
,
a
.
messageRemindTime
=
t
.
myCustomData
.
messageRemindTime
,
a
.
isTemplateMessage
=
t
.
myCustomData
.
isTemplateMessage
,
a
.
isImgMessage
=
t
.
myCustomData
.
isImgMessage
,
a
.
isGoodMessage
=
t
.
myCustomData
.
isGoodMessage
,
a
.
isIntegralGoodMessage
=
t
.
myCustomData
.
isIntegralGoodMessage
,
s
=
"/haoban-app-member-web/customer/save-member-show-setting"
),
Object
(
h
.
e
)(
s
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
g
.
a
.
errorMsg
(
t
):
p
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
changeAllowGuide
:
function
(
e
){
this
.
myCustomData
.
allowGuideMobile
=
e
,
this
.
myCustomData
.
allowGuideMessage
=
e
,
this
.
myCustomData
.
allowGuideOnlineChat
=
e
},
changeContact
:
function
(){
this
.
myCustomData
.
allowGuideMobile
||
this
.
myCustomData
.
allowGuideMessage
||
this
.
myCustomData
.
allowGuideOnlineChat
||
(
this
.
myCustomData
.
allowGuideContact
=!
1
)},
getCustomerSet
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
e
};
Object
(
h
.
e
)(
"/haoban-app-member-web/customer/find-customer-setting"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
g
.
a
.
errorMsg
(
a
):
a
.
result
&&
(
t
.
myCustomData
.
searchFlag
=!!
a
.
result
.
searchFlag
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getShowSet
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
e
};
Object
(
h
.
e
)(
"/haoban-app-member-web/customer/find-member-show-setting"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
g
.
a
.
errorMsg
(
a
):
a
.
result
&&
(
a
.
result
.
mainStoreFlag
=
1
==
a
.
result
.
mainStoreFlag
,
a
.
result
.
minorStoreFlag
=
1
==
a
.
result
.
minorStoreFlag
,
a
.
result
.
openCardStoreFlag
=
1
==
a
.
result
.
openCardStoreFlag
,
a
.
result
.
clerkSeeOtherFlag
=
1
==
a
.
result
.
clerkSeeOtherFlag
,
a
.
result
.
allowGuideContact
=
1
==
a
.
result
.
allowGuideContact
,
a
.
result
.
allowGuideMobile
=
1
==
a
.
result
.
allowGuideMobile
,
a
.
result
.
allowGuideMessage
=
1
==
a
.
result
.
allowGuideMessage
,
a
.
result
.
allowGuideOnlineChat
=
1
==
a
.
result
.
allowGuideOnlineChat
,
a
.
result
.
isSeeAuthMember
=
1
==
a
.
result
.
isSeeAuthMember
,
a
.
result
.
showFreezeFlag
=
1
==
a
.
result
.
showFreezeFlag
,
a
.
result
.
searchFlag
=
1
==
a
.
result
.
searchFlag
,
t
.
myCustomData
=
a
.
result
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
this
.
getCustomerSet
(
e
),
this
.
getShowSet
(
e
),
this
.
getGroupClassify
(
e
),
this
.
getGroupList
(
e
),
this
.
getGroupClassSet
(
e
),
this
.
getSyncDate
(
e
)},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)},
tabType
:
function
(
e
,
t
){
1
==
e
?(
this
.
getShowSet
(
this
.
brandId
),
this
.
topMenuData
=
[{
id
:
"1"
,
name
:
"会员搜索设置"
}],
this
.
activeId
=
1
):(
this
.
topMenuData
=
[{
id
:
"2"
,
name
:
"在线沟通设置"
}],
this
.
activeId
=
"2"
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
brandId
&&
1
!=
this
.
brandId
&&
(
this
.
getCustomerSet
(
this
.
brandId
),
this
.
getShowSet
(
this
.
brandId
),
this
.
getGroupClassify
(
this
.
brandId
),
this
.
getGroupList
(
this
.
brandId
),
this
.
getGroupClassSet
(
this
.
brandId
),
this
.
getSyncDate
(
this
.
brandId
))},
components
:{
commonDetailTop
:
c
.
a
,
vueSelectStore
:
u
.
a
,
onlineChat
:
m
.
a
,
chatLog
:
d
.
a
}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
1
==
e
.
tabType
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"common-detail-tab"
},[
a
(
"el-tabs"
,{
staticClass
:
"daily-set-tab"
,
on
:{
"tab-click"
:
e
.
handleTabClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"会员搜索设置"
,
name
:
"first"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"会员展示设置"
,
name
:
"second"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"会员分组设置"
,
name
:
"third"
}})],
1
)],
1
),
e
.
_v
(
" "
),
"first"
==
e
.
activeName
?
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
myCustomData
.
searchFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"searchFlag"
,
t
)},
expression
:
"myCustomData.searchFlag"
}},[
e
.
_v
(
"允许全品牌搜索"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-46"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submit
(
"searchFlag"
)}}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
"second"
==
e
.
activeName
?
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-checkbox"
,{
staticClass
:
"w-195"
,
model
:{
value
:
e
.
myCustomData
.
mainStoreFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"mainStoreFlag"
,
t
)},
expression
:
"myCustomData.mainStoreFlag"
}},[
e
.
_v
(
"展示服务门店会员"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"注:保存勾选项后,门店导购和店长可查看本门店作为服务门店名下会员"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-checkbox"
,{
staticClass
:
"w-195"
,
model
:{
value
:
e
.
myCustomData
.
minorStoreFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"minorStoreFlag"
,
t
)},
expression
:
"myCustomData.minorStoreFlag"
}},[
e
.
_v
(
"展示协管门店会员"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"注:保存勾选项后,门店导购和店长可查看本门店作为协管门店名下会员"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-checkbox"
,{
staticClass
:
"w-195"
,
model
:{
value
:
e
.
myCustomData
.
openCardStoreFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"openCardStoreFlag"
,
t
)},
expression
:
"myCustomData.openCardStoreFlag"
}},[
e
.
_v
(
"展示开卡门店会员"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"注:保存勾选项后,门店导购和店长可查看本门店作为开卡门店名下会员"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-checkbox"
,{
staticClass
:
"w-195"
,
model
:{
value
:
e
.
myCustomData
.
showFreezeFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"showFreezeFlag"
,
t
)},
expression
:
"myCustomData.showFreezeFlag"
}},[
e
.
_v
(
"展示冻结会员"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-909399 set-tip-item"
},[
e
.
_v
(
"注:保存勾选项后,门店导购和店长可查看本门店冻结会员"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-checkbox"
,{
staticClass
:
"w-195"
,
model
:{
value
:
e
.
myCustomData
.
isSeeAuthMember
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"isSeeAuthMember"
,
t
)},
expression
:
"myCustomData.isSeeAuthMember"
}},[
e
.
_v
(
"展示已开卡会员"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"注:保存勾选项后,门店导购和店长可查看本门店微信会员(不含未开卡会员)及POS会员"
)]),
e
.
_v
(
" "
),
a
(
"br"
),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"p-l-199 font-14 color-909399"
},[
e
.
_v
(
"不勾选将展示微信会员(即微信总量,含未开卡会员)及POS会员"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-checkbox"
,{
staticClass
:
"w-195"
,
model
:{
value
:
e
.
myCustomData
.
clerkSeeOtherFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"clerkSeeOtherFlag"
,
t
)},
expression
:
"myCustomData.clerkSeeOtherFlag"
}},[
e
.
_v
(
"允许导购查看其他导购会员"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"注:保存勾选项后,门店导购可查看本门店其他导购名下会员"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
e
.
changeAllowGuide
},
model
:{
value
:
e
.
myCustomData
.
allowGuideContact
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"allowGuideContact"
,
t
)},
expression
:
"myCustomData.allowGuideContact"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
e
.
_v
(
"允许导购主动联系会员"
)]),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-38"
},[
e
.
_v
(
"注:开启后,可选择导购在 < 我的顾客 > 中是否通过以下方式联系会员"
)])],
1
),
e
.
_v
(
" "
),
e
.
myCustomData
.
allowGuideContact
?
a
(
"div"
,[
a
(
"el-checkbox"
,{
on
:{
change
:
e
.
changeContact
},
model
:{
value
:
e
.
myCustomData
.
allowGuideMobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"allowGuideMobile"
,
t
)},
expression
:
"myCustomData.allowGuideMobile"
}},[
e
.
_v
(
"电话"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
e
.
changeContact
},
model
:{
value
:
e
.
myCustomData
.
allowGuideMessage
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"allowGuideMessage"
,
t
)},
expression
:
"myCustomData.allowGuideMessage"
}},[
e
.
_v
(
"短信"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
e
.
changeContact
},
model
:{
value
:
e
.
myCustomData
.
allowGuideOnlineChat
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"allowGuideOnlineChat"
,
t
)},
expression
:
"myCustomData.allowGuideOnlineChat"
}},[
e
.
_v
(
"消息"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-46"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submit
(
"showFlag"
)}}},[
e
.
_v
(
"保 存"
)])],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"third"
==
e
.
activeName
?
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
a
(
"div"
,{
staticClass
:
"condition-wrap font-0"
},[
a
(
"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
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"
}}),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeCondition
},
model
:{
value
:
e
.
conditionObj
.
classifyName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"classifyName"
,
t
)},
expression
:
"conditionObj.classifyName"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部"
,
value
:
""
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
classifyList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
e
,
value
:
e
}})})],
2
),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"m-l-10"
,
attrs
:{
placeholder
:
"请选择状态"
},
on
:{
change
:
e
.
changeCondition
},
model
:{
value
:
e
.
conditionObj
.
effectiveStatus
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"effectiveStatus"
,
t
)},
expression
:
"conditionObj.effectiveStatus"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部"
,
value
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"有效"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"失效"
,
value
:
"0"
}})],
1
)],
1
),
e
.
_v
(
" "
),
e
.
_m
(
0
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20 m-b-20"
},[
a
(
"div"
,{
staticClass
:
"switch-wrap m-t-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center"
},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
e
.
saveGroupSet
},
model
:{
value
:
e
.
overTimeSeeFlag
,
callback
:
function
(
t
){
e
.
overTimeSeeFlag
=
t
},
expression
:
"overTimeSeeFlag"
}}),
e
.
_v
(
" "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
}},[
e
.
_v
(
"会员分组到期后不展示"
),
a
(
"span"
,{
staticClass
:
"el-icon-info font-12 color-909399"
})])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
syncDate
?
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
e
.
_v
(
"最近一次同步时间:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
syncDate
)))]):
e
.
_e
(),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toSync
}},[
e
.
_v
(
"立即同步"
)])],
1
)])])]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
groupListData
,
"tooltip-effect"
:
"dark"
}},[
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
.
groupName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
))]}}])}),
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
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
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
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
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
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
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
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"<前提:开启模板消息开关。仅支持专属导购对<我的顾客-会员分组>中的分组下会员发送模板消息>"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
e
.
_v
(
"模板消息设置"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
a
){
e
.
toChangeTemp
(
a
,
t
.
$index
,
t
.
row
)}},
model
:{
value
:
t
.
row
.
isSendTemplate
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"isSendTemplate"
,
a
)},
expression
:
"scope.row.isSendTemplate"
}})]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"仅可编辑能在好办展示的分组"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
e
.
_v
(
"操作"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toEditGroup
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑分组可见范围"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
groupListData
.
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
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
tabType
?
a
(
"div"
,[
a
(
"online-chat"
,{
attrs
:{
brandId
:
e
.
brandId
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
tabType
?
a
(
"div"
,[
a
(
"chat-log"
,{
attrs
:{
brandId
:
e
.
brandId
,
activeGroupId
:
e
.
activeGroupId
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"condition-tip m-t-20 m-b-20"
},[
t
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
t
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"el-alert__content"
},[
t
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"注:GIC设置分组后,好办会员分组列表次日刷新,每日刷新一次,仅展示GIC中开启【好办展示】的会员分组"
)])])])])}]};
var
C
=
a
(
"VU/8"
)(
v
,
f
,
!
1
,
function
(
e
){
a
(
"Aibu"
)},
"data-v-417617e5"
,
null
);
t
.
default
=
C
.
exports
}});
\ No newline at end of file
dist/static/js/8
2.e93e0b8dc9338a7e214e
.js
→
dist/static/js/8
1.dc300d9df998b44e6232
.js
View file @
b9dcbf13
webpackJsonp
([
82
],{
"fIe/"
:
function
(
t
,
e
){},
t0b0
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
{
name
:
"select-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
a
=
0
;
a
<
t
.
length
;
a
++
){
null
!=
t
.
charAt
(
a
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"draged-item-show"
},[
a
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])},
staticRenderFns
:[]};
var
l
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
t
){
a
(
"fIe/"
)},
"data-v-3fd29910"
,
null
);
e
.
default
=
l
.
exports
}});
webpackJsonp
([
81
],{
"fIe/"
:
function
(
t
,
e
){},
t0b0
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
{
name
:
"select-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
a
=
0
;
a
<
t
.
length
;
a
++
){
null
!=
t
.
charAt
(
a
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"draged-item-show"
},[
a
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])},
staticRenderFns
:[]};
var
l
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
t
){
a
(
"fIe/"
)},
"data-v-3fd29910"
,
null
);
e
.
default
=
l
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/8
3.51b9cb2cf0033f7c0e2
a.js
→
dist/static/js/8
2.144114e508b0964b3a4
a.js
View file @
b9dcbf13
webpackJsonp
([
83
],{
ByKK
:
function
(
e
,
t
){},
Knd1
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"2eFk"
),
n
=
a
(
"fvdr"
),
o
=
a
(
"Qie6"
),
r
=
a
(
"F3nK"
),
c
=
a
(
"Ch4/"
),
s
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"云日报"
,
appIcon
:
window
.
unescape
(
this
.
$route
.
query
.
appIcon
),
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"云日报记录"
,
icon
:
"icon-ribao1"
,
onlyIconActive
:
!
1
},{
tabId
:
"22"
,
tabName
:
"任务下发设置"
,
icon
:
""
},{
tabId
:
"2"
,
tabName
:
"云日报设置"
,
icon
:
"icon-ribaoshezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"21"
,
tabName
:
"模板配置"
,
icon
:
""
,
children
:[{
tabId
:
"211"
,
tabName
:
"系统报表"
,
icon
:
""
},{
tabId
:
"212"
,
tabName
:
"自定义报表"
,
icon
:
""
}]}]}],
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
,
gicEnterpriseId
:
""
,
forbidFlag
:
"forbid"
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-over"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
expiredFlag
=
a
.
result
,
void
(
e
.
forbidFlag
=
"expired"
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getUpdated
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-use-three"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
a
.
result
?(
e
.
expiredFlag
=
a
.
result
,
e
.
forbidFlag
=
"forbid"
):
e
.
getExpired
()}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
selectBrandId
:
function
(
e
,
t
,
a
){
this
.
activeBrand
=
e
,
this
.
activeGroup
=
t
,
this
.
gicEnterpriseId
=
a
,
this
.
getUpdated
()},
setSelectTab
:
function
(
e
){
switch
(
this
.
activeTab
=
e
.
tabId
,
e
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"dailyRecord?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"2"
:
case
"21"
:
case
"211"
:
this
.
changeRoute
(
"systemReport?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"212"
:
this
.
changeRoute
(
"customReport?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"22"
:
this
.
changeRoute
(
"taskAssign?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
showTab
:
function
(
e
){
this
.
activeTab
=
e
,
this
.
activeSelTab
=
e
,
this
.
tabListData
.
forEach
(
function
(
t
){
t
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
1
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
e
,
t
){
this
.
activeBrand
=
e
},
activeGroup
:
function
(
e
,
t
){
this
.
activeGroup
=
e
}},
mounted
:
function
(){
var
e
=
this
.
$route
.
query
.
appIcon
;
e
&&
(
this
.
appIcon
=
window
.
unescape
(
e
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonAppTop
:
n
.
a
,
commonDetailLeft
:
o
.
a
,
expiredDialog
:
r
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
e
.
appName
,
appIcon
:
e
.
appIcon
},
on
:{
selectBrandId
:
e
.
selectBrandId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
e
.
tabListData
,
activeSelTab
:
e
.
activeSelTab
},
on
:{
setSelectTab
:
e
.
setSelectTab
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
e
.
activeBrand
,
activeGroupId
:
e
.
activeGroup
,
tabType
:
e
.
activeTab
},
on
:{
showTab
:
e
.
showTab
}})],
1
)],
1
)])])],
1
),
e
.
_v
(
" "
),
e
.
expiredFlag
?
a
(
"expired-dialog"
,{
attrs
:{
forbidFlag
:
e
.
forbidFlag
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
e
){
a
(
"ByKK"
)},
"data-v-3cfa1f85"
,
null
);
t
.
default
=
u
.
exports
}});
webpackJsonp
([
82
],{
ByKK
:
function
(
e
,
t
){},
Knd1
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"2eFk"
),
n
=
a
(
"fvdr"
),
o
=
a
(
"Qie6"
),
r
=
a
(
"F3nK"
),
c
=
a
(
"Ch4/"
),
s
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"云日报"
,
appIcon
:
window
.
unescape
(
this
.
$route
.
query
.
appIcon
),
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"云日报记录"
,
icon
:
"icon-ribao1"
,
onlyIconActive
:
!
1
},{
tabId
:
"22"
,
tabName
:
"任务下发设置"
,
icon
:
""
},{
tabId
:
"2"
,
tabName
:
"云日报设置"
,
icon
:
"icon-ribaoshezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"21"
,
tabName
:
"模板配置"
,
icon
:
""
,
children
:[{
tabId
:
"211"
,
tabName
:
"系统报表"
,
icon
:
""
},{
tabId
:
"212"
,
tabName
:
"自定义报表"
,
icon
:
""
}]}]}],
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
,
gicEnterpriseId
:
""
,
forbidFlag
:
"forbid"
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-over"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
expiredFlag
=
a
.
result
,
void
(
e
.
forbidFlag
=
"expired"
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getUpdated
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-use-three"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
a
.
result
?(
e
.
expiredFlag
=
a
.
result
,
e
.
forbidFlag
=
"forbid"
):
e
.
getExpired
()}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
selectBrandId
:
function
(
e
,
t
,
a
){
this
.
activeBrand
=
e
,
this
.
activeGroup
=
t
,
this
.
gicEnterpriseId
=
a
,
this
.
getUpdated
()},
setSelectTab
:
function
(
e
){
switch
(
this
.
activeTab
=
e
.
tabId
,
e
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"dailyRecord?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"2"
:
case
"21"
:
case
"211"
:
this
.
changeRoute
(
"systemReport?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"212"
:
this
.
changeRoute
(
"customReport?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"22"
:
this
.
changeRoute
(
"taskAssign?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
showTab
:
function
(
e
){
this
.
activeTab
=
e
,
this
.
activeSelTab
=
e
,
this
.
tabListData
.
forEach
(
function
(
t
){
t
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
1
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
e
,
t
){
this
.
activeBrand
=
e
},
activeGroup
:
function
(
e
,
t
){
this
.
activeGroup
=
e
}},
mounted
:
function
(){
var
e
=
this
.
$route
.
query
.
appIcon
;
e
&&
(
this
.
appIcon
=
window
.
unescape
(
e
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonAppTop
:
n
.
a
,
commonDetailLeft
:
o
.
a
,
expiredDialog
:
r
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
e
.
appName
,
appIcon
:
e
.
appIcon
},
on
:{
selectBrandId
:
e
.
selectBrandId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
e
.
tabListData
,
activeSelTab
:
e
.
activeSelTab
},
on
:{
setSelectTab
:
e
.
setSelectTab
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
e
.
activeBrand
,
activeGroupId
:
e
.
activeGroup
,
tabType
:
e
.
activeTab
},
on
:{
showTab
:
e
.
showTab
}})],
1
)],
1
)])])],
1
),
e
.
_v
(
" "
),
e
.
expiredFlag
?
a
(
"expired-dialog"
,{
attrs
:{
forbidFlag
:
e
.
forbidFlag
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
e
){
a
(
"ByKK"
)},
"data-v-3cfa1f85"
,
null
);
t
.
default
=
u
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/8
4.623af63bdee6d478308d
.js
→
dist/static/js/8
3.8f8eee29795665b74226
.js
View file @
b9dcbf13
webpackJsonp
([
84
],{
Rwbg
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
i
=
a
(
"elmV"
),
o
=
a
(
"P9l9"
),
n
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
s
.
a
,
uploadExcelComponent
:
i
.
a
},
data
:
function
(){
var
t
=
window
.
location
.
origin
;
return
-
1
!=
t
.
indexOf
(
"localhost"
)
&&
(
t
=
"http://www.gicdev.com"
),{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"行政架构"
,
path
:
"administrativeFrame"
},{
name
:
"批量导入导出"
,
path
:
""
}],
host
:
window
.
location
.
origin
,
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
type
:
"import"
,
fileList
:[],
url
:
t
+
"/haoban-manage-web/emp/upload"
,
uploadSuccessMsg
:
""
,
logList
:[],
loading
:
!
0
,
pageSize
:
20
,
currentPage
:
1
,
total
:
0
}},
methods
:{
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getErrorNote
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getErrorNote
()},
resetList
:
function
(
t
){
this
.
fileList
=
[],
"note"
==
t
&&
this
.
getErrorNote
()},
getErrorNote
:
function
(){
var
t
=
this
,
e
=
{
departmentId
:
t
.
$route
.
query
.
departmentId
,
importCode
:
t
.
$route
.
query
.
importCode
};
Object
(
o
.
a
)(
"/haoban-manage-web/error-log-page"
,
e
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
total
=
e
.
data
.
result
.
totalCount
,
t
.
logList
=
e
.
data
.
result
.
result
,
t
.
loading
=!
1
):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
uploadSuccess
:
function
(
t
){
var
e
=
this
;
1
==
t
.
errorCode
?(
e
.
$forceUpdate
(),
e
.
uploadSuccessMsg
=
t
.
message
.
split
(
","
),
e
.
$message
({
message
:
t
.
message
,
type
:
"success"
}),
e
.
$nextTick
(
function
(){
e
.
fileList
=
[]})):
e
.
$message
.
error
(
t
.
message
)},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
handleRemove
:
function
(
t
,
e
){
this
.
fileList
=
[]},
getChange
:
function
(
t
,
e
){
var
a
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
s
=
t
.
name
.
lastIndexOf
(
"."
),
i
=
t
.
name
.
substring
(
s
+
1
,
t
.
name
.
length
);
if
(
!
(
i
.
includes
(
"xls"
)
||
i
.
includes
(
"xlsx"
)))
return
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
this
.
fileList
.
splice
(
a
,
1
),
!
1
;
this
.
fileList
=
[
e
[
a
]]}},
beforeMount
:
function
(){
"note"
==
this
.
type
&&
this
.
getErrorNote
(),
this
.
$nextTick
(
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"hidden"
})},
beforeDestroy
:
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"auto"
}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"common-set-wrap"
,
style
:{
height
:
t
.
windowH
}},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"io-container border-box "
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"el-radio-group"
,{
staticClass
:
"m-t-20"
,
on
:{
change
:
t
.
resetList
},
model
:{
value
:
t
.
type
,
callback
:
function
(
e
){
t
.
type
=
e
},
expression
:
"type"
}},[
a
(
"el-radio-button"
,{
attrs
:{
label
:
"import"
}},[
t
.
_v
(
"导入通讯录"
)]),
t
.
_v
(
" "
),
a
(
"el-radio-button"
,{
attrs
:{
label
:
"export"
}},[
t
.
_v
(
"导出"
)]),
t
.
_v
(
" "
),
a
(
"el-radio-button"
,{
attrs
:{
label
:
"note"
}},[
t
.
_v
(
"错误记录"
)])],
1
),
t
.
_v
(
" "
),
"import"
==
t
.
type
?
a
(
"div"
,{
staticClass
:
"handle-area import"
},[
a
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"下载员工通讯录模板,统一收集员工信息
\
n "
),
a
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/excel/通讯录-行政架构导入模板.xlsx"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"step-div"
},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传收集完毕的员工信息表
\
n "
),
a
(
"div"
,{
staticClass
:
"d-u-btn"
},[
a
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"auto-upload"
:
!
1
,
"on-remove"
:
t
.
handleRemove
}},[
a
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"up-btn-div"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
t
.
submitUpload
(
"upload"
)}}},[
t
.
_v
(
"上传"
)])],
1
)]):
"export"
==
t
.
type
?
a
(
"div"
,{
staticClass
:
"handle-area import"
},[
a
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"导出所有员工信息
\
n "
),
a
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/emp/export?departmentId="
+
t
.
$route
.
query
.
departmentId
+
"&showChild="
+
t
.
$route
.
query
.
showChildMember
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
" 下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
),
t
.
_v
(
"
\
n 批量修改员工信息
\
n "
)])]):
a
(
"div"
,{
staticClass
:
"error-log import"
},[
a
(
"div"
,{
staticClass
:
"title-area"
},[
a
(
"div"
,{
staticClass
:
"tip"
},[
t
.
_v
(
t
.
_s
(
t
.
uploadSuccessMsg
))]),
t
.
_v
(
" "
),
a
(
"a"
,{
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/error-improt-log-export?importCode="
+
t
.
$route
.
query
.
importCode
+
"&departmentId="
+
t
.
$route
.
query
.
departmentId
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"导出错误记录"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"m-t-20"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
logList
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"index"
,
width
:
"50"
,
label
:
"序号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"错误提示"
,
prop
:
"failReason"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"姓名"
,
prop
:
"name"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"phoneNumber"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"部门ID"
,
prop
:
"departmentId"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"职位"
,
prop
:
"positionName"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否此部门负责人(是/否)"
,
prop
:
"isManager"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
1
==
e
.
row
.
isManager
?
"是"
:
"否"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"入职时间"
,
prop
:
"hireDate"
}})],
1
),
t
.
_v
(
" "
),
t
.
logList
.
length
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
"current-page"
:
t
.
currentPage
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)],
1
)])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"ul"
,{
staticClass
:
"tip-area border-box "
},[
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"由于你的企业未进行企业认证,通讯录最多只能导入200人以内的员工,如有超出可先进行"
),
a
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"#/companyCertify"
}},[
t
.
_v
(
"企业认证"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"不能在本excel表中对员工信息类别进行增加、删除、修改"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"标*字段为必填字段,未标*字段为选填字段"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 员工所在部门:请先到后台创建部门,将部门id填入导入表格中,导入中,若找不到对应部门,将直接将员工挂在根目录下面
\
n "
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"未认证企业通讯录最多只能导入200人,超出后无法导入,请先进行企业认证"
)])])}]};
var
l
=
a
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
a
(
"V5lM"
)},
null
,
null
);
e
.
default
=
l
.
exports
},
V5lM
:
function
(
t
,
e
){}});
webpackJsonp
([
83
],{
Rwbg
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
i
=
a
(
"elmV"
),
o
=
a
(
"P9l9"
),
n
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
s
.
a
,
uploadExcelComponent
:
i
.
a
},
data
:
function
(){
var
t
=
window
.
location
.
origin
;
return
-
1
!=
t
.
indexOf
(
"localhost"
)
&&
(
t
=
"http://www.gicdev.com"
),{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"行政架构"
,
path
:
"administrativeFrame"
},{
name
:
"批量导入导出"
,
path
:
""
}],
host
:
window
.
location
.
origin
,
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
type
:
"import"
,
fileList
:[],
url
:
t
+
"/haoban-manage-web/emp/upload"
,
uploadSuccessMsg
:
""
,
logList
:[],
loading
:
!
0
,
pageSize
:
20
,
currentPage
:
1
,
total
:
0
}},
methods
:{
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getErrorNote
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getErrorNote
()},
resetList
:
function
(
t
){
this
.
fileList
=
[],
"note"
==
t
&&
this
.
getErrorNote
()},
getErrorNote
:
function
(){
var
t
=
this
,
e
=
{
departmentId
:
t
.
$route
.
query
.
departmentId
,
importCode
:
t
.
$route
.
query
.
importCode
};
Object
(
o
.
a
)(
"/haoban-manage-web/error-log-page"
,
e
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
total
=
e
.
data
.
result
.
totalCount
,
t
.
logList
=
e
.
data
.
result
.
result
,
t
.
loading
=!
1
):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
uploadSuccess
:
function
(
t
){
var
e
=
this
;
1
==
t
.
errorCode
?(
e
.
$forceUpdate
(),
e
.
uploadSuccessMsg
=
t
.
message
.
split
(
","
),
e
.
$message
({
message
:
t
.
message
,
type
:
"success"
}),
e
.
$nextTick
(
function
(){
e
.
fileList
=
[]})):
e
.
$message
.
error
(
t
.
message
)},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
handleRemove
:
function
(
t
,
e
){
this
.
fileList
=
[]},
getChange
:
function
(
t
,
e
){
var
a
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
s
=
t
.
name
.
lastIndexOf
(
"."
),
i
=
t
.
name
.
substring
(
s
+
1
,
t
.
name
.
length
);
if
(
!
(
i
.
includes
(
"xls"
)
||
i
.
includes
(
"xlsx"
)))
return
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
this
.
fileList
.
splice
(
a
,
1
),
!
1
;
this
.
fileList
=
[
e
[
a
]]}},
beforeMount
:
function
(){
"note"
==
this
.
type
&&
this
.
getErrorNote
(),
this
.
$nextTick
(
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"hidden"
})},
beforeDestroy
:
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"auto"
}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"common-set-wrap"
,
style
:{
height
:
t
.
windowH
}},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"io-container border-box "
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"el-radio-group"
,{
staticClass
:
"m-t-20"
,
on
:{
change
:
t
.
resetList
},
model
:{
value
:
t
.
type
,
callback
:
function
(
e
){
t
.
type
=
e
},
expression
:
"type"
}},[
a
(
"el-radio-button"
,{
attrs
:{
label
:
"import"
}},[
t
.
_v
(
"导入通讯录"
)]),
t
.
_v
(
" "
),
a
(
"el-radio-button"
,{
attrs
:{
label
:
"export"
}},[
t
.
_v
(
"导出"
)]),
t
.
_v
(
" "
),
a
(
"el-radio-button"
,{
attrs
:{
label
:
"note"
}},[
t
.
_v
(
"错误记录"
)])],
1
),
t
.
_v
(
" "
),
"import"
==
t
.
type
?
a
(
"div"
,{
staticClass
:
"handle-area import"
},[
a
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"下载员工通讯录模板,统一收集员工信息
\
n "
),
a
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/excel/通讯录-行政架构导入模板.xlsx"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"step-div"
},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传收集完毕的员工信息表
\
n "
),
a
(
"div"
,{
staticClass
:
"d-u-btn"
},[
a
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"auto-upload"
:
!
1
,
"on-remove"
:
t
.
handleRemove
}},[
a
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"up-btn-div"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
t
.
submitUpload
(
"upload"
)}}},[
t
.
_v
(
"上传"
)])],
1
)]):
"export"
==
t
.
type
?
a
(
"div"
,{
staticClass
:
"handle-area import"
},[
a
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
a
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"导出所有员工信息
\
n "
),
a
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/emp/export?departmentId="
+
t
.
$route
.
query
.
departmentId
+
"&showChild="
+
t
.
$route
.
query
.
showChildMember
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
" 下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
),
t
.
_v
(
"
\
n 批量修改员工信息
\
n "
)])]):
a
(
"div"
,{
staticClass
:
"error-log import"
},[
a
(
"div"
,{
staticClass
:
"title-area"
},[
a
(
"div"
,{
staticClass
:
"tip"
},[
t
.
_v
(
t
.
_s
(
t
.
uploadSuccessMsg
))]),
t
.
_v
(
" "
),
a
(
"a"
,{
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/error-improt-log-export?importCode="
+
t
.
$route
.
query
.
importCode
+
"&departmentId="
+
t
.
$route
.
query
.
departmentId
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"导出错误记录"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"m-t-20"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
logList
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"index"
,
width
:
"50"
,
label
:
"序号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"错误提示"
,
prop
:
"failReason"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"姓名"
,
prop
:
"name"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"phoneNumber"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"部门ID"
,
prop
:
"departmentId"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"职位"
,
prop
:
"positionName"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否此部门负责人(是/否)"
,
prop
:
"isManager"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
1
==
e
.
row
.
isManager
?
"是"
:
"否"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"入职时间"
,
prop
:
"hireDate"
}})],
1
),
t
.
_v
(
" "
),
t
.
logList
.
length
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
"current-page"
:
t
.
currentPage
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)],
1
)])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"ul"
,{
staticClass
:
"tip-area border-box "
},[
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"由于你的企业未进行企业认证,通讯录最多只能导入200人以内的员工,如有超出可先进行"
),
a
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"#/companyCertify"
}},[
t
.
_v
(
"企业认证"
)])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"不能在本excel表中对员工信息类别进行增加、删除、修改"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"标*字段为必填字段,未标*字段为选填字段"
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 员工所在部门:请先到后台创建部门,将部门id填入导入表格中,导入中,若找不到对应部门,将直接将员工挂在根目录下面
\
n "
)]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"未认证企业通讯录最多只能导入200人,超出后无法导入,请先进行企业认证"
)])])}]};
var
l
=
a
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
a
(
"V5lM"
)},
null
,
null
);
e
.
default
=
l
.
exports
},
V5lM
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/8
5.bb3f229cc47b83dec5db
.js
→
dist/static/js/8
4.ae9e016eb15a5ec99e7f
.js
View file @
b9dcbf13
webpackJsonp
([
85
],{
"5x7s"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"PI0u"
),
o
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
r
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"任务下发设置"
}],
activeId
:
"1"
,
setData
:{
status
:
!
1
,
time
:
"12:00"
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
i
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
status
:
t
.
setData
.
status
?
"1"
:
"0"
,
time
:
t
.
setData
.
time
};
Object
(
r
.
e
)(
"/haoban-app-daily-web/daily/create-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
c
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
};
Object
(
r
.
e
)(
"/haoban-app-daily-web/daily/get-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
setData
.
status
=
1
==
a
.
result
.
status
,
void
(
t
.
setData
.
time
=
a
.
result
.
time
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"22"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
s
.
a
,
commonDetailTop
:
n
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报开关设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-16"
},[
t
.
_v
(
"开启后,日报将定时发送"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
" "
,
"inactive-text"
:
" "
},
model
:{
value
:
t
.
setData
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"status"
,
e
)},
expression
:
"setData.status"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报每日下发时间设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-16"
},[
t
.
_v
(
"该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-time-select"
,{
staticClass
:
"w-118"
,
attrs
:{
editable
:
!
1
,
clearable
:
!
1
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:15"
,
end
:
"23:45"
},
placeholder
:
"选择时间"
},
model
:{
value
:
t
.
setData
.
time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"time"
,
e
)},
expression
:
"setData.time"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
l
,
!
1
,
function
(
t
){
a
(
"IIkM"
)},
"data-v-35e62cb4"
,
null
);
e
.
default
=
u
.
exports
},
IIkM
:
function
(
t
,
e
){}});
webpackJsonp
([
84
],{
"5x7s"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"PI0u"
),
o
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
r
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"任务下发设置"
}],
activeId
:
"1"
,
setData
:{
status
:
!
1
,
time
:
"12:00"
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
i
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
status
:
t
.
setData
.
status
?
"1"
:
"0"
,
time
:
t
.
setData
.
time
};
Object
(
r
.
e
)(
"/haoban-app-daily-web/daily/create-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
c
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
};
Object
(
r
.
e
)(
"/haoban-app-daily-web/daily/get-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
setData
.
status
=
1
==
a
.
result
.
status
,
void
(
t
.
setData
.
time
=
a
.
result
.
time
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"22"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
s
.
a
,
commonDetailTop
:
n
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报开关设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-16"
},[
t
.
_v
(
"开启后,日报将定时发送"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
" "
,
"inactive-text"
:
" "
},
model
:{
value
:
t
.
setData
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"status"
,
e
)},
expression
:
"setData.status"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报每日下发时间设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-16"
},[
t
.
_v
(
"该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-time-select"
,{
staticClass
:
"w-118"
,
attrs
:{
editable
:
!
1
,
clearable
:
!
1
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:15"
,
end
:
"23:45"
},
placeholder
:
"选择时间"
},
model
:{
value
:
t
.
setData
.
time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"time"
,
e
)},
expression
:
"setData.time"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
l
,
!
1
,
function
(
t
){
a
(
"IIkM"
)},
"data-v-35e62cb4"
,
null
);
e
.
default
=
u
.
exports
},
IIkM
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/8
6.3399c563d69998ce97e8
.js
→
dist/static/js/8
5.bfae8273934cbb68d34c
.js
View file @
b9dcbf13
webpackJsonp
([
86
],{
cK0D
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
o
=
a
(
"Ke24"
),
i
=
a
(
"nsZK"
),
r
=
a
(
"P9l9"
),
s
=
a
(
"PI0u"
),
l
=
a
(
"Ch4/"
),
c
=
{
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
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标任务"
,
path
:
""
}],
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroupIds
:[],
storeStatus
:
""
,
dateRange
:[]},
storeStatusOptions
:[{
value
:
""
,
label
:
"所有门店状态"
},{
value
:
"0"
,
label
:
"待审核"
},{
value
:
"1"
,
label
:
"正常"
},{
value
:
"2"
,
label
:
"审核失败"
},{
value
:
"3"
,
label
:
"停业整顿"
},{
value
:
"4"
,
label
:
"回收站"
},{
value
:
"5"
,
label
:
"删除"
}],
selectRadio
:
0
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
loading
:
!
1
}},
computed
:{},
methods
:{
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
s
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
checkStoreGroupIds
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
getTableList
()},
changeStoreStatus
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
exportExcel
:
function
(){
var
t
=
this
,
e
=
{
keyword
:
t
.
conditionObj
.
searchInput
,
storeGroupIds
:
t
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
groupId
}).
join
(
","
)
||
""
,
storeStatus
:
t
.
conditionObj
.
storeStatus
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
brandId
:
t
.
activeBrand
};
Object
(
r
.
b
)(
"/haoban-app-performance-web/performance/export-store-month-performance-task"
,
e
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
l
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
e
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
document
.
createElement
(
"a"
);
a
.
download
=
"store-month-performance-task.xls"
,
a
.
style
.
display
=
"none"
,
a
.
href
=
URL
.
createObjectURL
(
e
),
document
.
body
.
appendChild
(
a
),
a
.
click
(),
URL
.
revokeObjectURL
(
a
.
href
),
document
.
body
.
removeChild
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
toDetail
:
function
(
t
,
e
){
var
a
=
""
,
n
=
""
;
this
.
conditionObj
.
dateRange
.
length
>
0
&&
(
a
=
this
.
conditionObj
.
dateRange
[
0
],
n
=
this
.
conditionObj
.
dateRange
[
1
]),
this
.
$router
.
push
(
"monthTaskDetail?storeId="
+
e
.
storeId
+
"&startDate="
+
a
+
"&endDate="
+
n
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
t
){
var
e
=
this
;
e
.
loading
=!
0
,
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
a
=
{
keyword
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
e
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
groupId
}).
join
(
","
)
||
""
,
storeStatus
:
e
.
conditionObj
.
storeStatus
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-performance-web/performance/query-store-month-performance-task"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"13"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
this
.
activeGroup
=
""
,
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonDetailTop
:
o
.
a
,
storeTreeSelect
:
i
.
a
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称/code"
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-130 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeStoreStatus
},
model
:{
value
:
t
.
conditionObj
.
storeStatus
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"storeStatus"
,
e
)},
expression
:
"conditionObj.storeStatus"
}},
t
.
_l
(
t
.
storeStatusOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"store-tree-select"
,{
attrs
:{
brandId
:
t
.
brandId
,
activeGroupId
:
t
.
activeGroupId
},
on
:{
checkStoreGroupIds
:
t
.
checkStoreGroupIds
}}),
t
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
staticStyle
:{
width
:
"310px"
},
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM"
,
type
:
"monthrange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始月份"
,
"end-placeholder"
:
"结束月份"
},
on
:{
change
:
t
.
changeDate
},
model
:{
value
:
t
.
conditionObj
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"dateRange"
,
e
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeName"
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"taskCount"
,
label
:
"任务总数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"completedCount"
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"completedRate"
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"noCompletedCount"
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"overdueCount"
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])]}}])})],
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
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
t
){
a
(
"xyyH"
)},
"data-v-30fad0e2"
,
null
);
e
.
default
=
u
.
exports
},
xyyH
:
function
(
t
,
e
){}});
webpackJsonp
([
85
],{
cK0D
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
o
=
a
(
"Ke24"
),
i
=
a
(
"nsZK"
),
r
=
a
(
"P9l9"
),
s
=
a
(
"PI0u"
),
l
=
a
(
"Ch4/"
),
c
=
{
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
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标任务"
,
path
:
""
}],
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroupIds
:[],
storeStatus
:
""
,
dateRange
:[]},
storeStatusOptions
:[{
value
:
""
,
label
:
"所有门店状态"
},{
value
:
"0"
,
label
:
"待审核"
},{
value
:
"1"
,
label
:
"正常"
},{
value
:
"2"
,
label
:
"审核失败"
},{
value
:
"3"
,
label
:
"停业整顿"
},{
value
:
"4"
,
label
:
"回收站"
},{
value
:
"5"
,
label
:
"删除"
}],
selectRadio
:
0
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
loading
:
!
1
}},
computed
:{},
methods
:{
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
s
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
checkStoreGroupIds
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
getTableList
()},
changeStoreStatus
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
exportExcel
:
function
(){
var
t
=
this
,
e
=
{
keyword
:
t
.
conditionObj
.
searchInput
,
storeGroupIds
:
t
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
groupId
}).
join
(
","
)
||
""
,
storeStatus
:
t
.
conditionObj
.
storeStatus
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
brandId
:
t
.
activeBrand
};
Object
(
r
.
b
)(
"/haoban-app-performance-web/performance/export-store-month-performance-task"
,
e
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
l
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
e
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
document
.
createElement
(
"a"
);
a
.
download
=
"store-month-performance-task.xls"
,
a
.
style
.
display
=
"none"
,
a
.
href
=
URL
.
createObjectURL
(
e
),
document
.
body
.
appendChild
(
a
),
a
.
click
(),
URL
.
revokeObjectURL
(
a
.
href
),
document
.
body
.
removeChild
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
toDetail
:
function
(
t
,
e
){
var
a
=
""
,
n
=
""
;
this
.
conditionObj
.
dateRange
.
length
>
0
&&
(
a
=
this
.
conditionObj
.
dateRange
[
0
],
n
=
this
.
conditionObj
.
dateRange
[
1
]),
this
.
$router
.
push
(
"monthTaskDetail?storeId="
+
e
.
storeId
+
"&startDate="
+
a
+
"&endDate="
+
n
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
t
){
var
e
=
this
;
e
.
loading
=!
0
,
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
a
=
{
keyword
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
e
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
groupId
}).
join
(
","
)
||
""
,
storeStatus
:
e
.
conditionObj
.
storeStatus
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-performance-web/performance/query-store-month-performance-task"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"13"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
this
.
activeGroup
=
""
,
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonDetailTop
:
o
.
a
,
storeTreeSelect
:
i
.
a
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称/code"
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-130 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeStoreStatus
},
model
:{
value
:
t
.
conditionObj
.
storeStatus
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"storeStatus"
,
e
)},
expression
:
"conditionObj.storeStatus"
}},
t
.
_l
(
t
.
storeStatusOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"store-tree-select"
,{
attrs
:{
brandId
:
t
.
brandId
,
activeGroupId
:
t
.
activeGroupId
},
on
:{
checkStoreGroupIds
:
t
.
checkStoreGroupIds
}}),
t
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
staticStyle
:{
width
:
"310px"
},
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM"
,
type
:
"monthrange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始月份"
,
"end-placeholder"
:
"结束月份"
},
on
:{
change
:
t
.
changeDate
},
model
:{
value
:
t
.
conditionObj
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"dateRange"
,
e
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeName"
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"taskCount"
,
label
:
"任务总数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"completedCount"
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"completedRate"
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"noCompletedCount"
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"overdueCount"
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])]}}])})],
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
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
t
){
a
(
"xyyH"
)},
"data-v-30fad0e2"
,
null
);
e
.
default
=
u
.
exports
},
xyyH
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/8
7.29432e7113f42af0aa23
.js
→
dist/static/js/8
6.62d40f9d4fac7cd847c0
.js
View file @
b9dcbf13
webpackJsonp
([
87
],{
"8msp"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"mvHQ"
),
o
=
a
.
n
(
i
),
n
=
a
(
"Ie7z"
),
s
=
a
(
"Ke24"
),
r
=
a
(
"b28S"
),
l
=
a
(
"P9l9"
),
c
=
a
(
"Ch4/"
),
d
=
a
(
"PI0u"
),
p
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
commonDetailTop
:
s
.
a
,
vueSelectStore
:
n
.
a
,
chatLogList
:
r
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"在线沟通设置"
,
path
:
"/onlineChatSet?appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&activeTab="
+
this
.
$route
.
query
.
activeTab
},{
id
:
"2"
,
name
:
3
==
this
.
$route
.
query
.
activeTab
?
"图文发送记录"
:
1
==
this
.
$route
.
query
.
tabType
?
"微商城商品发送记录"
:
2
==
this
.
$route
.
query
.
tabType
?
"积分商城商品发送记录"
:
""
}],
tableData
:[],
conditionObj
:{
searchInput
:
""
,
searchType
:
"1"
,
storeGroup
:[],
dateRange
:[]},
choiceDateCopy
:[],
pickerOptions
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}}],
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
i
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
i
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
i
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
i
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
showFlag
:
!
1
,
itemRow
:{}}},
methods
:{
delSelectData
:
function
(
e
){
this
.
defaultStoreList
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
showSingleInfo
:
function
(
e
){},
exportExcel
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[],
i
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
1
==
e
.
type
&&
i
.
push
(
e
.
employeeClerkId
),
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)}),
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
o
=
{
enterpriseId
:
e
.
enterpriseId
,
relatedId
:
e
.
$route
.
query
.
relatedId
,
type
:
e
.
$route
.
query
.
tabType
,
keyword
:
e
.
conditionObj
.
searchInput
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
storeIds
:
a
.
join
(
","
)
||
""
,
clerkIds
:
i
.
join
(
","
)
||
""
,
startTime
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endTime
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
e
.
activeBrand
};
Object
(
l
.
b
)(
"/haoban-app-member-web/customer/export_message_log"
,
o
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
c
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
1
==
e
.
$route
.
query
.
tabType
?
"微商城商品"
:
2
==
e
.
$route
.
query
.
tabType
?
"积分商城商品"
:
"图文"
,
i
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
o
=
a
+
"发送记录.csv"
,
n
=
document
.
createElement
(
"a"
);
n
.
download
=
o
,
n
.
style
.
display
=
"none"
,
n
.
href
=
URL
.
createObjectURL
(
i
),
document
.
body
.
appendChild
(
n
),
n
.
click
(),
URL
.
revokeObjectURL
(
n
.
href
),
document
.
body
.
removeChild
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toInput
:
Object
(
d
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
dateRange
=
[]),
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
.
defaultStoreList
=
e
,
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
showDetail
:
function
(
e
,
t
){
this
.
showFlag
=!
0
;
var
a
=
JSON
.
parse
(
o
()(
t
));
a
.
userMessageId
=
""
,
this
.
itemRow
=
a
},
hideDetail
:
function
(){
this
.
showFlag
=!
1
,
this
.
itemRow
=
{},
this
.
$nextTick
(
function
(){
document
.
body
.
style
.
overflow
=
"auto"
})},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
[],
i
=
[],
o
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
1
==
e
.
type
&&
o
.
push
(
e
.
employeeClerkId
),
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
i
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
n
=
{
enterpriseId
:
t
.
enterpriseId
,
relatedId
:
t
.
$route
.
query
.
relatedId
,
type
:
t
.
$route
.
query
.
tabType
,
keyword
:
t
.
conditionObj
.
searchInput
||
""
,
groupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
i
.
join
(
","
)
||
""
,
clerkIds
:
o
.
join
(
","
)
||
""
,
startTime
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endTime
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
l
.
e
)(
"/haoban-app-member-web/customer/send_message_log"
,
n
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
total
,
!
1
;
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getTableList
()}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"chat-log border-box"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"chat-log-content border-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-369"
,
attrs
:{
placeholder
:
"请输入导购姓名/手机号/code"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
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
(
"el-date-picker"
,{
staticClass
:
"m-l-10 m-r-10"
,
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
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"
}}),
a
(
"el-button"
,{
staticStyle
:{
"vertical-align"
:
"middle"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
_v
(
"门店架构选人"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
})]),
e
.
_v
(
" "
),
e
.
defaultStoreList
.
length
?
a
(
"div"
,{
staticClass
:
"select-data-wrap m-b-20"
},[
a
(
"ul"
,{
staticClass
:
"selector-selected-list flex flex-wrap"
},[
e
.
_l
(
e
.
defaultStoreList
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
t
.
id
+
t
.
label
,
staticClass
:
"select-item"
},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-close"
,
on
:{
click
:
function
(
t
){
e
.
delSelectData
(
i
)}}})])]})],
2
)]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"导购信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"400"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
applyId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
t
.
row
.
clerkImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
clerkImgUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkName
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
2
==
t
.
row
.
sex
?
"icon-xingbienv color-FF585C"
:
"icon-xingbienan color-508CEE"
,
"iconfont"
]})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-code"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"员工代码:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkCode
||
"--"
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhoneNumber
||
"--"
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-job"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"职位:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
positionName
||
"--"
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属门店:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
||
"--"
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
clerkImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
clerkImgUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info over-hidden"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
||
"--"
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
||
"--"
))])])],
1
)]}}])}),
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
.
clerkPhoneNumber
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
memberImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
memberImgUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberName
||
"--"
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
||
"--"
))])])])]}}])}),
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
.
memberPhoneNumber
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"发送时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
createTime
)))])]}}])})],
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
(
"chat-log-list"
,{
attrs
:{
brandId
:
e
.
brandId
,
itemRow
:
e
.
itemRow
,
showFlag
:
e
.
showFlag
},
on
:{
hideDetail
:
e
.
hideDetail
}}),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"all"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)])},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
p
,
u
,
!
1
,
function
(
e
){
a
(
"LOWD"
)},
"data-v-304d5fad"
,
null
);
t
.
default
=
h
.
exports
},
LOWD
:
function
(
e
,
t
){}});
webpackJsonp
([
86
],{
"8msp"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"mvHQ"
),
o
=
a
.
n
(
i
),
n
=
a
(
"Ie7z"
),
s
=
a
(
"Ke24"
),
r
=
a
(
"b28S"
),
l
=
a
(
"P9l9"
),
c
=
a
(
"Ch4/"
),
d
=
a
(
"PI0u"
),
p
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
commonDetailTop
:
s
.
a
,
vueSelectStore
:
n
.
a
,
chatLogList
:
r
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"在线沟通设置"
,
path
:
"/onlineChatSet?appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&activeTab="
+
this
.
$route
.
query
.
activeTab
},{
id
:
"2"
,
name
:
3
==
this
.
$route
.
query
.
activeTab
?
"图文发送记录"
:
1
==
this
.
$route
.
query
.
tabType
?
"微商城商品发送记录"
:
2
==
this
.
$route
.
query
.
tabType
?
"积分商城商品发送记录"
:
""
}],
tableData
:[],
conditionObj
:{
searchInput
:
""
,
searchType
:
"1"
,
storeGroup
:[],
dateRange
:[]},
choiceDateCopy
:[],
pickerOptions
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}}],
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
i
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
i
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
i
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
i
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
showFlag
:
!
1
,
itemRow
:{}}},
methods
:{
delSelectData
:
function
(
e
){
this
.
defaultStoreList
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
showSingleInfo
:
function
(
e
){},
exportExcel
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[],
i
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
1
==
e
.
type
&&
i
.
push
(
e
.
employeeClerkId
),
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)}),
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
o
=
{
enterpriseId
:
e
.
enterpriseId
,
relatedId
:
e
.
$route
.
query
.
relatedId
,
type
:
e
.
$route
.
query
.
tabType
,
keyword
:
e
.
conditionObj
.
searchInput
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
storeIds
:
a
.
join
(
","
)
||
""
,
clerkIds
:
i
.
join
(
","
)
||
""
,
startTime
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endTime
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
e
.
activeBrand
};
Object
(
l
.
b
)(
"/haoban-app-member-web/customer/export_message_log"
,
o
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
c
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
1
==
e
.
$route
.
query
.
tabType
?
"微商城商品"
:
2
==
e
.
$route
.
query
.
tabType
?
"积分商城商品"
:
"图文"
,
i
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
o
=
a
+
"发送记录.csv"
,
n
=
document
.
createElement
(
"a"
);
n
.
download
=
o
,
n
.
style
.
display
=
"none"
,
n
.
href
=
URL
.
createObjectURL
(
i
),
document
.
body
.
appendChild
(
n
),
n
.
click
(),
URL
.
revokeObjectURL
(
n
.
href
),
document
.
body
.
removeChild
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toInput
:
Object
(
d
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
dateRange
=
[]),
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
.
defaultStoreList
=
e
,
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
showDetail
:
function
(
e
,
t
){
this
.
showFlag
=!
0
;
var
a
=
JSON
.
parse
(
o
()(
t
));
a
.
userMessageId
=
""
,
this
.
itemRow
=
a
},
hideDetail
:
function
(){
this
.
showFlag
=!
1
,
this
.
itemRow
=
{},
this
.
$nextTick
(
function
(){
document
.
body
.
style
.
overflow
=
"auto"
})},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
[],
i
=
[],
o
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
1
==
e
.
type
&&
o
.
push
(
e
.
employeeClerkId
),
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
i
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
n
=
{
enterpriseId
:
t
.
enterpriseId
,
relatedId
:
t
.
$route
.
query
.
relatedId
,
type
:
t
.
$route
.
query
.
tabType
,
keyword
:
t
.
conditionObj
.
searchInput
||
""
,
groupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
i
.
join
(
","
)
||
""
,
clerkIds
:
o
.
join
(
","
)
||
""
,
startTime
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endTime
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
l
.
e
)(
"/haoban-app-member-web/customer/send_message_log"
,
n
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
total
,
!
1
;
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getTableList
()}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"chat-log border-box"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"chat-log-content border-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-369"
,
attrs
:{
placeholder
:
"请输入导购姓名/手机号/code"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
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
(
"el-date-picker"
,{
staticClass
:
"m-l-10 m-r-10"
,
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
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"
}}),
a
(
"el-button"
,{
staticStyle
:{
"vertical-align"
:
"middle"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
_v
(
"门店架构选人"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
})]),
e
.
_v
(
" "
),
e
.
defaultStoreList
.
length
?
a
(
"div"
,{
staticClass
:
"select-data-wrap m-b-20"
},[
a
(
"ul"
,{
staticClass
:
"selector-selected-list flex flex-wrap"
},[
e
.
_l
(
e
.
defaultStoreList
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
t
.
id
+
t
.
label
,
staticClass
:
"select-item"
},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-close"
,
on
:{
click
:
function
(
t
){
e
.
delSelectData
(
i
)}}})])]})],
2
)]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"导购信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"400"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
applyId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
t
.
row
.
clerkImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
clerkImgUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkName
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
2
==
t
.
row
.
sex
?
"icon-xingbienv color-FF585C"
:
"icon-xingbienan color-508CEE"
,
"iconfont"
]})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-code"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"员工代码:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkCode
||
"--"
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhoneNumber
||
"--"
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-job"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"职位:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
positionName
||
"--"
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属门店:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
||
"--"
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
clerkImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
clerkImgUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info over-hidden"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
||
"--"
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
||
"--"
))])])],
1
)]}}])}),
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
.
clerkPhoneNumber
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
memberImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
memberImgUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberName
||
"--"
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
||
"--"
))])])])]}}])}),
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
.
memberPhoneNumber
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"发送时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
createTime
)))])]}}])})],
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
(
"chat-log-list"
,{
attrs
:{
brandId
:
e
.
brandId
,
itemRow
:
e
.
itemRow
,
showFlag
:
e
.
showFlag
},
on
:{
hideDetail
:
e
.
hideDetail
}}),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"all"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)])},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
p
,
u
,
!
1
,
function
(
e
){
a
(
"LOWD"
)},
"data-v-304d5fad"
,
null
);
t
.
default
=
h
.
exports
},
LOWD
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/8
8.5a4d2e0328d3aceb6b2
7.js
→
dist/static/js/8
7.0fb42cff2a738242859
7.js
View file @
b9dcbf13
webpackJsonp
([
88
],{
DxdI
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"fPyK"
),
l
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"3E4D"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
1
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
topMenuData
:[{
id
:
"1"
,
name
:
"自定义报表"
}],
activeId
:
"1"
,
activeTab
:
"1"
,
activeBrand
:
"1"
,
tableData
:[],
multipleSelection
:[]}},
computed
:{},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
handlePreview
:
function
(
e
,
t
){
var
a
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?templateId="
+
t
.
dailyReportTemplateId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-preview"
),
this
.
dialogVisible
=!
0
},
toCustomSet
:
function
(){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleCopy
:
function
(
e
,
t
){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&templateId="
+
t
.
dailyReportTemplateId
+
"&type=copy&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleEdit
:
function
(
e
,
t
){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&templateId="
+
t
.
dailyReportTemplateId
+
"&type=edit&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleDelete
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
deleteTemplate
(
e
,
t
)}).
catch
(
function
(){})},
deleteTemplate
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
l
.
e
)(
"/haoban-app-daily-web/daily/del-define-template"
,{
templateId
:
t
.
dailyReportTemplateId
}).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
r
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
;
Object
(
l
.
e
)(
"/haoban-app-daily-web/daily/list-define-template"
,{
brandId
:
e
.
brandId
}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
[],
void
(
a
.
result
&&
a
.
result
.
length
&&
(
e
.
tableData
=
a
.
result
));
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"212"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
o
.
a
,
commonDetailTop
:
n
.
a
,
qrcodeDialog
:
i
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-set-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between flex-pack-center m-b-23 m-t-30"
},[
a
(
"div"
,{
staticClass
:
"custom-set-title flex flex-pack-center"
},[
a
(
"span"
,[
e
.
_v
(
"模板列表("
+
e
.
_s
(
e
.
tableData
.
length
)
+
")"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"注:创建自定义日报后才能下发日报"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"button"
},
on
:{
click
:
function
(
t
){
e
.
toCustomSet
(
""
)}}},[
e
.
_v
(
"新建模板"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
title
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"模板描述"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
description
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"门店类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"自营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"联营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代理门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代销门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"托管门店"
)]):
e
.
_e
()]}}])}),
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
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleCopy
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"复制"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDelete
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"sgiw"
)},
"data-v-2dc7d0eb"
,
null
);
t
.
default
=
u
.
exports
},
sgiw
:
function
(
e
,
t
){}});
webpackJsonp
([
87
],{
DxdI
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"fPyK"
),
l
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"3E4D"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
1
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
topMenuData
:[{
id
:
"1"
,
name
:
"自定义报表"
}],
activeId
:
"1"
,
activeTab
:
"1"
,
activeBrand
:
"1"
,
tableData
:[],
multipleSelection
:[]}},
computed
:{},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
handlePreview
:
function
(
e
,
t
){
var
a
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?templateId="
+
t
.
dailyReportTemplateId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-preview"
),
this
.
dialogVisible
=!
0
},
toCustomSet
:
function
(){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleCopy
:
function
(
e
,
t
){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&templateId="
+
t
.
dailyReportTemplateId
+
"&type=copy&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleEdit
:
function
(
e
,
t
){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&templateId="
+
t
.
dailyReportTemplateId
+
"&type=edit&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleDelete
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
deleteTemplate
(
e
,
t
)}).
catch
(
function
(){})},
deleteTemplate
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
l
.
e
)(
"/haoban-app-daily-web/daily/del-define-template"
,{
templateId
:
t
.
dailyReportTemplateId
}).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
r
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
;
Object
(
l
.
e
)(
"/haoban-app-daily-web/daily/list-define-template"
,{
brandId
:
e
.
brandId
}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
[],
void
(
a
.
result
&&
a
.
result
.
length
&&
(
e
.
tableData
=
a
.
result
));
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"212"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
o
.
a
,
commonDetailTop
:
n
.
a
,
qrcodeDialog
:
i
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-set-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between flex-pack-center m-b-23 m-t-30"
},[
a
(
"div"
,{
staticClass
:
"custom-set-title flex flex-pack-center"
},[
a
(
"span"
,[
e
.
_v
(
"模板列表("
+
e
.
_s
(
e
.
tableData
.
length
)
+
")"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"注:创建自定义日报后才能下发日报"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"button"
},
on
:{
click
:
function
(
t
){
e
.
toCustomSet
(
""
)}}},[
e
.
_v
(
"新建模板"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
title
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"模板描述"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
description
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"门店类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"自营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"联营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代理门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代销门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"托管门店"
)]):
e
.
_e
()]}}])}),
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
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleCopy
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"复制"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDelete
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"sgiw"
)},
"data-v-2dc7d0eb"
,
null
);
t
.
default
=
u
.
exports
},
sgiw
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/8
9.4186a9a4419d0d1ed6c7
.js
→
dist/static/js/8
8.4baa99b5ba65f517e6b4
.js
View file @
b9dcbf13
webpackJsonp
([
89
],{
vgwM
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"2eFk"
),
n
=
a
(
"fvdr"
),
o
=
a
(
"Qie6"
),
r
=
a
(
"F3nK"
),
c
=
a
(
"Ch4/"
),
s
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"考勤打卡"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"考勤统计"
,
icon
:
"icon-kaoqinjilu"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"每日统计"
,
icon
:
""
}]},{
tabId
:
"2"
,
tabName
:
"考勤设置"
,
icon
:
"icon-kaoqinshezhi"
}],
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
,
gicEnterpriseId
:
""
,
forbidFlag
:
"forbid"
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-over"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
expiredFlag
=
a
.
result
,
void
(
e
.
forbidFlag
=
"expired"
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getUpdated
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-use-three"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
expiredFlag
=
a
.
result
,
void
(
e
.
forbidFlag
=
"forbid"
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
selectBrandId
:
function
(
e
,
t
,
a
){
this
.
activeBrand
=
e
,
this
.
activeGroup
=
t
,
this
.
gicEnterpriseId
=
a
},
setSelectTab
:
function
(
e
){
switch
(
this
.
activeTab
=
e
.
tabId
,
e
.
tabId
){
case
"1"
:
case
"11"
:
this
.
changeRoute
(
"dayStatistics?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"2"
:
this
.
changeRoute
(
"workSet?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
showTab
:
function
(
e
){
this
.
activeTab
=
e
,
this
.
activeSelTab
=
e
,
this
.
tabListData
.
forEach
(
function
(
t
){
t
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
1
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
e
,
t
){
this
.
activeBrand
=
e
},
activeGroup
:
function
(
e
,
t
){
this
.
activeGroup
=
e
}},
mounted
:
function
(){
var
e
=
this
.
$route
.
query
.
appIcon
;
e
&&
(
this
.
appIcon
=
window
.
unescape
(
e
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonAppTop
:
n
.
a
,
commonDetailLeft
:
o
.
a
,
expiredDialog
:
r
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
e
.
appName
,
appIcon
:
e
.
appIcon
},
on
:{
selectBrandId
:
e
.
selectBrandId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
e
.
tabListData
,
activeSelTab
:
e
.
activeSelTab
},
on
:{
setSelectTab
:
e
.
setSelectTab
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
e
.
activeBrand
,
activeGroupId
:
e
.
activeGroup
,
tabType
:
e
.
activeTab
},
on
:{
showTab
:
e
.
showTab
}})],
1
)],
1
)])])],
1
),
e
.
_v
(
" "
),
e
.
expiredFlag
?
a
(
"expired-dialog"
,{
attrs
:{
forbidFlag
:
e
.
forbidFlag
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
e
){
a
(
"zKoH"
)},
"data-v-2dc38950"
,
null
);
t
.
default
=
u
.
exports
},
zKoH
:
function
(
e
,
t
){}});
webpackJsonp
([
88
],{
vgwM
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"2eFk"
),
n
=
a
(
"fvdr"
),
o
=
a
(
"Qie6"
),
r
=
a
(
"F3nK"
),
c
=
a
(
"Ch4/"
),
s
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"考勤打卡"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"考勤统计"
,
icon
:
"icon-kaoqinjilu"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"每日统计"
,
icon
:
""
}]},{
tabId
:
"2"
,
tabName
:
"考勤设置"
,
icon
:
"icon-kaoqinshezhi"
}],
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
,
gicEnterpriseId
:
""
,
forbidFlag
:
"forbid"
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-over"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
expiredFlag
=
a
.
result
,
void
(
e
.
forbidFlag
=
"expired"
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getUpdated
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-use-three"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
expiredFlag
=
a
.
result
,
void
(
e
.
forbidFlag
=
"forbid"
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
selectBrandId
:
function
(
e
,
t
,
a
){
this
.
activeBrand
=
e
,
this
.
activeGroup
=
t
,
this
.
gicEnterpriseId
=
a
},
setSelectTab
:
function
(
e
){
switch
(
this
.
activeTab
=
e
.
tabId
,
e
.
tabId
){
case
"1"
:
case
"11"
:
this
.
changeRoute
(
"dayStatistics?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"2"
:
this
.
changeRoute
(
"workSet?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
showTab
:
function
(
e
){
this
.
activeTab
=
e
,
this
.
activeSelTab
=
e
,
this
.
tabListData
.
forEach
(
function
(
t
){
t
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
1
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
e
,
t
){
this
.
activeBrand
=
e
},
activeGroup
:
function
(
e
,
t
){
this
.
activeGroup
=
e
}},
mounted
:
function
(){
var
e
=
this
.
$route
.
query
.
appIcon
;
e
&&
(
this
.
appIcon
=
window
.
unescape
(
e
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonAppTop
:
n
.
a
,
commonDetailLeft
:
o
.
a
,
expiredDialog
:
r
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
e
.
appName
,
appIcon
:
e
.
appIcon
},
on
:{
selectBrandId
:
e
.
selectBrandId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
e
.
tabListData
,
activeSelTab
:
e
.
activeSelTab
},
on
:{
setSelectTab
:
e
.
setSelectTab
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
e
.
activeBrand
,
activeGroupId
:
e
.
activeGroup
,
tabType
:
e
.
activeTab
},
on
:{
showTab
:
e
.
showTab
}})],
1
)],
1
)])])],
1
),
e
.
_v
(
" "
),
e
.
expiredFlag
?
a
(
"expired-dialog"
,{
attrs
:{
forbidFlag
:
e
.
forbidFlag
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
e
){
a
(
"zKoH"
)},
"data-v-2dc38950"
,
null
);
t
.
default
=
u
.
exports
},
zKoH
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/89.be04c66b88e208c029e7.js
0 → 100644
View file @
b9dcbf13
webpackJsonp
([
89
],{
"3s88"
:
function
(
e
,
t
){},
"N+Or"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"gBtx"
),
o
=
a
.
n
(
s
),
r
=
a
(
"Xxa5"
),
n
=
a
.
n
(
r
),
i
=
a
(
"exGp"
),
l
=
a
.
n
(
i
),
c
=
a
(
"Ke24"
),
u
=
a
(
"Ie7z"
),
m
=
a
(
"jxcq"
),
d
=
a
(
"a9gP"
),
p
=
a
(
"3E4D"
),
g
=
a
(
"Ch4/"
),
b
=
a
(
"PI0u"
),
h
=
a
(
"P9l9"
),
v
=
{
name
:
"app-detail"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
tabType
:{
type
:
String
,
default
:
function
(){
return
"1"
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
activeName
:
"first"
,
activeGroup
:
this
.
activeGroupId
,
myCustomData
:{
searchFlag
:
!
1
,
chatFlag
:
!
1
,
mainStoreFlag
:
!
1
,
minorStoreFlag
:
!
1
,
openCardStoreFlag
:
!
1
,
clerkSeeOtherFlag
:
!
1
,
isSeeAuthMember
:
!
1
,
allowGuideContact
:
!
1
,
allowGuideMobile
:
!
1
,
allowGuideMessage
:
!
1
,
allowGuideOnlineChat
:
!
1
,
showFreezeFlag
:
!
1
},
topMenuData
:[{
id
:
"1"
,
name
:
"会员搜索设置"
}],
activeId
:
"1"
,
overTimeSeeFlag
:
""
,
conditionObj
:{
searchInput
:
""
,
classifyName
:
""
,
effectiveStatus
:
""
},
groupListData
:[],
classifyList
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
syncDate
:
""
}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
getSyncDate
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
t
.
brandId
||
e
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/get-group_last_syn_time"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
g
.
a
.
errorMsg
(
a
):
t
.
syncDate
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toSync
:
Object
(
b
.
a
)(
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
brandId
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/syn-group"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
p
.
a
.
showmsg
(
"同步成功"
,
"success"
),
void
e
.
getSyncDate
();
g
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
500
),
handleTabClick
:
function
(
e
,
t
){
var
a
=
this
;
return
l
()(
n
.
a
.
mark
(
function
t
(){
var
s
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
if
(
s
=
a
,
"first"
!=
e
.
name
){
t
.
next
=
5
;
break
}
s
.
getCustomerSet
(
s
.
brandId
),
t
.
next
=
15
;
break
;
case
5
:
if
(
"second"
!=
e
.
name
){
t
.
next
=
9
;
break
}
s
.
getShowSet
(
s
.
brandId
),
t
.
next
=
15
;
break
;
case
9
:
return
t
.
next
=
11
,
s
.
getGroupClassSet
(
s
.
brandId
);
case
11
:
return
t
.
next
=
13
,
s
.
getGroupClassify
(
s
.
brandId
);
case
13
:
return
t
.
next
=
15
,
s
.
getGroupList
(
s
.
brandId
);
case
15
:
case
"end"
:
return
t
.
stop
()}},
t
,
a
)}))()},
getGroupClassSet
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
e
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/get-member-group-setting"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
g
.
a
.
errorMsg
(
a
):
t
.
overTimeSeeFlag
=
0
!=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
saveGroupSet
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
brandId
,
overTimeSeeFlag
:
1
==
e
.
overTimeSeeFlag
?
1
:
0
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/save-member-group-setting"
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
p
.
a
.
showmsg
(
"设置成功"
,
"success"
),
!
1
;
g
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toInput
:
Object
(
b
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
changeCondition
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
getGroupClassify
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
e
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/get-member-class-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
g
.
a
.
errorMsg
(
a
):
t
.
classifyList
=
a
.
result
.
list
||
[]}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toEditGroup
:
function
(
e
,
t
){
this
.
memberTagGroupId
=
t
.
memberTagGroupId
,
this
.
getGroupSet
()},
getGroupSet
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
brandId
,
memberTagGroupId
:
e
.
memberTagGroupId
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/find-gorup-see-range"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
length
&&
a
.
result
.
forEach
(
function
(
e
){
2
===
o
()(
e
.
type
)
&&
(
e
.
groupId
=
e
.
id
),
e
.
label
=
e
.
name
}),
e
.
defaultStoreList
=
a
.
result
||
[],
void
(
e
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
});
g
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSelectedList
:
function
(
e
){
console
.
log
(
e
);
this
.
defaultStoreList
=
e
||
[],
this
.
saveGorupRange
()},
saveGorupRange
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
defaultStoreList
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
s
=
{
brandId
:
e
.
brandId
,
memberTagGroupId
:
e
.
memberTagGroupId
,
groupList
:
t
||
[],
storeList
:
a
||
[]};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/save-gorup-see-range"
,
s
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
p
.
a
.
showmsg
(
"编辑成功"
,
"success"
),
void
(
e
.
defaultStoreList
=
[]);
g
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toChangeTemp
:
function
(
e
,
t
,
a
){
var
s
=
this
;
console
.
log
(
e
,
t
,
a
);
var
o
=
{
brandId
:
s
.
brandId
,
memberTagGroupId
:
a
.
memberTagGroupId
,
isSendTemplate
:
1
==
a
.
isSendTemplate
?
1
:
0
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/save-member-group-is-template-message"
,
o
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
p
.
a
.
showmsg
(
"操作成功"
,
"success"
),
s
.
pageNum
=
1
,
void
s
.
getGroupList
(
s
.
brandId
);
a
.
isSendTemplate
=!
1
,
g
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
s
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getGroupList
(
this
.
brandId
)},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getGroupList
(
this
.
brandId
)},
getGroupList
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
e
,
memberGroupName
:
t
.
conditionObj
.
searchInput
,
classifyName
:
t
.
conditionObj
.
classifyName
,
effectiveStatus
:
t
.
conditionObj
.
effectiveStatus
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
h
.
e
)(
"/haoban-app-member-web/memberGroup/member-tag-group-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
length
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
isSendTemplate
=
1
==
e
.
isSendTemplate
}),
t
.
groupListData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
g
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
submit
:
Object
(
b
.
a
)(
function
(
e
){
this
.
setData
(
e
)},
500
),
setData
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
t
.
brandId
,
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
},
s
=
void
0
;
"showFlag"
!=
e
?(
a
[
e
]
=
t
.
myCustomData
[
e
]?
1
:
0
,
s
=
"/haoban-app-member-web/customer/save-online-chat-setting"
,
"searchFlag"
===
e
&&
(
s
=
"/haoban-app-member-web/customer/save-customer-setting"
)):(
a
.
mainStoreFlag
=
t
.
myCustomData
.
mainStoreFlag
?
1
:
0
,
a
.
minorStoreFlag
=
t
.
myCustomData
.
minorStoreFlag
?
1
:
0
,
a
.
openCardStoreFlag
=
t
.
myCustomData
.
openCardStoreFlag
?
1
:
0
,
a
.
clerkSeeOtherFlag
=
t
.
myCustomData
.
clerkSeeOtherFlag
?
1
:
0
,
a
.
allowGuideContact
=
t
.
myCustomData
.
allowGuideContact
?
1
:
0
,
a
.
allowGuideMobile
=
t
.
myCustomData
.
allowGuideMobile
?
1
:
0
,
a
.
allowGuideMessage
=
t
.
myCustomData
.
allowGuideMessage
?
1
:
0
,
a
.
allowGuideOnlineChat
=
t
.
myCustomData
.
allowGuideOnlineChat
?
1
:
0
,
a
.
isSeeAuthMember
=
t
.
myCustomData
.
isSeeAuthMember
?
1
:
0
,
a
.
showFreezeFlag
=
t
.
myCustomData
.
showFreezeFlag
?
1
:
0
,
a
.
chatFlag
=
t
.
myCustomData
.
chatFlag
,
a
.
isMessageRemind
=
t
.
myCustomData
.
isMessageRemind
,
a
.
messageRemindTime
=
t
.
myCustomData
.
messageRemindTime
,
a
.
isTemplateMessage
=
t
.
myCustomData
.
isTemplateMessage
,
a
.
isImgMessage
=
t
.
myCustomData
.
isImgMessage
,
a
.
isGoodMessage
=
t
.
myCustomData
.
isGoodMessage
,
a
.
isIntegralGoodMessage
=
t
.
myCustomData
.
isIntegralGoodMessage
,
s
=
"/haoban-app-member-web/customer/save-member-show-setting"
),
Object
(
h
.
e
)(
s
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
g
.
a
.
errorMsg
(
t
):
p
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
changeAllowGuide
:
function
(
e
){
this
.
myCustomData
.
allowGuideMobile
=
e
,
this
.
myCustomData
.
allowGuideMessage
=
e
,
this
.
myCustomData
.
allowGuideOnlineChat
=
e
},
changeContact
:
function
(){
this
.
myCustomData
.
allowGuideMobile
||
this
.
myCustomData
.
allowGuideMessage
||
this
.
myCustomData
.
allowGuideOnlineChat
||
(
this
.
myCustomData
.
allowGuideContact
=!
1
)},
getCustomerSet
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
e
};
Object
(
h
.
e
)(
"/haoban-app-member-web/customer/find-customer-setting"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
g
.
a
.
errorMsg
(
a
):
a
.
result
&&
(
t
.
myCustomData
.
searchFlag
=!!
a
.
result
.
searchFlag
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getShowSet
:
function
(
e
){
var
t
=
this
,
a
=
{
brandId
:
e
};
Object
(
h
.
e
)(
"/haoban-app-member-web/customer/find-member-show-setting"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
g
.
a
.
errorMsg
(
a
):
a
.
result
&&
(
a
.
result
.
mainStoreFlag
=
1
==
a
.
result
.
mainStoreFlag
,
a
.
result
.
minorStoreFlag
=
1
==
a
.
result
.
minorStoreFlag
,
a
.
result
.
openCardStoreFlag
=
1
==
a
.
result
.
openCardStoreFlag
,
a
.
result
.
clerkSeeOtherFlag
=
1
==
a
.
result
.
clerkSeeOtherFlag
,
a
.
result
.
allowGuideContact
=
1
==
a
.
result
.
allowGuideContact
,
a
.
result
.
allowGuideMobile
=
1
==
a
.
result
.
allowGuideMobile
,
a
.
result
.
allowGuideMessage
=
1
==
a
.
result
.
allowGuideMessage
,
a
.
result
.
allowGuideOnlineChat
=
1
==
a
.
result
.
allowGuideOnlineChat
,
a
.
result
.
isSeeAuthMember
=
1
==
a
.
result
.
isSeeAuthMember
,
a
.
result
.
showFreezeFlag
=
1
==
a
.
result
.
showFreezeFlag
,
a
.
result
.
searchFlag
=
1
==
a
.
result
.
searchFlag
,
t
.
myCustomData
=
a
.
result
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
this
.
getCustomerSet
(
e
),
this
.
getShowSet
(
e
),
this
.
getGroupClassify
(
e
),
this
.
getGroupList
(
e
),
this
.
getGroupClassSet
(
e
),
this
.
getSyncDate
(
e
)},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)},
tabType
:
function
(
e
,
t
){
1
==
e
?(
this
.
getShowSet
(
this
.
brandId
),
this
.
topMenuData
=
[{
id
:
"1"
,
name
:
"会员搜索设置"
}],
this
.
activeId
=
1
):(
this
.
topMenuData
=
[{
id
:
"2"
,
name
:
"在线沟通设置"
}],
this
.
activeId
=
"2"
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
brandId
&&
1
!=
this
.
brandId
&&
(
this
.
getCustomerSet
(
this
.
brandId
),
this
.
getShowSet
(
this
.
brandId
),
this
.
getGroupClassify
(
this
.
brandId
),
this
.
getGroupList
(
this
.
brandId
),
this
.
getGroupClassSet
(
this
.
brandId
),
this
.
getSyncDate
(
this
.
brandId
))},
components
:{
commonDetailTop
:
c
.
a
,
vueSelectStore
:
u
.
a
,
onlineChat
:
m
.
a
,
chatLog
:
d
.
a
}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
1
==
e
.
tabType
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"common-detail-tab"
},[
a
(
"el-tabs"
,{
staticClass
:
"daily-set-tab"
,
on
:{
"tab-click"
:
e
.
handleTabClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"会员搜索设置"
,
name
:
"first"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"会员展示设置"
,
name
:
"second"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"会员分组设置"
,
name
:
"third"
}})],
1
)],
1
),
e
.
_v
(
" "
),
"first"
==
e
.
activeName
?
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
myCustomData
.
searchFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"searchFlag"
,
t
)},
expression
:
"myCustomData.searchFlag"
}},[
e
.
_v
(
"允许全品牌搜索"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-46"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submit
(
"searchFlag"
)}}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
"second"
==
e
.
activeName
?
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-checkbox"
,{
staticClass
:
"w-195"
,
model
:{
value
:
e
.
myCustomData
.
mainStoreFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"mainStoreFlag"
,
t
)},
expression
:
"myCustomData.mainStoreFlag"
}},[
e
.
_v
(
"展示服务门店会员"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"注:保存勾选项后,门店导购和店长可查看本门店作为服务门店名下会员"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-checkbox"
,{
staticClass
:
"w-195"
,
model
:{
value
:
e
.
myCustomData
.
minorStoreFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"minorStoreFlag"
,
t
)},
expression
:
"myCustomData.minorStoreFlag"
}},[
e
.
_v
(
"展示协管门店会员"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"注:保存勾选项后,门店导购和店长可查看本门店作为协管门店名下会员"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-checkbox"
,{
staticClass
:
"w-195"
,
model
:{
value
:
e
.
myCustomData
.
openCardStoreFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"openCardStoreFlag"
,
t
)},
expression
:
"myCustomData.openCardStoreFlag"
}},[
e
.
_v
(
"展示开卡门店会员"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"注:保存勾选项后,门店导购和店长可查看本门店作为开卡门店名下会员"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-checkbox"
,{
staticClass
:
"w-195"
,
model
:{
value
:
e
.
myCustomData
.
showFreezeFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"showFreezeFlag"
,
t
)},
expression
:
"myCustomData.showFreezeFlag"
}},[
e
.
_v
(
"展示冻结会员"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 set-tip-item"
},[
e
.
_v
(
"注:保存勾选项后,门店导购和店长可查看本门店冻结会员"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-checkbox"
,{
staticClass
:
"w-195"
,
model
:{
value
:
e
.
myCustomData
.
isSeeAuthMember
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"isSeeAuthMember"
,
t
)},
expression
:
"myCustomData.isSeeAuthMember"
}},[
e
.
_v
(
"展示已开卡会员"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"注:保存勾选项后,门店导购和店长可查看本门店微信会员(不含未开卡会员)及POS会员"
)]),
e
.
_v
(
" "
),
a
(
"br"
),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"p-l-199 font-14 color-909399"
},[
e
.
_v
(
"不勾选将展示微信会员(即微信总量,含未开卡会员)及POS会员"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-checkbox"
,{
staticClass
:
"w-195"
,
model
:{
value
:
e
.
myCustomData
.
clerkSeeOtherFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"clerkSeeOtherFlag"
,
t
)},
expression
:
"myCustomData.clerkSeeOtherFlag"
}},[
e
.
_v
(
"允许导购查看其他导购会员"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"注:保存勾选项后,门店导购可查看本门店其他导购名下会员"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
e
.
changeAllowGuide
},
model
:{
value
:
e
.
myCustomData
.
allowGuideContact
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"allowGuideContact"
,
t
)},
expression
:
"myCustomData.allowGuideContact"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
e
.
_v
(
"允许导购主动联系会员"
)]),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-38"
},[
e
.
_v
(
"注:开启后,可选择导购在 < 我的顾客 > 中是否通过以下方式联系会员"
)])],
1
),
e
.
_v
(
" "
),
e
.
myCustomData
.
allowGuideContact
?
a
(
"div"
,[
a
(
"el-checkbox"
,{
on
:{
change
:
e
.
changeContact
},
model
:{
value
:
e
.
myCustomData
.
allowGuideMobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"allowGuideMobile"
,
t
)},
expression
:
"myCustomData.allowGuideMobile"
}},[
e
.
_v
(
"电话"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
e
.
changeContact
},
model
:{
value
:
e
.
myCustomData
.
allowGuideMessage
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"allowGuideMessage"
,
t
)},
expression
:
"myCustomData.allowGuideMessage"
}},[
e
.
_v
(
"短信"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
e
.
changeContact
},
model
:{
value
:
e
.
myCustomData
.
allowGuideOnlineChat
,
callback
:
function
(
t
){
e
.
$set
(
e
.
myCustomData
,
"allowGuideOnlineChat"
,
t
)},
expression
:
"myCustomData.allowGuideOnlineChat"
}},[
e
.
_v
(
"消息"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-46"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submit
(
"showFlag"
)}}},[
e
.
_v
(
"保 存"
)])],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"third"
==
e
.
activeName
?
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
a
(
"div"
,{
staticClass
:
"condition-wrap font-0"
},[
a
(
"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
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"
}}),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeCondition
},
model
:{
value
:
e
.
conditionObj
.
classifyName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"classifyName"
,
t
)},
expression
:
"conditionObj.classifyName"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部"
,
value
:
""
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
classifyList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
e
,
value
:
e
}})})],
2
),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"m-l-10"
,
attrs
:{
placeholder
:
"请选择状态"
},
on
:{
change
:
e
.
changeCondition
},
model
:{
value
:
e
.
conditionObj
.
effectiveStatus
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"effectiveStatus"
,
t
)},
expression
:
"conditionObj.effectiveStatus"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部"
,
value
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"有效"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"失效"
,
value
:
"0"
}})],
1
)],
1
),
e
.
_v
(
" "
),
e
.
_m
(
0
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20 m-b-20"
},[
a
(
"div"
,{
staticClass
:
"switch-wrap m-t-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center"
},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
e
.
saveGroupSet
},
model
:{
value
:
e
.
overTimeSeeFlag
,
callback
:
function
(
t
){
e
.
overTimeSeeFlag
=
t
},
expression
:
"overTimeSeeFlag"
}}),
e
.
_v
(
" "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
}},[
e
.
_v
(
"会员分组到期后不展示"
),
a
(
"span"
,{
staticClass
:
"el-icon-info font-12 color-909399"
})])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
syncDate
?
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
e
.
_v
(
"最近一次同步时间:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
syncDate
)))]):
e
.
_e
(),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toSync
}},[
e
.
_v
(
"立即同步"
)])],
1
)])])]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
groupListData
,
"tooltip-effect"
:
"dark"
}},[
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
.
groupName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
))]}}])}),
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
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
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
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
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
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
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
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"<前提:开启模板消息开关。仅支持专属导购对<我的顾客-会员分组>中的分组下会员发送模板消息>"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
e
.
_v
(
"模板消息设置"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
a
){
e
.
toChangeTemp
(
a
,
t
.
$index
,
t
.
row
)}},
model
:{
value
:
t
.
row
.
isSendTemplate
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"isSendTemplate"
,
a
)},
expression
:
"scope.row.isSendTemplate"
}})]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"仅可编辑能在好办展示的分组"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
e
.
_v
(
"操作"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toEditGroup
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑分组可见范围"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
groupListData
.
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
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
tabType
?
a
(
"div"
,[
a
(
"online-chat"
,{
attrs
:{
brandId
:
e
.
brandId
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
tabType
?
a
(
"div"
,[
a
(
"chat-log"
,{
attrs
:{
brandId
:
e
.
brandId
,
activeGroupId
:
e
.
activeGroupId
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"condition-tip m-t-20 m-b-20"
},[
t
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
t
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"el-alert__content"
},[
t
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"注:GIC设置分组后,好办会员分组列表次日刷新,每日刷新一次,仅展示GIC中开启【好办展示】的会员分组"
)])])])])}]};
var
C
=
a
(
"VU/8"
)(
v
,
f
,
!
1
,
function
(
e
){
a
(
"3s88"
)},
"data-v-2c0f7200"
,
null
);
t
.
default
=
C
.
exports
}});
\ No newline at end of file
dist/static/js/app.
1770d93608676b30aeb4
.js
→
dist/static/js/app.
b6bed284c63e1621ce3b
.js
View file @
b9dcbf13
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
),
b
=
n
(
"SJI6"
),
E
=
n
.
n
(
b
);
u
.
a
.
use
(
E
.
a
);
var
I
=
new
E
.
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
(
"XsK6"
),
O
=
n
.
n
(
F
),
N
=
n
(
"QRL9"
),
z
=
n
.
n
(
N
),
Y
=
n
(
"2Pnh"
),
J
=
n
.
n
(
Y
),
K
=
n
(
"l9mu"
),
B
=
n
.
n
(
K
),
U
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
J
()(
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
B
.
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"
)})}}},
X
=
n
(
"/IwO"
),
Q
=
n
.
n
(
X
);
s
.
a
.
polyfill
(),
Vue
.
use
(
Q
.
a
),
Q
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
U
),
Vue
.
use
(
O
.
a
),
Vue
.
use
(
z
.
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"
,
63
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
71
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
61
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
84
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
9
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
11
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
70
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
17
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
25
],
"./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
,
58
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
59
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
90
],
"./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
,
60
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
53
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
72
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
51
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
88
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
69
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
41
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
83
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
42
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
85
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
55
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
97
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
65
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
74
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
82
],
"./enterpriseApp/dailyAttendance/dayStatistics.vue"
:[
"gncU"
,
0
,
40
],
"./enterpriseApp/dailyAttendance/index.vue"
:[
"vgwM"
,
0
,
89
],
"./enterpriseApp/dailyAttendance/monthStatistics.vue"
:[
"z8Gq"
,
99
],
"./enterpriseApp/dailyAttendance/workGroupSet.vue"
:[
"estW"
,
0
,
14
],
"./enterpriseApp/dailyAttendance/workSet.vue"
:[
"A/XQ"
,
0
,
31
],
"./enterpriseApp/dailyAttendance/workTimeManage.vue"
:[
"/n/x"
,
0
,
33
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
52
],
"./enterpriseApp/marketingMaterial/enjoyMaterial.vue"
:[
"SB6x"
,
0
,
26
],
"./enterpriseApp/marketingMaterial/imageText.vue"
:[
"0qiV"
,
0
,
24
],
"./enterpriseApp/marketingMaterial/index.vue"
:[
"m0O4"
,
0
,
45
],
"./enterpriseApp/marketingMaterial/newEnjoy.vue"
:[
"7fkC"
,
0
,
18
],
"./enterpriseApp/marketingMaterial/newImageText.vue"
:[
"NajC"
,
0
,
15
],
"./enterpriseApp/myCustomer/cardGetRecord.vue"
:[
"YqmZ"
,
0
,
77
],
"./enterpriseApp/myCustomer/cardSendRecord.vue"
:[
"+Q5U"
,
0
,
96
],
"./enterpriseApp/myCustomer/chatRecord.vue"
:[
"gjw3"
,
0
,
57
],
"./enterpriseApp/myCustomer/index.vue"
:[
"/rje"
,
0
,
73
],
"./enterpriseApp/myCustomer/memeberBaseSet.vue"
:[
"N+Or"
,
0
,
81
],
"./enterpriseApp/myCustomer/newCard.vue"
:[
"G/J9"
,
0
,
95
],
"./enterpriseApp/myCustomer/onlineChatSet.vue"
:[
"ahzF"
,
0
,
28
],
"./enterpriseApp/myCustomer/sendRecord.vue"
:[
"8msp"
,
0
,
87
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
49
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
2
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
66
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
13
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
47
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
62
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
79
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
86
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
78
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
67
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
46
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
48
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
68
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
98
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
50
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
34
],
"./enterpriseApp/trafficTask/taskViewDetail.vue"
:[
"Akas"
,
0
,
76
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
64
],
"./errorPage/403.vue"
:[
"6XGN"
,
35
],
"./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
,
36
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
92
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
22
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
12
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
56
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
80
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
54
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
16
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
75
],
"./setting/index.vue"
:[
"VlR1"
,
44
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
91
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
93
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
30
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
27
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
94
]};
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
),
b
=
n
(
"SJI6"
),
E
=
n
.
n
(
b
);
u
.
a
.
use
(
E
.
a
);
var
I
=
new
E
.
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
(
"XsK6"
),
O
=
n
.
n
(
F
),
N
=
n
(
"QRL9"
),
z
=
n
.
n
(
N
),
Y
=
n
(
"2Pnh"
),
J
=
n
.
n
(
Y
),
K
=
n
(
"l9mu"
),
B
=
n
.
n
(
K
),
U
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
J
()(
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
B
.
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"
)})}}},
X
=
n
(
"/IwO"
),
Q
=
n
.
n
(
X
);
s
.
a
.
polyfill
(),
Vue
.
use
(
Q
.
a
),
Q
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
U
),
Vue
.
use
(
O
.
a
),
Vue
.
use
(
z
.
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"
,
63
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
71
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
61
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
83
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
9
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
11
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
70
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
17
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
25
],
"./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
,
58
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
59
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
90
],
"./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
,
60
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
53
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
72
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
51
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
87
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
69
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
41
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
82
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
42
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
84
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
55
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
97
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
65
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
74
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
81
],
"./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
,
14
],
"./enterpriseApp/dailyAttendance/workSet.vue"
:[
"A/XQ"
,
0
,
31
],
"./enterpriseApp/dailyAttendance/workTimeManage.vue"
:[
"/n/x"
,
0
,
33
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
52
],
"./enterpriseApp/marketingMaterial/enjoyMaterial.vue"
:[
"SB6x"
,
0
,
26
],
"./enterpriseApp/marketingMaterial/imageText.vue"
:[
"0qiV"
,
0
,
24
],
"./enterpriseApp/marketingMaterial/index.vue"
:[
"m0O4"
,
0
,
45
],
"./enterpriseApp/marketingMaterial/newEnjoy.vue"
:[
"7fkC"
,
0
,
18
],
"./enterpriseApp/marketingMaterial/newImageText.vue"
:[
"NajC"
,
0
,
15
],
"./enterpriseApp/myCustomer/cardGetRecord.vue"
:[
"YqmZ"
,
0
,
77
],
"./enterpriseApp/myCustomer/cardSendRecord.vue"
:[
"+Q5U"
,
0
,
96
],
"./enterpriseApp/myCustomer/chatRecord.vue"
:[
"gjw3"
,
0
,
57
],
"./enterpriseApp/myCustomer/index.vue"
:[
"/rje"
,
0
,
73
],
"./enterpriseApp/myCustomer/memeberBaseSet.vue"
:[
"N+Or"
,
0
,
89
],
"./enterpriseApp/myCustomer/newCard.vue"
:[
"G/J9"
,
0
,
95
],
"./enterpriseApp/myCustomer/onlineChatSet.vue"
:[
"ahzF"
,
0
,
28
],
"./enterpriseApp/myCustomer/sendRecord.vue"
:[
"8msp"
,
0
,
86
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
49
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
2
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
66
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
13
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
47
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
62
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
79
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
85
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
78
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
67
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
46
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
48
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
68
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
98
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
50
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
34
],
"./enterpriseApp/trafficTask/taskViewDetail.vue"
:[
"Akas"
,
0
,
76
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
64
],
"./errorPage/403.vue"
:[
"6XGN"
,
35
],
"./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
,
36
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
92
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
22
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
12
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
56
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
80
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
54
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
16
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
75
],
"./setting/index.vue"
:[
"VlR1"
,
44
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
91
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
93
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
30
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
27
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
94
]};
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.
9ce06fb6c946cf7da60e
.js
→
dist/static/js/manifest.
cbdb556cf05435d7d04b
.js
View file @
b9dcbf13
!
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
:
"16f150bfd92bb71d0f6a"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"b4cd547e4cd1c85c02dd"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"44c4b15c4c7924605d5b"
,
6
:
"124ad8222f7b043b44ae"
,
7
:
"b545128585c9ed62a709"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"879536ae7ce46f0c54ec"
,
13
:
"e3b5c7d90654fe83689e"
,
14
:
"4fca81a28867daa95602"
,
15
:
"d251e8a6c8d22c33bf8f"
,
16
:
"f483f95dbac654c7de5a"
,
17
:
"ff6edf624b982c354977"
,
18
:
"d2d67b4f5729ae6df7c6"
,
19
:
"d7d09ae4564d64842009"
,
20
:
"455fd80bd8af15457c57"
,
21
:
"c1b5e15e28768af52654"
,
22
:
"2a873e819c6c369d5cd1"
,
23
:
"d2380bf3c276e741313b"
,
24
:
"76cb3025ebe21689d252"
,
25
:
"d3508ee6e53c11c834a8"
,
26
:
"a4696a3d8f883d26cbba"
,
27
:
"80efeaa8fe902850d85c"
,
28
:
"2ba7e7705685a9846122"
,
29
:
"c5bb15e8e1bd17cdc0f7"
,
30
:
"ea05d43b99177823fbdc"
,
31
:
"3c60579eb96d87cceb08"
,
32
:
"0c7863fa05e5c75053c3"
,
33
:
"fe239972086d90fd74ac"
,
34
:
"1caa0ccb68b3c0286d52"
,
35
:
"d8abf87eeb477b4bc1f3"
,
36
:
"2cadbd4ded3457625f52"
,
37
:
"8dc3e1f0f3e416135406"
,
38
:
"9f4a46d2ce3c9477a06b"
,
39
:
"b33ea830129fb895dd77"
,
40
:
"ad473a8b167e7f71e8af"
,
41
:
"0dc1ed22d89c304b797a"
,
42
:
"54f2f4850c109391114a"
,
43
:
"fb46c0bad10552e7ef89"
,
44
:
"3d32c7e1954754671303"
,
45
:
"a9716608f3af52ee74c5"
,
46
:
"84083eac0c5c5b14a99f"
,
47
:
"5fba8d62f07fd68c7875"
,
48
:
"3d2a2f4e5dca20f701e8"
,
49
:
"c0c90eb73e8637aa4caf"
,
50
:
"d121c16edea8a23b184c"
,
51
:
"aa5454e0664f02f5f5f6"
,
52
:
"906057051eeca0acab78"
,
53
:
"ad34897b3043dc2ba8c4"
,
54
:
"6d6fb15946a63d0c8b8a"
,
55
:
"b43dde027408aa464eec"
,
56
:
"6832c3f53087f9be96f5"
,
57
:
"0e15966d5a390b261531"
,
58
:
"16c93a5bf02d38a37fc9"
,
59
:
"5b1ec5d1b1a521e3d08c"
,
60
:
"78879d12138586a55889"
,
61
:
"808ff5762241617119d2"
,
62
:
"c5e6807ba0396de65c09"
,
63
:
"48c8197447001523c96a"
,
64
:
"2fde2a2c7684e413fabf"
,
65
:
"d04a625c7c1be14055ca"
,
66
:
"c8bcc2763a6261f3b71a"
,
67
:
"e31ff017868a4c915459"
,
68
:
"ccf3d2f2ff212616a304"
,
69
:
"d3eb9e04825ecbc368f0"
,
70
:
"a40e983651947cb4a80f"
,
71
:
"f1355cfe02f70ada1080"
,
72
:
"4b2370e83cb0d4be4827"
,
73
:
"7ba0b65dc41cb247edbd"
,
74
:
"dc15b9283d391d45e7ad"
,
75
:
"2af62bc345e485f791d0"
,
76
:
"9952983e7d2c2caf0587"
,
77
:
"902e9efd4c008a30fda8"
,
78
:
"89dd494ce396d2028237"
,
79
:
"222db95b65cc45af172a"
,
80
:
"d63547dbc4122065934a"
,
81
:
"458561c7080bbb2b8b51"
,
82
:
"e93e0b8dc9338a7e214e"
,
83
:
"51b9cb2cf0033f7c0e2a"
,
84
:
"623af63bdee6d478308d"
,
85
:
"bb3f229cc47b83dec5db"
,
86
:
"3399c563d69998ce97e8"
,
87
:
"29432e7113f42af0aa23"
,
88
:
"5a4d2e0328d3aceb6b27"
,
89
:
"4186a9a4419d0d1ed6c7"
,
90
:
"861b3c7eee0a1ad2166b"
,
91
:
"7c86fe5e074d53a8e5bf"
,
92
:
"a328f65ce457b3f31396"
,
93
:
"fb225c89e76feddbc756"
,
94
:
"bb99ea1902902ef80241"
,
95
:
"daeac6e999523760ef39"
,
96
:
"2efbe74c26dcfb77650f"
,
97
:
"ac2cf8e5e0e144c3b742"
,
98
:
"e0fd2c832397fdb94924"
,
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
],
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
:
"16f150bfd92bb71d0f6a"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"b4cd547e4cd1c85c02dd"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"d3fd4d9cfb91869be480"
,
6
:
"124ad8222f7b043b44ae"
,
7
:
"b545128585c9ed62a709"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"879536ae7ce46f0c54ec"
,
13
:
"e3b5c7d90654fe83689e"
,
14
:
"4fca81a28867daa95602"
,
15
:
"d251e8a6c8d22c33bf8f"
,
16
:
"f483f95dbac654c7de5a"
,
17
:
"ff6edf624b982c354977"
,
18
:
"d2d67b4f5729ae6df7c6"
,
19
:
"d7d09ae4564d64842009"
,
20
:
"455fd80bd8af15457c57"
,
21
:
"c1b5e15e28768af52654"
,
22
:
"2a873e819c6c369d5cd1"
,
23
:
"d2380bf3c276e741313b"
,
24
:
"76cb3025ebe21689d252"
,
25
:
"d3508ee6e53c11c834a8"
,
26
:
"a4696a3d8f883d26cbba"
,
27
:
"80efeaa8fe902850d85c"
,
28
:
"2ba7e7705685a9846122"
,
29
:
"c5bb15e8e1bd17cdc0f7"
,
30
:
"ea05d43b99177823fbdc"
,
31
:
"3c60579eb96d87cceb08"
,
32
:
"0c7863fa05e5c75053c3"
,
33
:
"fe239972086d90fd74ac"
,
34
:
"1caa0ccb68b3c0286d52"
,
35
:
"d8abf87eeb477b4bc1f3"
,
36
:
"2cadbd4ded3457625f52"
,
37
:
"8dc3e1f0f3e416135406"
,
38
:
"9f4a46d2ce3c9477a06b"
,
39
:
"b33ea830129fb895dd77"
,
40
:
"ad473a8b167e7f71e8af"
,
41
:
"0dc1ed22d89c304b797a"
,
42
:
"54f2f4850c109391114a"
,
43
:
"fb46c0bad10552e7ef89"
,
44
:
"3d32c7e1954754671303"
,
45
:
"a9716608f3af52ee74c5"
,
46
:
"84083eac0c5c5b14a99f"
,
47
:
"5fba8d62f07fd68c7875"
,
48
:
"3d2a2f4e5dca20f701e8"
,
49
:
"c0c90eb73e8637aa4caf"
,
50
:
"d121c16edea8a23b184c"
,
51
:
"aa5454e0664f02f5f5f6"
,
52
:
"906057051eeca0acab78"
,
53
:
"ad34897b3043dc2ba8c4"
,
54
:
"6d6fb15946a63d0c8b8a"
,
55
:
"b43dde027408aa464eec"
,
56
:
"6832c3f53087f9be96f5"
,
57
:
"0e15966d5a390b261531"
,
58
:
"16c93a5bf02d38a37fc9"
,
59
:
"5b1ec5d1b1a521e3d08c"
,
60
:
"78879d12138586a55889"
,
61
:
"808ff5762241617119d2"
,
62
:
"c5e6807ba0396de65c09"
,
63
:
"48c8197447001523c96a"
,
64
:
"2fde2a2c7684e413fabf"
,
65
:
"d04a625c7c1be14055ca"
,
66
:
"c8bcc2763a6261f3b71a"
,
67
:
"e31ff017868a4c915459"
,
68
:
"ccf3d2f2ff212616a304"
,
69
:
"d3eb9e04825ecbc368f0"
,
70
:
"a40e983651947cb4a80f"
,
71
:
"f1355cfe02f70ada1080"
,
72
:
"4b2370e83cb0d4be4827"
,
73
:
"7ba0b65dc41cb247edbd"
,
74
:
"dc15b9283d391d45e7ad"
,
75
:
"2af62bc345e485f791d0"
,
76
:
"9952983e7d2c2caf0587"
,
77
:
"902e9efd4c008a30fda8"
,
78
:
"89dd494ce396d2028237"
,
79
:
"222db95b65cc45af172a"
,
80
:
"d63547dbc4122065934a"
,
81
:
"dc300d9df998b44e6232"
,
82
:
"144114e508b0964b3a4a"
,
83
:
"8f8eee29795665b74226"
,
84
:
"ae9e016eb15a5ec99e7f"
,
85
:
"bfae8273934cbb68d34c"
,
86
:
"62d40f9d4fac7cd847c0"
,
87
:
"0fb42cff2a7382428597"
,
88
:
"4baa99b5ba65f517e6b4"
,
89
:
"be04c66b88e208c029e7"
,
90
:
"861b3c7eee0a1ad2166b"
,
91
:
"7c86fe5e074d53a8e5bf"
,
92
:
"a328f65ce457b3f31396"
,
93
:
"fb225c89e76feddbc756"
,
94
:
"bb99ea1902902ef80241"
,
95
:
"daeac6e999523760ef39"
,
96
:
"2efbe74c26dcfb77650f"
,
97
:
"ac2cf8e5e0e144c3b742"
,
98
:
"e0fd2c832397fdb94924"
,
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
}}([]);
\ No newline at end of file
\ No newline at end of file
src/views/enterpriseApp/myCustomer/memeberBaseSet.vue
View file @
b9dcbf13
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-06-10 16:
06:12
* @LastEditTime: 2020-06-10 16:
20:37
-->
-->
<!--
<!--
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
</div>
</div>
<div
class=
"m-b-20"
>
<div
class=
"m-b-20"
>
<el-checkbox
class=
"w-195"
v-model=
"myCustomData.showFreezeFlag"
>
展示冻结会员
</el-checkbox>
<el-checkbox
class=
"w-195"
v-model=
"myCustomData.showFreezeFlag"
>
展示冻结会员
</el-checkbox>
<
div
class=
"font-14 color-909399 set-tip-item"
>
注:保存勾选项后,门店导购和店长可查看本门店冻结会员
</div
>
<
span
class=
"font-14 color-909399 set-tip-item"
>
注:保存勾选项后,门店导购和店长可查看本门店冻结会员
</span
>
</div>
</div>
<div
class=
"m-b-20"
>
<div
class=
"m-b-20"
>
<el-checkbox
class=
"w-195"
v-model=
"myCustomData.isSeeAuthMember"
>
展示已开卡会员
</el-checkbox>
<el-checkbox
class=
"w-195"
v-model=
"myCustomData.isSeeAuthMember"
>
展示已开卡会员
</el-checkbox>
...
...
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