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
85ebbf15
Commit
85ebbf15
authored
Nov 05, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改文案
parent
7dda89b4
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
13 deletions
+17
-13
index.html
dist/index.html
+2
-2
app.e04f182fe40b9d90d4454a24891e66bf.css
dist/static/css/app.e04f182fe40b9d90d4454a24891e66bf.css
+0
-0
21.1addc4c6b1585f615c21.js
dist/static/js/21.1addc4c6b1585f615c21.js
+2
-0
22.5e749666577d7e933300.js
dist/static/js/22.5e749666577d7e933300.js
+2
-2
22.e579f36f4e4badbf82de.js
dist/static/js/22.e579f36f4e4badbf82de.js
+0
-2
app.7ff1893a2cab848c7fc7.js
dist/static/js/app.7ff1893a2cab848c7fc7.js
+2
-2
manifest.b049cbcc8963cfb74c00.js
dist/static/js/manifest.b049cbcc8963cfb74c00.js
+2
-2
card-record-table.vue
src/components/app/card-record-table.vue
+2
-2
onlineChatSet.vue
src/views/enterpriseApp/myCustomer/onlineChatSet.vue
+5
-1
No files found.
dist/index.html
View file @
85ebbf15
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.9f2f894014f0567d7e3e200001e32e12.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.087892223c108300893f.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e35696ab5cda4872076c.js
></script><script
type=
text/javascript
src=
./static/js/app.189c33961c93dae9f9db.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.e04f182fe40b9d90d4454a24891e66bf.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.b049cbcc8963cfb74c00.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e35696ab5cda4872076c.js
></script><script
type=
text/javascript
src=
./static/js/app.7ff1893a2cab848c7fc7.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
9f2f894014f0567d7e3e200001e32e12
.css
→
dist/static/css/app.
e04f182fe40b9d90d4454a24891e66bf
.css
View file @
85ebbf15
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/21.1addc4c6b1585f615c21.js
0 → 100644
View file @
85ebbf15
webpackJsonp
([
21
],{
"33SU"
:
function
(
t
,
e
){},
"6ytN"
:
function
(
t
,
e
){},
UiNz
:
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"
},[
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
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"1"
)}}},[
t
.
_v
(
"发送记录"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"2"
)}}},[
t
.
_v
(
"领取记录"
)])]}}])})],
1
)],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
o
,
!
1
,
function
(
t
){
a
(
"6ytN"
)},
"data-v-7ca33af7"
,
null
).
exports
,
r
=
{
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
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
r
,
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
:
i
,
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
};
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
=
7
,
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"
}})],
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
){
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
){
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"
:
""
},
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
){
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
){
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
){
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 "
)])])]}}])}),
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
||
"--"
))]}}])}),
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 "
)]}}])}),
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
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"4"
)}}},[
t
.
_v
(
"发送记录"
)])]}}])})],
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
){
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
){
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
))])])])]}}])}),
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
))]}}])}),
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
||
"--"
))]}}])}),
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
))]}}])}),
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
)))])]}}])}),
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 "
)]}}])}),
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
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"1"
)}}},[
t
.
_v
(
"发送记录"
)])]}}])})],
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
:
"商品信息"
},
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
))])])])]}}])}),
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
))]}}])}),
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
))]}}])}),
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
)))])]}}])}),
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 "
)]}}])}),
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
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"2"
)}}},[
t
.
_v
(
"发送记录"
)])]}}])})],
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"
},[
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
){
t
.
postSaveCard
(
t
.
brandId
)}},
model
:{
value
:
t
.
cardCoupChatSwitch
,
callback
:
function
(
e
){
t
.
cardCoupChatSwitch
=
e
},
expression
:
"cardCoupChatSwitch"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"开启后,导购与会员聊天可发送GIC卡券"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-top-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新建卡券"
)])],
1
)]),
t
.
_v
(
" "
),
t
.
cardCoupChatSwitch
?
a
(
"card-list-table"
,{
attrs
:{
activeTab
:
t
.
activeTab
,
tableData
:
t
.
cardListData
},
on
:{
delCard
:
t
.
delCard
}}):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
cardListData
.
length
&&
t
.
cardCoupChatSwitch
?
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
(
"配置说明:导购可主动发起聊天,发送形式为模板消息,请配置模板消息内容。频繁使用模板消息,可能导致微信封闭模板消息及会员取关率增加,请谨慎使用。"
)])])])},
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 m-b-20"
,
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
(
"UiNz"
)},
"data-v-61079d33"
,
null
);
e
.
default
=
g
.
exports
}});
\ No newline at end of file
dist/static/js/2
1.c50987389f9771604c9c
.js
→
dist/static/js/2
2.5e749666577d7e933300
.js
View file @
85ebbf15
webpackJsonp
([
21
],{
"738z"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
s
=
i
(
"elmV"
),
n
=
i
(
"P9l9"
),
l
=
i
(
"O3H5"
),
o
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
a
.
a
,
uploadExcelComponent
:
s
.
a
,
exportSet
:
l
.
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
){
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
){
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"
)(
o
,
r
,
!
1
,
function
(
t
){
i
(
"zcLw"
)},
null
,
null
);
e
.
default
=
c
.
exports
},
O3H5
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"mvHQ"
),
s
=
i
.
n
(
a
),
n
=
i
(
"P9l9"
),
l
=
i
(
"DAYN"
),
o
=
{
name
:
"export-set"
,
components
:{
draggable
:
i
.
n
(
l
).
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
){
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
){
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"
)(
o
,
r
,
!
1
,
function
(
t
){
i
(
"fI5Z"
)},
null
,
null
);
e
.
a
=
c
.
exports
},
fI5Z
:
function
(
t
,
e
){},
zcLw
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
22
],{
"738z"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"3Xzz"
),
s
=
i
(
"elmV"
),
n
=
i
(
"P9l9"
),
l
=
i
(
"O3H5"
),
o
=
{
name
:
"employee-io"
,
components
:{
navCrumb
:
a
.
a
,
uploadExcelComponent
:
s
.
a
,
exportSet
:
l
.
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
){
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
){
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"
)(
o
,
r
,
!
1
,
function
(
t
){
i
(
"zcLw"
)},
null
,
null
);
e
.
default
=
c
.
exports
},
O3H5
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"mvHQ"
),
s
=
i
.
n
(
a
),
n
=
i
(
"P9l9"
),
l
=
i
(
"DAYN"
),
o
=
{
name
:
"export-set"
,
components
:{
draggable
:
i
.
n
(
l
).
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
){
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
){
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"
)(
o
,
r
,
!
1
,
function
(
t
){
i
(
"fI5Z"
)},
null
,
null
);
e
.
a
=
c
.
exports
},
fI5Z
:
function
(
t
,
e
){},
zcLw
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/22.e579f36f4e4badbf82de.js
deleted
100644 → 0
View file @
7dda89b4
webpackJsonp
([
22
],{
"33SU"
:
function
(
t
,
e
){},
Z6qm
:
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"
},[
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
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"1"
)}}},[
t
.
_v
(
"发送记录"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"2"
)}}},[
t
.
_v
(
"领取记录"
)])]}}])})],
1
)],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
o
,
!
1
,
function
(
t
){
a
(
"mQIt"
)},
"data-v-46363f6c"
,
null
).
exports
,
r
=
{
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
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
r
,
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
:
i
,
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
};
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
=
7
,
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"
}})],
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
){
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
){
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"
:
""
},
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
){
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
){
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
){
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 "
)])])]}}])}),
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
||
"--"
))]}}])}),
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 "
)]}}])}),
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
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"4"
)}}},[
t
.
_v
(
"发送记录"
)])]}}])})],
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
){
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
){
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
))])])])]}}])}),
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
))]}}])}),
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
||
"--"
))]}}])}),
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
))]}}])}),
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
)))])]}}])}),
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 "
)]}}])}),
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
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"1"
)}}},[
t
.
_v
(
"发送记录"
)])]}}])})],
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
:
"商品信息"
},
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
))])])])]}}])}),
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
))]}}])}),
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
))]}}])}),
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
)))])]}}])}),
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 "
)]}}])}),
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
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"2"
)}}},[
t
.
_v
(
"发送记录"
)])]}}])})],
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"
},[
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
){
t
.
postSaveCard
(
t
.
brandId
)}},
model
:{
value
:
t
.
cardCoupChatSwitch
,
callback
:
function
(
e
){
t
.
cardCoupChatSwitch
=
e
},
expression
:
"cardCoupChatSwitch"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"开启后,导购与会员聊天可发送GIC卡券"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-top-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新建卡券"
)])],
1
)]),
t
.
_v
(
" "
),
t
.
cardCoupChatSwitch
?
a
(
"card-list-table"
,{
attrs
:{
activeTab
:
t
.
activeTab
,
tableData
:
t
.
cardListData
},
on
:{
delCard
:
t
.
delCard
}}):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
cardListData
.
length
&&
t
.
cardCoupChatSwitch
?
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"
},[
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
(
"配置说明:导购可主动发起聊天,发送形式为模板消息,请配置模板消息内容。频繁使用模板消息,可能导致微信封闭模板消息及会员取关率增加,请谨慎使用。"
)])])])},
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中卡券营销适用好办的卡券,配置后,导购可以选择对应的卡券发送给会员"
)])])])}]};
var
g
=
a
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
t
){
a
(
"Z6qm"
)},
"data-v-4daf5d6e"
,
null
);
e
.
default
=
g
.
exports
},
mQIt
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/app.
189c33961c93dae9f9db
.js
→
dist/static/js/app.
7ff1893a2cab848c7fc7
.js
View file @
85ebbf15
webpackJsonp
([
90
],{
"/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"
),
o
=
n
.
n
(
a
),
r
=
n
(
"fZjL"
),
p
=
n
.
n
(
r
),
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
,
u
=
n
(
"lRwf"
),
d
=
n
.
n
(
u
),
l
=
n
(
"pRNm"
),
h
=
n
.
n
(
l
),
v
=
n
(
"5tgt"
),
g
=
n
.
n
(
v
);
d
.
a
.
use
(
h
.
a
);
var
f
=
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
A
,
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
:
"/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
:
"/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
:
f
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
f
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
f
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
D
=
new
h
.
a
({
routes
:
y
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
k
=
n
(
"zL8q"
),
R
=
n
.
n
(
k
),
w
=
n
(
"Rf8U"
),
x
=
n
.
n
(
w
),
C
=
n
(
"mtWM"
),
S
=
n
.
n
(
C
),
b
=
n
(
"bOdI"
),
T
=
n
.
n
(
b
),
E
=
n
(
"SJI6"
),
I
=
n
.
n
(
E
);
d
.
a
.
use
(
I
.
a
);
var
M
=
new
I
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
A
=
{},
T
()(
A
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
T
()(
A
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
T
()(
A
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
T
()(
A
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
A
)}),
V
=
(
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
o
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
n
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
a
)
new
RegExp
(
"("
+
o
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
a
[
o
]:(
"00"
+
a
[
o
]).
substr
((
""
+
a
[
o
]).
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
(),
o
=
n
<
10
?
"0"
+
n
:
n
,
r
=
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
()
+
"-"
+
o
+
"-"
+
a
+
" "
+
r
+
":"
+
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
(),
o
=
n
<
10
?
"0"
+
n
:
n
;
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
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
(),
o
=
n
<
10
?
"0"
+
n
:
n
,
r
=
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
()
+
"."
+
o
+
"."
+
a
+
" "
+
r
+
":"
+
p
+
":"
+
i
}}}),
q
=
n
(
"TUaa"
),
H
=
n
.
n
(
q
),
P
=
n
(
"tyqE"
),
j
=
n
.
n
(
P
),
F
=
n
(
"pRVe"
),
L
=
n
.
n
(
F
),
G
=
n
(
"SE7k"
),
N
=
n
.
n
(
G
),
O
=
n
(
"XsK6"
),
Y
=
n
.
n
(
O
),
z
=
n
(
"QRL9"
),
J
=
n
.
n
(
z
),
K
=
n
(
"2Pnh"
),
U
=
n
.
n
(
K
),
B
=
n
(
"l9mu"
),
X
=
n
.
n
(
B
),
Z
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
U
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
o
=
n
/
592.28
*
841.89
,
r
=
a
,
p
=
0
,
i
=
592.28
/
n
*
a
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
X
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
r
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
p
,
595.28
,
i
),
p
-=
841.89
,(
r
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}};
s
.
a
.
polyfill
(),
Vue
.
use
(
Z
),
Vue
.
use
(
Y
.
a
),
Vue
.
use
(
J
.
a
),
Vue
.
use
(
N
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
H
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
R
.
a
,{
size
:
"large"
}),
Vue
.
use
(
x
.
a
,
S
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
p
()(
V
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
V
[
e
])}),
D
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
r
=
window
.
location
.
origin
;
a
=-
1
!=
r
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
r
,
localStorage
.
getItem
(
"userInfo"
)
||
S
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
o
()(
t
.
result
))}).
catch
(
function
(
e
){
k
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
D
,
store
:
M
,
components
:{
App
:
m
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
19
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
18
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
53
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
66
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
52
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
73
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
9
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
11
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
59
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
15
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
21
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
30
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
17
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
35
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
3
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
80
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
50
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
78
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
16
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
8
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
32
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
51
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
44
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
72
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
42
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
76
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
57
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
33
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
88
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
34
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
74
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
45
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
86
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
54
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
63
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
71
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
43
],
"./enterpriseApp/myCustomer/cardGetRecord.vue"
:[
"YqmZ"
,
0
,
47
],
"./enterpriseApp/myCustomer/cardSendRecord.vue"
:[
"+Q5U"
,
0
,
36
],
"./enterpriseApp/myCustomer/chatRecord.vue"
:[
"gjw3"
,
0
,
48
],
"./enterpriseApp/myCustomer/index.vue"
:[
"/rje"
,
0
,
87
],
"./enterpriseApp/myCustomer/memeberBaseSet.vue"
:[
"N+Or"
,
0
,
85
],
"./enterpriseApp/myCustomer/newCard.vue"
:[
"G/J9"
,
0
,
62
],
"./enterpriseApp/myCustomer/onlineChatSet.vue"
:[
"ahzF"
,
0
,
22
],
"./enterpriseApp/myCustomer/sendRecord.vue"
:[
"8msp"
,
0
,
49
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
40
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
2
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
58
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
13
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
39
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
77
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
69
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
75
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
68
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
55
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
38
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
61
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
56
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
60
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
41
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
28
],
"./enterpriseApp/trafficTask/taskViewDetail.vue"
:[
"Akas"
,
0
,
65
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
84
],
"./errorPage/403.vue"
:[
"6XGN"
,
27
],
"./errorPage/404.vue"
:[
"AejC"
,
31
],
"./errorPage/500.vue"
:[
"FskK"
,
24
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
25
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
29
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
81
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
20
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
12
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
46
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
70
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
67
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
14
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
64
],
"./setting/index.vue"
:[
"VlR1"
,
37
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
79
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
82
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
26
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
23
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
83
]};
function
o
(
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
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
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
([
90
],{
"/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"
),
o
=
n
.
n
(
a
),
r
=
n
(
"fZjL"
),
p
=
n
.
n
(
r
),
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
,
u
=
n
(
"lRwf"
),
d
=
n
.
n
(
u
),
l
=
n
(
"pRNm"
),
h
=
n
.
n
(
l
),
v
=
n
(
"5tgt"
),
g
=
n
.
n
(
v
);
d
.
a
.
use
(
h
.
a
);
var
f
=
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
A
,
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
:
"/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
:
"/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
:
f
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
f
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
f
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
D
=
new
h
.
a
({
routes
:
y
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
k
=
n
(
"zL8q"
),
R
=
n
.
n
(
k
),
w
=
n
(
"Rf8U"
),
x
=
n
.
n
(
w
),
C
=
n
(
"mtWM"
),
S
=
n
.
n
(
C
),
b
=
n
(
"bOdI"
),
T
=
n
.
n
(
b
),
E
=
n
(
"SJI6"
),
I
=
n
.
n
(
E
);
d
.
a
.
use
(
I
.
a
);
var
M
=
new
I
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
A
=
{},
T
()(
A
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
T
()(
A
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
T
()(
A
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
T
()(
A
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
A
)}),
V
=
(
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
o
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
n
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
a
)
new
RegExp
(
"("
+
o
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
a
[
o
]:(
"00"
+
a
[
o
]).
substr
((
""
+
a
[
o
]).
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
(),
o
=
n
<
10
?
"0"
+
n
:
n
,
r
=
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
()
+
"-"
+
o
+
"-"
+
a
+
" "
+
r
+
":"
+
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
(),
o
=
n
<
10
?
"0"
+
n
:
n
;
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
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
(),
o
=
n
<
10
?
"0"
+
n
:
n
,
r
=
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
()
+
"."
+
o
+
"."
+
a
+
" "
+
r
+
":"
+
p
+
":"
+
i
}}}),
q
=
n
(
"TUaa"
),
H
=
n
.
n
(
q
),
P
=
n
(
"tyqE"
),
j
=
n
.
n
(
P
),
F
=
n
(
"pRVe"
),
L
=
n
.
n
(
F
),
G
=
n
(
"SE7k"
),
N
=
n
.
n
(
G
),
O
=
n
(
"XsK6"
),
Y
=
n
.
n
(
O
),
z
=
n
(
"QRL9"
),
J
=
n
.
n
(
z
),
K
=
n
(
"2Pnh"
),
U
=
n
.
n
(
K
),
B
=
n
(
"l9mu"
),
X
=
n
.
n
(
B
),
Z
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
U
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
o
=
n
/
592.28
*
841.89
,
r
=
a
,
p
=
0
,
i
=
592.28
/
n
*
a
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
X
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
r
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
p
,
595.28
,
i
),
p
-=
841.89
,(
r
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}};
s
.
a
.
polyfill
(),
Vue
.
use
(
Z
),
Vue
.
use
(
Y
.
a
),
Vue
.
use
(
J
.
a
),
Vue
.
use
(
N
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
H
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
R
.
a
,{
size
:
"large"
}),
Vue
.
use
(
x
.
a
,
S
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
p
()(
V
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
V
[
e
])}),
D
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
r
=
window
.
location
.
origin
;
a
=-
1
!=
r
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
r
,
localStorage
.
getItem
(
"userInfo"
)
||
S
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
o
()(
t
.
result
))}).
catch
(
function
(
e
){
k
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
D
,
store
:
M
,
components
:{
App
:
m
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
19
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
18
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
53
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
66
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
52
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
73
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
9
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
11
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
59
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
15
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
22
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
30
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
17
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
35
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
3
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
80
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
50
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
78
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
16
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
8
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
32
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
51
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
44
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
72
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
42
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
76
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
57
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
33
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
88
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
34
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
74
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
45
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
86
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
54
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
63
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
71
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
43
],
"./enterpriseApp/myCustomer/cardGetRecord.vue"
:[
"YqmZ"
,
0
,
47
],
"./enterpriseApp/myCustomer/cardSendRecord.vue"
:[
"+Q5U"
,
0
,
36
],
"./enterpriseApp/myCustomer/chatRecord.vue"
:[
"gjw3"
,
0
,
48
],
"./enterpriseApp/myCustomer/index.vue"
:[
"/rje"
,
0
,
87
],
"./enterpriseApp/myCustomer/memeberBaseSet.vue"
:[
"N+Or"
,
0
,
85
],
"./enterpriseApp/myCustomer/newCard.vue"
:[
"G/J9"
,
0
,
62
],
"./enterpriseApp/myCustomer/onlineChatSet.vue"
:[
"ahzF"
,
0
,
21
],
"./enterpriseApp/myCustomer/sendRecord.vue"
:[
"8msp"
,
0
,
49
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
40
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
2
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
58
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
13
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
39
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
77
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
69
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
75
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
68
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
55
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
38
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
61
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
56
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
60
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
41
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
28
],
"./enterpriseApp/trafficTask/taskViewDetail.vue"
:[
"Akas"
,
0
,
65
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
84
],
"./errorPage/403.vue"
:[
"6XGN"
,
27
],
"./errorPage/404.vue"
:[
"AejC"
,
31
],
"./errorPage/500.vue"
:[
"FskK"
,
24
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
25
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
29
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
81
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
20
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
12
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
46
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
70
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
67
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
14
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
64
],
"./setting/index.vue"
:[
"VlR1"
,
37
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
79
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
82
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
26
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
23
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
83
]};
function
o
(
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
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
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.
087892223c108300893f
.js
→
dist/static/js/manifest.
b049cbcc8963cfb74c00
.js
View file @
85ebbf15
!
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
=
{
92
:
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
:
"e94080548335c4f0aa58"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"60821ce8b00c763c4461"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"9b5a128dd16163835a3d"
,
6
:
"124ad8222f7b043b44ae"
,
7
:
"ebad93a8c5bffffd9e98"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"e3f419b9972001e235d3"
,
13
:
"5713f4c0ef03a3077e57"
,
14
:
"906484db655680062129"
,
15
:
"dc1ca8ebc6cc47b86e2d"
,
16
:
"2ee1cd09e02cae2867cf"
,
17
:
"78c6d10043e3245cbd2a"
,
18
:
"392fbc7b206e00262f59"
,
19
:
"d857e84723b588b3f07f"
,
20
:
"2c088b315d9e6d3e38df"
,
21
:
"c50987389f9771604c9c"
,
22
:
"e579f36f4e4badbf82de"
,
23
:
"dde9c014ecc74fe08363"
,
24
:
"9d547e5255fc6330d24b"
,
25
:
"d88ef1299d37c1600478"
,
26
:
"8c7f557c97be9d9c8aca"
,
27
:
"2ea724b0442e927bfdf5"
,
28
:
"fec906a69641d385c1de"
,
29
:
"08f743a4cbfcc2c25c59"
,
30
:
"e5670f38e863b827565e"
,
31
:
"0152758bf0eba4ffa971"
,
32
:
"641f0c04a7b39b5e8ea8"
,
33
:
"d553c3facd269fce3e2c"
,
34
:
"f5e5b8fb5643f7cf75f1"
,
35
:
"1bf73a7b6aaceaaf56ae"
,
36
:
"461aa7ac2fdaabef1513"
,
37
:
"032b04ab3168d233c759"
,
38
:
"f269dae801787747180c"
,
39
:
"f20dd6d71ebc39700f39"
,
40
:
"3548050450854d3f79b7"
,
41
:
"d1a01c481b63fe169fc8"
,
42
:
"eec975c417c042a14578"
,
43
:
"e386ed64995ca06996f1"
,
44
:
"ebf089cd236f952c4ed5"
,
45
:
"67c57cfc14847ad350df"
,
46
:
"7fe51c0f71cfaec33913"
,
47
:
"2019613ae7d6dd5aa6ab"
,
48
:
"a9abeb15dfc569748f96"
,
49
:
"525c5a32c3bf50d9efcc"
,
50
:
"acd8133bd4672018af1e"
,
51
:
"c5e6ff308f1bdbc0d7cf"
,
52
:
"c9542475facf98a6d3ee"
,
53
:
"575dccdda4d6e37f572e"
,
54
:
"df045f0704c6009246c1"
,
55
:
"6a302cc97abcfb085255"
,
56
:
"4a2688d34aafbd7c070f"
,
57
:
"ebb8cc8b79bdb1e14597"
,
58
:
"dd7c58e112fd83e6d3c4"
,
59
:
"11f5b55c7ffbf207cdc4"
,
60
:
"8123fd1bbd15221813d4"
,
61
:
"ec8f2dd38d665784752e"
,
62
:
"38bb5f56afa8e07c1d8d"
,
63
:
"ba0e409d551f280b8347"
,
64
:
"6b10e9463ae74778cab4"
,
65
:
"8d5e39df7c9345d6be58"
,
66
:
"500d7ba9236911922af0"
,
67
:
"03a8018da3d291ae60ce"
,
68
:
"be228ce7e1705d45d921"
,
69
:
"7c0d219f199de7a5aa08"
,
70
:
"40949db65dde54d20563"
,
71
:
"88c61f6808601aa94619"
,
72
:
"fc9124a2742130a58dd5"
,
73
:
"90c8570de7549c40e059"
,
74
:
"e6cb1e6e66639bb9eae0"
,
75
:
"e33b8312c981514cb576"
,
76
:
"e3cec5eb0431fdeddffa"
,
77
:
"c25d16b0dcb401aa70bc"
,
78
:
"7ee76de2eb3e00cfaef1"
,
79
:
"db5145445f1e97722ca3"
,
80
:
"53e6709c04d94f11699e"
,
81
:
"d30b633c9fcb690faed2"
,
82
:
"5a684c0aa68c988fc098"
,
83
:
"44a4cfdfd506f65b0666"
,
84
:
"8aaf13cca81cb846ed63"
,
85
:
"a2845d81e19a14f93007"
,
86
:
"54bf8e5fed1609b6c8f6"
,
87
:
"b6a4c727ed842731cf0c"
,
88
:
"f4ded805ebc0b00c8473"
,
91
:
"03a692f818037323e1b6"
}[
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
!
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
=
{
92
:
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
:
"e94080548335c4f0aa58"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"60821ce8b00c763c4461"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"9b5a128dd16163835a3d"
,
6
:
"124ad8222f7b043b44ae"
,
7
:
"ebad93a8c5bffffd9e98"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"e3f419b9972001e235d3"
,
13
:
"5713f4c0ef03a3077e57"
,
14
:
"906484db655680062129"
,
15
:
"dc1ca8ebc6cc47b86e2d"
,
16
:
"2ee1cd09e02cae2867cf"
,
17
:
"78c6d10043e3245cbd2a"
,
18
:
"392fbc7b206e00262f59"
,
19
:
"d857e84723b588b3f07f"
,
20
:
"2c088b315d9e6d3e38df"
,
21
:
"1addc4c6b1585f615c21"
,
22
:
"5e749666577d7e933300"
,
23
:
"dde9c014ecc74fe08363"
,
24
:
"9d547e5255fc6330d24b"
,
25
:
"d88ef1299d37c1600478"
,
26
:
"8c7f557c97be9d9c8aca"
,
27
:
"2ea724b0442e927bfdf5"
,
28
:
"fec906a69641d385c1de"
,
29
:
"08f743a4cbfcc2c25c59"
,
30
:
"e5670f38e863b827565e"
,
31
:
"0152758bf0eba4ffa971"
,
32
:
"641f0c04a7b39b5e8ea8"
,
33
:
"d553c3facd269fce3e2c"
,
34
:
"f5e5b8fb5643f7cf75f1"
,
35
:
"1bf73a7b6aaceaaf56ae"
,
36
:
"461aa7ac2fdaabef1513"
,
37
:
"032b04ab3168d233c759"
,
38
:
"f269dae801787747180c"
,
39
:
"f20dd6d71ebc39700f39"
,
40
:
"3548050450854d3f79b7"
,
41
:
"d1a01c481b63fe169fc8"
,
42
:
"eec975c417c042a14578"
,
43
:
"e386ed64995ca06996f1"
,
44
:
"ebf089cd236f952c4ed5"
,
45
:
"67c57cfc14847ad350df"
,
46
:
"7fe51c0f71cfaec33913"
,
47
:
"2019613ae7d6dd5aa6ab"
,
48
:
"a9abeb15dfc569748f96"
,
49
:
"525c5a32c3bf50d9efcc"
,
50
:
"acd8133bd4672018af1e"
,
51
:
"c5e6ff308f1bdbc0d7cf"
,
52
:
"c9542475facf98a6d3ee"
,
53
:
"575dccdda4d6e37f572e"
,
54
:
"df045f0704c6009246c1"
,
55
:
"6a302cc97abcfb085255"
,
56
:
"4a2688d34aafbd7c070f"
,
57
:
"ebb8cc8b79bdb1e14597"
,
58
:
"dd7c58e112fd83e6d3c4"
,
59
:
"11f5b55c7ffbf207cdc4"
,
60
:
"8123fd1bbd15221813d4"
,
61
:
"ec8f2dd38d665784752e"
,
62
:
"38bb5f56afa8e07c1d8d"
,
63
:
"ba0e409d551f280b8347"
,
64
:
"6b10e9463ae74778cab4"
,
65
:
"8d5e39df7c9345d6be58"
,
66
:
"500d7ba9236911922af0"
,
67
:
"03a8018da3d291ae60ce"
,
68
:
"be228ce7e1705d45d921"
,
69
:
"7c0d219f199de7a5aa08"
,
70
:
"40949db65dde54d20563"
,
71
:
"88c61f6808601aa94619"
,
72
:
"fc9124a2742130a58dd5"
,
73
:
"90c8570de7549c40e059"
,
74
:
"e6cb1e6e66639bb9eae0"
,
75
:
"e33b8312c981514cb576"
,
76
:
"e3cec5eb0431fdeddffa"
,
77
:
"c25d16b0dcb401aa70bc"
,
78
:
"7ee76de2eb3e00cfaef1"
,
79
:
"db5145445f1e97722ca3"
,
80
:
"53e6709c04d94f11699e"
,
81
:
"d30b633c9fcb690faed2"
,
82
:
"5a684c0aa68c988fc098"
,
83
:
"44a4cfdfd506f65b0666"
,
84
:
"8aaf13cca81cb846ed63"
,
85
:
"a2845d81e19a14f93007"
,
86
:
"54bf8e5fed1609b6c8f6"
,
87
:
"b6a4c727ed842731cf0c"
,
88
:
"f4ded805ebc0b00c8473"
,
91
:
"03a692f818037323e1b6"
}[
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/components/app/card-record-table.vue
View file @
85ebbf15
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-10-25 14:05:56
* @LastEditors: 无尘
* @LastEditTime: 2019-11-0
4 14:47:27
* @LastEditTime: 2019-11-0
5 10:39:08
-->
<!--
<card-record-table :activeTab="activeTab" :tableData="tableData"></card-record-table>
...
...
@@ -21,7 +21,7 @@
</el-table-column>
<el-table-column
prop=
""
label=
""
width=
"96"
>
<
template
slot=
"header"
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"
导购发送卡券数量,不
包含扫码发券数"
placement=
"right"
>
<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>
</
template
>
...
...
src/views/enterpriseApp/myCustomer/onlineChatSet.vue
View file @
85ebbf15
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-09-18 15:24:50
* @LastEditors: 无尘
* @LastEditTime: 2019-11-0
4 14:28:13
* @LastEditTime: 2019-11-0
5 10:38:46
-->
<!--
...
...
@@ -234,6 +234,10 @@ components: {
</div>
</div>
<div
v-if=
"activeTab == 52"
class=
"online-chat-card_record"
>
<div
role=
"alert"
class=
"el-alert el-alert--info m-b-20"
>
<i
class=
"el-alert__icon el-icon-info font-12 color-1890ff"
style=
"align-self: flex-start;"
></i>
<div
class=
"el-alert__content"
><span
class=
"el-alert__title color-606266 font-14"
>
当前卡券记录中发送数量、领取数量、领取率、使用数量、核销率、销售额为gic总体卡券记录,包含好办使用记录。后续更新将统计好办渠道卡券记录
</span></div>
</div>
<card-record-table
:activeTab=
"activeTab"
:tableData=
"cardRecordData"
></card-record-table>
<div
class=
"block common-wrap__page text-right m-t-24"
v-if=
"cardRecordData.length"
>
<el-pagination
@
current-change=
"handleCurrentChange"
:current-page=
"pageNum"
:page-size=
"pageSize"
layout=
"total, prev, pager, next"
:total=
"total"
>
</el-pagination>
...
...
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