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
5bf58c39
Commit
5bf58c39
authored
Oct 26, 2021
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
4af9b6f6
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
25 additions
and
44 deletions
+25
-44
index.html
dist/index.html
+2
-2
app.9bf528e977f631a148fa8f9f5319e224.css
dist/static/css/app.9bf528e977f631a148fa8f9f5319e224.css
+0
-0
25.73679f7bfeb541a67979.js
dist/static/js/25.73679f7bfeb541a67979.js
+2
-0
26.38395de8fad5a3d53636.js
dist/static/js/26.38395de8fad5a3d53636.js
+2
-2
27.c3b51455b76a9b220611.js
dist/static/js/27.c3b51455b76a9b220611.js
+0
-2
27.d4057429dd4332ec83e8.js
dist/static/js/27.d4057429dd4332ec83e8.js
+2
-2
app.253db69fb5d2c9c4706d.js
dist/static/js/app.253db69fb5d2c9c4706d.js
+2
-2
manifest.53a39544fcf596986a28.js
dist/static/js/manifest.53a39544fcf596986a28.js
+2
-2
onlineChatSet.vue
src/views/enterpriseApp/myCustomer/onlineChatSet.vue
+13
-32
No files found.
dist/index.html
View file @
5bf58c39
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.02e6d0fd06973cc46a7abf4e728a8ac0.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.05c513ca4289d51b756d.js
></script><script
type=
text/javascript
src=
./static/js/vendor.5e52da786b7269475621.js
></script><script
type=
text/javascript
src=
./static/js/app.9b0ba454963b22dbe57a.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.9bf528e977f631a148fa8f9f5319e224.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.53a39544fcf596986a28.js
></script><script
type=
text/javascript
src=
./static/js/vendor.5e52da786b7269475621.js
></script><script
type=
text/javascript
src=
./static/js/app.253db69fb5d2c9c4706d.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
02e6d0fd06973cc46a7abf4e728a8ac0
.css
→
dist/static/css/app.
9bf528e977f631a148fa8f9f5319e224
.css
View file @
5bf58c39
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/25.73679f7bfeb541a67979.js
0 → 100644
View file @
5bf58c39
webpackJsonp
([
25
],{
"33SU"
:
function
(
t
,
e
){},
"6TpV"
:
function
(
t
,
e
){},
JDTu
:
function
(
t
,
e
){},
ahzF
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
{
name
:
"card-record-table"
,
props
:{
tableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
activeTab
:{
type
:[
String
,
Number
],
default
:
function
(){
return
"52"
}}},
data
:
function
(){
return
{}},
filters
:{
percenteNum
:
function
(
t
){
return
t
>
0
?
Number
(
100
*
t
).
toFixed
(
2
)
+
"%"
:
Number
(
t
).
toFixed
(
2
)
+
"%"
}},
methods
:{
toSendDetail
:
function
(
t
,
e
,
a
){
this
.
$router
.
push
(
"/"
+
(
1
==
a
?
"cardSendRecord"
:
"cardGetRecord"
)
+
"?activeTab="
+
this
.
activeTab
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&coupCardId="
+
e
.
coupCardId
)}}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"card-record-table m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
""
,
width
:
"96"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"发送卡券数量,包含扫码发券数"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"发送数量"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
issuingQuantity
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取数量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
getedQuantity
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percenteNum"
)(
e
.
row
.
getedRate
)))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"使用数量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
usageQuantity
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percenteNum"
)(
e
.
row
.
verificationRate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"销售额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
saleAmount
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"发送卡券的导购总人数,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
sendMemberCount
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
width
:
"200"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"1"
)}}},[
t
.
_v
(
"发送记录"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"2"
)}}},[
t
.
_v
(
"领取记录"
)])]}}])})],
1
)],
1
)},
staticRenderFns
:[]};
var
l
=
a
(
"VU/8"
)(
s
,
o
,
!
1
,
function
(
t
){
a
(
"JDTu"
)},
"data-v-96f4e55e"
,
null
).
exports
,
i
=
{
name
:
"card-list-table"
,
props
:{
tableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
activeTab
:{
type
:[
String
,
Number
],
default
:
function
(){
return
"51"
}}},
data
:
function
(){
return
{}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的分类?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
$emit
(
"delCard"
,
e
.
coupCardId
)}).
catch
(
function
(){})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCard?activeTab="
+
this
.
activeTab
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&coupCardId="
+
e
.
coupCardId
)}}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"抵金券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"折扣券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"兑换券"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"有效期"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
effectDateString
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"库存"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
couponStock
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
i
,
r
,
!
1
,
function
(
t
){
a
(
"33SU"
)},
"data-v-552374d2"
,
null
).
exports
,
c
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"PI0u"
),
f
=
{
name
:
"online-chat"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
cardRecordTable
:
l
,
cardListTable
:
n
},
data
:
function
(){
return
{
activeTab
:
"1"
,
leftData
:[{
tabId
:
"1"
,
tabName
:
"短信提醒"
},{
tabId
:
"2"
,
tabName
:
"模板消息"
},{
tabId
:
"3"
,
tabName
:
"图文"
},{
tabId
:
"4"
,
tabName
:
"商品"
},{
tabId
:
"5"
,
tabName
:
"卡券"
,
children
:[{
tabId
:
"51"
,
tabName
:
"卡券列表"
},{
tabId
:
"52"
,
tabName
:
"卡券记录"
}]}],
chatData
:{
chatFlag
:
!
1
,
isMessageRemind
:
!
1
,
messageRemindTime
:
""
,
isTemplateMessage
:
!
1
,
isImgMessage
:
!
1
,
isGoodMessage
:
!
1
,
isIntegralGoodMessage
:
!
1
},
rules
:{
messageRemindTime
:[{
required
:
!
0
,
message
:
"请选择时间"
,
trigger
:
"blur"
}]},
templateName
:
""
,
articleList
:[],
pageSize
:
4
,
pageNum
:
1
,
total
:
0
,
activeName
:
"first"
,
goodsList
:[],
pointList
:[],
cardCoupChatSwitch
:
!
1
,
cardListData
:[],
cardRecordData
:[]}},
methods
:{
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCard?activeTab="
+
this
.
activeTab
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
delCard
:
function
(
t
){
this
.
delCardList
(
t
)},
toSendDetail
:
function
(
t
,
e
,
a
){
this
.
$router
.
push
(
"/sendRecord?activeTab="
+
this
.
activeTab
+
"&tabType="
+
a
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&relatedId="
+
(
e
.
id
||
e
.
goodId
))},
changeChatFlag
:
function
(){
this
.
postSave
(
this
.
brandId
)},
handleCurrentChange
:
function
(
t
){
this
.
pageNum
=
t
,
3
==
this
.
activeTab
?
this
.
getArticleList
(
this
.
brandId
):
4
==
this
.
activeTab
?
"first"
==
this
.
activeName
?
this
.
getGoodsList
(
this
.
brandId
):
this
.
getPointList
(
this
.
brandId
):
51
==
this
.
activeTab
?
this
.
getCardList
(
this
.
brandId
):
52
==
this
.
activeTab
&&
this
.
getCardRecord
(
this
.
brandId
)},
saveData
:
Object
(
p
.
a
)(
function
(
t
){
var
e
=
this
;
e
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
;
e
.
postSave
(
e
.
brandId
)})},
500
),
postSave
:
function
(
t
){
var
e
=
this
;
e
.
pageNum
=
1
,
e
.
chatData
.
isIntegralGoodMessage
&&!
e
.
chatData
.
isGoodMessage
&&
(
e
.
activeName
=
"second"
);
var
a
=
{
brandId
:
t
,
chatFlag
:
e
.
chatData
.
chatFlag
?
1
:
0
,
isMessageRemind
:
e
.
chatData
.
isMessageRemind
?
1
:
0
,
messageRemindTime
:
e
.
chatData
.
messageRemindTime
,
isTemplateMessage
:
e
.
chatData
.
isTemplateMessage
?
1
:
0
,
isImgMessage
:
e
.
chatData
.
isImgMessage
?
1
:
0
,
isGoodMessage
:
e
.
chatData
.
isGoodMessage
?
1
:
0
,
isIntegralGoodMessage
:
e
.
chatData
.
isIntegralGoodMessage
?
1
:
0
,
mainStoreFlag
:
e
.
chatData
.
mainStoreFlag
,
minorStoreFlag
:
e
.
chatData
.
minorStoreFlag
,
openCardStoreFlag
:
e
.
chatData
.
openCardStoreFlag
,
clerkSeeOtherFlag
:
e
.
chatData
.
clerkSeeOtherFlag
,
allowGuideContact
:
e
.
chatData
.
allowGuideContact
,
allowGuideMobile
:
e
.
chatData
.
allowGuideMobile
,
allowGuideMessage
:
e
.
chatData
.
allowGuideMessage
,
allowGuideOnlineChat
:
e
.
chatData
.
allowGuideOnlineChat
,
isSeeAuthMember
:
e
.
chatData
.
isSeeAuthMember
,
showFreezeFlag
:
e
.
chatData
.
showFreezeFlag
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/save-member-show-setting"
,
a
).
then
(
function
(
a
){
var
s
=
a
.
data
;
if
(
1
==
s
.
errorCode
)
return
u
.
a
.
showmsg
(
"保存成功"
,
"success"
),
3
==
e
.
activeTab
&&
e
.
chatData
.
isImgMessage
&&
e
.
getArticleList
(
t
),
void
(
4
==
e
.
activeTab
&&
(
e
.
chatData
.
isGoodMessage
&&
e
.
getGoodsList
(
t
),
e
.
chatData
.
isIntegralGoodMessage
&&
e
.
getPointList
(
t
),
e
.
chatData
.
isIntegralGoodMessage
&&!
e
.
chatData
.
isGoodMessage
&&
(
e
.
activeName
=
"second"
),
e
.
chatData
.
isGoodMessage
&&!
e
.
chatData
.
isIntegralGoodMessage
&&
(
e
.
activeName
=
"first"
)));
d
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeTab
:
function
(
t
){
if
(
t
.
children
)
return
this
.
activeTab
=
t
.
children
[
0
].
tabId
,
this
.
getCardSet
(
this
.
brandId
),
!
1
;
this
.
pageNum
=
1
,
this
.
activeTab
=
t
.
tabId
,
this
.
getChatSet
(
this
.
brandId
),
this
.
getCardSet
(
this
.
brandId
)},
handleTab
:
function
(
t
,
e
){
this
.
pageNum
=
1
,
"first"
==
t
.
name
?
this
.
getGoodsList
(
this
.
brandId
):
this
.
getPointList
(
this
.
brandId
)},
getTemplate
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_message_template"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
d
.
a
.
errorMsg
(
a
):
e
.
templateName
=
a
.
result
||
"--"
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getGoodsList
:
function
(
t
){
var
e
=
this
,
a
=
{
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
,
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_good_list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
goodsList
=
a
.
result
.
list
||
[],
void
(
"first"
==
e
.
activeName
&&
(
e
.
total
=
a
.
result
.
total
));
e
.
goodsList
=
[],
e
.
total
=
0
,
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getPointList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_integal_good_list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
pointList
=
a
.
result
.
list
||
[],
void
(
"second"
==
e
.
activeName
&&
(
e
.
total
=
a
.
result
.
total
));
e
.
pointList
=
[],
e
.
total
=
0
,
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getArticleList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_img_list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
articleList
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
total
);
e
.
articleList
=
[],
e
.
total
=
0
,
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
e
.
brandId
,
coupCardId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/cardCoupon/del-card-coup"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getCardList
(
e
.
brandId
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardList
:
function
(
t
){
console
.
log
(
t
);
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/cardCoupon/find-card-page"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
cardListData
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardRecord
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/cardCoupon/find-card-log-page"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
cardRecordData
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
postSaveCard
:
function
(
t
){
var
e
=
this
,
a
=
{
cardCoupChatSwitch
:
e
.
cardCoupChatSwitch
?
1
:
0
,
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/save-card-coup-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"设置成功"
,
"success"
),
void
(
e
.
cardCoupChatSwitch
&&
e
.
getCardList
(
e
.
brandId
));
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardSet
:
function
(
t
){
"51"
==
this
.
activeTab
&&
(
this
.
pageSize
=
4
,
this
.
getCardList
(
t
)),
"52"
==
this
.
activeTab
&&
(
this
.
pageSize
=
6
,
this
.
getCardRecord
(
t
))},
getChatSet
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find-online-chat-setting"
,
a
).
then
(
function
(
a
){
var
s
=
a
.
data
;
1
!=
s
.
errorCode
?
d
.
a
.
errorMsg
(
s
):
s
.
result
&&
(
s
.
result
.
chatFlag
=
1
==
s
.
result
.
chatFlag
,
s
.
result
.
isMessageRemind
=
1
==
s
.
result
.
isMessageRemind
,
s
.
result
.
messageRemindTime
=
s
.
result
.
messageRemindTime
,
s
.
result
.
isTemplateMessage
=
1
==
s
.
result
.
isTemplateMessage
,
s
.
result
.
isImgMessage
=
1
==
s
.
result
.
isImgMessage
,
s
.
result
.
isGoodMessage
=
1
==
s
.
result
.
isGoodMessage
,
s
.
result
.
isIntegralGoodMessage
=
1
==
s
.
result
.
isIntegralGoodMessage
,
e
.
chatData
=
s
.
result
,
2
==
e
.
activeTab
&&
e
.
getTemplate
(
t
),
3
==
e
.
activeTab
&&
s
.
result
.
isImgMessage
&&
(
e
.
pageSize
=
4
,
e
.
getArticleList
(
t
)),
4
==
e
.
activeTab
&&
(
e
.
pageSize
=
3
,
s
.
result
.
isGoodMessage
&&
e
.
getGoodsList
(
t
),
s
.
result
.
isIntegralGoodMessage
&&
e
.
getPointList
(
t
),
s
.
result
.
isIntegralGoodMessage
&&!
s
.
result
.
isGoodMessage
&&
(
e
.
activeName
=
"second"
),
s
.
result
.
isGoodMessage
&&!
s
.
result
.
isIntegralGoodMessage
&&
(
e
.
activeName
=
"first"
)))}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
""
!=
t
&&
(
this
.
getChatSet
(
t
),
this
.
getCardSet
(
t
))}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
""
!=
this
.
$route
.
query
.
activeTab
&&
(
this
.
activeTab
=
this
.
$route
.
query
.
activeTab
||
"1"
),
""
!=
this
.
brandId
&&
(
this
.
getChatSet
(
this
.
brandId
),
this
.
getCardSet
(
this
.
brandId
))}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"online-chat-content border-box"
},[
a
(
"div"
,{
staticClass
:
"online-chat-switch"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-18"
},[
t
.
_v
(
"在线沟通"
)]),
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
t
.
changeChatFlag
},
model
:{
value
:
t
.
chatData
.
chatFlag
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"chatFlag"
,
e
)},
expression
:
"chatData.chatFlag"
}}),
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
t
.
_v
(
"若小程序使用了GIC 好办客服功能,会员将无法在公众号联系导购"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"online-chat-body"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"online-chat-left"
},[
a
(
"ul"
,[
t
.
_l
(
t
.
leftData
,
function
(
e
,
s
){
return
[
a
(
"li"
,{
key
:
s
+
"left"
,
class
:[
"online-chat-left_li"
,
t
.
activeTab
==
e
.
tabId
?
"active-li"
:
""
],
on
:{
click
:
function
(
a
){
return
t
.
changeTab
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
tabName
))]),
t
.
_v
(
" "
),
e
.
children
&&
e
.
children
.
length
?
a
(
"ul"
,{
key
:
s
+
"left1"
},[
t
.
_l
(
e
.
children
,
function
(
e
,
s
){
return
[
a
(
"li"
,{
key
:
s
+
"left12"
,
class
:[
"online-chat-left_li child-li"
,
t
.
activeTab
==
e
.
tabId
?
"active-li"
:
""
],
on
:{
click
:
function
(
a
){
return
t
.
changeTab
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
tabName
))])]})],
2
):
t
.
_e
()]})],
2
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"online-chat-right border-box"
},[
a
(
"div"
,{
staticClass
:
"online-chat-right_body"
},[
1
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-message"
},[
a
(
"el-form"
,{
ref
:
"msgForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
t
.
chatData
,
rules
:
t
.
rules
,
"label-width"
:
"70px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"短信提醒"
,
prop
:
"name"
}},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
return
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isMessageRemind
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isMessageRemind"
,
e
)},
expression
:
"chatData.isMessageRemind"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"开启后,会员发送消息,超出10条后,即发送短信给导购,每日最多触发一条短信,短信计入商家计费中心"
)])],
1
),
t
.
_v
(
" "
),
t
.
chatData
.
isMessageRemind
?
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"messageRemindTime"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
t
.
_v
(
"下发时间设置"
)]),
a
(
"el-time-select"
,{
attrs
:{
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:15"
,
end
:
"23:59"
},
placeholder
:
"选择时间"
},
model
:{
value
:
t
.
chatData
.
messageRemindTime
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"messageRemindTime"
,
e
)},
expression
:
"chatData.messageRemindTime"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-20"
},[
t
.
_v
(
"该事件设置将在当日生效"
)])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
chatData
.
isMessageRemind
?
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
"msgForm"
)}}},[
t
.
_v
(
"保存"
)])],
1
):
t
.
_e
()],
1
)],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-template"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-23"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"模板消息"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-20"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
return
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isTemplateMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isTemplateMessage"
,
e
)},
expression
:
"chatData.isTemplateMessage"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"仅支持专属导购对会员发送模板消息,每个会员每个自然月模板消息发送次数不超过三次。设置后立即生效。"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-23"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"模板名字:"
)]),
t
.
_v
(
t
.
_s
(
t
.
templateName
))])]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-article"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"图文"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-20"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
return
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isImgMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isImgMessage"
,
e
)},
expression
:
"chatData.isImgMessage"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"开启后,导购与会员聊天可发送GIC图文"
)])],
1
),
t
.
_v
(
" "
),
t
.
chatData
.
isImgMessage
?
a
(
"div"
,{
staticClass
:
"m-t-20 p-l-50"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
articleList
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"图片"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"img-wrap border-box flex flex-align-center flex-pack-center"
},[
e
.
row
.
img
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
img
,
alt
:
""
}}):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"article-title font-14 color-606266 p-l-10"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
title
)
+
"
\
n "
)])])]}}],
null
,
!
1
,
4001397016
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"作者"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
authorName
||
"--"
))]}}],
null
,
!
1
,
2362430895
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"导购发送图文的总人数统计,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购发送图文人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
pushCount
)
+
"
\
n "
)]}}],
null
,
!
1
,
2317180099
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"4"
)}}},[
t
.
_v
(
"发送记录"
)])]}}],
null
,
!
1
,
2738165876
)})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
articleList
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
()]):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-goods"
},[
t
.
_m
(
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"达摩微商城"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
return
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isGoodMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isGoodMessage"
,
e
)},
expression
:
"chatData.isGoodMessage"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-40"
},[
t
.
_v
(
"积分商城"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
return
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isIntegralGoodMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isIntegralGoodMessage"
,
e
)},
expression
:
"chatData.isIntegralGoodMessage"
}})],
1
),
t
.
_v
(
" "
),
t
.
chatData
.
isGoodMessage
||
t
.
chatData
.
isIntegralGoodMessage
?
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-tabs"
,{
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
t
.
handleTab
},
model
:{
value
:
t
.
activeName
,
callback
:
function
(
e
){
t
.
activeName
=
e
},
expression
:
"activeName"
}},[
t
.
chatData
.
isGoodMessage
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"达摩微商城"
,
name
:
"first"
}},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
goodsList
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"商品信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"img-wrap flex flex-align-center flex-pack-center border-box"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
goodImg
,
alt
:
""
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"article-title flex flex-column"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodName
))]),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-909399"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodCode
))])])])]}}],
null
,
!
1
,
3027559944
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"单价(元)"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodPrice
))]}}],
null
,
!
1
,
1497696819
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"库存"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
stock
||
"--"
))]}}],
null
,
!
1
,
3899446397
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"总销量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
saleAmount
))]}}],
null
,
!
1
,
3535725450
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发布时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
publishTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
publishTime
)))])]}}],
null
,
!
1
,
1577812534
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
pushCount
)
+
"
\
n "
)]}}],
null
,
!
1
,
4013852768
)},[
a
(
"template"
,{
slot
:
"header"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"导购发送图文的总人数统计,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购发送图文人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])],
1
)],
2
),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"1"
)}}},[
t
.
_v
(
"发送记录"
)])]}}],
null
,
!
1
,
641093233
)})],
1
)],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
chatData
.
isIntegralGoodMessage
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"积分商城"
,
name
:
"second"
}},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
pointList
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"商品信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"img-wrap border-box"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
goodImg
,
alt
:
""
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"article-title flex flex-column"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodName
))]),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-909399"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodCode
))])])])]}}],
null
,
!
1
,
3419027403
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"积分费用"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
integral
))]}}],
null
,
!
1
,
4140460307
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"现金费用"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodPrice
))]}}],
null
,
!
1
,
1497696819
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"创建时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
publishTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
publishTime
)))])]}}],
null
,
!
1
,
1577812534
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"导购发送图文的总人数统计,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购发送图文人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
pushCount
)
+
"
\
n "
)]}}],
null
,
!
1
,
1035736771
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"2"
)}}},[
t
.
_v
(
"发送记录"
)])]}}],
null
,
!
1
,
1260546802
)})],
1
)],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
0
!=
t
.
goodsList
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
()]):
t
.
_e
(),
t
.
_v
(
" "
),
51
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-card"
},[
t
.
_m
(
3
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20 m-b-20 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"card-top-left"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-top-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新建卡券"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"card-list-table"
,{
attrs
:{
activeTab
:
t
.
activeTab
,
tableData
:
t
.
cardListData
},
on
:{
delCard
:
t
.
delCard
}}),
t
.
_v
(
" "
),
t
.
cardListData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
52
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-card_record"
},[
t
.
_m
(
4
),
t
.
_v
(
" "
),
a
(
"card-record-table"
,{
attrs
:{
activeTab
:
t
.
activeTab
,
tableData
:
t
.
cardRecordData
}}),
t
.
_v
(
" "
),
t
.
cardRecordData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
()])])])])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
,
staticStyle
:{
"align-self"
:
"flex-start"
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"配置说明:1.导购可在未和会员建立会话的情况下,发送消息给会员"
),
e
(
"br"
),
this
.
_v
(
"
\
n 2.发送形式为模板消息,发送模板消息即表示发送了一条消息通知,并非建立主动会话"
),
e
(
"br"
),
this
.
_v
(
"
\
n 3.频繁使用模板消息,可能导致微信封闭模板消息及会员取关率增加,请谨慎使用"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"配置说明:选取微信营销素材库中的图文,配置后,导购可以选择对应的营销图文发送给会员"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"配置说明:选取达摩微商城及积分商城中的商品,配置后,导购可以选择对应的商品发送给会员"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
,
staticStyle
:{
"align-self"
:
"flex-start"
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"选取GIC中卡券营销适用好办的卡券,配置后,导购可以选择对应的卡券发送给会员"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
,
staticStyle
:{
"align-self"
:
"flex-start"
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"当前卡券记录中发送数量、领取数量、领取率、使用数量、核销率、销售额为gic总体卡券记录,包含好办使用记录。后续更新将统计好办渠道卡券记录"
)])])])}]};
var
g
=
a
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
t
){
a
(
"6TpV"
)},
"data-v-cb37348a"
,
null
);
e
.
default
=
g
.
exports
}});
\ No newline at end of file
dist/static/js/2
5.b12ff0ab75bfcf55c6b0
.js
→
dist/static/js/2
6.38395de8fad5a3d53636
.js
View file @
5bf58c39
webpackJsonp
([
25
],{
"27o1"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
r
(
"3Xzz"
),
o
=
{
name
:
"add-clerk-page"
,
components
:{
clerkInfo
:
r
(
"oncj"
).
a
,
navCrumb
:
n
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"新增店员"
,
path
:
""
}],
isAddnew
:
!
1
,
firstLevelId
:
""
,
storeType
:
""
,
gicFlag
:
!
(
!
this
.
$route
.
query
.
gicFlag
||
"false"
==
this
.
$route
.
query
.
gicFlag
)}},
beforeMount
:
function
(){
this
.
firstLevelId
=
this
.
$route
.
query
.
firstLevelId
,
this
.
storeType
=
this
.
$route
.
query
.
type
,
this
.
$route
.
query
.
clerkId
?(
this
.
isAddnew
=!
1
,
this
.
navpath
[
3
].
name
=
"编辑店员"
):
this
.
isAddnew
=!
0
}},
a
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"common-set-wrap add-clerk-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
},[
t
(
"div"
,{
staticClass
:
"add-clerk-page"
},[
t
(
"clerk-info"
,{
attrs
:{
storeType
:
this
.
storeType
,
firstLevelId
:
this
.
firstLevelId
,
isAddnew
:
this
.
isAddnew
,
gicFlag
:
this
.
gicFlag
}})],
1
)])]),
this
.
_v
(
" "
),
t
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
i
=
r
(
"VU/8"
)(
o
,
a
,
!
1
,
function
(
e
){
r
(
"GaQx"
)},
null
,
null
);
t
.
default
=
i
.
exports
},
GaQx
:
function
(
e
,
t
){},
XcCI
:
function
(
e
,
t
){},
oncj
:
function
(
e
,
t
,
r
){
"use strict"
;
var
n
=
r
(
"l46T"
),
o
=
r
(
"Ie7z"
),
a
=
r
(
"P9l9"
),
i
=
r
(
"XDyb"
),
s
=
r
(
"T+u5"
),
l
=
r
.
n
(
s
),
c
=
{
name
:
"clerk-info-form"
,
props
:{
isAddnew
:{
type
:
Boolean
,
default
:
!
1
},
perId
:{
type
:[
String
,
Number
],
default
:
""
},
firstLevelId
:{
type
:[
String
,
Number
],
default
:
""
},
storeType
:{
type
:[
String
,
Number
],
default
:
""
},
gicFlag
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
vueSelectStore
:
o
.
a
,
countryMobile
:
i
.
a
,
limitInput
:
n
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入店员姓名"
,
trigger
:
"blur"
}],
phoneNumber
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
n
){
if
(
!
r
)
return
n
(
new
Error
(
"请输入手机号"
));
var
o
=
new
l
.
a
(
"+"
+
e
.
clerkInfo
.
nationcode
+
r
);
o
.
isValid
()
&&
o
.
isMobile
()?
n
():
n
(
new
Error
(
"手机号格式不正确"
))},
trigger
:
"blur"
}],
storeName
:[{
required
:
!
0
,
message
:
"请选择门店"
,
trigger
:
"change"
}],
code
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
n
){
if
(
""
==
r
)
return
n
(
new
Error
(
"请输入工号或员工代码"
));
/^
[
A-Za-z0-9_
\u
4e00-
\u
9fa5
]
+$/
.
test
(
r
)?
n
():
e
.
clerkInfo
.
code
=
r
.
replace
(
/
[^
A-Za-z0-9_
\u
4e00-
\u
9fa5
]
+/g
,
""
)},
trigger
:
"blur"
}]},
clerkInfo
:{
storeName
:
this
.
$route
.
query
.
storeName
||
""
,
storeId
:
this
.
$route
.
query
.
storeId
||
""
,
managerMode
:
!
1
,
positionName
:
"职员"
,
nationcode
:
"86"
},
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
,
groupId
:
""
,
storeType
:
""
,
openNextBool
:
!
0
},
defaultList
:[{
id
:
this
.
$route
.
query
.
storeId
,
label
:
this
.
$route
.
query
.
storeName
}]}},
methods
:{
toInputCode
:
function
(
e
){
var
t
=
this
.
clerkInfo
.
code
;
""
!==
t
&&
(
this
.
clerkInfo
.
code
=
t
.
replace
(
/
[^
A-Za-z0-9
]
+/g
,
""
))},
saveFn
:
function
(
e
){
var
t
=!
0
;
this
.
$refs
.
clerk_info
.
validate
(
function
(
e
){
e
||
(
t
=!
1
)}),
t
&&
this
.
addEmployee
(
this
.
clerkInfo
,
e
)},
callSelector
:
function
(){
this
.
treeSet
.
dialogVisible
=!
0
},
handleSelectedList
:
function
(
e
){
this
.
clerkInfo
.
storeName
=
e
&&
e
.
length
?
e
[
0
].
label
:
""
,
this
.
clerkInfo
.
storeId
=
e
&&
e
.
length
?
e
[
0
].
id
:
""
,
this
.
$forceUpdate
()},
addEmployee
:
function
(
e
,
t
){
var
r
=
this
,
n
=
{
name
:
e
.
name
,
isClerk
:
1
,
phoneNumber
:
e
.
phoneNumber
,
positionName
:
e
.
positionName
,
storeId
:
e
.
storeId
,
managerMode
:
1
*
e
.
managerMode
,
code
:
e
.
code
,
employeeClerkId
:
e
.
employeeClerkId
||
""
,
nationcode
:
e
.
nationcode
},
o
=
r
.
isAddnew
?
"/haoban-manage-web/emp/add"
:
"/haoban-manage-web/emp/update"
;
Object
(
a
.
a
)(
o
,
n
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
r
.
$message
.
success
({
message
:
"操作成功"
}),
1
==
t
?(
r
.
clerkInfo
=
{
name
:
""
,
isClerk
:
1
,
phoneNumber
:
""
,
positionName
:
"职员"
,
storeId
:
""
,
managerMode
:
!
1
,
code
:
""
,
nationcode
:
"86"
},
r
.
defaultList
=
[],
r
.
$refs
.
clerk_info
.
resetFields
()):
r
.
$router
.
push
(
"/storeFrame"
)):
r
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
r
.
$message
.
error
({
message
:
e
.
message
})})},
cancel
:
function
(){
var
e
=
this
;
this
.
$confirm
(
" 是否确认取消,取消后当前页面信息将丢失 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
go
(
-
1
)}).
catch
(
function
(
e
){})},
getClerkInfo
:
function
(){
var
e
=
this
,
t
=
{
id
:
e
.
$route
.
query
.
clerkId
?
e
.
$route
.
query
.
clerkId
:
e
.
perId
};
Object
(
a
.
a
)(
"/haoban-manage-web/emp/findOne"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
clerkInfo
=
t
.
data
.
result
,
e
.
defaultList
=
[{
id
:
t
.
data
.
result
.
storeId
,
label
:
t
.
data
.
result
.
storeName
}]):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
})})}},
beforeMount
:
function
(){
this
.
treeSet
.
storeType
=
this
.
storeType
,
this
.
treeSet
.
groupId
=
this
.
firstLevelId
,
this
.
isAddnew
||
this
.
getClerkInfo
()},
watch
:{
perId
:
function
(
e
,
t
){
this
.
getClerkInfo
(
e
)}}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"form-container bdr-box"
},[
r
(
"el-form"
,{
ref
:
"clerk_info"
,
staticClass
:
"add-clerk-form"
,
attrs
:{
model
:
e
.
clerkInfo
,
rules
:
e
.
rules
,
"label-width"
:
"80px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"姓名"
,
prop
:
"name"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
380
,
inputValue
:
e
.
clerkInfo
.
name
,
holder
:
"请输入姓名"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"name"
,
t
)},
"update:input-value"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"name"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"phoneNumber"
}},[
r
(
"countryMobile"
,{
attrs
:{
inputWidth
:
380
,
nationCode
:
e
.
clerkInfo
.
nationcode
,
holder
:
"请输入手机号"
,
disflag
:
!
e
.
isAddnew
},
on
:{
"update:nationCode"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"nationcode"
,
t
)},
"update:nation-code"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"nationcode"
,
t
)}},
model
:{
value
:
e
.
clerkInfo
.
phoneNumber
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"phoneNumber"
,
t
)},
expression
:
"clerkInfo.phoneNumber"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店"
,
prop
:
"storeName"
}},[
r
(
"el-input"
,{
staticClass
:
"clerk-info-input"
,
attrs
:{
disabled
:
!
e
.
isAddnew
},
on
:{
focus
:
e
.
callSelector
},
model
:{
value
:
e
.
clerkInfo
.
storeName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"storeName"
,
t
)},
expression
:
"clerkInfo.storeName"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"code"
,
prop
:
"code"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
380
,
disflag
:
e
.
gicFlag
&&!
e
.
isAddnew
,
inputValue
:
e
.
clerkInfo
.
code
,
holder
:
"请输入工号或员工代码"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"code"
,
t
)},
"update:input-value"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"code"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"职位"
,
prop
:
"positionName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
380
,
inputValue
:
e
.
clerkInfo
.
positionName
,
holder
:
"请输入职位"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"positionName"
,
t
)},
"update:input-value"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"positionName"
,
t
)}}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"btn-box"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveFn
}},[
e
.
_v
(
"保 存"
)]),
e
.
_v
(
" "
),
!
e
.
gicFlag
&&
e
.
isAddnew
?
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
saveFn
(
1
)}}},[
e
.
_v
(
"保存并继续添加"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
gicFlag
?
e
.
_e
():
r
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取 消"
)])],
1
),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
selectType
:
"store"
,
defaultList
:
e
.
defaultList
,
treeSet
:
e
.
treeSet
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
d
=
r
(
"VU/8"
)(
c
,
u
,
!
1
,
function
(
e
){
r
(
"XcCI"
)},
null
,
null
);
t
.
a
=
d
.
exports
}});
\ No newline at end of file
webpackJsonp
([
26
],{
"27o1"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
r
(
"3Xzz"
),
o
=
{
name
:
"add-clerk-page"
,
components
:{
clerkInfo
:
r
(
"oncj"
).
a
,
navCrumb
:
n
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"新增店员"
,
path
:
""
}],
isAddnew
:
!
1
,
firstLevelId
:
""
,
storeType
:
""
,
gicFlag
:
!
(
!
this
.
$route
.
query
.
gicFlag
||
"false"
==
this
.
$route
.
query
.
gicFlag
)}},
beforeMount
:
function
(){
this
.
firstLevelId
=
this
.
$route
.
query
.
firstLevelId
,
this
.
storeType
=
this
.
$route
.
query
.
type
,
this
.
$route
.
query
.
clerkId
?(
this
.
isAddnew
=!
1
,
this
.
navpath
[
3
].
name
=
"编辑店员"
):
this
.
isAddnew
=!
0
}},
a
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"common-set-wrap add-clerk-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
},[
t
(
"div"
,{
staticClass
:
"add-clerk-page"
},[
t
(
"clerk-info"
,{
attrs
:{
storeType
:
this
.
storeType
,
firstLevelId
:
this
.
firstLevelId
,
isAddnew
:
this
.
isAddnew
,
gicFlag
:
this
.
gicFlag
}})],
1
)])]),
this
.
_v
(
" "
),
t
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
i
=
r
(
"VU/8"
)(
o
,
a
,
!
1
,
function
(
e
){
r
(
"GaQx"
)},
null
,
null
);
t
.
default
=
i
.
exports
},
GaQx
:
function
(
e
,
t
){},
XcCI
:
function
(
e
,
t
){},
oncj
:
function
(
e
,
t
,
r
){
"use strict"
;
var
n
=
r
(
"l46T"
),
o
=
r
(
"Ie7z"
),
a
=
r
(
"P9l9"
),
i
=
r
(
"XDyb"
),
s
=
r
(
"T+u5"
),
l
=
r
.
n
(
s
),
c
=
{
name
:
"clerk-info-form"
,
props
:{
isAddnew
:{
type
:
Boolean
,
default
:
!
1
},
perId
:{
type
:[
String
,
Number
],
default
:
""
},
firstLevelId
:{
type
:[
String
,
Number
],
default
:
""
},
storeType
:{
type
:[
String
,
Number
],
default
:
""
},
gicFlag
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
vueSelectStore
:
o
.
a
,
countryMobile
:
i
.
a
,
limitInput
:
n
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入店员姓名"
,
trigger
:
"blur"
}],
phoneNumber
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
n
){
if
(
!
r
)
return
n
(
new
Error
(
"请输入手机号"
));
var
o
=
new
l
.
a
(
"+"
+
e
.
clerkInfo
.
nationcode
+
r
);
o
.
isValid
()
&&
o
.
isMobile
()?
n
():
n
(
new
Error
(
"手机号格式不正确"
))},
trigger
:
"blur"
}],
storeName
:[{
required
:
!
0
,
message
:
"请选择门店"
,
trigger
:
"change"
}],
code
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
n
){
if
(
""
==
r
)
return
n
(
new
Error
(
"请输入工号或员工代码"
));
/^
[
A-Za-z0-9_
\u
4e00-
\u
9fa5
]
+$/
.
test
(
r
)?
n
():
e
.
clerkInfo
.
code
=
r
.
replace
(
/
[^
A-Za-z0-9_
\u
4e00-
\u
9fa5
]
+/g
,
""
)},
trigger
:
"blur"
}]},
clerkInfo
:{
storeName
:
this
.
$route
.
query
.
storeName
||
""
,
storeId
:
this
.
$route
.
query
.
storeId
||
""
,
managerMode
:
!
1
,
positionName
:
"职员"
,
nationcode
:
"86"
},
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
,
groupId
:
""
,
storeType
:
""
,
openNextBool
:
!
0
},
defaultList
:[{
id
:
this
.
$route
.
query
.
storeId
,
label
:
this
.
$route
.
query
.
storeName
}]}},
methods
:{
toInputCode
:
function
(
e
){
var
t
=
this
.
clerkInfo
.
code
;
""
!==
t
&&
(
this
.
clerkInfo
.
code
=
t
.
replace
(
/
[^
A-Za-z0-9
]
+/g
,
""
))},
saveFn
:
function
(
e
){
var
t
=!
0
;
this
.
$refs
.
clerk_info
.
validate
(
function
(
e
){
e
||
(
t
=!
1
)}),
t
&&
this
.
addEmployee
(
this
.
clerkInfo
,
e
)},
callSelector
:
function
(){
this
.
treeSet
.
dialogVisible
=!
0
},
handleSelectedList
:
function
(
e
){
this
.
clerkInfo
.
storeName
=
e
&&
e
.
length
?
e
[
0
].
label
:
""
,
this
.
clerkInfo
.
storeId
=
e
&&
e
.
length
?
e
[
0
].
id
:
""
,
this
.
$forceUpdate
()},
addEmployee
:
function
(
e
,
t
){
var
r
=
this
,
n
=
{
name
:
e
.
name
,
isClerk
:
1
,
phoneNumber
:
e
.
phoneNumber
,
positionName
:
e
.
positionName
,
storeId
:
e
.
storeId
,
managerMode
:
1
*
e
.
managerMode
,
code
:
e
.
code
,
employeeClerkId
:
e
.
employeeClerkId
||
""
,
nationcode
:
e
.
nationcode
},
o
=
r
.
isAddnew
?
"/haoban-manage-web/emp/add"
:
"/haoban-manage-web/emp/update"
;
Object
(
a
.
a
)(
o
,
n
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
r
.
$message
.
success
({
message
:
"操作成功"
}),
1
==
t
?(
r
.
clerkInfo
=
{
name
:
""
,
isClerk
:
1
,
phoneNumber
:
""
,
positionName
:
"职员"
,
storeId
:
""
,
managerMode
:
!
1
,
code
:
""
,
nationcode
:
"86"
},
r
.
defaultList
=
[],
r
.
$refs
.
clerk_info
.
resetFields
()):
r
.
$router
.
push
(
"/storeFrame"
)):
r
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
r
.
$message
.
error
({
message
:
e
.
message
})})},
cancel
:
function
(){
var
e
=
this
;
this
.
$confirm
(
" 是否确认取消,取消后当前页面信息将丢失 ?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
go
(
-
1
)}).
catch
(
function
(
e
){})},
getClerkInfo
:
function
(){
var
e
=
this
,
t
=
{
id
:
e
.
$route
.
query
.
clerkId
?
e
.
$route
.
query
.
clerkId
:
e
.
perId
};
Object
(
a
.
a
)(
"/haoban-manage-web/emp/findOne"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
clerkInfo
=
t
.
data
.
result
,
e
.
defaultList
=
[{
id
:
t
.
data
.
result
.
storeId
,
label
:
t
.
data
.
result
.
storeName
}]):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
})})}},
beforeMount
:
function
(){
this
.
treeSet
.
storeType
=
this
.
storeType
,
this
.
treeSet
.
groupId
=
this
.
firstLevelId
,
this
.
isAddnew
||
this
.
getClerkInfo
()},
watch
:{
perId
:
function
(
e
,
t
){
this
.
getClerkInfo
(
e
)}}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"form-container bdr-box"
},[
r
(
"el-form"
,{
ref
:
"clerk_info"
,
staticClass
:
"add-clerk-form"
,
attrs
:{
model
:
e
.
clerkInfo
,
rules
:
e
.
rules
,
"label-width"
:
"80px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"姓名"
,
prop
:
"name"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
380
,
inputValue
:
e
.
clerkInfo
.
name
,
holder
:
"请输入姓名"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"name"
,
t
)},
"update:input-value"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"name"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"phoneNumber"
}},[
r
(
"countryMobile"
,{
attrs
:{
inputWidth
:
380
,
nationCode
:
e
.
clerkInfo
.
nationcode
,
holder
:
"请输入手机号"
,
disflag
:
!
e
.
isAddnew
},
on
:{
"update:nationCode"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"nationcode"
,
t
)},
"update:nation-code"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"nationcode"
,
t
)}},
model
:{
value
:
e
.
clerkInfo
.
phoneNumber
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"phoneNumber"
,
t
)},
expression
:
"clerkInfo.phoneNumber"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店"
,
prop
:
"storeName"
}},[
r
(
"el-input"
,{
staticClass
:
"clerk-info-input"
,
attrs
:{
disabled
:
!
e
.
isAddnew
},
on
:{
focus
:
e
.
callSelector
},
model
:{
value
:
e
.
clerkInfo
.
storeName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkInfo
,
"storeName"
,
t
)},
expression
:
"clerkInfo.storeName"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"code"
,
prop
:
"code"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
380
,
disflag
:
e
.
gicFlag
&&!
e
.
isAddnew
,
inputValue
:
e
.
clerkInfo
.
code
,
holder
:
"请输入工号或员工代码"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"code"
,
t
)},
"update:input-value"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"code"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"职位"
,
prop
:
"positionName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
380
,
inputValue
:
e
.
clerkInfo
.
positionName
,
holder
:
"请输入职位"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"positionName"
,
t
)},
"update:input-value"
:
function
(
t
){
return
e
.
$set
(
e
.
clerkInfo
,
"positionName"
,
t
)}}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"btn-box"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveFn
}},[
e
.
_v
(
"保 存"
)]),
e
.
_v
(
" "
),
!
e
.
gicFlag
&&
e
.
isAddnew
?
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
return
e
.
saveFn
(
1
)}}},[
e
.
_v
(
"保存并继续添加"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
gicFlag
?
e
.
_e
():
r
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取 消"
)])],
1
),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
selectType
:
"store"
,
defaultList
:
e
.
defaultList
,
treeSet
:
e
.
treeSet
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
d
=
r
(
"VU/8"
)(
c
,
u
,
!
1
,
function
(
e
){
r
(
"XcCI"
)},
null
,
null
);
t
.
a
=
d
.
exports
}});
\ No newline at end of file
dist/static/js/27.c3b51455b76a9b220611.js
deleted
100644 → 0
View file @
4af9b6f6
webpackJsonp
([
27
],{
"33SU"
:
function
(
t
,
e
){},
JDTu
:
function
(
t
,
e
){},
ahzF
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
{
name
:
"card-record-table"
,
props
:{
tableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
activeTab
:{
type
:[
String
,
Number
],
default
:
function
(){
return
"52"
}}},
data
:
function
(){
return
{}},
filters
:{
percenteNum
:
function
(
t
){
return
t
>
0
?
Number
(
100
*
t
).
toFixed
(
2
)
+
"%"
:
Number
(
t
).
toFixed
(
2
)
+
"%"
}},
methods
:{
toSendDetail
:
function
(
t
,
e
,
a
){
this
.
$router
.
push
(
"/"
+
(
1
==
a
?
"cardSendRecord"
:
"cardGetRecord"
)
+
"?activeTab="
+
this
.
activeTab
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&coupCardId="
+
e
.
coupCardId
)}}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"card-record-table m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
""
,
width
:
"96"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"发送卡券数量,包含扫码发券数"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"发送数量"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
issuingQuantity
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取数量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
getedQuantity
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percenteNum"
)(
e
.
row
.
getedRate
)))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"使用数量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
usageQuantity
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percenteNum"
)(
e
.
row
.
verificationRate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"销售额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
saleAmount
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"发送卡券的导购总人数,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
sendMemberCount
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
width
:
"200"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"1"
)}}},[
t
.
_v
(
"发送记录"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"2"
)}}},[
t
.
_v
(
"领取记录"
)])]}}])})],
1
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
s
,
o
,
!
1
,
function
(
t
){
a
(
"JDTu"
)},
"data-v-96f4e55e"
,
null
).
exports
,
i
=
{
name
:
"card-list-table"
,
props
:{
tableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
activeTab
:{
type
:[
String
,
Number
],
default
:
function
(){
return
"51"
}}},
data
:
function
(){
return
{}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的分类?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
$emit
(
"delCard"
,
e
.
coupCardId
)}).
catch
(
function
(){})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCard?activeTab="
+
this
.
activeTab
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&coupCardId="
+
e
.
coupCardId
)}}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"抵金券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"折扣券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"兑换券"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"有效期"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
effectDateString
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"库存"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
couponStock
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
i
,
l
,
!
1
,
function
(
t
){
a
(
"33SU"
)},
"data-v-552374d2"
,
null
).
exports
,
c
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"PI0u"
),
f
=
{
name
:
"online-chat"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
cardRecordTable
:
r
,
cardListTable
:
n
},
data
:
function
(){
return
{
activeTab
:
"1"
,
leftData
:[{
tabId
:
"1"
,
tabName
:
"短信提醒"
},{
tabId
:
"2"
,
tabName
:
"模板消息"
},{
tabId
:
"3"
,
tabName
:
"图文"
},{
tabId
:
"4"
,
tabName
:
"商品"
},{
tabId
:
"5"
,
tabName
:
"卡券"
,
children
:[{
tabId
:
"51"
,
tabName
:
"卡券列表"
},{
tabId
:
"52"
,
tabName
:
"卡券记录"
}]}],
chatData
:{
chatFlag
:
!
1
,
isMessageRemind
:
!
1
,
messageRemindTime
:
""
,
isTemplateMessage
:
!
1
,
isImgMessage
:
!
1
,
isGoodMessage
:
!
1
,
isIntegralGoodMessage
:
!
1
},
rules
:{
messageRemindTime
:[{
required
:
!
0
,
message
:
"请选择时间"
,
trigger
:
"blur"
}]},
templateName
:
""
,
articleList
:[],
pageSize
:
4
,
pageNum
:
1
,
total
:
0
,
activeName
:
"first"
,
goodsList
:[],
pointList
:[],
cardCoupChatSwitch
:
!
1
,
cardListData
:[],
cardRecordData
:[]}},
methods
:{
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCard?activeTab="
+
this
.
activeTab
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
delCard
:
function
(
t
){
this
.
delCardList
(
t
)},
toSendDetail
:
function
(
t
,
e
,
a
){
this
.
$router
.
push
(
"/sendRecord?activeTab="
+
this
.
activeTab
+
"&tabType="
+
a
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&relatedId="
+
(
e
.
id
||
e
.
goodId
))},
changeChatFlag
:
function
(){
this
.
postSave
(
this
.
brandId
)},
handleCurrentChange
:
function
(
t
){
this
.
pageNum
=
t
,
3
==
this
.
activeTab
?
this
.
getArticleList
(
this
.
brandId
):
4
==
this
.
activeTab
?
"first"
==
this
.
activeName
?
this
.
getGoodsList
(
this
.
brandId
):
this
.
getPointList
(
this
.
brandId
):
51
==
this
.
activeTab
?
this
.
getCardList
(
this
.
brandId
):
52
==
this
.
activeTab
&&
this
.
getCardRecord
(
this
.
brandId
)},
saveData
:
Object
(
p
.
a
)(
function
(
t
){
var
e
=
this
;
e
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
;
e
.
postSave
(
e
.
brandId
)})},
500
),
postSave
:
function
(
t
){
var
e
=
this
;
e
.
pageNum
=
1
,
e
.
chatData
.
isIntegralGoodMessage
&&!
e
.
chatData
.
isGoodMessage
&&
(
e
.
activeName
=
"second"
);
var
a
=
{
brandId
:
t
,
chatFlag
:
e
.
chatData
.
chatFlag
?
1
:
0
,
isMessageRemind
:
e
.
chatData
.
isMessageRemind
?
1
:
0
,
messageRemindTime
:
e
.
chatData
.
messageRemindTime
,
isTemplateMessage
:
e
.
chatData
.
isTemplateMessage
?
1
:
0
,
isImgMessage
:
e
.
chatData
.
isImgMessage
?
1
:
0
,
isGoodMessage
:
e
.
chatData
.
isGoodMessage
?
1
:
0
,
isIntegralGoodMessage
:
e
.
chatData
.
isIntegralGoodMessage
?
1
:
0
,
mainStoreFlag
:
e
.
chatData
.
mainStoreFlag
,
minorStoreFlag
:
e
.
chatData
.
minorStoreFlag
,
openCardStoreFlag
:
e
.
chatData
.
openCardStoreFlag
,
clerkSeeOtherFlag
:
e
.
chatData
.
clerkSeeOtherFlag
,
allowGuideContact
:
e
.
chatData
.
allowGuideContact
,
allowGuideMobile
:
e
.
chatData
.
allowGuideMobile
,
allowGuideMessage
:
e
.
chatData
.
allowGuideMessage
,
allowGuideOnlineChat
:
e
.
chatData
.
allowGuideOnlineChat
,
isSeeAuthMember
:
e
.
chatData
.
isSeeAuthMember
,
showFreezeFlag
:
e
.
chatData
.
showFreezeFlag
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/save-member-show-setting"
,
a
).
then
(
function
(
a
){
var
s
=
a
.
data
;
if
(
1
==
s
.
errorCode
)
return
u
.
a
.
showmsg
(
"保存成功"
,
"success"
),
3
==
e
.
activeTab
&&
e
.
chatData
.
isImgMessage
&&
e
.
getArticleList
(
t
),
void
(
4
==
e
.
activeTab
&&
(
e
.
chatData
.
isGoodMessage
&&
e
.
getGoodsList
(
t
),
e
.
chatData
.
isIntegralGoodMessage
&&
e
.
getPointList
(
t
),
e
.
chatData
.
isIntegralGoodMessage
&&!
e
.
chatData
.
isGoodMessage
&&
(
e
.
activeName
=
"second"
),
e
.
chatData
.
isGoodMessage
&&!
e
.
chatData
.
isIntegralGoodMessage
&&
(
e
.
activeName
=
"first"
)));
d
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeTab
:
function
(
t
){
if
(
t
.
children
)
return
this
.
activeTab
=
t
.
children
[
0
].
tabId
,
this
.
getCardSet
(
this
.
brandId
),
!
1
;
this
.
pageNum
=
1
,
this
.
activeTab
=
t
.
tabId
,
this
.
getChatSet
(
this
.
brandId
),
this
.
getCardSet
(
this
.
brandId
)},
handleTab
:
function
(
t
,
e
){
this
.
pageNum
=
1
,
"first"
==
t
.
name
?
this
.
getGoodsList
(
this
.
brandId
):
this
.
getPointList
(
this
.
brandId
)},
getTemplate
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_message_template"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
d
.
a
.
errorMsg
(
a
):
e
.
templateName
=
a
.
result
||
"--"
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getGoodsList
:
function
(
t
){
var
e
=
this
,
a
=
{
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
,
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_good_list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
goodsList
=
a
.
result
.
list
||
[],
void
(
"first"
==
e
.
activeName
&&
(
e
.
total
=
a
.
result
.
total
));
e
.
goodsList
=
[],
e
.
total
=
0
,
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getPointList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_integal_good_list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
pointList
=
a
.
result
.
list
||
[],
void
(
"second"
==
e
.
activeName
&&
(
e
.
total
=
a
.
result
.
total
));
e
.
pointList
=
[],
e
.
total
=
0
,
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getArticleList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_img_list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
articleList
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
total
);
e
.
articleList
=
[],
e
.
total
=
0
,
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
e
.
brandId
,
coupCardId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/cardCoupon/del-card-coup"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getCardList
(
e
.
brandId
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/cardCoupon/find-card-page"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
cardListData
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardRecord
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/cardCoupon/find-card-log-page"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
cardRecordData
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
postSaveCard
:
function
(
t
){
var
e
=
this
,
a
=
{
cardCoupChatSwitch
:
e
.
cardCoupChatSwitch
?
1
:
0
,
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/save-card-coup-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"设置成功"
,
"success"
),
void
(
e
.
cardCoupChatSwitch
&&
e
.
getCardList
(
e
.
brandId
));
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardSet
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find-card-coup-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
cardCoupChatSwitch
=
1
==
a
.
result
.
cardCoupChatSwitch
,
e
.
cardCoupChatSwitch
=
a
.
result
.
cardCoupChatSwitch
,
"51"
==
e
.
activeTab
&&
e
.
cardCoupChatSwitch
&&
(
e
.
pageSize
=
4
,
e
.
getCardList
(
e
.
brandId
)),
void
(
"52"
==
e
.
activeTab
&&
(
e
.
pageSize
=
6
,
e
.
getCardRecord
(
e
.
brandId
)));
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getChatSet
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find-online-chat-setting"
,
a
).
then
(
function
(
a
){
var
s
=
a
.
data
;
1
!=
s
.
errorCode
?
d
.
a
.
errorMsg
(
s
):
s
.
result
&&
(
s
.
result
.
chatFlag
=
1
==
s
.
result
.
chatFlag
,
s
.
result
.
isMessageRemind
=
1
==
s
.
result
.
isMessageRemind
,
s
.
result
.
messageRemindTime
=
s
.
result
.
messageRemindTime
,
s
.
result
.
isTemplateMessage
=
1
==
s
.
result
.
isTemplateMessage
,
s
.
result
.
isImgMessage
=
1
==
s
.
result
.
isImgMessage
,
s
.
result
.
isGoodMessage
=
1
==
s
.
result
.
isGoodMessage
,
s
.
result
.
isIntegralGoodMessage
=
1
==
s
.
result
.
isIntegralGoodMessage
,
e
.
chatData
=
s
.
result
,
2
==
e
.
activeTab
&&
e
.
getTemplate
(
t
),
3
==
e
.
activeTab
&&
s
.
result
.
isImgMessage
&&
(
e
.
pageSize
=
4
,
e
.
getArticleList
(
t
)),
4
==
e
.
activeTab
&&
(
e
.
pageSize
=
3
,
s
.
result
.
isGoodMessage
&&
e
.
getGoodsList
(
t
),
s
.
result
.
isIntegralGoodMessage
&&
e
.
getPointList
(
t
),
s
.
result
.
isIntegralGoodMessage
&&!
s
.
result
.
isGoodMessage
&&
(
e
.
activeName
=
"second"
),
s
.
result
.
isGoodMessage
&&!
s
.
result
.
isIntegralGoodMessage
&&
(
e
.
activeName
=
"first"
)))}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
""
!=
t
&&
(
this
.
getChatSet
(
t
),
this
.
getCardSet
(
t
))}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
""
!=
this
.
brandId
&&
(
this
.
getChatSet
(
this
.
brandId
),
this
.
getCardSet
(
this
.
brandId
)),
""
!=
this
.
$route
.
query
.
activeTab
&&
(
this
.
activeTab
=
this
.
$route
.
query
.
activeTab
||
"1"
)}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"online-chat-content border-box"
},[
a
(
"div"
,{
staticClass
:
"online-chat-switch"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-18"
},[
t
.
_v
(
"在线沟通"
)]),
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
t
.
changeChatFlag
},
model
:{
value
:
t
.
chatData
.
chatFlag
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"chatFlag"
,
e
)},
expression
:
"chatData.chatFlag"
}}),
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
t
.
_v
(
"若小程序使用了GIC 好办客服功能,会员将无法在公众号联系导购"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"online-chat-body"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"online-chat-left"
},[
a
(
"ul"
,[
t
.
_l
(
t
.
leftData
,
function
(
e
,
s
){
return
[
a
(
"li"
,{
key
:
s
+
"left"
,
class
:[
"online-chat-left_li"
,
t
.
activeTab
==
e
.
tabId
?
"active-li"
:
""
],
on
:{
click
:
function
(
a
){
return
t
.
changeTab
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
tabName
))]),
t
.
_v
(
" "
),
e
.
children
&&
e
.
children
.
length
?
a
(
"ul"
,{
key
:
s
+
"left1"
},[
t
.
_l
(
e
.
children
,
function
(
e
,
s
){
return
[
a
(
"li"
,{
key
:
s
+
"left12"
,
class
:[
"online-chat-left_li child-li"
,
t
.
activeTab
==
e
.
tabId
?
"active-li"
:
""
],
on
:{
click
:
function
(
a
){
return
t
.
changeTab
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
tabName
))])]})],
2
):
t
.
_e
()]})],
2
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"online-chat-right border-box"
},[
a
(
"div"
,{
staticClass
:
"online-chat-right_body"
},[
1
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-message"
},[
a
(
"el-form"
,{
ref
:
"msgForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
t
.
chatData
,
rules
:
t
.
rules
,
"label-width"
:
"70px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"短信提醒"
,
prop
:
"name"
}},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
return
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isMessageRemind
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isMessageRemind"
,
e
)},
expression
:
"chatData.isMessageRemind"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"开启后,会员发送消息,超出10条后,即发送短信给导购,每日最多触发一条短信,短信计入商家计费中心"
)])],
1
),
t
.
_v
(
" "
),
t
.
chatData
.
isMessageRemind
?
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"messageRemindTime"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
t
.
_v
(
"下发时间设置"
)]),
a
(
"el-time-select"
,{
attrs
:{
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:15"
,
end
:
"23:59"
},
placeholder
:
"选择时间"
},
model
:{
value
:
t
.
chatData
.
messageRemindTime
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"messageRemindTime"
,
e
)},
expression
:
"chatData.messageRemindTime"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-20"
},[
t
.
_v
(
"该事件设置将在当日生效"
)])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
chatData
.
isMessageRemind
?
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
return
t
.
saveData
(
"msgForm"
)}}},[
t
.
_v
(
"保存"
)])],
1
):
t
.
_e
()],
1
)],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-template"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-23"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"模板消息"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-20"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
return
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isTemplateMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isTemplateMessage"
,
e
)},
expression
:
"chatData.isTemplateMessage"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"仅支持专属导购对会员发送模板消息,每个会员每个自然月模板消息发送次数不超过三次。设置后立即生效。"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-23"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"模板名字:"
)]),
t
.
_v
(
t
.
_s
(
t
.
templateName
))])]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-article"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"图文"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-20"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
return
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isImgMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isImgMessage"
,
e
)},
expression
:
"chatData.isImgMessage"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"开启后,导购与会员聊天可发送GIC图文"
)])],
1
),
t
.
_v
(
" "
),
t
.
chatData
.
isImgMessage
?
a
(
"div"
,{
staticClass
:
"m-t-20 p-l-50"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
articleList
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"图片"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"img-wrap border-box flex flex-align-center flex-pack-center"
},[
e
.
row
.
img
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
img
,
alt
:
""
}}):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"article-title font-14 color-606266 p-l-10"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
title
)
+
"
\
n "
)])])]}}],
null
,
!
1
,
4001397016
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"作者"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
authorName
||
"--"
))]}}],
null
,
!
1
,
2362430895
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"导购发送图文的总人数统计,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购发送图文人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
pushCount
)
+
"
\
n "
)]}}],
null
,
!
1
,
2317180099
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"4"
)}}},[
t
.
_v
(
"发送记录"
)])]}}],
null
,
!
1
,
2738165876
)})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
articleList
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
()]):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-goods"
},[
t
.
_m
(
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"达摩微商城"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
return
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isGoodMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isGoodMessage"
,
e
)},
expression
:
"chatData.isGoodMessage"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-40"
},[
t
.
_v
(
"积分商城"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
return
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isIntegralGoodMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isIntegralGoodMessage"
,
e
)},
expression
:
"chatData.isIntegralGoodMessage"
}})],
1
),
t
.
_v
(
" "
),
t
.
chatData
.
isGoodMessage
||
t
.
chatData
.
isIntegralGoodMessage
?
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-tabs"
,{
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
t
.
handleTab
},
model
:{
value
:
t
.
activeName
,
callback
:
function
(
e
){
t
.
activeName
=
e
},
expression
:
"activeName"
}},[
t
.
chatData
.
isGoodMessage
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"达摩微商城"
,
name
:
"first"
}},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
goodsList
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"商品信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"img-wrap flex flex-align-center flex-pack-center border-box"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
goodImg
,
alt
:
""
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"article-title flex flex-column"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodName
))]),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-909399"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodCode
))])])])]}}],
null
,
!
1
,
3027559944
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"单价(元)"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodPrice
))]}}],
null
,
!
1
,
1497696819
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"库存"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
stock
||
"--"
))]}}],
null
,
!
1
,
3899446397
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"总销量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
saleAmount
))]}}],
null
,
!
1
,
3535725450
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发布时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
publishTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
publishTime
)))])]}}],
null
,
!
1
,
1577812534
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"导购发送图文的总人数统计,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购发送图文人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
pushCount
)
+
"
\
n "
)]}}],
null
,
!
1
,
1035736771
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"1"
)}}},[
t
.
_v
(
"发送记录"
)])]}}],
null
,
!
1
,
641093233
)})],
1
)],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
chatData
.
isIntegralGoodMessage
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"积分商城"
,
name
:
"second"
}},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
pointList
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"商品信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"img-wrap border-box"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
goodImg
,
alt
:
""
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"article-title flex flex-column"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodName
))]),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-909399"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodCode
))])])])]}}],
null
,
!
1
,
3419027403
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"积分费用"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
integral
))]}}],
null
,
!
1
,
4140460307
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"现金费用"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodPrice
))]}}],
null
,
!
1
,
1497696819
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"创建时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
publishTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
publishTime
)))])]}}],
null
,
!
1
,
1577812534
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"导购发送图文的总人数统计,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购发送图文人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
pushCount
)
+
"
\
n "
)]}}],
null
,
!
1
,
1035736771
)}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
return
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"2"
)}}},[
t
.
_v
(
"发送记录"
)])]}}],
null
,
!
1
,
1260546802
)})],
1
)],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
0
!=
t
.
goodsList
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
()]):
t
.
_e
(),
t
.
_v
(
" "
),
51
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-card"
},[
t
.
_m
(
3
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20 m-b-20 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"card-top-left"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-top-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新建卡券"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"card-list-table"
,{
attrs
:{
activeTab
:
t
.
activeTab
,
tableData
:
t
.
cardListData
},
on
:{
delCard
:
t
.
delCard
}}),
t
.
_v
(
" "
),
t
.
cardListData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
52
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-card_record"
},[
t
.
_m
(
4
),
t
.
_v
(
" "
),
a
(
"card-record-table"
,{
attrs
:{
activeTab
:
t
.
activeTab
,
tableData
:
t
.
cardRecordData
}}),
t
.
_v
(
" "
),
t
.
cardRecordData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
()])])])])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
,
staticStyle
:{
"align-self"
:
"flex-start"
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"配置说明:1.导购可在未和会员建立会话的情况下,发送消息给会员"
),
e
(
"br"
),
this
.
_v
(
"
\
n 2.发送形式为模板消息,发送模板消息即表示发送了一条消息通知,并非建立主动会话"
),
e
(
"br"
),
this
.
_v
(
"
\
n 3.频繁使用模板消息,可能导致微信封闭模板消息及会员取关率增加,请谨慎使用"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"配置说明:选取微信营销素材库中的图文,配置后,导购可以选择对应的营销图文发送给会员"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"配置说明:选取达摩微商城及积分商城中的商品,配置后,导购可以选择对应的商品发送给会员"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
,
staticStyle
:{
"align-self"
:
"flex-start"
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"选取GIC中卡券营销适用好办的卡券,配置后,导购可以选择对应的卡券发送给会员"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
,
staticStyle
:{
"align-self"
:
"flex-start"
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"当前卡券记录中发送数量、领取数量、领取率、使用数量、核销率、销售额为gic总体卡券记录,包含好办使用记录。后续更新将统计好办渠道卡券记录"
)])])])}]};
var
g
=
a
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
t
){
a
(
"dSep"
)},
"data-v-4bbc7905"
,
null
);
e
.
default
=
g
.
exports
},
dSep
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/2
6.25cec12308f82f080497
.js
→
dist/static/js/2
7.d4057429dd4332ec83e8
.js
View file @
5bf58c39
webpackJsonp
([
26
],{
"/2jW"
:
function
(
t
,
e
){},
"738z"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
s
=
i
(
"elmV"
),
n
=
i
(
"P9l9"
),
o
=
i
(
"O3H5"
),
l
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
a
.
a
,
uploadExcelComponent
:
s
.
a
,
exportSet
:
o
.
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
:
"/fileSet"
},{
name
:
"在职员工"
,
path
:
"/employeeRecord"
},{
name
:
"导入员工档案"
,
path
:
""
}],
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
host
:
window
.
location
.
origin
,
type
:
"import"
,
fileList
:[],
url
:
t
+
"/haoban-manage-web/record/record-template-file-upload"
,
logList
:[],
loading
:
!
0
,
pageSize
:
20
,
currentPage
:
1
,
total
:
0
,
tempList
:[],
dialogVisible
:
!
1
}},
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
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
n
.
a
)(
"/haoban-manage-web/record/find-error-log"
,
e
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
total
=
e
.
data
.
result
.
totalCount
,
t
.
logList
=
e
.
data
.
result
.
result
,
t
.
formatData
(
e
.
data
.
result
.
template
,
e
.
data
.
result
.
page
.
result
)):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
formatData
:
function
(
t
,
e
){
var
i
=
[];
t
.
forEach
(
function
(
t
){
i
.
push
({
fieldCode
:
t
.
fieldCode
,
fieldName
:
t
.
fieldName
})}),
this
.
tempList
=
i
,
this
.
logList
=
e
,
this
.
loading
=!
1
},
beforeAvatarUpload
:
function
(
t
){
var
e
=
t
.
name
.
lastIndexOf
(
"."
);
if
(
e
<
0
)
return
this
.
$message
.
error
(
"文件格式不正确!"
),
!
1
;
var
i
=
t
.
name
.
substring
(
e
+
1
,
t
.
name
.
length
),
a
=
i
.
includes
(
"xls"
)
||
i
.
includes
(
"xlsx"
);
return
a
||
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
a
},
uploadSuccess
:
function
(
t
,
e
){
var
i
=
this
;
1
==
t
.
errorCode
?(
i
.
fileList
=
[],
i
.
$forceUpdate
(),
i
.
$message
({
message
:
t
.
message
,
type
:
"success"
}),
i
.
$nextTick
(
function
(){
i
.
fileList
=
[]})):
i
.
$message
.
error
(
t
.
message
)},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
handleRemove
:
function
(
t
,
e
){
this
.
fileList
=
[]},
getChange
:
function
(
t
,
e
){
var
i
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
a
=
t
.
name
.
lastIndexOf
(
"."
),
s
=
t
.
name
.
substring
(
a
+
1
,
t
.
name
.
length
);
if
(
!
(
s
.
includes
(
"xls"
)
||
s
.
includes
(
"xlsx"
)))
return
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
this
.
fileList
.
splice
(
i
,
1
),
!
1
;
this
.
fileList
=
[
e
[
i
]]},
callExport
:
function
(){
this
.
dialogVisible
=!
0
},
cancelCho
:
function
(){
this
.
dialogVisible
=!
1
}},
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
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"common-set-wrap record-io-wrap"
,
style
:{
height
:
t
.
windowH
}},[
i
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"right-content"
},[
i
(
"div"
,{
staticClass
:
"right-box"
},[
i
(
"div"
,{
staticClass
:
"io-container"
},[
t
.
dialogVisible
?[
i
(
"export-set"
,{
on
:{
cancelCho
:
t
.
cancelCho
}})]:[
t
.
_m
(
0
),
t
.
_v
(
" "
),
i
(
"el-radio-group"
,{
staticClass
:
"m-t-20"
,
on
:{
change
:
t
.
resetList
},
model
:{
value
:
t
.
type
,
callback
:
function
(
e
){
t
.
type
=
e
},
expression
:
"type"
}},[
i
(
"el-radio-button"
,{
attrs
:{
label
:
"import"
}},[
t
.
_v
(
"导入员工档案"
)]),
t
.
_v
(
" "
),
i
(
"el-radio-button"
,{
attrs
:{
label
:
"note"
}},[
t
.
_v
(
"错误记录"
)])],
1
),
t
.
_v
(
" "
),
"import"
==
t
.
type
?
i
(
"div"
,{
staticClass
:
"handle-area import"
},[
i
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"下载模板
\
n "
),
i
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/record/export-record-template.json"
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"下载"
),
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"step-div"
},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传员工档案
\
n "
),
i
(
"div"
,{
staticClass
:
"d-u-btn"
},[
i
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"auto-upload"
:
!
1
,
"before-upload"
:
t
.
beforeAvatarUpload
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
,
"on-remove"
:
t
.
handleRemove
}},[
i
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"up-btn-div"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
return
t
.
submitUpload
(
"upload"
)}}},[
t
.
_v
(
"上传"
)])],
1
)]):
"export"
==
t
.
type
?
i
(
"div"
,{
staticClass
:
"handle-area import"
},[
i
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"导出员工档案
\
n "
),
i
(
"a"
,{
staticClass
:
"d-u-btn"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
callExport
}},[
t
.
_v
(
"下载"
),
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"step-div"
},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传更新后的员工档案
\
n "
),
i
(
"div"
,{
staticClass
:
"d-u-btn"
},[
i
(
"el-upload"
,{
ref
:
"uploadEdit"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"auto-upload"
:
!
1
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
}},[
i
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"up-btn-div"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
return
t
.
submitUpload
(
"uploadEdit"
)}}},[
t
.
_v
(
"上传"
)])],
1
)]):
i
(
"div"
,{
staticClass
:
"error-log import"
},[
i
(
"div"
,{
staticClass
:
"title-area"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
i
(
"a"
,{
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/record/error-log-export?importCode="
+
t
.
$route
.
query
.
importCode
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"导出错误记录"
)])],
1
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"m-t-20"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
logList
,
height
:
"400"
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"index"
,
width
:
"50"
,
label
:
"序号"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"200"
,
prop
:
"fieldValue"
,
label
:
"字段值"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"200"
,
prop
:
"fieldName"
,
label
:
"字段名"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"200"
,
prop
:
"failReason"
,
label
:
"错误原因"
}}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
tempList
,
function
(
t
){
return
[
i
(
"el-table-column"
,{
key
:
t
.
fieldCode
,
attrs
:{
width
:
"200"
,
label
:
t
.
fieldName
,
prop
:
t
.
fieldCode
}})]})],
2
),
t
.
_v
(
" "
),
t
.
logList
.
length
?
i
(
"el-pagination"
,{
staticClass
:
"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
}}):
t
.
_e
()],
1
)]],
2
)])]),
t
.
_v
(
" "
),
i
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"ul"
,{
staticClass
:
"tip-area"
},[
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 姓名必须和好办企业通讯录中的员工姓名保持一致,手机号必须为员工注册好办的手机号
\
n "
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 员工档案导入时,直接以手机号去做匹配,通讯录中不存在的将无法导入(模板中配置的部门、职位、code,这些字段信息请保持与企业通讯录中一致,这几个字段的信息将不会修改通讯录的信息,直接取该成员对应的通讯录的字段信息)
\
n "
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"如果想要新增字段,可在后台档案设置中增加,再导入模板"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"字段类型为图片上传、多选的字段无法导入、导出"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"确保导入的表头字段和后台配置表头字段的名称一致(模板下载时间不可修改)"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入
\
n "
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"tip"
},[
this
.
_v
(
"导入总条数:0条,成功导入0条,"
),
e
(
"span"
,{
staticClass
:
"red"
},[
this
.
_v
(
"错误导入0条"
)])])}]};
var
c
=
i
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
i
(
"oqq7"
)},
null
,
null
);
e
.
default
=
c
.
exports
},
O3H5
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"mvHQ"
),
s
=
i
.
n
(
a
),
n
=
i
(
"P9l9"
),
o
=
i
(
"w/TU"
),
l
=
{
name
:
"export-set"
,
components
:{
draggable
:
i
.
n
(
o
).
a
},
data
:
function
(){
return
{
tempList
:[],
checkList
:[],
origin
:[],
checkAll
:
!
1
,
isIndeterminate
:
!
1
,
checkedList
:[]}},
methods
:{
deleteField
:
function
(
t
){
this
.
checkedList
.
splice
(
t
,
1
);
var
e
=
this
.
checkedList
.
map
(
function
(
t
){
return
t
.
fieldCode
});
this
.
origin
.
forEach
(
function
(
t
,
i
){
e
.
includes
(
t
.
fieldCode
)?
t
.
checked
=!
0
:
t
.
checked
=!
1
}),
this
.
checkHalf
()},
checkHalf
:
function
(){
if
(
0
===
this
.
checkedList
.
length
)
return
this
.
isIndeterminate
=!
1
,
!
1
;
this
.
checkedList
.
length
===
this
.
origin
.
length
?
this
.
isIndeterminate
=!
1
:
this
.
isIndeterminate
=!
0
},
checkThis
:
function
(
t
){
var
e
=
this
;
t
.
checked
?
e
.
checkedList
.
push
(
t
):
e
.
checkedList
.
forEach
(
function
(
i
,
a
){
i
.
fieldCode
===
t
.
fieldCode
&&
e
.
checkedList
.
splice
(
a
,
1
)}),
e
.
checkHalf
()},
handleCheckAllChange
:
function
(
t
){
this
.
checkedList
=
[],
this
.
origin
.
forEach
(
function
(
e
,
i
){
e
.
checked
=
t
,
t
&&
(
e
.
order
=
i
+
1
)}),
t
&&
(
this
.
checkedList
=
this
.
origin
.
slice
(
0
)),
this
.
checkHalf
()},
getTemplate
:
function
(){
var
t
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/record/employee-find-template"
,{}).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?
t
.
formatTemplateList
(
e
.
data
.
result
):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
formatTemplateList
:
function
(
t
){
var
e
=
[],
i
=
[],
a
=
t
;
t
.
forEach
(
function
(
t
){
t
.
title
=
t
.
fieldName
,
t
.
name
=
t
.
fieldName
,
t
.
checked
=!
1
;
var
i
=
[];
a
.
forEach
(
function
(
e
){
e
.
parentCode
==
t
.
fieldCode
&&
i
.
push
(
e
)}),
i
.
sort
(
function
(
t
,
e
){
return
1
*
t
.
sort
-
1
*
e
.
sort
}),
i
.
length
>
0
&&
(
t
.
childrens
=
i
),
0
==
t
.
parentCode
&&
e
.
push
(
t
)}),
e
.
sort
(
function
(
t
,
e
){
return
1
*
t
.
sort
-
1
*
e
.
sort
}),
e
.
forEach
(
function
(
t
){
i
=
i
.
concat
(
t
.
childrens
)}),
this
.
origin
=
i
,
this
.
tempList
=
e
},
cancelCho
:
function
(){
this
.
origin
.
forEach
(
function
(
t
){
t
.
checked
=!
1
}),
this
.
$emit
(
"cancelCho"
)},
exportCho
:
function
(){
var
t
=
[];
this
.
checkedList
.
forEach
(
function
(
e
){
e
.
checked
&&
t
.
push
({
fieldCode
:
e
.
fieldCode
,
fieldName
:
e
.
fieldName
})});
s
()(
t
);
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)
&&
(
e
=
"http://www.gicdev.com"
),
location
.
href
=
e
+
"/haoban-manage-web/record/define-export?exportTitleContent="
+
s
()(
t
),
this
.
$emit
(
"cancelCho"
)}},
beforeMount
:
function
(){
this
.
getTemplate
()}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"export-set-container"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-list"
},[
i
(
"draggable"
,{
model
:{
value
:
t
.
checkedList
,
callback
:
function
(
e
){
t
.
checkedList
=
e
},
expression
:
"checkedList"
}},[
t
.
_l
(
t
.
checkedList
,
function
(
e
,
a
){
return
[
e
.
checked
?
i
(
"div"
,{
key
:
e
.
fieldCode
+
a
,
staticClass
:
"cho"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
e
){
return
t
.
deleteField
(
a
)}}})]):
t
.
_e
()]})],
2
)],
1
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-area"
},[
i
(
"div"
,{
staticClass
:
"title"
},[
t
.
_v
(
"选择需要导出的字段"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-area-group"
},[
i
(
"div"
,{
staticClass
:
"group-div"
},[
i
(
"div"
,{
staticClass
:
"group-title"
}),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"group-son-list"
},[
i
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
t
.
isIndeterminate
},
on
:{
change
:
t
.
handleCheckAllChange
},
model
:{
value
:
t
.
checkAll
,
callback
:
function
(
e
){
t
.
checkAll
=
e
},
expression
:
"checkAll"
}},[
t
.
_v
(
"全选"
)])],
1
)]),
t
.
_v
(
" "
),
t
.
_l
(
t
.
tempList
,
function
(
e
,
a
){
return
i
(
"div"
,{
key
:
e
.
fieldCode
+
a
,
staticClass
:
"group-div"
},[
i
(
"div"
,{
staticClass
:
"group-title"
},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"group-son-list"
},[
t
.
_l
(
t
.
origin
,
function
(
a
){
return
[
a
.
parentCode
==
e
.
fieldCode
?
i
(
"li"
,{
key
:
a
.
fieldCode
},[
i
(
"el-checkbox"
,{
key
:
a
.
fieldCode
,
attrs
:{
label
:
a
.
fieldName
},
on
:{
change
:
function
(
e
){
return
t
.
checkThis
(
a
)}},
model
:{
value
:
a
.
checked
,
callback
:
function
(
e
){
t
.
$set
(
a
,
"checked"
,
e
)},
expression
:
"items.checked"
}},[
t
.
_v
(
t
.
_s
(
a
.
fieldName
))])],
1
):
t
.
_e
()]})],
2
)])})],
2
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"handle-cho-btn"
},[
i
(
"el-button"
,{
staticClass
:
"export-btn"
,
attrs
:{
type
:
"primary"
,
disabled
:
t
.
checkedList
.
length
<
1
},
on
:{
click
:
t
.
exportCho
}},[
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
on
:{
click
:
t
.
cancelCho
}},[
t
.
_v
(
"取消"
)])],
1
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"title"
},[
this
.
_v
(
"已选择字段"
),
e
(
"span"
,[
this
.
_v
(
"导出的列表中将按顺序显示这些字段(可拖拽排序)"
)])])}]};
var
c
=
i
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
i
(
"/2jW"
)},
null
,
null
);
e
.
a
=
c
.
exports
},
oqq7
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
27
],{
"/2jW"
:
function
(
t
,
e
){},
"738z"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
s
=
i
(
"elmV"
),
n
=
i
(
"P9l9"
),
o
=
i
(
"O3H5"
),
l
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
a
.
a
,
uploadExcelComponent
:
s
.
a
,
exportSet
:
o
.
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
:
"/fileSet"
},{
name
:
"在职员工"
,
path
:
"/employeeRecord"
},{
name
:
"导入员工档案"
,
path
:
""
}],
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
host
:
window
.
location
.
origin
,
type
:
"import"
,
fileList
:[],
url
:
t
+
"/haoban-manage-web/record/record-template-file-upload"
,
logList
:[],
loading
:
!
0
,
pageSize
:
20
,
currentPage
:
1
,
total
:
0
,
tempList
:[],
dialogVisible
:
!
1
}},
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
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
n
.
a
)(
"/haoban-manage-web/record/find-error-log"
,
e
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
total
=
e
.
data
.
result
.
totalCount
,
t
.
logList
=
e
.
data
.
result
.
result
,
t
.
formatData
(
e
.
data
.
result
.
template
,
e
.
data
.
result
.
page
.
result
)):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
formatData
:
function
(
t
,
e
){
var
i
=
[];
t
.
forEach
(
function
(
t
){
i
.
push
({
fieldCode
:
t
.
fieldCode
,
fieldName
:
t
.
fieldName
})}),
this
.
tempList
=
i
,
this
.
logList
=
e
,
this
.
loading
=!
1
},
beforeAvatarUpload
:
function
(
t
){
var
e
=
t
.
name
.
lastIndexOf
(
"."
);
if
(
e
<
0
)
return
this
.
$message
.
error
(
"文件格式不正确!"
),
!
1
;
var
i
=
t
.
name
.
substring
(
e
+
1
,
t
.
name
.
length
),
a
=
i
.
includes
(
"xls"
)
||
i
.
includes
(
"xlsx"
);
return
a
||
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
a
},
uploadSuccess
:
function
(
t
,
e
){
var
i
=
this
;
1
==
t
.
errorCode
?(
i
.
fileList
=
[],
i
.
$forceUpdate
(),
i
.
$message
({
message
:
t
.
message
,
type
:
"success"
}),
i
.
$nextTick
(
function
(){
i
.
fileList
=
[]})):
i
.
$message
.
error
(
t
.
message
)},
submitUpload
:
function
(
t
){
this
.
$refs
[
t
].
submit
()},
handleRemove
:
function
(
t
,
e
){
this
.
fileList
=
[]},
getChange
:
function
(
t
,
e
){
var
i
=
e
.
length
-
1
<
0
?
0
:
e
.
length
-
1
,
a
=
t
.
name
.
lastIndexOf
(
"."
),
s
=
t
.
name
.
substring
(
a
+
1
,
t
.
name
.
length
);
if
(
!
(
s
.
includes
(
"xls"
)
||
s
.
includes
(
"xlsx"
)))
return
this
.
$message
.
error
(
"文件格式必须为 xls 或 xlsx 格式!"
),
this
.
fileList
.
splice
(
i
,
1
),
!
1
;
this
.
fileList
=
[
e
[
i
]]},
callExport
:
function
(){
this
.
dialogVisible
=!
0
},
cancelCho
:
function
(){
this
.
dialogVisible
=!
1
}},
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
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"common-set-wrap record-io-wrap"
,
style
:{
height
:
t
.
windowH
}},[
i
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"right-content"
},[
i
(
"div"
,{
staticClass
:
"right-box"
},[
i
(
"div"
,{
staticClass
:
"io-container"
},[
t
.
dialogVisible
?[
i
(
"export-set"
,{
on
:{
cancelCho
:
t
.
cancelCho
}})]:[
t
.
_m
(
0
),
t
.
_v
(
" "
),
i
(
"el-radio-group"
,{
staticClass
:
"m-t-20"
,
on
:{
change
:
t
.
resetList
},
model
:{
value
:
t
.
type
,
callback
:
function
(
e
){
t
.
type
=
e
},
expression
:
"type"
}},[
i
(
"el-radio-button"
,{
attrs
:{
label
:
"import"
}},[
t
.
_v
(
"导入员工档案"
)]),
t
.
_v
(
" "
),
i
(
"el-radio-button"
,{
attrs
:{
label
:
"note"
}},[
t
.
_v
(
"错误记录"
)])],
1
),
t
.
_v
(
" "
),
"import"
==
t
.
type
?
i
(
"div"
,{
staticClass
:
"handle-area import"
},[
i
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"下载模板
\
n "
),
i
(
"a"
,{
staticClass
:
"d-u-btn"
,
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/record/export-record-template.json"
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"下载"
),
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"step-div"
},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传员工档案
\
n "
),
i
(
"div"
,{
staticClass
:
"d-u-btn"
},[
i
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"auto-upload"
:
!
1
,
"before-upload"
:
t
.
beforeAvatarUpload
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
,
"on-remove"
:
t
.
handleRemove
}},[
i
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"up-btn-div"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
return
t
.
submitUpload
(
"upload"
)}}},[
t
.
_v
(
"上传"
)])],
1
)]):
"export"
==
t
.
type
?
i
(
"div"
,{
staticClass
:
"handle-area import"
},[
i
(
"div"
,{
staticClass
:
"step-div"
,
staticStyle
:{
"margin-bottom"
:
"90px"
,
"line-height"
:
"32px"
}},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"①"
)]),
t
.
_v
(
"导出员工档案
\
n "
),
i
(
"a"
,{
staticClass
:
"d-u-btn"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
callExport
}},[
t
.
_v
(
"下载"
),
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai m-l-5"
})])],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"step-div"
},[
i
(
"span"
,{
staticClass
:
"ft-large"
},[
t
.
_v
(
"②"
)]),
t
.
_v
(
"上传更新后的员工档案
\
n "
),
i
(
"div"
,{
staticClass
:
"d-u-btn"
},[
i
(
"el-upload"
,{
ref
:
"uploadEdit"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
t
.
url
,
multiple
:
!
1
,
"file-list"
:
t
.
fileList
,
"auto-upload"
:
!
1
,
"on-success"
:
t
.
uploadSuccess
,
"on-change"
:
t
.
getChange
}},[
i
(
"el-button"
,{
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"文件格式必须为xls或xlsx格式"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"up-btn-div"
},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
0
==
t
.
fileList
.
length
},
on
:{
click
:
function
(
e
){
return
t
.
submitUpload
(
"uploadEdit"
)}}},[
t
.
_v
(
"上传"
)])],
1
)]):
i
(
"div"
,{
staticClass
:
"error-log import"
},[
i
(
"div"
,{
staticClass
:
"title-area"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
i
(
"a"
,{
attrs
:{
href
:
t
.
host
+
"/haoban-manage-web/record/error-log-export?importCode="
+
t
.
$route
.
query
.
importCode
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
t
.
_v
(
"导出错误记录"
)])],
1
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"m-t-20"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
logList
,
height
:
"400"
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"index"
,
width
:
"50"
,
label
:
"序号"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"200"
,
prop
:
"fieldValue"
,
label
:
"字段值"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"200"
,
prop
:
"fieldName"
,
label
:
"字段名"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"200"
,
prop
:
"failReason"
,
label
:
"错误原因"
}}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
tempList
,
function
(
t
){
return
[
i
(
"el-table-column"
,{
key
:
t
.
fieldCode
,
attrs
:{
width
:
"200"
,
label
:
t
.
fieldName
,
prop
:
t
.
fieldCode
}})]})],
2
),
t
.
_v
(
" "
),
t
.
logList
.
length
?
i
(
"el-pagination"
,{
staticClass
:
"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
}}):
t
.
_e
()],
1
)]],
2
)])]),
t
.
_v
(
" "
),
i
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"ul"
,{
staticClass
:
"tip-area"
},[
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 姓名必须和好办企业通讯录中的员工姓名保持一致,手机号必须为员工注册好办的手机号
\
n "
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 员工档案导入时,直接以手机号去做匹配,通讯录中不存在的将无法导入(模板中配置的部门、职位、code,这些字段信息请保持与企业通讯录中一致,这几个字段的信息将不会修改通讯录的信息,直接取该成员对应的通讯录的字段信息)
\
n "
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"如果想要新增字段,可在后台档案设置中增加,再导入模板"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"字段类型为图片上传、多选的字段无法导入、导出"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"确保导入的表头字段和后台配置表头字段的名称一致(模板下载时间不可修改)"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"tip"
},[
t
.
_v
(
"
\
n 由于数据量可能较大,每次最多导入2000条员工档案,若超过只取前2000条,可以分多次导入
\
n "
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"tip"
},[
this
.
_v
(
"导入总条数:0条,成功导入0条,"
),
e
(
"span"
,{
staticClass
:
"red"
},[
this
.
_v
(
"错误导入0条"
)])])}]};
var
c
=
i
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
i
(
"oqq7"
)},
null
,
null
);
e
.
default
=
c
.
exports
},
O3H5
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"mvHQ"
),
s
=
i
.
n
(
a
),
n
=
i
(
"P9l9"
),
o
=
i
(
"w/TU"
),
l
=
{
name
:
"export-set"
,
components
:{
draggable
:
i
.
n
(
o
).
a
},
data
:
function
(){
return
{
tempList
:[],
checkList
:[],
origin
:[],
checkAll
:
!
1
,
isIndeterminate
:
!
1
,
checkedList
:[]}},
methods
:{
deleteField
:
function
(
t
){
this
.
checkedList
.
splice
(
t
,
1
);
var
e
=
this
.
checkedList
.
map
(
function
(
t
){
return
t
.
fieldCode
});
this
.
origin
.
forEach
(
function
(
t
,
i
){
e
.
includes
(
t
.
fieldCode
)?
t
.
checked
=!
0
:
t
.
checked
=!
1
}),
this
.
checkHalf
()},
checkHalf
:
function
(){
if
(
0
===
this
.
checkedList
.
length
)
return
this
.
isIndeterminate
=!
1
,
!
1
;
this
.
checkedList
.
length
===
this
.
origin
.
length
?
this
.
isIndeterminate
=!
1
:
this
.
isIndeterminate
=!
0
},
checkThis
:
function
(
t
){
var
e
=
this
;
t
.
checked
?
e
.
checkedList
.
push
(
t
):
e
.
checkedList
.
forEach
(
function
(
i
,
a
){
i
.
fieldCode
===
t
.
fieldCode
&&
e
.
checkedList
.
splice
(
a
,
1
)}),
e
.
checkHalf
()},
handleCheckAllChange
:
function
(
t
){
this
.
checkedList
=
[],
this
.
origin
.
forEach
(
function
(
e
,
i
){
e
.
checked
=
t
,
t
&&
(
e
.
order
=
i
+
1
)}),
t
&&
(
this
.
checkedList
=
this
.
origin
.
slice
(
0
)),
this
.
checkHalf
()},
getTemplate
:
function
(){
var
t
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/record/employee-find-template"
,{}).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?
t
.
formatTemplateList
(
e
.
data
.
result
):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
formatTemplateList
:
function
(
t
){
var
e
=
[],
i
=
[],
a
=
t
;
t
.
forEach
(
function
(
t
){
t
.
title
=
t
.
fieldName
,
t
.
name
=
t
.
fieldName
,
t
.
checked
=!
1
;
var
i
=
[];
a
.
forEach
(
function
(
e
){
e
.
parentCode
==
t
.
fieldCode
&&
i
.
push
(
e
)}),
i
.
sort
(
function
(
t
,
e
){
return
1
*
t
.
sort
-
1
*
e
.
sort
}),
i
.
length
>
0
&&
(
t
.
childrens
=
i
),
0
==
t
.
parentCode
&&
e
.
push
(
t
)}),
e
.
sort
(
function
(
t
,
e
){
return
1
*
t
.
sort
-
1
*
e
.
sort
}),
e
.
forEach
(
function
(
t
){
i
=
i
.
concat
(
t
.
childrens
)}),
this
.
origin
=
i
,
this
.
tempList
=
e
},
cancelCho
:
function
(){
this
.
origin
.
forEach
(
function
(
t
){
t
.
checked
=!
1
}),
this
.
$emit
(
"cancelCho"
)},
exportCho
:
function
(){
var
t
=
[];
this
.
checkedList
.
forEach
(
function
(
e
){
e
.
checked
&&
t
.
push
({
fieldCode
:
e
.
fieldCode
,
fieldName
:
e
.
fieldName
})});
s
()(
t
);
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)
&&
(
e
=
"http://www.gicdev.com"
),
location
.
href
=
e
+
"/haoban-manage-web/record/define-export?exportTitleContent="
+
s
()(
t
),
this
.
$emit
(
"cancelCho"
)}},
beforeMount
:
function
(){
this
.
getTemplate
()}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"export-set-container"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-list"
},[
i
(
"draggable"
,{
model
:{
value
:
t
.
checkedList
,
callback
:
function
(
e
){
t
.
checkedList
=
e
},
expression
:
"checkedList"
}},[
t
.
_l
(
t
.
checkedList
,
function
(
e
,
a
){
return
[
e
.
checked
?
i
(
"div"
,{
key
:
e
.
fieldCode
+
a
,
staticClass
:
"cho"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
e
){
return
t
.
deleteField
(
a
)}}})]):
t
.
_e
()]})],
2
)],
1
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-area"
},[
i
(
"div"
,{
staticClass
:
"title"
},[
t
.
_v
(
"选择需要导出的字段"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-area-group"
},[
i
(
"div"
,{
staticClass
:
"group-div"
},[
i
(
"div"
,{
staticClass
:
"group-title"
}),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"group-son-list"
},[
i
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
t
.
isIndeterminate
},
on
:{
change
:
t
.
handleCheckAllChange
},
model
:{
value
:
t
.
checkAll
,
callback
:
function
(
e
){
t
.
checkAll
=
e
},
expression
:
"checkAll"
}},[
t
.
_v
(
"全选"
)])],
1
)]),
t
.
_v
(
" "
),
t
.
_l
(
t
.
tempList
,
function
(
e
,
a
){
return
i
(
"div"
,{
key
:
e
.
fieldCode
+
a
,
staticClass
:
"group-div"
},[
i
(
"div"
,{
staticClass
:
"group-title"
},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"group-son-list"
},[
t
.
_l
(
t
.
origin
,
function
(
a
){
return
[
a
.
parentCode
==
e
.
fieldCode
?
i
(
"li"
,{
key
:
a
.
fieldCode
},[
i
(
"el-checkbox"
,{
key
:
a
.
fieldCode
,
attrs
:{
label
:
a
.
fieldName
},
on
:{
change
:
function
(
e
){
return
t
.
checkThis
(
a
)}},
model
:{
value
:
a
.
checked
,
callback
:
function
(
e
){
t
.
$set
(
a
,
"checked"
,
e
)},
expression
:
"items.checked"
}},[
t
.
_v
(
t
.
_s
(
a
.
fieldName
))])],
1
):
t
.
_e
()]})],
2
)])})],
2
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"handle-cho-btn"
},[
i
(
"el-button"
,{
staticClass
:
"export-btn"
,
attrs
:{
type
:
"primary"
,
disabled
:
t
.
checkedList
.
length
<
1
},
on
:{
click
:
t
.
exportCho
}},[
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
on
:{
click
:
t
.
cancelCho
}},[
t
.
_v
(
"取消"
)])],
1
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"title"
},[
this
.
_v
(
"已选择字段"
),
e
(
"span"
,[
this
.
_v
(
"导出的列表中将按顺序显示这些字段(可拖拽排序)"
)])])}]};
var
c
=
i
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
i
(
"/2jW"
)},
null
,
null
);
e
.
a
=
c
.
exports
},
oqq7
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/app.
9b0ba454963b22dbe57a
.js
→
dist/static/js/app.
253db69fb5d2c9c4706d
.js
View file @
5bf58c39
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
(
"eMjc"
),
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
,
25
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
20
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
65
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
82
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
63
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
83
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
9
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
11
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
71
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
17
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
26
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
36
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
21
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
43
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
3
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
59
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
60
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
90
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
19
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
8
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
38
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
61
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
54
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
72
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
52
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
88
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
70
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
30
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
81
],
"./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"
,
56
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
98
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
67
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
74
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
80
],
"./enterpriseApp/dailyAttendance/dayStatistics.vue"
:[
"gncU"
,
0
,
39
],
"./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
,
40
],
"./enterpriseApp/dailyAttendance/workTimeManage.vue"
:[
"/n/x"
,
0
,
33
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
53
],
"./enterpriseApp/marketingMaterial/enjoyMaterial.vue"
:[
"SB6x"
,
0
,
28
],
"./enterpriseApp/marketingMaterial/imageText.vue"
:[
"0qiV"
,
0
,
24
],
"./enterpriseApp/marketingMaterial/index.vue"
:[
"m0O4"
,
0
,
46
],
"./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
,
97
],
"./enterpriseApp/myCustomer/chatRecord.vue"
:[
"gjw3"
,
0
,
58
],
"./enterpriseApp/myCustomer/index.vue"
:[
"/rje"
,
0
,
73
],
"./enterpriseApp/myCustomer/memeberBaseSet.vue"
:[
"N+Or"
,
0
,
84
],
"./enterpriseApp/myCustomer/newCard.vue"
:[
"G/J9"
,
0
,
93
],
"./enterpriseApp/myCustomer/onlineChatSet.vue"
:[
"ahzF"
,
0
,
27
],
"./enterpriseApp/myCustomer/sendRecord.vue"
:[
"8msp"
,
0
,
87
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
50
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
2
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
68
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
12
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
48
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
64
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
62
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
86
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
78
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
69
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
47
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
49
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
92
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
44
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
51
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
41
],
"./enterpriseApp/trafficTask/taskViewDetail.vue"
:[
"Akas"
,
0
,
76
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
66
],
"./errorPage/403.vue"
:[
"6XGN"
,
34
],
"./errorPage/404.vue"
:[
"AejC"
,
37
],
"./errorPage/500.vue"
:[
"FskK"
,
29
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
32
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
35
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
95
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
22
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
13
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
57
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
79
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
55
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
16
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
91
],
"./setting/index.vue"
:[
"VlR1"
,
45
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
94
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
75
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
31
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
23
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
96
]};
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
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
(
"eMjc"
),
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
,
26
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
20
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
65
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
82
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
63
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
83
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
9
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
11
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
71
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
17
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
27
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
36
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
21
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
43
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
3
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
59
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
60
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
90
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
19
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
8
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
38
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
61
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
54
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
72
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
52
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
88
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
70
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
30
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
81
],
"./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"
,
56
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
98
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
67
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
74
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
80
],
"./enterpriseApp/dailyAttendance/dayStatistics.vue"
:[
"gncU"
,
0
,
39
],
"./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
,
40
],
"./enterpriseApp/dailyAttendance/workTimeManage.vue"
:[
"/n/x"
,
0
,
33
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
53
],
"./enterpriseApp/marketingMaterial/enjoyMaterial.vue"
:[
"SB6x"
,
0
,
28
],
"./enterpriseApp/marketingMaterial/imageText.vue"
:[
"0qiV"
,
0
,
24
],
"./enterpriseApp/marketingMaterial/index.vue"
:[
"m0O4"
,
0
,
46
],
"./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
,
97
],
"./enterpriseApp/myCustomer/chatRecord.vue"
:[
"gjw3"
,
0
,
58
],
"./enterpriseApp/myCustomer/index.vue"
:[
"/rje"
,
0
,
73
],
"./enterpriseApp/myCustomer/memeberBaseSet.vue"
:[
"N+Or"
,
0
,
84
],
"./enterpriseApp/myCustomer/newCard.vue"
:[
"G/J9"
,
0
,
93
],
"./enterpriseApp/myCustomer/onlineChatSet.vue"
:[
"ahzF"
,
0
,
25
],
"./enterpriseApp/myCustomer/sendRecord.vue"
:[
"8msp"
,
0
,
87
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
50
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
2
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
68
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
12
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
48
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
64
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
62
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
86
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
78
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
69
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
47
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
49
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
92
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
44
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
51
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
41
],
"./enterpriseApp/trafficTask/taskViewDetail.vue"
:[
"Akas"
,
0
,
76
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
66
],
"./errorPage/403.vue"
:[
"6XGN"
,
34
],
"./errorPage/404.vue"
:[
"AejC"
,
37
],
"./errorPage/500.vue"
:[
"FskK"
,
29
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
32
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
35
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
95
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
22
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
13
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
57
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
79
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
55
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
16
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
91
],
"./setting/index.vue"
:[
"VlR1"
,
45
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
94
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
75
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
31
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
23
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
96
]};
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
dist/static/js/manifest.
05c513ca4289d51b756d
.js
→
dist/static/js/manifest.
53a39544fcf596986a28
.js
View file @
5bf58c39
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
103
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"d3231309bdc3b51a36c6"
,
1
:
"9a1776fdc262362d75b8"
,
2
:
"81c8c7304e36244c6092"
,
3
:
"9065e161307e64dc22ee"
,
4
:
"5e895cecc48096344ea0"
,
5
:
"da64db29ff888852a7f2"
,
6
:
"99da2b617e58f74f4fdc"
,
7
:
"be147bbd810605418608"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"a8c3efaaa2879b0eea1b"
,
10
:
"7af803b31c0cf1974276"
,
11
:
"541f0d1c4c95dc961fb6"
,
12
:
"2785300663bc631139be"
,
13
:
"41ef2e2fbc6f1b23bf3c"
,
14
:
"e586a200c0e033aa70f0"
,
15
:
"1b81e2ce51abacd7c1c5"
,
16
:
"4e012168d064f30db196"
,
17
:
"e32ef070ce1c0c8509a2"
,
18
:
"c3d40758a3bc0e84eb1d"
,
19
:
"7caf502c965d77a66567"
,
20
:
"fd89704723be31a8ece2"
,
21
:
"0915d3e8c275c9061dad"
,
22
:
"17f0c802e9a404478955"
,
23
:
"e4e349de98a0c180d0a7"
,
24
:
"5c969da31666000187db"
,
25
:
"b12ff0ab75bfcf55c6b0"
,
26
:
"25cec12308f82f080497"
,
27
:
"c3b51455b76a9b220611"
,
28
:
"1db6e9130b3ef17748b9"
,
29
:
"566abf8a70948d95944f"
,
30
:
"b1030bb7fc6c90861fdd"
,
31
:
"b259acee5aba0bb870fb"
,
32
:
"37547441704affef51f2"
,
33
:
"1b0d8d583295a91082fe"
,
34
:
"54f0daa9a702ae1e06b0"
,
35
:
"60158536cea017cadf23"
,
36
:
"87f9042f3cf676464daf"
,
37
:
"2154a5f421fec10032f9"
,
38
:
"dc3895fd357215f7d8f2"
,
39
:
"2af42db32a9fc4fb2fef"
,
40
:
"610bc6c5d746c5314e3f"
,
41
:
"c1de621e80227ec82e8b"
,
42
:
"69e5961cc0a4ac004100"
,
43
:
"a2a46a20ba4ec3d5b479"
,
44
:
"8028161424b6590b2c2f"
,
45
:
"356e8b5743065eef3206"
,
46
:
"5f13e04c538bda9c651c"
,
47
:
"92097f3d1ecc802b367e"
,
48
:
"060e87cd42b15e1c9e8f"
,
49
:
"9cd2277b6e6e9f1db136"
,
50
:
"beb02df0862aebe373eb"
,
51
:
"6152812fd5c0aac0e37d"
,
52
:
"f66cebfb0e0a5dbdc09d"
,
53
:
"d59b672f5b90ec4d0e4b"
,
54
:
"818f256747317488cb5d"
,
55
:
"d1da24ebcca36e940397"
,
56
:
"cbab0e245ae5de0e8b48"
,
57
:
"6dc89c13d540bf394f0b"
,
58
:
"a1030c11266fb635eacb"
,
59
:
"235bdb9fec19f3ac9f37"
,
60
:
"a757195d960b1de71dd4"
,
61
:
"961b95118b4a5362b97d"
,
62
:
"ee42df2d42c4774326b7"
,
63
:
"0fb13ed3d3c8c7b1f302"
,
64
:
"343d9a7110602d4129eb"
,
65
:
"503dac9dc6853efedee8"
,
66
:
"d5bd22d71321354c6d63"
,
67
:
"87953f37519f1ef07363"
,
68
:
"3e750e9730a7b78f5a84"
,
69
:
"39b6beff69d8d92f34f1"
,
70
:
"f2379073e3e2f16f3f1d"
,
71
:
"c31161658f3f378b6d48"
,
72
:
"3e8a42b8cd9c7f18e810"
,
73
:
"4ee9fbbd1be10dd048cf"
,
74
:
"dc15b9283d391d45e7ad"
,
75
:
"7918ddaa710a5a379030"
,
76
:
"9e80f5793e7001952e6f"
,
77
:
"8156748d3d1eee5bda96"
,
78
:
"5049355a2dd74b3e8b6a"
,
79
:
"092f59d66175c945e5c3"
,
80
:
"9b36ae82a210275e11e3"
,
81
:
"cbc49f9e9ba7700a9365"
,
82
:
"250a50b9634f311afd20"
,
83
:
"463f7137e2e84cd4a684"
,
84
:
"8a5df43e8edb0f9f6cd7"
,
85
:
"469afa7cf2d615ab924e"
,
86
:
"39c1e66fb3edc6661f8b"
,
87
:
"c76ac0d471168c2ece0e"
,
88
:
"978c3d391c7e724710fa"
,
89
:
"0f6fcd49d10882592d01"
,
90
:
"336be5b85c5a6e86a956"
,
91
:
"b4196df2f0e2c3b532f5"
,
92
:
"93e52ef88c9e659bc75c"
,
93
:
"905fc7f1d57db13a368d"
,
94
:
"bdab58af30c249f3ebe1"
,
95
:
"0e48c7d615c473a42eac"
,
96
:
"5a3ac848a02f87e0ee55"
,
97
:
"322ec9d8b4b138a5d9cf"
,
98
:
"f8b1f4d06ca0411a4f3d"
,
99
:
"58cc1884c4f80303999a"
,
102
:
"b3af60666332a03dfe19"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
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
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
a
(
a
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
d
=
{
103
:
0
};
function
a
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
d
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
d
.
exports
,
d
,
d
.
exports
,
a
),
d
.
l
=!
0
,
d
.
exports
}
a
.
e
=
function
(
e
){
var
c
=
d
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
a
){
c
=
d
[
e
]
=
[
f
,
a
]});
c
[
2
]
=
f
;
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
,
a
.
nc
&&
n
.
setAttribute
(
"nonce"
,
a
.
nc
),
n
.
src
=
a
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"d3231309bdc3b51a36c6"
,
1
:
"9a1776fdc262362d75b8"
,
2
:
"81c8c7304e36244c6092"
,
3
:
"9065e161307e64dc22ee"
,
4
:
"5e895cecc48096344ea0"
,
5
:
"da64db29ff888852a7f2"
,
6
:
"99da2b617e58f74f4fdc"
,
7
:
"be147bbd810605418608"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"a8c3efaaa2879b0eea1b"
,
10
:
"7af803b31c0cf1974276"
,
11
:
"541f0d1c4c95dc961fb6"
,
12
:
"2785300663bc631139be"
,
13
:
"41ef2e2fbc6f1b23bf3c"
,
14
:
"e586a200c0e033aa70f0"
,
15
:
"1b81e2ce51abacd7c1c5"
,
16
:
"4e012168d064f30db196"
,
17
:
"e32ef070ce1c0c8509a2"
,
18
:
"c3d40758a3bc0e84eb1d"
,
19
:
"7caf502c965d77a66567"
,
20
:
"fd89704723be31a8ece2"
,
21
:
"0915d3e8c275c9061dad"
,
22
:
"17f0c802e9a404478955"
,
23
:
"e4e349de98a0c180d0a7"
,
24
:
"5c969da31666000187db"
,
25
:
"73679f7bfeb541a67979"
,
26
:
"38395de8fad5a3d53636"
,
27
:
"d4057429dd4332ec83e8"
,
28
:
"1db6e9130b3ef17748b9"
,
29
:
"566abf8a70948d95944f"
,
30
:
"b1030bb7fc6c90861fdd"
,
31
:
"b259acee5aba0bb870fb"
,
32
:
"37547441704affef51f2"
,
33
:
"1b0d8d583295a91082fe"
,
34
:
"54f0daa9a702ae1e06b0"
,
35
:
"60158536cea017cadf23"
,
36
:
"87f9042f3cf676464daf"
,
37
:
"2154a5f421fec10032f9"
,
38
:
"dc3895fd357215f7d8f2"
,
39
:
"2af42db32a9fc4fb2fef"
,
40
:
"610bc6c5d746c5314e3f"
,
41
:
"c1de621e80227ec82e8b"
,
42
:
"69e5961cc0a4ac004100"
,
43
:
"a2a46a20ba4ec3d5b479"
,
44
:
"8028161424b6590b2c2f"
,
45
:
"356e8b5743065eef3206"
,
46
:
"5f13e04c538bda9c651c"
,
47
:
"92097f3d1ecc802b367e"
,
48
:
"060e87cd42b15e1c9e8f"
,
49
:
"9cd2277b6e6e9f1db136"
,
50
:
"beb02df0862aebe373eb"
,
51
:
"6152812fd5c0aac0e37d"
,
52
:
"f66cebfb0e0a5dbdc09d"
,
53
:
"d59b672f5b90ec4d0e4b"
,
54
:
"818f256747317488cb5d"
,
55
:
"d1da24ebcca36e940397"
,
56
:
"cbab0e245ae5de0e8b48"
,
57
:
"6dc89c13d540bf394f0b"
,
58
:
"a1030c11266fb635eacb"
,
59
:
"235bdb9fec19f3ac9f37"
,
60
:
"a757195d960b1de71dd4"
,
61
:
"961b95118b4a5362b97d"
,
62
:
"ee42df2d42c4774326b7"
,
63
:
"0fb13ed3d3c8c7b1f302"
,
64
:
"343d9a7110602d4129eb"
,
65
:
"503dac9dc6853efedee8"
,
66
:
"d5bd22d71321354c6d63"
,
67
:
"87953f37519f1ef07363"
,
68
:
"3e750e9730a7b78f5a84"
,
69
:
"39b6beff69d8d92f34f1"
,
70
:
"f2379073e3e2f16f3f1d"
,
71
:
"c31161658f3f378b6d48"
,
72
:
"3e8a42b8cd9c7f18e810"
,
73
:
"4ee9fbbd1be10dd048cf"
,
74
:
"dc15b9283d391d45e7ad"
,
75
:
"7918ddaa710a5a379030"
,
76
:
"9e80f5793e7001952e6f"
,
77
:
"8156748d3d1eee5bda96"
,
78
:
"5049355a2dd74b3e8b6a"
,
79
:
"092f59d66175c945e5c3"
,
80
:
"9b36ae82a210275e11e3"
,
81
:
"cbc49f9e9ba7700a9365"
,
82
:
"250a50b9634f311afd20"
,
83
:
"463f7137e2e84cd4a684"
,
84
:
"8a5df43e8edb0f9f6cd7"
,
85
:
"469afa7cf2d615ab924e"
,
86
:
"39c1e66fb3edc6661f8b"
,
87
:
"c76ac0d471168c2ece0e"
,
88
:
"978c3d391c7e724710fa"
,
89
:
"0f6fcd49d10882592d01"
,
90
:
"336be5b85c5a6e86a956"
,
91
:
"b4196df2f0e2c3b532f5"
,
92
:
"93e52ef88c9e659bc75c"
,
93
:
"905fc7f1d57db13a368d"
,
94
:
"bdab58af30c249f3ebe1"
,
95
:
"0e48c7d615c473a42eac"
,
96
:
"5a3ac848a02f87e0ee55"
,
97
:
"322ec9d8b4b138a5d9cf"
,
98
:
"f8b1f4d06ca0411a4f3d"
,
99
:
"58cc1884c4f80303999a"
,
102
:
"b3af60666332a03dfe19"
}[
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
),
f
},
a
.
m
=
e
,
a
.
c
=
f
,
a
.
d
=
function
(
e
,
c
,
f
){
a
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
a
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
a
.
d
(
c
,
"a"
,
c
),
c
},
a
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
a
.
p
=
"./"
,
a
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/views/enterpriseApp/myCustomer/onlineChatSet.vue
View file @
5bf58c39
...
...
@@ -156,7 +156,7 @@ components: {
</
template
>
</el-table-column>
<el-table-column
width=
"150"
>
<
template
slot=
"header"
slot-scope=
"scope"
>
<
template
slot=
"header"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"导购发送图文的总人数统计,次日刷新"
placement=
"right"
>
<span
style=
"cursor: pointer;"
>
导购发送图文人数
<i
class=
"el-icon-info font-12 color-606266"
></i></span>
</el-tooltip>
...
...
@@ -632,6 +632,7 @@ export default {
* 获取卡券列表
*/
getCardList
(
brandId
)
{
console
.
log
(
brandId
);
const
that
=
this
;
let
para
=
{
brandId
:
brandId
,
...
...
@@ -717,34 +718,14 @@ export default {
* 获取卡券开关
*/
getCardSet
(
brandId
)
{
const
that
=
this
;
let
para
=
{
brandId
:
brandId
};
postRequest
(
'/haoban-app-member-web/customer/find-card-coup-setting'
,
para
)
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
resData
.
result
.
cardCoupChatSwitch
=
resData
.
result
.
cardCoupChatSwitch
==
1
?
true
:
false
;
// 总的
that
.
cardCoupChatSwitch
=
resData
.
result
.
cardCoupChatSwitch
;
if
(
that
.
activeTab
==
'51'
&&
that
.
cardCoupChatSwitch
)
{
that
.
pageSize
=
4
;
that
.
getCardList
(
that
.
brandId
);
}
if
(
that
.
activeTab
==
'52'
)
{
that
.
pageSize
=
6
;
that
.
getCardRecord
(
that
.
brandId
);
}
return
;
}
errMsg
.
errorMsg
(
resData
);
})
.
catch
(
function
(
error
)
{
that
.
$message
.
error
({
duration
:
1000
,
message
:
error
.
message
});
});
if
(
this
.
activeTab
==
'51'
)
{
this
.
pageSize
=
4
;
this
.
getCardList
(
brandId
);
}
if
(
this
.
activeTab
==
'52'
)
{
this
.
pageSize
=
6
;
this
.
getCardRecord
(
brandId
);
}
},
/**
* 获取在线沟通设置数据
...
...
@@ -810,13 +791,13 @@ export default {
mounted
()
{
const
that
=
this
;
that
.
$emit
(
'showTab'
,
'2'
);
if
(
that
.
$route
.
query
.
activeTab
!=
''
)
{
that
.
activeTab
=
that
.
$route
.
query
.
activeTab
||
'1'
;
}
if
(
that
.
brandId
!=
''
)
{
that
.
getChatSet
(
that
.
brandId
);
that
.
getCardSet
(
that
.
brandId
);
}
if
(
that
.
$route
.
query
.
activeTab
!=
''
)
{
that
.
activeTab
=
that
.
$route
.
query
.
activeTab
||
'1'
;
}
}
};
</
script
>
...
...
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